diff --git a/grpc/index.html b/grpc/index.html new file mode 100644 index 000000000..87e4d8bb1 --- /dev/null +++ b/grpc/index.html @@ -0,0 +1,269 @@ + + + + + + Protobuf module documentation + + + + + + +
+ +
+ +
+ +

+ ↓ Packages +

+

Chat gRPC API

+

Request metadata

+

Clients may provide headers for gRPC requests via gRPC metadata which translates directly to HTTP/2 headers.

+ +

Authentication

+

To authenticate for a specific signal account + device, clients may provide a Basic authorization header +on the request. The username must be the account identifier encoded in the 8-4-4-4-12 format followed by a '.' +character and then the device id serialized as a string.

+

All services either require or forbid providing authentication via an Authorization header. If the service is annotated +with the require.auth option AUTH_ONLY_AUTHENTICATED, all requests to the service must contain valid authentication +headers. If the service is annotated with the option AUTH_ONLY_ANONYMOUS the client must not provide an authorization +header. If provided, the request will fail with a BAD_AUTHENTICATION error.

+

Errors

+

In the gRPC protocol all errors are at the request level. That is, errors are returned in response to individual requests and do not impact other H2 streams on the same connection nor terminate the connection.

+

For errors that may be returned by any RPCs, the chat server will return the well-defined gRPC status codes returned as part of every RPC call. For errors that are specific to a particular RPC, the error must be encoded in the service proto definition and will be returned with a Status of OK.

+

Status errors include additional metadata as described in AIP-193 (google's richer error model). Every Status != OK response returned by the chat server's application layer will include a Grpc-Status-Details-Bin response trailer with a google.rpc.Status proto.

+

Each google.rpc.Status must have a status matching the top-level status on the gRPC response. Additionally, a single ErrorInfo must always be present in the details field of the Status. The ErrorInfo must contain a domain field and a reason field.

+

The domain for a status error generated by the chat server will always be grpc.chat.signal.org

+

The server may set the reason to match the enum string for the Status.Code if there is no need to further distinguish a code. Clients should inspect the reason, not the status, for automated error handling.

+

The chat server may return the following errors from any RPC

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Status CodeReasonDescription
INVALID_ARGUMENTUPGRADE_REQUIREDThe client version provided in the User-Agent is no longer supported. The client must upgrade to use the service.
INVALID_ARGUMENTCONSTRAINT_VIOLATEDThe RPC argument violated a constraint that was annotated or documented in the service definition. It is always possible to check this constraint without communicating with the chat server. This always represents a client bug or out of date client.

The details may include a BadRequest message that indicates additional information about the invalid field.
INVALID_ARGUMENTBAD_AUTHENTICATIONThe request has incorrectly set authentication credentials for the RPC. This represents a client bug where the authorization mode is not correct for the RPC. For example,

The RPC was for an anonymous service, but included an Authentication header in the RPC metadata.

The RPC should only be made by the primary device, but the request had linked device credentials.
UNAUTHENTICATEDINVALID_CREDENTIALSThe account credentials provided in the authorization header are not valid.
RESOURCE_EXHAUSTEDRESOURCE_EXHAUSTEDA server-side resource was exhausted. The details field may include a RetryInfo message that includes the amount of time in seconds the client should wait before retrying the request.

If a RetryInfo is present, the client must wait the indicated time before retrying the request. If absent, the client should retry with an exponential backoff.
UNAVAILABLEUNAVAILABLEThere was an internal error processing the RPC. The client should retry the request with exponential backoff.
+

Logging Errors

+

When logging error responses, clients may always log the status code, domain, and reason.

+

For errors with domain grpc.chat.signal.org and reason CONSTRAINT_VIOLATED, clients should check the details field for a BadRequest proto. If present, they should log the field of each violation in field_violations.

+ +

+ Packages +

+
This site contains the documentation for the following Protobuf packages.
+
+ +

+ + org.signal.chat.account + +

+ + +

+ + org.signal.chat.attachments + +

+ + +

+ + org.signal.chat.backup + +

+ + +

+ + org.signal.chat.calling + +

+ + +

+ + org.signal.chat.calling.quality + +

+ + +

+ + org.signal.chat.challenge + +

+ + +

+ + org.signal.chat.common + +

+ + +

+ + org.signal.chat.credentials + +

+ + +

+ + org.signal.chat.device + +

+ + +

+ + org.signal.chat.donations + +

+ + +

+ + org.signal.chat.errors + +

+ + +

+ + org.signal.chat.keys + +

+ + +

+ + org.signal.chat.messages + +

+ + +

+ + org.signal.chat.payments + +

+ + +

+ + org.signal.chat.profile + +

+ + +

+ + org.signal.chat.require + +

+ + +

+ + org.signal.chat.tag + +

+ + +
+
+ + + + \ No newline at end of file diff --git a/grpc/org.signal.chat.account.html b/grpc/org.signal.chat.account.html new file mode 100644 index 000000000..6abeef183 --- /dev/null +++ b/grpc/org.signal.chat.account.html @@ -0,0 +1,2586 @@ + + + + + + Protobuf module documentation + + + + + + +
+ +
+ +
+

+ ← Back to packages +

+

+ + Package org.signal.chat.account + +

+ +
+ +

+ + Service + Accounts + +

+ +

+ + Service + AccountsAnonymous + +

+ + + + +

+ + Message + CheckAccountExistenceRequest + +

+ + + +

+ + Message + CheckAccountExistenceResponse + +

+ + + +

+ + Message + ClearRegistrationLockRequest + +

+ + + +

+ + Message + ClearRegistrationLockResponse + +

+ + + +

+ + Message + ConfigureUnidentifiedAccessRequest + +

+ + + +

+ + Message + ConfigureUnidentifiedAccessResponse + +

+ + + +

+ + Message + ConfirmUsernameHashRequest + +

+ + + +

+ + Message + ConfirmUsernameHashResponse + +

+ + + +

+ + Message + ConfirmedUsernameHash + +

+ + + +

+ + Message + DeleteAccountRequest + +

+ + + +

+ + Message + DeleteAccountResponse + +

+ + + +

+ + Message + DeleteUsernameHashRequest + +

+ + + +

+ + Message + DeleteUsernameHashResponse + +

+ + + +

+ + Message + DeleteUsernameLinkRequest + +

+ + + +

+ + Message + DeleteUsernameLinkResponse + +

+ + + +

+ + Message + GetAccountIdentityRequest + +

+ + + +

+ + Message + GetAccountIdentityResponse + +

+ + + +

+ + Message + LookupUsernameHashRequest + +

+ + + +

+ + Message + LookupUsernameHashResponse + +

+ + + +

+ + Message + LookupUsernameLinkRequest + +

+ + + +

+ + Message + LookupUsernameLinkResponse + +

+ + + +

+ + Message + ReserveUsernameHashRequest + +

+ + + +

+ + Message + ReserveUsernameHashResponse + +

+ + + +

+ + Message + SetDiscoverableByPhoneNumberRequest + +

+ + + +

+ + Message + SetDiscoverableByPhoneNumberResponse + +

+ + + +

+ + Message + SetRegistrationLockRequest + +

+ + + +

+ + Message + SetRegistrationLockResponse + +

+ + + +

+ + Message + SetRegistrationRecoveryPasswordRequest + +

+ + + +

+ + Message + SetRegistrationRecoveryPasswordResponse + +

+ + + +

+ + Message + SetUsernameLinkRequest + +

+ + + +

+ + Message + SetUsernameLinkResponse + +

+ + + +

+ + Message + SetZkCredentialKeyRequest + +

+ + + +

+ + Message + SetZkCredentialKeyResponse + +

+ + + +

+ + Message + UsernameNotAvailable + +

+ + + + +
+ +
+ +
+ + + +
+

+ Services +

+ + +
+ + +

+ service Accounts + +

+ +
+

Provides methods for working with Signal accounts.

+
+ + +
+ + + +
+

Returns basic identifiers for the authenticated account.

+
+ +
+ +
+ + + +
+

Deletes the authenticated account, purging all associated data in the +process.

+
+ +
+ +
+ + + +
+

Sets the registration lock secret for the authenticated account. To remove +a registration lock, please use ClearRegistrationLock.

+
+ +
+ +
+ + + +
+

Removes any registration lock credentials from the authenticated account.

+
+ +
+ +
+ + + +
+

Attempts to reserve one of multiple given username hashes. Reserved +usernames may be claimed later via ConfirmUsernameHash.

+
+ +
+ +
+ + + +
+

Sets the username hash/encrypted username to a previously-reserved value +(see ReserveUsernameHash).

+
+ +
+ +
+ + + +
+

Clears the current username hash, ciphertext, and link for the +authenticated user.

+
+ +
+ +
+ + + +
+

Associates the given username ciphertext with the account, replacing any +previously stored ciphertext. A new link handle will optionally be created, +and the link handle to use will be returned in any event.

+
+ +
+ +
+ + + +
+

Clears any username link associated with the authenticated account.

+
+ +
+ +
+ + + +
+

Configures "unidentified access" keys and preferences for the authenticated +account. Other users permitted to interact with this account anonymously +may take actions like fetching pre-keys and profiles for this account or +sending sealed-sender messages without providing identifying credentials.

+
+ +
+ +
+ + + +
+

Sets whether the authenticated account may be discovered by phone number +via the Contact Discovery Service (CDS).

+
+ +
+ +
+ + + +
+

Sets the registration recovery password for the authenticated account.

+
+ +
+ +
+ + + +
+

Store a public key used to issue and verify zero-knowledge (anonymous) credentials for the account.

+
+ +
+ +
+ +
+ + +

+ service AccountsAnonymous + +

+ +
+

Provides methods for looking up Signal accounts. Callers must not provide +identifying credentials when calling methods in this service.

+
+ + +
+ + + +
+

Checks whether an account with the given service identifier exists.

+
+ +
+ +
+ + + +
+

Finds the service identifier of the account associated with the given +username hash.

+
+ +
+ +
+ + + +
+

Finds the encrypted username identified by a given username link handle.

+
+ +
+ +
+ +
+ + + + + +

+ Messages +

+ + + +
+ + +

+ + message CheckAccountExistenceRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + service_identifier + + + + org.signal.chat.common.ServiceIdentifier + + +

The service identifier of an account that may or may not exist.

+ +
+ + + +
+ + +

+ + message CheckAccountExistenceResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + account_exists + + + + bool + +

True if an account exists with the given service identifier or false if no +account was found.

+ +
+ + + +
+ + +

+ + message ClearRegistrationLockRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message ClearRegistrationLockResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message ConfigureUnidentifiedAccessRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + unidentified_access_key + + + + bytes + +

The key that other users must provide to interact with this account +anonymously (i.e. to retrieve keys or profiles or to send messages) unless +unrestricted unidentified access is permitted. Must be present if +unrestricted unidentified access is not allowed.

2 + allow_unrestricted_unidentified_access + + + + bool + +

If true, any user may interact with this account anonymously without +providing an unidentified access key. Otherwise, users must provide the +given unidentified access key to interact with this account anonymously.

+ +
+ + + +
+ + +

+ + message ConfigureUnidentifiedAccessResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message ConfirmUsernameHashRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + username_hash + + + + bytes + +

The username hash to claim for the authenticated account.

2 + zk_proof + + + + bytes + +

A zero-knowledge proof that the given username hash was generated by the +Signal username algorithm.

3 + username_ciphertext + + + + bytes + +

The ciphertext of the chosen username for use in public-facing contexts +(e.g. links and QR codes).

+ +
+ + + +
+ + +

+ + message ConfirmUsernameHashResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + confirmed_username_hash + + + + org.signal.chat.account.ConfirmUsernameHashResponse.ConfirmedUsernameHash + + +

The details of the successfully confirmed username.

+ 2 + + reservation_not_found + + + + org.signal.chat.errors.FailedPrecondition + + +

The provided hash was not reserved for the account.

+ 3 + + username_not_available + + + + org.signal.chat.account.UsernameNotAvailable + + +

The reservation has lapsed and the requested username has been claimed by +another caller.

+ +
+ + + +
+ + +

+ + message ConfirmedUsernameHash + +
(Nested in org.signal.chat.account.ConfirmUsernameHashResponse + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + username_hash + + + + bytes + +

The newly-confirmed username hash.

2 + username_link_handle + + + + bytes + +

The server-generated username link handle for the newly-confirmed username.

+ +
+ + + +
+ + +

+ + message DeleteAccountRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message DeleteAccountResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message DeleteUsernameHashRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message DeleteUsernameHashResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message DeleteUsernameLinkRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message DeleteUsernameLinkResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message GetAccountIdentityRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message GetAccountIdentityResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + account_identifiers + + + + org.signal.chat.common.AccountIdentifiers + + +

A set of account identifiers for the authenticated account.

+ +
+ + + +
+ + +

+ + message LookupUsernameHashRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + username_hash + + + + bytes + +

A 32-byte username hash for which to find an account.

+ +
+ + + +
+ + +

+ + message LookupUsernameHashResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + service_identifier + + + + org.signal.chat.common.ServiceIdentifier + + +

The service identifier associated with the provided username hash.

+ 2 + + not_found + + + + org.signal.chat.errors.NotFound + + +

No account was found for the provided username hash.

+ +
+ + + +
+ + +

+ + message LookupUsernameLinkRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + username_link_handle + + + + bytes + +

The link handle for which to find an encrypted username. Link handles are +16-byte representations of UUIDs.

+ +
+ + + +
+ + +

+ + message LookupUsernameLinkResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + username_ciphertext + + + + bytes + +

The ciphertext of the username identified by the provided link handle.

+ 2 + + not_found + + + + org.signal.chat.errors.NotFound + + +

No username was found for the provided link handle.

+ +
+ + + +
+ + +

+ + message ReserveUsernameHashRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + username_hashes + + + + repeated + + bytes + +

A prioritized list of username hashes to attempt to reserve. Each hash must +be exactly 32 bytes.

+ +
+ + + +
+ + +

+ + message ReserveUsernameHashResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + username_hash + + + + bytes + +

The first username hash that was available (and actually reserved).

+ 2 + + username_not_available + + + + org.signal.chat.account.UsernameNotAvailable + + +

Indicates that, of all of the candidate hashes provided, none were +available. Callers may generate a new set of hashes and and retry.

+ +
+ + + +
+ + +

+ + message SetDiscoverableByPhoneNumberRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + discoverable_by_phone_number + + + + bool + +

If true, the authenticated account may be discovered by phone number via +the Contact Discovery Service (CDS). Otherwise, other users must discover +this account by other means (i.e. by username).

+ +
+ + + +
+ + +

+ + message SetDiscoverableByPhoneNumberResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message SetRegistrationLockRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + registration_lock + + + + bytes + +

The new registration lock secret for the authenticated account.

+ +
+ + + +
+ + +

+ + message SetRegistrationLockResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message SetRegistrationRecoveryPasswordRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + registration_recovery_password + + + + bytes + +

The new registration recovery password for the authenticated account.

+ +
+ + + +
+ + +

+ + message SetRegistrationRecoveryPasswordResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message SetUsernameLinkRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + username_ciphertext + + + + bytes + +

The username ciphertext for which to generate a new link handle.

2 + keep_link_handle + + + + bool + +

If true and the account already had an encrypted username stored, the +existing link handle will be reused. Otherwise a new link handle will be +created.

+ +
+ + + +
+ + +

+ + message SetUsernameLinkResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + username_link_handle + + + + bytes + +

A new link handle for the given username ciphertext.

+ 2 + + no_username_set + + + + org.signal.chat.errors.FailedPrecondition + + +

The authenticated account did not have a username set.

+ +
+ + + +
+ + +

+ + message SetZkCredentialKeyRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + public_key + + + + bytes + +

A serialized Ristretto key with a one-byte type prefix

+ +
+ + + +
+ + +

+ + message SetZkCredentialKeyResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + rotation_id + + + + uint64 + +

A random, non-zero, value that must be included in credential requests using the key.

+

This value allows the server to ratchet the resulting binding identity, +as reverting to the previous key will result in a new rotation ID.

+ +
+ + + +
+ + +

+ + message UsernameNotAvailable + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + + + + + +
+ + + + \ No newline at end of file diff --git a/grpc/org.signal.chat.attachments.html b/grpc/org.signal.chat.attachments.html new file mode 100644 index 000000000..1f5a90f8c --- /dev/null +++ b/grpc/org.signal.chat.attachments.html @@ -0,0 +1,315 @@ + + + + + + Protobuf module documentation + + + + + + +
+ +
+ +
+

+ ← Back to packages +

+

+ + Package org.signal.chat.attachments + +

+ +
+ +

+ + Service + Attachments + +

+ + + + +

+ + Message + GetUploadFormRequest + +

+ + + +

+ + Message + GetUploadFormResponse + +

+ + + + +
+ +
+ +
+ + + +
+

+ Services +

+ + +
+ + +

+ service Attachments + +

+ +
+

+
+ + +
+ + + +
+

Retrieve an upload form that can be used to perform a resumable upload

+
+ +
+ +
+ +
+ + + + + +

+ Messages +

+ + + +
+ + +

+ + message GetUploadFormRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + uploadLength + + + + uint64 + +

The length of the attachment for the requested upload form. Uploads +performed with this form will be limited to the provided length.

+ +
+ + + +
+ + +

+ + message GetUploadFormResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof outcome +
+
+ 1 + + upload_form + + + + org.signal.chat.common.UploadForm + + +
+ 2 + + exceeds_max_upload_length + + + + org.signal.chat.errors.FailedPrecondition + + +

The request size was larger than the maximum supported upload size. The +maximum upload size is subject to change and is governed by +global.attachments.maxBytes

+ +
+ + + + + + + +
+ + + + \ No newline at end of file diff --git a/grpc/org.signal.chat.backup.html b/grpc/org.signal.chat.backup.html new file mode 100644 index 000000000..cb185e501 --- /dev/null +++ b/grpc/org.signal.chat.backup.html @@ -0,0 +1,4098 @@ + + + + + + Protobuf module documentation + + + + + + +
+ +
+ +
+

+ ← Back to packages +

+

+ + Package org.signal.chat.backup + +

+ +
+ +

+ + Service + Backups + +

+ +

+ + Service + BackupsAnonymous + +

+ + + + +

+ + Message + CdnCredentials + +

+ + + +

+ + Message + CopyMediaItem + +

+ + + +

+ + Message + CopyMediaRequest + +

+ + + +

+ + Message + CopyMediaResponse + +

+ + + +

+ + Message + CopySuccess + +

+ + + +

+ + Message + Credentials + +

+ + + +

+ + Message + DeleteAllRequest + +

+ + + +

+ + Message + DeleteAllResponse + +

+ + + +

+ + Message + DeleteMediaItem + +

+ + + +

+ + Message + DeleteMediaRequest + +

+ + + +

+ + Message + DeleteMediaResponse + +

+ + + +

+ + Message + GetBackupAuthCredentialsRequest + +

+ + + +

+ + Message + GetBackupAuthCredentialsResponse + +

+ + + +

+ + Message + GetBackupInfoRequest + +

+ + + +

+ + Message + GetCdnCredentialsRequest + +

+ + + +

+ + Message + GetCdnCredentialsResponse + +

+ + + +

+ + Message + GetMediaBackupInfoResponse + +

+ + + +

+ + Message + GetMessageBackupInfoResponse + +

+ + + +

+ + Message + GetSvrBCredentialsRequest + +

+ + + +

+ + Message + GetSvrBCredentialsResponse + +

+ + + +

+ + Message + GetUploadFormRequest + +

+ + + +

+ + Message + GetUploadFormResponse + +

+ + + + + +

+ + Message + ListEntry + +

+ + + +

+ + Message + ListMediaRequest + +

+ + + +

+ + Message + ListMediaResponse + +

+ + + +

+ + Message + ListResult + +

+ + + +

+ + Message + MediaBackupInfo + +

+ + + + + +

+ + Message + MediaUploadType + +

+ + + +

+ + Message + MessageBackupInfo + +

+ + + + + +

+ + Message + MessagesUploadType + +

+ + + +

+ + Message + OutOfSpace + +

+ + + +

+ + Message + RedeemReceiptRequest + +

+ + + +

+ + Message + RedeemReceiptResponse + +

+ + + +

+ + Message + RefreshRequest + +

+ + + +

+ + Message + RefreshResponse + +

+ + + +

+ + Message + SetBackupIdRequest + +

+ + + +

+ + Message + SetBackupIdResponse + +

+ + + +

+ + Message + SetPublicKeyRequest + +

+ + + +

+ + Message + SetPublicKeyResponse + +

+ + + +

+ + Message + SignedPresentation + +

+ + + +

+ + Message + SourceNotFound + +

+ + + +

+ + Message + SvrBCredentials + +

+ + + +

+ + Message + WrongSourceLength + +

+ + + + +
+ +
+ +
+ + + +
+

+ Services +

+ + +
+ + +

+ service Backups + +

+ +
+

Service for backup operations that require account authentication.

+

Most actual backup operations operate on the backup-id and cannot be linked +to the caller's account, but setting up anonymous credentials and changing +backup tier requires account authentication.

+
+ + +
+ + + +
+

Set (blinded) backup-id(s) for the account.

+

Each account may have a single active backup-id for each credential type +that can be used to store and retrieve backups. Once the backup-id is set, +BackupAuthCredentials can be generated using GetBackupAuthCredentials.

+

The blinded backup-id and the key-pair used to blind it must be derived +from a recoverable secret.

+

At least one of the credential types must be set on the request. +Only the primary device can set a blinded backup-id.

+
+ +
+ +
+ + + +
+

Redeem a receipt acquired from /v1/subscription/{subscriberId}/receipt_credentials +to mark the account as eligible for the paid backup tier.

+

After successful redemption, subsequent requests to +GetBackupAuthCredentials will return credentials with the level on the +provided receipt until the expiration time on the receipt.

+
+ +
+ +
+ + + +
+

After setting a blinded backup-id with PUT /v1/archives/, this fetches +credentials that can be used to perform operations against that backup-id. +Clients may (and should) request up to 7 days of credentials at a time.

+

The redemption_start and redemption_end seconds must be UTC day aligned, and +must not span more than 7 days.

+

Each credential contains a receipt level which indicates the backup level +the credential is good for. If the account has paid backup access that +expires at some point in the provided redemption window, credentials with +redemption times after the expiration may be on a lower backup level.

+

Clients must validate the receipt level on the credential matches a known +receipt level before using it.

+
+ +
+ +
+ +
+ + +

+ service BackupsAnonymous + +

+ +
+

Service for backup operations with anonymous credentials

+

This service never requires account authentication. It instead requires a +backup-id authenticated with an anonymous credential that cannot be linked +to the account.

+

To register an anonymous credential:

+
    +
  1. Set a backup-id on the authenticated channel via Backups::SetBackupId
  2. +
  3. Retrieve BackupAuthCredentials via Backups::GetBackupAuthCredentials
  4. +
  5. Generate a key pair and set the public key via + BackupsAnonymous::SetPublicKey
  6. +
+

Unless otherwise noted, requests for this service require a +SignedPresentation, which includes:

+
    +
  • a presentation generated from a BackupAuthCredential issued by + GetBackupAuthCredentials
  • +
  • a signature of that presentation using the private key of a key pair + previously set with SetPublicKey.
  • +

+
+ + +
+ + + +
+

Retrieve credentials used to read objects stored on the backup cdn

+
+ +
+ +
+ + + +
+

Retrieve credentials used to interact with the SecureValueRecoveryB service

+
+ +
+ +
+ + + +
+

Retrieve information about the currently stored message backup

+
+ +
+ +
+ + + +
+

Retrieve information about the currently stored media backup

+
+ +
+ +
+ + + +
+

Permanently set the public key of an ED25519 key-pair for the backup-id. +All requests (including this one!) must sign their BackupAuthCredential +presentations with the private key corresponding to the provided public key.

+
+ +
+ +
+ + + +
+

Refresh the backup, indicating that the backup is still active. Clients +must periodically upload new backups or perform a refresh. If a backup has +not been active for 30 days, it may be deleted.

+
+ +
+ +
+ + + +
+

Retrieve an upload form that can be used to perform a resumable upload

+
+ +
+ +
+ + + +
+

Copy and re-encrypt media from the attachments cdn into the backup cdn. +The original, already encrypted, attachments will be encrypted with the +provided key material before being copied.

+

The copy operation is not atomic and responses will be returned as copy +operations complete with detailed information about the outcome. If an +error is encountered, not all requests may be reflected in the responses.

+

On retries, a particular destination media id must not be reused with a +different source media id or different encryption parameters.

+
+ +
+ +
+ + + +
+

Retrieve a page of media objects stored for this backup-id. A client may +have previously stored media objects that are no longer referenced in their +current backup. To reclaim storage space used by these orphaned objects, +perform a list operation and remove any unreferenced media objects +via DeleteMedia.

+
+ +
+ +
+ + + +
+

Delete media objects stored with this backup-id. Streams the locations of +media items back when the item has successfully been removed.

+
+ +
+ +
+ + + +
+

Delete all backup metadata, objects, and stored public key. To use +backups again, a public key must be resupplied.

+
+ +
+ +
+ +
+ + + + + +

+ Messages +

+ + + +
+ + +

+ + message CdnCredentials + +
(Nested in org.signal.chat.backup.GetCdnCredentialsResponse + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + headers + + + + map<string, string> + +
+ +
+ + + +
+ + +

+ + message CopyMediaItem + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + source_attachment_cdn + + + + uint32 + +

The attachment cdn of the object to copy into the backup

2 + source_key + + + + string + +

The attachment key of the object to copy into the backup

3 + object_length + + + + uint32 + +

The length of the source attachment before the encryption applied by the +copy operation

4 + media_id + + + + bytes + +

media_id to copy on to the backup CDN

5 + hmac_key + + + + bytes + +

A 32-byte key for the MAC

6 + encryption_key + + + + bytes + +

A 32-byte encryption key for AES

+ +
+ + + +
+ + +

+ + message CopyMediaRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + signed_presentation + + + + org.signal.chat.backup.SignedPresentation + + +
2 + items + + + + repeated + + org.signal.chat.backup.CopyMediaItem + + +

Items to copy

+ +
+ + + +
+ + +

+ + message CopyMediaResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + media_id + + + + bytes + +

The 15-byte media_id from the corresponding CopyMediaItem in the request

+
+ oneof response +
+
+ 2 + + success + + + + org.signal.chat.backup.CopyMediaResponse.CopySuccess + + +

The media item was successfully copied into the backup

+ 3 + + failed_authentication + + + + org.signal.chat.errors.FailedZkAuthentication + + +

The provided backup auth credential presentation could not be +authenticated. Either, the presentation could not be verified, or +the public key signature was invalid, or there is no backup associated +with the backup-id in the presentation.

+ 4 + + source_not_found + + + + org.signal.chat.backup.CopyMediaResponse.SourceNotFound + + +

The source object was not found

+ 5 + + wrong_source_length + + + + org.signal.chat.backup.CopyMediaResponse.WrongSourceLength + + +

The provided object length was incorrect

+ 6 + + out_of_space + + + + org.signal.chat.backup.CopyMediaResponse.OutOfSpace + + +

All media capacity has been consumed. Free some space to continue.

+ +
+ + + +
+ + +

+ + message CopySuccess + +
(Nested in org.signal.chat.backup.CopyMediaResponse + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + cdn + + + + uint32 + +

The backup cdn where this media object is stored

+ +
+ + + +
+ + +

+ + message Credentials + +
(Nested in org.signal.chat.backup.GetBackupAuthCredentialsResponse + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + message_credentials + + + + map<int64, ZkCredential> + +

The requested message backup ZkCredentials indexed by the start of their +validity period. The smallest key should be for the requested +redemption_start, the largest for the requested redemption_end.

2 + media_credentials + + + + map<int64, ZkCredential> + +

The requested media backup ZkCredentials indexed by the start of their +validity period. The smallest key should be for the requested +redemption_start, the largest for the requested redemption_end.

+ +
+ + + +
+ + +

+ + message DeleteAllRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + signed_presentation + + + + org.signal.chat.backup.SignedPresentation + + +
+ +
+ + + +
+ + +

+ + message DeleteAllResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + success + + + + google.protobuf.Empty + +

The backup was successfully scheduled for deletion

+ 2 + + failed_authentication + + + + org.signal.chat.errors.FailedZkAuthentication + + +

The provided backup auth credential presentation could not be +authenticated. Either, the presentation could not be verified, or +the public key signature was invalid, or there is no backup associated +with the backup-id in the presentation.

+ +
+ + + +
+ + +

+ + message DeleteMediaItem + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + cdn + + + + uint32 + +

The backup cdn where this media object is stored

2 + media_id + + + + bytes + +

The media_id of the object to delete

+ +
+ + + +
+ + +

+ + message DeleteMediaRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + signed_presentation + + + + org.signal.chat.backup.SignedPresentation + + +
2 + items + + + + repeated + + org.signal.chat.backup.DeleteMediaItem + + +
+ +
+ + + +
+ + +

+ + message DeleteMediaResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + deleted_item + + + + org.signal.chat.backup.DeleteMediaItem + + +
+ 2 + + failed_authentication + + + + org.signal.chat.errors.FailedZkAuthentication + + +

The provided backup auth credential presentation could not be +authenticated. Either, the presentation could not be verified, or +the public key signature was invalid, or there is no backup associated +with the backup-id in the presentation.

+ +
+ + + +
+ + +

+ + message GetBackupAuthCredentialsRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + redemption_start + + + + int64 + +

The redemption time for the first credential. This must be a day-aligned +seconds since epoch in UTC.

2 + redemption_stop + + + + int64 + +

The redemption time for the last credential. This must be a day-aligned +seconds since epoch in UTC. The span between redemptionStart and +redemptionEnd must not exceed 7 days.

+ +
+ + + +
+ + +

+ + message GetBackupAuthCredentialsResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + credentials + + + + org.signal.chat.backup.GetBackupAuthCredentialsResponse.Credentials + + +

The requested credentials. If absent, there was no existing blinded +backup id associated with the provided account.

+ +
+ + + +
+ + +

+ + message GetBackupInfoRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + signed_presentation + + + + org.signal.chat.backup.SignedPresentation + + +
+ +
+ + + +
+ + +

+ + message GetCdnCredentialsRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + signed_presentation + + + + org.signal.chat.backup.SignedPresentation + + +
2 + cdn + + + + uint32 + +
+ +
+ + + +
+ + +

+ + message GetCdnCredentialsResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + cdn_credentials + + + + org.signal.chat.backup.GetCdnCredentialsResponse.CdnCredentials + + +

Headers to include with requests to the read from the backup CDN. Includes +time limited read-only credentials.

+ 2 + + failed_authentication + + + + org.signal.chat.errors.FailedZkAuthentication + + +

The provided backup auth credential presentation could not be +authenticated. Either, the presentation could not be verified, or +the public key signature was invalid, or there is no backup associated +with the backup-id in the presentation.

+ +
+ + + +
+ + +

+ + message GetMediaBackupInfoResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + backup_info + + + + org.signal.chat.backup.GetMediaBackupInfoResponse.MediaBackupInfo + + +
+ 2 + + failed_authentication + + + + org.signal.chat.errors.FailedZkAuthentication + + +

The provided backup auth credential presentation could not be +authenticated. Either, the presentation could not be verified, or +the public key signature was invalid, or there is no backup associated +with the backup-id in the presentation.

+ +
+ + + +
+ + +

+ + message GetMessageBackupInfoResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + backup_info + + + + org.signal.chat.backup.GetMessageBackupInfoResponse.MessageBackupInfo + + +
+ 2 + + failed_authentication + + + + org.signal.chat.errors.FailedZkAuthentication + + +

The provided backup auth credential presentation could not be +authenticated. Either, the presentation could not be verified, or +the public key signature was invalid, or there is no backup associated +with the backup-id in the presentation.

+ +
+ + + +
+ + +

+ + message GetSvrBCredentialsRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + signed_presentation + + + + org.signal.chat.backup.SignedPresentation + + +
+ +
+ + + +
+ + +

+ + message GetSvrBCredentialsResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + svrb_credentials + + + + org.signal.chat.backup.GetSvrBCredentialsResponse.SvrBCredentials + + +
+ 2 + + failed_authentication + + + + org.signal.chat.errors.FailedZkAuthentication + + +

The provided backup auth credential presentation could not be +authenticated. Either, the presentation could not be verified, or +the public key signature was invalid, or there is no backup associated +with the backup-id in the presentation.

+ +
+ + + +
+ + +

+ + message GetUploadFormRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + signed_presentation + + + + org.signal.chat.backup.SignedPresentation + + +
4 + uploadLength + + + + uint64 + +

The length of the attachment for the requested upload form. Uploads +performed with this form will be limited to the provided length.

+
+ oneof upload_type +
+
+ 2 + + messages + + + + org.signal.chat.backup.GetUploadFormRequest.MessagesUploadType + + +

Retrieve an upload form that can be used to perform a resumable upload of +a message backup. The finished upload will be available on the backup cdn.

+ 3 + + media + + + + org.signal.chat.backup.GetUploadFormRequest.MediaUploadType + + +

Retrieve an upload form for a temporary location that can be used to +perform a resumable upload of an attachment. After uploading, the +attachment can be copied into the backup via CopyMedia.

+

Behaves identically to the account authenticated version at /attachments.

+ +
+ + + +
+ + +

+ + message GetUploadFormResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + upload_form + + + + org.signal.chat.common.UploadForm + + +
+ 2 + + failed_authentication + + + + org.signal.chat.errors.FailedZkAuthentication + + +

The provided backup auth credential presentation could not be +authenticated. Either, the presentation could not be verified, or +the public key signature was invalid, or there is no backup associated +with the backup-id in the presentation.

+ 3 + + exceeds_max_upload_length + + + + org.signal.chat.errors.FailedPrecondition + + +

The request size was larger than the maximum supported upload size. The +maximum upload size is subject to change and is governed by +global.attachments.maxBytes

+ +
+ + + + + +
+ + +

+ + message ListEntry + +
(Nested in org.signal.chat.backup.ListMediaResponse + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + cdn + + + + uint32 + +

The backup cdn where this media object is stored

2 + media_id + + + + bytes + +

The media_id of the object

3 + length + + + + uint64 + +

The length of the object in bytes

+ +
+ + + +
+ + +

+ + message ListMediaRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + signed_presentation + + + + org.signal.chat.backup.SignedPresentation + + +
2 + cursor + + + + optional + + string + +

A cursor returned by a previous call to ListMedia, absent on the first call

3 + limit + + + + uint32 + +

If provided, the maximum number of entries to return in a page

+ +
+ + + +
+ + +

+ + message ListMediaResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + list_result + + + + org.signal.chat.backup.ListMediaResponse.ListResult + + +
+ 2 + + failed_authentication + + + + org.signal.chat.errors.FailedZkAuthentication + + +

The provided backup auth credential presentation could not be +authenticated. Either, the presentation could not be verified, or +the public key signature was invalid, or there is no backup associated +with the backup-id in the presentation.

+ +
+ + + +
+ + +

+ + message ListResult + +
(Nested in org.signal.chat.backup.ListMediaResponse + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + page + + + + repeated + + org.signal.chat.backup.ListMediaResponse.ListEntry + + +

A page of media objects stored for this backup ID

2 + backup_dir + + + + string + +

The base directory of the backup data on the cdn. The stored media can be +found at /backup_dir/media_dir/media_id, where the media_id is encoded with +unpadded url-safe base64.

3 + media_dir + + + + string + +

The prefix path component for the media objects. The stored media for +media_id can be found at /backup_dir/media_dir/media_id, where the media_id +is encoded with unpadded url-safe base64.

4 + cursor + + + + optional + + string + +

If set, the cursor value to pass to the next list request to continue +listing. If absent, all objects have been listed

+ +
+ + + +
+ + +

+ + message MediaBackupInfo + +
(Nested in org.signal.chat.backup.GetMediaBackupInfoResponse + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + backup_dir + + + + string + +

The base directory of your backup data on the cdn. Always non-empty, even +if no media has been stored to the cdn or the credential is for a tier +that does not support media.

2 + media_dir + + + + string + +

The prefix path component for media objects on a cdn. Stored media for a +media_id can be found at /backup_dir/media_dir/media_id, where the +media_id is encoded in unpadded url-safe base64. Always non-empty, even +if no media has been stored to the cdn or the credential is for a tier +that does not support media.

3 + used_space + + + + uint64 + +

The amount of space used to store media

+ +
+ + + + + +
+ + +

+ + message MediaUploadType + +
(Nested in org.signal.chat.backup.GetUploadFormRequest + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message MessageBackupInfo + +
(Nested in org.signal.chat.backup.GetMessageBackupInfoResponse + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + backup_dir + + + + string + +

The base directory of your backup data on the cdn. Always non-empty, even +if a backup has not actually been stored to the cdn. If a backup was +previously uploaded and has not expired, it can be found in the returned +cdn at /backup_dir/backup_name.

2 + cdn + + + + uint32 + +

The CDN type where the message backup is stored. Media may be stored +elsewhere.

3 + backup_name + + + + string + +

The location of the message backup on the cdn. Always non-empty, even +if a backup has not actually been stored to the cdn. If a backup was +previously uploaded and has not expired, it can be found in the returned +cdn at /backup_dir/backup_name.

+ +
+ + + + + +
+ + +

+ + message MessagesUploadType + +
(Nested in org.signal.chat.backup.GetUploadFormRequest + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message OutOfSpace + +
(Nested in org.signal.chat.backup.CopyMediaResponse + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message RedeemReceiptRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + presentation + + + + bytes + +

Presentation for a previously acquired receipt, serialized with libsignal

+ +
+ + + +
+ + +

+ + message RedeemReceiptResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + success + + + + google.protobuf.Empty + +

The receipt was successfully redeemed

+ 2 + + account_missing_commitment + + + + org.signal.chat.errors.FailedPrecondition + + +

The target account does not have a backup-id commitment

+ 3 + + invalid_receipt + + + + org.signal.chat.errors.FailedPrecondition + + +

The provided receipt presentation was malformed or expired

+ +
+ + + +
+ + +

+ + message RefreshRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + signed_presentation + + + + org.signal.chat.backup.SignedPresentation + + +
+ +
+ + + +
+ + +

+ + message RefreshResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + success + + + + google.protobuf.Empty + +

The backup was successfully refreshed

+ 2 + + failed_authentication + + + + org.signal.chat.errors.FailedZkAuthentication + + +

The provided backup auth credential presentation could not be +authenticated. Either, the presentation could not be verified, or +the public key signature was invalid, or there is no backup associated +with the backup-id in the presentation.

+ +
+ + + +
+ + +

+ + message SetBackupIdRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + messages_backup_auth_credential_request + + + + bytes + +

A BackupAuthCredentialRequest containing a blinded encrypted backup-id, +encoded in standard padded base64. This backup-id should be used for +message backups only, and must have the message backup type set on the +credential. If absent, the message credential request will not be updated.

2 + media_backup_auth_credential_request + + + + bytes + +

A BackupAuthCredentialRequest containing a blinded encrypted backup-id, +encoded in standard padded base64. This backup-id should be used for +media only, and must have the media type set on the credential. If absent, +the media credential request will not be updated.

+ +
+ + + +
+ + +

+ + message SetBackupIdResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message SetPublicKeyRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + signed_presentation + + + + org.signal.chat.backup.SignedPresentation + + +
2 + public_key + + + + bytes + +

The public key, serialized in libsignal's elliptic-curve public key format.

+ +
+ + + +
+ + +

+ + message SetPublicKeyResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + success + + + + google.protobuf.Empty + +

The public key was successfully set

+ 2 + + failed_authentication + + + + org.signal.chat.errors.FailedZkAuthentication + + +

The provided backup auth credential presentation could not be +authenticated. Either, the presentation could not be verified, or +the public key signature was invalid, or there is no backup associated +with the backup-id in the presentation.

+

This may also be returned if there was an existing public key and the +provided public key did not match.

+ +
+ + + +
+ + +

+ + message SignedPresentation + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + presentation + + + + bytes + +

Presentation of a BackupAuthCredential previously retrieved from +GetBackupAuthCredentials on the authenticated channel

2 + presentation_signature + + + + bytes + +

The presentation signed with the private key corresponding to the public +key set with SetPublicKey

+ +
+ + + +
+ + +

+ + message SourceNotFound + +
(Nested in org.signal.chat.backup.CopyMediaResponse + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message SvrBCredentials + +
(Nested in org.signal.chat.backup.GetSvrBCredentialsResponse + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + username + + + + string + +

A username that can be presented to authenticate with SVRB

2 + password + + + + string + +

A password that can be presented to authenticate with SVRB

+ +
+ + + +
+ + +

+ + message WrongSourceLength + +
(Nested in org.signal.chat.backup.CopyMediaResponse + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + + + + + +
+ + + + \ No newline at end of file diff --git a/grpc/org.signal.chat.calling.html b/grpc/org.signal.chat.calling.html new file mode 100644 index 000000000..783c3605b --- /dev/null +++ b/grpc/org.signal.chat.calling.html @@ -0,0 +1,544 @@ + + + + + + Protobuf module documentation + + + + + + +
+ +
+ +
+

+ ← Back to packages +

+

+ + Package org.signal.chat.calling + +

+ +
+ +

+ + Service + Calling + +

+ + + + +

+ + Message + GetCallingRelaysRequest + +

+ + + +

+ + Message + GetCallingRelaysResponse + +

+ + + +

+ + Message + HostnameUrlList + +

+ + + +

+ + Message + IpUrlList + +

+ + + +

+ + Message + Relay + +

+ + + + +
+ +
+ +
+ + + +
+

+ Services +

+ + +
+ + +

+ service Calling + +

+ +
+

Provides methods for getting credentials and relay options for one-on-one +calls.

+
+ + +
+ + + +
+

Retrieves TURN credentials and relay options for one-on-one calls.

+
+ +
+ +
+ +
+ + + + + +

+ Messages +

+ + + +
+ + +

+ + message GetCallingRelaysRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message GetCallingRelaysResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + relays + + + + repeated + + org.signal.chat.calling.GetCallingRelaysResponse.Relay + + +

A collection of calling relays a client may use for one-on-one calls.

+ +
+ + + +
+ + +

+ + message HostnameUrlList + +
(Nested in org.signal.chat.calling.GetCallingRelaysResponse + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + urls + + + + repeated + + string + +

A collection of hostname-based TURN, TURNS, or STUN URLs a client can use +to connect to a relay.

+ +
+ + + +
+ + +

+ + message IpUrlList + +
(Nested in org.signal.chat.calling.GetCallingRelaysResponse + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + urls + + + + repeated + + string + +

A collection of IP-based TURN, TURNS, or STUN URLs a client can use to +connect to a relay.

2 + hostname + + + + optional + + string + +

A hostname clients must use to validate the relay's TLS certificate when +connecting via an IP-based TURNS URL. May not be specified if urls +contains no TURNS URLs.

+ +
+ + + +
+ + +

+ + message Relay + +
(Nested in org.signal.chat.calling.GetCallingRelaysResponse + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + username + + + + string + +

A username that can be presented to authenticate with a TURN server.

2 + password + + + + string + +

A password that can be presented to authenticate with a TURN server.

3 + credential_ttl_seconds + + + + uint64 + +

The duration, in seconds, after which the included username and password +will no longer be valid.

4 + hostname_urls + + + + optional + + org.signal.chat.calling.GetCallingRelaysResponse.HostnameUrlList + + +

A collection of hostname-based URLs clients may use to connect to this +relay.

5 + ip_urls + + + + optional + + org.signal.chat.calling.GetCallingRelaysResponse.IpUrlList + + +

A collection of IP-based URLs clients may use to connect to this relay.

+ +
+ + + + + + + +
+ + + + \ No newline at end of file diff --git a/grpc/org.signal.chat.calling.quality.html b/grpc/org.signal.chat.calling.quality.html new file mode 100644 index 000000000..29ace27b6 --- /dev/null +++ b/grpc/org.signal.chat.calling.quality.html @@ -0,0 +1,635 @@ + + + + + + Protobuf module documentation + + + + + + +
+ +
+ +
+

+ ← Back to packages +

+

+ + Package org.signal.chat.calling.quality + +

+ +
+ +

+ + Service + CallQuality + +

+ + + + +

+ + Message + SubmitCallQualitySurveyRequest + +

+ + + +

+ + Message + SubmitCallQualitySurveyResponse + +

+ + + + +
+ +
+ +
+ + + +
+

+ Services +

+ + +
+ + +

+ service CallQuality + +

+ +
+

Provides methods for submitting call quality surveys

+
+ + + + +
+ +
+ + + + + +

+ Messages +

+ + + +
+ + +

+ + message SubmitCallQualitySurveyRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + user_satisfied + + + + bool + +

Indicates whether the caller was generally satisfied with the quality of +the call

2 + call_quality_issues + + + + repeated + + string + +

A list of call quality issues selected by the caller

3 + additional_issues_description + + + + optional + + string + +

A free-form description of any additional issues as written by the caller

4 + debug_log_url + + + + optional + + string + +

A URL for a set of debug logs associated with the call if the caller chose +to submit debug logs

5 + start_timestamp + + + + int64 + +

The time at which the call started in milliseconds since the epoch

6 + end_timestamp + + + + int64 + +

The time at which the call ended in milliseconds since the epoch

7 + call_type + + + + string + +

The type of call; note that direct voice calls can become video calls and +vice versa, and this field indicates which mode was selected at call +initiation time. At the time of writing, expected call types are +"direct_voice", "direct_video", "group", and "call_link".

8 + success + + + + bool + +

Indicates whether the call completed without error or if it terminated +abnormally

9 + call_end_reason + + + + string + +

A client-defined, but human-readable reason for call termination

10 + connection_rtt_median + + + + optional + + float + +

The median round-trip time, measured in milliseconds, for STUN/ICE packets +(i.e. connection maintenance and establishment)

11 + audio_rtt_median + + + + optional + + float + +

The median round-trip time, measured in milliseconds, for RTP/RTCP packets +for audio streams

12 + video_rtt_median + + + + optional + + float + +

The median round-trip time, measured in milliseconds, for RTP/RTCP packets +for video streams

13 + audio_recv_jitter_median + + + + optional + + float + +

The median jitter for audio streams, measured in milliseconds, for the +duration of the call as measured by the client submitting the survey

14 + video_recv_jitter_median + + + + optional + + float + +

The median jitter for video streams, measured in milliseconds, for the +duration of the call as measured by the client submitting the survey

15 + audio_send_jitter_median + + + + optional + + float + +

The median jitter for audio streams, measured in milliseconds, for the +duration of the call as measured by the remote endpoint in the call (either +the peer of the client submitting the survey in a direct call or the SFU in +a group call)

16 + video_send_jitter_median + + + + optional + + float + +

The median jitter for video streams, measured in milliseconds, for the +duration of the call as measured by the remote endpoint in the call (either +the peer of the client submitting the survey in a direct call or the SFU in +a group call)

17 + audio_recv_packet_loss_fraction + + + + optional + + float + +

The fraction of audio packets lost over the duration of the call as +measured by the client submitting the survey

18 + video_recv_packet_loss_fraction + + + + optional + + float + +

The fraction of video packets lost over the duration of the call as +measured by the client submitting the survey

19 + audio_send_packet_loss_fraction + + + + optional + + float + +

The fraction of audio packets lost over the duration of the call as +measured by the remote endpoint in the call (either the peer of the client +submitting the survey in a direct call or the SFU in a group call)

20 + video_send_packet_loss_fraction + + + + optional + + float + +

The fraction of video packets lost over the duration of the call as +measured by the remote endpoint in the call (either the peer of the client +submitting the survey in a direct call or the SFU in a group call)

21 + call_telemetry + + + + optional + + bytes + +

Machine-generated telemetry from the call; this is a serialized protobuf +entity generated (and, critically, explained to the user!) by the calling +library

22 + call_id_hash + + + + optional + + bytes + +

A hash of a call ID (shared between clients and never sent to the calling +server) that can be used to correlate survey responses from multiple +participants in a call

+ +
+ + + +
+ + +

+ + message SubmitCallQualitySurveyResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + + + + + +
+ + + + \ No newline at end of file diff --git a/grpc/org.signal.chat.challenge.html b/grpc/org.signal.chat.challenge.html new file mode 100644 index 000000000..aef6a97a5 --- /dev/null +++ b/grpc/org.signal.chat.challenge.html @@ -0,0 +1,456 @@ + + + + + + Protobuf module documentation + + + + + + +
+ +
+ +
+

+ ← Back to packages +

+

+ + Package org.signal.chat.challenge + +

+ +
+ +

+ + Service + Challenge + +

+ + + + +

+ + Message + AnswerCaptchaChallengeRequest + +

+ + + +

+ + Message + AnswerChallengeRequest + +

+ + + +

+ + Message + AnswerChallengeResponse + +

+ + + +

+ + Message + AnswerPushChallengeRequest + +

+ + + + +
+ +
+ +
+ + + +
+

+ Services +

+ + +
+ + +

+ service Challenge + +

+ +
+

+
+ + +
+ + + +
+

Some server endpoints (the "send message" endpoint, for example) may return + a response indicating the client must complete a challenge before continuing. + Clients may use this endpoint to provide proof of a completed challenge. + If successful, the client may then continue their original operation.

+
+ +
+ +
+ +
+ + + + + +

+ Messages +

+ + + +
+ + +

+ + message AnswerCaptchaChallengeRequest + +
(Nested in org.signal.chat.challenge.AnswerChallengeRequest + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + captcha + + + + string + +

A string representing a solved captcha +Example: signal-hcaptcha.30b01b46-d8c9-4c30-bbd7-9719acfe0c10.challenge.abcdefg1345

+ +
+ + + +
+ + +

+ + message AnswerChallengeRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + token + + + + string + +

The opaque token id from the ChallengeRequired response returned by the +server endpoint that requested the challenge

+
+ oneof request +
+
+ 2 + + push + + + + org.signal.chat.challenge.AnswerChallengeRequest.AnswerPushChallengeRequest + + +
+ 3 + + captcha + + + + org.signal.chat.challenge.AnswerChallengeRequest.AnswerCaptchaChallengeRequest + + +
+ +
+ + + +
+ + +

+ + message AnswerChallengeResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + success + + + + bool + +

Whether the challenge proof was accepted

+ +
+ + + +
+ + +

+ + message AnswerPushChallengeRequest + +
(Nested in org.signal.chat.challenge.AnswerChallengeRequest + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + challenge + + + + string + +

The challenge string provided to the client via a push payload

+ +
+ + + + + + + +
+ + + + \ No newline at end of file diff --git a/grpc/org.signal.chat.common.html b/grpc/org.signal.chat.common.html new file mode 100644 index 000000000..4af5d1195 --- /dev/null +++ b/grpc/org.signal.chat.common.html @@ -0,0 +1,847 @@ + + + + + + Protobuf module documentation + + + + + + +
+ +
+ +
+

+ ← Back to packages +

+

+ + Package org.signal.chat.common + +

+ +
+ + + + +

+ + Message + AccountIdentifiers + +

+ + + +

+ + Message + EcPreKey + +

+ + + +

+ + Message + EcSignedPreKey + +

+ + + + + +

+ + Message + KemSignedPreKey + +

+ + + +

+ + Message + ServiceIdentifier + +

+ + + +

+ + Message + UploadForm + +

+ + + +

+ + Message + ZkCredential + +

+ + + + +

+ + Enum + DeviceCapability + +

+ +

+ + Enum + IdentityType + +

+ +
+ +
+ +
+ + + + + +

+ Messages +

+ + + +
+ + +

+ + message AccountIdentifiers + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + service_identifiers + + + + repeated + + org.signal.chat.common.ServiceIdentifier + + +

A list of service identifiers for the identified account.

2 + e164 + + + + string + +

The phone number associated with the identified account.

3 + username_hash + + + + bytes + +

The username hash (if any) associated with the identified account. May be +empty if no username is associated with the identified account.

+ +
+ + + +
+ + +

+ + message EcPreKey + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + key_id + + + + int32 + +

A locally-unique identifier for this key, which will be provided by +peers using this key to encrypt messages so the private key can be looked +up.

2 + public_key + + + + bytes + +

The public key, serialized in libsignal's elliptic-curve public key format.

+ +
+ + + +
+ + +

+ + message EcSignedPreKey + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + key_id + + + + int32 + +

A locally-unique identifier for this key, which will be provided by +peers using this key to encrypt messages so the private key can be looked +up.

2 + public_key + + + + bytes + +

The public key, serialized in libsignal's elliptic-curve public key format.

3 + signature + + + + bytes + +

A signature of the public key, verifiable with the identity key for the +account/identity associated with this pre-key.

+ +
+ + + + + +
+ + +

+ + message KemSignedPreKey + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + key_id + + + + int32 + +

An locally-unique identifier for this key, which will be provided by peers +using this key to encrypt messages so the private key can be looked up.

2 + public_key + + + + bytes + +

The public key, serialized in libsignal's Kyber1024 public key format.

3 + signature + + + + bytes + +

A signature of the public key, verifiable with the identity key for the +account/identity associated with this pre-key.

+ +
+ + + +
+ + +

+ + message ServiceIdentifier + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + identity_type + + + + org.signal.chat.common.IdentityType + + +

The type of identity represented by this service identifier.

2 + uuid + + + + bytes + +

The UUID of the identity represented by this service identifier.

+ +
+ + + +
+ + +

+ + message UploadForm + + + +

+ +
+

An upload location and credentials which may be used to upload an object +to an external CDN

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + cdn + + + + uint32 + +

Indicates the CDN type. 3 indicates resumable uploads using TUS

2 + key + + + + string + +

The location within the specified cdn where the finished upload can be found

3 + headers + + + + map<string, string> + +

A map of headers to include with all upload requests. Potentially contains +time-limited upload credentials

4 + signed_upload_location + + + + string + +

The URL to upload to with the appropriate protocol

+ +
+ + + +
+ + +

+ + message ZkCredential + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + redemption_time + + + + int64 + +

Day on which this credential can be redeemed, in UTC seconds since epoch

2 + credential + + + + bytes + +

The ZK credential, using libsignal's serialization

+ +
+ + + + + + + +

+ Enums +

+ + +
+

+ enum DeviceCapability + +

+ +
+

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameNumberDescription
DEVICE_CAPABILITY_UNSPECIFIED0
DEVICE_CAPABILITY_STORAGE1
DEVICE_CAPABILITY_TRANSFER2
DEVICE_CAPABILITY_ATTACHMENT_BACKFILL6
DEVICE_CAPABILITY_SPARSE_POST_QUANTUM_RATCHET7
DEVICE_CAPABILITY_PROFILES_V28
DEVICE_CAPABILITY_USERNAME_CHANGE_SYNC_MESSAGE9
+
+ +
+

+ enum IdentityType + +

+ +
+

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameNumberDescription
IDENTITY_TYPE_UNSPECIFIED0
IDENTITY_TYPE_ACI1
IDENTITY_TYPE_PNI2
+
+ + + + +
+ + + + \ No newline at end of file diff --git a/grpc/org.signal.chat.credentials.html b/grpc/org.signal.chat.credentials.html new file mode 100644 index 000000000..fc9e96581 --- /dev/null +++ b/grpc/org.signal.chat.credentials.html @@ -0,0 +1,1027 @@ + + + + + + Protobuf module documentation + + + + + + +
+ +
+ +
+

+ ← Back to packages +

+

+ + Package org.signal.chat.credentials + +

+ +
+ +

+ + Service + Credentials + +

+ +

+ + Service + CredentialsAnonymous + +

+ + + + +

+ + Message + CheckSvrCredentialsRequest + +

+ + + +

+ + Message + CheckSvrCredentialsResponse + +

+ + + +

+ + Message + CredentialAndRedemptionTime + +

+ + + +

+ + Message + GetDeliveryCertificateRequest + +

+ + + +

+ + Message + GetDeliveryCertificateResponse + +

+ + + +

+ + Message + GetExternalServiceCredentialsRequest + +

+ + + +

+ + Message + GetExternalServiceCredentialsResponse + +

+ + + +

+ + Message + GetGroupCredentialsRequest + +

+ + + +

+ + Message + GetGroupCredentialsResponse + +

+ + + + + + +

+ + Enum + AuthCheckResult + +

+ +

+ + Enum + ExternalServiceType + +

+ +
+ +
+ +
+ + + +
+

+ Services +

+ + +
+ + +

+ service Credentials + +

+ +
+

Provides methods for obtaining and verifying credentials that allow an +authenticated user to authenticate in another service or context without +revealing their identity.

+
+ + +
+ + + +
+

Generates and returns an external service credentials for the caller.

+
+ +
+ +
+ + + +
+

Generates a pair of delivery certificates that the holder can include to +identify themselves to a message recipient (but not the server) in a +sealed-sender message.

+
+ +
+ +
+ + + +
+

Generates a set of zero-knowledge credentials for various group-related +actions.

+
+ +
+ +
+ +
+ + +

+ service CredentialsAnonymous + +

+ +
+

Provides methods for working with previously-generated credentials without +revealing an association between the credentials and the caller's identity to +the server.

+
+ + +
+ + + +
+

Given a list of secure value recovery (SVR) service credentials and a phone +number, checks and returns which of the provided credentials were generated +by the user with the given phone number and have not yet expired.

+
+ +
+ +
+ +
+ + + + + +

+ Messages +

+ + + +
+ + +

+ + message CheckSvrCredentialsRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + number + + + + string + +

A phone number in the E164 format to check the passwords against. +Only passwords generated for the user associated with the given number will be marked as AUTH_CHECK_RESULT_MATCH.

2 + passwords + + + + repeated + + string + +

A list of credentials from previously made calls to ExternalServiceCredentials.GetExternalServiceCredentials() +for EXTERNAL_SERVICE_TYPE_SVR. This list may contain credentials generated by different users. Up to 10 credentials +can be checked.

+ +
+ + + +
+ + +

+ + message CheckSvrCredentialsResponse + + + +

+ +
+

For each of the credentials tokens in the CheckSvrCredentialsRequest contains the result of the check.

+
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + matches + + + + map<string, AuthCheckResult> + +
+ +
+ + + +
+ + +

+ + message CredentialAndRedemptionTime + +
(Nested in org.signal.chat.credentials.GetGroupCredentialsResponse + ) + +
+ +

+ +
+

A zero-knowledge credential that may be redeemed at or up to one day after +the given redemption time

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + credential + + + + bytes + +
2 + redemption_time_seconds + + + + uint64 + +
+ +
+ + + +
+ + +

+ + message GetDeliveryCertificateRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message GetDeliveryCertificateResponse + + + +

+ +
+

A pair of message delivery certificates. The response unconditionally +includes certificates with and without the caller's phone number so the +server never learns anything about the caller's intent to share their phone +number with their contacts.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + certificate_with_e164 + + + + bytes + +

A delivery receipt that includes the caller's phone number

2 + certificate_without_e164 + + + + bytes + +

A delivery receipt that does not include the caller's phone number

+ +
+ + + +
+ + +

+ + message GetExternalServiceCredentialsRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + externalService + + + + org.signal.chat.credentials.ExternalServiceType + + +

A service to request credentials for.

+ +
+ + + +
+ + +

+ + message GetExternalServiceCredentialsResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + username + + + + string + +

A username that can be presented to authenticate with the external service.

2 + password + + + + string + +

A password that can be presented to authenticate with the external service.

+ +
+ + + +
+ + +

+ + message GetGroupCredentialsRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + redemption_start_seconds + + + + uint64 + +

The earliest time for which to issue group credentials; must be aligned to +a UTC day boundary and may be no more than one day in the past at the time +of the call.

2 + redemption_end_seconds + + + + uint64 + +

The latest time for which to issue group credentials; must be aligned to a +UTC day boundary and no more than seven days in the future at the time of +the call.

+ +
+ + + +
+ + +

+ + message GetGroupCredentialsResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + group_credentials + + + + repeated + + org.signal.chat.credentials.GetGroupCredentialsResponse.CredentialAndRedemptionTime + + +

A collection of credentials allowing the holder to anonymously +authenticate themselves for group-related actions

2 + call_link_auth_credentials + + + + repeated + + org.signal.chat.credentials.GetGroupCredentialsResponse.CredentialAndRedemptionTime + + +

A collection of credentials allowing the holder to read, update, and delete +group call links

3 + pni + + + + bytes + +

The phone number identifier for which the included credentials were +generated

+ +
+ + + + + + + + + +

+ Enums +

+ + +
+

+ enum AuthCheckResult + +

+ +
+

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameNumberDescription
AUTH_CHECK_RESULT_UNSPECIFIED0
AUTH_CHECK_RESULT_MATCH1

The credentials could be used to make a call to SVR service by the user +associated with the CheckSvrCredentialsRequest.number phone number.

AUTH_CHECK_RESULT_NO_MATCH2

The credentials were generated by a different user.

AUTH_CHECK_RESULT_INVALID3

This status indicates that the corresponding credentials token should no longer be used. +This may be because it has expired or invalid, but it can also mean that there is a more +recent token in the request which should be used instead.

+
+ +
+

+ enum ExternalServiceType + +

+ +
+

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameNumberDescription
EXTERNAL_SERVICE_TYPE_UNSPECIFIED0
EXTERNAL_SERVICE_TYPE_DIRECTORY1
EXTERNAL_SERVICE_TYPE_PAYMENTS2
EXTERNAL_SERVICE_TYPE_STORAGE3
EXTERNAL_SERVICE_TYPE_SVR4
+
+ + + + +
+ + + + \ No newline at end of file diff --git a/grpc/org.signal.chat.device.html b/grpc/org.signal.chat.device.html new file mode 100644 index 000000000..927bd59a7 --- /dev/null +++ b/grpc/org.signal.chat.device.html @@ -0,0 +1,1230 @@ + + + + + + Protobuf module documentation + + + + + + +
+ +
+ +
+

+ ← Back to packages +

+

+ + Package org.signal.chat.device + +

+ +
+ +

+ + Service + Devices + +

+ + + + +

+ + Message + ApnsTokenRequest + +

+ + + +

+ + Message + ClearPushTokenRequest + +

+ + + +

+ + Message + ClearPushTokenResponse + +

+ + + +

+ + Message + FcmTokenRequest + +

+ + + +

+ + Message + GetDevicesRequest + +

+ + + +

+ + Message + GetDevicesResponse + +

+ + + +

+ + Message + LinkedDevice + +

+ + + +

+ + Message + RemoveDeviceRequest + +

+ + + +

+ + Message + RemoveDeviceResponse + +

+ + + +

+ + Message + SetCapabilitiesRequest + +

+ + + +

+ + Message + SetCapabilitiesResponse + +

+ + + +

+ + Message + SetDeviceNameRequest + +

+ + + +

+ + Message + SetDeviceNameResponse + +

+ + + +

+ + Message + SetPushTokenRequest + +

+ + + +

+ + Message + SetPushTokenResponse + +

+ + + + +
+ +
+ +
+ + + +
+

+ Services +

+ + +
+ + +

+ service Devices + +

+ +
+

Provides methods for working with devices attached to a Signal account.

+
+ + +
+ + + +
+

Returns a list of devices associated with the caller's account.

+
+ +
+ +
+ + + +
+

Removes a linked device from the caller's account.

+

Linked devices may only remove themselves. Primary devices may remove +any device other than themselves.

+
+ +
+ +
+ + + +
+

Sets the encrypted human-readable name for a specific devices. Primary +devices may change the name of any device associated with their account, +but linked devices may only change their own name. The response will +indicate if the target device was not found.

+
+ +
+ +
+ + + +
+

Sets the token(s) the server should use to send new message notifications +to the authenticated device.

+
+ +
+ +
+ + + +
+

Removes any push tokens associated with the authenticated device. After +calling this method, the server will assume that the authenticated device +will periodically poll for new messages.

+
+ +
+ +
+ + + +
+

Declares that the authenticated device supports certain features.

+
+ +
+ +
+ +
+ + + + + +

+ Messages +

+ + + +
+ + +

+ + message ApnsTokenRequest + +
(Nested in org.signal.chat.device.SetPushTokenRequest + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + apns_token + + + + string + +

A "standard" APNs device token.

+ +
+ + + +
+ + +

+ + message ClearPushTokenRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message ClearPushTokenResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message FcmTokenRequest + +
(Nested in org.signal.chat.device.SetPushTokenRequest + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + fcm_token + + + + string + +

An FCM push token.

+ +
+ + + +
+ + +

+ + message GetDevicesRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message GetDevicesResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + devices + + + + repeated + + org.signal.chat.device.GetDevicesResponse.LinkedDevice + + +

A list of devices linked to the authenticated account.

+ +
+ + + +
+ + +

+ + message LinkedDevice + +
(Nested in org.signal.chat.device.GetDevicesResponse + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + id + + + + uint32 + +

The identifier for the device within an account.

2 + name + + + + bytes + +

A sequence of bytes that encodes an encrypted human-readable name for +this device.

3 + last_seen + + + + uint64 + +

The approximate time, in milliseconds since the epoch, at which this +device last connected to the server.

4 + registration_id + + + + uint32 + +

The registration ID of the given device.

5 + created_at_ciphertext + + + + bytes + +

A sequence of bytes that encodes the time, +in milliseconds since the epoch, at which this device was +attached to its parent account.

+ +
+ + + +
+ + +

+ + message RemoveDeviceRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + id + + + + uint32 + +

The identifier for the device to remove from the authenticated account. The +identifier must not be for the primary device.

+ +
+ + + +
+ + +

+ + message RemoveDeviceResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message SetCapabilitiesRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + capabilities + + + + repeated + + org.signal.chat.common.DeviceCapability + + +
+ +
+ + + +
+ + +

+ + message SetCapabilitiesResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message SetDeviceNameRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + name + + + + bytes + +

A sequence of bytes that encodes an encrypted human-readable name for this +device.

2 + id + + + + uint32 + +

The identifier for the device for which to set a name.

+ +
+ + + +
+ + +

+ + message SetDeviceNameResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + success + + + + google.protobuf.Empty + +

The device name was successfully set

+ 2 + + target_device_not_found + + + + org.signal.chat.errors.NotFound + + +

No device with the provided identifier was found on the account

+ +
+ + + +
+ + +

+ + message SetPushTokenRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof token_request +
+
+ 1 + + apns_token_request + + + + org.signal.chat.device.SetPushTokenRequest.ApnsTokenRequest + + +

If present, specifies the APNs device token(s) the server will use to +send new message notifications to the authenticated device.

+ 2 + + fcm_token_request + + + + org.signal.chat.device.SetPushTokenRequest.FcmTokenRequest + + +

If present, specifies the FCM push token the server will use to send new +message notifications to the authenticated device.

+ +
+ + + +
+ + +

+ + message SetPushTokenResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + + + + + +
+ + + + \ No newline at end of file diff --git a/grpc/org.signal.chat.donations.html b/grpc/org.signal.chat.donations.html new file mode 100644 index 000000000..bc9f8ed58 --- /dev/null +++ b/grpc/org.signal.chat.donations.html @@ -0,0 +1,364 @@ + + + + + + Protobuf module documentation + + + + + + +
+ +
+ +
+

+ ← Back to packages +

+

+ + Package org.signal.chat.donations + +

+ +
+ +

+ + Service + Donations + +

+ + + + +

+ + Message + RedeemReceiptRequest + +

+ + + +

+ + Message + RedeemReceiptResponse + +

+ + + + +
+ +
+ +
+ + + +
+

+ Services +

+ + +
+ + +

+ service Donations + +

+ +
+

+
+ + +
+ + + +
+

Redeem a receipt acquired from Subscriptions.CreateSubscriptionReceiptCredentials + to add a badge to the account. After successful redemption, profile + responses will include the corresponding badge (if configured as visible) + until the expiration time on the receipt.

+
+ +
+ +
+ +
+ + + + + +

+ Messages +

+ + + +
+ + +

+ + message RedeemReceiptRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + receiptCredentialPresentation + + + + bytes + +

Presentation of the ZK receipt acquired when the subscription was created

2 + visible + + + + bool + +

If true, the corresponding badge should be visible on the profile

3 + primary + + + + bool + +

If true, and the new badge is visible, it should be the primary badge on the profile

+ +
+ + + +
+ + +

+ + message RedeemReceiptResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + success + + + + google.protobuf.Empty + +

The receipt was successfully redeemed

+ 2 + + failed_authentication + + + + org.signal.chat.errors.FailedZkAuthentication + + +

The provided presentation is invalid

+ 3 + + already_redeemed + + + + org.signal.chat.errors.FailedPrecondition + + +

The receipt was already redeemed for a different account

+ +
+ + + + + + + +
+ + + + \ No newline at end of file diff --git a/grpc/org.signal.chat.errors.html b/grpc/org.signal.chat.errors.html new file mode 100644 index 000000000..66770fe52 --- /dev/null +++ b/grpc/org.signal.chat.errors.html @@ -0,0 +1,330 @@ + + + + + + Protobuf module documentation + + + + + + +
+ +
+ +
+

+ ← Back to packages +

+

+ + Package org.signal.chat.errors + +

+ +
+ + + + +

+ + Message + FailedPrecondition + +

+ + + +

+ + Message + FailedUnidentifiedAuthorization + +

+ + + +

+ + Message + FailedZkAuthentication + +

+ + + +

+ + Message + NotFound + +

+ + + + +
+ +
+ +
+ + + + + +

+ Messages +

+ + + +
+ + +

+ + message FailedPrecondition + + + +

+ +
+

Response message that indicates that some precondition of the request was not +met. For example, if there was a request to update foo, but foo had not been +set, this would be an appropriate error.

+
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + description + + + + string + +

An optional description indicating what precondition failed.

+ +
+ + + +
+ + +

+ + message FailedUnidentifiedAuthorization + + + +

+ +
+

Response message that indicates authorization to perform an unidentified +operation via an endorsement or access key failed

+
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + description + + + + string + +

An optional description with additional information about the failure.

+ +
+ + + +
+ + +

+ + message FailedZkAuthentication + + + +

+ +
+

Response message that authentication via an anonymous credential failed.

+
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + description + + + + string + +

An optional description with additional information about the failure.

+ +
+ + + +
+ + +

+ + message NotFound + + + +

+ +
+

Response message that indicates a particular resource was not found.

+
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + + + + + +
+ + + + \ No newline at end of file diff --git a/grpc/org.signal.chat.keys.html b/grpc/org.signal.chat.keys.html new file mode 100644 index 000000000..4625f9f21 --- /dev/null +++ b/grpc/org.signal.chat.keys.html @@ -0,0 +1,1607 @@ + + + + + + Protobuf module documentation + + + + + + +
+ +
+ +
+

+ ← Back to packages +

+

+ + Package org.signal.chat.keys + +

+ +
+ +

+ + Service + Keys + +

+ +

+ + Service + KeysAnonymous + +

+ + + + +

+ + Message + AccountPreKeyBundles + +

+ + + +

+ + Message + CheckIdentityKeyRequest + +

+ + + +

+ + Message + CheckIdentityKeyResponse + +

+ + + +

+ + Message + DevicePreKeyBundle + +

+ + + + + +

+ + Message + GetPreKeyCountRequest + +

+ + + +

+ + Message + GetPreKeyCountResponse + +

+ + + +

+ + Message + GetPreKeysAnonymousRequest + +

+ + + +

+ + Message + GetPreKeysAnonymousResponse + +

+ + + +

+ + Message + GetPreKeysRequest + +

+ + + +

+ + Message + GetPreKeysResponse + +

+ + + +

+ + Message + SetEcSignedPreKeyRequest + +

+ + + +

+ + Message + SetKemLastResortPreKeyRequest + +

+ + + +

+ + Message + SetOneTimeEcPreKeysRequest + +

+ + + +

+ + Message + SetOneTimeKemSignedPreKeysRequest + +

+ + + +

+ + Message + SetPreKeyResponse + +

+ + + + +
+ +
+ +
+ + + +
+

+ Services +

+ + +
+ + +

+ service Keys + +

+ +
+

Provides methods for working with pre-keys.

+
+ + +
+ + + +
+

Retrieves an approximate count of the number of the various kinds of +pre-keys stored for the authenticated device.

+
+ +
+ +
+ + + +
+

Retrieves a set of pre-keys for establishing a session with the targeted +device or devices. Note that callers with an unidentified access key for +the targeted account should use the version of this method in +KeysAnonymous instead.

+
+ +
+ +
+ + + +
+

Uploads a new set of one-time EC pre-keys for the authenticated device, +clearing any previously-stored pre-keys. Note that all keys submitted via +a single call to this method must have the same identity type (i.e. if +the first key has an ACI identity type, then all other keys in the same +stream must also have an ACI identity type). The provided list of pre-keys +must be non-empty.

+
+ +
+ +
+ + + +
+

Uploads a new set of one-time KEM pre-keys for the authenticated device, +clearing any previously-stored pre-keys. Note that all keys submitted via +a single call to this method must have the same identity type (i.e. if +the first key has an ACI identity type, then all other keys in the same +stream must also have an ACI identity type). The provided list of pre-keys +must be non-empty.

+
+ +
+ +
+ + + +
+

Sets the signed EC pre-key for one identity (i.e. ACI or PNI) associated +with the authenticated device.

+
+ +
+ +
+ + + +
+

Sets the last-resort KEM pre-key for one identity (i.e. ACI or PNI) +associated with the authenticated device.

+
+ +
+ +
+ +
+ + +

+ service KeysAnonymous + +

+ +
+

Provides methods for working with pre-keys using "unidentified access" +credentials.

+
+ + +
+ + + +
+

Retrieves a set of pre-keys for establishing a session with the targeted +device or devices. Callers must not submit any self-identifying credentials +when calling this method and must instead present the targeted account's +unidentified access key as an anonymous authentication mechanism. Callers +without an unidentified access key should use the equivalent, authenticated +method in Keys instead.

+
+ +
+ +
+ + + +
+

Checks identity key fingerprints of the target accounts.

+

Returns a stream of elements, each one representing an account that had a mismatched +identity key fingerprint with the server and the corresponding identity key stored by the server.

+
+ +
+ +
+ +
+ + + + + +

+ Messages +

+ + + +
+ + +

+ + message AccountPreKeyBundles + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + identity_key + + + + bytes + +

The identity key associated with the targeted account/identity.

2 + device_pre_keys + + + + map<uint32, DevicePreKeyBundle> + +

A map of device IDs to pre-key "bundles" for the targeted account.

+ +
+ + + +
+ + +

+ + message CheckIdentityKeyRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + target_identifier + + + + org.signal.chat.common.ServiceIdentifier + + +

The service identifier of the account for which we want to check the associated identity key fingerprint.

2 + fingerprint + + + + bytes + +

The most significant 4 bytes of the SHA-256 hash of the identity key associated with the target account/identity type.

+ +
+ + + +
+ + +

+ + message CheckIdentityKeyResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + target_identifier + + + + org.signal.chat.common.ServiceIdentifier + + +

The service identifier of the account for which there is a mismatch between the client and server identity key fingerprints.

2 + identity_key + + + + bytes + +

The identity key that is stored by the server for the target account/identity type.

+ +
+ + + +
+ + +

+ + message DevicePreKeyBundle + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + ec_signed_pre_key + + + + org.signal.chat.common.EcSignedPreKey + + +

The EC signed pre-key associated with the targeted +account/device/identity.

2 + ec_one_time_pre_key + + + + org.signal.chat.common.EcPreKey + + +

A one-time EC pre-key for the targeted account/device/identity. May not +be set if no one-time EC pre-keys are available.

3 + kem_one_time_pre_key + + + + org.signal.chat.common.KemSignedPreKey + + +

A one-time KEM pre-key (or a last-resort KEM pre-key) for the targeted +account/device/identity.

4 + registration_id + + + + uint32 + +

The registration ID for the targeted account/device/identity.

+ +
+ + + + + +
+ + +

+ + message GetPreKeyCountRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message GetPreKeyCountResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + aci_ec_pre_key_count + + + + uint32 + +

The approximate number of one-time EC pre-keys stored for the +authenticated device and associated with the caller's ACI.

2 + aci_kem_pre_key_count + + + + uint32 + +

The approximate number of one-time Kyber pre-keys stored for the +authenticated device and associated with the caller's ACI.

3 + pni_ec_pre_key_count + + + + uint32 + +

The approximate number of one-time EC pre-keys stored for the +authenticated device and associated with the caller's PNI.

4 + pni_kem_pre_key_count + + + + uint32 + +

The approximate number of one-time KEM pre-keys stored for the +authenticated device and associated with the caller's PNI.

+ +
+ + + +
+ + +

+ + message GetPreKeysAnonymousRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + request + + + + org.signal.chat.keys.GetPreKeysRequest + + +

The request to retrieve pre-keys for a specific account/device(s).

+
+ oneof authorization +
+
+ 2 + + unidentified_access_key + + + + bytes + +

The unidentified access key (UAK) for the targeted account.

+ 3 + + group_send_token + + + + bytes + +

A group send endorsement token for the targeted account.

+ 4 + + unrestricted_access + + + + google.protobuf.Empty + +

The destination account allows unrestricted unidentified access

+ +
+ + + +
+ + +

+ + message GetPreKeysAnonymousResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + pre_keys + + + + org.signal.chat.keys.AccountPreKeyBundles + + +

The requested pre-key bundles

+ 2 + + target_not_found + + + + org.signal.chat.errors.NotFound + + +

Either the target account was not found, no active device with the given +ID (if specified) was found on the target account.

+ 3 + + failed_unidentified_authorization + + + + org.signal.chat.errors.FailedUnidentifiedAuthorization + + +

The provided unidentified authorization credential was invalid

+ +
+ + + +
+ + +

+ + message GetPreKeysRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + target_identifier + + + + org.signal.chat.common.ServiceIdentifier + + +

The service identifier of the account for which to retrieve pre-keys.

2 + device_id + + + + optional + + uint32 + +

The ID of the device associated with the targeted account for which to +retrieve pre-keys. If not set, pre-keys are returned for all devices +associated with the targeted account.

+ +
+ + + +
+ + +

+ + message GetPreKeysResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + pre_keys + + + + org.signal.chat.keys.AccountPreKeyBundles + + +

The requested pre-key bundles

+ 2 + + target_not_found + + + + org.signal.chat.errors.NotFound + + +

Either the target account was not found, no active device with the given +ID (if specified) was found on the target account.

+ +
+ + + +
+ + +

+ + message SetEcSignedPreKeyRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + identity_type + + + + org.signal.chat.common.IdentityType + + +

The identity type (i.e. ACI/PNI) with which this key is associated.

2 + signed_pre_key + + + + org.signal.chat.common.EcSignedPreKey + + +

The signed EC pre-key itself.

+ +
+ + + +
+ + +

+ + message SetKemLastResortPreKeyRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + identity_type + + + + org.signal.chat.common.IdentityType + + +

The identity type (i.e. ACI/PNI) with which this key is associated.

2 + signed_pre_key + + + + org.signal.chat.common.KemSignedPreKey + + +

The signed KEM pre-key itself.

+ +
+ + + +
+ + +

+ + message SetOneTimeEcPreKeysRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + identity_type + + + + org.signal.chat.common.IdentityType + + +

The identity type (i.e. ACI/PNI) with which the keys in this request are +associated.

2 + pre_keys + + + + repeated + + org.signal.chat.common.EcPreKey + + +

The unsigned EC pre-keys to be stored.

+ +
+ + + +
+ + +

+ + message SetOneTimeKemSignedPreKeysRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + identity_type + + + + org.signal.chat.common.IdentityType + + +

The identity type (i.e. ACI/PNI) with which the keys in this request are +associated.

2 + pre_keys + + + + repeated + + org.signal.chat.common.KemSignedPreKey + + +

The KEM pre-keys to be stored.

+ +
+ + + +
+ + +

+ + message SetPreKeyResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + + + + + +
+ + + + \ No newline at end of file diff --git a/grpc/org.signal.chat.messages.html b/grpc/org.signal.chat.messages.html new file mode 100644 index 000000000..05e3ae1c4 --- /dev/null +++ b/grpc/org.signal.chat.messages.html @@ -0,0 +1,2473 @@ + + + + + + Protobuf module documentation + + + + + + +
+ +
+ +
+

+ ← Back to packages +

+

+ + Package org.signal.chat.messages + +

+ +
+ +

+ + Service + Messages + +

+ +

+ + Service + MessagesAnonymous + +

+ + + + +

+ + Message + ChallengeRequired + +

+ + + +

+ + Message + GetMessageOptions + +

+ + + +

+ + Message + GetMessagesRequest + +

+ + + +

+ + Message + GetMessagesResponse + +

+ + + +

+ + Message + IndividualRecipientMessageBundle + +

+ + + +

+ + Message + Message + +

+ + + + + +

+ + Message + MismatchedDevices + +

+ + + +

+ + Message + MultiRecipientMessage + +

+ + + +

+ + Message + MultiRecipientMismatchedDevices + +

+ + + +

+ + Message + MultiRecipientSuccess + +

+ + + +

+ + Message + SendAuthenticatedSenderMessageRequest + +

+ + + +

+ + Message + SendMessageAuthenticatedSenderResponse + +

+ + + +

+ + Message + SendMessageResponse + +

+ + + +

+ + Message + SendMultiRecipientMessageRequest + +

+ + + +

+ + Message + SendMultiRecipientMessageResponse + +

+ + + +

+ + Message + SendMultiRecipientStoryRequest + +

+ + + +

+ + Message + SendSealedSenderMessageRequest + +

+ + + +

+ + Message + SendStoryMessageRequest + +

+ + + +

+ + Message + SendSyncMessageRequest + +

+ + + +

+ + Message + Terminated + +

+ + + + +

+ + Enum + ChallengeType + +

+ +

+ + Enum + SendMessageType + +

+ +
+ +
+ +
+ + + +
+

+ Services +

+ + +
+ + +

+ service Messages + +

+ +
+

Provides methods for sending "unsealed sender" messages.

+
+ + +
+ + + +
+

Sends an "unsealed sender" message to all devices linked to a single +destination account.

+

The destination account must not be the same as the authenticated caller. +Callers should use SendSyncMessage to send messages to themselves.

+
+ +
+ +
+ + + +
+

Sends a "sync" message to all other devices linked to the authenticated +sender's account.

+
+ +
+ +
+ + + +
+

Retrieve messages for the authenticated device. When the caller receives +and successfully processes a message returned in a GetMessagesResponse they +must send a corresponding GetMessagesRequest indicating that the message +has been processed (an ack). Acks should only be sent for messages +delivered via the currently open RPC.

+

Only the first GetMessagesRequest may contain request parameters that +configure the stream. The first request must not contain an ack.

+

The server will keep the stream open until the client disconnects or the +connection is displaced as indicated by a Terminated response.

+
+ +
+ +
+ +
+ + +

+ service MessagesAnonymous + +

+ +
+

Provides methods for sending "sealed sender" messages.

+
+ + +
+ + + +
+

Sends a "sealed sender" message to all devices linked to a single +destination account.

+

If this RPC is authorized with an unidentified access key, it will fail +with an authorization failure if the credential is invalid OR if the +destination account was not found. If it is authorized using a group send +token, it will fail with an authorization failure if the credential is +invalid and with an destination not found error if the account does not +exist

+
+ +
+ +
+ + + +
+

Sends a "sealed sender" message with a common payload to all devices linked +to multiple destination accounts.

+
+ +
+ +
+ + + +
+

Sends a story message to devices linked to a single destination account.

+
+ +
+ +
+ + + +
+

Sends a story message with a common payload to devices linked to devices +linked to multiple destination accounts.

+
+ +
+ +
+ +
+ + + + + +

+ Messages +

+ + + +
+ + +

+ + message ChallengeRequired + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + token + + + + string + +

An opaque token identifying this challenge request. Clients must generally +submit this token when submitting a challenge response.

2 + challenge_options + + + + repeated + + org.signal.chat.messages.ChallengeRequired.ChallengeType + + +

A list of challenge types callers may choose to complete to resolve the +challenge requirement. May be empty, in which case callers cannot resolve +the challenge by any means other than waiting.

3 + retry_after_seconds + + + + optional + + uint64 + +

A duration (in seconds) after which the challenge requirement may be +resolved by simply waiting. May not be set if the challenge cannot be +resolved by waiting.

+ +
+ + + +
+ + +

+ + message GetMessageOptions + +
(Nested in org.signal.chat.messages.GetMessagesRequest + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + drop_stories + + + + bool + +

If present and true, the server will not deliver any messages with the +story flag set. This flag may only be set on the first GetMessagesRequest +sent from the client to the server in an RPC stream.

+ +
+ + + +
+ + +

+ + message GetMessagesRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof request +
+
+ 1 + + options + + + + org.signal.chat.messages.GetMessagesRequest.GetMessageOptions + + +

Configuration options for the message stream. Required for the first +request of the stream, forbidden on subsequent reqeusts.

+ 2 + + server_guid_ack + + + + bytes + +

The server_guid of an envelope previously returned in a +GetMessagesResponse that has been successfully processed by the caller. +Forbidden on the first request of the stream, required on subsequent +requests.

+ +
+ + + +
+ + +

+ + message GetMessagesResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + envelope + + + + textsecure.Envelope + +

A message. On successful receipt of an envelope the caller should ack +the envelope by sending a GetMessagesRequest with the envelope's server +guid. Acks should only be sent for envelopes received on the currently +open RPC.

+ 2 + + queue_empty + + + + google.protobuf.Empty + +

An indicator that all outstanding messages for the device have been +drained and acked by the client. The stream will remain open and continue +to deliver newly arrived messages.

+ 3 + + terminated + + + + org.signal.chat.messages.GetMessagesResponse.Terminated + + +

Indicates that the stream is about to be closed.

+ +
+ + + +
+ + +

+ + message IndividualRecipientMessageBundle + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + timestamp + + + + uint64 + +

The time, in milliseconds since the epoch, at which this message was +originally sent from the perspective of the sender. Note that the maximum +allowable timestamp for JavaScript clients is less than Long.MAX_VALUE; see +https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#the_epoch_timestamps_and_invalid_date +for additional details and discussion.

2 + messages + + + + map<uint32, Message> + +

A map of device IDs to individual messages. Generally, callers must include +one message for each device linked to the destination account. In cases of +"sync messages" where a sender is distributing information to other devices +linked to the sender's account, senders may omit a message for the sending +device.

+ +
+ + + +
+ + +

+ + message Message + +
(Nested in org.signal.chat.messages.IndividualRecipientMessageBundle + ) + +
+ +

+ +
+

A message for an individual device linked to a destination account.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + registration_id + + + + uint32 + +

The registration ID for the destination device.

2 + payload + + + + bytes + +

The content of the message to deliver to the destination device.

+

256 KiB

3 + type + + + + org.signal.chat.messages.SendMessageType + + +

The message type of the message. If this message is part of an +unidentified send, this must be UNIDENTIFIED_SENDER

+ +
+ + + + + +
+ + +

+ + message MismatchedDevices + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + service_identifier + + + + org.signal.chat.common.ServiceIdentifier + + +

The service identifier to which the devices named in this object are +linked.

2 + missing_devices + + + + repeated + + uint32 + +

A list of device IDs that are linked to the destination account, but were +not included in the collection of messages bound for the destination +account.

3 + extra_devices + + + + repeated + + uint32 + +

A list of device IDs that were included in the collection of messages bound +for the destination account, but are not currently linked to the +destination account.

4 + stale_devices + + + + repeated + + uint32 + +

A list of device IDs that present in the collection of messages bound for +the destination account and are linked to the destination account, but have +a different registration ID than the registration ID presented by the +sender (indicating that the destination device has likely been replaced by +another device).

+ +
+ + + +
+ + +

+ + message MultiRecipientMessage + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + timestamp + + + + uint64 + +

The time, in milliseconds since the epoch, at which this message was +originally sent from the perspective of the sender. Note that the maximum +allowable timestamp for JavaScript clients is less than Long.MAX_VALUE; see +https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#the_epoch_timestamps_and_invalid_date +for additional details and discussion.

2 + payload + + + + bytes + +

The serialized multi-recipient message payload.

+

256 KiB payload + (5000 * 100) of overhead

+ +
+ + + +
+ + +

+ + message MultiRecipientMismatchedDevices + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + mismatched_devices + + + + repeated + + org.signal.chat.messages.MismatchedDevices + + +

A list of sets of discrepancies between the destination devices identified +in a request to send a message and the devices that are actually linked to +a destination account.

+ +
+ + + +
+ + +

+ + message MultiRecipientSuccess + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + unresolved_recipients + + + + repeated + + org.signal.chat.common.ServiceIdentifier + + +

A list of destination service identifiers that could not be resolved to +registered Signal accounts. The message in the original request was sent +to all service identifiers/devices in the original request except for the +destination devices associated with the service identifiers in this list.

+ +
+ + + +
+ + +

+ + message SendAuthenticatedSenderMessageRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + destination + + + + org.signal.chat.common.ServiceIdentifier + + +

The service identifier of the account to which to deliver the message.

2 + ephemeral + + + + bool + +

If true, this message will only be delivered to destination devices that +have an active message delivery channel with a Signal server.

3 + urgent + + + + bool + +

Indicates whether this message is urgent and should trigger a high-priority +notification if the destination device does not have an active message +delivery channel with a Signal server

4 + messages + + + + org.signal.chat.messages.IndividualRecipientMessageBundle + + +

The messages to send to the destination account.

+ +
+ + + +
+ + +

+ + message SendMessageAuthenticatedSenderResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + success + + + + google.protobuf.Empty + +

The message was successfully delivered to all destination devices

+ 2 + + mismatched_devices + + + + org.signal.chat.messages.MismatchedDevices + + +

A list of discrepancies between the destination devices identified in a +request to send a message and the devices that are actually linked to an +account.

+ 3 + + challenge_required + + + + org.signal.chat.messages.ChallengeRequired + + +

A description of a challenge callers must complete before sending +additional messages.

+ 4 + + destination_not_found + + + + org.signal.chat.errors.NotFound + + +

The destination account did not exist

+ +
+ + + +
+ + +

+ + message SendMessageResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + success + + + + google.protobuf.Empty + +

The message was successfully delivered to all destination devices

+ 2 + + mismatched_devices + + + + org.signal.chat.messages.MismatchedDevices + + +

A list of discrepancies between the destination devices identified in a +request to send a message and the devices that are actually linked to an +account.

+ 3 + + failed_unidentified_authorization + + + + org.signal.chat.errors.FailedUnidentifiedAuthorization + + +

The provided unidentified authorization credential was invalid

+ 4 + + destination_not_found + + + + org.signal.chat.errors.NotFound + + +

The destination account did not exist

+ +
+ + + +
+ + +

+ + message SendMultiRecipientMessageRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + ephemeral + + + + bool + +

If true, this message will only be delivered to destination devices that +have an active message delivery channel with a Signal server.

2 + urgent + + + + bool + +

Indicates whether this message is urgent and should trigger a high-priority +notification if the destination device does not have an active message +delivery channel with a Signal server

3 + message + + + + org.signal.chat.messages.MultiRecipientMessage + + +

The multi-recipient message to send to all destination accounts and +devices.

4 + group_send_token + + + + bytes + +

A group send endorsement token for the destination account.

+ +
+ + + +
+ + +

+ + message SendMultiRecipientMessageResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + success + + + + org.signal.chat.messages.MultiRecipientSuccess + + +

The message was sent to at least some of the destination accounts/devices +identified in the original request.

+ 2 + + mismatched_devices + + + + org.signal.chat.messages.MultiRecipientMismatchedDevices + + +

A list of sets of discrepancies between the destination devices +identified in a request to send a message and the devices that are +actually linked to a destination account.

+ 3 + + failed_unidentified_authorization + + + + org.signal.chat.errors.FailedUnidentifiedAuthorization + + +

The provided unidentified authorization credential was invalid

+ +
+ + + +
+ + +

+ + message SendMultiRecipientStoryRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + urgent + + + + bool + +

Indicates whether this message is urgent and should trigger a high-priority +notification if the destination device does not have an active message +delivery channel with a Signal server

2 + message + + + + org.signal.chat.messages.MultiRecipientMessage + + +

The multi-recipient story message to send to all destination accounts and +devices.

+ +
+ + + +
+ + +

+ + message SendSealedSenderMessageRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + destination + + + + org.signal.chat.common.ServiceIdentifier + + +

The service identifier of the account to which to deliver the message.

2 + ephemeral + + + + bool + +

If true, this message will only be delivered to destination devices that +have an active message delivery channel with a Signal server.

3 + urgent + + + + bool + +

Indicates whether this message is urgent and should trigger a high-priority +notification if the destination device does not have an active message +delivery channel with a Signal server

4 + messages + + + + org.signal.chat.messages.IndividualRecipientMessageBundle + + +

The messages to send to the destination account.

+
+ oneof authorization +
+
+ 5 + + unidentified_access_key + + + + bytes + +

The unidentified access key (UAK) for the destination account.

+ 6 + + group_send_token + + + + bytes + +

A group send endorsement token for the destination account.

+ 7 + + unrestricted_access + + + + google.protobuf.Empty + +

The destination account allows unrestricted unidentified access

+ +
+ + + +
+ + +

+ + message SendStoryMessageRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + destination + + + + org.signal.chat.common.ServiceIdentifier + + +

The service identifier of the account to which to deliver the message.

2 + urgent + + + + bool + +

Indicates whether this message is urgent and should trigger a high-priority +notification if the destination device does not have an active message +delivery channel with a Signal server

3 + messages + + + + org.signal.chat.messages.IndividualRecipientMessageBundle + + +

The messages to send to the destination account.

+ +
+ + + +
+ + +

+ + message SendSyncMessageRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + urgent + + + + bool + +

Indicates whether this message is urgent and should trigger a high-priority +notification if the destination device does not have an active message +delivery channel with a Signal server

2 + messages + + + + org.signal.chat.messages.IndividualRecipientMessageBundle + + +

The messages to send to the destination account.

+ +
+ + + +
+ + +

+ + message Terminated + +
(Nested in org.signal.chat.messages.GetMessagesResponse + ) + +
+ +

+ +
+

The reason why a GetMessages RPC is being closed by the server.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof reason +
+
+ 1 + + reauthentication_required + + + + google.protobuf.Empty + +

The account's credentials have been updated and the caller must reauthenticate.

+ 2 + + conflicting_stream + + + + google.protobuf.Empty + +

Another caller has opened a GetMessages stream for the same device.

+ +
+ + + + + + + +

+ Enums +

+ + +
+

+ enum ChallengeType + +

+ +
+

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameNumberDescription
UNSPECIFIED0
CAPTCHA1

A challenge that callers can fulfill by completing a captcha.

PUSH_CHALLENGE2

A challenge that callers can fulfill by supplying a token delivered via +push notification.

+
+ +
+

+ enum SendMessageType + +

+ +
+

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameNumberDescription
UNSPECIFIED0
DOUBLE_RATCHET1

A double-ratchet message represents a "normal," "unsealed-sender" message +encrypted using the Double Ratchet within an established Signal session.

PREKEY_MESSAGE2

A prekey message begins a new Signal session. The content of a prekey +message is a superset of a double-ratchet message's content and +contains the sender's identity public key and information identifying the +pre-keys used in the message's ciphertext.

PLAINTEXT_CONTENT3

A plaintext message is used solely to convey encryption error receipts +and never contains encrypted message content. Encryption error receipts +must be delivered in plaintext because encryption/decryption of a prior +message failed and there is no reason to believe that +encryption/decryption of subsequent messages with the same key material +would succeed.

+

Critically, plaintext messages never have "real" message content +generated by users. Plaintext messages include sender information.

UNIDENTIFIED_SENDER4

An unidentified sender message is an encrypted message. No other +information about the type of the encrypted message is known to the server.

+

Unidenitfied sender messages require an unidentified access token or a +group send endorsement token to prove the unidentified sender is authorized +to send messages to the destination.

+
+ + + + +
+ + + + \ No newline at end of file diff --git a/grpc/org.signal.chat.payments.html b/grpc/org.signal.chat.payments.html new file mode 100644 index 000000000..49c68f682 --- /dev/null +++ b/grpc/org.signal.chat.payments.html @@ -0,0 +1,356 @@ + + + + + + Protobuf module documentation + + + + + + +
+ +
+ +
+

+ ← Back to packages +

+

+ + Package org.signal.chat.payments + +

+ +
+ +

+ + Service + Payments + +

+ + + + + + +

+ + Message + CurrencyConversionEntity + +

+ + + +

+ + Message + GetCurrencyConversionsRequest + +

+ + + +

+ + Message + GetCurrencyConversionsResponse + +

+ + + + +
+ +
+ +
+ + + +
+

+ Services +

+ + +
+ + +

+ service Payments + +

+ +
+

Provides methods for working with payments.

+
+ + + + +
+ +
+ + + + + +

+ Messages +

+ + + + + +
+ + +

+ + message CurrencyConversionEntity + +
(Nested in org.signal.chat.payments.GetCurrencyConversionsResponse + ) + +
+ +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + base + + + + string + +
2 + conversions + + + + map<string, string> + +
+ +
+ + + +
+ + +

+ + message GetCurrencyConversionsRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message GetCurrencyConversionsResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + timestamp + + + + uint64 + +
2 + currencies + + + + repeated + + org.signal.chat.payments.GetCurrencyConversionsResponse.CurrencyConversionEntity + + +
+ +
+ + + + + + + +
+ + + + \ No newline at end of file diff --git a/grpc/org.signal.chat.profile.html b/grpc/org.signal.chat.profile.html new file mode 100644 index 000000000..1c61d49d5 --- /dev/null +++ b/grpc/org.signal.chat.profile.html @@ -0,0 +1,2992 @@ + + + + + + Protobuf module documentation + + + + + + +
+ +
+ +
+

+ ← Back to packages +

+

+ + Package org.signal.chat.profile + +

+ +
+ +

+ + Service + Profile + +

+ +

+ + Service + ProfileAnonymous + +

+ + + + +

+ + Message + Badge + +

+ + + +

+ + Message + BadgeSvg + +

+ + + +

+ + Message + DataEtag + +

+ + + +

+ + Message + GetExpiringProfileKeyCredentialAnonymousRequest + +

+ + + +

+ + Message + GetExpiringProfileKeyCredentialAnonymousResponse + +

+ + + +

+ + Message + GetExpiringProfileKeyCredentialRequest + +

+ + + +

+ + Message + GetExpiringProfileKeyCredentialResult + +

+ + + +

+ + Message + GetUnversionedProfileAnonymousRequest + +

+ + + +

+ + Message + GetUnversionedProfileAnonymousResponse + +

+ + + +

+ + Message + GetUnversionedProfileRequest + +

+ + + +

+ + Message + GetUnversionedProfileResponse + +

+ + + +

+ + Message + GetUnversionedProfileResult + +

+ + + +

+ + Message + GetVersionedProfileAnonymousRequest + +

+ + + +

+ + Message + GetVersionedProfileAnonymousResponse + +

+ + + +

+ + Message + GetVersionedProfileRequest + +

+ + + +

+ + Message + GetVersionedProfileResponse + +

+ + + +

+ + Message + GetVersionedProfileResult + +

+ + + +

+ + Message + GetVersionedProfileV1Response + +

+ + + +

+ + Message + PaymentsForbiddenInRegion + +

+ + + +

+ + Message + ProfileAvatarUploadAttributes + +

+ + + +

+ + Message + ProfilesV2CapabilityRequired + +

+ + + +

+ + Message + SetProfileRequest + +

+ + + +

+ + Message + SetProfileResponse + +

+ + + +

+ + Message + SetProfileResult + +

+ + + +

+ + Message + SetProfileV1Request + +

+ + + + +

+ + Enum + AvatarChange + +

+ +

+ + Enum + CredentialType + +

+ +
+ +
+ +
+ + + +
+

+ Services +

+ + +
+ + +

+ service Profile + +

+ +
+

Provides methods for working with profiles and profile-related data.

+
+ + +
+ + + +
+

Sets profile data and, if needed, returns credentials used by clients to upload a v1 avatar.

+
+ +
+ +
+ + + +
+

Retrieves versioned profile data. Callers with an unidentified access key for the account +should use the version of this method in ProfileAnonymous instead.

+
+ +
+ +
+ + + +
+

Retrieves unversioned profile data. Callers with an unidentified access key for the account +should use the version of this method in ProfileAnonymous instead.

+
+ +
+ +
+ +
+ + +

+ service ProfileAnonymous + +

+ +
+

Provides methods for working with profiles and profile-related data using "unidentified access" +credentials. Callers must not submit any self-identifying credentials +when calling methods in this service and must instead present the targeted account's +unidentified access key as an anonymous authentication mechanism. Callers +without an unidentified access key should use the equivalent, authenticated +methods in Profile instead.

+
+ + + + + + + + +
+ +
+ + + + + +

+ Messages +

+ + + +
+ + +

+ + message Badge + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + id + + + + string + +

An ID that uniquely identifies the badge.

2 + category + + + + string + +

The category the badge falls in ("donor" or "other").

3 + name + + + + string + +

The badge name.

4 + description + + + + string + +

The badge description.

5 + sprites6 + + + + repeated + + string + +

Different size badge SVG files.

6 + svg + + + + string + +

File name of the scalable vector graphic representing this badge.

7 + svgs + + + + repeated + + org.signal.chat.profile.BadgeSvg + + +

Pairs of light/dark SVG files designed for display at different sizes.

+ +
+ + + +
+ + +

+ + message BadgeSvg + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + light + + + + string + +

File name of the scalable vector graphic for light mode.

2 + dark + + + + string + +

File name of the scalable vector graphic for dark mode.

+ +
+ + + +
+ + +

+ + message DataEtag + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + data + + + + bytes + +
2 + etag_sha256 + + + + bytes + +

An entity tag for data. This may be used in subsequent requests for +this profile version to optimize bandwidth.

+

Clients may validate that the value has been correctly calculated by deriving +the SHA-256 digest of data.

+ +
+ + + +
+ + +

+ + message GetExpiringProfileKeyCredentialAnonymousRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + request + + + + org.signal.chat.profile.GetExpiringProfileKeyCredentialRequest + + +

Contains the data necessary to request an expiring profile key credential.

2 + unidentified_access_key + + + + bytes + +

The unidentified access key for the targeted account.

+ +
+ + + +
+ + +

+ + message GetExpiringProfileKeyCredentialAnonymousResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + result + + + + org.signal.chat.profile.GetExpiringProfileKeyCredentialResult + + +
+ 2 + + not_found + + + + org.signal.chat.errors.NotFound + + +
+ 3 + + failed_unidentified_authorization + + + + org.signal.chat.errors.FailedUnidentifiedAuthorization + + +
+ +
+ + + +
+ + +

+ + message GetExpiringProfileKeyCredentialRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + account_identifier + + + + org.signal.chat.common.ServiceIdentifier + + +

The ACI of the account for which to get a profile key credential.

2 + credential_request + + + + bytes + +

A zkgroup request for a profile key credential.

3 + credential_type + + + + org.signal.chat.profile.CredentialType + + +

The type of credential being requested.

4 + version + + + + bytes + +

The profile version for which to generate a profile key credential.

+ +
+ + + +
+ + +

+ + message GetExpiringProfileKeyCredentialResult + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + profile_key_credential + + + + bytes + +

A zkgroup credential used by a client to prove that it has the profile key +of a targeted account.

+ +
+ + + +
+ + +

+ + message GetUnversionedProfileAnonymousRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + request + + + + org.signal.chat.profile.GetUnversionedProfileRequest + + +

Note: Only ACI service identifiers are permitted for anonymous requests.

+
+ oneof authentication +
+
+ 2 + + unidentified_access_key + + + + bytes + +

The unidentified access key for the targeted account.

+ 3 + + group_send_token + + + + bytes + +

A group send endorsement token for the targeted account.

+ +
+ + + +
+ + +

+ + message GetUnversionedProfileAnonymousResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + result + + + + org.signal.chat.profile.GetUnversionedProfileResult + + +
+ 2 + + not_found + + + + org.signal.chat.errors.NotFound + + +

The target profile was not found

+ 3 + + failed_unidentified_authorization + + + + org.signal.chat.errors.FailedUnidentifiedAuthorization + + +

The unidentified access key or group send endorsement were not valid for +the request.

+ +
+ + + +
+ + +

+ + message GetUnversionedProfileRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + service_identifier + + + + org.signal.chat.common.ServiceIdentifier + + +

The service identifier of the account for which to get profile data.

+ +
+ + + +
+ + +

+ + message GetUnversionedProfileResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + result + + + + org.signal.chat.profile.GetUnversionedProfileResult + + +
+ 2 + + not_found + + + + org.signal.chat.errors.NotFound + + +
+ +
+ + + +
+ + +

+ + message GetUnversionedProfileResult + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + identity_key + + + + bytes + +

The identity key of the targeted account/identity type.

2 + unidentified_access + + + + bytes + +

A checksum of the unidentified access key for the targeted account.

3 + unrestricted_unidentified_access + + + + bool + +

Whether the account has enabled sealed sender from anyone.

4 + capabilities + + + + repeated + + org.signal.chat.common.DeviceCapability + + +

A list of capabilities enabled on the account.

5 + badges + + + + repeated + + org.signal.chat.profile.Badge + + +

A list of badges associated with the account.

+ +
+ + + +
+ + +

+ + message GetVersionedProfileAnonymousRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + request + + + + org.signal.chat.profile.GetVersionedProfileRequest + + +

Contains the data necessary to request a versioned profile.

2 + unidentified_access_key + + + + bytes + +

The unidentified access key for the targeted account.

+ +
+ + + +
+ + +

+ + message GetVersionedProfileAnonymousResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + result + + + + org.signal.chat.profile.GetVersionedProfileResult + + +
+ 2 + + not_found + + + + org.signal.chat.errors.NotFound + + +
+ 3 + + failed_unidentified_authorization + + + + org.signal.chat.errors.FailedUnidentifiedAuthorization + + +
+ +
+ + + +
+ + +

+ + message GetVersionedProfileRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + accountIdentifier + + + + org.signal.chat.common.ServiceIdentifier + + +

The ACI of the account for which to get profile data.

2 + version + + + + bytes + +

The profile version to retrieve.

3 + data_etag + + + + bytes + +

The data_etag from the previous request for this Profile version. If +unchanged, the response will omit data and data_etag_matched will be +true.

4 + payment_address_etag + + + + bytes + +

The payment_address_etag from the previous request for this account’s +profile. If unchanged, the response will omit payment_address and +payment_address_etag_matched will be true.

+ +
+ + + +
+ + +

+ + message GetVersionedProfileResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + result + + + + org.signal.chat.profile.GetVersionedProfileResult + + +
+ 2 + + not_found + + + + org.signal.chat.errors.NotFound + + +
+ +
+ + + +
+ + +

+ + message GetVersionedProfileResult + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof data_result +
+
+ 1 + + data_etag + + + + org.signal.chat.profile.DataEtag + + +

The ciphertext of a serialized Profile. +Absent if a v2 Profile is not available +for this version, in which the client should use v1_response.

+ 2 + + data_etag_matched + + + + bool + +

Indicates that the request’s ETag matched the stored data

+ 15 + + v1_response + + + + org.signal.chat.profile.GetVersionedProfileV1Response + + +

Will be present if there is no v2 Profile data for this version.

+

Because this is a temporary field during the migration, it has the highest +field number without serialization overhead. This is purely aesthetic.

+
+ oneof payment_address_result +
+
+ 3 + + payment_address_data_etag + + + + org.signal.chat.profile.DataEtag + + +

The ciphertext of the MobileCoin wallet ID on the profile.

+ 4 + + payment_address_etag_matched + + + + bool + +

Indicates that the request’s ETag matched the stored payment_address

+ +
+ + + +
+ + +

+ + message GetVersionedProfileV1Response + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + name + + + + bytes + +

The ciphertext of the name on the profile.

2 + about + + + + bytes + +

The ciphertext of the description on the profile.

3 + about_emoji + + + + bytes + +

The ciphertext of the emoji on the profile.

4 + avatar + + + + string + +

The cdn0 path of the avatar on the profile.

5 + phone_number_sharing + + + + bytes + +

The ciphertext of the phone-number sharing setting on the profile.

+ +
+ + + +
+ + +

+ + message PaymentsForbiddenInRegion + + + +

+ +
+

Indicates that the account is not permitted to set a payment address, +due to a disallowed country prefix on the account's phone number.

+
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message ProfileAvatarUploadAttributes + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + path + + + + string + +

The S3 upload path for the profile's avatar.

2 + credential + + + + string + +

A scoped credential. Includes the AWS access key, date, region targeted, and AWS service.

3 + acl + + + + string + +

The type of access control for the avatar object.

4 + algorithm + + + + string + +

The algorithm used to calculate a signature on the S3 policy.

5 + date + + + + string + +

The timestamp at which the S3 policy and signature were generated.

6 + policy + + + + string + +

The S3 policy used to upload the avatar object.

7 + signature + + + + bytes + +

A digital signature on the S3 policy.

+ +
+ + + +
+ + +

+ + message ProfilesV2CapabilityRequired + + + +

+ +
+

Indicates that the account does not have the Profiles v2 capability, which +is required to call Profiles.SetProfile

+
+ + + + + + + + + + + + + + + +
FieldTypeDescription
+ +
+ + + +
+ + +

+ + message SetProfileRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + version + + + + bytes + +

The profile version. Required.

2 + data + + + + bytes + +

The ciphertext of a serialized Profile protobuf. Required. +937 max length = 909 plaintext serialization + 28 bytes encryption overhead

3 + expected_current_data_hash + + + + bytes + +

The SHA-256 hash of the Profile ciphertext being replaced. +This is used an optimistic lock against concurrent changes.

+

Optional, if this is the initial request to create a version.

4 + expected_current_version + + + + bytes + +

The current profile version being updated. +This is used as an optimistic lock against concurrent changes.

+

Optional, if there is no current profile version for the account.

5 + payment_address + + + + bytes + +

The ciphertext of the MobileCoin wallet ID on the profile.

6 + badge_ids + + + + repeated + + string + +

A list of badge IDs associated with the profile.

7 + commitment + + + + bytes + +

The profile key commitment. Used to issue a profile key credential response.

+

Required during the v1 -> v2 migration period. Afterwards will be optional, if this is an update to an existing version.

15 + v1Request + + + + org.signal.chat.profile.SetProfileV1Request + + +

An embedded v1 request. Required during the v1 -> v2 migration period.

+

Because this is a temporary field during the migration, it has the highest +field number without serialization overhead. This is purely aesthetic.

+ +
+ + + +
+ + +

+ + message SetProfileResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + result + + + + org.signal.chat.profile.SetProfileResult + + +
+ 2 + + expected_data_write_conflict + + + + org.signal.chat.errors.FailedPrecondition + + +

The current data hash did not match the request's expectation, indicating +another device on the account may have written an update the caller does not know about.

+ 3 + + payments_forbidden_in_region + + + + org.signal.chat.profile.PaymentsForbiddenInRegion + + +

Payments are not permitted in the account's region, based on its phone number. +The request should be retried without `payment_address.

+ 4 + + expected_version_write_conflict + + + + org.signal.chat.errors.FailedPrecondition + + +

The current version did not match the request's expectation, indicating +another device on the account may have created a new version the caller does not know about.

+ 15 + + profiles_v2_capability_required + + + + org.signal.chat.profile.ProfilesV2CapabilityRequired + + +

Because this is a temporary field during the migration, it has the highest +field number without serialization overhead. This is purely aesthetic.

+ +
+ + + +
+ + +

+ + message SetProfileResult + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
15 + v1_avatar_upload_form + + + + optional + + org.signal.chat.profile.ProfileAvatarUploadAttributes + + +

If the request included a v1 avatar change, this field contains the policy +and credential used by clients to upload an avatar to the CDN.

+

Because this is a temporary field during the migration, it has the highest +field number without serialization overhead. This is purely aesthetic.

+ +
+ + + +
+ + +

+ + message SetProfileV1Request + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + name + + + + bytes + +

The ciphertext of a name that users must set on the profile.

2 + avatar_change + + + + org.signal.chat.profile.SetProfileV1Request.AvatarChange + + +

An enum to indicate what change, if any, is made to the avatar with this request.

3 + about_emoji + + + + bytes + +

The ciphertext of an emoji that users can set on their profile.

4 + about + + + + bytes + +

The ciphertext of a description that users can set on their profile.

6 + phone_number_sharing + + + + bytes + +

The ciphertext of the phone-number sharing setting on the profile. 29-byte encrypted boolean.

+ +
+ + + + + + + +

+ Enums +

+ + +
+

+ enum AvatarChange + +

+ +
+

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameNumberDescription
AVATAR_CHANGE_UNCHANGED0
AVATAR_CHANGE_CLEAR1
AVATAR_CHANGE_UPDATE2
+
+ +
+

+ enum CredentialType + +

+ +
+

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
NameNumberDescription
CREDENTIAL_TYPE_UNSPECIFIED0
CREDENTIAL_TYPE_EXPIRING_PROFILE_KEY1
+
+ + + + +
+ + + + \ No newline at end of file diff --git a/grpc/org.signal.chat.require.html b/grpc/org.signal.chat.require.html new file mode 100644 index 000000000..eb217524b --- /dev/null +++ b/grpc/org.signal.chat.require.html @@ -0,0 +1,372 @@ + + + + + + Protobuf module documentation + + + + + + +
+ +
+ +
+

+ ← Back to packages +

+

+ + Package org.signal.chat.require + +

+ +
+ + + + +

+ + Message + SizeConstraint + +

+ + + +

+ + Message + ValueRangeConstraint + +

+ + + + +

+ + Enum + Auth + +

+ +

+ + Enum + IdentityType + +

+ +
+ +
+ +
+ + + + + +

+ Messages +

+ + + +
+ + +

+ + message SizeConstraint + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + min + + + + optional + + uint32 + +
2 + max + + + + optional + + uint32 + +
+ +
+ + + +
+ + +

+ + message ValueRangeConstraint + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + min + + + + optional + + int64 + +
2 + max + + + + optional + + int64 + +
+ +
+ + + + + + + +

+ Enums +

+ + +
+

+ enum Auth + +

+ +
+

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameNumberDescription
AUTH_UNSPECIFIED0
AUTH_ONLY_AUTHENTICATED1
AUTH_ONLY_ANONYMOUS2
+
+ +
+

+ enum IdentityType + +

+ +
+

This is duplicated from common.proto because:

+
    +
  1. importing would be a circular dependency
  2. +
  3. the canonical declaration belongs there
  4. +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameNumberDescription
IDENTITY_TYPE_UNSPECIFIED0
IDENTITY_TYPE_ACI1
IDENTITY_TYPE_PNI2
+
+ + + + +
+ + + + \ No newline at end of file diff --git a/grpc/org.signal.chat.tag.html b/grpc/org.signal.chat.tag.html new file mode 100644 index 000000000..18e36b526 --- /dev/null +++ b/grpc/org.signal.chat.tag.html @@ -0,0 +1,98 @@ + + + + + + Protobuf module documentation + + + + + + +
+ +
+ +
+

+ ← Back to packages +

+

+ + Package org.signal.chat.tag + +

+ +
+ + + + + +
+ +
+ +
+ + + + + + + +
+ + + + \ No newline at end of file diff --git a/grpc/search.html b/grpc/search.html new file mode 100644 index 000000000..85f34793b --- /dev/null +++ b/grpc/search.html @@ -0,0 +1,144 @@ + + + + + + Protobuf module documentation + + + + + + +
+ +
+ +
+ + +
+

+ Enter a query to search this documentation. +

+
+
+
+

+ +

+
+
+

+ +

+
+
+
+
+
+
+
+
+ + + + \ No newline at end of file diff --git a/grpc/static/fontawesome.js b/grpc/static/fontawesome.js new file mode 100644 index 000000000..3e53ed9d5 --- /dev/null +++ b/grpc/static/fontawesome.js @@ -0,0 +1,2 @@ +window.FontAwesomeKitConfig = {"asyncLoading":{"enabled":false},"autoA11y":{"enabled":true},"baseUrl":"https://ka-f.fontawesome.com","baseUrlKit":"https://kit.fontawesome.com","detectConflictsUntil":null,"iconUploads":{},"id":82004925,"license":"free","method":"css","minify":{"enabled":true},"token":"4d30d3d1aa","v4FontFaceShim":{"enabled":true},"v4shim":{"enabled":true},"v5FontFaceShim":{"enabled":true},"version":"6.4.2"}; +!function(t){"function"==typeof define&&define.amd?define("kit-loader",t):t()}((function(){"use strict";function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function e(e){for(var n=1;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n-1}(t)&&("URLSearchParams"in window?(i=new URL(t)).searchParams.set("token",o):i=i+"?token="+encodeURIComponent(o)),i=i.toString(),new E((function(t,e){if("function"==typeof n)n(i,{mode:"cors",cache:"default"}).then((function(t){if(t.ok)return t.text();throw new Error("")})).then((function(e){t(e)})).catch(e);else if("function"==typeof r){var o=new r;o.addEventListener("loadend",(function(){this.responseText?t(this.responseText):e(new Error(""))}));["abort","error","timeout"].map((function(t){o.addEventListener(t,(function(){e(new Error(""))}))})),o.open("GET",i),o.send()}else{e(new Error(""))}}))}function _(t,e,n){var r=t;return[[/(url\("?)\.\.\/\.\.\/\.\./g,function(t,n){return"".concat(n).concat(e)}],[/(url\("?)\.\.\/webfonts/g,function(t,r){return"".concat(r).concat(e,"/releases/v").concat(n,"/webfonts")}],[/(url\("?)https:\/\/kit-free([^.])*\.fontawesome\.com/g,function(t,n){return"".concat(n).concat(e)}]].forEach((function(t){var e=o(t,2),n=e[0],i=e[1];r=r.replace(n,i)})),r}function F(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},o=n.document||o,i=a.bind(a,o,["fa","fab","fas","far","fal","fad","fak"]);t.autoA11y.enabled&&r(i);var u=t.subsetPath&&t.baseUrl+"/"+t.subsetPath,f=[{id:"fa-main",addOn:void 0,url:u}];if(t.v4shim&&t.v4shim.enabled&&f.push({id:"fa-v4-shims",addOn:"-v4-shims"}),t.v5FontFaceShim&&t.v5FontFaceShim.enabled&&f.push({id:"fa-v5-font-face",addOn:"-v5-font-face"}),t.v4FontFaceShim&&t.v4FontFaceShim.enabled&&f.push({id:"fa-v4-font-face",addOn:"-v4-font-face"}),!u&&t.customIconsCssPath){var s=t.customIconsCssPath.indexOf("kit-upload.css")>-1?t.baseUrlKit:t.baseUrl,l=s+"/"+t.customIconsCssPath;f.push({id:"fa-kit-upload",url:l})}var d=f.map((function(r){return new E((function(o,i){var a=r.url||c(t,{addOn:r.addOn,minify:t.minify.enabled}),u={id:r.id},f=t.subset?u:e(e(e({},n),u),{},{baseUrl:t.baseUrl,version:t.version,id:r.id,contentFilter:function(t,e){return _(t,e.baseUrl,e.version)}});P(a,n).then((function(t){o(C(t,f))})).catch(i)}))}));return E.all(d)}function C(t,e){var n=e.contentFilter||function(t,e){return t},r=document.createElement("style"),o=document.createTextNode(n(t,e));return r.appendChild(o),r.media="all",e.id&&r.setAttribute("id",e.id),e&&e.detectingConflicts&&e.detectionIgnoreAttr&&r.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)),r}function I(t,n){n.autoA11y=t.autoA11y.enabled,"pro"===t.license&&(n.autoFetchSvg=!0,n.fetchSvgFrom=t.baseUrl+"/releases/"+("latest"===t.version?"latest":"v".concat(t.version))+"/svgs",n.fetchUploadedSvgFrom=t.uploadsUrl);var r=[];return t.v4shim.enabled&&r.push(new E((function(r,o){P(c(t,{addOn:"-v4-shims",minify:t.minify.enabled}),n).then((function(t){r(U(t,e(e({},n),{},{id:"fa-v4-shims"})))})).catch(o)}))),r.push(new E((function(r,o){P(t.subsetPath&&t.baseUrl+"/"+t.subsetPath||c(t,{minify:t.minify.enabled}),n).then((function(t){var o=U(t,e(e({},n),{},{id:"fa-main"}));r(function(t,e){var n=e&&void 0!==e.autoFetchSvg?e.autoFetchSvg:void 0,r=e&&void 0!==e.autoA11y?e.autoA11y:void 0;void 0!==r&&t.setAttribute("data-auto-a11y",r?"true":"false");n&&(t.setAttributeNode(document.createAttribute("data-auto-fetch-svg")),t.setAttribute("data-fetch-svg-from",e.fetchSvgFrom),t.setAttribute("data-fetch-uploaded-svg-from",e.fetchUploadedSvgFrom));return t}(o,n))})).catch(o)}))),E.all(r)}function U(t,e){var n=document.createElement("SCRIPT"),r=document.createTextNode(t);return n.appendChild(r),n.referrerPolicy="strict-origin",e.id&&n.setAttribute("id",e.id),e&&e.detectingConflicts&&e.detectionIgnoreAttr&&n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)),n}function T(t){var e,n=[],r=document,o=r.documentElement.doScroll,i=(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState);i||r.addEventListener("DOMContentLoaded",e=function(){for(r.removeEventListener("DOMContentLoaded",e),i=1;e=n.shift();)e()}),i?setTimeout(t,0):n.push(t)}function L(t){"undefined"!=typeof MutationObserver&&new MutationObserver(t).observe(document,{childList:!0,subtree:!0})}try{if(window.FontAwesomeKitConfig){var k=window.FontAwesomeKitConfig,x={detectingConflicts:k.detectConflictsUntil&&new Date<=new Date(k.detectConflictsUntil),detectionIgnoreAttr:"data-fa-detection-ignore",fetch:window.fetch,token:k.token,XMLHttpRequest:window.XMLHttpRequest,document:document},M=document.currentScript,N=M?M.parentElement:document.head;(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"js"===t.method?I(t,e):"css"===t.method?F(t,e,(function(t){T(t),L(t)})):void 0})(k,x).then((function(t){t.map((function(t){try{N.insertBefore(t,M?M.nextSibling:null)}catch(e){N.appendChild(t)}})),x.detectingConflicts&&M&&T((function(){M.setAttributeNode(document.createAttribute(x.detectionIgnoreAttr));var t=function(t,e){var n=document.createElement("script");return e&&e.detectionIgnoreAttr&&n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)),n.src=c(t,{baseFilename:"conflict-detection",fileSuffix:"js",subdir:"js",minify:t.minify.enabled}),n}(k,x);document.body.appendChild(t)}))})).catch((function(t){console.error("".concat("Font Awesome Kit:"," ").concat(t))}))}}catch(t){console.error("".concat("Font Awesome Kit:"," ").concat(t))}})); diff --git a/grpc/static/lunr.js b/grpc/static/lunr.js new file mode 100644 index 000000000..6aa370fbc --- /dev/null +++ b/grpc/static/lunr.js @@ -0,0 +1,3475 @@ +/** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + */ + +;(function(){ + +/** + * A convenience function for configuring and constructing + * a new lunr Index. + * + * A lunr.Builder instance is created and the pipeline setup + * with a trimmer, stop word filter and stemmer. + * + * This builder object is yielded to the configuration function + * that is passed as a parameter, allowing the list of fields + * and other builder parameters to be customised. + * + * All documents _must_ be added within the passed config function. + * + * @example + * var idx = lunr(function () { + * this.field('title') + * this.field('body') + * this.ref('id') + * + * documents.forEach(function (doc) { + * this.add(doc) + * }, this) + * }) + * + * @see {@link lunr.Builder} + * @see {@link lunr.Pipeline} + * @see {@link lunr.trimmer} + * @see {@link lunr.stopWordFilter} + * @see {@link lunr.stemmer} + * @namespace {function} lunr + */ +var lunr = function (config) { + var builder = new lunr.Builder + + builder.pipeline.add( + lunr.trimmer, + lunr.stopWordFilter, + lunr.stemmer + ) + + builder.searchPipeline.add( + lunr.stemmer + ) + + config.call(builder, builder) + return builder.build() +} + +lunr.version = "2.3.9" +/*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + */ + +/** + * A namespace containing utils for the rest of the lunr library + * @namespace lunr.utils + */ +lunr.utils = {} + +/** + * Print a warning message to the console. + * + * @param {String} message The message to be printed. + * @memberOf lunr.utils + * @function + */ +lunr.utils.warn = (function (global) { + /* eslint-disable no-console */ + return function (message) { + if (global.console && console.warn) { + console.warn(message) + } + } + /* eslint-enable no-console */ +})(this) + +/** + * Convert an object to a string. + * + * In the case of `null` and `undefined` the function returns + * the empty string, in all other cases the result of calling + * `toString` on the passed object is returned. + * + * @param {Any} obj The object to convert to a string. + * @return {String} string representation of the passed object. + * @memberOf lunr.utils + */ +lunr.utils.asString = function (obj) { + if (obj === void 0 || obj === null) { + return "" + } else { + return obj.toString() + } +} + +/** + * Clones an object. + * + * Will create a copy of an existing object such that any mutations + * on the copy cannot affect the original. + * + * Only shallow objects are supported, passing a nested object to this + * function will cause a TypeError. + * + * Objects with primitives, and arrays of primitives are supported. + * + * @param {Object} obj The object to clone. + * @return {Object} a clone of the passed object. + * @throws {TypeError} when a nested object is passed. + * @memberOf Utils + */ +lunr.utils.clone = function (obj) { + if (obj === null || obj === undefined) { + return obj + } + + var clone = Object.create(null), + keys = Object.keys(obj) + + for (var i = 0; i < keys.length; i++) { + var key = keys[i], + val = obj[key] + + if (Array.isArray(val)) { + clone[key] = val.slice() + continue + } + + if (typeof val === 'string' || + typeof val === 'number' || + typeof val === 'boolean') { + clone[key] = val + continue + } + + throw new TypeError("clone is not deep and does not support nested objects") + } + + return clone +} +lunr.FieldRef = function (docRef, fieldName, stringValue) { + this.docRef = docRef + this.fieldName = fieldName + this._stringValue = stringValue +} + +lunr.FieldRef.joiner = "/" + +lunr.FieldRef.fromString = function (s) { + var n = s.indexOf(lunr.FieldRef.joiner) + + if (n === -1) { + throw "malformed field ref string" + } + + var fieldRef = s.slice(0, n), + docRef = s.slice(n + 1) + + return new lunr.FieldRef (docRef, fieldRef, s) +} + +lunr.FieldRef.prototype.toString = function () { + if (this._stringValue == undefined) { + this._stringValue = this.fieldName + lunr.FieldRef.joiner + this.docRef + } + + return this._stringValue +} +/*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + */ + +/** + * A lunr set. + * + * @constructor + */ +lunr.Set = function (elements) { + this.elements = Object.create(null) + + if (elements) { + this.length = elements.length + + for (var i = 0; i < this.length; i++) { + this.elements[elements[i]] = true + } + } else { + this.length = 0 + } +} + +/** + * A complete set that contains all elements. + * + * @static + * @readonly + * @type {lunr.Set} + */ +lunr.Set.complete = { + intersect: function (other) { + return other + }, + + union: function () { + return this + }, + + contains: function () { + return true + } +} + +/** + * An empty set that contains no elements. + * + * @static + * @readonly + * @type {lunr.Set} + */ +lunr.Set.empty = { + intersect: function () { + return this + }, + + union: function (other) { + return other + }, + + contains: function () { + return false + } +} + +/** + * Returns true if this set contains the specified object. + * + * @param {object} object - Object whose presence in this set is to be tested. + * @returns {boolean} - True if this set contains the specified object. + */ +lunr.Set.prototype.contains = function (object) { + return !!this.elements[object] +} + +/** + * Returns a new set containing only the elements that are present in both + * this set and the specified set. + * + * @param {lunr.Set} other - set to intersect with this set. + * @returns {lunr.Set} a new set that is the intersection of this and the specified set. + */ + +lunr.Set.prototype.intersect = function (other) { + var a, b, elements, intersection = [] + + if (other === lunr.Set.complete) { + return this + } + + if (other === lunr.Set.empty) { + return other + } + + if (this.length < other.length) { + a = this + b = other + } else { + a = other + b = this + } + + elements = Object.keys(a.elements) + + for (var i = 0; i < elements.length; i++) { + var element = elements[i] + if (element in b.elements) { + intersection.push(element) + } + } + + return new lunr.Set (intersection) +} + +/** + * Returns a new set combining the elements of this and the specified set. + * + * @param {lunr.Set} other - set to union with this set. + * @return {lunr.Set} a new set that is the union of this and the specified set. + */ + +lunr.Set.prototype.union = function (other) { + if (other === lunr.Set.complete) { + return lunr.Set.complete + } + + if (other === lunr.Set.empty) { + return this + } + + return new lunr.Set(Object.keys(this.elements).concat(Object.keys(other.elements))) +} +/** + * A function to calculate the inverse document frequency for + * a posting. This is shared between the builder and the index + * + * @private + * @param {object} posting - The posting for a given term + * @param {number} documentCount - The total number of documents. + */ +lunr.idf = function (posting, documentCount) { + var documentsWithTerm = 0 + + for (var fieldName in posting) { + if (fieldName == '_index') continue // Ignore the term index, its not a field + documentsWithTerm += Object.keys(posting[fieldName]).length + } + + var x = (documentCount - documentsWithTerm + 0.5) / (documentsWithTerm + 0.5) + + return Math.log(1 + Math.abs(x)) +} + +/** + * A token wraps a string representation of a token + * as it is passed through the text processing pipeline. + * + * @constructor + * @param {string} [str=''] - The string token being wrapped. + * @param {object} [metadata={}] - Metadata associated with this token. + */ +lunr.Token = function (str, metadata) { + this.str = str || "" + this.metadata = metadata || {} +} + +/** + * Returns the token string that is being wrapped by this object. + * + * @returns {string} + */ +lunr.Token.prototype.toString = function () { + return this.str +} + +/** + * A token update function is used when updating or optionally + * when cloning a token. + * + * @callback lunr.Token~updateFunction + * @param {string} str - The string representation of the token. + * @param {Object} metadata - All metadata associated with this token. + */ + +/** + * Applies the given function to the wrapped string token. + * + * @example + * token.update(function (str, metadata) { + * return str.toUpperCase() + * }) + * + * @param {lunr.Token~updateFunction} fn - A function to apply to the token string. + * @returns {lunr.Token} + */ +lunr.Token.prototype.update = function (fn) { + this.str = fn(this.str, this.metadata) + return this +} + +/** + * Creates a clone of this token. Optionally a function can be + * applied to the cloned token. + * + * @param {lunr.Token~updateFunction} [fn] - An optional function to apply to the cloned token. + * @returns {lunr.Token} + */ +lunr.Token.prototype.clone = function (fn) { + fn = fn || function (s) { return s } + return new lunr.Token (fn(this.str, this.metadata), this.metadata) +} +/*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + */ + +/** + * A function for splitting a string into tokens ready to be inserted into + * the search index. Uses `lunr.tokenizer.separator` to split strings, change + * the value of this property to change how strings are split into tokens. + * + * This tokenizer will convert its parameter to a string by calling `toString` and + * then will split this string on the character in `lunr.tokenizer.separator`. + * Arrays will have their elements converted to strings and wrapped in a lunr.Token. + * + * Optional metadata can be passed to the tokenizer, this metadata will be cloned and + * added as metadata to every token that is created from the object to be tokenized. + * + * @static + * @param {?(string|object|object[])} obj - The object to convert into tokens + * @param {?object} metadata - Optional metadata to associate with every token + * @returns {lunr.Token[]} + * @see {@link lunr.Pipeline} + */ +lunr.tokenizer = function (obj, metadata) { + if (obj == null || obj == undefined) { + return [] + } + + if (Array.isArray(obj)) { + return obj.map(function (t) { + return new lunr.Token( + lunr.utils.asString(t).toLowerCase(), + lunr.utils.clone(metadata) + ) + }) + } + + var str = obj.toString().toLowerCase(), + len = str.length, + tokens = [] + + for (var sliceEnd = 0, sliceStart = 0; sliceEnd <= len; sliceEnd++) { + var char = str.charAt(sliceEnd), + sliceLength = sliceEnd - sliceStart + + if ((char.match(lunr.tokenizer.separator) || sliceEnd == len)) { + + if (sliceLength > 0) { + var tokenMetadata = lunr.utils.clone(metadata) || {} + tokenMetadata["position"] = [sliceStart, sliceLength] + tokenMetadata["index"] = tokens.length + + tokens.push( + new lunr.Token ( + str.slice(sliceStart, sliceEnd), + tokenMetadata + ) + ) + } + + sliceStart = sliceEnd + 1 + } + + } + + return tokens +} + +/** + * The separator used to split a string into tokens. Override this property to change the behaviour of + * `lunr.tokenizer` behaviour when tokenizing strings. By default this splits on whitespace and hyphens. + * + * @static + * @see lunr.tokenizer + */ +lunr.tokenizer.separator = /[\s\-]+/ +/*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + */ + +/** + * lunr.Pipelines maintain an ordered list of functions to be applied to all + * tokens in documents entering the search index and queries being ran against + * the index. + * + * An instance of lunr.Index created with the lunr shortcut will contain a + * pipeline with a stop word filter and an English language stemmer. Extra + * functions can be added before or after either of these functions or these + * default functions can be removed. + * + * When run the pipeline will call each function in turn, passing a token, the + * index of that token in the original list of all tokens and finally a list of + * all the original tokens. + * + * The output of functions in the pipeline will be passed to the next function + * in the pipeline. To exclude a token from entering the index the function + * should return undefined, the rest of the pipeline will not be called with + * this token. + * + * For serialisation of pipelines to work, all functions used in an instance of + * a pipeline should be registered with lunr.Pipeline. Registered functions can + * then be loaded. If trying to load a serialised pipeline that uses functions + * that are not registered an error will be thrown. + * + * If not planning on serialising the pipeline then registering pipeline functions + * is not necessary. + * + * @constructor + */ +lunr.Pipeline = function () { + this._stack = [] +} + +lunr.Pipeline.registeredFunctions = Object.create(null) + +/** + * A pipeline function maps lunr.Token to lunr.Token. A lunr.Token contains the token + * string as well as all known metadata. A pipeline function can mutate the token string + * or mutate (or add) metadata for a given token. + * + * A pipeline function can indicate that the passed token should be discarded by returning + * null, undefined or an empty string. This token will not be passed to any downstream pipeline + * functions and will not be added to the index. + * + * Multiple tokens can be returned by returning an array of tokens. Each token will be passed + * to any downstream pipeline functions and all will returned tokens will be added to the index. + * + * Any number of pipeline functions may be chained together using a lunr.Pipeline. + * + * @interface lunr.PipelineFunction + * @param {lunr.Token} token - A token from the document being processed. + * @param {number} i - The index of this token in the complete list of tokens for this document/field. + * @param {lunr.Token[]} tokens - All tokens for this document/field. + * @returns {(?lunr.Token|lunr.Token[])} + */ + +/** + * Register a function with the pipeline. + * + * Functions that are used in the pipeline should be registered if the pipeline + * needs to be serialised, or a serialised pipeline needs to be loaded. + * + * Registering a function does not add it to a pipeline, functions must still be + * added to instances of the pipeline for them to be used when running a pipeline. + * + * @param {lunr.PipelineFunction} fn - The function to check for. + * @param {String} label - The label to register this function with + */ +lunr.Pipeline.registerFunction = function (fn, label) { + if (label in this.registeredFunctions) { + lunr.utils.warn('Overwriting existing registered function: ' + label) + } + + fn.label = label + lunr.Pipeline.registeredFunctions[fn.label] = fn +} + +/** + * Warns if the function is not registered as a Pipeline function. + * + * @param {lunr.PipelineFunction} fn - The function to check for. + * @private + */ +lunr.Pipeline.warnIfFunctionNotRegistered = function (fn) { + var isRegistered = fn.label && (fn.label in this.registeredFunctions) + + if (!isRegistered) { + lunr.utils.warn('Function is not registered with pipeline. This may cause problems when serialising the index.\n', fn) + } +} + +/** + * Loads a previously serialised pipeline. + * + * All functions to be loaded must already be registered with lunr.Pipeline. + * If any function from the serialised data has not been registered then an + * error will be thrown. + * + * @param {Object} serialised - The serialised pipeline to load. + * @returns {lunr.Pipeline} + */ +lunr.Pipeline.load = function (serialised) { + var pipeline = new lunr.Pipeline + + serialised.forEach(function (fnName) { + var fn = lunr.Pipeline.registeredFunctions[fnName] + + if (fn) { + pipeline.add(fn) + } else { + throw new Error('Cannot load unregistered function: ' + fnName) + } + }) + + return pipeline +} + +/** + * Adds new functions to the end of the pipeline. + * + * Logs a warning if the function has not been registered. + * + * @param {lunr.PipelineFunction[]} functions - Any number of functions to add to the pipeline. + */ +lunr.Pipeline.prototype.add = function () { + var fns = Array.prototype.slice.call(arguments) + + fns.forEach(function (fn) { + lunr.Pipeline.warnIfFunctionNotRegistered(fn) + this._stack.push(fn) + }, this) +} + +/** + * Adds a single function after a function that already exists in the + * pipeline. + * + * Logs a warning if the function has not been registered. + * + * @param {lunr.PipelineFunction} existingFn - A function that already exists in the pipeline. + * @param {lunr.PipelineFunction} newFn - The new function to add to the pipeline. + */ +lunr.Pipeline.prototype.after = function (existingFn, newFn) { + lunr.Pipeline.warnIfFunctionNotRegistered(newFn) + + var pos = this._stack.indexOf(existingFn) + if (pos == -1) { + throw new Error('Cannot find existingFn') + } + + pos = pos + 1 + this._stack.splice(pos, 0, newFn) +} + +/** + * Adds a single function before a function that already exists in the + * pipeline. + * + * Logs a warning if the function has not been registered. + * + * @param {lunr.PipelineFunction} existingFn - A function that already exists in the pipeline. + * @param {lunr.PipelineFunction} newFn - The new function to add to the pipeline. + */ +lunr.Pipeline.prototype.before = function (existingFn, newFn) { + lunr.Pipeline.warnIfFunctionNotRegistered(newFn) + + var pos = this._stack.indexOf(existingFn) + if (pos == -1) { + throw new Error('Cannot find existingFn') + } + + this._stack.splice(pos, 0, newFn) +} + +/** + * Removes a function from the pipeline. + * + * @param {lunr.PipelineFunction} fn The function to remove from the pipeline. + */ +lunr.Pipeline.prototype.remove = function (fn) { + var pos = this._stack.indexOf(fn) + if (pos == -1) { + return + } + + this._stack.splice(pos, 1) +} + +/** + * Runs the current list of functions that make up the pipeline against the + * passed tokens. + * + * @param {Array} tokens The tokens to run through the pipeline. + * @returns {Array} + */ +lunr.Pipeline.prototype.run = function (tokens) { + var stackLength = this._stack.length + + for (var i = 0; i < stackLength; i++) { + var fn = this._stack[i] + var memo = [] + + for (var j = 0; j < tokens.length; j++) { + var result = fn(tokens[j], j, tokens) + + if (result === null || result === void 0 || result === '') continue + + if (Array.isArray(result)) { + for (var k = 0; k < result.length; k++) { + memo.push(result[k]) + } + } else { + memo.push(result) + } + } + + tokens = memo + } + + return tokens +} + +/** + * Convenience method for passing a string through a pipeline and getting + * strings out. This method takes care of wrapping the passed string in a + * token and mapping the resulting tokens back to strings. + * + * @param {string} str - The string to pass through the pipeline. + * @param {?object} metadata - Optional metadata to associate with the token + * passed to the pipeline. + * @returns {string[]} + */ +lunr.Pipeline.prototype.runString = function (str, metadata) { + var token = new lunr.Token (str, metadata) + + return this.run([token]).map(function (t) { + return t.toString() + }) +} + +/** + * Resets the pipeline by removing any existing processors. + * + */ +lunr.Pipeline.prototype.reset = function () { + this._stack = [] +} + +/** + * Returns a representation of the pipeline ready for serialisation. + * + * Logs a warning if the function has not been registered. + * + * @returns {Array} + */ +lunr.Pipeline.prototype.toJSON = function () { + return this._stack.map(function (fn) { + lunr.Pipeline.warnIfFunctionNotRegistered(fn) + + return fn.label + }) +} +/*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + */ + +/** + * A vector is used to construct the vector space of documents and queries. These + * vectors support operations to determine the similarity between two documents or + * a document and a query. + * + * Normally no parameters are required for initializing a vector, but in the case of + * loading a previously dumped vector the raw elements can be provided to the constructor. + * + * For performance reasons vectors are implemented with a flat array, where an elements + * index is immediately followed by its value. E.g. [index, value, index, value]. This + * allows the underlying array to be as sparse as possible and still offer decent + * performance when being used for vector calculations. + * + * @constructor + * @param {Number[]} [elements] - The flat list of element index and element value pairs. + */ +lunr.Vector = function (elements) { + this._magnitude = 0 + this.elements = elements || [] +} + + +/** + * Calculates the position within the vector to insert a given index. + * + * This is used internally by insert and upsert. If there are duplicate indexes then + * the position is returned as if the value for that index were to be updated, but it + * is the callers responsibility to check whether there is a duplicate at that index + * + * @param {Number} insertIdx - The index at which the element should be inserted. + * @returns {Number} + */ +lunr.Vector.prototype.positionForIndex = function (index) { + // For an empty vector the tuple can be inserted at the beginning + if (this.elements.length == 0) { + return 0 + } + + var start = 0, + end = this.elements.length / 2, + sliceLength = end - start, + pivotPoint = Math.floor(sliceLength / 2), + pivotIndex = this.elements[pivotPoint * 2] + + while (sliceLength > 1) { + if (pivotIndex < index) { + start = pivotPoint + } + + if (pivotIndex > index) { + end = pivotPoint + } + + if (pivotIndex == index) { + break + } + + sliceLength = end - start + pivotPoint = start + Math.floor(sliceLength / 2) + pivotIndex = this.elements[pivotPoint * 2] + } + + if (pivotIndex == index) { + return pivotPoint * 2 + } + + if (pivotIndex > index) { + return pivotPoint * 2 + } + + if (pivotIndex < index) { + return (pivotPoint + 1) * 2 + } +} + +/** + * Inserts an element at an index within the vector. + * + * Does not allow duplicates, will throw an error if there is already an entry + * for this index. + * + * @param {Number} insertIdx - The index at which the element should be inserted. + * @param {Number} val - The value to be inserted into the vector. + */ +lunr.Vector.prototype.insert = function (insertIdx, val) { + this.upsert(insertIdx, val, function () { + throw "duplicate index" + }) +} + +/** + * Inserts or updates an existing index within the vector. + * + * @param {Number} insertIdx - The index at which the element should be inserted. + * @param {Number} val - The value to be inserted into the vector. + * @param {function} fn - A function that is called for updates, the existing value and the + * requested value are passed as arguments + */ +lunr.Vector.prototype.upsert = function (insertIdx, val, fn) { + this._magnitude = 0 + var position = this.positionForIndex(insertIdx) + + if (this.elements[position] == insertIdx) { + this.elements[position + 1] = fn(this.elements[position + 1], val) + } else { + this.elements.splice(position, 0, insertIdx, val) + } +} + +/** + * Calculates the magnitude of this vector. + * + * @returns {Number} + */ +lunr.Vector.prototype.magnitude = function () { + if (this._magnitude) return this._magnitude + + var sumOfSquares = 0, + elementsLength = this.elements.length + + for (var i = 1; i < elementsLength; i += 2) { + var val = this.elements[i] + sumOfSquares += val * val + } + + return this._magnitude = Math.sqrt(sumOfSquares) +} + +/** + * Calculates the dot product of this vector and another vector. + * + * @param {lunr.Vector} otherVector - The vector to compute the dot product with. + * @returns {Number} + */ +lunr.Vector.prototype.dot = function (otherVector) { + var dotProduct = 0, + a = this.elements, b = otherVector.elements, + aLen = a.length, bLen = b.length, + aVal = 0, bVal = 0, + i = 0, j = 0 + + while (i < aLen && j < bLen) { + aVal = a[i], bVal = b[j] + if (aVal < bVal) { + i += 2 + } else if (aVal > bVal) { + j += 2 + } else if (aVal == bVal) { + dotProduct += a[i + 1] * b[j + 1] + i += 2 + j += 2 + } + } + + return dotProduct +} + +/** + * Calculates the similarity between this vector and another vector. + * + * @param {lunr.Vector} otherVector - The other vector to calculate the + * similarity with. + * @returns {Number} + */ +lunr.Vector.prototype.similarity = function (otherVector) { + return this.dot(otherVector) / this.magnitude() || 0 +} + +/** + * Converts the vector to an array of the elements within the vector. + * + * @returns {Number[]} + */ +lunr.Vector.prototype.toArray = function () { + var output = new Array (this.elements.length / 2) + + for (var i = 1, j = 0; i < this.elements.length; i += 2, j++) { + output[j] = this.elements[i] + } + + return output +} + +/** + * A JSON serializable representation of the vector. + * + * @returns {Number[]} + */ +lunr.Vector.prototype.toJSON = function () { + return this.elements +} +/* eslint-disable */ +/*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + */ + +/** + * lunr.stemmer is an english language stemmer, this is a JavaScript + * implementation of the PorterStemmer taken from http://tartarus.org/~martin + * + * @static + * @implements {lunr.PipelineFunction} + * @param {lunr.Token} token - The string to stem + * @returns {lunr.Token} + * @see {@link lunr.Pipeline} + * @function + */ +lunr.stemmer = (function(){ + var step2list = { + "ational" : "ate", + "tional" : "tion", + "enci" : "ence", + "anci" : "ance", + "izer" : "ize", + "bli" : "ble", + "alli" : "al", + "entli" : "ent", + "eli" : "e", + "ousli" : "ous", + "ization" : "ize", + "ation" : "ate", + "ator" : "ate", + "alism" : "al", + "iveness" : "ive", + "fulness" : "ful", + "ousness" : "ous", + "aliti" : "al", + "iviti" : "ive", + "biliti" : "ble", + "logi" : "log" + }, + + step3list = { + "icate" : "ic", + "ative" : "", + "alize" : "al", + "iciti" : "ic", + "ical" : "ic", + "ful" : "", + "ness" : "" + }, + + c = "[^aeiou]", // consonant + v = "[aeiouy]", // vowel + C = c + "[^aeiouy]*", // consonant sequence + V = v + "[aeiou]*", // vowel sequence + + mgr0 = "^(" + C + ")?" + V + C, // [C]VC... is m>0 + meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$", // [C]VC[V] is m=1 + mgr1 = "^(" + C + ")?" + V + C + V + C, // [C]VCVC... is m>1 + s_v = "^(" + C + ")?" + v; // vowel in stem + + var re_mgr0 = new RegExp(mgr0); + var re_mgr1 = new RegExp(mgr1); + var re_meq1 = new RegExp(meq1); + var re_s_v = new RegExp(s_v); + + var re_1a = /^(.+?)(ss|i)es$/; + var re2_1a = /^(.+?)([^s])s$/; + var re_1b = /^(.+?)eed$/; + var re2_1b = /^(.+?)(ed|ing)$/; + var re_1b_2 = /.$/; + var re2_1b_2 = /(at|bl|iz)$/; + var re3_1b_2 = new RegExp("([^aeiouylsz])\\1$"); + var re4_1b_2 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + + var re_1c = /^(.+?[^aeiou])y$/; + var re_2 = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/; + + var re_3 = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/; + + var re_4 = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/; + var re2_4 = /^(.+?)(s|t)(ion)$/; + + var re_5 = /^(.+?)e$/; + var re_5_1 = /ll$/; + var re3_5 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + + var porterStemmer = function porterStemmer(w) { + var stem, + suffix, + firstch, + re, + re2, + re3, + re4; + + if (w.length < 3) { return w; } + + firstch = w.substr(0,1); + if (firstch == "y") { + w = firstch.toUpperCase() + w.substr(1); + } + + // Step 1a + re = re_1a + re2 = re2_1a; + + if (re.test(w)) { w = w.replace(re,"$1$2"); } + else if (re2.test(w)) { w = w.replace(re2,"$1$2"); } + + // Step 1b + re = re_1b; + re2 = re2_1b; + if (re.test(w)) { + var fp = re.exec(w); + re = re_mgr0; + if (re.test(fp[1])) { + re = re_1b_2; + w = w.replace(re,""); + } + } else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1]; + re2 = re_s_v; + if (re2.test(stem)) { + w = stem; + re2 = re2_1b_2; + re3 = re3_1b_2; + re4 = re4_1b_2; + if (re2.test(w)) { w = w + "e"; } + else if (re3.test(w)) { re = re_1b_2; w = w.replace(re,""); } + else if (re4.test(w)) { w = w + "e"; } + } + } + + // Step 1c - replace suffix y or Y by i if preceded by a non-vowel which is not the first letter of the word (so cry -> cri, by -> by, say -> say) + re = re_1c; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + w = stem + "i"; + } + + // Step 2 + re = re_2; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = re_mgr0; + if (re.test(stem)) { + w = stem + step2list[suffix]; + } + } + + // Step 3 + re = re_3; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = re_mgr0; + if (re.test(stem)) { + w = stem + step3list[suffix]; + } + } + + // Step 4 + re = re_4; + re2 = re2_4; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = re_mgr1; + if (re.test(stem)) { + w = stem; + } + } else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1] + fp[2]; + re2 = re_mgr1; + if (re2.test(stem)) { + w = stem; + } + } + + // Step 5 + re = re_5; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = re_mgr1; + re2 = re_meq1; + re3 = re3_5; + if (re.test(stem) || (re2.test(stem) && !(re3.test(stem)))) { + w = stem; + } + } + + re = re_5_1; + re2 = re_mgr1; + if (re.test(w) && re2.test(w)) { + re = re_1b_2; + w = w.replace(re,""); + } + + // and turn initial Y back to y + + if (firstch == "y") { + w = firstch.toLowerCase() + w.substr(1); + } + + return w; + }; + + return function (token) { + return token.update(porterStemmer); + } +})(); + +lunr.Pipeline.registerFunction(lunr.stemmer, 'stemmer') +/*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + */ + +/** + * lunr.generateStopWordFilter builds a stopWordFilter function from the provided + * list of stop words. + * + * The built in lunr.stopWordFilter is built using this generator and can be used + * to generate custom stopWordFilters for applications or non English languages. + * + * @function + * @param {Array} token The token to pass through the filter + * @returns {lunr.PipelineFunction} + * @see lunr.Pipeline + * @see lunr.stopWordFilter + */ +lunr.generateStopWordFilter = function (stopWords) { + var words = stopWords.reduce(function (memo, stopWord) { + memo[stopWord] = stopWord + return memo + }, {}) + + return function (token) { + if (token && words[token.toString()] !== token.toString()) return token + } +} + +/** + * lunr.stopWordFilter is an English language stop word list filter, any words + * contained in the list will not be passed through the filter. + * + * This is intended to be used in the Pipeline. If the token does not pass the + * filter then undefined will be returned. + * + * @function + * @implements {lunr.PipelineFunction} + * @params {lunr.Token} token - A token to check for being a stop word. + * @returns {lunr.Token} + * @see {@link lunr.Pipeline} + */ +lunr.stopWordFilter = lunr.generateStopWordFilter([ + 'a', + 'able', + 'about', + 'across', + 'after', + 'all', + 'almost', + 'also', + 'am', + 'among', + 'an', + 'and', + 'any', + 'are', + 'as', + 'at', + 'be', + 'because', + 'been', + 'but', + 'by', + 'can', + 'cannot', + 'could', + 'dear', + 'did', + 'do', + 'does', + 'either', + 'else', + 'ever', + 'every', + 'for', + 'from', + 'get', + 'got', + 'had', + 'has', + 'have', + 'he', + 'her', + 'hers', + 'him', + 'his', + 'how', + 'however', + 'i', + 'if', + 'in', + 'into', + 'is', + 'it', + 'its', + 'just', + 'least', + 'let', + 'like', + 'likely', + 'may', + 'me', + 'might', + 'most', + 'must', + 'my', + 'neither', + 'no', + 'nor', + 'not', + 'of', + 'off', + 'often', + 'on', + 'only', + 'or', + 'other', + 'our', + 'own', + 'rather', + 'said', + 'say', + 'says', + 'she', + 'should', + 'since', + 'so', + 'some', + 'than', + 'that', + 'the', + 'their', + 'them', + 'then', + 'there', + 'these', + 'they', + 'this', + 'tis', + 'to', + 'too', + 'twas', + 'us', + 'wants', + 'was', + 'we', + 'were', + 'what', + 'when', + 'where', + 'which', + 'while', + 'who', + 'whom', + 'why', + 'will', + 'with', + 'would', + 'yet', + 'you', + 'your' +]) + +lunr.Pipeline.registerFunction(lunr.stopWordFilter, 'stopWordFilter') +/*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + */ + +/** + * lunr.trimmer is a pipeline function for trimming non word + * characters from the beginning and end of tokens before they + * enter the index. + * + * This implementation may not work correctly for non latin + * characters and should either be removed or adapted for use + * with languages with non-latin characters. + * + * @static + * @implements {lunr.PipelineFunction} + * @param {lunr.Token} token The token to pass through the filter + * @returns {lunr.Token} + * @see lunr.Pipeline + */ +lunr.trimmer = function (token) { + return token.update(function (s) { + return s.replace(/^\W+/, '').replace(/\W+$/, '') + }) +} + +lunr.Pipeline.registerFunction(lunr.trimmer, 'trimmer') +/*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + */ + +/** + * A token set is used to store the unique list of all tokens + * within an index. Token sets are also used to represent an + * incoming query to the index, this query token set and index + * token set are then intersected to find which tokens to look + * up in the inverted index. + * + * A token set can hold multiple tokens, as in the case of the + * index token set, or it can hold a single token as in the + * case of a simple query token set. + * + * Additionally token sets are used to perform wildcard matching. + * Leading, contained and trailing wildcards are supported, and + * from this edit distance matching can also be provided. + * + * Token sets are implemented as a minimal finite state automata, + * where both common prefixes and suffixes are shared between tokens. + * This helps to reduce the space used for storing the token set. + * + * @constructor + */ +lunr.TokenSet = function () { + this.final = false + this.edges = {} + this.id = lunr.TokenSet._nextId + lunr.TokenSet._nextId += 1 +} + +/** + * Keeps track of the next, auto increment, identifier to assign + * to a new tokenSet. + * + * TokenSets require a unique identifier to be correctly minimised. + * + * @private + */ +lunr.TokenSet._nextId = 1 + +/** + * Creates a TokenSet instance from the given sorted array of words. + * + * @param {String[]} arr - A sorted array of strings to create the set from. + * @returns {lunr.TokenSet} + * @throws Will throw an error if the input array is not sorted. + */ +lunr.TokenSet.fromArray = function (arr) { + var builder = new lunr.TokenSet.Builder + + for (var i = 0, len = arr.length; i < len; i++) { + builder.insert(arr[i]) + } + + builder.finish() + return builder.root +} + +/** + * Creates a token set from a query clause. + * + * @private + * @param {Object} clause - A single clause from lunr.Query. + * @param {string} clause.term - The query clause term. + * @param {number} [clause.editDistance] - The optional edit distance for the term. + * @returns {lunr.TokenSet} + */ +lunr.TokenSet.fromClause = function (clause) { + if ('editDistance' in clause) { + return lunr.TokenSet.fromFuzzyString(clause.term, clause.editDistance) + } else { + return lunr.TokenSet.fromString(clause.term) + } +} + +/** + * Creates a token set representing a single string with a specified + * edit distance. + * + * Insertions, deletions, substitutions and transpositions are each + * treated as an edit distance of 1. + * + * Increasing the allowed edit distance will have a dramatic impact + * on the performance of both creating and intersecting these TokenSets. + * It is advised to keep the edit distance less than 3. + * + * @param {string} str - The string to create the token set from. + * @param {number} editDistance - The allowed edit distance to match. + * @returns {lunr.Vector} + */ +lunr.TokenSet.fromFuzzyString = function (str, editDistance) { + var root = new lunr.TokenSet + + var stack = [{ + node: root, + editsRemaining: editDistance, + str: str + }] + + while (stack.length) { + var frame = stack.pop() + + // no edit + if (frame.str.length > 0) { + var char = frame.str.charAt(0), + noEditNode + + if (char in frame.node.edges) { + noEditNode = frame.node.edges[char] + } else { + noEditNode = new lunr.TokenSet + frame.node.edges[char] = noEditNode + } + + if (frame.str.length == 1) { + noEditNode.final = true + } + + stack.push({ + node: noEditNode, + editsRemaining: frame.editsRemaining, + str: frame.str.slice(1) + }) + } + + if (frame.editsRemaining == 0) { + continue + } + + // insertion + if ("*" in frame.node.edges) { + var insertionNode = frame.node.edges["*"] + } else { + var insertionNode = new lunr.TokenSet + frame.node.edges["*"] = insertionNode + } + + if (frame.str.length == 0) { + insertionNode.final = true + } + + stack.push({ + node: insertionNode, + editsRemaining: frame.editsRemaining - 1, + str: frame.str + }) + + // deletion + // can only do a deletion if we have enough edits remaining + // and if there are characters left to delete in the string + if (frame.str.length > 1) { + stack.push({ + node: frame.node, + editsRemaining: frame.editsRemaining - 1, + str: frame.str.slice(1) + }) + } + + // deletion + // just removing the last character from the str + if (frame.str.length == 1) { + frame.node.final = true + } + + // substitution + // can only do a substitution if we have enough edits remaining + // and if there are characters left to substitute + if (frame.str.length >= 1) { + if ("*" in frame.node.edges) { + var substitutionNode = frame.node.edges["*"] + } else { + var substitutionNode = new lunr.TokenSet + frame.node.edges["*"] = substitutionNode + } + + if (frame.str.length == 1) { + substitutionNode.final = true + } + + stack.push({ + node: substitutionNode, + editsRemaining: frame.editsRemaining - 1, + str: frame.str.slice(1) + }) + } + + // transposition + // can only do a transposition if there are edits remaining + // and there are enough characters to transpose + if (frame.str.length > 1) { + var charA = frame.str.charAt(0), + charB = frame.str.charAt(1), + transposeNode + + if (charB in frame.node.edges) { + transposeNode = frame.node.edges[charB] + } else { + transposeNode = new lunr.TokenSet + frame.node.edges[charB] = transposeNode + } + + if (frame.str.length == 1) { + transposeNode.final = true + } + + stack.push({ + node: transposeNode, + editsRemaining: frame.editsRemaining - 1, + str: charA + frame.str.slice(2) + }) + } + } + + return root +} + +/** + * Creates a TokenSet from a string. + * + * The string may contain one or more wildcard characters (*) + * that will allow wildcard matching when intersecting with + * another TokenSet. + * + * @param {string} str - The string to create a TokenSet from. + * @returns {lunr.TokenSet} + */ +lunr.TokenSet.fromString = function (str) { + var node = new lunr.TokenSet, + root = node + + /* + * Iterates through all characters within the passed string + * appending a node for each character. + * + * When a wildcard character is found then a self + * referencing edge is introduced to continually match + * any number of any characters. + */ + for (var i = 0, len = str.length; i < len; i++) { + var char = str[i], + final = (i == len - 1) + + if (char == "*") { + node.edges[char] = node + node.final = final + + } else { + var next = new lunr.TokenSet + next.final = final + + node.edges[char] = next + node = next + } + } + + return root +} + +/** + * Converts this TokenSet into an array of strings + * contained within the TokenSet. + * + * This is not intended to be used on a TokenSet that + * contains wildcards, in these cases the results are + * undefined and are likely to cause an infinite loop. + * + * @returns {string[]} + */ +lunr.TokenSet.prototype.toArray = function () { + var words = [] + + var stack = [{ + prefix: "", + node: this + }] + + while (stack.length) { + var frame = stack.pop(), + edges = Object.keys(frame.node.edges), + len = edges.length + + if (frame.node.final) { + /* In Safari, at this point the prefix is sometimes corrupted, see: + * https://github.com/olivernn/lunr.js/issues/279 Calling any + * String.prototype method forces Safari to "cast" this string to what + * it's supposed to be, fixing the bug. */ + frame.prefix.charAt(0) + words.push(frame.prefix) + } + + for (var i = 0; i < len; i++) { + var edge = edges[i] + + stack.push({ + prefix: frame.prefix.concat(edge), + node: frame.node.edges[edge] + }) + } + } + + return words +} + +/** + * Generates a string representation of a TokenSet. + * + * This is intended to allow TokenSets to be used as keys + * in objects, largely to aid the construction and minimisation + * of a TokenSet. As such it is not designed to be a human + * friendly representation of the TokenSet. + * + * @returns {string} + */ +lunr.TokenSet.prototype.toString = function () { + // NOTE: Using Object.keys here as this.edges is very likely + // to enter 'hash-mode' with many keys being added + // + // avoiding a for-in loop here as it leads to the function + // being de-optimised (at least in V8). From some simple + // benchmarks the performance is comparable, but allowing + // V8 to optimize may mean easy performance wins in the future. + + if (this._str) { + return this._str + } + + var str = this.final ? '1' : '0', + labels = Object.keys(this.edges).sort(), + len = labels.length + + for (var i = 0; i < len; i++) { + var label = labels[i], + node = this.edges[label] + + str = str + label + node.id + } + + return str +} + +/** + * Returns a new TokenSet that is the intersection of + * this TokenSet and the passed TokenSet. + * + * This intersection will take into account any wildcards + * contained within the TokenSet. + * + * @param {lunr.TokenSet} b - An other TokenSet to intersect with. + * @returns {lunr.TokenSet} + */ +lunr.TokenSet.prototype.intersect = function (b) { + var output = new lunr.TokenSet, + frame = undefined + + var stack = [{ + qNode: b, + output: output, + node: this + }] + + while (stack.length) { + frame = stack.pop() + + // NOTE: As with the #toString method, we are using + // Object.keys and a for loop instead of a for-in loop + // as both of these objects enter 'hash' mode, causing + // the function to be de-optimised in V8 + var qEdges = Object.keys(frame.qNode.edges), + qLen = qEdges.length, + nEdges = Object.keys(frame.node.edges), + nLen = nEdges.length + + for (var q = 0; q < qLen; q++) { + var qEdge = qEdges[q] + + for (var n = 0; n < nLen; n++) { + var nEdge = nEdges[n] + + if (nEdge == qEdge || qEdge == '*') { + var node = frame.node.edges[nEdge], + qNode = frame.qNode.edges[qEdge], + final = node.final && qNode.final, + next = undefined + + if (nEdge in frame.output.edges) { + // an edge already exists for this character + // no need to create a new node, just set the finality + // bit unless this node is already final + next = frame.output.edges[nEdge] + next.final = next.final || final + + } else { + // no edge exists yet, must create one + // set the finality bit and insert it + // into the output + next = new lunr.TokenSet + next.final = final + frame.output.edges[nEdge] = next + } + + stack.push({ + qNode: qNode, + output: next, + node: node + }) + } + } + } + } + + return output +} +lunr.TokenSet.Builder = function () { + this.previousWord = "" + this.root = new lunr.TokenSet + this.uncheckedNodes = [] + this.minimizedNodes = {} +} + +lunr.TokenSet.Builder.prototype.insert = function (word) { + var node, + commonPrefix = 0 + + if (word < this.previousWord) { + throw new Error ("Out of order word insertion") + } + + for (var i = 0; i < word.length && i < this.previousWord.length; i++) { + if (word[i] != this.previousWord[i]) break + commonPrefix++ + } + + this.minimize(commonPrefix) + + if (this.uncheckedNodes.length == 0) { + node = this.root + } else { + node = this.uncheckedNodes[this.uncheckedNodes.length - 1].child + } + + for (var i = commonPrefix; i < word.length; i++) { + var nextNode = new lunr.TokenSet, + char = word[i] + + node.edges[char] = nextNode + + this.uncheckedNodes.push({ + parent: node, + char: char, + child: nextNode + }) + + node = nextNode + } + + node.final = true + this.previousWord = word +} + +lunr.TokenSet.Builder.prototype.finish = function () { + this.minimize(0) +} + +lunr.TokenSet.Builder.prototype.minimize = function (downTo) { + for (var i = this.uncheckedNodes.length - 1; i >= downTo; i--) { + var node = this.uncheckedNodes[i], + childKey = node.child.toString() + + if (childKey in this.minimizedNodes) { + node.parent.edges[node.char] = this.minimizedNodes[childKey] + } else { + // Cache the key for this node since + // we know it can't change anymore + node.child._str = childKey + + this.minimizedNodes[childKey] = node.child + } + + this.uncheckedNodes.pop() + } +} +/*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + */ + +/** + * An index contains the built index of all documents and provides a query interface + * to the index. + * + * Usually instances of lunr.Index will not be created using this constructor, instead + * lunr.Builder should be used to construct new indexes, or lunr.Index.load should be + * used to load previously built and serialized indexes. + * + * @constructor + * @param {Object} attrs - The attributes of the built search index. + * @param {Object} attrs.invertedIndex - An index of term/field to document reference. + * @param {Object} attrs.fieldVectors - Field vectors + * @param {lunr.TokenSet} attrs.tokenSet - An set of all corpus tokens. + * @param {string[]} attrs.fields - The names of indexed document fields. + * @param {lunr.Pipeline} attrs.pipeline - The pipeline to use for search terms. + */ +lunr.Index = function (attrs) { + this.invertedIndex = attrs.invertedIndex + this.fieldVectors = attrs.fieldVectors + this.tokenSet = attrs.tokenSet + this.fields = attrs.fields + this.pipeline = attrs.pipeline +} + +/** + * A result contains details of a document matching a search query. + * @typedef {Object} lunr.Index~Result + * @property {string} ref - The reference of the document this result represents. + * @property {number} score - A number between 0 and 1 representing how similar this document is to the query. + * @property {lunr.MatchData} matchData - Contains metadata about this match including which term(s) caused the match. + */ + +/** + * Although lunr provides the ability to create queries using lunr.Query, it also provides a simple + * query language which itself is parsed into an instance of lunr.Query. + * + * For programmatically building queries it is advised to directly use lunr.Query, the query language + * is best used for human entered text rather than program generated text. + * + * At its simplest queries can just be a single term, e.g. `hello`, multiple terms are also supported + * and will be combined with OR, e.g `hello world` will match documents that contain either 'hello' + * or 'world', though those that contain both will rank higher in the results. + * + * Wildcards can be included in terms to match one or more unspecified characters, these wildcards can + * be inserted anywhere within the term, and more than one wildcard can exist in a single term. Adding + * wildcards will increase the number of documents that will be found but can also have a negative + * impact on query performance, especially with wildcards at the beginning of a term. + * + * Terms can be restricted to specific fields, e.g. `title:hello`, only documents with the term + * hello in the title field will match this query. Using a field not present in the index will lead + * to an error being thrown. + * + * Modifiers can also be added to terms, lunr supports edit distance and boost modifiers on terms. A term + * boost will make documents matching that term score higher, e.g. `foo^5`. Edit distance is also supported + * to provide fuzzy matching, e.g. 'hello~2' will match documents with hello with an edit distance of 2. + * Avoid large values for edit distance to improve query performance. + * + * Each term also supports a presence modifier. By default a term's presence in document is optional, however + * this can be changed to either required or prohibited. For a term's presence to be required in a document the + * term should be prefixed with a '+', e.g. `+foo bar` is a search for documents that must contain 'foo' and + * optionally contain 'bar'. Conversely a leading '-' sets the terms presence to prohibited, i.e. it must not + * appear in a document, e.g. `-foo bar` is a search for documents that do not contain 'foo' but may contain 'bar'. + * + * To escape special characters the backslash character '\' can be used, this allows searches to include + * characters that would normally be considered modifiers, e.g. `foo\~2` will search for a term "foo~2" instead + * of attempting to apply a boost of 2 to the search term "foo". + * + * @typedef {string} lunr.Index~QueryString + * @example Simple single term query + * hello + * @example Multiple term query + * hello world + * @example term scoped to a field + * title:hello + * @example term with a boost of 10 + * hello^10 + * @example term with an edit distance of 2 + * hello~2 + * @example terms with presence modifiers + * -foo +bar baz + */ + +/** + * Performs a search against the index using lunr query syntax. + * + * Results will be returned sorted by their score, the most relevant results + * will be returned first. For details on how the score is calculated, please see + * the {@link https://lunrjs.com/guides/searching.html#scoring|guide}. + * + * For more programmatic querying use lunr.Index#query. + * + * @param {lunr.Index~QueryString} queryString - A string containing a lunr query. + * @throws {lunr.QueryParseError} If the passed query string cannot be parsed. + * @returns {lunr.Index~Result[]} + */ +lunr.Index.prototype.search = function (queryString) { + return this.query(function (query) { + var parser = new lunr.QueryParser(queryString, query) + parser.parse() + }) +} + +/** + * A query builder callback provides a query object to be used to express + * the query to perform on the index. + * + * @callback lunr.Index~queryBuilder + * @param {lunr.Query} query - The query object to build up. + * @this lunr.Query + */ + +/** + * Performs a query against the index using the yielded lunr.Query object. + * + * If performing programmatic queries against the index, this method is preferred + * over lunr.Index#search so as to avoid the additional query parsing overhead. + * + * A query object is yielded to the supplied function which should be used to + * express the query to be run against the index. + * + * Note that although this function takes a callback parameter it is _not_ an + * asynchronous operation, the callback is just yielded a query object to be + * customized. + * + * @param {lunr.Index~queryBuilder} fn - A function that is used to build the query. + * @returns {lunr.Index~Result[]} + */ +lunr.Index.prototype.query = function (fn) { + // for each query clause + // * process terms + // * expand terms from token set + // * find matching documents and metadata + // * get document vectors + // * score documents + + var query = new lunr.Query(this.fields), + matchingFields = Object.create(null), + queryVectors = Object.create(null), + termFieldCache = Object.create(null), + requiredMatches = Object.create(null), + prohibitedMatches = Object.create(null) + + /* + * To support field level boosts a query vector is created per + * field. An empty vector is eagerly created to support negated + * queries. + */ + for (var i = 0; i < this.fields.length; i++) { + queryVectors[this.fields[i]] = new lunr.Vector + } + + fn.call(query, query) + + for (var i = 0; i < query.clauses.length; i++) { + /* + * Unless the pipeline has been disabled for this term, which is + * the case for terms with wildcards, we need to pass the clause + * term through the search pipeline. A pipeline returns an array + * of processed terms. Pipeline functions may expand the passed + * term, which means we may end up performing multiple index lookups + * for a single query term. + */ + var clause = query.clauses[i], + terms = null, + clauseMatches = lunr.Set.empty + + if (clause.usePipeline) { + terms = this.pipeline.runString(clause.term, { + fields: clause.fields + }) + } else { + terms = [clause.term] + } + + for (var m = 0; m < terms.length; m++) { + var term = terms[m] + + /* + * Each term returned from the pipeline needs to use the same query + * clause object, e.g. the same boost and or edit distance. The + * simplest way to do this is to re-use the clause object but mutate + * its term property. + */ + clause.term = term + + /* + * From the term in the clause we create a token set which will then + * be used to intersect the indexes token set to get a list of terms + * to lookup in the inverted index + */ + var termTokenSet = lunr.TokenSet.fromClause(clause), + expandedTerms = this.tokenSet.intersect(termTokenSet).toArray() + + /* + * If a term marked as required does not exist in the tokenSet it is + * impossible for the search to return any matches. We set all the field + * scoped required matches set to empty and stop examining any further + * clauses. + */ + if (expandedTerms.length === 0 && clause.presence === lunr.Query.presence.REQUIRED) { + for (var k = 0; k < clause.fields.length; k++) { + var field = clause.fields[k] + requiredMatches[field] = lunr.Set.empty + } + + break + } + + for (var j = 0; j < expandedTerms.length; j++) { + /* + * For each term get the posting and termIndex, this is required for + * building the query vector. + */ + var expandedTerm = expandedTerms[j], + posting = this.invertedIndex[expandedTerm], + termIndex = posting._index + + for (var k = 0; k < clause.fields.length; k++) { + /* + * For each field that this query term is scoped by (by default + * all fields are in scope) we need to get all the document refs + * that have this term in that field. + * + * The posting is the entry in the invertedIndex for the matching + * term from above. + */ + var field = clause.fields[k], + fieldPosting = posting[field], + matchingDocumentRefs = Object.keys(fieldPosting), + termField = expandedTerm + "/" + field, + matchingDocumentsSet = new lunr.Set(matchingDocumentRefs) + + /* + * if the presence of this term is required ensure that the matching + * documents are added to the set of required matches for this clause. + * + */ + if (clause.presence == lunr.Query.presence.REQUIRED) { + clauseMatches = clauseMatches.union(matchingDocumentsSet) + + if (requiredMatches[field] === undefined) { + requiredMatches[field] = lunr.Set.complete + } + } + + /* + * if the presence of this term is prohibited ensure that the matching + * documents are added to the set of prohibited matches for this field, + * creating that set if it does not yet exist. + */ + if (clause.presence == lunr.Query.presence.PROHIBITED) { + if (prohibitedMatches[field] === undefined) { + prohibitedMatches[field] = lunr.Set.empty + } + + prohibitedMatches[field] = prohibitedMatches[field].union(matchingDocumentsSet) + + /* + * Prohibited matches should not be part of the query vector used for + * similarity scoring and no metadata should be extracted so we continue + * to the next field + */ + continue + } + + /* + * The query field vector is populated using the termIndex found for + * the term and a unit value with the appropriate boost applied. + * Using upsert because there could already be an entry in the vector + * for the term we are working with. In that case we just add the scores + * together. + */ + queryVectors[field].upsert(termIndex, clause.boost, function (a, b) { return a + b }) + + /** + * If we've already seen this term, field combo then we've already collected + * the matching documents and metadata, no need to go through all that again + */ + if (termFieldCache[termField]) { + continue + } + + for (var l = 0; l < matchingDocumentRefs.length; l++) { + /* + * All metadata for this term/field/document triple + * are then extracted and collected into an instance + * of lunr.MatchData ready to be returned in the query + * results + */ + var matchingDocumentRef = matchingDocumentRefs[l], + matchingFieldRef = new lunr.FieldRef (matchingDocumentRef, field), + metadata = fieldPosting[matchingDocumentRef], + fieldMatch + + if ((fieldMatch = matchingFields[matchingFieldRef]) === undefined) { + matchingFields[matchingFieldRef] = new lunr.MatchData (expandedTerm, field, metadata) + } else { + fieldMatch.add(expandedTerm, field, metadata) + } + + } + + termFieldCache[termField] = true + } + } + } + + /** + * If the presence was required we need to update the requiredMatches field sets. + * We do this after all fields for the term have collected their matches because + * the clause terms presence is required in _any_ of the fields not _all_ of the + * fields. + */ + if (clause.presence === lunr.Query.presence.REQUIRED) { + for (var k = 0; k < clause.fields.length; k++) { + var field = clause.fields[k] + requiredMatches[field] = requiredMatches[field].intersect(clauseMatches) + } + } + } + + /** + * Need to combine the field scoped required and prohibited + * matching documents into a global set of required and prohibited + * matches + */ + var allRequiredMatches = lunr.Set.complete, + allProhibitedMatches = lunr.Set.empty + + for (var i = 0; i < this.fields.length; i++) { + var field = this.fields[i] + + if (requiredMatches[field]) { + allRequiredMatches = allRequiredMatches.intersect(requiredMatches[field]) + } + + if (prohibitedMatches[field]) { + allProhibitedMatches = allProhibitedMatches.union(prohibitedMatches[field]) + } + } + + var matchingFieldRefs = Object.keys(matchingFields), + results = [], + matches = Object.create(null) + + /* + * If the query is negated (contains only prohibited terms) + * we need to get _all_ fieldRefs currently existing in the + * index. This is only done when we know that the query is + * entirely prohibited terms to avoid any cost of getting all + * fieldRefs unnecessarily. + * + * Additionally, blank MatchData must be created to correctly + * populate the results. + */ + if (query.isNegated()) { + matchingFieldRefs = Object.keys(this.fieldVectors) + + for (var i = 0; i < matchingFieldRefs.length; i++) { + var matchingFieldRef = matchingFieldRefs[i] + var fieldRef = lunr.FieldRef.fromString(matchingFieldRef) + matchingFields[matchingFieldRef] = new lunr.MatchData + } + } + + for (var i = 0; i < matchingFieldRefs.length; i++) { + /* + * Currently we have document fields that match the query, but we + * need to return documents. The matchData and scores are combined + * from multiple fields belonging to the same document. + * + * Scores are calculated by field, using the query vectors created + * above, and combined into a final document score using addition. + */ + var fieldRef = lunr.FieldRef.fromString(matchingFieldRefs[i]), + docRef = fieldRef.docRef + + if (!allRequiredMatches.contains(docRef)) { + continue + } + + if (allProhibitedMatches.contains(docRef)) { + continue + } + + var fieldVector = this.fieldVectors[fieldRef], + score = queryVectors[fieldRef.fieldName].similarity(fieldVector), + docMatch + + if ((docMatch = matches[docRef]) !== undefined) { + docMatch.score += score + docMatch.matchData.combine(matchingFields[fieldRef]) + } else { + var match = { + ref: docRef, + score: score, + matchData: matchingFields[fieldRef] + } + matches[docRef] = match + results.push(match) + } + } + + /* + * Sort the results objects by score, highest first. + */ + return results.sort(function (a, b) { + return b.score - a.score + }) +} + +/** + * Prepares the index for JSON serialization. + * + * The schema for this JSON blob will be described in a + * separate JSON schema file. + * + * @returns {Object} + */ +lunr.Index.prototype.toJSON = function () { + var invertedIndex = Object.keys(this.invertedIndex) + .sort() + .map(function (term) { + return [term, this.invertedIndex[term]] + }, this) + + var fieldVectors = Object.keys(this.fieldVectors) + .map(function (ref) { + return [ref, this.fieldVectors[ref].toJSON()] + }, this) + + return { + version: lunr.version, + fields: this.fields, + fieldVectors: fieldVectors, + invertedIndex: invertedIndex, + pipeline: this.pipeline.toJSON() + } +} + +/** + * Loads a previously serialized lunr.Index + * + * @param {Object} serializedIndex - A previously serialized lunr.Index + * @returns {lunr.Index} + */ +lunr.Index.load = function (serializedIndex) { + var attrs = {}, + fieldVectors = {}, + serializedVectors = serializedIndex.fieldVectors, + invertedIndex = Object.create(null), + serializedInvertedIndex = serializedIndex.invertedIndex, + tokenSetBuilder = new lunr.TokenSet.Builder, + pipeline = lunr.Pipeline.load(serializedIndex.pipeline) + + if (serializedIndex.version != lunr.version) { + lunr.utils.warn("Version mismatch when loading serialised index. Current version of lunr '" + lunr.version + "' does not match serialized index '" + serializedIndex.version + "'") + } + + for (var i = 0; i < serializedVectors.length; i++) { + var tuple = serializedVectors[i], + ref = tuple[0], + elements = tuple[1] + + fieldVectors[ref] = new lunr.Vector(elements) + } + + for (var i = 0; i < serializedInvertedIndex.length; i++) { + var tuple = serializedInvertedIndex[i], + term = tuple[0], + posting = tuple[1] + + tokenSetBuilder.insert(term) + invertedIndex[term] = posting + } + + tokenSetBuilder.finish() + + attrs.fields = serializedIndex.fields + + attrs.fieldVectors = fieldVectors + attrs.invertedIndex = invertedIndex + attrs.tokenSet = tokenSetBuilder.root + attrs.pipeline = pipeline + + return new lunr.Index(attrs) +} +/*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + */ + +/** + * lunr.Builder performs indexing on a set of documents and + * returns instances of lunr.Index ready for querying. + * + * All configuration of the index is done via the builder, the + * fields to index, the document reference, the text processing + * pipeline and document scoring parameters are all set on the + * builder before indexing. + * + * @constructor + * @property {string} _ref - Internal reference to the document reference field. + * @property {string[]} _fields - Internal reference to the document fields to index. + * @property {object} invertedIndex - The inverted index maps terms to document fields. + * @property {object} documentTermFrequencies - Keeps track of document term frequencies. + * @property {object} documentLengths - Keeps track of the length of documents added to the index. + * @property {lunr.tokenizer} tokenizer - Function for splitting strings into tokens for indexing. + * @property {lunr.Pipeline} pipeline - The pipeline performs text processing on tokens before indexing. + * @property {lunr.Pipeline} searchPipeline - A pipeline for processing search terms before querying the index. + * @property {number} documentCount - Keeps track of the total number of documents indexed. + * @property {number} _b - A parameter to control field length normalization, setting this to 0 disabled normalization, 1 fully normalizes field lengths, the default value is 0.75. + * @property {number} _k1 - A parameter to control how quickly an increase in term frequency results in term frequency saturation, the default value is 1.2. + * @property {number} termIndex - A counter incremented for each unique term, used to identify a terms position in the vector space. + * @property {array} metadataWhitelist - A list of metadata keys that have been whitelisted for entry in the index. + */ +lunr.Builder = function () { + this._ref = "id" + this._fields = Object.create(null) + this._documents = Object.create(null) + this.invertedIndex = Object.create(null) + this.fieldTermFrequencies = {} + this.fieldLengths = {} + this.tokenizer = lunr.tokenizer + this.pipeline = new lunr.Pipeline + this.searchPipeline = new lunr.Pipeline + this.documentCount = 0 + this._b = 0.75 + this._k1 = 1.2 + this.termIndex = 0 + this.metadataWhitelist = [] +} + +/** + * Sets the document field used as the document reference. Every document must have this field. + * The type of this field in the document should be a string, if it is not a string it will be + * coerced into a string by calling toString. + * + * The default ref is 'id'. + * + * The ref should _not_ be changed during indexing, it should be set before any documents are + * added to the index. Changing it during indexing can lead to inconsistent results. + * + * @param {string} ref - The name of the reference field in the document. + */ +lunr.Builder.prototype.ref = function (ref) { + this._ref = ref +} + +/** + * A function that is used to extract a field from a document. + * + * Lunr expects a field to be at the top level of a document, if however the field + * is deeply nested within a document an extractor function can be used to extract + * the right field for indexing. + * + * @callback fieldExtractor + * @param {object} doc - The document being added to the index. + * @returns {?(string|object|object[])} obj - The object that will be indexed for this field. + * @example Extracting a nested field + * function (doc) { return doc.nested.field } + */ + +/** + * Adds a field to the list of document fields that will be indexed. Every document being + * indexed should have this field. Null values for this field in indexed documents will + * not cause errors but will limit the chance of that document being retrieved by searches. + * + * All fields should be added before adding documents to the index. Adding fields after + * a document has been indexed will have no effect on already indexed documents. + * + * Fields can be boosted at build time. This allows terms within that field to have more + * importance when ranking search results. Use a field boost to specify that matches within + * one field are more important than other fields. + * + * @param {string} fieldName - The name of a field to index in all documents. + * @param {object} attributes - Optional attributes associated with this field. + * @param {number} [attributes.boost=1] - Boost applied to all terms within this field. + * @param {fieldExtractor} [attributes.extractor] - Function to extract a field from a document. + * @throws {RangeError} fieldName cannot contain unsupported characters '/' + */ +lunr.Builder.prototype.field = function (fieldName, attributes) { + if (/\//.test(fieldName)) { + throw new RangeError ("Field '" + fieldName + "' contains illegal character '/'") + } + + this._fields[fieldName] = attributes || {} +} + +/** + * A parameter to tune the amount of field length normalisation that is applied when + * calculating relevance scores. A value of 0 will completely disable any normalisation + * and a value of 1 will fully normalise field lengths. The default is 0.75. Values of b + * will be clamped to the range 0 - 1. + * + * @param {number} number - The value to set for this tuning parameter. + */ +lunr.Builder.prototype.b = function (number) { + if (number < 0) { + this._b = 0 + } else if (number > 1) { + this._b = 1 + } else { + this._b = number + } +} + +/** + * A parameter that controls the speed at which a rise in term frequency results in term + * frequency saturation. The default value is 1.2. Setting this to a higher value will give + * slower saturation levels, a lower value will result in quicker saturation. + * + * @param {number} number - The value to set for this tuning parameter. + */ +lunr.Builder.prototype.k1 = function (number) { + this._k1 = number +} + +/** + * Adds a document to the index. + * + * Before adding fields to the index the index should have been fully setup, with the document + * ref and all fields to index already having been specified. + * + * The document must have a field name as specified by the ref (by default this is 'id') and + * it should have all fields defined for indexing, though null or undefined values will not + * cause errors. + * + * Entire documents can be boosted at build time. Applying a boost to a document indicates that + * this document should rank higher in search results than other documents. + * + * @param {object} doc - The document to add to the index. + * @param {object} attributes - Optional attributes associated with this document. + * @param {number} [attributes.boost=1] - Boost applied to all terms within this document. + */ +lunr.Builder.prototype.add = function (doc, attributes) { + var docRef = doc[this._ref], + fields = Object.keys(this._fields) + + this._documents[docRef] = attributes || {} + this.documentCount += 1 + + for (var i = 0; i < fields.length; i++) { + var fieldName = fields[i], + extractor = this._fields[fieldName].extractor, + field = extractor ? extractor(doc) : doc[fieldName], + tokens = this.tokenizer(field, { + fields: [fieldName] + }), + terms = this.pipeline.run(tokens), + fieldRef = new lunr.FieldRef (docRef, fieldName), + fieldTerms = Object.create(null) + + this.fieldTermFrequencies[fieldRef] = fieldTerms + this.fieldLengths[fieldRef] = 0 + + // store the length of this field for this document + this.fieldLengths[fieldRef] += terms.length + + // calculate term frequencies for this field + for (var j = 0; j < terms.length; j++) { + var term = terms[j] + + if (fieldTerms[term] == undefined) { + fieldTerms[term] = 0 + } + + fieldTerms[term] += 1 + + // add to inverted index + // create an initial posting if one doesn't exist + if (this.invertedIndex[term] == undefined) { + var posting = Object.create(null) + posting["_index"] = this.termIndex + this.termIndex += 1 + + for (var k = 0; k < fields.length; k++) { + posting[fields[k]] = Object.create(null) + } + + this.invertedIndex[term] = posting + } + + // add an entry for this term/fieldName/docRef to the invertedIndex + if (this.invertedIndex[term][fieldName][docRef] == undefined) { + this.invertedIndex[term][fieldName][docRef] = Object.create(null) + } + + // store all whitelisted metadata about this token in the + // inverted index + for (var l = 0; l < this.metadataWhitelist.length; l++) { + var metadataKey = this.metadataWhitelist[l], + metadata = term.metadata[metadataKey] + + if (this.invertedIndex[term][fieldName][docRef][metadataKey] == undefined) { + this.invertedIndex[term][fieldName][docRef][metadataKey] = [] + } + + this.invertedIndex[term][fieldName][docRef][metadataKey].push(metadata) + } + } + + } +} + +/** + * Calculates the average document length for this index + * + * @private + */ +lunr.Builder.prototype.calculateAverageFieldLengths = function () { + + var fieldRefs = Object.keys(this.fieldLengths), + numberOfFields = fieldRefs.length, + accumulator = {}, + documentsWithField = {} + + for (var i = 0; i < numberOfFields; i++) { + var fieldRef = lunr.FieldRef.fromString(fieldRefs[i]), + field = fieldRef.fieldName + + documentsWithField[field] || (documentsWithField[field] = 0) + documentsWithField[field] += 1 + + accumulator[field] || (accumulator[field] = 0) + accumulator[field] += this.fieldLengths[fieldRef] + } + + var fields = Object.keys(this._fields) + + for (var i = 0; i < fields.length; i++) { + var fieldName = fields[i] + accumulator[fieldName] = accumulator[fieldName] / documentsWithField[fieldName] + } + + this.averageFieldLength = accumulator +} + +/** + * Builds a vector space model of every document using lunr.Vector + * + * @private + */ +lunr.Builder.prototype.createFieldVectors = function () { + var fieldVectors = {}, + fieldRefs = Object.keys(this.fieldTermFrequencies), + fieldRefsLength = fieldRefs.length, + termIdfCache = Object.create(null) + + for (var i = 0; i < fieldRefsLength; i++) { + var fieldRef = lunr.FieldRef.fromString(fieldRefs[i]), + fieldName = fieldRef.fieldName, + fieldLength = this.fieldLengths[fieldRef], + fieldVector = new lunr.Vector, + termFrequencies = this.fieldTermFrequencies[fieldRef], + terms = Object.keys(termFrequencies), + termsLength = terms.length + + + var fieldBoost = this._fields[fieldName].boost || 1, + docBoost = this._documents[fieldRef.docRef].boost || 1 + + for (var j = 0; j < termsLength; j++) { + var term = terms[j], + tf = termFrequencies[term], + termIndex = this.invertedIndex[term]._index, + idf, score, scoreWithPrecision + + if (termIdfCache[term] === undefined) { + idf = lunr.idf(this.invertedIndex[term], this.documentCount) + termIdfCache[term] = idf + } else { + idf = termIdfCache[term] + } + + score = idf * ((this._k1 + 1) * tf) / (this._k1 * (1 - this._b + this._b * (fieldLength / this.averageFieldLength[fieldName])) + tf) + score *= fieldBoost + score *= docBoost + scoreWithPrecision = Math.round(score * 1000) / 1000 + // Converts 1.23456789 to 1.234. + // Reducing the precision so that the vectors take up less + // space when serialised. Doing it now so that they behave + // the same before and after serialisation. Also, this is + // the fastest approach to reducing a number's precision in + // JavaScript. + + fieldVector.insert(termIndex, scoreWithPrecision) + } + + fieldVectors[fieldRef] = fieldVector + } + + this.fieldVectors = fieldVectors +} + +/** + * Creates a token set of all tokens in the index using lunr.TokenSet + * + * @private + */ +lunr.Builder.prototype.createTokenSet = function () { + this.tokenSet = lunr.TokenSet.fromArray( + Object.keys(this.invertedIndex).sort() + ) +} + +/** + * Builds the index, creating an instance of lunr.Index. + * + * This completes the indexing process and should only be called + * once all documents have been added to the index. + * + * @returns {lunr.Index} + */ +lunr.Builder.prototype.build = function () { + this.calculateAverageFieldLengths() + this.createFieldVectors() + this.createTokenSet() + + return new lunr.Index({ + invertedIndex: this.invertedIndex, + fieldVectors: this.fieldVectors, + tokenSet: this.tokenSet, + fields: Object.keys(this._fields), + pipeline: this.searchPipeline + }) +} + +/** + * Applies a plugin to the index builder. + * + * A plugin is a function that is called with the index builder as its context. + * Plugins can be used to customise or extend the behaviour of the index + * in some way. A plugin is just a function, that encapsulated the custom + * behaviour that should be applied when building the index. + * + * The plugin function will be called with the index builder as its argument, additional + * arguments can also be passed when calling use. The function will be called + * with the index builder as its context. + * + * @param {Function} plugin The plugin to apply. + */ +lunr.Builder.prototype.use = function (fn) { + var args = Array.prototype.slice.call(arguments, 1) + args.unshift(this) + fn.apply(this, args) +} +/** + * Contains and collects metadata about a matching document. + * A single instance of lunr.MatchData is returned as part of every + * lunr.Index~Result. + * + * @constructor + * @param {string} term - The term this match data is associated with + * @param {string} field - The field in which the term was found + * @param {object} metadata - The metadata recorded about this term in this field + * @property {object} metadata - A cloned collection of metadata associated with this document. + * @see {@link lunr.Index~Result} + */ +lunr.MatchData = function (term, field, metadata) { + var clonedMetadata = Object.create(null), + metadataKeys = Object.keys(metadata || {}) + + // Cloning the metadata to prevent the original + // being mutated during match data combination. + // Metadata is kept in an array within the inverted + // index so cloning the data can be done with + // Array#slice + for (var i = 0; i < metadataKeys.length; i++) { + var key = metadataKeys[i] + clonedMetadata[key] = metadata[key].slice() + } + + this.metadata = Object.create(null) + + if (term !== undefined) { + this.metadata[term] = Object.create(null) + this.metadata[term][field] = clonedMetadata + } +} + +/** + * An instance of lunr.MatchData will be created for every term that matches a + * document. However only one instance is required in a lunr.Index~Result. This + * method combines metadata from another instance of lunr.MatchData with this + * objects metadata. + * + * @param {lunr.MatchData} otherMatchData - Another instance of match data to merge with this one. + * @see {@link lunr.Index~Result} + */ +lunr.MatchData.prototype.combine = function (otherMatchData) { + var terms = Object.keys(otherMatchData.metadata) + + for (var i = 0; i < terms.length; i++) { + var term = terms[i], + fields = Object.keys(otherMatchData.metadata[term]) + + if (this.metadata[term] == undefined) { + this.metadata[term] = Object.create(null) + } + + for (var j = 0; j < fields.length; j++) { + var field = fields[j], + keys = Object.keys(otherMatchData.metadata[term][field]) + + if (this.metadata[term][field] == undefined) { + this.metadata[term][field] = Object.create(null) + } + + for (var k = 0; k < keys.length; k++) { + var key = keys[k] + + if (this.metadata[term][field][key] == undefined) { + this.metadata[term][field][key] = otherMatchData.metadata[term][field][key] + } else { + this.metadata[term][field][key] = this.metadata[term][field][key].concat(otherMatchData.metadata[term][field][key]) + } + + } + } + } +} + +/** + * Add metadata for a term/field pair to this instance of match data. + * + * @param {string} term - The term this match data is associated with + * @param {string} field - The field in which the term was found + * @param {object} metadata - The metadata recorded about this term in this field + */ +lunr.MatchData.prototype.add = function (term, field, metadata) { + if (!(term in this.metadata)) { + this.metadata[term] = Object.create(null) + this.metadata[term][field] = metadata + return + } + + if (!(field in this.metadata[term])) { + this.metadata[term][field] = metadata + return + } + + var metadataKeys = Object.keys(metadata) + + for (var i = 0; i < metadataKeys.length; i++) { + var key = metadataKeys[i] + + if (key in this.metadata[term][field]) { + this.metadata[term][field][key] = this.metadata[term][field][key].concat(metadata[key]) + } else { + this.metadata[term][field][key] = metadata[key] + } + } +} +/** + * A lunr.Query provides a programmatic way of defining queries to be performed + * against a {@link lunr.Index}. + * + * Prefer constructing a lunr.Query using the {@link lunr.Index#query} method + * so the query object is pre-initialized with the right index fields. + * + * @constructor + * @property {lunr.Query~Clause[]} clauses - An array of query clauses. + * @property {string[]} allFields - An array of all available fields in a lunr.Index. + */ +lunr.Query = function (allFields) { + this.clauses = [] + this.allFields = allFields +} + +/** + * Constants for indicating what kind of automatic wildcard insertion will be used when constructing a query clause. + * + * This allows wildcards to be added to the beginning and end of a term without having to manually do any string + * concatenation. + * + * The wildcard constants can be bitwise combined to select both leading and trailing wildcards. + * + * @constant + * @default + * @property {number} wildcard.NONE - The term will have no wildcards inserted, this is the default behaviour + * @property {number} wildcard.LEADING - Prepend the term with a wildcard, unless a leading wildcard already exists + * @property {number} wildcard.TRAILING - Append a wildcard to the term, unless a trailing wildcard already exists + * @see lunr.Query~Clause + * @see lunr.Query#clause + * @see lunr.Query#term + * @example query term with trailing wildcard + * query.term('foo', { wildcard: lunr.Query.wildcard.TRAILING }) + * @example query term with leading and trailing wildcard + * query.term('foo', { + * wildcard: lunr.Query.wildcard.LEADING | lunr.Query.wildcard.TRAILING + * }) + */ + +lunr.Query.wildcard = new String ("*") +lunr.Query.wildcard.NONE = 0 +lunr.Query.wildcard.LEADING = 1 +lunr.Query.wildcard.TRAILING = 2 + +/** + * Constants for indicating what kind of presence a term must have in matching documents. + * + * @constant + * @enum {number} + * @see lunr.Query~Clause + * @see lunr.Query#clause + * @see lunr.Query#term + * @example query term with required presence + * query.term('foo', { presence: lunr.Query.presence.REQUIRED }) + */ +lunr.Query.presence = { + /** + * Term's presence in a document is optional, this is the default value. + */ + OPTIONAL: 1, + + /** + * Term's presence in a document is required, documents that do not contain + * this term will not be returned. + */ + REQUIRED: 2, + + /** + * Term's presence in a document is prohibited, documents that do contain + * this term will not be returned. + */ + PROHIBITED: 3 +} + +/** + * A single clause in a {@link lunr.Query} contains a term and details on how to + * match that term against a {@link lunr.Index}. + * + * @typedef {Object} lunr.Query~Clause + * @property {string[]} fields - The fields in an index this clause should be matched against. + * @property {number} [boost=1] - Any boost that should be applied when matching this clause. + * @property {number} [editDistance] - Whether the term should have fuzzy matching applied, and how fuzzy the match should be. + * @property {boolean} [usePipeline] - Whether the term should be passed through the search pipeline. + * @property {number} [wildcard=lunr.Query.wildcard.NONE] - Whether the term should have wildcards appended or prepended. + * @property {number} [presence=lunr.Query.presence.OPTIONAL] - The terms presence in any matching documents. + */ + +/** + * Adds a {@link lunr.Query~Clause} to this query. + * + * Unless the clause contains the fields to be matched all fields will be matched. In addition + * a default boost of 1 is applied to the clause. + * + * @param {lunr.Query~Clause} clause - The clause to add to this query. + * @see lunr.Query~Clause + * @returns {lunr.Query} + */ +lunr.Query.prototype.clause = function (clause) { + if (!('fields' in clause)) { + clause.fields = this.allFields + } + + if (!('boost' in clause)) { + clause.boost = 1 + } + + if (!('usePipeline' in clause)) { + clause.usePipeline = true + } + + if (!('wildcard' in clause)) { + clause.wildcard = lunr.Query.wildcard.NONE + } + + if ((clause.wildcard & lunr.Query.wildcard.LEADING) && (clause.term.charAt(0) != lunr.Query.wildcard)) { + clause.term = "*" + clause.term + } + + if ((clause.wildcard & lunr.Query.wildcard.TRAILING) && (clause.term.slice(-1) != lunr.Query.wildcard)) { + clause.term = "" + clause.term + "*" + } + + if (!('presence' in clause)) { + clause.presence = lunr.Query.presence.OPTIONAL + } + + this.clauses.push(clause) + + return this +} + +/** + * A negated query is one in which every clause has a presence of + * prohibited. These queries require some special processing to return + * the expected results. + * + * @returns boolean + */ +lunr.Query.prototype.isNegated = function () { + for (var i = 0; i < this.clauses.length; i++) { + if (this.clauses[i].presence != lunr.Query.presence.PROHIBITED) { + return false + } + } + + return true +} + +/** + * Adds a term to the current query, under the covers this will create a {@link lunr.Query~Clause} + * to the list of clauses that make up this query. + * + * The term is used as is, i.e. no tokenization will be performed by this method. Instead conversion + * to a token or token-like string should be done before calling this method. + * + * The term will be converted to a string by calling `toString`. Multiple terms can be passed as an + * array, each term in the array will share the same options. + * + * @param {object|object[]} term - The term(s) to add to the query. + * @param {object} [options] - Any additional properties to add to the query clause. + * @returns {lunr.Query} + * @see lunr.Query#clause + * @see lunr.Query~Clause + * @example adding a single term to a query + * query.term("foo") + * @example adding a single term to a query and specifying search fields, term boost and automatic trailing wildcard + * query.term("foo", { + * fields: ["title"], + * boost: 10, + * wildcard: lunr.Query.wildcard.TRAILING + * }) + * @example using lunr.tokenizer to convert a string to tokens before using them as terms + * query.term(lunr.tokenizer("foo bar")) + */ +lunr.Query.prototype.term = function (term, options) { + if (Array.isArray(term)) { + term.forEach(function (t) { this.term(t, lunr.utils.clone(options)) }, this) + return this + } + + var clause = options || {} + clause.term = term.toString() + + this.clause(clause) + + return this +} +lunr.QueryParseError = function (message, start, end) { + this.name = "QueryParseError" + this.message = message + this.start = start + this.end = end +} + +lunr.QueryParseError.prototype = new Error +lunr.QueryLexer = function (str) { + this.lexemes = [] + this.str = str + this.length = str.length + this.pos = 0 + this.start = 0 + this.escapeCharPositions = [] +} + +lunr.QueryLexer.prototype.run = function () { + var state = lunr.QueryLexer.lexText + + while (state) { + state = state(this) + } +} + +lunr.QueryLexer.prototype.sliceString = function () { + var subSlices = [], + sliceStart = this.start, + sliceEnd = this.pos + + for (var i = 0; i < this.escapeCharPositions.length; i++) { + sliceEnd = this.escapeCharPositions[i] + subSlices.push(this.str.slice(sliceStart, sliceEnd)) + sliceStart = sliceEnd + 1 + } + + subSlices.push(this.str.slice(sliceStart, this.pos)) + this.escapeCharPositions.length = 0 + + return subSlices.join('') +} + +lunr.QueryLexer.prototype.emit = function (type) { + this.lexemes.push({ + type: type, + str: this.sliceString(), + start: this.start, + end: this.pos + }) + + this.start = this.pos +} + +lunr.QueryLexer.prototype.escapeCharacter = function () { + this.escapeCharPositions.push(this.pos - 1) + this.pos += 1 +} + +lunr.QueryLexer.prototype.next = function () { + if (this.pos >= this.length) { + return lunr.QueryLexer.EOS + } + + var char = this.str.charAt(this.pos) + this.pos += 1 + return char +} + +lunr.QueryLexer.prototype.width = function () { + return this.pos - this.start +} + +lunr.QueryLexer.prototype.ignore = function () { + if (this.start == this.pos) { + this.pos += 1 + } + + this.start = this.pos +} + +lunr.QueryLexer.prototype.backup = function () { + this.pos -= 1 +} + +lunr.QueryLexer.prototype.acceptDigitRun = function () { + var char, charCode + + do { + char = this.next() + charCode = char.charCodeAt(0) + } while (charCode > 47 && charCode < 58) + + if (char != lunr.QueryLexer.EOS) { + this.backup() + } +} + +lunr.QueryLexer.prototype.more = function () { + return this.pos < this.length +} + +lunr.QueryLexer.EOS = 'EOS' +lunr.QueryLexer.FIELD = 'FIELD' +lunr.QueryLexer.TERM = 'TERM' +lunr.QueryLexer.EDIT_DISTANCE = 'EDIT_DISTANCE' +lunr.QueryLexer.BOOST = 'BOOST' +lunr.QueryLexer.PRESENCE = 'PRESENCE' + +lunr.QueryLexer.lexField = function (lexer) { + lexer.backup() + lexer.emit(lunr.QueryLexer.FIELD) + lexer.ignore() + return lunr.QueryLexer.lexText +} + +lunr.QueryLexer.lexTerm = function (lexer) { + if (lexer.width() > 1) { + lexer.backup() + lexer.emit(lunr.QueryLexer.TERM) + } + + lexer.ignore() + + if (lexer.more()) { + return lunr.QueryLexer.lexText + } +} + +lunr.QueryLexer.lexEditDistance = function (lexer) { + lexer.ignore() + lexer.acceptDigitRun() + lexer.emit(lunr.QueryLexer.EDIT_DISTANCE) + return lunr.QueryLexer.lexText +} + +lunr.QueryLexer.lexBoost = function (lexer) { + lexer.ignore() + lexer.acceptDigitRun() + lexer.emit(lunr.QueryLexer.BOOST) + return lunr.QueryLexer.lexText +} + +lunr.QueryLexer.lexEOS = function (lexer) { + if (lexer.width() > 0) { + lexer.emit(lunr.QueryLexer.TERM) + } +} + +// This matches the separator used when tokenising fields +// within a document. These should match otherwise it is +// not possible to search for some tokens within a document. +// +// It is possible for the user to change the separator on the +// tokenizer so it _might_ clash with any other of the special +// characters already used within the search string, e.g. :. +// +// This means that it is possible to change the separator in +// such a way that makes some words unsearchable using a search +// string. +lunr.QueryLexer.termSeparator = lunr.tokenizer.separator + +lunr.QueryLexer.lexText = function (lexer) { + while (true) { + var char = lexer.next() + + if (char == lunr.QueryLexer.EOS) { + return lunr.QueryLexer.lexEOS + } + + // Escape character is '\' + if (char.charCodeAt(0) == 92) { + lexer.escapeCharacter() + continue + } + + if (char == ":") { + return lunr.QueryLexer.lexField + } + + if (char == "~") { + lexer.backup() + if (lexer.width() > 0) { + lexer.emit(lunr.QueryLexer.TERM) + } + return lunr.QueryLexer.lexEditDistance + } + + if (char == "^") { + lexer.backup() + if (lexer.width() > 0) { + lexer.emit(lunr.QueryLexer.TERM) + } + return lunr.QueryLexer.lexBoost + } + + // "+" indicates term presence is required + // checking for length to ensure that only + // leading "+" are considered + if (char == "+" && lexer.width() === 1) { + lexer.emit(lunr.QueryLexer.PRESENCE) + return lunr.QueryLexer.lexText + } + + // "-" indicates term presence is prohibited + // checking for length to ensure that only + // leading "-" are considered + if (char == "-" && lexer.width() === 1) { + lexer.emit(lunr.QueryLexer.PRESENCE) + return lunr.QueryLexer.lexText + } + + if (char.match(lunr.QueryLexer.termSeparator)) { + return lunr.QueryLexer.lexTerm + } + } +} + +lunr.QueryParser = function (str, query) { + this.lexer = new lunr.QueryLexer (str) + this.query = query + this.currentClause = {} + this.lexemeIdx = 0 +} + +lunr.QueryParser.prototype.parse = function () { + this.lexer.run() + this.lexemes = this.lexer.lexemes + + var state = lunr.QueryParser.parseClause + + while (state) { + state = state(this) + } + + return this.query +} + +lunr.QueryParser.prototype.peekLexeme = function () { + return this.lexemes[this.lexemeIdx] +} + +lunr.QueryParser.prototype.consumeLexeme = function () { + var lexeme = this.peekLexeme() + this.lexemeIdx += 1 + return lexeme +} + +lunr.QueryParser.prototype.nextClause = function () { + var completedClause = this.currentClause + this.query.clause(completedClause) + this.currentClause = {} +} + +lunr.QueryParser.parseClause = function (parser) { + var lexeme = parser.peekLexeme() + + if (lexeme == undefined) { + return + } + + switch (lexeme.type) { + case lunr.QueryLexer.PRESENCE: + return lunr.QueryParser.parsePresence + case lunr.QueryLexer.FIELD: + return lunr.QueryParser.parseField + case lunr.QueryLexer.TERM: + return lunr.QueryParser.parseTerm + default: + var errorMessage = "expected either a field or a term, found " + lexeme.type + + if (lexeme.str.length >= 1) { + errorMessage += " with value '" + lexeme.str + "'" + } + + throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end) + } +} + +lunr.QueryParser.parsePresence = function (parser) { + var lexeme = parser.consumeLexeme() + + if (lexeme == undefined) { + return + } + + switch (lexeme.str) { + case "-": + parser.currentClause.presence = lunr.Query.presence.PROHIBITED + break + case "+": + parser.currentClause.presence = lunr.Query.presence.REQUIRED + break + default: + var errorMessage = "unrecognised presence operator'" + lexeme.str + "'" + throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end) + } + + var nextLexeme = parser.peekLexeme() + + if (nextLexeme == undefined) { + var errorMessage = "expecting term or field, found nothing" + throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end) + } + + switch (nextLexeme.type) { + case lunr.QueryLexer.FIELD: + return lunr.QueryParser.parseField + case lunr.QueryLexer.TERM: + return lunr.QueryParser.parseTerm + default: + var errorMessage = "expecting term or field, found '" + nextLexeme.type + "'" + throw new lunr.QueryParseError (errorMessage, nextLexeme.start, nextLexeme.end) + } +} + +lunr.QueryParser.parseField = function (parser) { + var lexeme = parser.consumeLexeme() + + if (lexeme == undefined) { + return + } + + if (parser.query.allFields.indexOf(lexeme.str) == -1) { + var possibleFields = parser.query.allFields.map(function (f) { return "'" + f + "'" }).join(', '), + errorMessage = "unrecognised field '" + lexeme.str + "', possible fields: " + possibleFields + + throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end) + } + + parser.currentClause.fields = [lexeme.str] + + var nextLexeme = parser.peekLexeme() + + if (nextLexeme == undefined) { + var errorMessage = "expecting term, found nothing" + throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end) + } + + switch (nextLexeme.type) { + case lunr.QueryLexer.TERM: + return lunr.QueryParser.parseTerm + default: + var errorMessage = "expecting term, found '" + nextLexeme.type + "'" + throw new lunr.QueryParseError (errorMessage, nextLexeme.start, nextLexeme.end) + } +} + +lunr.QueryParser.parseTerm = function (parser) { + var lexeme = parser.consumeLexeme() + + if (lexeme == undefined) { + return + } + + parser.currentClause.term = lexeme.str.toLowerCase() + + if (lexeme.str.indexOf("*") != -1) { + parser.currentClause.usePipeline = false + } + + var nextLexeme = parser.peekLexeme() + + if (nextLexeme == undefined) { + parser.nextClause() + return + } + + switch (nextLexeme.type) { + case lunr.QueryLexer.TERM: + parser.nextClause() + return lunr.QueryParser.parseTerm + case lunr.QueryLexer.FIELD: + parser.nextClause() + return lunr.QueryParser.parseField + case lunr.QueryLexer.EDIT_DISTANCE: + return lunr.QueryParser.parseEditDistance + case lunr.QueryLexer.BOOST: + return lunr.QueryParser.parseBoost + case lunr.QueryLexer.PRESENCE: + parser.nextClause() + return lunr.QueryParser.parsePresence + default: + var errorMessage = "Unexpected lexeme type '" + nextLexeme.type + "'" + throw new lunr.QueryParseError (errorMessage, nextLexeme.start, nextLexeme.end) + } +} + +lunr.QueryParser.parseEditDistance = function (parser) { + var lexeme = parser.consumeLexeme() + + if (lexeme == undefined) { + return + } + + var editDistance = parseInt(lexeme.str, 10) + + if (isNaN(editDistance)) { + var errorMessage = "edit distance must be numeric" + throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end) + } + + parser.currentClause.editDistance = editDistance + + var nextLexeme = parser.peekLexeme() + + if (nextLexeme == undefined) { + parser.nextClause() + return + } + + switch (nextLexeme.type) { + case lunr.QueryLexer.TERM: + parser.nextClause() + return lunr.QueryParser.parseTerm + case lunr.QueryLexer.FIELD: + parser.nextClause() + return lunr.QueryParser.parseField + case lunr.QueryLexer.EDIT_DISTANCE: + return lunr.QueryParser.parseEditDistance + case lunr.QueryLexer.BOOST: + return lunr.QueryParser.parseBoost + case lunr.QueryLexer.PRESENCE: + parser.nextClause() + return lunr.QueryParser.parsePresence + default: + var errorMessage = "Unexpected lexeme type '" + nextLexeme.type + "'" + throw new lunr.QueryParseError (errorMessage, nextLexeme.start, nextLexeme.end) + } +} + +lunr.QueryParser.parseBoost = function (parser) { + var lexeme = parser.consumeLexeme() + + if (lexeme == undefined) { + return + } + + var boost = parseInt(lexeme.str, 10) + + if (isNaN(boost)) { + var errorMessage = "boost must be numeric" + throw new lunr.QueryParseError (errorMessage, lexeme.start, lexeme.end) + } + + parser.currentClause.boost = boost + + var nextLexeme = parser.peekLexeme() + + if (nextLexeme == undefined) { + parser.nextClause() + return + } + + switch (nextLexeme.type) { + case lunr.QueryLexer.TERM: + parser.nextClause() + return lunr.QueryParser.parseTerm + case lunr.QueryLexer.FIELD: + parser.nextClause() + return lunr.QueryParser.parseField + case lunr.QueryLexer.EDIT_DISTANCE: + return lunr.QueryParser.parseEditDistance + case lunr.QueryLexer.BOOST: + return lunr.QueryParser.parseBoost + case lunr.QueryLexer.PRESENCE: + parser.nextClause() + return lunr.QueryParser.parsePresence + default: + var errorMessage = "Unexpected lexeme type '" + nextLexeme.type + "'" + throw new lunr.QueryParseError (errorMessage, nextLexeme.start, nextLexeme.end) + } +} + + /** + * export the module via AMD, CommonJS or as a browser global + * Export code from https://github.com/umdjs/umd/blob/master/returnExports.js + */ + ;(function (root, factory) { + if (typeof define === 'function' && define.amd) { + // AMD. Register as an anonymous module. + define(factory) + } else if (typeof exports === 'object') { + /** + * Node. Does not work with strict CommonJS, but + * only CommonJS-like enviroments that support module.exports, + * like Node. + */ + module.exports = factory() + } else { + // Browser globals (root is window) + root.lunr = factory() + } + }(this, function () { + /** + * Just return a value to define the module export. + * This example returns an object, but the module + * can return a function as the exported value. + */ + return lunr + })) +})(); diff --git a/grpc/static/mystyles.css b/grpc/static/mystyles.css new file mode 100644 index 000000000..3b6ef0d42 --- /dev/null +++ b/grpc/static/mystyles.css @@ -0,0 +1,8083 @@ +/*! bulma.io v0.9.4 | MIT License | github.com/jgthms/bulma */ +/* Bulma Utilities */ +@import "https://unpkg.com/open-props/easings.min.css"; +.button, .input, .textarea, .select select, .file-cta, +.file-name, .pagination-previous, +.pagination-next, +.pagination-link, +.pagination-ellipsis { + -moz-appearance: none; + -webkit-appearance: none; + align-items: center; + border: 1px solid transparent; + border-radius: 4px; + box-shadow: none; + display: inline-flex; + font-size: 1rem; + height: 2.5em; + justify-content: flex-start; + line-height: 1.5; + padding-bottom: calc(0.5em - 1px); + padding-left: calc(0.75em - 1px); + padding-right: calc(0.75em - 1px); + padding-top: calc(0.5em - 1px); + position: relative; + vertical-align: top; } + .button:focus, .input:focus, .textarea:focus, .select select:focus, .file-cta:focus, + .file-name:focus, .pagination-previous:focus, + .pagination-next:focus, + .pagination-link:focus, + .pagination-ellipsis:focus, .is-focused.button, .is-focused.input, .is-focused.textarea, .select select.is-focused, .is-focused.file-cta, + .is-focused.file-name, .is-focused.pagination-previous, + .is-focused.pagination-next, + .is-focused.pagination-link, + .is-focused.pagination-ellipsis, .button:active, .input:active, .textarea:active, .select select:active, .file-cta:active, + .file-name:active, .pagination-previous:active, + .pagination-next:active, + .pagination-link:active, + .pagination-ellipsis:active, .is-active.button, .is-active.input, .is-active.textarea, .select select.is-active, .is-active.file-cta, + .is-active.file-name, .is-active.pagination-previous, + .is-active.pagination-next, + .is-active.pagination-link, + .is-active.pagination-ellipsis { + outline: none; } + .button[disabled], .input[disabled], .textarea[disabled], .select select[disabled], .file-cta[disabled], + .file-name[disabled], .pagination-previous[disabled], + .pagination-next[disabled], + .pagination-link[disabled], + .pagination-ellipsis[disabled], + fieldset[disabled] .button, + fieldset[disabled] .input, + fieldset[disabled] .textarea, + fieldset[disabled] .select select, + .select fieldset[disabled] select, + fieldset[disabled] .file-cta, + fieldset[disabled] .file-name, + fieldset[disabled] .pagination-previous, + fieldset[disabled] .pagination-next, + fieldset[disabled] .pagination-link, + fieldset[disabled] .pagination-ellipsis { + cursor: not-allowed; } + +.button, .file, .breadcrumb, .pagination-previous, +.pagination-next, +.pagination-link, +.pagination-ellipsis, .tabs, .is-unselectable { + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } + +.select:not(.is-multiple):not(.is-loading)::after, .navbar-link:not(.is-arrowless)::after { + border: 3px solid transparent; + border-radius: 2px; + border-right: 0; + border-top: 0; + content: " "; + display: block; + height: 0.625em; + margin-top: -0.4375em; + pointer-events: none; + position: absolute; + top: 50%; + transform: rotate(-45deg); + transform-origin: center; + width: 0.625em; } + +.box:not(:last-child), .content:not(:last-child), .notification:not(:last-child), .progress:not(:last-child), .table:not(:last-child), .table-container:not(:last-child), .title:not(:last-child), +.subtitle:not(:last-child), .block:not(:last-child), .breadcrumb:not(:last-child), .level:not(:last-child), .message:not(:last-child), .pagination:not(:last-child), .tabs:not(:last-child) { + margin-bottom: 1.5rem; } + +.delete, .modal-close { + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + -moz-appearance: none; + -webkit-appearance: none; + background-color: rgba(10, 10, 10, 0.2); + border: none; + border-radius: 9999px; + cursor: pointer; + pointer-events: auto; + display: inline-block; + flex-grow: 0; + flex-shrink: 0; + font-size: 0; + height: 20px; + max-height: 20px; + max-width: 20px; + min-height: 20px; + min-width: 20px; + outline: none; + position: relative; + vertical-align: top; + width: 20px; } + .delete::before, .modal-close::before, .delete::after, .modal-close::after { + background-color: white; + content: ""; + display: block; + left: 50%; + position: absolute; + top: 50%; + transform: translateX(-50%) translateY(-50%) rotate(45deg); + transform-origin: center center; } + .delete::before, .modal-close::before { + height: 2px; + width: 50%; } + .delete::after, .modal-close::after { + height: 50%; + width: 2px; } + .delete:hover, .modal-close:hover, .delete:focus, .modal-close:focus { + background-color: rgba(10, 10, 10, 0.3); } + .delete:active, .modal-close:active { + background-color: rgba(10, 10, 10, 0.4); } + .is-small.delete, .is-small.modal-close { + height: 16px; + max-height: 16px; + max-width: 16px; + min-height: 16px; + min-width: 16px; + width: 16px; } + .is-medium.delete, .is-medium.modal-close { + height: 24px; + max-height: 24px; + max-width: 24px; + min-height: 24px; + min-width: 24px; + width: 24px; } + .is-large.delete, .is-large.modal-close { + height: 32px; + max-height: 32px; + max-width: 32px; + min-height: 32px; + min-width: 32px; + width: 32px; } + +.button.is-loading::after, .loader, .select.is-loading::after, .control.is-loading::after { + animation: spinAround 500ms infinite linear; + border: 2px solid #dbdbdb; + border-radius: 9999px; + border-right-color: transparent; + border-top-color: transparent; + content: ""; + display: block; + height: 1em; + position: relative; + width: 1em; } + +.image.is-square img, +.image.is-square .has-ratio, .image.is-1by1 img, +.image.is-1by1 .has-ratio, .image.is-5by4 img, +.image.is-5by4 .has-ratio, .image.is-4by3 img, +.image.is-4by3 .has-ratio, .image.is-3by2 img, +.image.is-3by2 .has-ratio, .image.is-5by3 img, +.image.is-5by3 .has-ratio, .image.is-16by9 img, +.image.is-16by9 .has-ratio, .image.is-2by1 img, +.image.is-2by1 .has-ratio, .image.is-3by1 img, +.image.is-3by1 .has-ratio, .image.is-4by5 img, +.image.is-4by5 .has-ratio, .image.is-3by4 img, +.image.is-3by4 .has-ratio, .image.is-2by3 img, +.image.is-2by3 .has-ratio, .image.is-3by5 img, +.image.is-3by5 .has-ratio, .image.is-9by16 img, +.image.is-9by16 .has-ratio, .image.is-1by2 img, +.image.is-1by2 .has-ratio, .image.is-1by3 img, +.image.is-1by3 .has-ratio, .modal, .modal-background, .is-overlay, .hero-video { + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; } + +.navbar-burger { + -moz-appearance: none; + -webkit-appearance: none; + appearance: none; + background: none; + border: none; + color: currentColor; + font-family: inherit; + font-size: 1em; + margin: 0; + padding: 0; } + +/* Bulma Base */ +/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */ +html, +body, +p, +ol, +ul, +li, +dl, +dt, +dd, +blockquote, +figure, +fieldset, +legend, +textarea, +pre, +iframe, +hr, +h1, +h2, +h3, +h4, +h5, +h6 { + margin: 0; + padding: 0; } + +h1, +h2, +h3, +h4, +h5, +h6 { + font-size: 100%; + font-weight: normal; } + +ul { + list-style: none; } + +button, +input, +select, +textarea { + margin: 0; } + +html { + box-sizing: border-box; } + +*, *::before, *::after { + box-sizing: inherit; } + +img, +video { + height: auto; + max-width: 100%; } + +iframe { + border: 0; } + +table { + border-collapse: collapse; + border-spacing: 0; } + +td, +th { + padding: 0; } + td:not([align]), + th:not([align]) { + text-align: inherit; } + +html { + background-color: white; + font-size: 16px; + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + min-width: 300px; + overflow-x: hidden; + overflow-y: scroll; + text-rendering: optimizeLegibility; + text-size-adjust: 100%; } + +article, +aside, +figure, +footer, +header, +hgroup, +section { + display: block; } + +body, +button, +input, +optgroup, +select, +textarea { + font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif; } + +code, +pre { + -moz-osx-font-smoothing: auto; + -webkit-font-smoothing: auto; + font-family: monospace; } + +body { + color: #4a4a4a; + font-size: 1em; + font-weight: 400; + line-height: 1.5; } + +a { + color: #016FB9; + cursor: pointer; + text-decoration: none; } + a strong { + color: currentColor; } + a:hover { + color: #363636; } + +code { + background-color: whitesmoke; + color: #da1039; + font-size: 0.875em; + font-weight: normal; + padding: 0.25em 0.5em 0.25em; } + +hr { + background-color: whitesmoke; + border: none; + display: block; + height: 2px; + margin: 1.5rem 0; } + +img { + height: auto; + max-width: 100%; } + +input[type="checkbox"], +input[type="radio"] { + vertical-align: baseline; } + +small { + font-size: 0.875em; } + +span { + font-style: inherit; + font-weight: inherit; } + +strong { + color: #363636; + font-weight: 700; } + +fieldset { + border: none; } + +pre { + -webkit-overflow-scrolling: touch; + background-color: whitesmoke; + color: #4a4a4a; + font-size: 0.875em; + overflow-x: auto; + padding: 1.25rem 1.5rem; + white-space: pre; + word-wrap: normal; } + pre code { + background-color: transparent; + color: currentColor; + font-size: 1em; + padding: 0; } + +table td, +table th { + vertical-align: top; } + table td:not([align]), + table th:not([align]) { + text-align: inherit; } + +table th { + color: #363636; } + +@keyframes spinAround { + from { + transform: rotate(0deg); } + to { + transform: rotate(359deg); } } + +/* Bulma Elements */ +.box { + background-color: white; + border-radius: 3px; + box-shadow: 0 white; + color: #4a4a4a; + display: block; + padding: 1.25rem; } + +a.box:hover, a.box:focus { + box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0 0 1px #016FB9; } + +a.box:active { + box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.2), 0 0 0 1px #016FB9; } + +.button { + background-color: white; + border-color: #dbdbdb; + border-width: 1px; + color: #363636; + cursor: pointer; + justify-content: center; + padding-bottom: calc(0.5em - 1px); + padding-left: 1em; + padding-right: 1em; + padding-top: calc(0.5em - 1px); + text-align: center; + white-space: nowrap; } + .button strong { + color: inherit; } + .button .icon, .button .icon.is-small, .button .icon.is-medium, .button .icon.is-large { + height: 1.5em; + width: 1.5em; } + .button .icon:first-child:not(:last-child) { + margin-left: calc(-0.5em - 1px); + margin-right: 0.25em; } + .button .icon:last-child:not(:first-child) { + margin-left: 0.25em; + margin-right: calc(-0.5em - 1px); } + .button .icon:first-child:last-child { + margin-left: calc(-0.5em - 1px); + margin-right: calc(-0.5em - 1px); } + .button:hover, .button.is-hovered { + border-color: #b5b5b5; + color: #363636; } + .button:focus, .button.is-focused { + border-color: #016FB9; + color: #363636; } + .button:focus:not(:active), .button.is-focused:not(:active) { + box-shadow: 0 0 0 0.125em rgba(1, 111, 185, 0.25); } + .button:active, .button.is-active { + border-color: #4a4a4a; + color: #363636; } + .button.is-text { + background-color: transparent; + border-color: transparent; + color: #4a4a4a; + text-decoration: underline; } + .button.is-text:hover, .button.is-text.is-hovered, .button.is-text:focus, .button.is-text.is-focused { + background-color: whitesmoke; + color: #363636; } + .button.is-text:active, .button.is-text.is-active { + background-color: #e8e8e8; + color: #363636; } + .button.is-text[disabled], + fieldset[disabled] .button.is-text { + background-color: transparent; + border-color: transparent; + box-shadow: none; } + .button.is-ghost { + background: none; + border-color: transparent; + color: #016FB9; + text-decoration: none; } + .button.is-ghost:hover, .button.is-ghost.is-hovered { + color: #016FB9; + text-decoration: underline; } + .button.is-white { + background-color: white; + border-color: transparent; + color: #0a0a0a; } + .button.is-white:hover, .button.is-white.is-hovered { + background-color: #f9f9f9; + border-color: transparent; + color: #0a0a0a; } + .button.is-white:focus, .button.is-white.is-focused { + border-color: transparent; + color: #0a0a0a; } + .button.is-white:focus:not(:active), .button.is-white.is-focused:not(:active) { + box-shadow: 0 0 0 0.125em rgba(255, 255, 255, 0.25); } + .button.is-white:active, .button.is-white.is-active { + background-color: #f2f2f2; + border-color: transparent; + color: #0a0a0a; } + .button.is-white[disabled], + fieldset[disabled] .button.is-white { + background-color: white; + border-color: white; + box-shadow: none; } + .button.is-white.is-inverted { + background-color: #0a0a0a; + color: white; } + .button.is-white.is-inverted:hover, .button.is-white.is-inverted.is-hovered { + background-color: black; } + .button.is-white.is-inverted[disabled], + fieldset[disabled] .button.is-white.is-inverted { + background-color: #0a0a0a; + border-color: transparent; + box-shadow: none; + color: white; } + .button.is-white.is-loading::after { + border-color: transparent transparent #0a0a0a #0a0a0a !important; } + .button.is-white.is-outlined { + background-color: transparent; + border-color: white; + color: white; } + .button.is-white.is-outlined:hover, .button.is-white.is-outlined.is-hovered, .button.is-white.is-outlined:focus, .button.is-white.is-outlined.is-focused { + background-color: white; + border-color: white; + color: #0a0a0a; } + .button.is-white.is-outlined.is-loading::after { + border-color: transparent transparent white white !important; } + .button.is-white.is-outlined.is-loading:hover::after, .button.is-white.is-outlined.is-loading.is-hovered::after, .button.is-white.is-outlined.is-loading:focus::after, .button.is-white.is-outlined.is-loading.is-focused::after { + border-color: transparent transparent #0a0a0a #0a0a0a !important; } + .button.is-white.is-outlined[disabled], + fieldset[disabled] .button.is-white.is-outlined { + background-color: transparent; + border-color: white; + box-shadow: none; + color: white; } + .button.is-white.is-inverted.is-outlined { + background-color: transparent; + border-color: #0a0a0a; + color: #0a0a0a; } + .button.is-white.is-inverted.is-outlined:hover, .button.is-white.is-inverted.is-outlined.is-hovered, .button.is-white.is-inverted.is-outlined:focus, .button.is-white.is-inverted.is-outlined.is-focused { + background-color: #0a0a0a; + color: white; } + .button.is-white.is-inverted.is-outlined.is-loading:hover::after, .button.is-white.is-inverted.is-outlined.is-loading.is-hovered::after, .button.is-white.is-inverted.is-outlined.is-loading:focus::after, .button.is-white.is-inverted.is-outlined.is-loading.is-focused::after { + border-color: transparent transparent white white !important; } + .button.is-white.is-inverted.is-outlined[disabled], + fieldset[disabled] .button.is-white.is-inverted.is-outlined { + background-color: transparent; + border-color: #0a0a0a; + box-shadow: none; + color: #0a0a0a; } + .button.is-black { + background-color: #0a0a0a; + border-color: transparent; + color: white; } + .button.is-black:hover, .button.is-black.is-hovered { + background-color: #040404; + border-color: transparent; + color: white; } + .button.is-black:focus, .button.is-black.is-focused { + border-color: transparent; + color: white; } + .button.is-black:focus:not(:active), .button.is-black.is-focused:not(:active) { + box-shadow: 0 0 0 0.125em rgba(10, 10, 10, 0.25); } + .button.is-black:active, .button.is-black.is-active { + background-color: black; + border-color: transparent; + color: white; } + .button.is-black[disabled], + fieldset[disabled] .button.is-black { + background-color: #0a0a0a; + border-color: #0a0a0a; + box-shadow: none; } + .button.is-black.is-inverted { + background-color: white; + color: #0a0a0a; } + .button.is-black.is-inverted:hover, .button.is-black.is-inverted.is-hovered { + background-color: #f2f2f2; } + .button.is-black.is-inverted[disabled], + fieldset[disabled] .button.is-black.is-inverted { + background-color: white; + border-color: transparent; + box-shadow: none; + color: #0a0a0a; } + .button.is-black.is-loading::after { + border-color: transparent transparent white white !important; } + .button.is-black.is-outlined { + background-color: transparent; + border-color: #0a0a0a; + color: #0a0a0a; } + .button.is-black.is-outlined:hover, .button.is-black.is-outlined.is-hovered, .button.is-black.is-outlined:focus, .button.is-black.is-outlined.is-focused { + background-color: #0a0a0a; + border-color: #0a0a0a; + color: white; } + .button.is-black.is-outlined.is-loading::after { + border-color: transparent transparent #0a0a0a #0a0a0a !important; } + .button.is-black.is-outlined.is-loading:hover::after, .button.is-black.is-outlined.is-loading.is-hovered::after, .button.is-black.is-outlined.is-loading:focus::after, .button.is-black.is-outlined.is-loading.is-focused::after { + border-color: transparent transparent white white !important; } + .button.is-black.is-outlined[disabled], + fieldset[disabled] .button.is-black.is-outlined { + background-color: transparent; + border-color: #0a0a0a; + box-shadow: none; + color: #0a0a0a; } + .button.is-black.is-inverted.is-outlined { + background-color: transparent; + border-color: white; + color: white; } + .button.is-black.is-inverted.is-outlined:hover, .button.is-black.is-inverted.is-outlined.is-hovered, .button.is-black.is-inverted.is-outlined:focus, .button.is-black.is-inverted.is-outlined.is-focused { + background-color: white; + color: #0a0a0a; } + .button.is-black.is-inverted.is-outlined.is-loading:hover::after, .button.is-black.is-inverted.is-outlined.is-loading.is-hovered::after, .button.is-black.is-inverted.is-outlined.is-loading:focus::after, .button.is-black.is-inverted.is-outlined.is-loading.is-focused::after { + border-color: transparent transparent #0a0a0a #0a0a0a !important; } + .button.is-black.is-inverted.is-outlined[disabled], + fieldset[disabled] .button.is-black.is-inverted.is-outlined { + background-color: transparent; + border-color: white; + box-shadow: none; + color: white; } + .button.is-light { + background-color: whitesmoke; + border-color: transparent; + color: rgba(0, 0, 0, 0.7); } + .button.is-light:hover, .button.is-light.is-hovered { + background-color: #eeeeee; + border-color: transparent; + color: rgba(0, 0, 0, 0.7); } + .button.is-light:focus, .button.is-light.is-focused { + border-color: transparent; + color: rgba(0, 0, 0, 0.7); } + .button.is-light:focus:not(:active), .button.is-light.is-focused:not(:active) { + box-shadow: 0 0 0 0.125em rgba(245, 245, 245, 0.25); } + .button.is-light:active, .button.is-light.is-active { + background-color: #e8e8e8; + border-color: transparent; + color: rgba(0, 0, 0, 0.7); } + .button.is-light[disabled], + fieldset[disabled] .button.is-light { + background-color: whitesmoke; + border-color: whitesmoke; + box-shadow: none; } + .button.is-light.is-inverted { + background-color: rgba(0, 0, 0, 0.7); + color: whitesmoke; } + .button.is-light.is-inverted:hover, .button.is-light.is-inverted.is-hovered { + background-color: rgba(0, 0, 0, 0.7); } + .button.is-light.is-inverted[disabled], + fieldset[disabled] .button.is-light.is-inverted { + background-color: rgba(0, 0, 0, 0.7); + border-color: transparent; + box-shadow: none; + color: whitesmoke; } + .button.is-light.is-loading::after { + border-color: transparent transparent rgba(0, 0, 0, 0.7) rgba(0, 0, 0, 0.7) !important; } + .button.is-light.is-outlined { + background-color: transparent; + border-color: whitesmoke; + color: whitesmoke; } + .button.is-light.is-outlined:hover, .button.is-light.is-outlined.is-hovered, .button.is-light.is-outlined:focus, .button.is-light.is-outlined.is-focused { + background-color: whitesmoke; + border-color: whitesmoke; + color: rgba(0, 0, 0, 0.7); } + .button.is-light.is-outlined.is-loading::after { + border-color: transparent transparent whitesmoke whitesmoke !important; } + .button.is-light.is-outlined.is-loading:hover::after, .button.is-light.is-outlined.is-loading.is-hovered::after, .button.is-light.is-outlined.is-loading:focus::after, .button.is-light.is-outlined.is-loading.is-focused::after { + border-color: transparent transparent rgba(0, 0, 0, 0.7) rgba(0, 0, 0, 0.7) !important; } + .button.is-light.is-outlined[disabled], + fieldset[disabled] .button.is-light.is-outlined { + background-color: transparent; + border-color: whitesmoke; + box-shadow: none; + color: whitesmoke; } + .button.is-light.is-inverted.is-outlined { + background-color: transparent; + border-color: rgba(0, 0, 0, 0.7); + color: rgba(0, 0, 0, 0.7); } + .button.is-light.is-inverted.is-outlined:hover, .button.is-light.is-inverted.is-outlined.is-hovered, .button.is-light.is-inverted.is-outlined:focus, .button.is-light.is-inverted.is-outlined.is-focused { + background-color: rgba(0, 0, 0, 0.7); + color: whitesmoke; } + .button.is-light.is-inverted.is-outlined.is-loading:hover::after, .button.is-light.is-inverted.is-outlined.is-loading.is-hovered::after, .button.is-light.is-inverted.is-outlined.is-loading:focus::after, .button.is-light.is-inverted.is-outlined.is-loading.is-focused::after { + border-color: transparent transparent whitesmoke whitesmoke !important; } + .button.is-light.is-inverted.is-outlined[disabled], + fieldset[disabled] .button.is-light.is-inverted.is-outlined { + background-color: transparent; + border-color: rgba(0, 0, 0, 0.7); + box-shadow: none; + color: rgba(0, 0, 0, 0.7); } + .button.is-dark { + background-color: #181818; + border-color: transparent; + color: #fff; } + .button.is-dark:hover, .button.is-dark.is-hovered { + background-color: #121212; + border-color: transparent; + color: #fff; } + .button.is-dark:focus, .button.is-dark.is-focused { + border-color: transparent; + color: #fff; } + .button.is-dark:focus:not(:active), .button.is-dark.is-focused:not(:active) { + box-shadow: 0 0 0 0.125em rgba(24, 24, 24, 0.25); } + .button.is-dark:active, .button.is-dark.is-active { + background-color: #0b0b0b; + border-color: transparent; + color: #fff; } + .button.is-dark[disabled], + fieldset[disabled] .button.is-dark { + background-color: #181818; + border-color: #181818; + box-shadow: none; } + .button.is-dark.is-inverted { + background-color: #fff; + color: #181818; } + .button.is-dark.is-inverted:hover, .button.is-dark.is-inverted.is-hovered { + background-color: #f2f2f2; } + .button.is-dark.is-inverted[disabled], + fieldset[disabled] .button.is-dark.is-inverted { + background-color: #fff; + border-color: transparent; + box-shadow: none; + color: #181818; } + .button.is-dark.is-loading::after { + border-color: transparent transparent #fff #fff !important; } + .button.is-dark.is-outlined { + background-color: transparent; + border-color: #181818; + color: #181818; } + .button.is-dark.is-outlined:hover, .button.is-dark.is-outlined.is-hovered, .button.is-dark.is-outlined:focus, .button.is-dark.is-outlined.is-focused { + background-color: #181818; + border-color: #181818; + color: #fff; } + .button.is-dark.is-outlined.is-loading::after { + border-color: transparent transparent #181818 #181818 !important; } + .button.is-dark.is-outlined.is-loading:hover::after, .button.is-dark.is-outlined.is-loading.is-hovered::after, .button.is-dark.is-outlined.is-loading:focus::after, .button.is-dark.is-outlined.is-loading.is-focused::after { + border-color: transparent transparent #fff #fff !important; } + .button.is-dark.is-outlined[disabled], + fieldset[disabled] .button.is-dark.is-outlined { + background-color: transparent; + border-color: #181818; + box-shadow: none; + color: #181818; } + .button.is-dark.is-inverted.is-outlined { + background-color: transparent; + border-color: #fff; + color: #fff; } + .button.is-dark.is-inverted.is-outlined:hover, .button.is-dark.is-inverted.is-outlined.is-hovered, .button.is-dark.is-inverted.is-outlined:focus, .button.is-dark.is-inverted.is-outlined.is-focused { + background-color: #fff; + color: #181818; } + .button.is-dark.is-inverted.is-outlined.is-loading:hover::after, .button.is-dark.is-inverted.is-outlined.is-loading.is-hovered::after, .button.is-dark.is-inverted.is-outlined.is-loading:focus::after, .button.is-dark.is-inverted.is-outlined.is-loading.is-focused::after { + border-color: transparent transparent #181818 #181818 !important; } + .button.is-dark.is-inverted.is-outlined[disabled], + fieldset[disabled] .button.is-dark.is-inverted.is-outlined { + background-color: transparent; + border-color: #fff; + box-shadow: none; + color: #fff; } + .button.is-primary { + background-color: #016FB9; + border-color: transparent; + color: #fff; } + .button.is-primary:hover, .button.is-primary.is-hovered { + background-color: #0167ac; + border-color: transparent; + color: #fff; } + .button.is-primary:focus, .button.is-primary.is-focused { + border-color: transparent; + color: #fff; } + .button.is-primary:focus:not(:active), .button.is-primary.is-focused:not(:active) { + box-shadow: 0 0 0 0.125em rgba(1, 111, 185, 0.25); } + .button.is-primary:active, .button.is-primary.is-active { + background-color: #0160a0; + border-color: transparent; + color: #fff; } + .button.is-primary[disabled], + fieldset[disabled] .button.is-primary { + background-color: #016FB9; + border-color: #016FB9; + box-shadow: none; } + .button.is-primary.is-inverted { + background-color: #fff; + color: #016FB9; } + .button.is-primary.is-inverted:hover, .button.is-primary.is-inverted.is-hovered { + background-color: #f2f2f2; } + .button.is-primary.is-inverted[disabled], + fieldset[disabled] .button.is-primary.is-inverted { + background-color: #fff; + border-color: transparent; + box-shadow: none; + color: #016FB9; } + .button.is-primary.is-loading::after { + border-color: transparent transparent #fff #fff !important; } + .button.is-primary.is-outlined { + background-color: transparent; + border-color: #016FB9; + color: #016FB9; } + .button.is-primary.is-outlined:hover, .button.is-primary.is-outlined.is-hovered, .button.is-primary.is-outlined:focus, .button.is-primary.is-outlined.is-focused { + background-color: #016FB9; + border-color: #016FB9; + color: #fff; } + .button.is-primary.is-outlined.is-loading::after { + border-color: transparent transparent #016FB9 #016FB9 !important; } + .button.is-primary.is-outlined.is-loading:hover::after, .button.is-primary.is-outlined.is-loading.is-hovered::after, .button.is-primary.is-outlined.is-loading:focus::after, .button.is-primary.is-outlined.is-loading.is-focused::after { + border-color: transparent transparent #fff #fff !important; } + .button.is-primary.is-outlined[disabled], + fieldset[disabled] .button.is-primary.is-outlined { + background-color: transparent; + border-color: #016FB9; + box-shadow: none; + color: #016FB9; } + .button.is-primary.is-inverted.is-outlined { + background-color: transparent; + border-color: #fff; + color: #fff; } + .button.is-primary.is-inverted.is-outlined:hover, .button.is-primary.is-inverted.is-outlined.is-hovered, .button.is-primary.is-inverted.is-outlined:focus, .button.is-primary.is-inverted.is-outlined.is-focused { + background-color: #fff; + color: #016FB9; } + .button.is-primary.is-inverted.is-outlined.is-loading:hover::after, .button.is-primary.is-inverted.is-outlined.is-loading.is-hovered::after, .button.is-primary.is-inverted.is-outlined.is-loading:focus::after, .button.is-primary.is-inverted.is-outlined.is-loading.is-focused::after { + border-color: transparent transparent #016FB9 #016FB9 !important; } + .button.is-primary.is-inverted.is-outlined[disabled], + fieldset[disabled] .button.is-primary.is-inverted.is-outlined { + background-color: transparent; + border-color: #fff; + box-shadow: none; + color: #fff; } + .button.is-primary.is-light { + background-color: #ebf7ff; + color: #018fee; } + .button.is-primary.is-light:hover, .button.is-primary.is-light.is-hovered { + background-color: #def2ff; + border-color: transparent; + color: #018fee; } + .button.is-primary.is-light:active, .button.is-primary.is-light.is-active { + background-color: #d1ecff; + border-color: transparent; + color: #018fee; } + .button.is-link { + background-color: #016FB9; + border-color: transparent; + color: #fff; } + .button.is-link:hover, .button.is-link.is-hovered { + background-color: #0167ac; + border-color: transparent; + color: #fff; } + .button.is-link:focus, .button.is-link.is-focused { + border-color: transparent; + color: #fff; } + .button.is-link:focus:not(:active), .button.is-link.is-focused:not(:active) { + box-shadow: 0 0 0 0.125em rgba(1, 111, 185, 0.25); } + .button.is-link:active, .button.is-link.is-active { + background-color: #0160a0; + border-color: transparent; + color: #fff; } + .button.is-link[disabled], + fieldset[disabled] .button.is-link { + background-color: #016FB9; + border-color: #016FB9; + box-shadow: none; } + .button.is-link.is-inverted { + background-color: #fff; + color: #016FB9; } + .button.is-link.is-inverted:hover, .button.is-link.is-inverted.is-hovered { + background-color: #f2f2f2; } + .button.is-link.is-inverted[disabled], + fieldset[disabled] .button.is-link.is-inverted { + background-color: #fff; + border-color: transparent; + box-shadow: none; + color: #016FB9; } + .button.is-link.is-loading::after { + border-color: transparent transparent #fff #fff !important; } + .button.is-link.is-outlined { + background-color: transparent; + border-color: #016FB9; + color: #016FB9; } + .button.is-link.is-outlined:hover, .button.is-link.is-outlined.is-hovered, .button.is-link.is-outlined:focus, .button.is-link.is-outlined.is-focused { + background-color: #016FB9; + border-color: #016FB9; + color: #fff; } + .button.is-link.is-outlined.is-loading::after { + border-color: transparent transparent #016FB9 #016FB9 !important; } + .button.is-link.is-outlined.is-loading:hover::after, .button.is-link.is-outlined.is-loading.is-hovered::after, .button.is-link.is-outlined.is-loading:focus::after, .button.is-link.is-outlined.is-loading.is-focused::after { + border-color: transparent transparent #fff #fff !important; } + .button.is-link.is-outlined[disabled], + fieldset[disabled] .button.is-link.is-outlined { + background-color: transparent; + border-color: #016FB9; + box-shadow: none; + color: #016FB9; } + .button.is-link.is-inverted.is-outlined { + background-color: transparent; + border-color: #fff; + color: #fff; } + .button.is-link.is-inverted.is-outlined:hover, .button.is-link.is-inverted.is-outlined.is-hovered, .button.is-link.is-inverted.is-outlined:focus, .button.is-link.is-inverted.is-outlined.is-focused { + background-color: #fff; + color: #016FB9; } + .button.is-link.is-inverted.is-outlined.is-loading:hover::after, .button.is-link.is-inverted.is-outlined.is-loading.is-hovered::after, .button.is-link.is-inverted.is-outlined.is-loading:focus::after, .button.is-link.is-inverted.is-outlined.is-loading.is-focused::after { + border-color: transparent transparent #016FB9 #016FB9 !important; } + .button.is-link.is-inverted.is-outlined[disabled], + fieldset[disabled] .button.is-link.is-inverted.is-outlined { + background-color: transparent; + border-color: #fff; + box-shadow: none; + color: #fff; } + .button.is-link.is-light { + background-color: #ebf7ff; + color: #018fee; } + .button.is-link.is-light:hover, .button.is-link.is-light.is-hovered { + background-color: #def2ff; + border-color: transparent; + color: #018fee; } + .button.is-link.is-light:active, .button.is-link.is-light.is-active { + background-color: #d1ecff; + border-color: transparent; + color: #018fee; } + .button.is-info { + background-color: #3e8ed0; + border-color: transparent; + color: #fff; } + .button.is-info:hover, .button.is-info.is-hovered { + background-color: #3488ce; + border-color: transparent; + color: #fff; } + .button.is-info:focus, .button.is-info.is-focused { + border-color: transparent; + color: #fff; } + .button.is-info:focus:not(:active), .button.is-info.is-focused:not(:active) { + box-shadow: 0 0 0 0.125em rgba(62, 142, 208, 0.25); } + .button.is-info:active, .button.is-info.is-active { + background-color: #3082c5; + border-color: transparent; + color: #fff; } + .button.is-info[disabled], + fieldset[disabled] .button.is-info { + background-color: #3e8ed0; + border-color: #3e8ed0; + box-shadow: none; } + .button.is-info.is-inverted { + background-color: #fff; + color: #3e8ed0; } + .button.is-info.is-inverted:hover, .button.is-info.is-inverted.is-hovered { + background-color: #f2f2f2; } + .button.is-info.is-inverted[disabled], + fieldset[disabled] .button.is-info.is-inverted { + background-color: #fff; + border-color: transparent; + box-shadow: none; + color: #3e8ed0; } + .button.is-info.is-loading::after { + border-color: transparent transparent #fff #fff !important; } + .button.is-info.is-outlined { + background-color: transparent; + border-color: #3e8ed0; + color: #3e8ed0; } + .button.is-info.is-outlined:hover, .button.is-info.is-outlined.is-hovered, .button.is-info.is-outlined:focus, .button.is-info.is-outlined.is-focused { + background-color: #3e8ed0; + border-color: #3e8ed0; + color: #fff; } + .button.is-info.is-outlined.is-loading::after { + border-color: transparent transparent #3e8ed0 #3e8ed0 !important; } + .button.is-info.is-outlined.is-loading:hover::after, .button.is-info.is-outlined.is-loading.is-hovered::after, .button.is-info.is-outlined.is-loading:focus::after, .button.is-info.is-outlined.is-loading.is-focused::after { + border-color: transparent transparent #fff #fff !important; } + .button.is-info.is-outlined[disabled], + fieldset[disabled] .button.is-info.is-outlined { + background-color: transparent; + border-color: #3e8ed0; + box-shadow: none; + color: #3e8ed0; } + .button.is-info.is-inverted.is-outlined { + background-color: transparent; + border-color: #fff; + color: #fff; } + .button.is-info.is-inverted.is-outlined:hover, .button.is-info.is-inverted.is-outlined.is-hovered, .button.is-info.is-inverted.is-outlined:focus, .button.is-info.is-inverted.is-outlined.is-focused { + background-color: #fff; + color: #3e8ed0; } + .button.is-info.is-inverted.is-outlined.is-loading:hover::after, .button.is-info.is-inverted.is-outlined.is-loading.is-hovered::after, .button.is-info.is-inverted.is-outlined.is-loading:focus::after, .button.is-info.is-inverted.is-outlined.is-loading.is-focused::after { + border-color: transparent transparent #3e8ed0 #3e8ed0 !important; } + .button.is-info.is-inverted.is-outlined[disabled], + fieldset[disabled] .button.is-info.is-inverted.is-outlined { + background-color: transparent; + border-color: #fff; + box-shadow: none; + color: #fff; } + .button.is-info.is-light { + background-color: #eff5fb; + color: #296fa8; } + .button.is-info.is-light:hover, .button.is-info.is-light.is-hovered { + background-color: #e4eff9; + border-color: transparent; + color: #296fa8; } + .button.is-info.is-light:active, .button.is-info.is-light.is-active { + background-color: #dae9f6; + border-color: transparent; + color: #296fa8; } + .button.is-success { + background-color: #48c78e; + border-color: transparent; + color: #fff; } + .button.is-success:hover, .button.is-success.is-hovered { + background-color: #3ec487; + border-color: transparent; + color: #fff; } + .button.is-success:focus, .button.is-success.is-focused { + border-color: transparent; + color: #fff; } + .button.is-success:focus:not(:active), .button.is-success.is-focused:not(:active) { + box-shadow: 0 0 0 0.125em rgba(72, 199, 142, 0.25); } + .button.is-success:active, .button.is-success.is-active { + background-color: #3abb81; + border-color: transparent; + color: #fff; } + .button.is-success[disabled], + fieldset[disabled] .button.is-success { + background-color: #48c78e; + border-color: #48c78e; + box-shadow: none; } + .button.is-success.is-inverted { + background-color: #fff; + color: #48c78e; } + .button.is-success.is-inverted:hover, .button.is-success.is-inverted.is-hovered { + background-color: #f2f2f2; } + .button.is-success.is-inverted[disabled], + fieldset[disabled] .button.is-success.is-inverted { + background-color: #fff; + border-color: transparent; + box-shadow: none; + color: #48c78e; } + .button.is-success.is-loading::after { + border-color: transparent transparent #fff #fff !important; } + .button.is-success.is-outlined { + background-color: transparent; + border-color: #48c78e; + color: #48c78e; } + .button.is-success.is-outlined:hover, .button.is-success.is-outlined.is-hovered, .button.is-success.is-outlined:focus, .button.is-success.is-outlined.is-focused { + background-color: #48c78e; + border-color: #48c78e; + color: #fff; } + .button.is-success.is-outlined.is-loading::after { + border-color: transparent transparent #48c78e #48c78e !important; } + .button.is-success.is-outlined.is-loading:hover::after, .button.is-success.is-outlined.is-loading.is-hovered::after, .button.is-success.is-outlined.is-loading:focus::after, .button.is-success.is-outlined.is-loading.is-focused::after { + border-color: transparent transparent #fff #fff !important; } + .button.is-success.is-outlined[disabled], + fieldset[disabled] .button.is-success.is-outlined { + background-color: transparent; + border-color: #48c78e; + box-shadow: none; + color: #48c78e; } + .button.is-success.is-inverted.is-outlined { + background-color: transparent; + border-color: #fff; + color: #fff; } + .button.is-success.is-inverted.is-outlined:hover, .button.is-success.is-inverted.is-outlined.is-hovered, .button.is-success.is-inverted.is-outlined:focus, .button.is-success.is-inverted.is-outlined.is-focused { + background-color: #fff; + color: #48c78e; } + .button.is-success.is-inverted.is-outlined.is-loading:hover::after, .button.is-success.is-inverted.is-outlined.is-loading.is-hovered::after, .button.is-success.is-inverted.is-outlined.is-loading:focus::after, .button.is-success.is-inverted.is-outlined.is-loading.is-focused::after { + border-color: transparent transparent #48c78e #48c78e !important; } + .button.is-success.is-inverted.is-outlined[disabled], + fieldset[disabled] .button.is-success.is-inverted.is-outlined { + background-color: transparent; + border-color: #fff; + box-shadow: none; + color: #fff; } + .button.is-success.is-light { + background-color: #effaf5; + color: #257953; } + .button.is-success.is-light:hover, .button.is-success.is-light.is-hovered { + background-color: #e6f7ef; + border-color: transparent; + color: #257953; } + .button.is-success.is-light:active, .button.is-success.is-light.is-active { + background-color: #dcf4e9; + border-color: transparent; + color: #257953; } + .button.is-warning { + background-color: #ffe08a; + border-color: transparent; + color: rgba(0, 0, 0, 0.7); } + .button.is-warning:hover, .button.is-warning.is-hovered { + background-color: #ffdc7d; + border-color: transparent; + color: rgba(0, 0, 0, 0.7); } + .button.is-warning:focus, .button.is-warning.is-focused { + border-color: transparent; + color: rgba(0, 0, 0, 0.7); } + .button.is-warning:focus:not(:active), .button.is-warning.is-focused:not(:active) { + box-shadow: 0 0 0 0.125em rgba(255, 224, 138, 0.25); } + .button.is-warning:active, .button.is-warning.is-active { + background-color: #ffd970; + border-color: transparent; + color: rgba(0, 0, 0, 0.7); } + .button.is-warning[disabled], + fieldset[disabled] .button.is-warning { + background-color: #ffe08a; + border-color: #ffe08a; + box-shadow: none; } + .button.is-warning.is-inverted { + background-color: rgba(0, 0, 0, 0.7); + color: #ffe08a; } + .button.is-warning.is-inverted:hover, .button.is-warning.is-inverted.is-hovered { + background-color: rgba(0, 0, 0, 0.7); } + .button.is-warning.is-inverted[disabled], + fieldset[disabled] .button.is-warning.is-inverted { + background-color: rgba(0, 0, 0, 0.7); + border-color: transparent; + box-shadow: none; + color: #ffe08a; } + .button.is-warning.is-loading::after { + border-color: transparent transparent rgba(0, 0, 0, 0.7) rgba(0, 0, 0, 0.7) !important; } + .button.is-warning.is-outlined { + background-color: transparent; + border-color: #ffe08a; + color: #ffe08a; } + .button.is-warning.is-outlined:hover, .button.is-warning.is-outlined.is-hovered, .button.is-warning.is-outlined:focus, .button.is-warning.is-outlined.is-focused { + background-color: #ffe08a; + border-color: #ffe08a; + color: rgba(0, 0, 0, 0.7); } + .button.is-warning.is-outlined.is-loading::after { + border-color: transparent transparent #ffe08a #ffe08a !important; } + .button.is-warning.is-outlined.is-loading:hover::after, .button.is-warning.is-outlined.is-loading.is-hovered::after, .button.is-warning.is-outlined.is-loading:focus::after, .button.is-warning.is-outlined.is-loading.is-focused::after { + border-color: transparent transparent rgba(0, 0, 0, 0.7) rgba(0, 0, 0, 0.7) !important; } + .button.is-warning.is-outlined[disabled], + fieldset[disabled] .button.is-warning.is-outlined { + background-color: transparent; + border-color: #ffe08a; + box-shadow: none; + color: #ffe08a; } + .button.is-warning.is-inverted.is-outlined { + background-color: transparent; + border-color: rgba(0, 0, 0, 0.7); + color: rgba(0, 0, 0, 0.7); } + .button.is-warning.is-inverted.is-outlined:hover, .button.is-warning.is-inverted.is-outlined.is-hovered, .button.is-warning.is-inverted.is-outlined:focus, .button.is-warning.is-inverted.is-outlined.is-focused { + background-color: rgba(0, 0, 0, 0.7); + color: #ffe08a; } + .button.is-warning.is-inverted.is-outlined.is-loading:hover::after, .button.is-warning.is-inverted.is-outlined.is-loading.is-hovered::after, .button.is-warning.is-inverted.is-outlined.is-loading:focus::after, .button.is-warning.is-inverted.is-outlined.is-loading.is-focused::after { + border-color: transparent transparent #ffe08a #ffe08a !important; } + .button.is-warning.is-inverted.is-outlined[disabled], + fieldset[disabled] .button.is-warning.is-inverted.is-outlined { + background-color: transparent; + border-color: rgba(0, 0, 0, 0.7); + box-shadow: none; + color: rgba(0, 0, 0, 0.7); } + .button.is-warning.is-light { + background-color: #fffaeb; + color: #946c00; } + .button.is-warning.is-light:hover, .button.is-warning.is-light.is-hovered { + background-color: #fff6de; + border-color: transparent; + color: #946c00; } + .button.is-warning.is-light:active, .button.is-warning.is-light.is-active { + background-color: #fff3d1; + border-color: transparent; + color: #946c00; } + .button.is-danger { + background-color: #f14668; + border-color: transparent; + color: #fff; } + .button.is-danger:hover, .button.is-danger.is-hovered { + background-color: #f03a5f; + border-color: transparent; + color: #fff; } + .button.is-danger:focus, .button.is-danger.is-focused { + border-color: transparent; + color: #fff; } + .button.is-danger:focus:not(:active), .button.is-danger.is-focused:not(:active) { + box-shadow: 0 0 0 0.125em rgba(241, 70, 104, 0.25); } + .button.is-danger:active, .button.is-danger.is-active { + background-color: #ef2e55; + border-color: transparent; + color: #fff; } + .button.is-danger[disabled], + fieldset[disabled] .button.is-danger { + background-color: #f14668; + border-color: #f14668; + box-shadow: none; } + .button.is-danger.is-inverted { + background-color: #fff; + color: #f14668; } + .button.is-danger.is-inverted:hover, .button.is-danger.is-inverted.is-hovered { + background-color: #f2f2f2; } + .button.is-danger.is-inverted[disabled], + fieldset[disabled] .button.is-danger.is-inverted { + background-color: #fff; + border-color: transparent; + box-shadow: none; + color: #f14668; } + .button.is-danger.is-loading::after { + border-color: transparent transparent #fff #fff !important; } + .button.is-danger.is-outlined { + background-color: transparent; + border-color: #f14668; + color: #f14668; } + .button.is-danger.is-outlined:hover, .button.is-danger.is-outlined.is-hovered, .button.is-danger.is-outlined:focus, .button.is-danger.is-outlined.is-focused { + background-color: #f14668; + border-color: #f14668; + color: #fff; } + .button.is-danger.is-outlined.is-loading::after { + border-color: transparent transparent #f14668 #f14668 !important; } + .button.is-danger.is-outlined.is-loading:hover::after, .button.is-danger.is-outlined.is-loading.is-hovered::after, .button.is-danger.is-outlined.is-loading:focus::after, .button.is-danger.is-outlined.is-loading.is-focused::after { + border-color: transparent transparent #fff #fff !important; } + .button.is-danger.is-outlined[disabled], + fieldset[disabled] .button.is-danger.is-outlined { + background-color: transparent; + border-color: #f14668; + box-shadow: none; + color: #f14668; } + .button.is-danger.is-inverted.is-outlined { + background-color: transparent; + border-color: #fff; + color: #fff; } + .button.is-danger.is-inverted.is-outlined:hover, .button.is-danger.is-inverted.is-outlined.is-hovered, .button.is-danger.is-inverted.is-outlined:focus, .button.is-danger.is-inverted.is-outlined.is-focused { + background-color: #fff; + color: #f14668; } + .button.is-danger.is-inverted.is-outlined.is-loading:hover::after, .button.is-danger.is-inverted.is-outlined.is-loading.is-hovered::after, .button.is-danger.is-inverted.is-outlined.is-loading:focus::after, .button.is-danger.is-inverted.is-outlined.is-loading.is-focused::after { + border-color: transparent transparent #f14668 #f14668 !important; } + .button.is-danger.is-inverted.is-outlined[disabled], + fieldset[disabled] .button.is-danger.is-inverted.is-outlined { + background-color: transparent; + border-color: #fff; + box-shadow: none; + color: #fff; } + .button.is-danger.is-light { + background-color: #feecf0; + color: #cc0f35; } + .button.is-danger.is-light:hover, .button.is-danger.is-light.is-hovered { + background-color: #fde0e6; + border-color: transparent; + color: #cc0f35; } + .button.is-danger.is-light:active, .button.is-danger.is-light.is-active { + background-color: #fcd4dc; + border-color: transparent; + color: #cc0f35; } + .button.is-small { + font-size: 0.75rem; } + .button.is-small:not(.is-rounded) { + border-radius: 2px; } + .button.is-normal { + font-size: 1rem; } + .button.is-medium { + font-size: 1.25rem; } + .button.is-large { + font-size: 1.5rem; } + .button[disabled], + fieldset[disabled] .button { + background-color: white; + border-color: #dbdbdb; + box-shadow: none; + opacity: 0.5; } + .button.is-fullwidth { + display: flex; + width: 100%; } + .button.is-loading { + color: transparent !important; + pointer-events: none; } + .button.is-loading::after { + position: absolute; + left: calc(50% - (1em * 0.5)); + top: calc(50% - (1em * 0.5)); + position: absolute !important; } + .button.is-static { + background-color: whitesmoke; + border-color: #dbdbdb; + color: #7a7a7a; + box-shadow: none; + pointer-events: none; } + .button.is-rounded { + border-radius: 9999px; + padding-left: calc(1em + 0.25em); + padding-right: calc(1em + 0.25em); } + +.buttons { + align-items: center; + display: flex; + flex-wrap: wrap; + justify-content: flex-start; } + .buttons .button { + margin-bottom: 0.5rem; } + .buttons .button:not(:last-child):not(.is-fullwidth) { + margin-right: 0.5rem; } + .buttons:last-child { + margin-bottom: -0.5rem; } + .buttons:not(:last-child) { + margin-bottom: 1rem; } + .buttons.are-small .button:not(.is-normal):not(.is-medium):not(.is-large) { + font-size: 0.75rem; } + .buttons.are-small .button:not(.is-normal):not(.is-medium):not(.is-large):not(.is-rounded) { + border-radius: 2px; } + .buttons.are-medium .button:not(.is-small):not(.is-normal):not(.is-large) { + font-size: 1.25rem; } + .buttons.are-large .button:not(.is-small):not(.is-normal):not(.is-medium) { + font-size: 1.5rem; } + .buttons.has-addons .button:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0; } + .buttons.has-addons .button:not(:last-child) { + border-bottom-right-radius: 0; + border-top-right-radius: 0; + margin-right: -1px; } + .buttons.has-addons .button:last-child { + margin-right: 0; } + .buttons.has-addons .button:hover, .buttons.has-addons .button.is-hovered { + z-index: 2; } + .buttons.has-addons .button:focus, .buttons.has-addons .button.is-focused, .buttons.has-addons .button:active, .buttons.has-addons .button.is-active, .buttons.has-addons .button.is-selected { + z-index: 3; } + .buttons.has-addons .button:focus:hover, .buttons.has-addons .button.is-focused:hover, .buttons.has-addons .button:active:hover, .buttons.has-addons .button.is-active:hover, .buttons.has-addons .button.is-selected:hover { + z-index: 4; } + .buttons.has-addons .button.is-expanded { + flex-grow: 1; + flex-shrink: 1; } + .buttons.is-centered { + justify-content: center; } + .buttons.is-centered:not(.has-addons) .button:not(.is-fullwidth) { + margin-left: 0.25rem; + margin-right: 0.25rem; } + .buttons.is-right { + justify-content: flex-end; } + .buttons.is-right:not(.has-addons) .button:not(.is-fullwidth) { + margin-left: 0.25rem; + margin-right: 0.25rem; } + +@media screen and (max-width: 768px) { + .button.is-responsive.is-small { + font-size: 0.5625rem; } + .button.is-responsive, + .button.is-responsive.is-normal { + font-size: 0.65625rem; } + .button.is-responsive.is-medium { + font-size: 0.75rem; } + .button.is-responsive.is-large { + font-size: 1rem; } } + +@media screen and (min-width: 769px) and (max-width: 1023px) { + .button.is-responsive.is-small { + font-size: 0.65625rem; } + .button.is-responsive, + .button.is-responsive.is-normal { + font-size: 0.75rem; } + .button.is-responsive.is-medium { + font-size: 1rem; } + .button.is-responsive.is-large { + font-size: 1.25rem; } } + +.container { + flex-grow: 1; + margin: 0 auto; + position: relative; + width: auto; } + .container.is-fluid { + max-width: none !important; + padding-left: 32px; + padding-right: 32px; + width: 100%; } + @media screen and (min-width: 1024px) { + .container { + max-width: 960px; } } + @media screen and (max-width: 1215px) { + .container.is-widescreen:not(.is-max-desktop) { + max-width: 1152px; } } + @media screen and (max-width: 1407px) { + .container.is-fullhd:not(.is-max-desktop):not(.is-max-widescreen) { + max-width: 1344px; } } + @media screen and (min-width: 1216px) { + .container:not(.is-max-desktop) { + max-width: 1152px; } } + @media screen and (min-width: 1408px) { + .container:not(.is-max-desktop):not(.is-max-widescreen) { + max-width: 1344px; } } + +.content li + li { + margin-top: 0.25em; } + +.content p:not(:last-child), +.content dl:not(:last-child), +.content ol:not(:last-child), +.content ul:not(:last-child), +.content blockquote:not(:last-child), +.content pre:not(:last-child), +.content table:not(:last-child) { + margin-bottom: 1em; } + +.content h1, +.content h2, +.content h3, +.content h4, +.content h5, +.content h6 { + color: #363636; + font-weight: 600; + line-height: 1.125; } + +.content h1 { + font-size: 2em; + margin-bottom: 0.5em; } + .content h1:not(:first-child) { + margin-top: 1em; } + +.content h2 { + font-size: 1.75em; + margin-bottom: 0.5714em; } + .content h2:not(:first-child) { + margin-top: 1.1428em; } + +.content h3 { + font-size: 1.5em; + margin-bottom: 0.6666em; } + .content h3:not(:first-child) { + margin-top: 1.3333em; } + +.content h4 { + font-size: 1.25em; + margin-bottom: 0.8em; } + +.content h5 { + font-size: 1.125em; + margin-bottom: 0.8888em; } + +.content h6 { + font-size: 1em; + margin-bottom: 1em; } + +.content blockquote { + background-color: whitesmoke; + border-left: 5px solid #dbdbdb; + padding: 1.25em 1.5em; } + +.content ol { + list-style-position: outside; + margin-left: 2em; + margin-top: 1em; } + .content ol:not([type]) { + list-style-type: decimal; } + .content ol:not([type]).is-lower-alpha { + list-style-type: lower-alpha; } + .content ol:not([type]).is-lower-roman { + list-style-type: lower-roman; } + .content ol:not([type]).is-upper-alpha { + list-style-type: upper-alpha; } + .content ol:not([type]).is-upper-roman { + list-style-type: upper-roman; } + +.content ul { + list-style: disc outside; + margin-left: 2em; + margin-top: 1em; } + .content ul ul { + list-style-type: circle; + margin-top: 0.5em; } + .content ul ul ul { + list-style-type: square; } + +.content dd { + margin-left: 2em; } + +.content figure { + margin-left: 2em; + margin-right: 2em; + text-align: center; } + .content figure:not(:first-child) { + margin-top: 2em; } + .content figure:not(:last-child) { + margin-bottom: 2em; } + .content figure img { + display: inline-block; } + .content figure figcaption { + font-style: italic; } + +.content pre { + -webkit-overflow-scrolling: touch; + overflow-x: auto; + padding: 1.25em 1.5em; + white-space: pre; + word-wrap: normal; } + +.content sup, +.content sub { + font-size: 75%; } + +.content table { + width: 100%; } + .content table td, + .content table th { + border: 1px solid #dbdbdb; + border-width: 0 0 1px; + padding: 0.5em 0.75em; + vertical-align: top; } + .content table th { + color: #363636; } + .content table th:not([align]) { + text-align: inherit; } + .content table thead td, + .content table thead th { + border-width: 0 0 2px; + color: #363636; } + .content table tfoot td, + .content table tfoot th { + border-width: 2px 0 0; + color: #363636; } + .content table tbody tr:last-child td, + .content table tbody tr:last-child th { + border-bottom-width: 0; } + +.content .tabs li + li { + margin-top: 0; } + +.content.is-small { + font-size: 0.75rem; } + +.content.is-normal { + font-size: 1rem; } + +.content.is-medium { + font-size: 1.25rem; } + +.content.is-large { + font-size: 1.5rem; } + +.icon { + align-items: center; + display: inline-flex; + justify-content: center; + height: 1.5rem; + width: 1.5rem; } + .icon.is-small { + height: 1rem; + width: 1rem; } + .icon.is-medium { + height: 2rem; + width: 2rem; } + .icon.is-large { + height: 3rem; + width: 3rem; } + +.icon-text { + align-items: flex-start; + color: inherit; + display: inline-flex; + flex-wrap: wrap; + line-height: 1.5rem; + vertical-align: top; } + .icon-text .icon { + flex-grow: 0; + flex-shrink: 0; } + .icon-text .icon:not(:last-child) { + margin-right: 0.25em; } + .icon-text .icon:not(:first-child) { + margin-left: 0.25em; } + +div.icon-text { + display: flex; } + +.image { + display: block; + position: relative; } + .image img { + display: block; + height: auto; + width: 100%; } + .image img.is-rounded { + border-radius: 9999px; } + .image.is-fullwidth { + width: 100%; } + .image.is-square img, + .image.is-square .has-ratio, .image.is-1by1 img, + .image.is-1by1 .has-ratio, .image.is-5by4 img, + .image.is-5by4 .has-ratio, .image.is-4by3 img, + .image.is-4by3 .has-ratio, .image.is-3by2 img, + .image.is-3by2 .has-ratio, .image.is-5by3 img, + .image.is-5by3 .has-ratio, .image.is-16by9 img, + .image.is-16by9 .has-ratio, .image.is-2by1 img, + .image.is-2by1 .has-ratio, .image.is-3by1 img, + .image.is-3by1 .has-ratio, .image.is-4by5 img, + .image.is-4by5 .has-ratio, .image.is-3by4 img, + .image.is-3by4 .has-ratio, .image.is-2by3 img, + .image.is-2by3 .has-ratio, .image.is-3by5 img, + .image.is-3by5 .has-ratio, .image.is-9by16 img, + .image.is-9by16 .has-ratio, .image.is-1by2 img, + .image.is-1by2 .has-ratio, .image.is-1by3 img, + .image.is-1by3 .has-ratio { + height: 100%; + width: 100%; } + .image.is-square, .image.is-1by1 { + padding-top: 100%; } + .image.is-5by4 { + padding-top: 80%; } + .image.is-4by3 { + padding-top: 75%; } + .image.is-3by2 { + padding-top: 66.6666%; } + .image.is-5by3 { + padding-top: 60%; } + .image.is-16by9 { + padding-top: 56.25%; } + .image.is-2by1 { + padding-top: 50%; } + .image.is-3by1 { + padding-top: 33.3333%; } + .image.is-4by5 { + padding-top: 125%; } + .image.is-3by4 { + padding-top: 133.3333%; } + .image.is-2by3 { + padding-top: 150%; } + .image.is-3by5 { + padding-top: 166.6666%; } + .image.is-9by16 { + padding-top: 177.7777%; } + .image.is-1by2 { + padding-top: 200%; } + .image.is-1by3 { + padding-top: 300%; } + .image.is-16x16 { + height: 16px; + width: 16px; } + .image.is-24x24 { + height: 24px; + width: 24px; } + .image.is-32x32 { + height: 32px; + width: 32px; } + .image.is-48x48 { + height: 48px; + width: 48px; } + .image.is-64x64 { + height: 64px; + width: 64px; } + .image.is-96x96 { + height: 96px; + width: 96px; } + .image.is-128x128 { + height: 128px; + width: 128px; } + +.notification { + background-color: whitesmoke; + border-radius: 4px; + position: relative; + padding: 1.25rem 2.5rem 1.25rem 1.5rem; } + .notification a:not(.button):not(.dropdown-item) { + color: currentColor; + text-decoration: underline; } + .notification strong { + color: currentColor; } + .notification code, + .notification pre { + background: white; } + .notification pre code { + background: transparent; } + .notification > .delete { + right: 0.5rem; + position: absolute; + top: 0.5rem; } + .notification .title, + .notification .subtitle, + .notification .content { + color: currentColor; } + .notification.is-white { + background-color: white; + color: #0a0a0a; } + .notification.is-black { + background-color: #0a0a0a; + color: white; } + .notification.is-light { + background-color: whitesmoke; + color: rgba(0, 0, 0, 0.7); } + .notification.is-dark { + background-color: #181818; + color: #fff; } + .notification.is-primary { + background-color: #016FB9; + color: #fff; } + .notification.is-primary.is-light { + background-color: #ebf7ff; + color: #018fee; } + .notification.is-link { + background-color: #016FB9; + color: #fff; } + .notification.is-link.is-light { + background-color: #ebf7ff; + color: #018fee; } + .notification.is-info { + background-color: #3e8ed0; + color: #fff; } + .notification.is-info.is-light { + background-color: #eff5fb; + color: #296fa8; } + .notification.is-success { + background-color: #48c78e; + color: #fff; } + .notification.is-success.is-light { + background-color: #effaf5; + color: #257953; } + .notification.is-warning { + background-color: #ffe08a; + color: rgba(0, 0, 0, 0.7); } + .notification.is-warning.is-light { + background-color: #fffaeb; + color: #946c00; } + .notification.is-danger { + background-color: #f14668; + color: #fff; } + .notification.is-danger.is-light { + background-color: #feecf0; + color: #cc0f35; } + +.progress { + -moz-appearance: none; + -webkit-appearance: none; + border: none; + border-radius: 9999px; + display: block; + height: 1rem; + overflow: hidden; + padding: 0; + width: 100%; } + .progress::-webkit-progress-bar { + background-color: #ededed; } + .progress::-webkit-progress-value { + background-color: #4a4a4a; } + .progress::-moz-progress-bar { + background-color: #4a4a4a; } + .progress::-ms-fill { + background-color: #4a4a4a; + border: none; } + .progress.is-white::-webkit-progress-value { + background-color: white; } + .progress.is-white::-moz-progress-bar { + background-color: white; } + .progress.is-white::-ms-fill { + background-color: white; } + .progress.is-white:indeterminate { + background-image: linear-gradient(to right, white 30%, #ededed 30%); } + .progress.is-black::-webkit-progress-value { + background-color: #0a0a0a; } + .progress.is-black::-moz-progress-bar { + background-color: #0a0a0a; } + .progress.is-black::-ms-fill { + background-color: #0a0a0a; } + .progress.is-black:indeterminate { + background-image: linear-gradient(to right, #0a0a0a 30%, #ededed 30%); } + .progress.is-light::-webkit-progress-value { + background-color: whitesmoke; } + .progress.is-light::-moz-progress-bar { + background-color: whitesmoke; } + .progress.is-light::-ms-fill { + background-color: whitesmoke; } + .progress.is-light:indeterminate { + background-image: linear-gradient(to right, whitesmoke 30%, #ededed 30%); } + .progress.is-dark::-webkit-progress-value { + background-color: #181818; } + .progress.is-dark::-moz-progress-bar { + background-color: #181818; } + .progress.is-dark::-ms-fill { + background-color: #181818; } + .progress.is-dark:indeterminate { + background-image: linear-gradient(to right, #181818 30%, #ededed 30%); } + .progress.is-primary::-webkit-progress-value { + background-color: #016FB9; } + .progress.is-primary::-moz-progress-bar { + background-color: #016FB9; } + .progress.is-primary::-ms-fill { + background-color: #016FB9; } + .progress.is-primary:indeterminate { + background-image: linear-gradient(to right, #016FB9 30%, #ededed 30%); } + .progress.is-link::-webkit-progress-value { + background-color: #016FB9; } + .progress.is-link::-moz-progress-bar { + background-color: #016FB9; } + .progress.is-link::-ms-fill { + background-color: #016FB9; } + .progress.is-link:indeterminate { + background-image: linear-gradient(to right, #016FB9 30%, #ededed 30%); } + .progress.is-info::-webkit-progress-value { + background-color: #3e8ed0; } + .progress.is-info::-moz-progress-bar { + background-color: #3e8ed0; } + .progress.is-info::-ms-fill { + background-color: #3e8ed0; } + .progress.is-info:indeterminate { + background-image: linear-gradient(to right, #3e8ed0 30%, #ededed 30%); } + .progress.is-success::-webkit-progress-value { + background-color: #48c78e; } + .progress.is-success::-moz-progress-bar { + background-color: #48c78e; } + .progress.is-success::-ms-fill { + background-color: #48c78e; } + .progress.is-success:indeterminate { + background-image: linear-gradient(to right, #48c78e 30%, #ededed 30%); } + .progress.is-warning::-webkit-progress-value { + background-color: #ffe08a; } + .progress.is-warning::-moz-progress-bar { + background-color: #ffe08a; } + .progress.is-warning::-ms-fill { + background-color: #ffe08a; } + .progress.is-warning:indeterminate { + background-image: linear-gradient(to right, #ffe08a 30%, #ededed 30%); } + .progress.is-danger::-webkit-progress-value { + background-color: #f14668; } + .progress.is-danger::-moz-progress-bar { + background-color: #f14668; } + .progress.is-danger::-ms-fill { + background-color: #f14668; } + .progress.is-danger:indeterminate { + background-image: linear-gradient(to right, #f14668 30%, #ededed 30%); } + .progress:indeterminate { + animation-duration: 1.5s; + animation-iteration-count: infinite; + animation-name: moveIndeterminate; + animation-timing-function: linear; + background-color: #ededed; + background-image: linear-gradient(to right, #4a4a4a 30%, #ededed 30%); + background-position: top left; + background-repeat: no-repeat; + background-size: 150% 150%; } + .progress:indeterminate::-webkit-progress-bar { + background-color: transparent; } + .progress:indeterminate::-moz-progress-bar { + background-color: transparent; } + .progress:indeterminate::-ms-fill { + animation-name: none; } + .progress.is-small { + height: 0.75rem; } + .progress.is-medium { + height: 1.25rem; } + .progress.is-large { + height: 1.5rem; } + +@keyframes moveIndeterminate { + from { + background-position: 200% 0; } + to { + background-position: -200% 0; } } + +.table { + background-color: white; + color: #363636; } + .table td, + .table th { + border: 1px solid #dbdbdb; + border-width: 0 0 1px; + padding: 0.5em 0.75em; + vertical-align: top; } + .table td.is-white, + .table th.is-white { + background-color: white; + border-color: white; + color: #0a0a0a; } + .table td.is-black, + .table th.is-black { + background-color: #0a0a0a; + border-color: #0a0a0a; + color: white; } + .table td.is-light, + .table th.is-light { + background-color: whitesmoke; + border-color: whitesmoke; + color: rgba(0, 0, 0, 0.7); } + .table td.is-dark, + .table th.is-dark { + background-color: #181818; + border-color: #181818; + color: #fff; } + .table td.is-primary, + .table th.is-primary { + background-color: #016FB9; + border-color: #016FB9; + color: #fff; } + .table td.is-link, + .table th.is-link { + background-color: #016FB9; + border-color: #016FB9; + color: #fff; } + .table td.is-info, + .table th.is-info { + background-color: #3e8ed0; + border-color: #3e8ed0; + color: #fff; } + .table td.is-success, + .table th.is-success { + background-color: #48c78e; + border-color: #48c78e; + color: #fff; } + .table td.is-warning, + .table th.is-warning { + background-color: #ffe08a; + border-color: #ffe08a; + color: rgba(0, 0, 0, 0.7); } + .table td.is-danger, + .table th.is-danger { + background-color: #f14668; + border-color: #f14668; + color: #fff; } + .table td.is-narrow, + .table th.is-narrow { + white-space: nowrap; + width: 1%; } + .table td.is-selected, + .table th.is-selected { + background-color: #016FB9; + color: #fff; } + .table td.is-selected a, + .table td.is-selected strong, + .table th.is-selected a, + .table th.is-selected strong { + color: currentColor; } + .table td.is-vcentered, + .table th.is-vcentered { + vertical-align: middle; } + .table th { + color: #363636; } + .table th:not([align]) { + text-align: left; } + .table tr.is-selected { + background-color: #016FB9; + color: #fff; } + .table tr.is-selected a, + .table tr.is-selected strong { + color: currentColor; } + .table tr.is-selected td, + .table tr.is-selected th { + border-color: #fff; + color: currentColor; } + .table thead { + background-color: transparent; } + .table thead td, + .table thead th { + border-width: 0 0 2px; + color: #363636; } + .table tfoot { + background-color: transparent; } + .table tfoot td, + .table tfoot th { + border-width: 2px 0 0; + color: #363636; } + .table tbody { + background-color: transparent; } + .table tbody tr:last-child td, + .table tbody tr:last-child th { + border-bottom-width: 0; } + .table.is-bordered td, + .table.is-bordered th { + border-width: 1px; } + .table.is-bordered tr:last-child td, + .table.is-bordered tr:last-child th { + border-bottom-width: 1px; } + .table.is-fullwidth { + width: 100%; } + .table.is-hoverable tbody tr:not(.is-selected):hover { + background-color: #fafafa; } + .table.is-hoverable.is-striped tbody tr:not(.is-selected):hover { + background-color: #fafafa; } + .table.is-hoverable.is-striped tbody tr:not(.is-selected):hover:nth-child(even) { + background-color: whitesmoke; } + .table.is-narrow td, + .table.is-narrow th { + padding: 0.25em 0.5em; } + .table.is-striped tbody tr:not(.is-selected):nth-child(even) { + background-color: #fafafa; } + +.table-container { + -webkit-overflow-scrolling: touch; + overflow: auto; + overflow-y: hidden; + max-width: 100%; } + +.tags { + align-items: center; + display: flex; + flex-wrap: wrap; + justify-content: flex-start; } + .tags .tag { + margin-bottom: 0.5rem; } + .tags .tag:not(:last-child) { + margin-right: 0.5rem; } + .tags:last-child { + margin-bottom: -0.5rem; } + .tags:not(:last-child) { + margin-bottom: 1rem; } + .tags.are-medium .tag:not(.is-normal):not(.is-large) { + font-size: 1rem; } + .tags.are-large .tag:not(.is-normal):not(.is-medium) { + font-size: 1.25rem; } + .tags.is-centered { + justify-content: center; } + .tags.is-centered .tag { + margin-right: 0.25rem; + margin-left: 0.25rem; } + .tags.is-right { + justify-content: flex-end; } + .tags.is-right .tag:not(:first-child) { + margin-left: 0.5rem; } + .tags.is-right .tag:not(:last-child) { + margin-right: 0; } + .tags.has-addons .tag { + margin-right: 0; } + .tags.has-addons .tag:not(:first-child) { + margin-left: 0; + border-top-left-radius: 0; + border-bottom-left-radius: 0; } + .tags.has-addons .tag:not(:last-child) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; } + +.tag:not(body) { + align-items: center; + background-color: whitesmoke; + border-radius: 4px; + color: #4a4a4a; + display: inline-flex; + font-size: 0.75rem; + height: 2em; + justify-content: center; + line-height: 1.5; + padding-left: 0.75em; + padding-right: 0.75em; + white-space: nowrap; } + .tag:not(body) .delete { + margin-left: 0.25rem; + margin-right: -0.375rem; } + .tag:not(body).is-white { + background-color: white; + color: #0a0a0a; } + .tag:not(body).is-black { + background-color: #0a0a0a; + color: white; } + .tag:not(body).is-light { + background-color: whitesmoke; + color: rgba(0, 0, 0, 0.7); } + .tag:not(body).is-dark { + background-color: #181818; + color: #fff; } + .tag:not(body).is-primary { + background-color: #016FB9; + color: #fff; } + .tag:not(body).is-primary.is-light { + background-color: #ebf7ff; + color: #018fee; } + .tag:not(body).is-link { + background-color: #016FB9; + color: #fff; } + .tag:not(body).is-link.is-light { + background-color: #ebf7ff; + color: #018fee; } + .tag:not(body).is-info { + background-color: #3e8ed0; + color: #fff; } + .tag:not(body).is-info.is-light { + background-color: #eff5fb; + color: #296fa8; } + .tag:not(body).is-success { + background-color: #48c78e; + color: #fff; } + .tag:not(body).is-success.is-light { + background-color: #effaf5; + color: #257953; } + .tag:not(body).is-warning { + background-color: #ffe08a; + color: rgba(0, 0, 0, 0.7); } + .tag:not(body).is-warning.is-light { + background-color: #fffaeb; + color: #946c00; } + .tag:not(body).is-danger { + background-color: #f14668; + color: #fff; } + .tag:not(body).is-danger.is-light { + background-color: #feecf0; + color: #cc0f35; } + .tag:not(body).is-normal { + font-size: 0.75rem; } + .tag:not(body).is-medium { + font-size: 1rem; } + .tag:not(body).is-large { + font-size: 1.25rem; } + .tag:not(body) .icon:first-child:not(:last-child) { + margin-left: -0.375em; + margin-right: 0.1875em; } + .tag:not(body) .icon:last-child:not(:first-child) { + margin-left: 0.1875em; + margin-right: -0.375em; } + .tag:not(body) .icon:first-child:last-child { + margin-left: -0.375em; + margin-right: -0.375em; } + .tag:not(body).is-delete { + margin-left: 1px; + padding: 0; + position: relative; + width: 2em; } + .tag:not(body).is-delete::before, .tag:not(body).is-delete::after { + background-color: currentColor; + content: ""; + display: block; + left: 50%; + position: absolute; + top: 50%; + transform: translateX(-50%) translateY(-50%) rotate(45deg); + transform-origin: center center; } + .tag:not(body).is-delete::before { + height: 1px; + width: 50%; } + .tag:not(body).is-delete::after { + height: 50%; + width: 1px; } + .tag:not(body).is-delete:hover, .tag:not(body).is-delete:focus { + background-color: #e8e8e8; } + .tag:not(body).is-delete:active { + background-color: #dbdbdb; } + .tag:not(body).is-rounded { + border-radius: 9999px; } + +a.tag:hover { + text-decoration: underline; } + +.title, +.subtitle { + word-break: break-word; } + .title em, + .title span, + .subtitle em, + .subtitle span { + font-weight: inherit; } + .title sub, + .subtitle sub { + font-size: 0.75em; } + .title sup, + .subtitle sup { + font-size: 0.75em; } + .title .tag, + .subtitle .tag { + vertical-align: middle; } + +.title { + color: #363636; + font-size: 2rem; + font-weight: 600; + line-height: 1.125; } + .title strong { + color: inherit; + font-weight: inherit; } + .title:not(.is-spaced) + .subtitle { + margin-top: -1.25rem; } + .title.is-1 { + font-size: 3rem; } + .title.is-2 { + font-size: 2.5rem; } + .title.is-3 { + font-size: 2rem; } + .title.is-4 { + font-size: 1.5rem; } + .title.is-5 { + font-size: 1.25rem; } + .title.is-6 { + font-size: 1rem; } + .title.is-7 { + font-size: 0.75rem; } + +.subtitle { + color: #4a4a4a; + font-size: 1.25rem; + font-weight: 400; + line-height: 1.25; } + .subtitle strong { + color: #363636; + font-weight: 600; } + .subtitle:not(.is-spaced) + .title { + margin-top: -1.25rem; } + .subtitle.is-1 { + font-size: 3rem; } + .subtitle.is-2 { + font-size: 2.5rem; } + .subtitle.is-3 { + font-size: 2rem; } + .subtitle.is-4 { + font-size: 1.5rem; } + .subtitle.is-5 { + font-size: 1.25rem; } + .subtitle.is-6 { + font-size: 1rem; } + .subtitle.is-7 { + font-size: 0.75rem; } + +.heading { + display: block; + font-size: 11px; + letter-spacing: 1px; + margin-bottom: 5px; + text-transform: uppercase; } + +.number { + align-items: center; + background-color: whitesmoke; + border-radius: 9999px; + display: inline-flex; + font-size: 1.25rem; + height: 2em; + justify-content: center; + margin-right: 1.5rem; + min-width: 2.5em; + padding: 0.25rem 0.5rem; + text-align: center; + vertical-align: top; } + +/* Bulma Form */ +.input, .textarea, .select select { + background-color: white; + border-color: #dbdbdb; + border-radius: 4px; + color: #363636; } + .input::-moz-placeholder, .textarea::-moz-placeholder, .select select::-moz-placeholder { + color: rgba(54, 54, 54, 0.3); } + .input::-webkit-input-placeholder, .textarea::-webkit-input-placeholder, .select select::-webkit-input-placeholder { + color: rgba(54, 54, 54, 0.3); } + .input:-moz-placeholder, .textarea:-moz-placeholder, .select select:-moz-placeholder { + color: rgba(54, 54, 54, 0.3); } + .input:-ms-input-placeholder, .textarea:-ms-input-placeholder, .select select:-ms-input-placeholder { + color: rgba(54, 54, 54, 0.3); } + .input:hover, .textarea:hover, .select select:hover, .is-hovered.input, .is-hovered.textarea, .select select.is-hovered { + border-color: #b5b5b5; } + .input:focus, .textarea:focus, .select select:focus, .is-focused.input, .is-focused.textarea, .select select.is-focused, .input:active, .textarea:active, .select select:active, .is-active.input, .is-active.textarea, .select select.is-active { + border-color: #016FB9; + box-shadow: 0 0 0 0.125em rgba(1, 111, 185, 0.25); } + .input[disabled], .textarea[disabled], .select select[disabled], + fieldset[disabled] .input, + fieldset[disabled] .textarea, + fieldset[disabled] .select select, + .select fieldset[disabled] select { + background-color: whitesmoke; + border-color: whitesmoke; + box-shadow: none; + color: #7a7a7a; } + .input[disabled]::-moz-placeholder, .textarea[disabled]::-moz-placeholder, .select select[disabled]::-moz-placeholder, + fieldset[disabled] .input::-moz-placeholder, + fieldset[disabled] .textarea::-moz-placeholder, + fieldset[disabled] .select select::-moz-placeholder, + .select fieldset[disabled] select::-moz-placeholder { + color: rgba(122, 122, 122, 0.3); } + .input[disabled]::-webkit-input-placeholder, .textarea[disabled]::-webkit-input-placeholder, .select select[disabled]::-webkit-input-placeholder, + fieldset[disabled] .input::-webkit-input-placeholder, + fieldset[disabled] .textarea::-webkit-input-placeholder, + fieldset[disabled] .select select::-webkit-input-placeholder, + .select fieldset[disabled] select::-webkit-input-placeholder { + color: rgba(122, 122, 122, 0.3); } + .input[disabled]:-moz-placeholder, .textarea[disabled]:-moz-placeholder, .select select[disabled]:-moz-placeholder, + fieldset[disabled] .input:-moz-placeholder, + fieldset[disabled] .textarea:-moz-placeholder, + fieldset[disabled] .select select:-moz-placeholder, + .select fieldset[disabled] select:-moz-placeholder { + color: rgba(122, 122, 122, 0.3); } + .input[disabled]:-ms-input-placeholder, .textarea[disabled]:-ms-input-placeholder, .select select[disabled]:-ms-input-placeholder, + fieldset[disabled] .input:-ms-input-placeholder, + fieldset[disabled] .textarea:-ms-input-placeholder, + fieldset[disabled] .select select:-ms-input-placeholder, + .select fieldset[disabled] select:-ms-input-placeholder { + color: rgba(122, 122, 122, 0.3); } + +.input, .textarea { + box-shadow: inset 0 0.0625em 0.125em rgba(10, 10, 10, 0.05); + max-width: 100%; + width: 100%; } + .input[readonly], .textarea[readonly] { + box-shadow: none; } + .is-white.input, .is-white.textarea { + border-color: white; } + .is-white.input:focus, .is-white.textarea:focus, .is-white.is-focused.input, .is-white.is-focused.textarea, .is-white.input:active, .is-white.textarea:active, .is-white.is-active.input, .is-white.is-active.textarea { + box-shadow: 0 0 0 0.125em rgba(255, 255, 255, 0.25); } + .is-black.input, .is-black.textarea { + border-color: #0a0a0a; } + .is-black.input:focus, .is-black.textarea:focus, .is-black.is-focused.input, .is-black.is-focused.textarea, .is-black.input:active, .is-black.textarea:active, .is-black.is-active.input, .is-black.is-active.textarea { + box-shadow: 0 0 0 0.125em rgba(10, 10, 10, 0.25); } + .is-light.input, .is-light.textarea { + border-color: whitesmoke; } + .is-light.input:focus, .is-light.textarea:focus, .is-light.is-focused.input, .is-light.is-focused.textarea, .is-light.input:active, .is-light.textarea:active, .is-light.is-active.input, .is-light.is-active.textarea { + box-shadow: 0 0 0 0.125em rgba(245, 245, 245, 0.25); } + .is-dark.input, .is-dark.textarea { + border-color: #181818; } + .is-dark.input:focus, .is-dark.textarea:focus, .is-dark.is-focused.input, .is-dark.is-focused.textarea, .is-dark.input:active, .is-dark.textarea:active, .is-dark.is-active.input, .is-dark.is-active.textarea { + box-shadow: 0 0 0 0.125em rgba(24, 24, 24, 0.25); } + .is-primary.input, .is-primary.textarea { + border-color: #016FB9; } + .is-primary.input:focus, .is-primary.textarea:focus, .is-primary.is-focused.input, .is-primary.is-focused.textarea, .is-primary.input:active, .is-primary.textarea:active, .is-primary.is-active.input, .is-primary.is-active.textarea { + box-shadow: 0 0 0 0.125em rgba(1, 111, 185, 0.25); } + .is-link.input, .is-link.textarea { + border-color: #016FB9; } + .is-link.input:focus, .is-link.textarea:focus, .is-link.is-focused.input, .is-link.is-focused.textarea, .is-link.input:active, .is-link.textarea:active, .is-link.is-active.input, .is-link.is-active.textarea { + box-shadow: 0 0 0 0.125em rgba(1, 111, 185, 0.25); } + .is-info.input, .is-info.textarea { + border-color: #3e8ed0; } + .is-info.input:focus, .is-info.textarea:focus, .is-info.is-focused.input, .is-info.is-focused.textarea, .is-info.input:active, .is-info.textarea:active, .is-info.is-active.input, .is-info.is-active.textarea { + box-shadow: 0 0 0 0.125em rgba(62, 142, 208, 0.25); } + .is-success.input, .is-success.textarea { + border-color: #48c78e; } + .is-success.input:focus, .is-success.textarea:focus, .is-success.is-focused.input, .is-success.is-focused.textarea, .is-success.input:active, .is-success.textarea:active, .is-success.is-active.input, .is-success.is-active.textarea { + box-shadow: 0 0 0 0.125em rgba(72, 199, 142, 0.25); } + .is-warning.input, .is-warning.textarea { + border-color: #ffe08a; } + .is-warning.input:focus, .is-warning.textarea:focus, .is-warning.is-focused.input, .is-warning.is-focused.textarea, .is-warning.input:active, .is-warning.textarea:active, .is-warning.is-active.input, .is-warning.is-active.textarea { + box-shadow: 0 0 0 0.125em rgba(255, 224, 138, 0.25); } + .is-danger.input, .is-danger.textarea { + border-color: #f14668; } + .is-danger.input:focus, .is-danger.textarea:focus, .is-danger.is-focused.input, .is-danger.is-focused.textarea, .is-danger.input:active, .is-danger.textarea:active, .is-danger.is-active.input, .is-danger.is-active.textarea { + box-shadow: 0 0 0 0.125em rgba(241, 70, 104, 0.25); } + .is-small.input, .is-small.textarea { + border-radius: 2px; + font-size: 0.75rem; } + .is-medium.input, .is-medium.textarea { + font-size: 1.25rem; } + .is-large.input, .is-large.textarea { + font-size: 1.5rem; } + .is-fullwidth.input, .is-fullwidth.textarea { + display: block; + width: 100%; } + .is-inline.input, .is-inline.textarea { + display: inline; + width: auto; } + +.input.is-rounded { + border-radius: 9999px; + padding-left: calc(calc(0.75em - 1px) + 0.375em); + padding-right: calc(calc(0.75em - 1px) + 0.375em); } + +.input.is-static { + background-color: transparent; + border-color: transparent; + box-shadow: none; + padding-left: 0; + padding-right: 0; } + +.textarea { + display: block; + max-width: 100%; + min-width: 100%; + padding: calc(0.75em - 1px); + resize: vertical; } + .textarea:not([rows]) { + max-height: 40em; + min-height: 8em; } + .textarea[rows] { + height: initial; } + .textarea.has-fixed-size { + resize: none; } + +.checkbox, .radio { + cursor: pointer; + display: inline-block; + line-height: 1.25; + position: relative; } + .checkbox input, .radio input { + cursor: pointer; } + .checkbox:hover, .radio:hover { + color: #363636; } + .checkbox[disabled], .radio[disabled], + fieldset[disabled] .checkbox, + fieldset[disabled] .radio, + .checkbox input[disabled], + .radio input[disabled] { + color: #7a7a7a; + cursor: not-allowed; } + +.radio + .radio { + margin-left: 0.5em; } + +.select { + display: inline-block; + max-width: 100%; + position: relative; + vertical-align: top; } + .select:not(.is-multiple) { + height: 2.5em; } + .select:not(.is-multiple):not(.is-loading)::after { + border-color: #016FB9; + right: 1.125em; + z-index: 4; } + .select.is-rounded select { + border-radius: 9999px; + padding-left: 1em; } + .select select { + cursor: pointer; + display: block; + font-size: 1em; + max-width: 100%; + outline: none; } + .select select::-ms-expand { + display: none; } + .select select[disabled]:hover, + fieldset[disabled] .select select:hover { + border-color: whitesmoke; } + .select select:not([multiple]) { + padding-right: 2.5em; } + .select select[multiple] { + height: auto; + padding: 0; } + .select select[multiple] option { + padding: 0.5em 1em; } + .select:not(.is-multiple):not(.is-loading):hover::after { + border-color: #363636; } + .select.is-white:not(:hover)::after { + border-color: white; } + .select.is-white select { + border-color: white; } + .select.is-white select:hover, .select.is-white select.is-hovered { + border-color: #f2f2f2; } + .select.is-white select:focus, .select.is-white select.is-focused, .select.is-white select:active, .select.is-white select.is-active { + box-shadow: 0 0 0 0.125em rgba(255, 255, 255, 0.25); } + .select.is-black:not(:hover)::after { + border-color: #0a0a0a; } + .select.is-black select { + border-color: #0a0a0a; } + .select.is-black select:hover, .select.is-black select.is-hovered { + border-color: black; } + .select.is-black select:focus, .select.is-black select.is-focused, .select.is-black select:active, .select.is-black select.is-active { + box-shadow: 0 0 0 0.125em rgba(10, 10, 10, 0.25); } + .select.is-light:not(:hover)::after { + border-color: whitesmoke; } + .select.is-light select { + border-color: whitesmoke; } + .select.is-light select:hover, .select.is-light select.is-hovered { + border-color: #e8e8e8; } + .select.is-light select:focus, .select.is-light select.is-focused, .select.is-light select:active, .select.is-light select.is-active { + box-shadow: 0 0 0 0.125em rgba(245, 245, 245, 0.25); } + .select.is-dark:not(:hover)::after { + border-color: #181818; } + .select.is-dark select { + border-color: #181818; } + .select.is-dark select:hover, .select.is-dark select.is-hovered { + border-color: #0b0b0b; } + .select.is-dark select:focus, .select.is-dark select.is-focused, .select.is-dark select:active, .select.is-dark select.is-active { + box-shadow: 0 0 0 0.125em rgba(24, 24, 24, 0.25); } + .select.is-primary:not(:hover)::after { + border-color: #016FB9; } + .select.is-primary select { + border-color: #016FB9; } + .select.is-primary select:hover, .select.is-primary select.is-hovered { + border-color: #0160a0; } + .select.is-primary select:focus, .select.is-primary select.is-focused, .select.is-primary select:active, .select.is-primary select.is-active { + box-shadow: 0 0 0 0.125em rgba(1, 111, 185, 0.25); } + .select.is-link:not(:hover)::after { + border-color: #016FB9; } + .select.is-link select { + border-color: #016FB9; } + .select.is-link select:hover, .select.is-link select.is-hovered { + border-color: #0160a0; } + .select.is-link select:focus, .select.is-link select.is-focused, .select.is-link select:active, .select.is-link select.is-active { + box-shadow: 0 0 0 0.125em rgba(1, 111, 185, 0.25); } + .select.is-info:not(:hover)::after { + border-color: #3e8ed0; } + .select.is-info select { + border-color: #3e8ed0; } + .select.is-info select:hover, .select.is-info select.is-hovered { + border-color: #3082c5; } + .select.is-info select:focus, .select.is-info select.is-focused, .select.is-info select:active, .select.is-info select.is-active { + box-shadow: 0 0 0 0.125em rgba(62, 142, 208, 0.25); } + .select.is-success:not(:hover)::after { + border-color: #48c78e; } + .select.is-success select { + border-color: #48c78e; } + .select.is-success select:hover, .select.is-success select.is-hovered { + border-color: #3abb81; } + .select.is-success select:focus, .select.is-success select.is-focused, .select.is-success select:active, .select.is-success select.is-active { + box-shadow: 0 0 0 0.125em rgba(72, 199, 142, 0.25); } + .select.is-warning:not(:hover)::after { + border-color: #ffe08a; } + .select.is-warning select { + border-color: #ffe08a; } + .select.is-warning select:hover, .select.is-warning select.is-hovered { + border-color: #ffd970; } + .select.is-warning select:focus, .select.is-warning select.is-focused, .select.is-warning select:active, .select.is-warning select.is-active { + box-shadow: 0 0 0 0.125em rgba(255, 224, 138, 0.25); } + .select.is-danger:not(:hover)::after { + border-color: #f14668; } + .select.is-danger select { + border-color: #f14668; } + .select.is-danger select:hover, .select.is-danger select.is-hovered { + border-color: #ef2e55; } + .select.is-danger select:focus, .select.is-danger select.is-focused, .select.is-danger select:active, .select.is-danger select.is-active { + box-shadow: 0 0 0 0.125em rgba(241, 70, 104, 0.25); } + .select.is-small { + border-radius: 2px; + font-size: 0.75rem; } + .select.is-medium { + font-size: 1.25rem; } + .select.is-large { + font-size: 1.5rem; } + .select.is-disabled::after { + border-color: #7a7a7a !important; + opacity: 0.5; } + .select.is-fullwidth { + width: 100%; } + .select.is-fullwidth select { + width: 100%; } + .select.is-loading::after { + margin-top: 0; + position: absolute; + right: 0.625em; + top: 0.625em; + transform: none; } + .select.is-loading.is-small:after { + font-size: 0.75rem; } + .select.is-loading.is-medium:after { + font-size: 1.25rem; } + .select.is-loading.is-large:after { + font-size: 1.5rem; } + +.file { + align-items: stretch; + display: flex; + justify-content: flex-start; + position: relative; } + .file.is-white .file-cta { + background-color: white; + border-color: transparent; + color: #0a0a0a; } + .file.is-white:hover .file-cta, .file.is-white.is-hovered .file-cta { + background-color: #f9f9f9; + border-color: transparent; + color: #0a0a0a; } + .file.is-white:focus .file-cta, .file.is-white.is-focused .file-cta { + border-color: transparent; + box-shadow: 0 0 0.5em rgba(255, 255, 255, 0.25); + color: #0a0a0a; } + .file.is-white:active .file-cta, .file.is-white.is-active .file-cta { + background-color: #f2f2f2; + border-color: transparent; + color: #0a0a0a; } + .file.is-black .file-cta { + background-color: #0a0a0a; + border-color: transparent; + color: white; } + .file.is-black:hover .file-cta, .file.is-black.is-hovered .file-cta { + background-color: #040404; + border-color: transparent; + color: white; } + .file.is-black:focus .file-cta, .file.is-black.is-focused .file-cta { + border-color: transparent; + box-shadow: 0 0 0.5em rgba(10, 10, 10, 0.25); + color: white; } + .file.is-black:active .file-cta, .file.is-black.is-active .file-cta { + background-color: black; + border-color: transparent; + color: white; } + .file.is-light .file-cta { + background-color: whitesmoke; + border-color: transparent; + color: rgba(0, 0, 0, 0.7); } + .file.is-light:hover .file-cta, .file.is-light.is-hovered .file-cta { + background-color: #eeeeee; + border-color: transparent; + color: rgba(0, 0, 0, 0.7); } + .file.is-light:focus .file-cta, .file.is-light.is-focused .file-cta { + border-color: transparent; + box-shadow: 0 0 0.5em rgba(245, 245, 245, 0.25); + color: rgba(0, 0, 0, 0.7); } + .file.is-light:active .file-cta, .file.is-light.is-active .file-cta { + background-color: #e8e8e8; + border-color: transparent; + color: rgba(0, 0, 0, 0.7); } + .file.is-dark .file-cta { + background-color: #181818; + border-color: transparent; + color: #fff; } + .file.is-dark:hover .file-cta, .file.is-dark.is-hovered .file-cta { + background-color: #121212; + border-color: transparent; + color: #fff; } + .file.is-dark:focus .file-cta, .file.is-dark.is-focused .file-cta { + border-color: transparent; + box-shadow: 0 0 0.5em rgba(24, 24, 24, 0.25); + color: #fff; } + .file.is-dark:active .file-cta, .file.is-dark.is-active .file-cta { + background-color: #0b0b0b; + border-color: transparent; + color: #fff; } + .file.is-primary .file-cta { + background-color: #016FB9; + border-color: transparent; + color: #fff; } + .file.is-primary:hover .file-cta, .file.is-primary.is-hovered .file-cta { + background-color: #0167ac; + border-color: transparent; + color: #fff; } + .file.is-primary:focus .file-cta, .file.is-primary.is-focused .file-cta { + border-color: transparent; + box-shadow: 0 0 0.5em rgba(1, 111, 185, 0.25); + color: #fff; } + .file.is-primary:active .file-cta, .file.is-primary.is-active .file-cta { + background-color: #0160a0; + border-color: transparent; + color: #fff; } + .file.is-link .file-cta { + background-color: #016FB9; + border-color: transparent; + color: #fff; } + .file.is-link:hover .file-cta, .file.is-link.is-hovered .file-cta { + background-color: #0167ac; + border-color: transparent; + color: #fff; } + .file.is-link:focus .file-cta, .file.is-link.is-focused .file-cta { + border-color: transparent; + box-shadow: 0 0 0.5em rgba(1, 111, 185, 0.25); + color: #fff; } + .file.is-link:active .file-cta, .file.is-link.is-active .file-cta { + background-color: #0160a0; + border-color: transparent; + color: #fff; } + .file.is-info .file-cta { + background-color: #3e8ed0; + border-color: transparent; + color: #fff; } + .file.is-info:hover .file-cta, .file.is-info.is-hovered .file-cta { + background-color: #3488ce; + border-color: transparent; + color: #fff; } + .file.is-info:focus .file-cta, .file.is-info.is-focused .file-cta { + border-color: transparent; + box-shadow: 0 0 0.5em rgba(62, 142, 208, 0.25); + color: #fff; } + .file.is-info:active .file-cta, .file.is-info.is-active .file-cta { + background-color: #3082c5; + border-color: transparent; + color: #fff; } + .file.is-success .file-cta { + background-color: #48c78e; + border-color: transparent; + color: #fff; } + .file.is-success:hover .file-cta, .file.is-success.is-hovered .file-cta { + background-color: #3ec487; + border-color: transparent; + color: #fff; } + .file.is-success:focus .file-cta, .file.is-success.is-focused .file-cta { + border-color: transparent; + box-shadow: 0 0 0.5em rgba(72, 199, 142, 0.25); + color: #fff; } + .file.is-success:active .file-cta, .file.is-success.is-active .file-cta { + background-color: #3abb81; + border-color: transparent; + color: #fff; } + .file.is-warning .file-cta { + background-color: #ffe08a; + border-color: transparent; + color: rgba(0, 0, 0, 0.7); } + .file.is-warning:hover .file-cta, .file.is-warning.is-hovered .file-cta { + background-color: #ffdc7d; + border-color: transparent; + color: rgba(0, 0, 0, 0.7); } + .file.is-warning:focus .file-cta, .file.is-warning.is-focused .file-cta { + border-color: transparent; + box-shadow: 0 0 0.5em rgba(255, 224, 138, 0.25); + color: rgba(0, 0, 0, 0.7); } + .file.is-warning:active .file-cta, .file.is-warning.is-active .file-cta { + background-color: #ffd970; + border-color: transparent; + color: rgba(0, 0, 0, 0.7); } + .file.is-danger .file-cta { + background-color: #f14668; + border-color: transparent; + color: #fff; } + .file.is-danger:hover .file-cta, .file.is-danger.is-hovered .file-cta { + background-color: #f03a5f; + border-color: transparent; + color: #fff; } + .file.is-danger:focus .file-cta, .file.is-danger.is-focused .file-cta { + border-color: transparent; + box-shadow: 0 0 0.5em rgba(241, 70, 104, 0.25); + color: #fff; } + .file.is-danger:active .file-cta, .file.is-danger.is-active .file-cta { + background-color: #ef2e55; + border-color: transparent; + color: #fff; } + .file.is-small { + font-size: 0.75rem; } + .file.is-normal { + font-size: 1rem; } + .file.is-medium { + font-size: 1.25rem; } + .file.is-medium .file-icon .fa { + font-size: 21px; } + .file.is-large { + font-size: 1.5rem; } + .file.is-large .file-icon .fa { + font-size: 28px; } + .file.has-name .file-cta { + border-bottom-right-radius: 0; + border-top-right-radius: 0; } + .file.has-name .file-name { + border-bottom-left-radius: 0; + border-top-left-radius: 0; } + .file.has-name.is-empty .file-cta { + border-radius: 4px; } + .file.has-name.is-empty .file-name { + display: none; } + .file.is-boxed .file-label { + flex-direction: column; } + .file.is-boxed .file-cta { + flex-direction: column; + height: auto; + padding: 1em 3em; } + .file.is-boxed .file-name { + border-width: 0 1px 1px; } + .file.is-boxed .file-icon { + height: 1.5em; + width: 1.5em; } + .file.is-boxed .file-icon .fa { + font-size: 21px; } + .file.is-boxed.is-small .file-icon .fa { + font-size: 14px; } + .file.is-boxed.is-medium .file-icon .fa { + font-size: 28px; } + .file.is-boxed.is-large .file-icon .fa { + font-size: 35px; } + .file.is-boxed.has-name .file-cta { + border-radius: 4px 4px 0 0; } + .file.is-boxed.has-name .file-name { + border-radius: 0 0 4px 4px; + border-width: 0 1px 1px; } + .file.is-centered { + justify-content: center; } + .file.is-fullwidth .file-label { + width: 100%; } + .file.is-fullwidth .file-name { + flex-grow: 1; + max-width: none; } + .file.is-right { + justify-content: flex-end; } + .file.is-right .file-cta { + border-radius: 0 4px 4px 0; } + .file.is-right .file-name { + border-radius: 4px 0 0 4px; + border-width: 1px 0 1px 1px; + order: -1; } + +.file-label { + align-items: stretch; + display: flex; + cursor: pointer; + justify-content: flex-start; + overflow: hidden; + position: relative; } + .file-label:hover .file-cta { + background-color: #eeeeee; + color: #363636; } + .file-label:hover .file-name { + border-color: #d5d5d5; } + .file-label:active .file-cta { + background-color: #e8e8e8; + color: #363636; } + .file-label:active .file-name { + border-color: #cfcfcf; } + +.file-input { + height: 100%; + left: 0; + opacity: 0; + outline: none; + position: absolute; + top: 0; + width: 100%; } + +.file-cta, +.file-name { + border-color: #dbdbdb; + border-radius: 4px; + font-size: 1em; + padding-left: 1em; + padding-right: 1em; + white-space: nowrap; } + +.file-cta { + background-color: whitesmoke; + color: #4a4a4a; } + +.file-name { + border-color: #dbdbdb; + border-style: solid; + border-width: 1px 1px 1px 0; + display: block; + max-width: 16em; + overflow: hidden; + text-align: inherit; + text-overflow: ellipsis; } + +.file-icon { + align-items: center; + display: flex; + height: 1em; + justify-content: center; + margin-right: 0.5em; + width: 1em; } + .file-icon .fa { + font-size: 14px; } + +.label { + color: #363636; + display: block; + font-size: 1rem; + font-weight: 700; } + .label:not(:last-child) { + margin-bottom: 0.5em; } + .label.is-small { + font-size: 0.75rem; } + .label.is-medium { + font-size: 1.25rem; } + .label.is-large { + font-size: 1.5rem; } + +.help { + display: block; + font-size: 0.75rem; + margin-top: 0.25rem; } + .help.is-white { + color: white; } + .help.is-black { + color: #0a0a0a; } + .help.is-light { + color: whitesmoke; } + .help.is-dark { + color: #181818; } + .help.is-primary { + color: #016FB9; } + .help.is-link { + color: #016FB9; } + .help.is-info { + color: #3e8ed0; } + .help.is-success { + color: #48c78e; } + .help.is-warning { + color: #ffe08a; } + .help.is-danger { + color: #f14668; } + +.field:not(:last-child) { + margin-bottom: 0.75rem; } + +.field.has-addons { + display: flex; + justify-content: flex-start; } + .field.has-addons .control:not(:last-child) { + margin-right: -1px; } + .field.has-addons .control:not(:first-child):not(:last-child) .button, + .field.has-addons .control:not(:first-child):not(:last-child) .input, + .field.has-addons .control:not(:first-child):not(:last-child) .select select { + border-radius: 0; } + .field.has-addons .control:first-child:not(:only-child) .button, + .field.has-addons .control:first-child:not(:only-child) .input, + .field.has-addons .control:first-child:not(:only-child) .select select { + border-bottom-right-radius: 0; + border-top-right-radius: 0; } + .field.has-addons .control:last-child:not(:only-child) .button, + .field.has-addons .control:last-child:not(:only-child) .input, + .field.has-addons .control:last-child:not(:only-child) .select select { + border-bottom-left-radius: 0; + border-top-left-radius: 0; } + .field.has-addons .control .button:not([disabled]):hover, .field.has-addons .control .button:not([disabled]).is-hovered, + .field.has-addons .control .input:not([disabled]):hover, + .field.has-addons .control .input:not([disabled]).is-hovered, + .field.has-addons .control .select select:not([disabled]):hover, + .field.has-addons .control .select select:not([disabled]).is-hovered { + z-index: 2; } + .field.has-addons .control .button:not([disabled]):focus, .field.has-addons .control .button:not([disabled]).is-focused, .field.has-addons .control .button:not([disabled]):active, .field.has-addons .control .button:not([disabled]).is-active, + .field.has-addons .control .input:not([disabled]):focus, + .field.has-addons .control .input:not([disabled]).is-focused, + .field.has-addons .control .input:not([disabled]):active, + .field.has-addons .control .input:not([disabled]).is-active, + .field.has-addons .control .select select:not([disabled]):focus, + .field.has-addons .control .select select:not([disabled]).is-focused, + .field.has-addons .control .select select:not([disabled]):active, + .field.has-addons .control .select select:not([disabled]).is-active { + z-index: 3; } + .field.has-addons .control .button:not([disabled]):focus:hover, .field.has-addons .control .button:not([disabled]).is-focused:hover, .field.has-addons .control .button:not([disabled]):active:hover, .field.has-addons .control .button:not([disabled]).is-active:hover, + .field.has-addons .control .input:not([disabled]):focus:hover, + .field.has-addons .control .input:not([disabled]).is-focused:hover, + .field.has-addons .control .input:not([disabled]):active:hover, + .field.has-addons .control .input:not([disabled]).is-active:hover, + .field.has-addons .control .select select:not([disabled]):focus:hover, + .field.has-addons .control .select select:not([disabled]).is-focused:hover, + .field.has-addons .control .select select:not([disabled]):active:hover, + .field.has-addons .control .select select:not([disabled]).is-active:hover { + z-index: 4; } + .field.has-addons .control.is-expanded { + flex-grow: 1; + flex-shrink: 1; } + .field.has-addons.has-addons-centered { + justify-content: center; } + .field.has-addons.has-addons-right { + justify-content: flex-end; } + .field.has-addons.has-addons-fullwidth .control { + flex-grow: 1; + flex-shrink: 0; } + +.field.is-grouped { + display: flex; + justify-content: flex-start; } + .field.is-grouped > .control { + flex-shrink: 0; } + .field.is-grouped > .control:not(:last-child) { + margin-bottom: 0; + margin-right: 0.75rem; } + .field.is-grouped > .control.is-expanded { + flex-grow: 1; + flex-shrink: 1; } + .field.is-grouped.is-grouped-centered { + justify-content: center; } + .field.is-grouped.is-grouped-right { + justify-content: flex-end; } + .field.is-grouped.is-grouped-multiline { + flex-wrap: wrap; } + .field.is-grouped.is-grouped-multiline > .control:last-child, .field.is-grouped.is-grouped-multiline > .control:not(:last-child) { + margin-bottom: 0.75rem; } + .field.is-grouped.is-grouped-multiline:last-child { + margin-bottom: -0.75rem; } + .field.is-grouped.is-grouped-multiline:not(:last-child) { + margin-bottom: 0; } + +@media screen and (min-width: 769px), print { + .field.is-horizontal { + display: flex; } } + +.field-label .label { + font-size: inherit; } + +@media screen and (max-width: 768px) { + .field-label { + margin-bottom: 0.5rem; } } + +@media screen and (min-width: 769px), print { + .field-label { + flex-basis: 0; + flex-grow: 1; + flex-shrink: 0; + margin-right: 1.5rem; + text-align: right; } + .field-label.is-small { + font-size: 0.75rem; + padding-top: 0.375em; } + .field-label.is-normal { + padding-top: 0.375em; } + .field-label.is-medium { + font-size: 1.25rem; + padding-top: 0.375em; } + .field-label.is-large { + font-size: 1.5rem; + padding-top: 0.375em; } } + +.field-body .field .field { + margin-bottom: 0; } + +@media screen and (min-width: 769px), print { + .field-body { + display: flex; + flex-basis: 0; + flex-grow: 5; + flex-shrink: 1; } + .field-body .field { + margin-bottom: 0; } + .field-body > .field { + flex-shrink: 1; } + .field-body > .field:not(.is-narrow) { + flex-grow: 1; } + .field-body > .field:not(:last-child) { + margin-right: 0.75rem; } } + +.control { + box-sizing: border-box; + clear: both; + font-size: 1rem; + position: relative; + text-align: inherit; } + .control.has-icons-left .input:focus ~ .icon, + .control.has-icons-left .select:focus ~ .icon, .control.has-icons-right .input:focus ~ .icon, + .control.has-icons-right .select:focus ~ .icon { + color: #4a4a4a; } + .control.has-icons-left .input.is-small ~ .icon, + .control.has-icons-left .select.is-small ~ .icon, .control.has-icons-right .input.is-small ~ .icon, + .control.has-icons-right .select.is-small ~ .icon { + font-size: 0.75rem; } + .control.has-icons-left .input.is-medium ~ .icon, + .control.has-icons-left .select.is-medium ~ .icon, .control.has-icons-right .input.is-medium ~ .icon, + .control.has-icons-right .select.is-medium ~ .icon { + font-size: 1.25rem; } + .control.has-icons-left .input.is-large ~ .icon, + .control.has-icons-left .select.is-large ~ .icon, .control.has-icons-right .input.is-large ~ .icon, + .control.has-icons-right .select.is-large ~ .icon { + font-size: 1.5rem; } + .control.has-icons-left .icon, .control.has-icons-right .icon { + color: #dbdbdb; + height: 2.5em; + pointer-events: none; + position: absolute; + top: 0; + width: 2.5em; + z-index: 4; } + .control.has-icons-left .input, + .control.has-icons-left .select select { + padding-left: 2.5em; } + .control.has-icons-left .icon.is-left { + left: 0; } + .control.has-icons-right .input, + .control.has-icons-right .select select { + padding-right: 2.5em; } + .control.has-icons-right .icon.is-right { + right: 0; } + .control.is-loading::after { + position: absolute !important; + right: 0.625em; + top: 0.625em; + z-index: 4; } + .control.is-loading.is-small:after { + font-size: 0.75rem; } + .control.is-loading.is-medium:after { + font-size: 1.25rem; } + .control.is-loading.is-large:after { + font-size: 1.5rem; } + +/* Bulma Components */ +.breadcrumb { + font-size: 1rem; + white-space: nowrap; } + .breadcrumb a { + align-items: center; + color: #016FB9; + display: flex; + justify-content: center; + padding: 0 0.75em; } + .breadcrumb a:hover { + color: #363636; } + .breadcrumb li { + align-items: center; + display: flex; } + .breadcrumb li:first-child a { + padding-left: 0; } + .breadcrumb li.is-active a { + color: #363636; + cursor: default; + pointer-events: none; } + .breadcrumb li + li::before { + color: #b5b5b5; + content: "\0002f"; } + .breadcrumb ul, + .breadcrumb ol { + align-items: flex-start; + display: flex; + flex-wrap: wrap; + justify-content: flex-start; } + .breadcrumb .icon:first-child { + margin-right: 0.5em; } + .breadcrumb .icon:last-child { + margin-left: 0.5em; } + .breadcrumb.is-centered ol, + .breadcrumb.is-centered ul { + justify-content: center; } + .breadcrumb.is-right ol, + .breadcrumb.is-right ul { + justify-content: flex-end; } + .breadcrumb.is-small { + font-size: 0.75rem; } + .breadcrumb.is-medium { + font-size: 1.25rem; } + .breadcrumb.is-large { + font-size: 1.5rem; } + .breadcrumb.has-arrow-separator li + li::before { + content: "\02192"; } + .breadcrumb.has-bullet-separator li + li::before { + content: "\02022"; } + .breadcrumb.has-dot-separator li + li::before { + content: "\000b7"; } + .breadcrumb.has-succeeds-separator li + li::before { + content: "\0227B"; } + +.card { + background-color: white; + border-radius: 0.25rem; + box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02); + color: #4a4a4a; + max-width: 100%; + position: relative; } + +.card-header:first-child, .card-content:first-child, .card-footer:first-child { + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; } + +.card-header:last-child, .card-content:last-child, .card-footer:last-child { + border-bottom-left-radius: 0.25rem; + border-bottom-right-radius: 0.25rem; } + +.card-header { + background-color: transparent; + align-items: stretch; + box-shadow: 0 0.125em 0.25em rgba(10, 10, 10, 0.1); + display: flex; } + +.card-header-title { + align-items: center; + color: #363636; + display: flex; + flex-grow: 1; + font-weight: 700; + padding: 0.75rem 1rem; } + .card-header-title.is-centered { + justify-content: center; } + +.card-header-icon { + -moz-appearance: none; + -webkit-appearance: none; + appearance: none; + background: none; + border: none; + color: currentColor; + font-family: inherit; + font-size: 1em; + margin: 0; + padding: 0; + align-items: center; + cursor: pointer; + display: flex; + justify-content: center; + padding: 0.75rem 1rem; } + +.card-image { + display: block; + position: relative; } + .card-image:first-child img { + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; } + .card-image:last-child img { + border-bottom-left-radius: 0.25rem; + border-bottom-right-radius: 0.25rem; } + +.card-content { + background-color: transparent; + padding: 1.5rem; } + +.card-footer { + background-color: transparent; + border-top: 1px solid #ededed; + align-items: stretch; + display: flex; } + +.card-footer-item { + align-items: center; + display: flex; + flex-basis: 0; + flex-grow: 1; + flex-shrink: 0; + justify-content: center; + padding: 0.75rem; } + .card-footer-item:not(:last-child) { + border-right: 1px solid #ededed; } + +.card .media:not(:last-child) { + margin-bottom: 1.5rem; } + +.dropdown { + display: inline-flex; + position: relative; + vertical-align: top; } + .dropdown.is-active .dropdown-menu, .dropdown.is-hoverable:hover .dropdown-menu { + display: block; } + .dropdown.is-right .dropdown-menu { + left: auto; + right: 0; } + .dropdown.is-up .dropdown-menu { + bottom: 100%; + padding-bottom: 4px; + padding-top: initial; + top: auto; } + +.dropdown-menu { + display: none; + left: 0; + min-width: 12rem; + padding-top: 4px; + position: absolute; + top: 100%; + z-index: 20; } + +.dropdown-content { + background-color: white; + border-radius: 4px; + box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02); + padding-bottom: 0.5rem; + padding-top: 0.5rem; } + +.dropdown-item { + color: #4a4a4a; + display: block; + font-size: 0.875rem; + line-height: 1.5; + padding: 0.375rem 1rem; + position: relative; } + +a.dropdown-item, +button.dropdown-item { + padding-right: 3rem; + text-align: inherit; + white-space: nowrap; + width: 100%; } + a.dropdown-item:hover, + button.dropdown-item:hover { + background-color: whitesmoke; + color: #0a0a0a; } + a.dropdown-item.is-active, + button.dropdown-item.is-active { + background-color: #016FB9; + color: #fff; } + +.dropdown-divider { + background-color: #ededed; + border: none; + display: block; + height: 1px; + margin: 0.5rem 0; } + +.level { + align-items: center; + justify-content: space-between; } + .level code { + border-radius: 4px; } + .level img { + display: inline-block; + vertical-align: top; } + .level.is-mobile { + display: flex; } + .level.is-mobile .level-left, + .level.is-mobile .level-right { + display: flex; } + .level.is-mobile .level-left + .level-right { + margin-top: 0; } + .level.is-mobile .level-item:not(:last-child) { + margin-bottom: 0; + margin-right: 0.75rem; } + .level.is-mobile .level-item:not(.is-narrow) { + flex-grow: 1; } + @media screen and (min-width: 769px), print { + .level { + display: flex; } + .level > .level-item:not(.is-narrow) { + flex-grow: 1; } } + +.level-item { + align-items: center; + display: flex; + flex-basis: auto; + flex-grow: 0; + flex-shrink: 0; + justify-content: center; } + .level-item .title, + .level-item .subtitle { + margin-bottom: 0; } + @media screen and (max-width: 768px) { + .level-item:not(:last-child) { + margin-bottom: 0.75rem; } } + +.level-left, +.level-right { + flex-basis: auto; + flex-grow: 0; + flex-shrink: 0; } + .level-left .level-item.is-flexible, + .level-right .level-item.is-flexible { + flex-grow: 1; } + @media screen and (min-width: 769px), print { + .level-left .level-item:not(:last-child), + .level-right .level-item:not(:last-child) { + margin-right: 0.75rem; } } + +.level-left { + align-items: center; + justify-content: flex-start; } + @media screen and (max-width: 768px) { + .level-left + .level-right { + margin-top: 1.5rem; } } + @media screen and (min-width: 769px), print { + .level-left { + display: flex; } } + +.level-right { + align-items: center; + justify-content: flex-end; } + @media screen and (min-width: 769px), print { + .level-right { + display: flex; } } + +.media { + align-items: flex-start; + display: flex; + text-align: inherit; } + .media .content:not(:last-child) { + margin-bottom: 0.75rem; } + .media .media { + border-top: 1px solid rgba(219, 219, 219, 0.5); + display: flex; + padding-top: 0.75rem; } + .media .media .content:not(:last-child), + .media .media .control:not(:last-child) { + margin-bottom: 0.5rem; } + .media .media .media { + padding-top: 0.5rem; } + .media .media .media + .media { + margin-top: 0.5rem; } + .media + .media { + border-top: 1px solid rgba(219, 219, 219, 0.5); + margin-top: 1rem; + padding-top: 1rem; } + .media.is-large + .media { + margin-top: 1.5rem; + padding-top: 1.5rem; } + +.media-left, +.media-right { + flex-basis: auto; + flex-grow: 0; + flex-shrink: 0; } + +.media-left { + margin-right: 1rem; } + +.media-right { + margin-left: 1rem; } + +.media-content { + flex-basis: auto; + flex-grow: 1; + flex-shrink: 1; + text-align: inherit; } + +@media screen and (max-width: 768px) { + .media-content { + overflow-x: auto; } } + +.menu { + font-size: 1rem; } + .menu.is-small { + font-size: 0.75rem; } + .menu.is-medium { + font-size: 1.25rem; } + .menu.is-large { + font-size: 1.5rem; } + +.menu-list { + line-height: 1.25; } + .menu-list a { + border-radius: 2px; + color: #4a4a4a; + display: block; + padding: 0.5em 0.75em; } + .menu-list a:hover { + background-color: whitesmoke; + color: #363636; } + .menu-list a.is-active { + background-color: #016FB9; + color: #fff; } + .menu-list li ul { + border-left: 1px solid #dbdbdb; + margin: 0.75em; + padding-left: 0.75em; } + +.menu-label { + color: #7a7a7a; + font-size: 0.75em; + letter-spacing: 0.1em; + text-transform: uppercase; } + .menu-label:not(:first-child) { + margin-top: 1em; } + .menu-label:not(:last-child) { + margin-bottom: 1em; } + +.message { + background-color: whitesmoke; + border-radius: 4px; + font-size: 1rem; } + .message strong { + color: currentColor; } + .message a:not(.button):not(.tag):not(.dropdown-item) { + color: currentColor; + text-decoration: underline; } + .message.is-small { + font-size: 0.75rem; } + .message.is-medium { + font-size: 1.25rem; } + .message.is-large { + font-size: 1.5rem; } + .message.is-white { + background-color: white; } + .message.is-white .message-header { + background-color: white; + color: #0a0a0a; } + .message.is-white .message-body { + border-color: white; } + .message.is-black { + background-color: #fafafa; } + .message.is-black .message-header { + background-color: #0a0a0a; + color: white; } + .message.is-black .message-body { + border-color: #0a0a0a; } + .message.is-light { + background-color: #fafafa; } + .message.is-light .message-header { + background-color: whitesmoke; + color: rgba(0, 0, 0, 0.7); } + .message.is-light .message-body { + border-color: whitesmoke; } + .message.is-dark { + background-color: #fafafa; } + .message.is-dark .message-header { + background-color: #181818; + color: #fff; } + .message.is-dark .message-body { + border-color: #181818; } + .message.is-primary { + background-color: #ebf7ff; } + .message.is-primary .message-header { + background-color: #016FB9; + color: #fff; } + .message.is-primary .message-body { + border-color: #016FB9; + color: #018fee; } + .message.is-link { + background-color: #ebf7ff; } + .message.is-link .message-header { + background-color: #016FB9; + color: #fff; } + .message.is-link .message-body { + border-color: #016FB9; + color: #018fee; } + .message.is-info { + background-color: #eff5fb; } + .message.is-info .message-header { + background-color: #3e8ed0; + color: #fff; } + .message.is-info .message-body { + border-color: #3e8ed0; + color: #296fa8; } + .message.is-success { + background-color: #effaf5; } + .message.is-success .message-header { + background-color: #48c78e; + color: #fff; } + .message.is-success .message-body { + border-color: #48c78e; + color: #257953; } + .message.is-warning { + background-color: #fffaeb; } + .message.is-warning .message-header { + background-color: #ffe08a; + color: rgba(0, 0, 0, 0.7); } + .message.is-warning .message-body { + border-color: #ffe08a; + color: #946c00; } + .message.is-danger { + background-color: #feecf0; } + .message.is-danger .message-header { + background-color: #f14668; + color: #fff; } + .message.is-danger .message-body { + border-color: #f14668; + color: #cc0f35; } + +.message-header { + align-items: center; + background-color: #4a4a4a; + border-radius: 4px 4px 0 0; + color: #fff; + display: flex; + font-weight: 700; + justify-content: space-between; + line-height: 1.25; + padding: 0.75em 1em; + position: relative; } + .message-header .delete { + flex-grow: 0; + flex-shrink: 0; + margin-left: 0.75em; } + .message-header + .message-body { + border-width: 0; + border-top-left-radius: 0; + border-top-right-radius: 0; } + +.message-body { + border-color: #dbdbdb; + border-radius: 4px; + border-style: solid; + border-width: 0 0 0 4px; + color: #4a4a4a; + padding: 1.25em 1.5em; } + .message-body code, + .message-body pre { + background-color: white; } + .message-body pre code { + background-color: transparent; } + +.modal { + align-items: center; + display: none; + flex-direction: column; + justify-content: center; + overflow: hidden; + position: fixed; + z-index: 40; } + .modal.is-active { + display: flex; } + +.modal-background { + background-color: rgba(10, 10, 10, 0.86); } + +.modal-content, +.modal-card { + margin: 0 20px; + max-height: calc(100vh - 160px); + overflow: auto; + position: relative; + width: 100%; } + @media screen and (min-width: 769px) { + .modal-content, + .modal-card { + margin: 0 auto; + max-height: calc(100vh - 40px); + width: 640px; } } + +.modal-close { + background: none; + height: 40px; + position: fixed; + right: 20px; + top: 20px; + width: 40px; } + +.modal-card { + display: flex; + flex-direction: column; + max-height: calc(100vh - 40px); + overflow: hidden; + -ms-overflow-y: visible; } + +.modal-card-head, +.modal-card-foot { + align-items: center; + background-color: whitesmoke; + display: flex; + flex-shrink: 0; + justify-content: flex-start; + padding: 20px; + position: relative; } + +.modal-card-head { + border-bottom: 1px solid #dbdbdb; + border-top-left-radius: 6px; + border-top-right-radius: 6px; } + +.modal-card-title { + color: #363636; + flex-grow: 1; + flex-shrink: 0; + font-size: 1.5rem; + line-height: 1; } + +.modal-card-foot { + border-bottom-left-radius: 6px; + border-bottom-right-radius: 6px; + border-top: 1px solid #dbdbdb; } + .modal-card-foot .button:not(:last-child) { + margin-right: 0.5em; } + +.modal-card-body { + -webkit-overflow-scrolling: touch; + background-color: white; + flex-grow: 1; + flex-shrink: 1; + overflow: auto; + padding: 20px; } + +.navbar { + background-color: white; + min-height: 3.25rem; + position: relative; + z-index: 30; } + .navbar.is-white { + background-color: white; + color: #0a0a0a; } + .navbar.is-white .navbar-brand > .navbar-item, + .navbar.is-white .navbar-brand .navbar-link { + color: #0a0a0a; } + .navbar.is-white .navbar-brand > a.navbar-item:focus, .navbar.is-white .navbar-brand > a.navbar-item:hover, .navbar.is-white .navbar-brand > a.navbar-item.is-active, + .navbar.is-white .navbar-brand .navbar-link:focus, + .navbar.is-white .navbar-brand .navbar-link:hover, + .navbar.is-white .navbar-brand .navbar-link.is-active { + background-color: #f2f2f2; + color: #0a0a0a; } + .navbar.is-white .navbar-brand .navbar-link::after { + border-color: #0a0a0a; } + .navbar.is-white .navbar-burger { + color: #0a0a0a; } + @media screen and (min-width: 1024px) { + .navbar.is-white .navbar-start > .navbar-item, + .navbar.is-white .navbar-start .navbar-link, + .navbar.is-white .navbar-end > .navbar-item, + .navbar.is-white .navbar-end .navbar-link { + color: #0a0a0a; } + .navbar.is-white .navbar-start > a.navbar-item:focus, .navbar.is-white .navbar-start > a.navbar-item:hover, .navbar.is-white .navbar-start > a.navbar-item.is-active, + .navbar.is-white .navbar-start .navbar-link:focus, + .navbar.is-white .navbar-start .navbar-link:hover, + .navbar.is-white .navbar-start .navbar-link.is-active, + .navbar.is-white .navbar-end > a.navbar-item:focus, + .navbar.is-white .navbar-end > a.navbar-item:hover, + .navbar.is-white .navbar-end > a.navbar-item.is-active, + .navbar.is-white .navbar-end .navbar-link:focus, + .navbar.is-white .navbar-end .navbar-link:hover, + .navbar.is-white .navbar-end .navbar-link.is-active { + background-color: #f2f2f2; + color: #0a0a0a; } + .navbar.is-white .navbar-start .navbar-link::after, + .navbar.is-white .navbar-end .navbar-link::after { + border-color: #0a0a0a; } + .navbar.is-white .navbar-item.has-dropdown:focus .navbar-link, + .navbar.is-white .navbar-item.has-dropdown:hover .navbar-link, + .navbar.is-white .navbar-item.has-dropdown.is-active .navbar-link { + background-color: #f2f2f2; + color: #0a0a0a; } + .navbar.is-white .navbar-dropdown a.navbar-item.is-active { + background-color: white; + color: #0a0a0a; } } + .navbar.is-black { + background-color: #0a0a0a; + color: white; } + .navbar.is-black .navbar-brand > .navbar-item, + .navbar.is-black .navbar-brand .navbar-link { + color: white; } + .navbar.is-black .navbar-brand > a.navbar-item:focus, .navbar.is-black .navbar-brand > a.navbar-item:hover, .navbar.is-black .navbar-brand > a.navbar-item.is-active, + .navbar.is-black .navbar-brand .navbar-link:focus, + .navbar.is-black .navbar-brand .navbar-link:hover, + .navbar.is-black .navbar-brand .navbar-link.is-active { + background-color: black; + color: white; } + .navbar.is-black .navbar-brand .navbar-link::after { + border-color: white; } + .navbar.is-black .navbar-burger { + color: white; } + @media screen and (min-width: 1024px) { + .navbar.is-black .navbar-start > .navbar-item, + .navbar.is-black .navbar-start .navbar-link, + .navbar.is-black .navbar-end > .navbar-item, + .navbar.is-black .navbar-end .navbar-link { + color: white; } + .navbar.is-black .navbar-start > a.navbar-item:focus, .navbar.is-black .navbar-start > a.navbar-item:hover, .navbar.is-black .navbar-start > a.navbar-item.is-active, + .navbar.is-black .navbar-start .navbar-link:focus, + .navbar.is-black .navbar-start .navbar-link:hover, + .navbar.is-black .navbar-start .navbar-link.is-active, + .navbar.is-black .navbar-end > a.navbar-item:focus, + .navbar.is-black .navbar-end > a.navbar-item:hover, + .navbar.is-black .navbar-end > a.navbar-item.is-active, + .navbar.is-black .navbar-end .navbar-link:focus, + .navbar.is-black .navbar-end .navbar-link:hover, + .navbar.is-black .navbar-end .navbar-link.is-active { + background-color: black; + color: white; } + .navbar.is-black .navbar-start .navbar-link::after, + .navbar.is-black .navbar-end .navbar-link::after { + border-color: white; } + .navbar.is-black .navbar-item.has-dropdown:focus .navbar-link, + .navbar.is-black .navbar-item.has-dropdown:hover .navbar-link, + .navbar.is-black .navbar-item.has-dropdown.is-active .navbar-link { + background-color: black; + color: white; } + .navbar.is-black .navbar-dropdown a.navbar-item.is-active { + background-color: #0a0a0a; + color: white; } } + .navbar.is-light { + background-color: whitesmoke; + color: rgba(0, 0, 0, 0.7); } + .navbar.is-light .navbar-brand > .navbar-item, + .navbar.is-light .navbar-brand .navbar-link { + color: rgba(0, 0, 0, 0.7); } + .navbar.is-light .navbar-brand > a.navbar-item:focus, .navbar.is-light .navbar-brand > a.navbar-item:hover, .navbar.is-light .navbar-brand > a.navbar-item.is-active, + .navbar.is-light .navbar-brand .navbar-link:focus, + .navbar.is-light .navbar-brand .navbar-link:hover, + .navbar.is-light .navbar-brand .navbar-link.is-active { + background-color: #e8e8e8; + color: rgba(0, 0, 0, 0.7); } + .navbar.is-light .navbar-brand .navbar-link::after { + border-color: rgba(0, 0, 0, 0.7); } + .navbar.is-light .navbar-burger { + color: rgba(0, 0, 0, 0.7); } + @media screen and (min-width: 1024px) { + .navbar.is-light .navbar-start > .navbar-item, + .navbar.is-light .navbar-start .navbar-link, + .navbar.is-light .navbar-end > .navbar-item, + .navbar.is-light .navbar-end .navbar-link { + color: rgba(0, 0, 0, 0.7); } + .navbar.is-light .navbar-start > a.navbar-item:focus, .navbar.is-light .navbar-start > a.navbar-item:hover, .navbar.is-light .navbar-start > a.navbar-item.is-active, + .navbar.is-light .navbar-start .navbar-link:focus, + .navbar.is-light .navbar-start .navbar-link:hover, + .navbar.is-light .navbar-start .navbar-link.is-active, + .navbar.is-light .navbar-end > a.navbar-item:focus, + .navbar.is-light .navbar-end > a.navbar-item:hover, + .navbar.is-light .navbar-end > a.navbar-item.is-active, + .navbar.is-light .navbar-end .navbar-link:focus, + .navbar.is-light .navbar-end .navbar-link:hover, + .navbar.is-light .navbar-end .navbar-link.is-active { + background-color: #e8e8e8; + color: rgba(0, 0, 0, 0.7); } + .navbar.is-light .navbar-start .navbar-link::after, + .navbar.is-light .navbar-end .navbar-link::after { + border-color: rgba(0, 0, 0, 0.7); } + .navbar.is-light .navbar-item.has-dropdown:focus .navbar-link, + .navbar.is-light .navbar-item.has-dropdown:hover .navbar-link, + .navbar.is-light .navbar-item.has-dropdown.is-active .navbar-link { + background-color: #e8e8e8; + color: rgba(0, 0, 0, 0.7); } + .navbar.is-light .navbar-dropdown a.navbar-item.is-active { + background-color: whitesmoke; + color: rgba(0, 0, 0, 0.7); } } + .navbar.is-dark { + background-color: #181818; + color: #fff; } + .navbar.is-dark .navbar-brand > .navbar-item, + .navbar.is-dark .navbar-brand .navbar-link { + color: #fff; } + .navbar.is-dark .navbar-brand > a.navbar-item:focus, .navbar.is-dark .navbar-brand > a.navbar-item:hover, .navbar.is-dark .navbar-brand > a.navbar-item.is-active, + .navbar.is-dark .navbar-brand .navbar-link:focus, + .navbar.is-dark .navbar-brand .navbar-link:hover, + .navbar.is-dark .navbar-brand .navbar-link.is-active { + background-color: #0b0b0b; + color: #fff; } + .navbar.is-dark .navbar-brand .navbar-link::after { + border-color: #fff; } + .navbar.is-dark .navbar-burger { + color: #fff; } + @media screen and (min-width: 1024px) { + .navbar.is-dark .navbar-start > .navbar-item, + .navbar.is-dark .navbar-start .navbar-link, + .navbar.is-dark .navbar-end > .navbar-item, + .navbar.is-dark .navbar-end .navbar-link { + color: #fff; } + .navbar.is-dark .navbar-start > a.navbar-item:focus, .navbar.is-dark .navbar-start > a.navbar-item:hover, .navbar.is-dark .navbar-start > a.navbar-item.is-active, + .navbar.is-dark .navbar-start .navbar-link:focus, + .navbar.is-dark .navbar-start .navbar-link:hover, + .navbar.is-dark .navbar-start .navbar-link.is-active, + .navbar.is-dark .navbar-end > a.navbar-item:focus, + .navbar.is-dark .navbar-end > a.navbar-item:hover, + .navbar.is-dark .navbar-end > a.navbar-item.is-active, + .navbar.is-dark .navbar-end .navbar-link:focus, + .navbar.is-dark .navbar-end .navbar-link:hover, + .navbar.is-dark .navbar-end .navbar-link.is-active { + background-color: #0b0b0b; + color: #fff; } + .navbar.is-dark .navbar-start .navbar-link::after, + .navbar.is-dark .navbar-end .navbar-link::after { + border-color: #fff; } + .navbar.is-dark .navbar-item.has-dropdown:focus .navbar-link, + .navbar.is-dark .navbar-item.has-dropdown:hover .navbar-link, + .navbar.is-dark .navbar-item.has-dropdown.is-active .navbar-link { + background-color: #0b0b0b; + color: #fff; } + .navbar.is-dark .navbar-dropdown a.navbar-item.is-active { + background-color: #181818; + color: #fff; } } + .navbar.is-primary { + background-color: #016FB9; + color: #fff; } + .navbar.is-primary .navbar-brand > .navbar-item, + .navbar.is-primary .navbar-brand .navbar-link { + color: #fff; } + .navbar.is-primary .navbar-brand > a.navbar-item:focus, .navbar.is-primary .navbar-brand > a.navbar-item:hover, .navbar.is-primary .navbar-brand > a.navbar-item.is-active, + .navbar.is-primary .navbar-brand .navbar-link:focus, + .navbar.is-primary .navbar-brand .navbar-link:hover, + .navbar.is-primary .navbar-brand .navbar-link.is-active { + background-color: #0160a0; + color: #fff; } + .navbar.is-primary .navbar-brand .navbar-link::after { + border-color: #fff; } + .navbar.is-primary .navbar-burger { + color: #fff; } + @media screen and (min-width: 1024px) { + .navbar.is-primary .navbar-start > .navbar-item, + .navbar.is-primary .navbar-start .navbar-link, + .navbar.is-primary .navbar-end > .navbar-item, + .navbar.is-primary .navbar-end .navbar-link { + color: #fff; } + .navbar.is-primary .navbar-start > a.navbar-item:focus, .navbar.is-primary .navbar-start > a.navbar-item:hover, .navbar.is-primary .navbar-start > a.navbar-item.is-active, + .navbar.is-primary .navbar-start .navbar-link:focus, + .navbar.is-primary .navbar-start .navbar-link:hover, + .navbar.is-primary .navbar-start .navbar-link.is-active, + .navbar.is-primary .navbar-end > a.navbar-item:focus, + .navbar.is-primary .navbar-end > a.navbar-item:hover, + .navbar.is-primary .navbar-end > a.navbar-item.is-active, + .navbar.is-primary .navbar-end .navbar-link:focus, + .navbar.is-primary .navbar-end .navbar-link:hover, + .navbar.is-primary .navbar-end .navbar-link.is-active { + background-color: #0160a0; + color: #fff; } + .navbar.is-primary .navbar-start .navbar-link::after, + .navbar.is-primary .navbar-end .navbar-link::after { + border-color: #fff; } + .navbar.is-primary .navbar-item.has-dropdown:focus .navbar-link, + .navbar.is-primary .navbar-item.has-dropdown:hover .navbar-link, + .navbar.is-primary .navbar-item.has-dropdown.is-active .navbar-link { + background-color: #0160a0; + color: #fff; } + .navbar.is-primary .navbar-dropdown a.navbar-item.is-active { + background-color: #016FB9; + color: #fff; } } + .navbar.is-link { + background-color: #016FB9; + color: #fff; } + .navbar.is-link .navbar-brand > .navbar-item, + .navbar.is-link .navbar-brand .navbar-link { + color: #fff; } + .navbar.is-link .navbar-brand > a.navbar-item:focus, .navbar.is-link .navbar-brand > a.navbar-item:hover, .navbar.is-link .navbar-brand > a.navbar-item.is-active, + .navbar.is-link .navbar-brand .navbar-link:focus, + .navbar.is-link .navbar-brand .navbar-link:hover, + .navbar.is-link .navbar-brand .navbar-link.is-active { + background-color: #0160a0; + color: #fff; } + .navbar.is-link .navbar-brand .navbar-link::after { + border-color: #fff; } + .navbar.is-link .navbar-burger { + color: #fff; } + @media screen and (min-width: 1024px) { + .navbar.is-link .navbar-start > .navbar-item, + .navbar.is-link .navbar-start .navbar-link, + .navbar.is-link .navbar-end > .navbar-item, + .navbar.is-link .navbar-end .navbar-link { + color: #fff; } + .navbar.is-link .navbar-start > a.navbar-item:focus, .navbar.is-link .navbar-start > a.navbar-item:hover, .navbar.is-link .navbar-start > a.navbar-item.is-active, + .navbar.is-link .navbar-start .navbar-link:focus, + .navbar.is-link .navbar-start .navbar-link:hover, + .navbar.is-link .navbar-start .navbar-link.is-active, + .navbar.is-link .navbar-end > a.navbar-item:focus, + .navbar.is-link .navbar-end > a.navbar-item:hover, + .navbar.is-link .navbar-end > a.navbar-item.is-active, + .navbar.is-link .navbar-end .navbar-link:focus, + .navbar.is-link .navbar-end .navbar-link:hover, + .navbar.is-link .navbar-end .navbar-link.is-active { + background-color: #0160a0; + color: #fff; } + .navbar.is-link .navbar-start .navbar-link::after, + .navbar.is-link .navbar-end .navbar-link::after { + border-color: #fff; } + .navbar.is-link .navbar-item.has-dropdown:focus .navbar-link, + .navbar.is-link .navbar-item.has-dropdown:hover .navbar-link, + .navbar.is-link .navbar-item.has-dropdown.is-active .navbar-link { + background-color: #0160a0; + color: #fff; } + .navbar.is-link .navbar-dropdown a.navbar-item.is-active { + background-color: #016FB9; + color: #fff; } } + .navbar.is-info { + background-color: #3e8ed0; + color: #fff; } + .navbar.is-info .navbar-brand > .navbar-item, + .navbar.is-info .navbar-brand .navbar-link { + color: #fff; } + .navbar.is-info .navbar-brand > a.navbar-item:focus, .navbar.is-info .navbar-brand > a.navbar-item:hover, .navbar.is-info .navbar-brand > a.navbar-item.is-active, + .navbar.is-info .navbar-brand .navbar-link:focus, + .navbar.is-info .navbar-brand .navbar-link:hover, + .navbar.is-info .navbar-brand .navbar-link.is-active { + background-color: #3082c5; + color: #fff; } + .navbar.is-info .navbar-brand .navbar-link::after { + border-color: #fff; } + .navbar.is-info .navbar-burger { + color: #fff; } + @media screen and (min-width: 1024px) { + .navbar.is-info .navbar-start > .navbar-item, + .navbar.is-info .navbar-start .navbar-link, + .navbar.is-info .navbar-end > .navbar-item, + .navbar.is-info .navbar-end .navbar-link { + color: #fff; } + .navbar.is-info .navbar-start > a.navbar-item:focus, .navbar.is-info .navbar-start > a.navbar-item:hover, .navbar.is-info .navbar-start > a.navbar-item.is-active, + .navbar.is-info .navbar-start .navbar-link:focus, + .navbar.is-info .navbar-start .navbar-link:hover, + .navbar.is-info .navbar-start .navbar-link.is-active, + .navbar.is-info .navbar-end > a.navbar-item:focus, + .navbar.is-info .navbar-end > a.navbar-item:hover, + .navbar.is-info .navbar-end > a.navbar-item.is-active, + .navbar.is-info .navbar-end .navbar-link:focus, + .navbar.is-info .navbar-end .navbar-link:hover, + .navbar.is-info .navbar-end .navbar-link.is-active { + background-color: #3082c5; + color: #fff; } + .navbar.is-info .navbar-start .navbar-link::after, + .navbar.is-info .navbar-end .navbar-link::after { + border-color: #fff; } + .navbar.is-info .navbar-item.has-dropdown:focus .navbar-link, + .navbar.is-info .navbar-item.has-dropdown:hover .navbar-link, + .navbar.is-info .navbar-item.has-dropdown.is-active .navbar-link { + background-color: #3082c5; + color: #fff; } + .navbar.is-info .navbar-dropdown a.navbar-item.is-active { + background-color: #3e8ed0; + color: #fff; } } + .navbar.is-success { + background-color: #48c78e; + color: #fff; } + .navbar.is-success .navbar-brand > .navbar-item, + .navbar.is-success .navbar-brand .navbar-link { + color: #fff; } + .navbar.is-success .navbar-brand > a.navbar-item:focus, .navbar.is-success .navbar-brand > a.navbar-item:hover, .navbar.is-success .navbar-brand > a.navbar-item.is-active, + .navbar.is-success .navbar-brand .navbar-link:focus, + .navbar.is-success .navbar-brand .navbar-link:hover, + .navbar.is-success .navbar-brand .navbar-link.is-active { + background-color: #3abb81; + color: #fff; } + .navbar.is-success .navbar-brand .navbar-link::after { + border-color: #fff; } + .navbar.is-success .navbar-burger { + color: #fff; } + @media screen and (min-width: 1024px) { + .navbar.is-success .navbar-start > .navbar-item, + .navbar.is-success .navbar-start .navbar-link, + .navbar.is-success .navbar-end > .navbar-item, + .navbar.is-success .navbar-end .navbar-link { + color: #fff; } + .navbar.is-success .navbar-start > a.navbar-item:focus, .navbar.is-success .navbar-start > a.navbar-item:hover, .navbar.is-success .navbar-start > a.navbar-item.is-active, + .navbar.is-success .navbar-start .navbar-link:focus, + .navbar.is-success .navbar-start .navbar-link:hover, + .navbar.is-success .navbar-start .navbar-link.is-active, + .navbar.is-success .navbar-end > a.navbar-item:focus, + .navbar.is-success .navbar-end > a.navbar-item:hover, + .navbar.is-success .navbar-end > a.navbar-item.is-active, + .navbar.is-success .navbar-end .navbar-link:focus, + .navbar.is-success .navbar-end .navbar-link:hover, + .navbar.is-success .navbar-end .navbar-link.is-active { + background-color: #3abb81; + color: #fff; } + .navbar.is-success .navbar-start .navbar-link::after, + .navbar.is-success .navbar-end .navbar-link::after { + border-color: #fff; } + .navbar.is-success .navbar-item.has-dropdown:focus .navbar-link, + .navbar.is-success .navbar-item.has-dropdown:hover .navbar-link, + .navbar.is-success .navbar-item.has-dropdown.is-active .navbar-link { + background-color: #3abb81; + color: #fff; } + .navbar.is-success .navbar-dropdown a.navbar-item.is-active { + background-color: #48c78e; + color: #fff; } } + .navbar.is-warning { + background-color: #ffe08a; + color: rgba(0, 0, 0, 0.7); } + .navbar.is-warning .navbar-brand > .navbar-item, + .navbar.is-warning .navbar-brand .navbar-link { + color: rgba(0, 0, 0, 0.7); } + .navbar.is-warning .navbar-brand > a.navbar-item:focus, .navbar.is-warning .navbar-brand > a.navbar-item:hover, .navbar.is-warning .navbar-brand > a.navbar-item.is-active, + .navbar.is-warning .navbar-brand .navbar-link:focus, + .navbar.is-warning .navbar-brand .navbar-link:hover, + .navbar.is-warning .navbar-brand .navbar-link.is-active { + background-color: #ffd970; + color: rgba(0, 0, 0, 0.7); } + .navbar.is-warning .navbar-brand .navbar-link::after { + border-color: rgba(0, 0, 0, 0.7); } + .navbar.is-warning .navbar-burger { + color: rgba(0, 0, 0, 0.7); } + @media screen and (min-width: 1024px) { + .navbar.is-warning .navbar-start > .navbar-item, + .navbar.is-warning .navbar-start .navbar-link, + .navbar.is-warning .navbar-end > .navbar-item, + .navbar.is-warning .navbar-end .navbar-link { + color: rgba(0, 0, 0, 0.7); } + .navbar.is-warning .navbar-start > a.navbar-item:focus, .navbar.is-warning .navbar-start > a.navbar-item:hover, .navbar.is-warning .navbar-start > a.navbar-item.is-active, + .navbar.is-warning .navbar-start .navbar-link:focus, + .navbar.is-warning .navbar-start .navbar-link:hover, + .navbar.is-warning .navbar-start .navbar-link.is-active, + .navbar.is-warning .navbar-end > a.navbar-item:focus, + .navbar.is-warning .navbar-end > a.navbar-item:hover, + .navbar.is-warning .navbar-end > a.navbar-item.is-active, + .navbar.is-warning .navbar-end .navbar-link:focus, + .navbar.is-warning .navbar-end .navbar-link:hover, + .navbar.is-warning .navbar-end .navbar-link.is-active { + background-color: #ffd970; + color: rgba(0, 0, 0, 0.7); } + .navbar.is-warning .navbar-start .navbar-link::after, + .navbar.is-warning .navbar-end .navbar-link::after { + border-color: rgba(0, 0, 0, 0.7); } + .navbar.is-warning .navbar-item.has-dropdown:focus .navbar-link, + .navbar.is-warning .navbar-item.has-dropdown:hover .navbar-link, + .navbar.is-warning .navbar-item.has-dropdown.is-active .navbar-link { + background-color: #ffd970; + color: rgba(0, 0, 0, 0.7); } + .navbar.is-warning .navbar-dropdown a.navbar-item.is-active { + background-color: #ffe08a; + color: rgba(0, 0, 0, 0.7); } } + .navbar.is-danger { + background-color: #f14668; + color: #fff; } + .navbar.is-danger .navbar-brand > .navbar-item, + .navbar.is-danger .navbar-brand .navbar-link { + color: #fff; } + .navbar.is-danger .navbar-brand > a.navbar-item:focus, .navbar.is-danger .navbar-brand > a.navbar-item:hover, .navbar.is-danger .navbar-brand > a.navbar-item.is-active, + .navbar.is-danger .navbar-brand .navbar-link:focus, + .navbar.is-danger .navbar-brand .navbar-link:hover, + .navbar.is-danger .navbar-brand .navbar-link.is-active { + background-color: #ef2e55; + color: #fff; } + .navbar.is-danger .navbar-brand .navbar-link::after { + border-color: #fff; } + .navbar.is-danger .navbar-burger { + color: #fff; } + @media screen and (min-width: 1024px) { + .navbar.is-danger .navbar-start > .navbar-item, + .navbar.is-danger .navbar-start .navbar-link, + .navbar.is-danger .navbar-end > .navbar-item, + .navbar.is-danger .navbar-end .navbar-link { + color: #fff; } + .navbar.is-danger .navbar-start > a.navbar-item:focus, .navbar.is-danger .navbar-start > a.navbar-item:hover, .navbar.is-danger .navbar-start > a.navbar-item.is-active, + .navbar.is-danger .navbar-start .navbar-link:focus, + .navbar.is-danger .navbar-start .navbar-link:hover, + .navbar.is-danger .navbar-start .navbar-link.is-active, + .navbar.is-danger .navbar-end > a.navbar-item:focus, + .navbar.is-danger .navbar-end > a.navbar-item:hover, + .navbar.is-danger .navbar-end > a.navbar-item.is-active, + .navbar.is-danger .navbar-end .navbar-link:focus, + .navbar.is-danger .navbar-end .navbar-link:hover, + .navbar.is-danger .navbar-end .navbar-link.is-active { + background-color: #ef2e55; + color: #fff; } + .navbar.is-danger .navbar-start .navbar-link::after, + .navbar.is-danger .navbar-end .navbar-link::after { + border-color: #fff; } + .navbar.is-danger .navbar-item.has-dropdown:focus .navbar-link, + .navbar.is-danger .navbar-item.has-dropdown:hover .navbar-link, + .navbar.is-danger .navbar-item.has-dropdown.is-active .navbar-link { + background-color: #ef2e55; + color: #fff; } + .navbar.is-danger .navbar-dropdown a.navbar-item.is-active { + background-color: #f14668; + color: #fff; } } + .navbar > .container { + align-items: stretch; + display: flex; + min-height: 3.25rem; + width: 100%; } + .navbar.has-shadow { + box-shadow: 0 2px 0 0 whitesmoke; } + .navbar.is-fixed-bottom, .navbar.is-fixed-top { + left: 0; + position: fixed; + right: 0; + z-index: 30; } + .navbar.is-fixed-bottom { + bottom: 0; } + .navbar.is-fixed-bottom.has-shadow { + box-shadow: 0 -2px 0 0 whitesmoke; } + .navbar.is-fixed-top { + top: 0; } + +html.has-navbar-fixed-top, +body.has-navbar-fixed-top { + padding-top: 3.25rem; } + +html.has-navbar-fixed-bottom, +body.has-navbar-fixed-bottom { + padding-bottom: 3.25rem; } + +.navbar-brand, +.navbar-tabs { + align-items: stretch; + display: flex; + flex-shrink: 0; + min-height: 3.25rem; } + +.navbar-brand a.navbar-item:focus, .navbar-brand a.navbar-item:hover { + background-color: transparent; } + +.navbar-tabs { + -webkit-overflow-scrolling: touch; + max-width: 100vw; + overflow-x: auto; + overflow-y: hidden; } + +.navbar-burger { + color: #4a4a4a; + -moz-appearance: none; + -webkit-appearance: none; + appearance: none; + background: none; + border: none; + cursor: pointer; + display: block; + height: 3.25rem; + position: relative; + width: 3.25rem; + margin-left: auto; } + .navbar-burger span { + background-color: currentColor; + display: block; + height: 1px; + left: calc(50% - 8px); + position: absolute; + transform-origin: center; + transition-duration: 86ms; + transition-property: background-color, opacity, transform; + transition-timing-function: ease-out; + width: 16px; } + .navbar-burger span:nth-child(1) { + top: calc(50% - 6px); } + .navbar-burger span:nth-child(2) { + top: calc(50% - 1px); } + .navbar-burger span:nth-child(3) { + top: calc(50% + 4px); } + .navbar-burger:hover { + background-color: rgba(0, 0, 0, 0.05); } + .navbar-burger.is-active span:nth-child(1) { + transform: translateY(5px) rotate(45deg); } + .navbar-burger.is-active span:nth-child(2) { + opacity: 0; } + .navbar-burger.is-active span:nth-child(3) { + transform: translateY(-5px) rotate(-45deg); } + +.navbar-menu { + display: none; } + +.navbar-item, +.navbar-link { + color: #4a4a4a; + display: block; + line-height: 1.5; + padding: 0.5rem 0.75rem; + position: relative; } + .navbar-item .icon:only-child, + .navbar-link .icon:only-child { + margin-left: -0.25rem; + margin-right: -0.25rem; } + +a.navbar-item, +.navbar-link { + cursor: pointer; } + a.navbar-item:focus, a.navbar-item:focus-within, a.navbar-item:hover, a.navbar-item.is-active, + .navbar-link:focus, + .navbar-link:focus-within, + .navbar-link:hover, + .navbar-link.is-active { + background-color: #fafafa; + color: #016FB9; } + +.navbar-item { + flex-grow: 0; + flex-shrink: 0; } + .navbar-item img { + max-height: 1.75rem; } + .navbar-item.has-dropdown { + padding: 0; } + .navbar-item.is-expanded { + flex-grow: 1; + flex-shrink: 1; } + .navbar-item.is-tab { + border-bottom: 1px solid transparent; + min-height: 3.25rem; + padding-bottom: calc(0.5rem - 1px); } + .navbar-item.is-tab:focus, .navbar-item.is-tab:hover { + background-color: transparent; + border-bottom-color: #016FB9; } + .navbar-item.is-tab.is-active { + background-color: transparent; + border-bottom-color: #016FB9; + border-bottom-style: solid; + border-bottom-width: 3px; + color: #016FB9; + padding-bottom: calc(0.5rem - 3px); } + +.navbar-content { + flex-grow: 1; + flex-shrink: 1; } + +.navbar-link:not(.is-arrowless) { + padding-right: 2.5em; } + .navbar-link:not(.is-arrowless)::after { + border-color: #016FB9; + margin-top: -0.375em; + right: 1.125em; } + +.navbar-dropdown { + font-size: 0.875rem; + padding-bottom: 0.5rem; + padding-top: 0.5rem; } + .navbar-dropdown .navbar-item { + padding-left: 1.5rem; + padding-right: 1.5rem; } + +.navbar-divider { + background-color: whitesmoke; + border: none; + display: none; + height: 2px; + margin: 0.5rem 0; } + +@media screen and (max-width: 1023px) { + .navbar > .container { + display: block; } + .navbar-brand .navbar-item, + .navbar-tabs .navbar-item { + align-items: center; + display: flex; } + .navbar-link::after { + display: none; } + .navbar-menu { + background-color: white; + box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1); + padding: 0.5rem 0; } + .navbar-menu.is-active { + display: block; } + .navbar.is-fixed-bottom-touch, .navbar.is-fixed-top-touch { + left: 0; + position: fixed; + right: 0; + z-index: 30; } + .navbar.is-fixed-bottom-touch { + bottom: 0; } + .navbar.is-fixed-bottom-touch.has-shadow { + box-shadow: 0 -2px 3px rgba(10, 10, 10, 0.1); } + .navbar.is-fixed-top-touch { + top: 0; } + .navbar.is-fixed-top .navbar-menu, .navbar.is-fixed-top-touch .navbar-menu { + -webkit-overflow-scrolling: touch; + max-height: calc(100vh - 3.25rem); + overflow: auto; } + html.has-navbar-fixed-top-touch, + body.has-navbar-fixed-top-touch { + padding-top: 3.25rem; } + html.has-navbar-fixed-bottom-touch, + body.has-navbar-fixed-bottom-touch { + padding-bottom: 3.25rem; } } + +@media screen and (min-width: 1024px) { + .navbar, + .navbar-menu, + .navbar-start, + .navbar-end { + align-items: stretch; + display: flex; } + .navbar { + min-height: 3.25rem; } + .navbar.is-spaced { + padding: 1rem 2rem; } + .navbar.is-spaced .navbar-start, + .navbar.is-spaced .navbar-end { + align-items: center; } + .navbar.is-spaced a.navbar-item, + .navbar.is-spaced .navbar-link { + border-radius: 4px; } + .navbar.is-transparent a.navbar-item:focus, .navbar.is-transparent a.navbar-item:hover, .navbar.is-transparent a.navbar-item.is-active, + .navbar.is-transparent .navbar-link:focus, + .navbar.is-transparent .navbar-link:hover, + .navbar.is-transparent .navbar-link.is-active { + background-color: transparent !important; } + .navbar.is-transparent .navbar-item.has-dropdown.is-active .navbar-link, .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:focus .navbar-link, .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:focus-within .navbar-link, .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:hover .navbar-link { + background-color: transparent !important; } + .navbar.is-transparent .navbar-dropdown a.navbar-item:focus, .navbar.is-transparent .navbar-dropdown a.navbar-item:hover { + background-color: whitesmoke; + color: #0a0a0a; } + .navbar.is-transparent .navbar-dropdown a.navbar-item.is-active { + background-color: whitesmoke; + color: #016FB9; } + .navbar-burger { + display: none; } + .navbar-item, + .navbar-link { + align-items: center; + display: flex; } + .navbar-item.has-dropdown { + align-items: stretch; } + .navbar-item.has-dropdown-up .navbar-link::after { + transform: rotate(135deg) translate(0.25em, -0.25em); } + .navbar-item.has-dropdown-up .navbar-dropdown { + border-bottom: 2px solid #dbdbdb; + border-radius: 6px 6px 0 0; + border-top: none; + bottom: 100%; + box-shadow: 0 -8px 8px rgba(10, 10, 10, 0.1); + top: auto; } + .navbar-item.is-active .navbar-dropdown, .navbar-item.is-hoverable:focus .navbar-dropdown, .navbar-item.is-hoverable:focus-within .navbar-dropdown, .navbar-item.is-hoverable:hover .navbar-dropdown { + display: block; } + .navbar.is-spaced .navbar-item.is-active .navbar-dropdown, .navbar-item.is-active .navbar-dropdown.is-boxed, .navbar.is-spaced .navbar-item.is-hoverable:focus .navbar-dropdown, .navbar-item.is-hoverable:focus .navbar-dropdown.is-boxed, .navbar.is-spaced .navbar-item.is-hoverable:focus-within .navbar-dropdown, .navbar-item.is-hoverable:focus-within .navbar-dropdown.is-boxed, .navbar.is-spaced .navbar-item.is-hoverable:hover .navbar-dropdown, .navbar-item.is-hoverable:hover .navbar-dropdown.is-boxed { + opacity: 1; + pointer-events: auto; + transform: translateY(0); } + .navbar-menu { + flex-grow: 1; + flex-shrink: 0; } + .navbar-start { + justify-content: flex-start; + margin-right: auto; } + .navbar-end { + justify-content: flex-end; + margin-left: auto; } + .navbar-dropdown { + background-color: white; + border-bottom-left-radius: 6px; + border-bottom-right-radius: 6px; + border-top: 2px solid #dbdbdb; + box-shadow: 0 8px 8px rgba(10, 10, 10, 0.1); + display: none; + font-size: 0.875rem; + left: 0; + min-width: 100%; + position: absolute; + top: 100%; + z-index: 20; } + .navbar-dropdown .navbar-item { + padding: 0.375rem 1rem; + white-space: nowrap; } + .navbar-dropdown a.navbar-item { + padding-right: 3rem; } + .navbar-dropdown a.navbar-item:focus, .navbar-dropdown a.navbar-item:hover { + background-color: whitesmoke; + color: #0a0a0a; } + .navbar-dropdown a.navbar-item.is-active { + background-color: whitesmoke; + color: #016FB9; } + .navbar.is-spaced .navbar-dropdown, .navbar-dropdown.is-boxed { + border-radius: 6px; + border-top: none; + box-shadow: 0 8px 8px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1); + display: block; + opacity: 0; + pointer-events: none; + top: calc(100% + (-4px)); + transform: translateY(-5px); + transition-duration: 86ms; + transition-property: opacity, transform; } + .navbar-dropdown.is-right { + left: auto; + right: 0; } + .navbar-divider { + display: block; } + .navbar > .container .navbar-brand, + .container > .navbar .navbar-brand { + margin-left: -0.75rem; } + .navbar > .container .navbar-menu, + .container > .navbar .navbar-menu { + margin-right: -0.75rem; } + .navbar.is-fixed-bottom-desktop, .navbar.is-fixed-top-desktop { + left: 0; + position: fixed; + right: 0; + z-index: 30; } + .navbar.is-fixed-bottom-desktop { + bottom: 0; } + .navbar.is-fixed-bottom-desktop.has-shadow { + box-shadow: 0 -2px 3px rgba(10, 10, 10, 0.1); } + .navbar.is-fixed-top-desktop { + top: 0; } + html.has-navbar-fixed-top-desktop, + body.has-navbar-fixed-top-desktop { + padding-top: 3.25rem; } + html.has-navbar-fixed-bottom-desktop, + body.has-navbar-fixed-bottom-desktop { + padding-bottom: 3.25rem; } + html.has-spaced-navbar-fixed-top, + body.has-spaced-navbar-fixed-top { + padding-top: 5.25rem; } + html.has-spaced-navbar-fixed-bottom, + body.has-spaced-navbar-fixed-bottom { + padding-bottom: 5.25rem; } + a.navbar-item.is-active, + .navbar-link.is-active { + color: #0a0a0a; } + a.navbar-item.is-active:not(:focus):not(:hover), + .navbar-link.is-active:not(:focus):not(:hover) { + background-color: transparent; } + .navbar-item.has-dropdown:focus .navbar-link, .navbar-item.has-dropdown:hover .navbar-link, .navbar-item.has-dropdown.is-active .navbar-link { + background-color: #fafafa; } } + +.hero.is-fullheight-with-navbar { + min-height: calc(100vh - 3.25rem); } + +.pagination { + font-size: 1rem; + margin: -0.25rem; } + .pagination.is-small { + font-size: 0.75rem; } + .pagination.is-medium { + font-size: 1.25rem; } + .pagination.is-large { + font-size: 1.5rem; } + .pagination.is-rounded .pagination-previous, + .pagination.is-rounded .pagination-next { + padding-left: 1em; + padding-right: 1em; + border-radius: 9999px; } + .pagination.is-rounded .pagination-link { + border-radius: 9999px; } + +.pagination, +.pagination-list { + align-items: center; + display: flex; + justify-content: center; + text-align: center; } + +.pagination-previous, +.pagination-next, +.pagination-link, +.pagination-ellipsis { + font-size: 1em; + justify-content: center; + margin: 0.25rem; + padding-left: 0.5em; + padding-right: 0.5em; + text-align: center; } + +.pagination-previous, +.pagination-next, +.pagination-link { + border-color: #dbdbdb; + color: #363636; + min-width: 2.5em; } + .pagination-previous:hover, + .pagination-next:hover, + .pagination-link:hover { + border-color: #b5b5b5; + color: #363636; } + .pagination-previous:focus, + .pagination-next:focus, + .pagination-link:focus { + border-color: #016FB9; } + .pagination-previous:active, + .pagination-next:active, + .pagination-link:active { + box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.2); } + .pagination-previous[disabled], .pagination-previous.is-disabled, + .pagination-next[disabled], + .pagination-next.is-disabled, + .pagination-link[disabled], + .pagination-link.is-disabled { + background-color: #dbdbdb; + border-color: #dbdbdb; + box-shadow: none; + color: #7a7a7a; + opacity: 0.5; } + +.pagination-previous, +.pagination-next { + padding-left: 0.75em; + padding-right: 0.75em; + white-space: nowrap; } + +.pagination-link.is-current { + background-color: #016FB9; + border-color: #016FB9; + color: #fff; } + +.pagination-ellipsis { + color: #b5b5b5; + pointer-events: none; } + +.pagination-list { + flex-wrap: wrap; } + .pagination-list li { + list-style: none; } + +@media screen and (max-width: 768px) { + .pagination { + flex-wrap: wrap; } + .pagination-previous, + .pagination-next { + flex-grow: 1; + flex-shrink: 1; } + .pagination-list li { + flex-grow: 1; + flex-shrink: 1; } } + +@media screen and (min-width: 769px), print { + .pagination-list { + flex-grow: 1; + flex-shrink: 1; + justify-content: flex-start; + order: 1; } + .pagination-previous, + .pagination-next, + .pagination-link, + .pagination-ellipsis { + margin-bottom: 0; + margin-top: 0; } + .pagination-previous { + order: 2; } + .pagination-next { + order: 3; } + .pagination { + justify-content: space-between; + margin-bottom: 0; + margin-top: 0; } + .pagination.is-centered .pagination-previous { + order: 1; } + .pagination.is-centered .pagination-list { + justify-content: center; + order: 2; } + .pagination.is-centered .pagination-next { + order: 3; } + .pagination.is-right .pagination-previous { + order: 1; } + .pagination.is-right .pagination-next { + order: 2; } + .pagination.is-right .pagination-list { + justify-content: flex-end; + order: 3; } } + +.panel { + border-radius: 6px; + box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02); + font-size: 1rem; } + .panel:not(:last-child) { + margin-bottom: 1.5rem; } + .panel.is-white .panel-heading { + background-color: white; + color: #0a0a0a; } + .panel.is-white .panel-tabs a.is-active { + border-bottom-color: white; } + .panel.is-white .panel-block.is-active .panel-icon { + color: white; } + .panel.is-black .panel-heading { + background-color: #0a0a0a; + color: white; } + .panel.is-black .panel-tabs a.is-active { + border-bottom-color: #0a0a0a; } + .panel.is-black .panel-block.is-active .panel-icon { + color: #0a0a0a; } + .panel.is-light .panel-heading { + background-color: whitesmoke; + color: rgba(0, 0, 0, 0.7); } + .panel.is-light .panel-tabs a.is-active { + border-bottom-color: whitesmoke; } + .panel.is-light .panel-block.is-active .panel-icon { + color: whitesmoke; } + .panel.is-dark .panel-heading { + background-color: #181818; + color: #fff; } + .panel.is-dark .panel-tabs a.is-active { + border-bottom-color: #181818; } + .panel.is-dark .panel-block.is-active .panel-icon { + color: #181818; } + .panel.is-primary .panel-heading { + background-color: #016FB9; + color: #fff; } + .panel.is-primary .panel-tabs a.is-active { + border-bottom-color: #016FB9; } + .panel.is-primary .panel-block.is-active .panel-icon { + color: #016FB9; } + .panel.is-link .panel-heading { + background-color: #016FB9; + color: #fff; } + .panel.is-link .panel-tabs a.is-active { + border-bottom-color: #016FB9; } + .panel.is-link .panel-block.is-active .panel-icon { + color: #016FB9; } + .panel.is-info .panel-heading { + background-color: #3e8ed0; + color: #fff; } + .panel.is-info .panel-tabs a.is-active { + border-bottom-color: #3e8ed0; } + .panel.is-info .panel-block.is-active .panel-icon { + color: #3e8ed0; } + .panel.is-success .panel-heading { + background-color: #48c78e; + color: #fff; } + .panel.is-success .panel-tabs a.is-active { + border-bottom-color: #48c78e; } + .panel.is-success .panel-block.is-active .panel-icon { + color: #48c78e; } + .panel.is-warning .panel-heading { + background-color: #ffe08a; + color: rgba(0, 0, 0, 0.7); } + .panel.is-warning .panel-tabs a.is-active { + border-bottom-color: #ffe08a; } + .panel.is-warning .panel-block.is-active .panel-icon { + color: #ffe08a; } + .panel.is-danger .panel-heading { + background-color: #f14668; + color: #fff; } + .panel.is-danger .panel-tabs a.is-active { + border-bottom-color: #f14668; } + .panel.is-danger .panel-block.is-active .panel-icon { + color: #f14668; } + +.panel-tabs:not(:last-child), +.panel-block:not(:last-child) { + border-bottom: 1px solid #ededed; } + +.panel-heading { + background-color: #ededed; + border-radius: 6px 6px 0 0; + color: #363636; + font-size: 1.25em; + font-weight: 700; + line-height: 1.25; + padding: 0.75em 1em; } + +.panel-tabs { + align-items: flex-end; + display: flex; + font-size: 0.875em; + justify-content: center; } + .panel-tabs a { + border-bottom: 1px solid #dbdbdb; + margin-bottom: -1px; + padding: 0.5em; } + .panel-tabs a.is-active { + border-bottom-color: #4a4a4a; + color: #363636; } + +.panel-list a { + color: #4a4a4a; } + .panel-list a:hover { + color: #016FB9; } + +.panel-block { + align-items: center; + color: #363636; + display: flex; + justify-content: flex-start; + padding: 0.5em 0.75em; } + .panel-block input[type="checkbox"] { + margin-right: 0.75em; } + .panel-block > .control { + flex-grow: 1; + flex-shrink: 1; + width: 100%; } + .panel-block.is-wrapped { + flex-wrap: wrap; } + .panel-block.is-active { + border-left-color: #016FB9; + color: #363636; } + .panel-block.is-active .panel-icon { + color: #016FB9; } + .panel-block:last-child { + border-bottom-left-radius: 6px; + border-bottom-right-radius: 6px; } + +a.panel-block, +label.panel-block { + cursor: pointer; } + a.panel-block:hover, + label.panel-block:hover { + background-color: whitesmoke; } + +.panel-icon { + display: inline-block; + font-size: 14px; + height: 1em; + line-height: 1em; + text-align: center; + vertical-align: top; + width: 1em; + color: #7a7a7a; + margin-right: 0.75em; } + .panel-icon .fa { + font-size: inherit; + line-height: inherit; } + +.tabs { + -webkit-overflow-scrolling: touch; + align-items: stretch; + display: flex; + font-size: 1rem; + justify-content: space-between; + overflow: hidden; + overflow-x: auto; + white-space: nowrap; } + .tabs a { + align-items: center; + border-bottom-color: #dbdbdb; + border-bottom-style: solid; + border-bottom-width: 1px; + color: #4a4a4a; + display: flex; + justify-content: center; + margin-bottom: -1px; + padding: 0.5em 1em; + vertical-align: top; } + .tabs a:hover { + border-bottom-color: #363636; + color: #363636; } + .tabs li { + display: block; } + .tabs li.is-active a { + border-bottom-color: #016FB9; + color: #016FB9; } + .tabs ul { + align-items: center; + border-bottom-color: #dbdbdb; + border-bottom-style: solid; + border-bottom-width: 1px; + display: flex; + flex-grow: 1; + flex-shrink: 0; + justify-content: flex-start; } + .tabs ul.is-left { + padding-right: 0.75em; } + .tabs ul.is-center { + flex: none; + justify-content: center; + padding-left: 0.75em; + padding-right: 0.75em; } + .tabs ul.is-right { + justify-content: flex-end; + padding-left: 0.75em; } + .tabs .icon:first-child { + margin-right: 0.5em; } + .tabs .icon:last-child { + margin-left: 0.5em; } + .tabs.is-centered ul { + justify-content: center; } + .tabs.is-right ul { + justify-content: flex-end; } + .tabs.is-boxed a { + border: 1px solid transparent; + border-radius: 4px 4px 0 0; } + .tabs.is-boxed a:hover { + background-color: whitesmoke; + border-bottom-color: #dbdbdb; } + .tabs.is-boxed li.is-active a { + background-color: white; + border-color: #dbdbdb; + border-bottom-color: transparent !important; } + .tabs.is-fullwidth li { + flex-grow: 1; + flex-shrink: 0; } + .tabs.is-toggle a { + border-color: #dbdbdb; + border-style: solid; + border-width: 1px; + margin-bottom: 0; + position: relative; } + .tabs.is-toggle a:hover { + background-color: whitesmoke; + border-color: #b5b5b5; + z-index: 2; } + .tabs.is-toggle li + li { + margin-left: -1px; } + .tabs.is-toggle li:first-child a { + border-top-left-radius: 4px; + border-bottom-left-radius: 4px; } + .tabs.is-toggle li:last-child a { + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; } + .tabs.is-toggle li.is-active a { + background-color: #016FB9; + border-color: #016FB9; + color: #fff; + z-index: 1; } + .tabs.is-toggle ul { + border-bottom: none; } + .tabs.is-toggle.is-toggle-rounded li:first-child a { + border-bottom-left-radius: 9999px; + border-top-left-radius: 9999px; + padding-left: 1.25em; } + .tabs.is-toggle.is-toggle-rounded li:last-child a { + border-bottom-right-radius: 9999px; + border-top-right-radius: 9999px; + padding-right: 1.25em; } + .tabs.is-small { + font-size: 0.75rem; } + .tabs.is-medium { + font-size: 1.25rem; } + .tabs.is-large { + font-size: 1.5rem; } + +/* Bulma Grid */ +.column { + display: block; + flex-basis: 0; + flex-grow: 1; + flex-shrink: 1; + padding: 0.75rem; } + .columns.is-mobile > .column.is-narrow { + flex: none; + width: unset; } + .columns.is-mobile > .column.is-full { + flex: none; + width: 100%; } + .columns.is-mobile > .column.is-three-quarters { + flex: none; + width: 75%; } + .columns.is-mobile > .column.is-two-thirds { + flex: none; + width: 66.6666%; } + .columns.is-mobile > .column.is-half { + flex: none; + width: 50%; } + .columns.is-mobile > .column.is-one-third { + flex: none; + width: 33.3333%; } + .columns.is-mobile > .column.is-one-quarter { + flex: none; + width: 25%; } + .columns.is-mobile > .column.is-one-fifth { + flex: none; + width: 20%; } + .columns.is-mobile > .column.is-two-fifths { + flex: none; + width: 40%; } + .columns.is-mobile > .column.is-three-fifths { + flex: none; + width: 60%; } + .columns.is-mobile > .column.is-four-fifths { + flex: none; + width: 80%; } + .columns.is-mobile > .column.is-offset-three-quarters { + margin-left: 75%; } + .columns.is-mobile > .column.is-offset-two-thirds { + margin-left: 66.6666%; } + .columns.is-mobile > .column.is-offset-half { + margin-left: 50%; } + .columns.is-mobile > .column.is-offset-one-third { + margin-left: 33.3333%; } + .columns.is-mobile > .column.is-offset-one-quarter { + margin-left: 25%; } + .columns.is-mobile > .column.is-offset-one-fifth { + margin-left: 20%; } + .columns.is-mobile > .column.is-offset-two-fifths { + margin-left: 40%; } + .columns.is-mobile > .column.is-offset-three-fifths { + margin-left: 60%; } + .columns.is-mobile > .column.is-offset-four-fifths { + margin-left: 80%; } + .columns.is-mobile > .column.is-0 { + flex: none; + width: 0%; } + .columns.is-mobile > .column.is-offset-0 { + margin-left: 0%; } + .columns.is-mobile > .column.is-1 { + flex: none; + width: 8.33333%; } + .columns.is-mobile > .column.is-offset-1 { + margin-left: 8.33333%; } + .columns.is-mobile > .column.is-2 { + flex: none; + width: 16.66667%; } + .columns.is-mobile > .column.is-offset-2 { + margin-left: 16.66667%; } + .columns.is-mobile > .column.is-3 { + flex: none; + width: 25%; } + .columns.is-mobile > .column.is-offset-3 { + margin-left: 25%; } + .columns.is-mobile > .column.is-4 { + flex: none; + width: 33.33333%; } + .columns.is-mobile > .column.is-offset-4 { + margin-left: 33.33333%; } + .columns.is-mobile > .column.is-5 { + flex: none; + width: 41.66667%; } + .columns.is-mobile > .column.is-offset-5 { + margin-left: 41.66667%; } + .columns.is-mobile > .column.is-6 { + flex: none; + width: 50%; } + .columns.is-mobile > .column.is-offset-6 { + margin-left: 50%; } + .columns.is-mobile > .column.is-7 { + flex: none; + width: 58.33333%; } + .columns.is-mobile > .column.is-offset-7 { + margin-left: 58.33333%; } + .columns.is-mobile > .column.is-8 { + flex: none; + width: 66.66667%; } + .columns.is-mobile > .column.is-offset-8 { + margin-left: 66.66667%; } + .columns.is-mobile > .column.is-9 { + flex: none; + width: 75%; } + .columns.is-mobile > .column.is-offset-9 { + margin-left: 75%; } + .columns.is-mobile > .column.is-10 { + flex: none; + width: 83.33333%; } + .columns.is-mobile > .column.is-offset-10 { + margin-left: 83.33333%; } + .columns.is-mobile > .column.is-11 { + flex: none; + width: 91.66667%; } + .columns.is-mobile > .column.is-offset-11 { + margin-left: 91.66667%; } + .columns.is-mobile > .column.is-12 { + flex: none; + width: 100%; } + .columns.is-mobile > .column.is-offset-12 { + margin-left: 100%; } + @media screen and (max-width: 768px) { + .column.is-narrow-mobile { + flex: none; + width: unset; } + .column.is-full-mobile { + flex: none; + width: 100%; } + .column.is-three-quarters-mobile { + flex: none; + width: 75%; } + .column.is-two-thirds-mobile { + flex: none; + width: 66.6666%; } + .column.is-half-mobile { + flex: none; + width: 50%; } + .column.is-one-third-mobile { + flex: none; + width: 33.3333%; } + .column.is-one-quarter-mobile { + flex: none; + width: 25%; } + .column.is-one-fifth-mobile { + flex: none; + width: 20%; } + .column.is-two-fifths-mobile { + flex: none; + width: 40%; } + .column.is-three-fifths-mobile { + flex: none; + width: 60%; } + .column.is-four-fifths-mobile { + flex: none; + width: 80%; } + .column.is-offset-three-quarters-mobile { + margin-left: 75%; } + .column.is-offset-two-thirds-mobile { + margin-left: 66.6666%; } + .column.is-offset-half-mobile { + margin-left: 50%; } + .column.is-offset-one-third-mobile { + margin-left: 33.3333%; } + .column.is-offset-one-quarter-mobile { + margin-left: 25%; } + .column.is-offset-one-fifth-mobile { + margin-left: 20%; } + .column.is-offset-two-fifths-mobile { + margin-left: 40%; } + .column.is-offset-three-fifths-mobile { + margin-left: 60%; } + .column.is-offset-four-fifths-mobile { + margin-left: 80%; } + .column.is-0-mobile { + flex: none; + width: 0%; } + .column.is-offset-0-mobile { + margin-left: 0%; } + .column.is-1-mobile { + flex: none; + width: 8.33333%; } + .column.is-offset-1-mobile { + margin-left: 8.33333%; } + .column.is-2-mobile { + flex: none; + width: 16.66667%; } + .column.is-offset-2-mobile { + margin-left: 16.66667%; } + .column.is-3-mobile { + flex: none; + width: 25%; } + .column.is-offset-3-mobile { + margin-left: 25%; } + .column.is-4-mobile { + flex: none; + width: 33.33333%; } + .column.is-offset-4-mobile { + margin-left: 33.33333%; } + .column.is-5-mobile { + flex: none; + width: 41.66667%; } + .column.is-offset-5-mobile { + margin-left: 41.66667%; } + .column.is-6-mobile { + flex: none; + width: 50%; } + .column.is-offset-6-mobile { + margin-left: 50%; } + .column.is-7-mobile { + flex: none; + width: 58.33333%; } + .column.is-offset-7-mobile { + margin-left: 58.33333%; } + .column.is-8-mobile { + flex: none; + width: 66.66667%; } + .column.is-offset-8-mobile { + margin-left: 66.66667%; } + .column.is-9-mobile { + flex: none; + width: 75%; } + .column.is-offset-9-mobile { + margin-left: 75%; } + .column.is-10-mobile { + flex: none; + width: 83.33333%; } + .column.is-offset-10-mobile { + margin-left: 83.33333%; } + .column.is-11-mobile { + flex: none; + width: 91.66667%; } + .column.is-offset-11-mobile { + margin-left: 91.66667%; } + .column.is-12-mobile { + flex: none; + width: 100%; } + .column.is-offset-12-mobile { + margin-left: 100%; } } + @media screen and (min-width: 769px), print { + .column.is-narrow, .column.is-narrow-tablet { + flex: none; + width: unset; } + .column.is-full, .column.is-full-tablet { + flex: none; + width: 100%; } + .column.is-three-quarters, .column.is-three-quarters-tablet { + flex: none; + width: 75%; } + .column.is-two-thirds, .column.is-two-thirds-tablet { + flex: none; + width: 66.6666%; } + .column.is-half, .column.is-half-tablet { + flex: none; + width: 50%; } + .column.is-one-third, .column.is-one-third-tablet { + flex: none; + width: 33.3333%; } + .column.is-one-quarter, .column.is-one-quarter-tablet { + flex: none; + width: 25%; } + .column.is-one-fifth, .column.is-one-fifth-tablet { + flex: none; + width: 20%; } + .column.is-two-fifths, .column.is-two-fifths-tablet { + flex: none; + width: 40%; } + .column.is-three-fifths, .column.is-three-fifths-tablet { + flex: none; + width: 60%; } + .column.is-four-fifths, .column.is-four-fifths-tablet { + flex: none; + width: 80%; } + .column.is-offset-three-quarters, .column.is-offset-three-quarters-tablet { + margin-left: 75%; } + .column.is-offset-two-thirds, .column.is-offset-two-thirds-tablet { + margin-left: 66.6666%; } + .column.is-offset-half, .column.is-offset-half-tablet { + margin-left: 50%; } + .column.is-offset-one-third, .column.is-offset-one-third-tablet { + margin-left: 33.3333%; } + .column.is-offset-one-quarter, .column.is-offset-one-quarter-tablet { + margin-left: 25%; } + .column.is-offset-one-fifth, .column.is-offset-one-fifth-tablet { + margin-left: 20%; } + .column.is-offset-two-fifths, .column.is-offset-two-fifths-tablet { + margin-left: 40%; } + .column.is-offset-three-fifths, .column.is-offset-three-fifths-tablet { + margin-left: 60%; } + .column.is-offset-four-fifths, .column.is-offset-four-fifths-tablet { + margin-left: 80%; } + .column.is-0, .column.is-0-tablet { + flex: none; + width: 0%; } + .column.is-offset-0, .column.is-offset-0-tablet { + margin-left: 0%; } + .column.is-1, .column.is-1-tablet { + flex: none; + width: 8.33333%; } + .column.is-offset-1, .column.is-offset-1-tablet { + margin-left: 8.33333%; } + .column.is-2, .column.is-2-tablet { + flex: none; + width: 16.66667%; } + .column.is-offset-2, .column.is-offset-2-tablet { + margin-left: 16.66667%; } + .column.is-3, .column.is-3-tablet { + flex: none; + width: 25%; } + .column.is-offset-3, .column.is-offset-3-tablet { + margin-left: 25%; } + .column.is-4, .column.is-4-tablet { + flex: none; + width: 33.33333%; } + .column.is-offset-4, .column.is-offset-4-tablet { + margin-left: 33.33333%; } + .column.is-5, .column.is-5-tablet { + flex: none; + width: 41.66667%; } + .column.is-offset-5, .column.is-offset-5-tablet { + margin-left: 41.66667%; } + .column.is-6, .column.is-6-tablet { + flex: none; + width: 50%; } + .column.is-offset-6, .column.is-offset-6-tablet { + margin-left: 50%; } + .column.is-7, .column.is-7-tablet { + flex: none; + width: 58.33333%; } + .column.is-offset-7, .column.is-offset-7-tablet { + margin-left: 58.33333%; } + .column.is-8, .column.is-8-tablet { + flex: none; + width: 66.66667%; } + .column.is-offset-8, .column.is-offset-8-tablet { + margin-left: 66.66667%; } + .column.is-9, .column.is-9-tablet { + flex: none; + width: 75%; } + .column.is-offset-9, .column.is-offset-9-tablet { + margin-left: 75%; } + .column.is-10, .column.is-10-tablet { + flex: none; + width: 83.33333%; } + .column.is-offset-10, .column.is-offset-10-tablet { + margin-left: 83.33333%; } + .column.is-11, .column.is-11-tablet { + flex: none; + width: 91.66667%; } + .column.is-offset-11, .column.is-offset-11-tablet { + margin-left: 91.66667%; } + .column.is-12, .column.is-12-tablet { + flex: none; + width: 100%; } + .column.is-offset-12, .column.is-offset-12-tablet { + margin-left: 100%; } } + @media screen and (max-width: 1023px) { + .column.is-narrow-touch { + flex: none; + width: unset; } + .column.is-full-touch { + flex: none; + width: 100%; } + .column.is-three-quarters-touch { + flex: none; + width: 75%; } + .column.is-two-thirds-touch { + flex: none; + width: 66.6666%; } + .column.is-half-touch { + flex: none; + width: 50%; } + .column.is-one-third-touch { + flex: none; + width: 33.3333%; } + .column.is-one-quarter-touch { + flex: none; + width: 25%; } + .column.is-one-fifth-touch { + flex: none; + width: 20%; } + .column.is-two-fifths-touch { + flex: none; + width: 40%; } + .column.is-three-fifths-touch { + flex: none; + width: 60%; } + .column.is-four-fifths-touch { + flex: none; + width: 80%; } + .column.is-offset-three-quarters-touch { + margin-left: 75%; } + .column.is-offset-two-thirds-touch { + margin-left: 66.6666%; } + .column.is-offset-half-touch { + margin-left: 50%; } + .column.is-offset-one-third-touch { + margin-left: 33.3333%; } + .column.is-offset-one-quarter-touch { + margin-left: 25%; } + .column.is-offset-one-fifth-touch { + margin-left: 20%; } + .column.is-offset-two-fifths-touch { + margin-left: 40%; } + .column.is-offset-three-fifths-touch { + margin-left: 60%; } + .column.is-offset-four-fifths-touch { + margin-left: 80%; } + .column.is-0-touch { + flex: none; + width: 0%; } + .column.is-offset-0-touch { + margin-left: 0%; } + .column.is-1-touch { + flex: none; + width: 8.33333%; } + .column.is-offset-1-touch { + margin-left: 8.33333%; } + .column.is-2-touch { + flex: none; + width: 16.66667%; } + .column.is-offset-2-touch { + margin-left: 16.66667%; } + .column.is-3-touch { + flex: none; + width: 25%; } + .column.is-offset-3-touch { + margin-left: 25%; } + .column.is-4-touch { + flex: none; + width: 33.33333%; } + .column.is-offset-4-touch { + margin-left: 33.33333%; } + .column.is-5-touch { + flex: none; + width: 41.66667%; } + .column.is-offset-5-touch { + margin-left: 41.66667%; } + .column.is-6-touch { + flex: none; + width: 50%; } + .column.is-offset-6-touch { + margin-left: 50%; } + .column.is-7-touch { + flex: none; + width: 58.33333%; } + .column.is-offset-7-touch { + margin-left: 58.33333%; } + .column.is-8-touch { + flex: none; + width: 66.66667%; } + .column.is-offset-8-touch { + margin-left: 66.66667%; } + .column.is-9-touch { + flex: none; + width: 75%; } + .column.is-offset-9-touch { + margin-left: 75%; } + .column.is-10-touch { + flex: none; + width: 83.33333%; } + .column.is-offset-10-touch { + margin-left: 83.33333%; } + .column.is-11-touch { + flex: none; + width: 91.66667%; } + .column.is-offset-11-touch { + margin-left: 91.66667%; } + .column.is-12-touch { + flex: none; + width: 100%; } + .column.is-offset-12-touch { + margin-left: 100%; } } + @media screen and (min-width: 1024px) { + .column.is-narrow-desktop { + flex: none; + width: unset; } + .column.is-full-desktop { + flex: none; + width: 100%; } + .column.is-three-quarters-desktop { + flex: none; + width: 75%; } + .column.is-two-thirds-desktop { + flex: none; + width: 66.6666%; } + .column.is-half-desktop { + flex: none; + width: 50%; } + .column.is-one-third-desktop { + flex: none; + width: 33.3333%; } + .column.is-one-quarter-desktop { + flex: none; + width: 25%; } + .column.is-one-fifth-desktop { + flex: none; + width: 20%; } + .column.is-two-fifths-desktop { + flex: none; + width: 40%; } + .column.is-three-fifths-desktop { + flex: none; + width: 60%; } + .column.is-four-fifths-desktop { + flex: none; + width: 80%; } + .column.is-offset-three-quarters-desktop { + margin-left: 75%; } + .column.is-offset-two-thirds-desktop { + margin-left: 66.6666%; } + .column.is-offset-half-desktop { + margin-left: 50%; } + .column.is-offset-one-third-desktop { + margin-left: 33.3333%; } + .column.is-offset-one-quarter-desktop { + margin-left: 25%; } + .column.is-offset-one-fifth-desktop { + margin-left: 20%; } + .column.is-offset-two-fifths-desktop { + margin-left: 40%; } + .column.is-offset-three-fifths-desktop { + margin-left: 60%; } + .column.is-offset-four-fifths-desktop { + margin-left: 80%; } + .column.is-0-desktop { + flex: none; + width: 0%; } + .column.is-offset-0-desktop { + margin-left: 0%; } + .column.is-1-desktop { + flex: none; + width: 8.33333%; } + .column.is-offset-1-desktop { + margin-left: 8.33333%; } + .column.is-2-desktop { + flex: none; + width: 16.66667%; } + .column.is-offset-2-desktop { + margin-left: 16.66667%; } + .column.is-3-desktop { + flex: none; + width: 25%; } + .column.is-offset-3-desktop { + margin-left: 25%; } + .column.is-4-desktop { + flex: none; + width: 33.33333%; } + .column.is-offset-4-desktop { + margin-left: 33.33333%; } + .column.is-5-desktop { + flex: none; + width: 41.66667%; } + .column.is-offset-5-desktop { + margin-left: 41.66667%; } + .column.is-6-desktop { + flex: none; + width: 50%; } + .column.is-offset-6-desktop { + margin-left: 50%; } + .column.is-7-desktop { + flex: none; + width: 58.33333%; } + .column.is-offset-7-desktop { + margin-left: 58.33333%; } + .column.is-8-desktop { + flex: none; + width: 66.66667%; } + .column.is-offset-8-desktop { + margin-left: 66.66667%; } + .column.is-9-desktop { + flex: none; + width: 75%; } + .column.is-offset-9-desktop { + margin-left: 75%; } + .column.is-10-desktop { + flex: none; + width: 83.33333%; } + .column.is-offset-10-desktop { + margin-left: 83.33333%; } + .column.is-11-desktop { + flex: none; + width: 91.66667%; } + .column.is-offset-11-desktop { + margin-left: 91.66667%; } + .column.is-12-desktop { + flex: none; + width: 100%; } + .column.is-offset-12-desktop { + margin-left: 100%; } } + @media screen and (min-width: 1216px) { + .column.is-narrow-widescreen { + flex: none; + width: unset; } + .column.is-full-widescreen { + flex: none; + width: 100%; } + .column.is-three-quarters-widescreen { + flex: none; + width: 75%; } + .column.is-two-thirds-widescreen { + flex: none; + width: 66.6666%; } + .column.is-half-widescreen { + flex: none; + width: 50%; } + .column.is-one-third-widescreen { + flex: none; + width: 33.3333%; } + .column.is-one-quarter-widescreen { + flex: none; + width: 25%; } + .column.is-one-fifth-widescreen { + flex: none; + width: 20%; } + .column.is-two-fifths-widescreen { + flex: none; + width: 40%; } + .column.is-three-fifths-widescreen { + flex: none; + width: 60%; } + .column.is-four-fifths-widescreen { + flex: none; + width: 80%; } + .column.is-offset-three-quarters-widescreen { + margin-left: 75%; } + .column.is-offset-two-thirds-widescreen { + margin-left: 66.6666%; } + .column.is-offset-half-widescreen { + margin-left: 50%; } + .column.is-offset-one-third-widescreen { + margin-left: 33.3333%; } + .column.is-offset-one-quarter-widescreen { + margin-left: 25%; } + .column.is-offset-one-fifth-widescreen { + margin-left: 20%; } + .column.is-offset-two-fifths-widescreen { + margin-left: 40%; } + .column.is-offset-three-fifths-widescreen { + margin-left: 60%; } + .column.is-offset-four-fifths-widescreen { + margin-left: 80%; } + .column.is-0-widescreen { + flex: none; + width: 0%; } + .column.is-offset-0-widescreen { + margin-left: 0%; } + .column.is-1-widescreen { + flex: none; + width: 8.33333%; } + .column.is-offset-1-widescreen { + margin-left: 8.33333%; } + .column.is-2-widescreen { + flex: none; + width: 16.66667%; } + .column.is-offset-2-widescreen { + margin-left: 16.66667%; } + .column.is-3-widescreen { + flex: none; + width: 25%; } + .column.is-offset-3-widescreen { + margin-left: 25%; } + .column.is-4-widescreen { + flex: none; + width: 33.33333%; } + .column.is-offset-4-widescreen { + margin-left: 33.33333%; } + .column.is-5-widescreen { + flex: none; + width: 41.66667%; } + .column.is-offset-5-widescreen { + margin-left: 41.66667%; } + .column.is-6-widescreen { + flex: none; + width: 50%; } + .column.is-offset-6-widescreen { + margin-left: 50%; } + .column.is-7-widescreen { + flex: none; + width: 58.33333%; } + .column.is-offset-7-widescreen { + margin-left: 58.33333%; } + .column.is-8-widescreen { + flex: none; + width: 66.66667%; } + .column.is-offset-8-widescreen { + margin-left: 66.66667%; } + .column.is-9-widescreen { + flex: none; + width: 75%; } + .column.is-offset-9-widescreen { + margin-left: 75%; } + .column.is-10-widescreen { + flex: none; + width: 83.33333%; } + .column.is-offset-10-widescreen { + margin-left: 83.33333%; } + .column.is-11-widescreen { + flex: none; + width: 91.66667%; } + .column.is-offset-11-widescreen { + margin-left: 91.66667%; } + .column.is-12-widescreen { + flex: none; + width: 100%; } + .column.is-offset-12-widescreen { + margin-left: 100%; } } + @media screen and (min-width: 1408px) { + .column.is-narrow-fullhd { + flex: none; + width: unset; } + .column.is-full-fullhd { + flex: none; + width: 100%; } + .column.is-three-quarters-fullhd { + flex: none; + width: 75%; } + .column.is-two-thirds-fullhd { + flex: none; + width: 66.6666%; } + .column.is-half-fullhd { + flex: none; + width: 50%; } + .column.is-one-third-fullhd { + flex: none; + width: 33.3333%; } + .column.is-one-quarter-fullhd { + flex: none; + width: 25%; } + .column.is-one-fifth-fullhd { + flex: none; + width: 20%; } + .column.is-two-fifths-fullhd { + flex: none; + width: 40%; } + .column.is-three-fifths-fullhd { + flex: none; + width: 60%; } + .column.is-four-fifths-fullhd { + flex: none; + width: 80%; } + .column.is-offset-three-quarters-fullhd { + margin-left: 75%; } + .column.is-offset-two-thirds-fullhd { + margin-left: 66.6666%; } + .column.is-offset-half-fullhd { + margin-left: 50%; } + .column.is-offset-one-third-fullhd { + margin-left: 33.3333%; } + .column.is-offset-one-quarter-fullhd { + margin-left: 25%; } + .column.is-offset-one-fifth-fullhd { + margin-left: 20%; } + .column.is-offset-two-fifths-fullhd { + margin-left: 40%; } + .column.is-offset-three-fifths-fullhd { + margin-left: 60%; } + .column.is-offset-four-fifths-fullhd { + margin-left: 80%; } + .column.is-0-fullhd { + flex: none; + width: 0%; } + .column.is-offset-0-fullhd { + margin-left: 0%; } + .column.is-1-fullhd { + flex: none; + width: 8.33333%; } + .column.is-offset-1-fullhd { + margin-left: 8.33333%; } + .column.is-2-fullhd { + flex: none; + width: 16.66667%; } + .column.is-offset-2-fullhd { + margin-left: 16.66667%; } + .column.is-3-fullhd { + flex: none; + width: 25%; } + .column.is-offset-3-fullhd { + margin-left: 25%; } + .column.is-4-fullhd { + flex: none; + width: 33.33333%; } + .column.is-offset-4-fullhd { + margin-left: 33.33333%; } + .column.is-5-fullhd { + flex: none; + width: 41.66667%; } + .column.is-offset-5-fullhd { + margin-left: 41.66667%; } + .column.is-6-fullhd { + flex: none; + width: 50%; } + .column.is-offset-6-fullhd { + margin-left: 50%; } + .column.is-7-fullhd { + flex: none; + width: 58.33333%; } + .column.is-offset-7-fullhd { + margin-left: 58.33333%; } + .column.is-8-fullhd { + flex: none; + width: 66.66667%; } + .column.is-offset-8-fullhd { + margin-left: 66.66667%; } + .column.is-9-fullhd { + flex: none; + width: 75%; } + .column.is-offset-9-fullhd { + margin-left: 75%; } + .column.is-10-fullhd { + flex: none; + width: 83.33333%; } + .column.is-offset-10-fullhd { + margin-left: 83.33333%; } + .column.is-11-fullhd { + flex: none; + width: 91.66667%; } + .column.is-offset-11-fullhd { + margin-left: 91.66667%; } + .column.is-12-fullhd { + flex: none; + width: 100%; } + .column.is-offset-12-fullhd { + margin-left: 100%; } } + +.columns { + margin-left: -0.75rem; + margin-right: -0.75rem; + margin-top: -0.75rem; } + .columns:last-child { + margin-bottom: -0.75rem; } + .columns:not(:last-child) { + margin-bottom: calc(1.5rem - 0.75rem); } + .columns.is-centered { + justify-content: center; } + .columns.is-gapless { + margin-left: 0; + margin-right: 0; + margin-top: 0; } + .columns.is-gapless > .column { + margin: 0; + padding: 0 !important; } + .columns.is-gapless:not(:last-child) { + margin-bottom: 1.5rem; } + .columns.is-gapless:last-child { + margin-bottom: 0; } + .columns.is-mobile { + display: flex; } + .columns.is-multiline { + flex-wrap: wrap; } + .columns.is-vcentered { + align-items: center; } + @media screen and (min-width: 769px), print { + .columns:not(.is-desktop) { + display: flex; } } + @media screen and (min-width: 1024px) { + .columns.is-desktop { + display: flex; } } + +.columns.is-variable { + --columnGap: 0.75rem; + margin-left: calc(-1 * var(--columnGap)); + margin-right: calc(-1 * var(--columnGap)); } + .columns.is-variable > .column { + padding-left: var(--columnGap); + padding-right: var(--columnGap); } + .columns.is-variable.is-0 { + --columnGap: 0rem; } + @media screen and (max-width: 768px) { + .columns.is-variable.is-0-mobile { + --columnGap: 0rem; } } + @media screen and (min-width: 769px), print { + .columns.is-variable.is-0-tablet { + --columnGap: 0rem; } } + @media screen and (min-width: 769px) and (max-width: 1023px) { + .columns.is-variable.is-0-tablet-only { + --columnGap: 0rem; } } + @media screen and (max-width: 1023px) { + .columns.is-variable.is-0-touch { + --columnGap: 0rem; } } + @media screen and (min-width: 1024px) { + .columns.is-variable.is-0-desktop { + --columnGap: 0rem; } } + @media screen and (min-width: 1024px) and (max-width: 1215px) { + .columns.is-variable.is-0-desktop-only { + --columnGap: 0rem; } } + @media screen and (min-width: 1216px) { + .columns.is-variable.is-0-widescreen { + --columnGap: 0rem; } } + @media screen and (min-width: 1216px) and (max-width: 1407px) { + .columns.is-variable.is-0-widescreen-only { + --columnGap: 0rem; } } + @media screen and (min-width: 1408px) { + .columns.is-variable.is-0-fullhd { + --columnGap: 0rem; } } + .columns.is-variable.is-1 { + --columnGap: 0.25rem; } + @media screen and (max-width: 768px) { + .columns.is-variable.is-1-mobile { + --columnGap: 0.25rem; } } + @media screen and (min-width: 769px), print { + .columns.is-variable.is-1-tablet { + --columnGap: 0.25rem; } } + @media screen and (min-width: 769px) and (max-width: 1023px) { + .columns.is-variable.is-1-tablet-only { + --columnGap: 0.25rem; } } + @media screen and (max-width: 1023px) { + .columns.is-variable.is-1-touch { + --columnGap: 0.25rem; } } + @media screen and (min-width: 1024px) { + .columns.is-variable.is-1-desktop { + --columnGap: 0.25rem; } } + @media screen and (min-width: 1024px) and (max-width: 1215px) { + .columns.is-variable.is-1-desktop-only { + --columnGap: 0.25rem; } } + @media screen and (min-width: 1216px) { + .columns.is-variable.is-1-widescreen { + --columnGap: 0.25rem; } } + @media screen and (min-width: 1216px) and (max-width: 1407px) { + .columns.is-variable.is-1-widescreen-only { + --columnGap: 0.25rem; } } + @media screen and (min-width: 1408px) { + .columns.is-variable.is-1-fullhd { + --columnGap: 0.25rem; } } + .columns.is-variable.is-2 { + --columnGap: 0.5rem; } + @media screen and (max-width: 768px) { + .columns.is-variable.is-2-mobile { + --columnGap: 0.5rem; } } + @media screen and (min-width: 769px), print { + .columns.is-variable.is-2-tablet { + --columnGap: 0.5rem; } } + @media screen and (min-width: 769px) and (max-width: 1023px) { + .columns.is-variable.is-2-tablet-only { + --columnGap: 0.5rem; } } + @media screen and (max-width: 1023px) { + .columns.is-variable.is-2-touch { + --columnGap: 0.5rem; } } + @media screen and (min-width: 1024px) { + .columns.is-variable.is-2-desktop { + --columnGap: 0.5rem; } } + @media screen and (min-width: 1024px) and (max-width: 1215px) { + .columns.is-variable.is-2-desktop-only { + --columnGap: 0.5rem; } } + @media screen and (min-width: 1216px) { + .columns.is-variable.is-2-widescreen { + --columnGap: 0.5rem; } } + @media screen and (min-width: 1216px) and (max-width: 1407px) { + .columns.is-variable.is-2-widescreen-only { + --columnGap: 0.5rem; } } + @media screen and (min-width: 1408px) { + .columns.is-variable.is-2-fullhd { + --columnGap: 0.5rem; } } + .columns.is-variable.is-3 { + --columnGap: 0.75rem; } + @media screen and (max-width: 768px) { + .columns.is-variable.is-3-mobile { + --columnGap: 0.75rem; } } + @media screen and (min-width: 769px), print { + .columns.is-variable.is-3-tablet { + --columnGap: 0.75rem; } } + @media screen and (min-width: 769px) and (max-width: 1023px) { + .columns.is-variable.is-3-tablet-only { + --columnGap: 0.75rem; } } + @media screen and (max-width: 1023px) { + .columns.is-variable.is-3-touch { + --columnGap: 0.75rem; } } + @media screen and (min-width: 1024px) { + .columns.is-variable.is-3-desktop { + --columnGap: 0.75rem; } } + @media screen and (min-width: 1024px) and (max-width: 1215px) { + .columns.is-variable.is-3-desktop-only { + --columnGap: 0.75rem; } } + @media screen and (min-width: 1216px) { + .columns.is-variable.is-3-widescreen { + --columnGap: 0.75rem; } } + @media screen and (min-width: 1216px) and (max-width: 1407px) { + .columns.is-variable.is-3-widescreen-only { + --columnGap: 0.75rem; } } + @media screen and (min-width: 1408px) { + .columns.is-variable.is-3-fullhd { + --columnGap: 0.75rem; } } + .columns.is-variable.is-4 { + --columnGap: 1rem; } + @media screen and (max-width: 768px) { + .columns.is-variable.is-4-mobile { + --columnGap: 1rem; } } + @media screen and (min-width: 769px), print { + .columns.is-variable.is-4-tablet { + --columnGap: 1rem; } } + @media screen and (min-width: 769px) and (max-width: 1023px) { + .columns.is-variable.is-4-tablet-only { + --columnGap: 1rem; } } + @media screen and (max-width: 1023px) { + .columns.is-variable.is-4-touch { + --columnGap: 1rem; } } + @media screen and (min-width: 1024px) { + .columns.is-variable.is-4-desktop { + --columnGap: 1rem; } } + @media screen and (min-width: 1024px) and (max-width: 1215px) { + .columns.is-variable.is-4-desktop-only { + --columnGap: 1rem; } } + @media screen and (min-width: 1216px) { + .columns.is-variable.is-4-widescreen { + --columnGap: 1rem; } } + @media screen and (min-width: 1216px) and (max-width: 1407px) { + .columns.is-variable.is-4-widescreen-only { + --columnGap: 1rem; } } + @media screen and (min-width: 1408px) { + .columns.is-variable.is-4-fullhd { + --columnGap: 1rem; } } + .columns.is-variable.is-5 { + --columnGap: 1.25rem; } + @media screen and (max-width: 768px) { + .columns.is-variable.is-5-mobile { + --columnGap: 1.25rem; } } + @media screen and (min-width: 769px), print { + .columns.is-variable.is-5-tablet { + --columnGap: 1.25rem; } } + @media screen and (min-width: 769px) and (max-width: 1023px) { + .columns.is-variable.is-5-tablet-only { + --columnGap: 1.25rem; } } + @media screen and (max-width: 1023px) { + .columns.is-variable.is-5-touch { + --columnGap: 1.25rem; } } + @media screen and (min-width: 1024px) { + .columns.is-variable.is-5-desktop { + --columnGap: 1.25rem; } } + @media screen and (min-width: 1024px) and (max-width: 1215px) { + .columns.is-variable.is-5-desktop-only { + --columnGap: 1.25rem; } } + @media screen and (min-width: 1216px) { + .columns.is-variable.is-5-widescreen { + --columnGap: 1.25rem; } } + @media screen and (min-width: 1216px) and (max-width: 1407px) { + .columns.is-variable.is-5-widescreen-only { + --columnGap: 1.25rem; } } + @media screen and (min-width: 1408px) { + .columns.is-variable.is-5-fullhd { + --columnGap: 1.25rem; } } + .columns.is-variable.is-6 { + --columnGap: 1.5rem; } + @media screen and (max-width: 768px) { + .columns.is-variable.is-6-mobile { + --columnGap: 1.5rem; } } + @media screen and (min-width: 769px), print { + .columns.is-variable.is-6-tablet { + --columnGap: 1.5rem; } } + @media screen and (min-width: 769px) and (max-width: 1023px) { + .columns.is-variable.is-6-tablet-only { + --columnGap: 1.5rem; } } + @media screen and (max-width: 1023px) { + .columns.is-variable.is-6-touch { + --columnGap: 1.5rem; } } + @media screen and (min-width: 1024px) { + .columns.is-variable.is-6-desktop { + --columnGap: 1.5rem; } } + @media screen and (min-width: 1024px) and (max-width: 1215px) { + .columns.is-variable.is-6-desktop-only { + --columnGap: 1.5rem; } } + @media screen and (min-width: 1216px) { + .columns.is-variable.is-6-widescreen { + --columnGap: 1.5rem; } } + @media screen and (min-width: 1216px) and (max-width: 1407px) { + .columns.is-variable.is-6-widescreen-only { + --columnGap: 1.5rem; } } + @media screen and (min-width: 1408px) { + .columns.is-variable.is-6-fullhd { + --columnGap: 1.5rem; } } + .columns.is-variable.is-7 { + --columnGap: 1.75rem; } + @media screen and (max-width: 768px) { + .columns.is-variable.is-7-mobile { + --columnGap: 1.75rem; } } + @media screen and (min-width: 769px), print { + .columns.is-variable.is-7-tablet { + --columnGap: 1.75rem; } } + @media screen and (min-width: 769px) and (max-width: 1023px) { + .columns.is-variable.is-7-tablet-only { + --columnGap: 1.75rem; } } + @media screen and (max-width: 1023px) { + .columns.is-variable.is-7-touch { + --columnGap: 1.75rem; } } + @media screen and (min-width: 1024px) { + .columns.is-variable.is-7-desktop { + --columnGap: 1.75rem; } } + @media screen and (min-width: 1024px) and (max-width: 1215px) { + .columns.is-variable.is-7-desktop-only { + --columnGap: 1.75rem; } } + @media screen and (min-width: 1216px) { + .columns.is-variable.is-7-widescreen { + --columnGap: 1.75rem; } } + @media screen and (min-width: 1216px) and (max-width: 1407px) { + .columns.is-variable.is-7-widescreen-only { + --columnGap: 1.75rem; } } + @media screen and (min-width: 1408px) { + .columns.is-variable.is-7-fullhd { + --columnGap: 1.75rem; } } + .columns.is-variable.is-8 { + --columnGap: 2rem; } + @media screen and (max-width: 768px) { + .columns.is-variable.is-8-mobile { + --columnGap: 2rem; } } + @media screen and (min-width: 769px), print { + .columns.is-variable.is-8-tablet { + --columnGap: 2rem; } } + @media screen and (min-width: 769px) and (max-width: 1023px) { + .columns.is-variable.is-8-tablet-only { + --columnGap: 2rem; } } + @media screen and (max-width: 1023px) { + .columns.is-variable.is-8-touch { + --columnGap: 2rem; } } + @media screen and (min-width: 1024px) { + .columns.is-variable.is-8-desktop { + --columnGap: 2rem; } } + @media screen and (min-width: 1024px) and (max-width: 1215px) { + .columns.is-variable.is-8-desktop-only { + --columnGap: 2rem; } } + @media screen and (min-width: 1216px) { + .columns.is-variable.is-8-widescreen { + --columnGap: 2rem; } } + @media screen and (min-width: 1216px) and (max-width: 1407px) { + .columns.is-variable.is-8-widescreen-only { + --columnGap: 2rem; } } + @media screen and (min-width: 1408px) { + .columns.is-variable.is-8-fullhd { + --columnGap: 2rem; } } + +.tile { + align-items: stretch; + display: block; + flex-basis: 0; + flex-grow: 1; + flex-shrink: 1; + min-height: min-content; } + .tile.is-ancestor { + margin-left: -0.75rem; + margin-right: -0.75rem; + margin-top: -0.75rem; } + .tile.is-ancestor:last-child { + margin-bottom: -0.75rem; } + .tile.is-ancestor:not(:last-child) { + margin-bottom: 0.75rem; } + .tile.is-child { + margin: 0 !important; } + .tile.is-parent { + padding: 0.75rem; } + .tile.is-vertical { + flex-direction: column; } + .tile.is-vertical > .tile.is-child:not(:last-child) { + margin-bottom: 1.5rem !important; } + @media screen and (min-width: 769px), print { + .tile:not(.is-child) { + display: flex; } + .tile.is-1 { + flex: none; + width: 8.33333%; } + .tile.is-2 { + flex: none; + width: 16.66667%; } + .tile.is-3 { + flex: none; + width: 25%; } + .tile.is-4 { + flex: none; + width: 33.33333%; } + .tile.is-5 { + flex: none; + width: 41.66667%; } + .tile.is-6 { + flex: none; + width: 50%; } + .tile.is-7 { + flex: none; + width: 58.33333%; } + .tile.is-8 { + flex: none; + width: 66.66667%; } + .tile.is-9 { + flex: none; + width: 75%; } + .tile.is-10 { + flex: none; + width: 83.33333%; } + .tile.is-11 { + flex: none; + width: 91.66667%; } + .tile.is-12 { + flex: none; + width: 100%; } } + +/* Bulma Helpers */ +.has-text-white { + color: white !important; } + +a.has-text-white:hover, a.has-text-white:focus { + color: #e6e6e6 !important; } + +.has-background-white { + background-color: white !important; } + +.has-text-black { + color: #0a0a0a !important; } + +a.has-text-black:hover, a.has-text-black:focus { + color: black !important; } + +.has-background-black { + background-color: #0a0a0a !important; } + +.has-text-light { + color: whitesmoke !important; } + +a.has-text-light:hover, a.has-text-light:focus { + color: #dbdbdb !important; } + +.has-background-light { + background-color: whitesmoke !important; } + +.has-text-dark { + color: #181818 !important; } + +a.has-text-dark:hover, a.has-text-dark:focus { + color: black !important; } + +.has-background-dark { + background-color: #181818 !important; } + +.has-text-primary { + color: #016FB9 !important; } + +a.has-text-primary:hover, a.has-text-primary:focus { + color: #015186 !important; } + +.has-background-primary { + background-color: #016FB9 !important; } + +.has-text-primary-light { + color: #ebf7ff !important; } + +a.has-text-primary-light:hover, a.has-text-primary-light:focus { + color: #b8e2ff !important; } + +.has-background-primary-light { + background-color: #ebf7ff !important; } + +.has-text-primary-dark { + color: #018fee !important; } + +a.has-text-primary-dark:hover, a.has-text-primary-dark:focus { + color: #25a7fe !important; } + +.has-background-primary-dark { + background-color: #018fee !important; } + +.has-text-link { + color: #016FB9 !important; } + +a.has-text-link:hover, a.has-text-link:focus { + color: #015186 !important; } + +.has-background-link { + background-color: #016FB9 !important; } + +.has-text-link-light { + color: #ebf7ff !important; } + +a.has-text-link-light:hover, a.has-text-link-light:focus { + color: #b8e2ff !important; } + +.has-background-link-light { + background-color: #ebf7ff !important; } + +.has-text-link-dark { + color: #018fee !important; } + +a.has-text-link-dark:hover, a.has-text-link-dark:focus { + color: #25a7fe !important; } + +.has-background-link-dark { + background-color: #018fee !important; } + +.has-text-info { + color: #3e8ed0 !important; } + +a.has-text-info:hover, a.has-text-info:focus { + color: #2b74b1 !important; } + +.has-background-info { + background-color: #3e8ed0 !important; } + +.has-text-info-light { + color: #eff5fb !important; } + +a.has-text-info-light:hover, a.has-text-info-light:focus { + color: #c6ddf1 !important; } + +.has-background-info-light { + background-color: #eff5fb !important; } + +.has-text-info-dark { + color: #296fa8 !important; } + +a.has-text-info-dark:hover, a.has-text-info-dark:focus { + color: #368ace !important; } + +.has-background-info-dark { + background-color: #296fa8 !important; } + +.has-text-success { + color: #48c78e !important; } + +a.has-text-success:hover, a.has-text-success:focus { + color: #34a873 !important; } + +.has-background-success { + background-color: #48c78e !important; } + +.has-text-success-light { + color: #effaf5 !important; } + +a.has-text-success-light:hover, a.has-text-success-light:focus { + color: #c8eedd !important; } + +.has-background-success-light { + background-color: #effaf5 !important; } + +.has-text-success-dark { + color: #257953 !important; } + +a.has-text-success-dark:hover, a.has-text-success-dark:focus { + color: #31a06e !important; } + +.has-background-success-dark { + background-color: #257953 !important; } + +.has-text-warning { + color: #ffe08a !important; } + +a.has-text-warning:hover, a.has-text-warning:focus { + color: #ffd257 !important; } + +.has-background-warning { + background-color: #ffe08a !important; } + +.has-text-warning-light { + color: #fffaeb !important; } + +a.has-text-warning-light:hover, a.has-text-warning-light:focus { + color: #ffecb8 !important; } + +.has-background-warning-light { + background-color: #fffaeb !important; } + +.has-text-warning-dark { + color: #946c00 !important; } + +a.has-text-warning-dark:hover, a.has-text-warning-dark:focus { + color: #c79200 !important; } + +.has-background-warning-dark { + background-color: #946c00 !important; } + +.has-text-danger { + color: #f14668 !important; } + +a.has-text-danger:hover, a.has-text-danger:focus { + color: #ee1742 !important; } + +.has-background-danger { + background-color: #f14668 !important; } + +.has-text-danger-light { + color: #feecf0 !important; } + +a.has-text-danger-light:hover, a.has-text-danger-light:focus { + color: #fabdc9 !important; } + +.has-background-danger-light { + background-color: #feecf0 !important; } + +.has-text-danger-dark { + color: #cc0f35 !important; } + +a.has-text-danger-dark:hover, a.has-text-danger-dark:focus { + color: #ee2049 !important; } + +.has-background-danger-dark { + background-color: #cc0f35 !important; } + +.has-text-black-bis { + color: #121212 !important; } + +.has-background-black-bis { + background-color: #121212 !important; } + +.has-text-black-ter { + color: #242424 !important; } + +.has-background-black-ter { + background-color: #242424 !important; } + +.has-text-grey-darker { + color: #363636 !important; } + +.has-background-grey-darker { + background-color: #363636 !important; } + +.has-text-grey-dark { + color: #4a4a4a !important; } + +.has-background-grey-dark { + background-color: #4a4a4a !important; } + +.has-text-grey { + color: #7a7a7a !important; } + +.has-background-grey { + background-color: #7a7a7a !important; } + +.has-text-grey-light { + color: #b5b5b5 !important; } + +.has-background-grey-light { + background-color: #b5b5b5 !important; } + +.has-text-grey-lighter { + color: #dbdbdb !important; } + +.has-background-grey-lighter { + background-color: #dbdbdb !important; } + +.has-text-white-ter { + color: whitesmoke !important; } + +.has-background-white-ter { + background-color: whitesmoke !important; } + +.has-text-white-bis { + color: #fafafa !important; } + +.has-background-white-bis { + background-color: #fafafa !important; } + +.is-flex-direction-row { + flex-direction: row !important; } + +.is-flex-direction-row-reverse { + flex-direction: row-reverse !important; } + +.is-flex-direction-column { + flex-direction: column !important; } + +.is-flex-direction-column-reverse { + flex-direction: column-reverse !important; } + +.is-flex-wrap-nowrap { + flex-wrap: nowrap !important; } + +.is-flex-wrap-wrap { + flex-wrap: wrap !important; } + +.is-flex-wrap-wrap-reverse { + flex-wrap: wrap-reverse !important; } + +.is-justify-content-flex-start { + justify-content: flex-start !important; } + +.is-justify-content-flex-end { + justify-content: flex-end !important; } + +.is-justify-content-center { + justify-content: center !important; } + +.is-justify-content-space-between { + justify-content: space-between !important; } + +.is-justify-content-space-around { + justify-content: space-around !important; } + +.is-justify-content-space-evenly { + justify-content: space-evenly !important; } + +.is-justify-content-start { + justify-content: start !important; } + +.is-justify-content-end { + justify-content: end !important; } + +.is-justify-content-left { + justify-content: left !important; } + +.is-justify-content-right { + justify-content: right !important; } + +.is-align-content-flex-start { + align-content: flex-start !important; } + +.is-align-content-flex-end { + align-content: flex-end !important; } + +.is-align-content-center { + align-content: center !important; } + +.is-align-content-space-between { + align-content: space-between !important; } + +.is-align-content-space-around { + align-content: space-around !important; } + +.is-align-content-space-evenly { + align-content: space-evenly !important; } + +.is-align-content-stretch { + align-content: stretch !important; } + +.is-align-content-start { + align-content: start !important; } + +.is-align-content-end { + align-content: end !important; } + +.is-align-content-baseline { + align-content: baseline !important; } + +.is-align-items-stretch { + align-items: stretch !important; } + +.is-align-items-flex-start { + align-items: flex-start !important; } + +.is-align-items-flex-end { + align-items: flex-end !important; } + +.is-align-items-center { + align-items: center !important; } + +.is-align-items-baseline { + align-items: baseline !important; } + +.is-align-items-start { + align-items: start !important; } + +.is-align-items-end { + align-items: end !important; } + +.is-align-items-self-start { + align-items: self-start !important; } + +.is-align-items-self-end { + align-items: self-end !important; } + +.is-align-self-auto { + align-self: auto !important; } + +.is-align-self-flex-start { + align-self: flex-start !important; } + +.is-align-self-flex-end { + align-self: flex-end !important; } + +.is-align-self-center { + align-self: center !important; } + +.is-align-self-baseline { + align-self: baseline !important; } + +.is-align-self-stretch { + align-self: stretch !important; } + +.is-flex-grow-0 { + flex-grow: 0 !important; } + +.is-flex-grow-1 { + flex-grow: 1 !important; } + +.is-flex-grow-2 { + flex-grow: 2 !important; } + +.is-flex-grow-3 { + flex-grow: 3 !important; } + +.is-flex-grow-4 { + flex-grow: 4 !important; } + +.is-flex-grow-5 { + flex-grow: 5 !important; } + +.is-flex-shrink-0 { + flex-shrink: 0 !important; } + +.is-flex-shrink-1 { + flex-shrink: 1 !important; } + +.is-flex-shrink-2 { + flex-shrink: 2 !important; } + +.is-flex-shrink-3 { + flex-shrink: 3 !important; } + +.is-flex-shrink-4 { + flex-shrink: 4 !important; } + +.is-flex-shrink-5 { + flex-shrink: 5 !important; } + +.is-clearfix::after { + clear: both; + content: " "; + display: table; } + +.is-pulled-left { + float: left !important; } + +.is-pulled-right { + float: right !important; } + +.is-radiusless { + border-radius: 0 !important; } + +.is-shadowless { + box-shadow: none !important; } + +.is-clickable { + cursor: pointer !important; + pointer-events: all !important; } + +.is-clipped { + overflow: hidden !important; } + +.is-relative { + position: relative !important; } + +.is-marginless { + margin: 0 !important; } + +.is-paddingless { + padding: 0 !important; } + +.m-0 { + margin: 0 !important; } + +.mt-0 { + margin-top: 0 !important; } + +.mr-0 { + margin-right: 0 !important; } + +.mb-0 { + margin-bottom: 0 !important; } + +.ml-0 { + margin-left: 0 !important; } + +.mx-0 { + margin-left: 0 !important; + margin-right: 0 !important; } + +.my-0 { + margin-top: 0 !important; + margin-bottom: 0 !important; } + +.m-1 { + margin: 0.25rem !important; } + +.mt-1 { + margin-top: 0.25rem !important; } + +.mr-1 { + margin-right: 0.25rem !important; } + +.mb-1 { + margin-bottom: 0.25rem !important; } + +.ml-1 { + margin-left: 0.25rem !important; } + +.mx-1 { + margin-left: 0.25rem !important; + margin-right: 0.25rem !important; } + +.my-1 { + margin-top: 0.25rem !important; + margin-bottom: 0.25rem !important; } + +.m-2 { + margin: 0.5rem !important; } + +.mt-2 { + margin-top: 0.5rem !important; } + +.mr-2 { + margin-right: 0.5rem !important; } + +.mb-2 { + margin-bottom: 0.5rem !important; } + +.ml-2 { + margin-left: 0.5rem !important; } + +.mx-2 { + margin-left: 0.5rem !important; + margin-right: 0.5rem !important; } + +.my-2 { + margin-top: 0.5rem !important; + margin-bottom: 0.5rem !important; } + +.m-3 { + margin: 0.75rem !important; } + +.mt-3 { + margin-top: 0.75rem !important; } + +.mr-3 { + margin-right: 0.75rem !important; } + +.mb-3 { + margin-bottom: 0.75rem !important; } + +.ml-3 { + margin-left: 0.75rem !important; } + +.mx-3 { + margin-left: 0.75rem !important; + margin-right: 0.75rem !important; } + +.my-3 { + margin-top: 0.75rem !important; + margin-bottom: 0.75rem !important; } + +.m-4 { + margin: 1rem !important; } + +.mt-4 { + margin-top: 1rem !important; } + +.mr-4 { + margin-right: 1rem !important; } + +.mb-4 { + margin-bottom: 1rem !important; } + +.ml-4 { + margin-left: 1rem !important; } + +.mx-4 { + margin-left: 1rem !important; + margin-right: 1rem !important; } + +.my-4 { + margin-top: 1rem !important; + margin-bottom: 1rem !important; } + +.m-5 { + margin: 1.5rem !important; } + +.mt-5 { + margin-top: 1.5rem !important; } + +.mr-5 { + margin-right: 1.5rem !important; } + +.mb-5 { + margin-bottom: 1.5rem !important; } + +.ml-5 { + margin-left: 1.5rem !important; } + +.mx-5 { + margin-left: 1.5rem !important; + margin-right: 1.5rem !important; } + +.my-5 { + margin-top: 1.5rem !important; + margin-bottom: 1.5rem !important; } + +.m-6 { + margin: 3rem !important; } + +.mt-6 { + margin-top: 3rem !important; } + +.mr-6 { + margin-right: 3rem !important; } + +.mb-6 { + margin-bottom: 3rem !important; } + +.ml-6 { + margin-left: 3rem !important; } + +.mx-6 { + margin-left: 3rem !important; + margin-right: 3rem !important; } + +.my-6 { + margin-top: 3rem !important; + margin-bottom: 3rem !important; } + +.m-auto { + margin: auto !important; } + +.mt-auto { + margin-top: auto !important; } + +.mr-auto { + margin-right: auto !important; } + +.mb-auto { + margin-bottom: auto !important; } + +.ml-auto { + margin-left: auto !important; } + +.mx-auto { + margin-left: auto !important; + margin-right: auto !important; } + +.my-auto { + margin-top: auto !important; + margin-bottom: auto !important; } + +.p-0 { + padding: 0 !important; } + +.pt-0 { + padding-top: 0 !important; } + +.pr-0 { + padding-right: 0 !important; } + +.pb-0 { + padding-bottom: 0 !important; } + +.pl-0 { + padding-left: 0 !important; } + +.px-0 { + padding-left: 0 !important; + padding-right: 0 !important; } + +.py-0 { + padding-top: 0 !important; + padding-bottom: 0 !important; } + +.p-1 { + padding: 0.25rem !important; } + +.pt-1 { + padding-top: 0.25rem !important; } + +.pr-1 { + padding-right: 0.25rem !important; } + +.pb-1 { + padding-bottom: 0.25rem !important; } + +.pl-1 { + padding-left: 0.25rem !important; } + +.px-1 { + padding-left: 0.25rem !important; + padding-right: 0.25rem !important; } + +.py-1 { + padding-top: 0.25rem !important; + padding-bottom: 0.25rem !important; } + +.p-2 { + padding: 0.5rem !important; } + +.pt-2 { + padding-top: 0.5rem !important; } + +.pr-2 { + padding-right: 0.5rem !important; } + +.pb-2 { + padding-bottom: 0.5rem !important; } + +.pl-2 { + padding-left: 0.5rem !important; } + +.px-2 { + padding-left: 0.5rem !important; + padding-right: 0.5rem !important; } + +.py-2 { + padding-top: 0.5rem !important; + padding-bottom: 0.5rem !important; } + +.p-3 { + padding: 0.75rem !important; } + +.pt-3 { + padding-top: 0.75rem !important; } + +.pr-3 { + padding-right: 0.75rem !important; } + +.pb-3 { + padding-bottom: 0.75rem !important; } + +.pl-3 { + padding-left: 0.75rem !important; } + +.px-3 { + padding-left: 0.75rem !important; + padding-right: 0.75rem !important; } + +.py-3 { + padding-top: 0.75rem !important; + padding-bottom: 0.75rem !important; } + +.p-4 { + padding: 1rem !important; } + +.pt-4 { + padding-top: 1rem !important; } + +.pr-4 { + padding-right: 1rem !important; } + +.pb-4 { + padding-bottom: 1rem !important; } + +.pl-4 { + padding-left: 1rem !important; } + +.px-4 { + padding-left: 1rem !important; + padding-right: 1rem !important; } + +.py-4 { + padding-top: 1rem !important; + padding-bottom: 1rem !important; } + +.p-5 { + padding: 1.5rem !important; } + +.pt-5 { + padding-top: 1.5rem !important; } + +.pr-5 { + padding-right: 1.5rem !important; } + +.pb-5 { + padding-bottom: 1.5rem !important; } + +.pl-5 { + padding-left: 1.5rem !important; } + +.px-5 { + padding-left: 1.5rem !important; + padding-right: 1.5rem !important; } + +.py-5 { + padding-top: 1.5rem !important; + padding-bottom: 1.5rem !important; } + +.p-6 { + padding: 3rem !important; } + +.pt-6 { + padding-top: 3rem !important; } + +.pr-6 { + padding-right: 3rem !important; } + +.pb-6 { + padding-bottom: 3rem !important; } + +.pl-6 { + padding-left: 3rem !important; } + +.px-6 { + padding-left: 3rem !important; + padding-right: 3rem !important; } + +.py-6 { + padding-top: 3rem !important; + padding-bottom: 3rem !important; } + +.p-auto { + padding: auto !important; } + +.pt-auto { + padding-top: auto !important; } + +.pr-auto { + padding-right: auto !important; } + +.pb-auto { + padding-bottom: auto !important; } + +.pl-auto { + padding-left: auto !important; } + +.px-auto { + padding-left: auto !important; + padding-right: auto !important; } + +.py-auto { + padding-top: auto !important; + padding-bottom: auto !important; } + +.is-size-1 { + font-size: 3rem !important; } + +.is-size-2 { + font-size: 2.5rem !important; } + +.is-size-3 { + font-size: 2rem !important; } + +.is-size-4 { + font-size: 1.5rem !important; } + +.is-size-5 { + font-size: 1.25rem !important; } + +.is-size-6 { + font-size: 1rem !important; } + +.is-size-7 { + font-size: 0.75rem !important; } + +@media screen and (max-width: 768px) { + .is-size-1-mobile { + font-size: 3rem !important; } + .is-size-2-mobile { + font-size: 2.5rem !important; } + .is-size-3-mobile { + font-size: 2rem !important; } + .is-size-4-mobile { + font-size: 1.5rem !important; } + .is-size-5-mobile { + font-size: 1.25rem !important; } + .is-size-6-mobile { + font-size: 1rem !important; } + .is-size-7-mobile { + font-size: 0.75rem !important; } } + +@media screen and (min-width: 769px), print { + .is-size-1-tablet { + font-size: 3rem !important; } + .is-size-2-tablet { + font-size: 2.5rem !important; } + .is-size-3-tablet { + font-size: 2rem !important; } + .is-size-4-tablet { + font-size: 1.5rem !important; } + .is-size-5-tablet { + font-size: 1.25rem !important; } + .is-size-6-tablet { + font-size: 1rem !important; } + .is-size-7-tablet { + font-size: 0.75rem !important; } } + +@media screen and (max-width: 1023px) { + .is-size-1-touch { + font-size: 3rem !important; } + .is-size-2-touch { + font-size: 2.5rem !important; } + .is-size-3-touch { + font-size: 2rem !important; } + .is-size-4-touch { + font-size: 1.5rem !important; } + .is-size-5-touch { + font-size: 1.25rem !important; } + .is-size-6-touch { + font-size: 1rem !important; } + .is-size-7-touch { + font-size: 0.75rem !important; } } + +@media screen and (min-width: 1024px) { + .is-size-1-desktop { + font-size: 3rem !important; } + .is-size-2-desktop { + font-size: 2.5rem !important; } + .is-size-3-desktop { + font-size: 2rem !important; } + .is-size-4-desktop { + font-size: 1.5rem !important; } + .is-size-5-desktop { + font-size: 1.25rem !important; } + .is-size-6-desktop { + font-size: 1rem !important; } + .is-size-7-desktop { + font-size: 0.75rem !important; } } + +@media screen and (min-width: 1216px) { + .is-size-1-widescreen { + font-size: 3rem !important; } + .is-size-2-widescreen { + font-size: 2.5rem !important; } + .is-size-3-widescreen { + font-size: 2rem !important; } + .is-size-4-widescreen { + font-size: 1.5rem !important; } + .is-size-5-widescreen { + font-size: 1.25rem !important; } + .is-size-6-widescreen { + font-size: 1rem !important; } + .is-size-7-widescreen { + font-size: 0.75rem !important; } } + +@media screen and (min-width: 1408px) { + .is-size-1-fullhd { + font-size: 3rem !important; } + .is-size-2-fullhd { + font-size: 2.5rem !important; } + .is-size-3-fullhd { + font-size: 2rem !important; } + .is-size-4-fullhd { + font-size: 1.5rem !important; } + .is-size-5-fullhd { + font-size: 1.25rem !important; } + .is-size-6-fullhd { + font-size: 1rem !important; } + .is-size-7-fullhd { + font-size: 0.75rem !important; } } + +.has-text-centered { + text-align: center !important; } + +.has-text-justified { + text-align: justify !important; } + +.has-text-left { + text-align: left !important; } + +.has-text-right { + text-align: right !important; } + +@media screen and (max-width: 768px) { + .has-text-centered-mobile { + text-align: center !important; } } + +@media screen and (min-width: 769px), print { + .has-text-centered-tablet { + text-align: center !important; } } + +@media screen and (min-width: 769px) and (max-width: 1023px) { + .has-text-centered-tablet-only { + text-align: center !important; } } + +@media screen and (max-width: 1023px) { + .has-text-centered-touch { + text-align: center !important; } } + +@media screen and (min-width: 1024px) { + .has-text-centered-desktop { + text-align: center !important; } } + +@media screen and (min-width: 1024px) and (max-width: 1215px) { + .has-text-centered-desktop-only { + text-align: center !important; } } + +@media screen and (min-width: 1216px) { + .has-text-centered-widescreen { + text-align: center !important; } } + +@media screen and (min-width: 1216px) and (max-width: 1407px) { + .has-text-centered-widescreen-only { + text-align: center !important; } } + +@media screen and (min-width: 1408px) { + .has-text-centered-fullhd { + text-align: center !important; } } + +@media screen and (max-width: 768px) { + .has-text-justified-mobile { + text-align: justify !important; } } + +@media screen and (min-width: 769px), print { + .has-text-justified-tablet { + text-align: justify !important; } } + +@media screen and (min-width: 769px) and (max-width: 1023px) { + .has-text-justified-tablet-only { + text-align: justify !important; } } + +@media screen and (max-width: 1023px) { + .has-text-justified-touch { + text-align: justify !important; } } + +@media screen and (min-width: 1024px) { + .has-text-justified-desktop { + text-align: justify !important; } } + +@media screen and (min-width: 1024px) and (max-width: 1215px) { + .has-text-justified-desktop-only { + text-align: justify !important; } } + +@media screen and (min-width: 1216px) { + .has-text-justified-widescreen { + text-align: justify !important; } } + +@media screen and (min-width: 1216px) and (max-width: 1407px) { + .has-text-justified-widescreen-only { + text-align: justify !important; } } + +@media screen and (min-width: 1408px) { + .has-text-justified-fullhd { + text-align: justify !important; } } + +@media screen and (max-width: 768px) { + .has-text-left-mobile { + text-align: left !important; } } + +@media screen and (min-width: 769px), print { + .has-text-left-tablet { + text-align: left !important; } } + +@media screen and (min-width: 769px) and (max-width: 1023px) { + .has-text-left-tablet-only { + text-align: left !important; } } + +@media screen and (max-width: 1023px) { + .has-text-left-touch { + text-align: left !important; } } + +@media screen and (min-width: 1024px) { + .has-text-left-desktop { + text-align: left !important; } } + +@media screen and (min-width: 1024px) and (max-width: 1215px) { + .has-text-left-desktop-only { + text-align: left !important; } } + +@media screen and (min-width: 1216px) { + .has-text-left-widescreen { + text-align: left !important; } } + +@media screen and (min-width: 1216px) and (max-width: 1407px) { + .has-text-left-widescreen-only { + text-align: left !important; } } + +@media screen and (min-width: 1408px) { + .has-text-left-fullhd { + text-align: left !important; } } + +@media screen and (max-width: 768px) { + .has-text-right-mobile { + text-align: right !important; } } + +@media screen and (min-width: 769px), print { + .has-text-right-tablet { + text-align: right !important; } } + +@media screen and (min-width: 769px) and (max-width: 1023px) { + .has-text-right-tablet-only { + text-align: right !important; } } + +@media screen and (max-width: 1023px) { + .has-text-right-touch { + text-align: right !important; } } + +@media screen and (min-width: 1024px) { + .has-text-right-desktop { + text-align: right !important; } } + +@media screen and (min-width: 1024px) and (max-width: 1215px) { + .has-text-right-desktop-only { + text-align: right !important; } } + +@media screen and (min-width: 1216px) { + .has-text-right-widescreen { + text-align: right !important; } } + +@media screen and (min-width: 1216px) and (max-width: 1407px) { + .has-text-right-widescreen-only { + text-align: right !important; } } + +@media screen and (min-width: 1408px) { + .has-text-right-fullhd { + text-align: right !important; } } + +.is-capitalized { + text-transform: capitalize !important; } + +.is-lowercase { + text-transform: lowercase !important; } + +.is-uppercase { + text-transform: uppercase !important; } + +.is-italic { + font-style: italic !important; } + +.is-underlined { + text-decoration: underline !important; } + +.has-text-weight-light { + font-weight: 300 !important; } + +.has-text-weight-normal { + font-weight: 400 !important; } + +.has-text-weight-medium { + font-weight: 500 !important; } + +.has-text-weight-semibold { + font-weight: 600 !important; } + +.has-text-weight-bold { + font-weight: 700 !important; } + +.is-family-primary { + font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !important; } + +.is-family-secondary { + font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !important; } + +.is-family-sans-serif { + font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !important; } + +.is-family-monospace { + font-family: monospace !important; } + +.is-family-code { + font-family: monospace !important; } + +.is-block { + display: block !important; } + +@media screen and (max-width: 768px) { + .is-block-mobile { + display: block !important; } } + +@media screen and (min-width: 769px), print { + .is-block-tablet { + display: block !important; } } + +@media screen and (min-width: 769px) and (max-width: 1023px) { + .is-block-tablet-only { + display: block !important; } } + +@media screen and (max-width: 1023px) { + .is-block-touch { + display: block !important; } } + +@media screen and (min-width: 1024px) { + .is-block-desktop { + display: block !important; } } + +@media screen and (min-width: 1024px) and (max-width: 1215px) { + .is-block-desktop-only { + display: block !important; } } + +@media screen and (min-width: 1216px) { + .is-block-widescreen { + display: block !important; } } + +@media screen and (min-width: 1216px) and (max-width: 1407px) { + .is-block-widescreen-only { + display: block !important; } } + +@media screen and (min-width: 1408px) { + .is-block-fullhd { + display: block !important; } } + +.is-flex { + display: flex !important; } + +@media screen and (max-width: 768px) { + .is-flex-mobile { + display: flex !important; } } + +@media screen and (min-width: 769px), print { + .is-flex-tablet { + display: flex !important; } } + +@media screen and (min-width: 769px) and (max-width: 1023px) { + .is-flex-tablet-only { + display: flex !important; } } + +@media screen and (max-width: 1023px) { + .is-flex-touch { + display: flex !important; } } + +@media screen and (min-width: 1024px) { + .is-flex-desktop { + display: flex !important; } } + +@media screen and (min-width: 1024px) and (max-width: 1215px) { + .is-flex-desktop-only { + display: flex !important; } } + +@media screen and (min-width: 1216px) { + .is-flex-widescreen { + display: flex !important; } } + +@media screen and (min-width: 1216px) and (max-width: 1407px) { + .is-flex-widescreen-only { + display: flex !important; } } + +@media screen and (min-width: 1408px) { + .is-flex-fullhd { + display: flex !important; } } + +.is-inline { + display: inline !important; } + +@media screen and (max-width: 768px) { + .is-inline-mobile { + display: inline !important; } } + +@media screen and (min-width: 769px), print { + .is-inline-tablet { + display: inline !important; } } + +@media screen and (min-width: 769px) and (max-width: 1023px) { + .is-inline-tablet-only { + display: inline !important; } } + +@media screen and (max-width: 1023px) { + .is-inline-touch { + display: inline !important; } } + +@media screen and (min-width: 1024px) { + .is-inline-desktop { + display: inline !important; } } + +@media screen and (min-width: 1024px) and (max-width: 1215px) { + .is-inline-desktop-only { + display: inline !important; } } + +@media screen and (min-width: 1216px) { + .is-inline-widescreen { + display: inline !important; } } + +@media screen and (min-width: 1216px) and (max-width: 1407px) { + .is-inline-widescreen-only { + display: inline !important; } } + +@media screen and (min-width: 1408px) { + .is-inline-fullhd { + display: inline !important; } } + +.is-inline-block { + display: inline-block !important; } + +@media screen and (max-width: 768px) { + .is-inline-block-mobile { + display: inline-block !important; } } + +@media screen and (min-width: 769px), print { + .is-inline-block-tablet { + display: inline-block !important; } } + +@media screen and (min-width: 769px) and (max-width: 1023px) { + .is-inline-block-tablet-only { + display: inline-block !important; } } + +@media screen and (max-width: 1023px) { + .is-inline-block-touch { + display: inline-block !important; } } + +@media screen and (min-width: 1024px) { + .is-inline-block-desktop { + display: inline-block !important; } } + +@media screen and (min-width: 1024px) and (max-width: 1215px) { + .is-inline-block-desktop-only { + display: inline-block !important; } } + +@media screen and (min-width: 1216px) { + .is-inline-block-widescreen { + display: inline-block !important; } } + +@media screen and (min-width: 1216px) and (max-width: 1407px) { + .is-inline-block-widescreen-only { + display: inline-block !important; } } + +@media screen and (min-width: 1408px) { + .is-inline-block-fullhd { + display: inline-block !important; } } + +.is-inline-flex { + display: inline-flex !important; } + +@media screen and (max-width: 768px) { + .is-inline-flex-mobile { + display: inline-flex !important; } } + +@media screen and (min-width: 769px), print { + .is-inline-flex-tablet { + display: inline-flex !important; } } + +@media screen and (min-width: 769px) and (max-width: 1023px) { + .is-inline-flex-tablet-only { + display: inline-flex !important; } } + +@media screen and (max-width: 1023px) { + .is-inline-flex-touch { + display: inline-flex !important; } } + +@media screen and (min-width: 1024px) { + .is-inline-flex-desktop { + display: inline-flex !important; } } + +@media screen and (min-width: 1024px) and (max-width: 1215px) { + .is-inline-flex-desktop-only { + display: inline-flex !important; } } + +@media screen and (min-width: 1216px) { + .is-inline-flex-widescreen { + display: inline-flex !important; } } + +@media screen and (min-width: 1216px) and (max-width: 1407px) { + .is-inline-flex-widescreen-only { + display: inline-flex !important; } } + +@media screen and (min-width: 1408px) { + .is-inline-flex-fullhd { + display: inline-flex !important; } } + +.is-hidden { + display: none !important; } + +.is-sr-only { + border: none !important; + clip: rect(0, 0, 0, 0) !important; + height: 0.01em !important; + overflow: hidden !important; + padding: 0 !important; + position: absolute !important; + white-space: nowrap !important; + width: 0.01em !important; } + +@media screen and (max-width: 768px) { + .is-hidden-mobile { + display: none !important; } } + +@media screen and (min-width: 769px), print { + .is-hidden-tablet { + display: none !important; } } + +@media screen and (min-width: 769px) and (max-width: 1023px) { + .is-hidden-tablet-only { + display: none !important; } } + +@media screen and (max-width: 1023px) { + .is-hidden-touch { + display: none !important; } } + +@media screen and (min-width: 1024px) { + .is-hidden-desktop { + display: none !important; } } + +@media screen and (min-width: 1024px) and (max-width: 1215px) { + .is-hidden-desktop-only { + display: none !important; } } + +@media screen and (min-width: 1216px) { + .is-hidden-widescreen { + display: none !important; } } + +@media screen and (min-width: 1216px) and (max-width: 1407px) { + .is-hidden-widescreen-only { + display: none !important; } } + +@media screen and (min-width: 1408px) { + .is-hidden-fullhd { + display: none !important; } } + +.is-invisible { + visibility: hidden !important; } + +@media screen and (max-width: 768px) { + .is-invisible-mobile { + visibility: hidden !important; } } + +@media screen and (min-width: 769px), print { + .is-invisible-tablet { + visibility: hidden !important; } } + +@media screen and (min-width: 769px) and (max-width: 1023px) { + .is-invisible-tablet-only { + visibility: hidden !important; } } + +@media screen and (max-width: 1023px) { + .is-invisible-touch { + visibility: hidden !important; } } + +@media screen and (min-width: 1024px) { + .is-invisible-desktop { + visibility: hidden !important; } } + +@media screen and (min-width: 1024px) and (max-width: 1215px) { + .is-invisible-desktop-only { + visibility: hidden !important; } } + +@media screen and (min-width: 1216px) { + .is-invisible-widescreen { + visibility: hidden !important; } } + +@media screen and (min-width: 1216px) and (max-width: 1407px) { + .is-invisible-widescreen-only { + visibility: hidden !important; } } + +@media screen and (min-width: 1408px) { + .is-invisible-fullhd { + visibility: hidden !important; } } + +/* Bulma Layout */ +.hero { + align-items: stretch; + display: flex; + flex-direction: column; + justify-content: space-between; } + .hero .navbar { + background: none; } + .hero .tabs ul { + border-bottom: none; } + .hero.is-white { + background-color: white; + color: #0a0a0a; } + .hero.is-white a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current), + .hero.is-white strong { + color: inherit; } + .hero.is-white .title { + color: #0a0a0a; } + .hero.is-white .subtitle { + color: rgba(10, 10, 10, 0.9); } + .hero.is-white .subtitle a:not(.button), + .hero.is-white .subtitle strong { + color: #0a0a0a; } + @media screen and (max-width: 1023px) { + .hero.is-white .navbar-menu { + background-color: white; } } + .hero.is-white .navbar-item, + .hero.is-white .navbar-link { + color: rgba(10, 10, 10, 0.7); } + .hero.is-white a.navbar-item:hover, .hero.is-white a.navbar-item.is-active, + .hero.is-white .navbar-link:hover, + .hero.is-white .navbar-link.is-active { + background-color: #f2f2f2; + color: #0a0a0a; } + .hero.is-white .tabs a { + color: #0a0a0a; + opacity: 0.9; } + .hero.is-white .tabs a:hover { + opacity: 1; } + .hero.is-white .tabs li.is-active a { + color: white !important; + opacity: 1; } + .hero.is-white .tabs.is-boxed a, .hero.is-white .tabs.is-toggle a { + color: #0a0a0a; } + .hero.is-white .tabs.is-boxed a:hover, .hero.is-white .tabs.is-toggle a:hover { + background-color: rgba(10, 10, 10, 0.1); } + .hero.is-white .tabs.is-boxed li.is-active a, .hero.is-white .tabs.is-boxed li.is-active a:hover, .hero.is-white .tabs.is-toggle li.is-active a, .hero.is-white .tabs.is-toggle li.is-active a:hover { + background-color: #0a0a0a; + border-color: #0a0a0a; + color: white; } + .hero.is-white.is-bold { + background-image: linear-gradient(141deg, #e6e6e6 0%, white 71%, white 100%); } + @media screen and (max-width: 768px) { + .hero.is-white.is-bold .navbar-menu { + background-image: linear-gradient(141deg, #e6e6e6 0%, white 71%, white 100%); } } + .hero.is-black { + background-color: #0a0a0a; + color: white; } + .hero.is-black a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current), + .hero.is-black strong { + color: inherit; } + .hero.is-black .title { + color: white; } + .hero.is-black .subtitle { + color: rgba(255, 255, 255, 0.9); } + .hero.is-black .subtitle a:not(.button), + .hero.is-black .subtitle strong { + color: white; } + @media screen and (max-width: 1023px) { + .hero.is-black .navbar-menu { + background-color: #0a0a0a; } } + .hero.is-black .navbar-item, + .hero.is-black .navbar-link { + color: rgba(255, 255, 255, 0.7); } + .hero.is-black a.navbar-item:hover, .hero.is-black a.navbar-item.is-active, + .hero.is-black .navbar-link:hover, + .hero.is-black .navbar-link.is-active { + background-color: black; + color: white; } + .hero.is-black .tabs a { + color: white; + opacity: 0.9; } + .hero.is-black .tabs a:hover { + opacity: 1; } + .hero.is-black .tabs li.is-active a { + color: #0a0a0a !important; + opacity: 1; } + .hero.is-black .tabs.is-boxed a, .hero.is-black .tabs.is-toggle a { + color: white; } + .hero.is-black .tabs.is-boxed a:hover, .hero.is-black .tabs.is-toggle a:hover { + background-color: rgba(10, 10, 10, 0.1); } + .hero.is-black .tabs.is-boxed li.is-active a, .hero.is-black .tabs.is-boxed li.is-active a:hover, .hero.is-black .tabs.is-toggle li.is-active a, .hero.is-black .tabs.is-toggle li.is-active a:hover { + background-color: white; + border-color: white; + color: #0a0a0a; } + .hero.is-black.is-bold { + background-image: linear-gradient(141deg, black 0%, #0a0a0a 71%, #181616 100%); } + @media screen and (max-width: 768px) { + .hero.is-black.is-bold .navbar-menu { + background-image: linear-gradient(141deg, black 0%, #0a0a0a 71%, #181616 100%); } } + .hero.is-light { + background-color: whitesmoke; + color: rgba(0, 0, 0, 0.7); } + .hero.is-light a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current), + .hero.is-light strong { + color: inherit; } + .hero.is-light .title { + color: rgba(0, 0, 0, 0.7); } + .hero.is-light .subtitle { + color: rgba(0, 0, 0, 0.9); } + .hero.is-light .subtitle a:not(.button), + .hero.is-light .subtitle strong { + color: rgba(0, 0, 0, 0.7); } + @media screen and (max-width: 1023px) { + .hero.is-light .navbar-menu { + background-color: whitesmoke; } } + .hero.is-light .navbar-item, + .hero.is-light .navbar-link { + color: rgba(0, 0, 0, 0.7); } + .hero.is-light a.navbar-item:hover, .hero.is-light a.navbar-item.is-active, + .hero.is-light .navbar-link:hover, + .hero.is-light .navbar-link.is-active { + background-color: #e8e8e8; + color: rgba(0, 0, 0, 0.7); } + .hero.is-light .tabs a { + color: rgba(0, 0, 0, 0.7); + opacity: 0.9; } + .hero.is-light .tabs a:hover { + opacity: 1; } + .hero.is-light .tabs li.is-active a { + color: whitesmoke !important; + opacity: 1; } + .hero.is-light .tabs.is-boxed a, .hero.is-light .tabs.is-toggle a { + color: rgba(0, 0, 0, 0.7); } + .hero.is-light .tabs.is-boxed a:hover, .hero.is-light .tabs.is-toggle a:hover { + background-color: rgba(10, 10, 10, 0.1); } + .hero.is-light .tabs.is-boxed li.is-active a, .hero.is-light .tabs.is-boxed li.is-active a:hover, .hero.is-light .tabs.is-toggle li.is-active a, .hero.is-light .tabs.is-toggle li.is-active a:hover { + background-color: rgba(0, 0, 0, 0.7); + border-color: rgba(0, 0, 0, 0.7); + color: whitesmoke; } + .hero.is-light.is-bold { + background-image: linear-gradient(141deg, #dfd8d9 0%, whitesmoke 71%, white 100%); } + @media screen and (max-width: 768px) { + .hero.is-light.is-bold .navbar-menu { + background-image: linear-gradient(141deg, #dfd8d9 0%, whitesmoke 71%, white 100%); } } + .hero.is-dark { + background-color: #181818; + color: #fff; } + .hero.is-dark a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current), + .hero.is-dark strong { + color: inherit; } + .hero.is-dark .title { + color: #fff; } + .hero.is-dark .subtitle { + color: rgba(255, 255, 255, 0.9); } + .hero.is-dark .subtitle a:not(.button), + .hero.is-dark .subtitle strong { + color: #fff; } + @media screen and (max-width: 1023px) { + .hero.is-dark .navbar-menu { + background-color: #181818; } } + .hero.is-dark .navbar-item, + .hero.is-dark .navbar-link { + color: rgba(255, 255, 255, 0.7); } + .hero.is-dark a.navbar-item:hover, .hero.is-dark a.navbar-item.is-active, + .hero.is-dark .navbar-link:hover, + .hero.is-dark .navbar-link.is-active { + background-color: #0b0b0b; + color: #fff; } + .hero.is-dark .tabs a { + color: #fff; + opacity: 0.9; } + .hero.is-dark .tabs a:hover { + opacity: 1; } + .hero.is-dark .tabs li.is-active a { + color: #181818 !important; + opacity: 1; } + .hero.is-dark .tabs.is-boxed a, .hero.is-dark .tabs.is-toggle a { + color: #fff; } + .hero.is-dark .tabs.is-boxed a:hover, .hero.is-dark .tabs.is-toggle a:hover { + background-color: rgba(10, 10, 10, 0.1); } + .hero.is-dark .tabs.is-boxed li.is-active a, .hero.is-dark .tabs.is-boxed li.is-active a:hover, .hero.is-dark .tabs.is-toggle li.is-active a, .hero.is-dark .tabs.is-toggle li.is-active a:hover { + background-color: #fff; + border-color: #fff; + color: #181818; } + .hero.is-dark.is-bold { + background-image: linear-gradient(141deg, black 0%, #181818 71%, #272423 100%); } + @media screen and (max-width: 768px) { + .hero.is-dark.is-bold .navbar-menu { + background-image: linear-gradient(141deg, black 0%, #181818 71%, #272423 100%); } } + .hero.is-primary { + background-color: #016FB9; + color: #fff; } + .hero.is-primary a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current), + .hero.is-primary strong { + color: inherit; } + .hero.is-primary .title { + color: #fff; } + .hero.is-primary .subtitle { + color: rgba(255, 255, 255, 0.9); } + .hero.is-primary .subtitle a:not(.button), + .hero.is-primary .subtitle strong { + color: #fff; } + @media screen and (max-width: 1023px) { + .hero.is-primary .navbar-menu { + background-color: #016FB9; } } + .hero.is-primary .navbar-item, + .hero.is-primary .navbar-link { + color: rgba(255, 255, 255, 0.7); } + .hero.is-primary a.navbar-item:hover, .hero.is-primary a.navbar-item.is-active, + .hero.is-primary .navbar-link:hover, + .hero.is-primary .navbar-link.is-active { + background-color: #0160a0; + color: #fff; } + .hero.is-primary .tabs a { + color: #fff; + opacity: 0.9; } + .hero.is-primary .tabs a:hover { + opacity: 1; } + .hero.is-primary .tabs li.is-active a { + color: #016FB9 !important; + opacity: 1; } + .hero.is-primary .tabs.is-boxed a, .hero.is-primary .tabs.is-toggle a { + color: #fff; } + .hero.is-primary .tabs.is-boxed a:hover, .hero.is-primary .tabs.is-toggle a:hover { + background-color: rgba(10, 10, 10, 0.1); } + .hero.is-primary .tabs.is-boxed li.is-active a, .hero.is-primary .tabs.is-boxed li.is-active a:hover, .hero.is-primary .tabs.is-toggle li.is-active a, .hero.is-primary .tabs.is-toggle li.is-active a:hover { + background-color: #fff; + border-color: #fff; + color: #016FB9; } + .hero.is-primary.is-bold { + background-image: linear-gradient(141deg, #006787 0%, #016FB9 71%, #005bd4 100%); } + @media screen and (max-width: 768px) { + .hero.is-primary.is-bold .navbar-menu { + background-image: linear-gradient(141deg, #006787 0%, #016FB9 71%, #005bd4 100%); } } + .hero.is-link { + background-color: #016FB9; + color: #fff; } + .hero.is-link a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current), + .hero.is-link strong { + color: inherit; } + .hero.is-link .title { + color: #fff; } + .hero.is-link .subtitle { + color: rgba(255, 255, 255, 0.9); } + .hero.is-link .subtitle a:not(.button), + .hero.is-link .subtitle strong { + color: #fff; } + @media screen and (max-width: 1023px) { + .hero.is-link .navbar-menu { + background-color: #016FB9; } } + .hero.is-link .navbar-item, + .hero.is-link .navbar-link { + color: rgba(255, 255, 255, 0.7); } + .hero.is-link a.navbar-item:hover, .hero.is-link a.navbar-item.is-active, + .hero.is-link .navbar-link:hover, + .hero.is-link .navbar-link.is-active { + background-color: #0160a0; + color: #fff; } + .hero.is-link .tabs a { + color: #fff; + opacity: 0.9; } + .hero.is-link .tabs a:hover { + opacity: 1; } + .hero.is-link .tabs li.is-active a { + color: #016FB9 !important; + opacity: 1; } + .hero.is-link .tabs.is-boxed a, .hero.is-link .tabs.is-toggle a { + color: #fff; } + .hero.is-link .tabs.is-boxed a:hover, .hero.is-link .tabs.is-toggle a:hover { + background-color: rgba(10, 10, 10, 0.1); } + .hero.is-link .tabs.is-boxed li.is-active a, .hero.is-link .tabs.is-boxed li.is-active a:hover, .hero.is-link .tabs.is-toggle li.is-active a, .hero.is-link .tabs.is-toggle li.is-active a:hover { + background-color: #fff; + border-color: #fff; + color: #016FB9; } + .hero.is-link.is-bold { + background-image: linear-gradient(141deg, #006787 0%, #016FB9 71%, #005bd4 100%); } + @media screen and (max-width: 768px) { + .hero.is-link.is-bold .navbar-menu { + background-image: linear-gradient(141deg, #006787 0%, #016FB9 71%, #005bd4 100%); } } + .hero.is-info { + background-color: #3e8ed0; + color: #fff; } + .hero.is-info a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current), + .hero.is-info strong { + color: inherit; } + .hero.is-info .title { + color: #fff; } + .hero.is-info .subtitle { + color: rgba(255, 255, 255, 0.9); } + .hero.is-info .subtitle a:not(.button), + .hero.is-info .subtitle strong { + color: #fff; } + @media screen and (max-width: 1023px) { + .hero.is-info .navbar-menu { + background-color: #3e8ed0; } } + .hero.is-info .navbar-item, + .hero.is-info .navbar-link { + color: rgba(255, 255, 255, 0.7); } + .hero.is-info a.navbar-item:hover, .hero.is-info a.navbar-item.is-active, + .hero.is-info .navbar-link:hover, + .hero.is-info .navbar-link.is-active { + background-color: #3082c5; + color: #fff; } + .hero.is-info .tabs a { + color: #fff; + opacity: 0.9; } + .hero.is-info .tabs a:hover { + opacity: 1; } + .hero.is-info .tabs li.is-active a { + color: #3e8ed0 !important; + opacity: 1; } + .hero.is-info .tabs.is-boxed a, .hero.is-info .tabs.is-toggle a { + color: #fff; } + .hero.is-info .tabs.is-boxed a:hover, .hero.is-info .tabs.is-toggle a:hover { + background-color: rgba(10, 10, 10, 0.1); } + .hero.is-info .tabs.is-boxed li.is-active a, .hero.is-info .tabs.is-boxed li.is-active a:hover, .hero.is-info .tabs.is-toggle li.is-active a, .hero.is-info .tabs.is-toggle li.is-active a:hover { + background-color: #fff; + border-color: #fff; + color: #3e8ed0; } + .hero.is-info.is-bold { + background-image: linear-gradient(141deg, #208fbc 0%, #3e8ed0 71%, #4d83db 100%); } + @media screen and (max-width: 768px) { + .hero.is-info.is-bold .navbar-menu { + background-image: linear-gradient(141deg, #208fbc 0%, #3e8ed0 71%, #4d83db 100%); } } + .hero.is-success { + background-color: #48c78e; + color: #fff; } + .hero.is-success a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current), + .hero.is-success strong { + color: inherit; } + .hero.is-success .title { + color: #fff; } + .hero.is-success .subtitle { + color: rgba(255, 255, 255, 0.9); } + .hero.is-success .subtitle a:not(.button), + .hero.is-success .subtitle strong { + color: #fff; } + @media screen and (max-width: 1023px) { + .hero.is-success .navbar-menu { + background-color: #48c78e; } } + .hero.is-success .navbar-item, + .hero.is-success .navbar-link { + color: rgba(255, 255, 255, 0.7); } + .hero.is-success a.navbar-item:hover, .hero.is-success a.navbar-item.is-active, + .hero.is-success .navbar-link:hover, + .hero.is-success .navbar-link.is-active { + background-color: #3abb81; + color: #fff; } + .hero.is-success .tabs a { + color: #fff; + opacity: 0.9; } + .hero.is-success .tabs a:hover { + opacity: 1; } + .hero.is-success .tabs li.is-active a { + color: #48c78e !important; + opacity: 1; } + .hero.is-success .tabs.is-boxed a, .hero.is-success .tabs.is-toggle a { + color: #fff; } + .hero.is-success .tabs.is-boxed a:hover, .hero.is-success .tabs.is-toggle a:hover { + background-color: rgba(10, 10, 10, 0.1); } + .hero.is-success .tabs.is-boxed li.is-active a, .hero.is-success .tabs.is-boxed li.is-active a:hover, .hero.is-success .tabs.is-toggle li.is-active a, .hero.is-success .tabs.is-toggle li.is-active a:hover { + background-color: #fff; + border-color: #fff; + color: #48c78e; } + .hero.is-success.is-bold { + background-image: linear-gradient(141deg, #29b35e 0%, #48c78e 71%, #56d2af 100%); } + @media screen and (max-width: 768px) { + .hero.is-success.is-bold .navbar-menu { + background-image: linear-gradient(141deg, #29b35e 0%, #48c78e 71%, #56d2af 100%); } } + .hero.is-warning { + background-color: #ffe08a; + color: rgba(0, 0, 0, 0.7); } + .hero.is-warning a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current), + .hero.is-warning strong { + color: inherit; } + .hero.is-warning .title { + color: rgba(0, 0, 0, 0.7); } + .hero.is-warning .subtitle { + color: rgba(0, 0, 0, 0.9); } + .hero.is-warning .subtitle a:not(.button), + .hero.is-warning .subtitle strong { + color: rgba(0, 0, 0, 0.7); } + @media screen and (max-width: 1023px) { + .hero.is-warning .navbar-menu { + background-color: #ffe08a; } } + .hero.is-warning .navbar-item, + .hero.is-warning .navbar-link { + color: rgba(0, 0, 0, 0.7); } + .hero.is-warning a.navbar-item:hover, .hero.is-warning a.navbar-item.is-active, + .hero.is-warning .navbar-link:hover, + .hero.is-warning .navbar-link.is-active { + background-color: #ffd970; + color: rgba(0, 0, 0, 0.7); } + .hero.is-warning .tabs a { + color: rgba(0, 0, 0, 0.7); + opacity: 0.9; } + .hero.is-warning .tabs a:hover { + opacity: 1; } + .hero.is-warning .tabs li.is-active a { + color: #ffe08a !important; + opacity: 1; } + .hero.is-warning .tabs.is-boxed a, .hero.is-warning .tabs.is-toggle a { + color: rgba(0, 0, 0, 0.7); } + .hero.is-warning .tabs.is-boxed a:hover, .hero.is-warning .tabs.is-toggle a:hover { + background-color: rgba(10, 10, 10, 0.1); } + .hero.is-warning .tabs.is-boxed li.is-active a, .hero.is-warning .tabs.is-boxed li.is-active a:hover, .hero.is-warning .tabs.is-toggle li.is-active a, .hero.is-warning .tabs.is-toggle li.is-active a:hover { + background-color: rgba(0, 0, 0, 0.7); + border-color: rgba(0, 0, 0, 0.7); + color: #ffe08a; } + .hero.is-warning.is-bold { + background-image: linear-gradient(141deg, #ffb657 0%, #ffe08a 71%, #fff6a3 100%); } + @media screen and (max-width: 768px) { + .hero.is-warning.is-bold .navbar-menu { + background-image: linear-gradient(141deg, #ffb657 0%, #ffe08a 71%, #fff6a3 100%); } } + .hero.is-danger { + background-color: #f14668; + color: #fff; } + .hero.is-danger a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current), + .hero.is-danger strong { + color: inherit; } + .hero.is-danger .title { + color: #fff; } + .hero.is-danger .subtitle { + color: rgba(255, 255, 255, 0.9); } + .hero.is-danger .subtitle a:not(.button), + .hero.is-danger .subtitle strong { + color: #fff; } + @media screen and (max-width: 1023px) { + .hero.is-danger .navbar-menu { + background-color: #f14668; } } + .hero.is-danger .navbar-item, + .hero.is-danger .navbar-link { + color: rgba(255, 255, 255, 0.7); } + .hero.is-danger a.navbar-item:hover, .hero.is-danger a.navbar-item.is-active, + .hero.is-danger .navbar-link:hover, + .hero.is-danger .navbar-link.is-active { + background-color: #ef2e55; + color: #fff; } + .hero.is-danger .tabs a { + color: #fff; + opacity: 0.9; } + .hero.is-danger .tabs a:hover { + opacity: 1; } + .hero.is-danger .tabs li.is-active a { + color: #f14668 !important; + opacity: 1; } + .hero.is-danger .tabs.is-boxed a, .hero.is-danger .tabs.is-toggle a { + color: #fff; } + .hero.is-danger .tabs.is-boxed a:hover, .hero.is-danger .tabs.is-toggle a:hover { + background-color: rgba(10, 10, 10, 0.1); } + .hero.is-danger .tabs.is-boxed li.is-active a, .hero.is-danger .tabs.is-boxed li.is-active a:hover, .hero.is-danger .tabs.is-toggle li.is-active a, .hero.is-danger .tabs.is-toggle li.is-active a:hover { + background-color: #fff; + border-color: #fff; + color: #f14668; } + .hero.is-danger.is-bold { + background-image: linear-gradient(141deg, #fa0a62 0%, #f14668 71%, #f7595f 100%); } + @media screen and (max-width: 768px) { + .hero.is-danger.is-bold .navbar-menu { + background-image: linear-gradient(141deg, #fa0a62 0%, #f14668 71%, #f7595f 100%); } } + .hero.is-small .hero-body { + padding: 1.5rem; } + @media screen and (min-width: 769px), print { + .hero.is-medium .hero-body { + padding: 9rem 4.5rem; } } + @media screen and (min-width: 769px), print { + .hero.is-large .hero-body { + padding: 18rem 6rem; } } + .hero.is-halfheight .hero-body, .hero.is-fullheight .hero-body, .hero.is-fullheight-with-navbar .hero-body { + align-items: center; + display: flex; } + .hero.is-halfheight .hero-body > .container, .hero.is-fullheight .hero-body > .container, .hero.is-fullheight-with-navbar .hero-body > .container { + flex-grow: 1; + flex-shrink: 1; } + .hero.is-halfheight { + min-height: 50vh; } + .hero.is-fullheight { + min-height: 100vh; } + +.hero-video { + overflow: hidden; } + .hero-video video { + left: 50%; + min-height: 100%; + min-width: 100%; + position: absolute; + top: 50%; + transform: translate3d(-50%, -50%, 0); } + .hero-video.is-transparent { + opacity: 0.3; } + @media screen and (max-width: 768px) { + .hero-video { + display: none; } } + +.hero-buttons { + margin-top: 1.5rem; } + @media screen and (max-width: 768px) { + .hero-buttons .button { + display: flex; } + .hero-buttons .button:not(:last-child) { + margin-bottom: 0.75rem; } } + @media screen and (min-width: 769px), print { + .hero-buttons { + display: flex; + justify-content: center; } + .hero-buttons .button:not(:last-child) { + margin-right: 1.5rem; } } + +.hero-head, +.hero-foot { + flex-grow: 0; + flex-shrink: 0; } + +.hero-body { + flex-grow: 1; + flex-shrink: 0; + padding: 3rem 1.5rem; } + @media screen and (min-width: 769px), print { + .hero-body { + padding: 3rem 3rem; } } + +.section { + padding: 3rem 1.5rem; } + @media screen and (min-width: 1024px) { + .section { + padding: 3rem 3rem; } + .section.is-medium { + padding: 9rem 4.5rem; } + .section.is-large { + padding: 18rem 6rem; } } + +.footer { + background-color: #fafafa; + padding: 3rem 1.5rem 6rem; } + +code { + color: #016FB9; } + +.box { + box-shadow: 0 white; + border-width: 0.1em; + border-style: solid; + border-color: #DDDDDD; } + +.type-heading { + padding: 0.5em 0; + border-width: 0 0 0.06em 0; + border-style: solid; + border-color: #DDDDDD; + display: flex; + align-items: baseline; + justify-content: space-between; } + +.type-source-link { + font-size: 0.7em; + font-weight: normal; } + +.bottom-border { + border-width: 0 0 0.06em 0; + border-style: solid; + border-color: #DDDDDD; } + +.navbar-search-query-input { + width: 13em; } + +@media screen and (max-width: 768px) { + .level-right .level-item { + margin-top: 0.8em; } } + +#main-content { + padding-left: 0.7em; + padding-right: 0.7em; } + +body { + min-height: 100vh; } + +body .subtitle, +body .title { + color: #181818; } + +td.oneof-heading { + border-right: 0px; + border-top: 0px; + padding: 0px; } + +div.oneof-heading { + padding: 0.5em 0.75em; + border-right: 1px solid #dbdbdb; + border-top: 1px solid #dbdbdb; + float: left; } + +html.dark div.oneof-heading { + border-right: 1px solid #444444; + border-top: 1px solid #444444; } + +.table.is-hoverable tbody tr.nohover:hover { + background-color: transparent !important; } + +html.dark .table.is-hoverable tbody tr.nohover:hover { + background-color: transparent !important; } + +html.dark { + background-color: #181818; } + +html.dark, +html.dark body, +html.dark .box, +html.dark h1, html.dark h2, html.dark h3, html.dark h4, html.dark h5, html.dark h6, +html.dark table thead td, +html.dark table thead th, +html.dark table { + background-color: #181818; + color: whitesmoke; } + +html.dark .table.is-hoverable tbody tr:not(.is-selected):hover { + background-color: #252525; } + +html.dark a:hover { + color: whitesmoke; } + +html.dark .box, +html.dark .type-heading, +html.dark td, +html.dark th { + border-color: #444444; } + +html.dark .subtitle, +html.dark .title { + color: whitesmoke; } + +html.dark footer { + background-color: #101010; } + +html.dark .bottom-border { + border-color: #444444; } + +html.dark hr { + background-color: #444444; } + +html.dark .input, .textarea, .select select { + background-color: #363636; + border-color: #565656; + border-radius: 4px; + color: white; } + +html.dark input.input::placeholder { + color: #565656; } + +html.dark pre { + background: #2A2A2A; } + +html.dark code { + background: #2A2A2A; + color: #569cd6; } + +html.dark code a { + color: #569cd6; } + +html.dark .tag { + background: #2A2A2A; + color: whitesmoke; } + +html.dark strong { + color: whitesmoke; } + +.theme-toggle { + --size: 2rem; + --icon-fill: #016FB9; + --icon-fill-hover: #363636; + background: none; + border: none; + padding: 0; + inline-size: var(--size); + block-size: var(--size); + aspect-ratio: 1; + border-radius: 50%; + cursor: pointer; + touch-action: manipulation; + -webkit-tap-highlight-color: transparent; + outline-offset: 5px; } + +.theme-toggle > svg { + inline-size: 100%; + block-size: 100%; + stroke-linecap: round; } + +[data-theme=dark] .theme-toggle { + --icon-fill-hover: whitesmoke; } + +.sun-and-moon > :is(.moon, .sun, .sun-beams) { + transform-origin: center; } + +.sun-and-moon > :is(.moon, .sun) { + fill: var(--icon-fill); } + +.theme-toggle:is(:hover, :focus-visible) > .sun-and-moon > :is(.moon, .sun) { + fill: var(--icon-fill-hover); } + +.sun-and-moon > .sun-beams { + stroke: var(--icon-fill); + stroke-width: 2px; } + +.theme-toggle:is(:hover, :focus-visible) .sun-and-moon > .sun-beams { + stroke: var(--icon-fill-hover); } + +[data-theme="dark"] .sun-and-moon > .sun { + transform: scale(1.75); } + +[data-theme="dark"] .sun-and-moon > .sun-beams { + opacity: 0; } + +[data-theme="dark"] .sun-and-moon > .moon > circle { + transform: translateX(-7px); } + +@supports (cx: 1) { + [data-theme="dark"] .sun-and-moon > .moon > circle { + cx: 17; + transform: translateX(0); } } + +@media (prefers-reduced-motion: no-preference) { + .sun-and-moon > .sun { + transition: transform 0.5s var(--ease-elastic-3); } + .sun-and-moon > .sun-beams { + transition: transform 0.5s var(--ease-elastic-4), opacity 0.5s var(--ease-3); } + .sun-and-moon .moon > circle { + transition: transform 0.25s var(--ease-out-5); } + @supports (cx: 1) { + .sun-and-moon .moon > circle { + transition: cx 0.25s var(--ease-out-5); } } + [data-theme="dark"] .sun-and-moon > .sun { + transition-timing-function: var(--ease-3); + transition-duration: .25s; + transform: scale(1.75); } + [data-theme="dark"] .sun-and-moon > .sun-beams { + transition-duration: .15s; + transform: rotateZ(-25deg); } + [data-theme="dark"] .sun-and-moon > .moon > circle { + transition-duration: .5s; + transition-delay: .25s; } } diff --git a/grpc/static/theme.js b/grpc/static/theme.js new file mode 100644 index 000000000..7750403b8 --- /dev/null +++ b/grpc/static/theme.js @@ -0,0 +1,54 @@ +const storageKey = 'theme-preference'; + +const onClick = () => { + // flip current value + theme.value = theme.value === 'light' + ? 'dark' + : 'light'; + + setPreference(); +} + +const getColorPreference = () => { + if (localStorage.getItem(storageKey)) + return localStorage.getItem(storageKey); + else + return window.matchMedia('(prefers-color-scheme: dark)').matches + ? 'dark' + : 'light'; +} + +const setPreference = () => { + localStorage.setItem(storageKey, theme.value); + reflectPreference(); +} + +const reflectPreference = () => { + document.documentElement.className = + theme.value === 'dark' ? 'dark' : ''; + + document.documentElement + .setAttribute('data-theme', theme.value); +} + +const theme = { + value: getColorPreference(), +} + +window.addEventListener( + "load", + () => { + document + .querySelector('#theme-toggle') + .addEventListener('click', onClick); + }); + +// sync with system changes +window + .matchMedia('(prefers-color-scheme: dark)') + .addEventListener('change', ({ matches: isDark }) => { + theme.value = isDark ? 'dark' : 'light'; + setPreference(); + }); + +reflectPreference();