From 276e7ebe12e63dca8e93bb2db80d4f39fc696fb2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 27 Aug 2024 07:21:58 +0000 Subject: [PATCH] deploy: dd33c0c38c5af8513bbb22105a4d4b7fa0f1cc8e --- 404.html | 8 +++--- assets/js/57136864.d2f13157.js | 1 - assets/js/57136864.ddf90196.js | 1 + assets/js/58674d3c.21378e38.js | 1 + assets/js/59e232ee.63e0d701.js | 1 - assets/js/59e232ee.d4e74335.js | 1 + assets/js/6aeb5732.4553592d.js | 1 - assets/js/6aeb5732.bb9e8fb2.js | 1 + assets/js/79e28b2f.558cfa46.js | 1 - assets/js/79e28b2f.bfb10054.js | 1 + assets/js/935f2afb.29947fc4.js | 1 + assets/js/935f2afb.52d5757e.js | 1 - ...ccdce.92c9efcf.js => 9e4ccdce.3819cf4d.js} | 2 +- ...2d783.96884c05.js => d4d2d783.77ad854a.js} | 2 +- assets/js/ed5700b4.3a82fb7d.js | 1 - assets/js/ed5700b4.6500a467.js | 1 + assets/js/f50a63d5.5fdf03d6.js | 1 + assets/js/f50a63d5.94b89080.js | 1 - .../js/{main.d2df3a1b.js => main.c856e35e.js} | 6 ++--- ...CENSE.txt => main.c856e35e.js.LICENSE.txt} | 0 assets/js/runtime~main.8f0a1c98.js | 1 - assets/js/runtime~main.f75778e8.js | 1 + development-guidelines.html | 8 +++--- development-guidelines/how-we-work.html | 8 +++--- development-guidelines/readme-template.html | 8 +++--- index.html | 8 +++--- intro.html | 8 +++--- protocol.html | 8 +++--- protocol/anonymity.html | 8 +++--- protocol/anonymity/blind-signatures.html | 8 +++--- protocol/anonymity/on-chain.html | 8 +++--- protocol/anonymity/zk-census-proof.html | 8 +++--- protocol/ballot-protocol.html | 8 +++--- protocol/census.html | 8 +++--- protocol/census/off-chain-csp.html | 8 +++--- protocol/census/off-chain-csp/api.html | 8 +++--- protocol/census/off-chain-tree.html | 8 +++--- protocol/census/on-chain.html | 8 +++--- protocol/census/on-chain/census3.html | 8 +++--- .../census/on-chain/eth-storage-proofs.html | 8 +++--- protocol/data-schemes.html | 8 +++--- protocol/data-schemes/election.html | 8 +++--- protocol/data-schemes/organization.html | 8 +++--- protocol/data-schemes/vote.html | 8 +++--- sdk.html | 8 +++--- sdk/integration-details.html | 8 +++--- sdk/integration-details/census-types.html | 8 +++--- .../census-types/off-chain-csp.html | 8 +++--- .../census-types/off-chain-tree.html | 8 +++--- .../census-types/on-chain.html | 8 +++--- .../census-types/on-chain/complex-census.html | 8 +++--- sdk/integration-details/vocdoni-tokens.html | 8 +++--- sdk/integration-details/voting-types.html | 8 +++--- .../voting-types/approval.html | 8 +++--- .../voting-types/quadratic.html | 8 +++--- .../voting-types/ranked.html | 8 +++--- .../voting-types/single-choice.html | 8 +++--- .../voting-types/weighted.html | 8 +++--- sdk/reference/changelog.html | 8 +++--- sdk/reference/classes/Account.html | 8 +++--- sdk/reference/classes/AccountAPI.html | 8 +++--- sdk/reference/classes/AccountService.html | 8 +++--- sdk/reference/classes/AnonymousService.html | 8 +++--- sdk/reference/classes/AnonymousVote.html | 8 +++--- sdk/reference/classes/ApprovalElection.html | 8 +++--- sdk/reference/classes/ArchivedElection.html | 8 +++--- sdk/reference/classes/BudgetElection.html | 8 +++--- sdk/reference/classes/Census.html | 8 +++--- sdk/reference/classes/Census3CensusAPI.html | 8 +++--- sdk/reference/classes/Census3ServiceAPI.html | 8 +++--- sdk/reference/classes/Census3StrategyAPI.html | 8 +++--- sdk/reference/classes/Census3TokenAPI.html | 8 +++--- sdk/reference/classes/CensusAPI.html | 8 +++--- sdk/reference/classes/CensusService.html | 8 +++--- sdk/reference/classes/ChainAPI.html | 8 +++--- sdk/reference/classes/ChainService.html | 8 +++--- sdk/reference/classes/CspAPI.html | 8 +++--- sdk/reference/classes/CspCensus.html | 8 +++--- sdk/reference/classes/CspService.html | 8 +++--- sdk/reference/classes/CspVote.html | 8 +++--- sdk/reference/classes/Election.html | 8 +++--- sdk/reference/classes/ElectionAPI.html | 8 +++--- sdk/reference/classes/ElectionService.html | 8 +++--- sdk/reference/classes/FaucetAPI.html | 8 +++--- sdk/reference/classes/FaucetService.html | 8 +++--- sdk/reference/classes/FileAPI.html | 8 +++--- sdk/reference/classes/FileService.html | 8 +++--- sdk/reference/classes/InvalidElection.html | 8 +++--- .../classes/MultiChoiceElection.html | 8 +++--- sdk/reference/classes/OffchainCensus.html | 8 +++--- sdk/reference/classes/PlainCensus.html | 8 +++--- sdk/reference/classes/PublishedCensus.html | 8 +++--- sdk/reference/classes/PublishedElection.html | 8 +++--- sdk/reference/classes/Service.html | 8 +++--- sdk/reference/classes/StrategyCensus.html | 8 +++--- sdk/reference/classes/TokenCensus.html | 8 +++--- .../classes/UnpublishedElection.html | 8 +++--- .../classes/VocdoniCensus3Client.html | 8 +++--- sdk/reference/classes/VocdoniSDKClient.html | 8 +++--- sdk/reference/classes/Vote.html | 8 +++--- sdk/reference/classes/VoteAPI.html | 8 +++--- sdk/reference/classes/VoteService.html | 8 +++--- sdk/reference/classes/WalletAPI.html | 8 +++--- sdk/reference/classes/WeightedCensus.html | 8 +++--- sdk/reference/classes/ZkAPI.html | 8 +++--- sdk/reference/enums/CensusOrigin.html | 8 +++--- sdk/reference/enums/CensusType.html | 8 +++--- sdk/reference/enums/CensusTypeEnum.html | 8 +++--- sdk/reference/enums/CspProofType.html | 8 +++--- .../enums/ElectionCreationSteps.html | 8 +++--- .../enums/ElectionResultsTypeNames.html | 8 +++--- sdk/reference/enums/ElectionStatus.html | 8 +++--- sdk/reference/enums/ElectionStatusReady.html | 8 +++--- sdk/reference/enums/EnvOptions.html | 8 +++--- sdk/reference/enums/TransactionType.html | 8 +++--- sdk/reference/enums/TxType.html | 8 +++--- sdk/reference/enums/VoteSteps.html | 8 +++--- sdk/reference/interfaces/AccountMetadata.html | 8 +++--- sdk/reference/interfaces/AdminTx.html | 8 +++--- sdk/reference/interfaces/CircuitInputs.html | 8 +++--- sdk/reference/interfaces/CollectFaucetTx.html | 8 +++--- .../interfaces/ElectionMetadata.html | 8 +++--- .../interfaces/FetchElectionsParameters.html | 8 +++--- sdk/reference/interfaces/IAccount.html | 8 +++--- .../IAccountTransfersCountResponse.html | 8 +++--- .../interfaces/IAccountsCountResponse.html | 8 +++--- .../interfaces/IAccountsListResponse.html | 8 +++--- .../IApprovalElectionParameters.html | 8 +++--- .../IBlockTransactionsResponse.html | 8 +++--- .../IBudgetElectionParametersInfo.html | 8 +++--- .../IBudgetElectionParametersWithBudget.html | 8 +++--- ...getElectionParametersWithCensusWeight.html | 8 +++--- sdk/reference/interfaces/ICensus.html | 8 +++--- .../ICensus3CensusListResponse.html | 8 +++--- .../ICensus3CensusQueueResponse.html | 8 +++--- .../interfaces/ICensus3CensusResponse.html | 8 +++--- .../ICensus3ServiceInfoResponse.html | 8 +++--- .../ICensus3StrategiesListResponse.html | 8 +++--- ...ensus3StrategiesListResponsePaginated.html | 8 +++--- .../ICensus3StrategiesOperator.html | 8 +++--- .../ICensus3StrategiesOperatorsResponse.html | 8 +++--- .../ICensus3StrategyCreateResponse.html | 8 +++--- ...ensus3StrategyEstimationQueueResponse.html | 8 +++--- .../ICensus3StrategyHoldersResponse.html | 8 +++--- ...nsus3StrategyHoldersResponsePaginated.html | 8 +++--- .../ICensus3StrategyImportQueueResponse.html | 8 +++--- .../interfaces/ICensus3StrategyToken.html | 8 +++--- .../interfaces/ICensus3SupportedChain.html | 8 +++--- .../ICensus3TokenHolderResponse.html | 8 +++--- .../interfaces/ICensus3TokenListResponse.html | 8 +++--- .../ICensus3TokenListResponsePaginated.html | 8 +++--- .../ICensus3TokenTypesResponse.html | 8 +++--- .../ICensus3ValidatePredicateChild.html | 8 +++--- .../ICensus3ValidatePredicateResponse.html | 8 +++--- .../ICensus3ValidatePredicateToken.html | 8 +++--- .../interfaces/ICensusExportResponse.html | 8 +++--- .../interfaces/ICensusImportResponse.html | 8 +++--- .../interfaces/ICensusParticipant.html | 8 +++--- .../interfaces/ICensusProofResponse.html | 8 +++--- .../interfaces/ICensusPublishResponse.html | 8 +++--- .../interfaces/IChainBlockInfoResponse.html | 8 +++--- .../interfaces/IChainFeesListResponse.html | 8 +++--- .../interfaces/IChainGetCircuitResponse.html | 8 +++--- .../interfaces/IChainGetCostsResponse.html | 8 +++--- .../interfaces/IChainGetInfoResponse.html | 8 +++--- .../IChainOrganizationCountResponse.html | 8 +++--- .../IChainOrganizationListResponse.html | 8 +++--- .../IChainOrganizationResponse.html | 8 +++--- .../interfaces/IChainSubmitTxResponse.html | 8 +++--- .../interfaces/IChainTxCountResponse.html | 8 +++--- .../interfaces/IChainTxListResponse.html | 8 +++--- .../interfaces/IChainTxReference.html | 8 +++--- sdk/reference/interfaces/IChainValidator.html | 8 +++--- .../IChainValidatorsListResponse.html | 8 +++--- sdk/reference/interfaces/IChoice.html | 8 +++--- sdk/reference/interfaces/ICspAuthStep.html | 8 +++--- .../interfaces/ICspFinalStepResponse.html | 8 +++--- .../interfaces/ICspInfoResponse.html | 8 +++--- .../ICspIntermediateStepResponse.html | 8 +++--- .../interfaces/ICspSignResponse.html | 8 +++--- .../interfaces/IElectionCreateResponse.html | 8 +++--- .../interfaces/IElectionInfoResponse.html | 8 +++--- .../interfaces/IElectionKeysResponse.html | 8 +++--- .../interfaces/IElectionListFilter.html | 8 +++--- .../interfaces/IElectionListResponse.html | 8 +++--- sdk/reference/interfaces/IElectionMode.html | 8 +++--- .../interfaces/IElectionNextIdResponse.html | 8 +++--- .../interfaces/IElectionParameters.html | 8 +++--- .../interfaces/IElectionSummary.html | 8 +++--- sdk/reference/interfaces/IElectionType.html | 8 +++--- sdk/reference/interfaces/IElectionVote.html | 8 +++--- .../interfaces/IElectionVoteListResponse.html | 8 +++--- sdk/reference/interfaces/IEncryptionKey.html | 8 +++--- .../IInvalidElectionParameters.html | 8 +++--- .../IMultiChoiceElectionParameters.html | 8 +++--- .../IPublishedElectionParameters.html | 8 +++--- sdk/reference/interfaces/IQuestion.html | 8 +++--- sdk/reference/interfaces/ITallyMode.html | 8 +++--- .../interfaces/IVoteEncryptedPackage.html | 8 +++--- .../interfaces/IVoteInfoResponse.html | 8 +++--- sdk/reference/interfaces/IVoteMode.html | 8 +++--- sdk/reference/interfaces/IVotePackage.html | 8 +++--- .../interfaces/IVoteSubmitResponse.html | 8 +++--- sdk/reference/interfaces/IVoteType.html | 8 +++--- .../interfaces/IZkProofResponse.html | 8 +++--- sdk/reference/interfaces/IZkSIKResponse.html | 8 +++--- sdk/reference/interfaces/MintTokensTx.html | 8 +++--- sdk/reference/interfaces/NewProcessTx.html | 8 +++--- sdk/reference/interfaces/Process.html | 8 +++--- sdk/reference/interfaces/Proof.html | 8 +++--- sdk/reference/interfaces/RegisterKeyTx.html | 8 +++--- sdk/reference/interfaces/SendTokensTx.html | 8 +++--- .../interfaces/ServiceProperties.html | 8 +++--- sdk/reference/interfaces/SetAccountTx.html | 8 +++--- sdk/reference/interfaces/SetProcessTx.html | 8 +++--- .../interfaces/SetTransactionCostsTx.html | 8 +++--- sdk/reference/interfaces/Tx.html | 8 +++--- sdk/reference/interfaces/VoteEnvelope.html | 8 +++--- sdk/reference/sdk-reference.html | 8 +++--- sdk/tutorial.html | 8 +++--- search.html | 8 +++--- sitemap.xml | 2 +- ui-components.html | 8 +++--- ui-components/account.html | 8 +++--- ui-components/election.html | 8 +++--- ui-components/layout.html | 8 +++--- ui-components/organization.html | 8 +++--- ui-components/react-providers.html | 8 +++--- vocdoni-api/accounts.html | 8 +++--- vocdoni-api/add-account.html | 8 +++--- vocdoni-api/add-participants-to-census.html | 8 +++--- vocdoni-api/build-an-election-id.html | 8 +++--- vocdoni-api/census-merkle-root.html | 8 +++--- vocdoni-api/census-size.html | 8 +++--- vocdoni-api/census-total-weight.html | 8 +++--- vocdoni-api/censuses.html | 8 +++--- vocdoni-api/chain.html | 8 +++--- vocdoni-api/check-census-publish-status.html | 8 +++--- vocdoni-api/circuit-info.html | 8 +++--- vocdoni-api/compute-election-price.html | 8 +++--- vocdoni-api/compute-ipfs-ci-dv-1-of-file.html | 8 +++--- vocdoni-api/count-election-votes.html | 8 +++--- vocdoni-api/count-organization-elections.html | 8 +++--- vocdoni-api/count-organizations.html | 8 +++--- vocdoni-api/create-a-new-census.html | 8 +++--- vocdoni-api/create-election-for-wallet.html | 8 +++--- vocdoni-api/create-election.html | 8 +++--- vocdoni-api/delete-census.html | 8 +++--- vocdoni-api/election-information.html | 8 +++--- vocdoni-api/election-results.html | 8 +++--- vocdoni-api/elections.html | 8 +++--- vocdoni-api/estimate-block-to-date.html | 8 +++--- vocdoni-api/estimate-date-to-block.html | 8 +++--- vocdoni-api/export-census-database.html | 8 +++--- vocdoni-api/export-census.html | 8 +++--- vocdoni-api/exports-the-indexer-database.html | 8 +++--- vocdoni-api/get-account.html | 8 +++--- vocdoni-api/get-block-by-hash.html | 8 +++--- vocdoni-api/get-block-by-height.html | 8 +++--- vocdoni-api/get-type-of-census.html | 8 +++--- vocdoni-api/get-vote.html | 8 +++--- vocdoni-api/import-census-database.html | 8 +++--- vocdoni-api/import-census.html | 8 +++--- ...unt-received-and-sent-token-transfers.html | 8 +++--- vocdoni-api/list-account-token-fees.html | 8 +++--- vocdoni-api/list-all-blocks.html | 25 +++++++++++++++++++ vocdoni-api/list-all-census-references.html | 8 +++--- .../list-all-token-fees-by-reference.html | 8 +++--- vocdoni-api/list-all-token-fees-by-type.html | 8 +++--- vocdoni-api/list-all-token-fees.html | 8 +++--- vocdoni-api/list-all-token-transfers.html | 8 +++--- vocdoni-api/list-election-votes.html | 8 +++--- vocdoni-api/list-elections-filtered.html | 8 +++--- vocdoni-api/list-elections.html | 8 +++--- vocdoni-api/list-encryption-keys.html | 8 +++--- .../list-of-the-existing-accounts.html | 8 +++--- vocdoni-api/list-of-valid-sik-roots.html | 8 +++--- ...list-organization-elections-by-status.html | 8 +++--- vocdoni-api/list-organization-elections.html | 8 +++--- vocdoni-api/list-organizations-filtered.html | 8 +++--- vocdoni-api/list-organizations.html | 8 +++--- vocdoni-api/list-transactions.html | 8 +++--- vocdoni-api/list-validators.html | 8 +++--- vocdoni-api/list-votes.html | 8 +++--- vocdoni-api/price-factors-information.html | 8 +++--- vocdoni-api/prove-key-to-census.html | 8 +++--- vocdoni-api/publish-census.html | 8 +++--- ...-the-address-provided-has-a-valid-sik.html | 8 +++--- vocdoni-api/set-account.html | 8 +++--- vocdoni-api/set-wallet-account.html | 8 +++--- vocdoni-api/sik.html | 8 +++--- vocdoni-api/submit-a-vote.html | 8 +++--- vocdoni-api/submit-transaction.html | 8 +++--- vocdoni-api/total-number-of-accounts.html | 8 +++--- ...ber-of-sent-and-received-transactions.html | 8 +++--- ...transaction-by-block-height-and-index.html | 8 +++--- vocdoni-api/transaction-by-hash.html | 8 +++--- vocdoni-api/transaction-by-index.html | 8 +++--- vocdoni-api/transaction-costs.html | 8 +++--- vocdoni-api/transactions-count.html | 8 +++--- vocdoni-api/transactions-in-a-block.html | 8 +++--- vocdoni-api/transfer-tokens.html | 8 +++--- vocdoni-api/verify-merkle-proof.html | 8 +++--- vocdoni-api/verify-vote.html | 8 +++--- vocdoni-api/vocdoni-api.html | 8 +++--- vocdoni-api/vochain-information.html | 8 +++--- vocdoni-api/votes.html | 8 +++--- vocdoni-api/wallet.html | 8 +++--- 308 files changed, 1180 insertions(+), 1154 deletions(-) delete mode 100644 assets/js/57136864.d2f13157.js create mode 100644 assets/js/57136864.ddf90196.js create mode 100644 assets/js/58674d3c.21378e38.js delete mode 100644 assets/js/59e232ee.63e0d701.js create mode 100644 assets/js/59e232ee.d4e74335.js delete mode 100644 assets/js/6aeb5732.4553592d.js create mode 100644 assets/js/6aeb5732.bb9e8fb2.js delete mode 100644 assets/js/79e28b2f.558cfa46.js create mode 100644 assets/js/79e28b2f.bfb10054.js create mode 100644 assets/js/935f2afb.29947fc4.js delete mode 100644 assets/js/935f2afb.52d5757e.js rename assets/js/{9e4ccdce.92c9efcf.js => 9e4ccdce.3819cf4d.js} (83%) rename assets/js/{d4d2d783.96884c05.js => d4d2d783.77ad854a.js} (60%) delete mode 100644 assets/js/ed5700b4.3a82fb7d.js create mode 100644 assets/js/ed5700b4.6500a467.js create mode 100644 assets/js/f50a63d5.5fdf03d6.js delete mode 100644 assets/js/f50a63d5.94b89080.js rename assets/js/{main.d2df3a1b.js => main.c856e35e.js} (95%) rename assets/js/{main.d2df3a1b.js.LICENSE.txt => main.c856e35e.js.LICENSE.txt} (100%) delete mode 100644 assets/js/runtime~main.8f0a1c98.js create mode 100644 assets/js/runtime~main.f75778e8.js create mode 100644 vocdoni-api/list-all-blocks.html diff --git a/404.html b/404.html index d5e777950..d1a478e8a 100644 --- a/404.html +++ b/404.html @@ -13,13 +13,13 @@ - - + +
loading...
- - + + \ No newline at end of file diff --git a/assets/js/57136864.d2f13157.js b/assets/js/57136864.d2f13157.js deleted file mode 100644 index 2f0f02886..000000000 --- a/assets/js/57136864.d2f13157.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[2192],{12128:(e,t,n)=>{n.d(t,{Z:()=>v});var o=n(87462),s=n(39805),a=n(14902),i=n(170),r=n(86390),c=n(65429),l=n(14758),d=n(67294),h=n(204),u=n(23100),p=n(16393);const m={React:d,...d,Flex:h.k,Box:u.xu,AspectRatio:p.o,Image:c.Ee,ElectionProvider:l.qT,ElectionHeader:c.UE,ElectionTitle:c.hi,ElectionSchedule:c.vE,ElectionResults:c.Hj,ElectionStatusBadge:c.QW,ElectionDescription:c.I3,ElectionQuestions:c.Vx,ElectionActions:c.A2,Election:c.bO,QuestionsConfirmation:c.KX,SpreadsheetAccess:c.cB,VoteButton:c.tT,OrganizationProvider:l.f0,OrganizationAvatar:c.ld,OrganizationDescription:c.G9,OrganizationHeader:c.sC,OrganizationName:c.X5,Balance:c.yo,Button:c.zx,HR:c.HR,Image:c.Ee,Markdown:c.UG};var f=n(22457),g=n(37489);const v=(b=i.Z,function(e){if(e.live){let t=g.G;return'"spreadsheet"'===e.title&&(t=g.IS),d.createElement(s.x,{theme:(0,a.B1)(c.rS),resetCSS:!1},d.createElement(c.de,{env:f.yG.STG,signer:g.Lp.wallet},d.createElement(l.f0,{id:g.fD},d.createElement(l.qT,{id:t,fetchCensus:!0},d.createElement(c.DG,null,d.createElement(r.Z,(0,o.Z)({scope:m},e)))))))}return d.createElement(b,e)});var b},24856:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>m,contentTitle:()=>u,default:()=>v,frontMatter:()=>h,metadata:()=>p,toc:()=>f});var o=n(87462),s=(n(67294),n(3905)),a=n(26389),i=n(94891),r=(n(75190),n(47507)),c=n(24310),l=n(63303),d=(n(75035),n(85162));const h={id:"transactions-count",title:"Transactions count",description:"Returns the number of transactions",sidebar_label:"Transactions count",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{count:{example:10,type:"integer"}},type:"object"}}},description:"OK"}},tags:["Chain"],description:"Returns the number of transactions",method:"get",path:"/chain/transactions/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Transactions count",description:{content:"Returns the number of transactions",type:"text/plain"},url:{path:["chain","transactions","count"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},u=void 0,p={unversionedId:"vocdoni-api/transactions-count",id:"vocdoni-api/transactions-count",title:"Transactions count",description:"Returns the number of transactions",source:"@site/docs/vocdoni-api/transactions-count.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/transactions-count",permalink:"/vocdoni-api/transactions-count",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"transactions-count",title:"Transactions count",description:"Returns the number of transactions",sidebar_label:"Transactions count",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{count:{example:10,type:"integer"}},type:"object"}}},description:"OK"}},tags:["Chain"],description:"Returns the number of transactions",method:"get",path:"/chain/transactions/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Transactions count",description:{content:"Returns the number of transactions",type:"text/plain"},url:{path:["chain","transactions","count"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Transaction costs",permalink:"/vocdoni-api/transaction-costs"},next:{title:"List transactions",permalink:"/vocdoni-api/list-transactions"}},m={},f=[{value:"Transactions count",id:"transactions-count",level:2}],g={toc:f};function v(e){let{components:t,...n}=e;return(0,s.kt)("wrapper",(0,o.Z)({},g,n,{components:t,mdxType:"MDXLayout"}),(0,s.kt)("h2",{id:"transactions-count"},"Transactions count"),(0,s.kt)("p",null,"Returns the number of transactions"),(0,s.kt)("div",null,(0,s.kt)(a.Z,{mdxType:"ApiTabs"},(0,s.kt)(d.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,s.kt)("div",null,(0,s.kt)("p",null,"OK")),(0,s.kt)("div",null,(0,s.kt)(i.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,s.kt)(d.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,s.kt)(l.Z,{mdxType:"SchemaTabs"},(0,s.kt)(d.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,s.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,s.kt)("summary",{style:{textAlign:"left"}},(0,s.kt)("strong",null,"Schema")),(0,s.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,s.kt)("ul",{style:{marginLeft:"1rem"}},(0,s.kt)(c.Z,{collapsible:!1,name:"count",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,s.kt)(d.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,s.kt)(r.Z,{responseExample:'{\n "count": 10\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}v.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/57136864.ddf90196.js b/assets/js/57136864.ddf90196.js new file mode 100644 index 000000000..e43a80a5f --- /dev/null +++ b/assets/js/57136864.ddf90196.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[2192],{12128:(e,t,n)=>{n.d(t,{Z:()=>g});var o=n(87462),a=n(39805),s=n(14902),i=n(170),r=n(86390),c=n(65429),l=n(14758),d=n(67294),h=n(204),u=n(23100),p=n(16393);const m={React:d,...d,Flex:h.k,Box:u.xu,AspectRatio:p.o,Image:c.Ee,ElectionProvider:l.qT,ElectionHeader:c.UE,ElectionTitle:c.hi,ElectionSchedule:c.vE,ElectionResults:c.Hj,ElectionStatusBadge:c.QW,ElectionDescription:c.I3,ElectionQuestions:c.Vx,ElectionActions:c.A2,Election:c.bO,QuestionsConfirmation:c.KX,SpreadsheetAccess:c.cB,VoteButton:c.tT,OrganizationProvider:l.f0,OrganizationAvatar:c.ld,OrganizationDescription:c.G9,OrganizationHeader:c.sC,OrganizationName:c.X5,Balance:c.yo,Button:c.zx,HR:c.HR,Image:c.Ee,Markdown:c.UG};var f=n(22457),v=n(37489);const g=(b=i.Z,function(e){if(e.live){let t=v.G;return'"spreadsheet"'===e.title&&(t=v.IS),d.createElement(a.x,{theme:(0,s.B1)(c.rS),resetCSS:!1},d.createElement(c.de,{env:f.yG.STG,signer:v.Lp.wallet},d.createElement(l.f0,{id:v.fD},d.createElement(l.qT,{id:t,fetchCensus:!0},d.createElement(c.DG,null,d.createElement(r.Z,(0,o.Z)({scope:m},e)))))))}return d.createElement(b,e)});var b},24856:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>m,contentTitle:()=>u,default:()=>g,frontMatter:()=>h,metadata:()=>p,toc:()=>f});var o=n(87462),a=(n(67294),n(3905)),s=n(26389),i=n(94891),r=(n(75190),n(47507)),c=n(24310),l=n(63303),d=(n(75035),n(85162));const h={id:"transactions-count",title:"Transactions count",description:"Returns the number of transactions",sidebar_label:"Transactions count",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{count:{example:10,type:"integer"}},type:"object"}}},description:"OK"}},tags:["Chain"],deprecated:!0,description:"Returns the number of transactions\n(deprecated, in favor of /chain/transactions which reports totalItems)",method:"get",path:"/chain/transactions/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Transactions count",description:{content:"Returns the number of transactions\n(deprecated, in favor of /chain/transactions which reports totalItems)",type:"text/plain"},url:{path:["chain","transactions","count"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},u=void 0,p={unversionedId:"vocdoni-api/transactions-count",id:"vocdoni-api/transactions-count",title:"Transactions count",description:"Returns the number of transactions",source:"@site/docs/vocdoni-api/transactions-count.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/transactions-count",permalink:"/vocdoni-api/transactions-count",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"transactions-count",title:"Transactions count",description:"Returns the number of transactions",sidebar_label:"Transactions count",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{count:{example:10,type:"integer"}},type:"object"}}},description:"OK"}},tags:["Chain"],deprecated:!0,description:"Returns the number of transactions\n(deprecated, in favor of /chain/transactions which reports totalItems)",method:"get",path:"/chain/transactions/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Transactions count",description:{content:"Returns the number of transactions\n(deprecated, in favor of /chain/transactions which reports totalItems)",type:"text/plain"},url:{path:["chain","transactions","count"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Transaction costs",permalink:"/vocdoni-api/transaction-costs"},next:{title:"List transactions",permalink:"/vocdoni-api/list-transactions"}},m={},f=[{value:"Transactions count",id:"transactions-count",level:2}],v={toc:f};function g(e){let{components:t,...n}=e;return(0,a.kt)("wrapper",(0,o.Z)({},v,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"transactions-count"},"Transactions count"),(0,a.kt)("admonition",{title:"deprecated",type:"caution"},(0,a.kt)("p",{parentName:"admonition"},"This endpoint has been deprecated and may be removed in future versions of the API.")),(0,a.kt)("p",null,"Returns the number of transactions\n(deprecated, in favor of /chain/transactions which reports totalItems)"),(0,a.kt)("div",null,(0,a.kt)(s.Z,{mdxType:"ApiTabs"},(0,a.kt)(d.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,a.kt)("div",null,(0,a.kt)("p",null,"OK")),(0,a.kt)("div",null,(0,a.kt)(i.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,a.kt)(d.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,a.kt)(l.Z,{mdxType:"SchemaTabs"},(0,a.kt)(d.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,a.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,a.kt)("summary",{style:{textAlign:"left"}},(0,a.kt)("strong",null,"Schema")),(0,a.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,a.kt)("ul",{style:{marginLeft:"1rem"}},(0,a.kt)(c.Z,{collapsible:!1,name:"count",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,a.kt)(d.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,a.kt)(r.Z,{responseExample:'{\n "count": 10\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}g.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/58674d3c.21378e38.js b/assets/js/58674d3c.21378e38.js new file mode 100644 index 000000000..cd19c812f --- /dev/null +++ b/assets/js/58674d3c.21378e38.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[8363],{12128:(e,t,i)=>{i.d(t,{Z:()=>b});var a=i(87462),s=i(39805),o=i(14902),n=i(170),r=i(86390),c=i(65429),l=i(14758),d=i(67294),p=i(204),h=i(23100),m=i(16393);const u={React:d,...d,Flex:p.k,Box:h.xu,AspectRatio:m.o,Image:c.Ee,ElectionProvider:l.qT,ElectionHeader:c.UE,ElectionTitle:c.hi,ElectionSchedule:c.vE,ElectionResults:c.Hj,ElectionStatusBadge:c.QW,ElectionDescription:c.I3,ElectionQuestions:c.Vx,ElectionActions:c.A2,Election:c.bO,QuestionsConfirmation:c.KX,SpreadsheetAccess:c.cB,VoteButton:c.tT,OrganizationProvider:l.f0,OrganizationAvatar:c.ld,OrganizationDescription:c.G9,OrganizationHeader:c.sC,OrganizationName:c.X5,Balance:c.yo,Button:c.zx,HR:c.HR,Image:c.Ee,Markdown:c.UG};var g=i(22457),y=i(37489);const b=(v=n.Z,function(e){if(e.live){let t=y.G;return'"spreadsheet"'===e.title&&(t=y.IS),d.createElement(s.x,{theme:(0,o.B1)(c.rS),resetCSS:!1},d.createElement(c.de,{env:g.yG.STG,signer:y.Lp.wallet},d.createElement(l.f0,{id:y.fD},d.createElement(l.qT,{id:t,fetchCensus:!0},d.createElement(c.DG,null,d.createElement(r.Z,(0,a.Z)({scope:u},e)))))))}return d.createElement(v,e)});var v},87492:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>g,contentTitle:()=>m,default:()=>v,frontMatter:()=>h,metadata:()=>u,toc:()=>y});var a=i(87462),s=(i(67294),i(3905)),o=i(26389),n=i(94891),r=i(75190),c=i(47507),l=i(24310),d=i(63303),p=(i(75035),i(85162));const h={id:"list-all-blocks",title:"List all blocks",description:"Returns the list of blocks, ordered by descending height.",sidebar_label:"List all blocks",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Page",in:"query",name:"page",schema:{type:"number"}},{description:"Items per page",in:"query",name:"limit",schema:{type:"number"}},{description:"Filter by exact chainId",in:"query",name:"chainId",schema:{type:"string"}},{description:"Filter by partial hash",in:"query",name:"hash",schema:{type:"string"}},{description:"Filter by exact proposerAddress",in:"query",name:"proposerAddress",schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{blocks:{items:{properties:{chainId:{type:"string"},hash:{type:"string"},height:{type:"integer"},lastBlockHash:{type:"string"},proposer:{type:"string"},time:{type:"string"},txCount:{type:"integer"}},type:"object"},type:"array"},pagination:{properties:{currentPage:{type:"integer"},lastPage:{type:"integer"},nextPage:{type:"integer"},previousPage:{type:"integer"},totalItems:{type:"integer"}},type:"object"}},type:"object"}}},description:"OK"}},tags:["Chain"],description:"Returns the list of blocks, ordered by descending height.",method:"get",path:"/chain/blocks",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"List all blocks",description:{content:"Returns the list of blocks, ordered by descending height.",type:"text/plain"},url:{path:["chain","blocks"],host:["{{baseUrl}}"],query:[{disabled:!1,description:{content:"Page",type:"text/plain"},key:"page",value:""},{disabled:!1,description:{content:"Items per page",type:"text/plain"},key:"limit",value:""},{disabled:!1,description:{content:"Filter by exact chainId",type:"text/plain"},key:"chainId",value:""},{disabled:!1,description:{content:"Filter by partial hash",type:"text/plain"},key:"hash",value:""},{disabled:!1,description:{content:"Filter by exact proposerAddress",type:"text/plain"},key:"proposerAddress",value:""}],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},m=void 0,u={unversionedId:"vocdoni-api/list-all-blocks",id:"vocdoni-api/list-all-blocks",title:"List all blocks",description:"Returns the list of blocks, ordered by descending height.",source:"@site/docs/vocdoni-api/list-all-blocks.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/list-all-blocks",permalink:"/vocdoni-api/list-all-blocks",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"list-all-blocks",title:"List all blocks",description:"Returns the list of blocks, ordered by descending height.",sidebar_label:"List all blocks",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Page",in:"query",name:"page",schema:{type:"number"}},{description:"Items per page",in:"query",name:"limit",schema:{type:"number"}},{description:"Filter by exact chainId",in:"query",name:"chainId",schema:{type:"string"}},{description:"Filter by partial hash",in:"query",name:"hash",schema:{type:"string"}},{description:"Filter by exact proposerAddress",in:"query",name:"proposerAddress",schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{blocks:{items:{properties:{chainId:{type:"string"},hash:{type:"string"},height:{type:"integer"},lastBlockHash:{type:"string"},proposer:{type:"string"},time:{type:"string"},txCount:{type:"integer"}},type:"object"},type:"array"},pagination:{properties:{currentPage:{type:"integer"},lastPage:{type:"integer"},nextPage:{type:"integer"},previousPage:{type:"integer"},totalItems:{type:"integer"}},type:"object"}},type:"object"}}},description:"OK"}},tags:["Chain"],description:"Returns the list of blocks, ordered by descending height.",method:"get",path:"/chain/blocks",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"List all blocks",description:{content:"Returns the list of blocks, ordered by descending height.",type:"text/plain"},url:{path:["chain","blocks"],host:["{{baseUrl}}"],query:[{disabled:!1,description:{content:"Page",type:"text/plain"},key:"page",value:""},{disabled:!1,description:{content:"Items per page",type:"text/plain"},key:"limit",value:""},{disabled:!1,description:{content:"Filter by exact chainId",type:"text/plain"},key:"chainId",value:""},{disabled:!1,description:{content:"Filter by partial hash",type:"text/plain"},key:"hash",value:""},{disabled:!1,description:{content:"Filter by exact proposerAddress",type:"text/plain"},key:"proposerAddress",value:""}],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Estimate block to date",permalink:"/vocdoni-api/estimate-block-to-date"},next:{title:"Get block (by hash)",permalink:"/vocdoni-api/get-block-by-hash"}},g={},y=[{value:"List all blocks",id:"list-all-blocks",level:2}],b={toc:y};function v(e){let{components:t,...i}=e;return(0,s.kt)("wrapper",(0,a.Z)({},b,i,{components:t,mdxType:"MDXLayout"}),(0,s.kt)("h2",{id:"list-all-blocks"},"List all blocks"),(0,s.kt)("p",null,"Returns the list of blocks, ordered by descending height."),(0,s.kt)("details",{style:{marginBottom:"1rem"},"data-collapsed":!1,open:!0},(0,s.kt)("summary",{style:{}},(0,s.kt)("strong",null,"Query Parameters")),(0,s.kt)("div",null,(0,s.kt)("ul",null,(0,s.kt)(r.Z,{className:"paramsItem",param:{description:"Page",in:"query",name:"page",schema:{type:"number"}},mdxType:"ParamsItem"}),(0,s.kt)(r.Z,{className:"paramsItem",param:{description:"Items per page",in:"query",name:"limit",schema:{type:"number"}},mdxType:"ParamsItem"}),(0,s.kt)(r.Z,{className:"paramsItem",param:{description:"Filter by exact chainId",in:"query",name:"chainId",schema:{type:"string"}},mdxType:"ParamsItem"}),(0,s.kt)(r.Z,{className:"paramsItem",param:{description:"Filter by partial hash",in:"query",name:"hash",schema:{type:"string"}},mdxType:"ParamsItem"}),(0,s.kt)(r.Z,{className:"paramsItem",param:{description:"Filter by exact proposerAddress",in:"query",name:"proposerAddress",schema:{type:"string"}},mdxType:"ParamsItem"})))),(0,s.kt)("div",null,(0,s.kt)(o.Z,{mdxType:"ApiTabs"},(0,s.kt)(p.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,s.kt)("div",null,(0,s.kt)("p",null,"OK")),(0,s.kt)("div",null,(0,s.kt)(n.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,s.kt)(p.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,s.kt)(d.Z,{mdxType:"SchemaTabs"},(0,s.kt)(p.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,s.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,s.kt)("summary",{style:{textAlign:"left"}},(0,s.kt)("strong",null,"Schema")),(0,s.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,s.kt)("ul",{style:{marginLeft:"1rem"}},(0,s.kt)(l.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,s.kt)("details",{style:{}},(0,s.kt)("summary",{style:{}},(0,s.kt)("strong",null,"blocks"),(0,s.kt)("span",{style:{opacity:"0.6"}}," object[]")),(0,s.kt)("div",{style:{marginLeft:"1rem"}},(0,s.kt)(l.Z,{collapsible:!1,name:"chainId",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,s.kt)(l.Z,{collapsible:!1,name:"hash",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,s.kt)(l.Z,{collapsible:!1,name:"height",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,s.kt)(l.Z,{collapsible:!1,name:"lastBlockHash",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,s.kt)(l.Z,{collapsible:!1,name:"proposer",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,s.kt)(l.Z,{collapsible:!1,name:"time",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,s.kt)(l.Z,{collapsible:!1,name:"txCount",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,s.kt)(l.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,s.kt)("details",{style:{}},(0,s.kt)("summary",{style:{}},(0,s.kt)("strong",null,"pagination"),(0,s.kt)("span",{style:{opacity:"0.6"}}," object")),(0,s.kt)("div",{style:{marginLeft:"1rem"}},(0,s.kt)(l.Z,{collapsible:!1,name:"currentPage",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,s.kt)(l.Z,{collapsible:!1,name:"lastPage",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,s.kt)(l.Z,{collapsible:!1,name:"nextPage",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,s.kt)(l.Z,{collapsible:!1,name:"previousPage",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,s.kt)(l.Z,{collapsible:!1,name:"totalItems",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}))))))),(0,s.kt)(p.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,s.kt)(c.Z,{responseExample:'{\n "blocks": [\n {\n "chainId": "string",\n "hash": "string",\n "height": 0,\n "lastBlockHash": "string",\n "proposer": "string",\n "time": "string",\n "txCount": 0\n }\n ],\n "pagination": {\n "currentPage": 0,\n "lastPage": 0,\n "nextPage": 0,\n "previousPage": 0,\n "totalItems": 0\n }\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}v.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/59e232ee.63e0d701.js b/assets/js/59e232ee.63e0d701.js deleted file mode 100644 index c71c96f9e..000000000 --- a/assets/js/59e232ee.63e0d701.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[6204],{12128:(e,t,o)=>{o.d(t,{Z:()=>v});var n=o(87462),a=o(39805),s=o(14902),i=o(170),c=o(86390),r=o(65429),l=o(14758),u=o(67294),d=o(204),h=o(23100),p=o(16393);const m={React:u,...u,Flex:d.k,Box:h.xu,AspectRatio:p.o,Image:r.Ee,ElectionProvider:l.qT,ElectionHeader:r.UE,ElectionTitle:r.hi,ElectionSchedule:r.vE,ElectionResults:r.Hj,ElectionStatusBadge:r.QW,ElectionDescription:r.I3,ElectionQuestions:r.Vx,ElectionActions:r.A2,Election:r.bO,QuestionsConfirmation:r.KX,SpreadsheetAccess:r.cB,VoteButton:r.tT,OrganizationProvider:l.f0,OrganizationAvatar:r.ld,OrganizationDescription:r.G9,OrganizationHeader:r.sC,OrganizationName:r.X5,Balance:r.yo,Button:r.zx,HR:r.HR,Image:r.Ee,Markdown:r.UG};var f=o(22457),g=o(37489);const v=(b=i.Z,function(e){if(e.live){let t=g.G;return'"spreadsheet"'===e.title&&(t=g.IS),u.createElement(a.x,{theme:(0,s.B1)(r.rS),resetCSS:!1},u.createElement(r.de,{env:f.yG.STG,signer:g.Lp.wallet},u.createElement(l.f0,{id:g.fD},u.createElement(l.qT,{id:t,fetchCensus:!0},u.createElement(r.DG,null,u.createElement(c.Z,(0,n.Z)({scope:m},e)))))))}return u.createElement(b,e)});var b},50443:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>m,contentTitle:()=>h,default:()=>v,frontMatter:()=>d,metadata:()=>p,toc:()=>f});var n=o(87462),a=(o(67294),o(3905)),s=o(26389),i=o(94891),c=(o(75190),o(47507)),r=o(24310),l=o(63303),u=(o(75035),o(85162));const d={id:"total-number-of-accounts",title:"Total number of accounts",description:"Returns the count of total number of existing accounts",sidebar_label:"Total number of accounts",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{count:{example:10,type:"integer"}},type:"object"}}},description:"OK"}},tags:["Accounts"],description:"Returns the count of total number of existing accounts",method:"get",path:"/accounts/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Total number of accounts",description:{content:"Returns the count of total number of existing accounts",type:"text/plain"},url:{path:["accounts","count"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},h=void 0,p={unversionedId:"vocdoni-api/total-number-of-accounts",id:"vocdoni-api/total-number-of-accounts",title:"Total number of accounts",description:"Returns the count of total number of existing accounts",source:"@site/docs/vocdoni-api/total-number-of-accounts.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/total-number-of-accounts",permalink:"/vocdoni-api/total-number-of-accounts",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"total-number-of-accounts",title:"Total number of accounts",description:"Returns the count of total number of existing accounts",sidebar_label:"Total number of accounts",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{count:{example:10,type:"integer"}},type:"object"}}},description:"OK"}},tags:["Accounts"],description:"Returns the count of total number of existing accounts",method:"get",path:"/accounts/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Total number of accounts",description:{content:"Returns the count of total number of existing accounts",type:"text/plain"},url:{path:["accounts","count"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Set account",permalink:"/vocdoni-api/set-account"},next:{title:"List of the existing accounts",permalink:"/vocdoni-api/list-of-the-existing-accounts"}},m={},f=[{value:"Total number of accounts",id:"total-number-of-accounts",level:2}],g={toc:f};function v(e){let{components:t,...o}=e;return(0,a.kt)("wrapper",(0,n.Z)({},g,o,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"total-number-of-accounts"},"Total number of accounts"),(0,a.kt)("p",null,"Returns the count of total number of existing accounts"),(0,a.kt)("div",null,(0,a.kt)(s.Z,{mdxType:"ApiTabs"},(0,a.kt)(u.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,a.kt)("div",null,(0,a.kt)("p",null,"OK")),(0,a.kt)("div",null,(0,a.kt)(i.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,a.kt)(u.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,a.kt)(l.Z,{mdxType:"SchemaTabs"},(0,a.kt)(u.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,a.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,a.kt)("summary",{style:{textAlign:"left"}},(0,a.kt)("strong",null,"Schema")),(0,a.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,a.kt)("ul",{style:{marginLeft:"1rem"}},(0,a.kt)(r.Z,{collapsible:!1,name:"count",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,a.kt)(u.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,a.kt)(c.Z,{responseExample:'{\n "count": 10\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}v.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/59e232ee.d4e74335.js b/assets/js/59e232ee.d4e74335.js new file mode 100644 index 000000000..6052dace6 --- /dev/null +++ b/assets/js/59e232ee.d4e74335.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[6204],{12128:(e,t,o)=>{o.d(t,{Z:()=>v});var n=o(87462),a=o(39805),s=o(14902),i=o(170),c=o(86390),r=o(65429),l=o(14758),d=o(67294),u=o(204),h=o(23100),p=o(16393);const m={React:d,...d,Flex:u.k,Box:h.xu,AspectRatio:p.o,Image:r.Ee,ElectionProvider:l.qT,ElectionHeader:r.UE,ElectionTitle:r.hi,ElectionSchedule:r.vE,ElectionResults:r.Hj,ElectionStatusBadge:r.QW,ElectionDescription:r.I3,ElectionQuestions:r.Vx,ElectionActions:r.A2,Election:r.bO,QuestionsConfirmation:r.KX,SpreadsheetAccess:r.cB,VoteButton:r.tT,OrganizationProvider:l.f0,OrganizationAvatar:r.ld,OrganizationDescription:r.G9,OrganizationHeader:r.sC,OrganizationName:r.X5,Balance:r.yo,Button:r.zx,HR:r.HR,Image:r.Ee,Markdown:r.UG};var f=o(22457),g=o(37489);const v=(b=i.Z,function(e){if(e.live){let t=g.G;return'"spreadsheet"'===e.title&&(t=g.IS),d.createElement(a.x,{theme:(0,s.B1)(r.rS),resetCSS:!1},d.createElement(r.de,{env:f.yG.STG,signer:g.Lp.wallet},d.createElement(l.f0,{id:g.fD},d.createElement(l.qT,{id:t,fetchCensus:!0},d.createElement(r.DG,null,d.createElement(c.Z,(0,n.Z)({scope:m},e)))))))}return d.createElement(b,e)});var b},50443:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>m,contentTitle:()=>h,default:()=>v,frontMatter:()=>u,metadata:()=>p,toc:()=>f});var n=o(87462),a=(o(67294),o(3905)),s=o(26389),i=o(94891),c=(o(75190),o(47507)),r=o(24310),l=o(63303),d=(o(75035),o(85162));const u={id:"total-number-of-accounts",title:"Total number of accounts",description:"Returns the count of total number of existing accounts",sidebar_label:"Total number of accounts",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{count:{example:10,type:"integer"}},type:"object"}}},description:"OK"}},tags:["Accounts"],deprecated:!0,description:"Returns the count of total number of existing accounts\n(deprecated, in favor of /accounts which reports totalItems)",method:"get",path:"/accounts/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Total number of accounts",description:{content:"Returns the count of total number of existing accounts\n(deprecated, in favor of /accounts which reports totalItems)",type:"text/plain"},url:{path:["accounts","count"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},h=void 0,p={unversionedId:"vocdoni-api/total-number-of-accounts",id:"vocdoni-api/total-number-of-accounts",title:"Total number of accounts",description:"Returns the count of total number of existing accounts",source:"@site/docs/vocdoni-api/total-number-of-accounts.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/total-number-of-accounts",permalink:"/vocdoni-api/total-number-of-accounts",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"total-number-of-accounts",title:"Total number of accounts",description:"Returns the count of total number of existing accounts",sidebar_label:"Total number of accounts",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{count:{example:10,type:"integer"}},type:"object"}}},description:"OK"}},tags:["Accounts"],deprecated:!0,description:"Returns the count of total number of existing accounts\n(deprecated, in favor of /accounts which reports totalItems)",method:"get",path:"/accounts/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Total number of accounts",description:{content:"Returns the count of total number of existing accounts\n(deprecated, in favor of /accounts which reports totalItems)",type:"text/plain"},url:{path:["accounts","count"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Set account",permalink:"/vocdoni-api/set-account"},next:{title:"List of the existing accounts",permalink:"/vocdoni-api/list-of-the-existing-accounts"}},m={},f=[{value:"Total number of accounts",id:"total-number-of-accounts",level:2}],g={toc:f};function v(e){let{components:t,...o}=e;return(0,a.kt)("wrapper",(0,n.Z)({},g,o,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"total-number-of-accounts"},"Total number of accounts"),(0,a.kt)("admonition",{title:"deprecated",type:"caution"},(0,a.kt)("p",{parentName:"admonition"},"This endpoint has been deprecated and may be removed in future versions of the API.")),(0,a.kt)("p",null,"Returns the count of total number of existing accounts\n(deprecated, in favor of /accounts which reports totalItems)"),(0,a.kt)("div",null,(0,a.kt)(s.Z,{mdxType:"ApiTabs"},(0,a.kt)(d.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,a.kt)("div",null,(0,a.kt)("p",null,"OK")),(0,a.kt)("div",null,(0,a.kt)(i.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,a.kt)(d.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,a.kt)(l.Z,{mdxType:"SchemaTabs"},(0,a.kt)(d.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,a.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,a.kt)("summary",{style:{textAlign:"left"}},(0,a.kt)("strong",null,"Schema")),(0,a.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,a.kt)("ul",{style:{marginLeft:"1rem"}},(0,a.kt)(r.Z,{collapsible:!1,name:"count",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,a.kt)(d.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,a.kt)(c.Z,{responseExample:'{\n "count": 10\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}v.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/6aeb5732.4553592d.js b/assets/js/6aeb5732.4553592d.js deleted file mode 100644 index 58a87c930..000000000 --- a/assets/js/6aeb5732.4553592d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[2277],{12128:(e,t,n)=>{n.d(t,{Z:()=>g});var o=n(87462),a=n(39805),s=n(14902),i=n(170),r=n(86390),c=n(65429),d=n(14758),l=n(67294),u=n(204),h=n(23100),p=n(16393);const m={React:l,...l,Flex:u.k,Box:h.xu,AspectRatio:p.o,Image:c.Ee,ElectionProvider:d.qT,ElectionHeader:c.UE,ElectionTitle:c.hi,ElectionSchedule:c.vE,ElectionResults:c.Hj,ElectionStatusBadge:c.QW,ElectionDescription:c.I3,ElectionQuestions:c.Vx,ElectionActions:c.A2,Election:c.bO,QuestionsConfirmation:c.KX,SpreadsheetAccess:c.cB,VoteButton:c.tT,OrganizationProvider:d.f0,OrganizationAvatar:c.ld,OrganizationDescription:c.G9,OrganizationHeader:c.sC,OrganizationName:c.X5,Balance:c.yo,Button:c.zx,HR:c.HR,Image:c.Ee,Markdown:c.UG};var f=n(22457),v=n(37489);const g=(b=i.Z,function(e){if(e.live){let t=v.G;return'"spreadsheet"'===e.title&&(t=v.IS),l.createElement(a.x,{theme:(0,s.B1)(c.rS),resetCSS:!1},l.createElement(c.de,{env:f.yG.STG,signer:v.Lp.wallet},l.createElement(d.f0,{id:v.fD},l.createElement(d.qT,{id:t,fetchCensus:!0},l.createElement(c.DG,null,l.createElement(r.Z,(0,o.Z)({scope:m},e)))))))}return l.createElement(b,e)});var b},69102:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>f,contentTitle:()=>p,default:()=>b,frontMatter:()=>h,metadata:()=>m,toc:()=>v});var o=n(87462),a=(n(67294),n(3905)),s=n(26389),i=n(94891),r=n(75190),c=n(47507),d=n(24310),l=n(63303),u=(n(75035),n(85162));const h={id:"total-number-of-sent-and-received-transactions",title:"Total number of sent and received transactions",description:"Returns the count of total number of sent and received transactions for an account. A transaction is a token transfer from one account to another existing account",sidebar_label:"Total number of sent and received transactions",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Specific accountId",in:"path",name:"accountId",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{count:{example:10,type:"integer"}},type:"object"}}},description:"Number of transaction sent and received for the account"}},tags:["Accounts"],description:"Returns the count of total number of sent and received transactions for an account. A transaction is a token transfer from one account to another existing account",method:"get",path:"/accounts/{accountId}/transfers/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Total number of sent and received transactions",description:{content:"Returns the count of total number of sent and received transactions for an account. A transaction is a token transfer from one account to another existing account",type:"text/plain"},url:{path:["accounts",":accountId","transfers","count"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Specific accountId",type:"text/plain"},type:"any",value:"",key:"accountId"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},p=void 0,m={unversionedId:"vocdoni-api/total-number-of-sent-and-received-transactions",id:"vocdoni-api/total-number-of-sent-and-received-transactions",title:"Total number of sent and received transactions",description:"Returns the count of total number of sent and received transactions for an account. A transaction is a token transfer from one account to another existing account",source:"@site/docs/vocdoni-api/total-number-of-sent-and-received-transactions.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/total-number-of-sent-and-received-transactions",permalink:"/vocdoni-api/total-number-of-sent-and-received-transactions",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"total-number-of-sent-and-received-transactions",title:"Total number of sent and received transactions",description:"Returns the count of total number of sent and received transactions for an account. A transaction is a token transfer from one account to another existing account",sidebar_label:"Total number of sent and received transactions",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Specific accountId",in:"path",name:"accountId",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{count:{example:10,type:"integer"}},type:"object"}}},description:"Number of transaction sent and received for the account"}},tags:["Accounts"],description:"Returns the count of total number of sent and received transactions for an account. A transaction is a token transfer from one account to another existing account",method:"get",path:"/accounts/{accountId}/transfers/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Total number of sent and received transactions",description:{content:"Returns the count of total number of sent and received transactions for an account. A transaction is a token transfer from one account to another existing account",type:"text/plain"},url:{path:["accounts",":accountId","transfers","count"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Specific accountId",type:"text/plain"},type:"any",value:"",key:"accountId"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"List account token fees",permalink:"/vocdoni-api/list-account-token-fees"},next:{title:"List account received and sent token transfers",permalink:"/vocdoni-api/list-account-received-and-sent-token-transfers"}},f={},v=[{value:"Total number of sent and received transactions",id:"total-number-of-sent-and-received-transactions",level:2}],g={toc:v};function b(e){let{components:t,...n}=e;return(0,a.kt)("wrapper",(0,o.Z)({},g,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"total-number-of-sent-and-received-transactions"},"Total number of sent and received transactions"),(0,a.kt)("p",null,"Returns the count of total number of sent and received transactions for an account. A transaction is a token transfer from one account to another existing account"),(0,a.kt)("details",{style:{marginBottom:"1rem"},"data-collapsed":!1,open:!0},(0,a.kt)("summary",{style:{}},(0,a.kt)("strong",null,"Path Parameters")),(0,a.kt)("div",null,(0,a.kt)("ul",null,(0,a.kt)(r.Z,{className:"paramsItem",param:{description:"Specific accountId",in:"path",name:"accountId",required:!0,schema:{type:"string"}},mdxType:"ParamsItem"})))),(0,a.kt)("div",null,(0,a.kt)(s.Z,{mdxType:"ApiTabs"},(0,a.kt)(u.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,a.kt)("div",null,(0,a.kt)("p",null,"Number of transaction sent and received for the account")),(0,a.kt)("div",null,(0,a.kt)(i.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,a.kt)(u.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,a.kt)(l.Z,{mdxType:"SchemaTabs"},(0,a.kt)(u.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,a.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,a.kt)("summary",{style:{textAlign:"left"}},(0,a.kt)("strong",null,"Schema")),(0,a.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,a.kt)("ul",{style:{marginLeft:"1rem"}},(0,a.kt)(d.Z,{collapsible:!1,name:"count",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,a.kt)(u.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,a.kt)(c.Z,{responseExample:'{\n "count": 10\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}b.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/6aeb5732.bb9e8fb2.js b/assets/js/6aeb5732.bb9e8fb2.js new file mode 100644 index 000000000..50fde2bcc --- /dev/null +++ b/assets/js/6aeb5732.bb9e8fb2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[2277],{12128:(e,t,n)=>{n.d(t,{Z:()=>g});var o=n(87462),a=n(39805),s=n(14902),i=n(170),r=n(86390),c=n(65429),d=n(14758),l=n(67294),u=n(204),h=n(23100),p=n(16393);const m={React:l,...l,Flex:u.k,Box:h.xu,AspectRatio:p.o,Image:c.Ee,ElectionProvider:d.qT,ElectionHeader:c.UE,ElectionTitle:c.hi,ElectionSchedule:c.vE,ElectionResults:c.Hj,ElectionStatusBadge:c.QW,ElectionDescription:c.I3,ElectionQuestions:c.Vx,ElectionActions:c.A2,Election:c.bO,QuestionsConfirmation:c.KX,SpreadsheetAccess:c.cB,VoteButton:c.tT,OrganizationProvider:d.f0,OrganizationAvatar:c.ld,OrganizationDescription:c.G9,OrganizationHeader:c.sC,OrganizationName:c.X5,Balance:c.yo,Button:c.zx,HR:c.HR,Image:c.Ee,Markdown:c.UG};var f=n(22457),v=n(37489);const g=(b=i.Z,function(e){if(e.live){let t=v.G;return'"spreadsheet"'===e.title&&(t=v.IS),l.createElement(a.x,{theme:(0,s.B1)(c.rS),resetCSS:!1},l.createElement(c.de,{env:f.yG.STG,signer:v.Lp.wallet},l.createElement(d.f0,{id:v.fD},l.createElement(d.qT,{id:t,fetchCensus:!0},l.createElement(c.DG,null,l.createElement(r.Z,(0,o.Z)({scope:m},e)))))))}return l.createElement(b,e)});var b},69102:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>f,contentTitle:()=>p,default:()=>b,frontMatter:()=>h,metadata:()=>m,toc:()=>v});var o=n(87462),a=(n(67294),n(3905)),s=n(26389),i=n(94891),r=n(75190),c=n(47507),d=n(24310),l=n(63303),u=(n(75035),n(85162));const h={id:"total-number-of-sent-and-received-transactions",title:"Total number of sent and received transactions",description:"Returns the count of total number of sent and received transactions for an account. A transaction is a token transfer from one account to another existing account",sidebar_label:"Total number of sent and received transactions",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Specific accountId",in:"path",name:"accountId",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{count:{example:10,type:"integer"}},type:"object"}}},description:"Number of transaction sent and received for the account"}},tags:["Accounts"],deprecated:!0,description:"Returns the count of total number of sent and received transactions for an account. A transaction is a token transfer from one account to another existing account\n(deprecated, in favor of /chain/transfers?accountId=xxx which reports totalItems)",method:"get",path:"/accounts/{accountId}/transfers/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Total number of sent and received transactions",description:{content:"Returns the count of total number of sent and received transactions for an account. A transaction is a token transfer from one account to another existing account\n(deprecated, in favor of /chain/transfers?accountId=xxx which reports totalItems)",type:"text/plain"},url:{path:["accounts",":accountId","transfers","count"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Specific accountId",type:"text/plain"},type:"any",value:"",key:"accountId"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},p=void 0,m={unversionedId:"vocdoni-api/total-number-of-sent-and-received-transactions",id:"vocdoni-api/total-number-of-sent-and-received-transactions",title:"Total number of sent and received transactions",description:"Returns the count of total number of sent and received transactions for an account. A transaction is a token transfer from one account to another existing account",source:"@site/docs/vocdoni-api/total-number-of-sent-and-received-transactions.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/total-number-of-sent-and-received-transactions",permalink:"/vocdoni-api/total-number-of-sent-and-received-transactions",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"total-number-of-sent-and-received-transactions",title:"Total number of sent and received transactions",description:"Returns the count of total number of sent and received transactions for an account. A transaction is a token transfer from one account to another existing account",sidebar_label:"Total number of sent and received transactions",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Specific accountId",in:"path",name:"accountId",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{count:{example:10,type:"integer"}},type:"object"}}},description:"Number of transaction sent and received for the account"}},tags:["Accounts"],deprecated:!0,description:"Returns the count of total number of sent and received transactions for an account. A transaction is a token transfer from one account to another existing account\n(deprecated, in favor of /chain/transfers?accountId=xxx which reports totalItems)",method:"get",path:"/accounts/{accountId}/transfers/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Total number of sent and received transactions",description:{content:"Returns the count of total number of sent and received transactions for an account. A transaction is a token transfer from one account to another existing account\n(deprecated, in favor of /chain/transfers?accountId=xxx which reports totalItems)",type:"text/plain"},url:{path:["accounts",":accountId","transfers","count"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Specific accountId",type:"text/plain"},type:"any",value:"",key:"accountId"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"List account token fees",permalink:"/vocdoni-api/list-account-token-fees"},next:{title:"List account received and sent token transfers",permalink:"/vocdoni-api/list-account-received-and-sent-token-transfers"}},f={},v=[{value:"Total number of sent and received transactions",id:"total-number-of-sent-and-received-transactions",level:2}],g={toc:v};function b(e){let{components:t,...n}=e;return(0,a.kt)("wrapper",(0,o.Z)({},g,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"total-number-of-sent-and-received-transactions"},"Total number of sent and received transactions"),(0,a.kt)("admonition",{title:"deprecated",type:"caution"},(0,a.kt)("p",{parentName:"admonition"},"This endpoint has been deprecated and may be removed in future versions of the API.")),(0,a.kt)("p",null,"Returns the count of total number of sent and received transactions for an account. A transaction is a token transfer from one account to another existing account\n(deprecated, in favor of /chain/transfers?accountId=xxx which reports totalItems)"),(0,a.kt)("details",{style:{marginBottom:"1rem"},"data-collapsed":!1,open:!0},(0,a.kt)("summary",{style:{}},(0,a.kt)("strong",null,"Path Parameters")),(0,a.kt)("div",null,(0,a.kt)("ul",null,(0,a.kt)(r.Z,{className:"paramsItem",param:{description:"Specific accountId",in:"path",name:"accountId",required:!0,schema:{type:"string"}},mdxType:"ParamsItem"})))),(0,a.kt)("div",null,(0,a.kt)(s.Z,{mdxType:"ApiTabs"},(0,a.kt)(u.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,a.kt)("div",null,(0,a.kt)("p",null,"Number of transaction sent and received for the account")),(0,a.kt)("div",null,(0,a.kt)(i.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,a.kt)(u.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,a.kt)(l.Z,{mdxType:"SchemaTabs"},(0,a.kt)(u.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,a.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,a.kt)("summary",{style:{textAlign:"left"}},(0,a.kt)("strong",null,"Schema")),(0,a.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,a.kt)("ul",{style:{marginLeft:"1rem"}},(0,a.kt)(d.Z,{collapsible:!1,name:"count",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,a.kt)(u.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,a.kt)(c.Z,{responseExample:'{\n "count": 10\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}b.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/79e28b2f.558cfa46.js b/assets/js/79e28b2f.558cfa46.js deleted file mode 100644 index a6455424c..000000000 --- a/assets/js/79e28b2f.558cfa46.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[9184],{12128:(e,t,o)=>{o.d(t,{Z:()=>v});var n=o(87462),i=o(39805),a=o(14902),s=o(170),r=o(86390),c=o(65429),l=o(14758),d=o(67294),h=o(204),u=o(23100),p=o(16393);const m={React:d,...d,Flex:h.k,Box:u.xu,AspectRatio:p.o,Image:c.Ee,ElectionProvider:l.qT,ElectionHeader:c.UE,ElectionTitle:c.hi,ElectionSchedule:c.vE,ElectionResults:c.Hj,ElectionStatusBadge:c.QW,ElectionDescription:c.I3,ElectionQuestions:c.Vx,ElectionActions:c.A2,Election:c.bO,QuestionsConfirmation:c.KX,SpreadsheetAccess:c.cB,VoteButton:c.tT,OrganizationProvider:l.f0,OrganizationAvatar:c.ld,OrganizationDescription:c.G9,OrganizationHeader:c.sC,OrganizationName:c.X5,Balance:c.yo,Button:c.zx,HR:c.HR,Image:c.Ee,Markdown:c.UG};var g=o(22457),f=o(37489);const v=(b=s.Z,function(e){if(e.live){let t=f.G;return'"spreadsheet"'===e.title&&(t=f.IS),d.createElement(i.x,{theme:(0,a.B1)(c.rS),resetCSS:!1},d.createElement(c.de,{env:g.yG.STG,signer:f.Lp.wallet},d.createElement(l.f0,{id:f.fD},d.createElement(l.qT,{id:t,fetchCensus:!0},d.createElement(c.DG,null,d.createElement(r.Z,(0,n.Z)({scope:m},e)))))))}return d.createElement(b,e)});var b},1903:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>m,contentTitle:()=>u,default:()=>v,frontMatter:()=>h,metadata:()=>p,toc:()=>g});var n=o(87462),i=(o(67294),o(3905)),a=o(26389),s=o(94891),r=(o(75190),o(47507)),c=o(24310),l=o(63303),d=(o(75035),o(85162));const h={id:"count-organizations",title:"Count organizations",description:"Return the number of organizations",sidebar_label:"Count organizations",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{count:{example:10,type:"integer"}},type:"object"}}},description:"Number of registered organizations"}},tags:["Chain"],description:"Return the number of organizations",method:"get",path:"/chain/organizations/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Count organizations",description:{content:"Return the number of organizations",type:"text/plain"},url:{path:["chain","organizations","count"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},u=void 0,p={unversionedId:"vocdoni-api/count-organizations",id:"vocdoni-api/count-organizations",title:"Count organizations",description:"Return the number of organizations",source:"@site/docs/vocdoni-api/count-organizations.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/count-organizations",permalink:"/vocdoni-api/count-organizations",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"count-organizations",title:"Count organizations",description:"Return the number of organizations",sidebar_label:"Count organizations",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{count:{example:10,type:"integer"}},type:"object"}}},description:"Number of registered organizations"}},tags:["Chain"],description:"Return the number of organizations",method:"get",path:"/chain/organizations/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Count organizations",description:{content:"Return the number of organizations",type:"text/plain"},url:{path:["chain","organizations","count"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"List organizations",permalink:"/vocdoni-api/list-organizations"},next:{title:"List organizations (filtered)",permalink:"/vocdoni-api/list-organizations-filtered"}},m={},g=[{value:"Count organizations",id:"count-organizations",level:2}],f={toc:g};function v(e){let{components:t,...o}=e;return(0,i.kt)("wrapper",(0,n.Z)({},f,o,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"count-organizations"},"Count organizations"),(0,i.kt)("p",null,"Return the number of organizations"),(0,i.kt)("div",null,(0,i.kt)(a.Z,{mdxType:"ApiTabs"},(0,i.kt)(d.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,i.kt)("div",null,(0,i.kt)("p",null,"Number of registered organizations")),(0,i.kt)("div",null,(0,i.kt)(s.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,i.kt)(d.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,i.kt)(l.Z,{mdxType:"SchemaTabs"},(0,i.kt)(d.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,i.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,i.kt)("summary",{style:{textAlign:"left"}},(0,i.kt)("strong",null,"Schema")),(0,i.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,i.kt)("ul",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!1,name:"count",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,i.kt)(d.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,i.kt)(r.Z,{responseExample:'{\n "count": 10\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}v.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/79e28b2f.bfb10054.js b/assets/js/79e28b2f.bfb10054.js new file mode 100644 index 000000000..8ab5d0467 --- /dev/null +++ b/assets/js/79e28b2f.bfb10054.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[9184],{12128:(e,t,o)=>{o.d(t,{Z:()=>v});var n=o(87462),i=o(39805),a=o(14902),s=o(170),r=o(86390),c=o(65429),l=o(14758),d=o(67294),h=o(204),u=o(23100),p=o(16393);const m={React:d,...d,Flex:h.k,Box:u.xu,AspectRatio:p.o,Image:c.Ee,ElectionProvider:l.qT,ElectionHeader:c.UE,ElectionTitle:c.hi,ElectionSchedule:c.vE,ElectionResults:c.Hj,ElectionStatusBadge:c.QW,ElectionDescription:c.I3,ElectionQuestions:c.Vx,ElectionActions:c.A2,Election:c.bO,QuestionsConfirmation:c.KX,SpreadsheetAccess:c.cB,VoteButton:c.tT,OrganizationProvider:l.f0,OrganizationAvatar:c.ld,OrganizationDescription:c.G9,OrganizationHeader:c.sC,OrganizationName:c.X5,Balance:c.yo,Button:c.zx,HR:c.HR,Image:c.Ee,Markdown:c.UG};var g=o(22457),f=o(37489);const v=(b=s.Z,function(e){if(e.live){let t=f.G;return'"spreadsheet"'===e.title&&(t=f.IS),d.createElement(i.x,{theme:(0,a.B1)(c.rS),resetCSS:!1},d.createElement(c.de,{env:g.yG.STG,signer:f.Lp.wallet},d.createElement(l.f0,{id:f.fD},d.createElement(l.qT,{id:t,fetchCensus:!0},d.createElement(c.DG,null,d.createElement(r.Z,(0,n.Z)({scope:m},e)))))))}return d.createElement(b,e)});var b},1903:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>m,contentTitle:()=>u,default:()=>v,frontMatter:()=>h,metadata:()=>p,toc:()=>g});var n=o(87462),i=(o(67294),o(3905)),a=o(26389),s=o(94891),r=(o(75190),o(47507)),c=o(24310),l=o(63303),d=(o(75035),o(85162));const h={id:"count-organizations",title:"Count organizations",description:"Return the number of organizations",sidebar_label:"Count organizations",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{count:{example:10,type:"integer"}},type:"object"}}},description:"Number of registered organizations"}},tags:["Chain"],deprecated:!0,description:"Return the number of organizations\n(deprecated, in favor of /chain/organizations which reports totalItems)",method:"get",path:"/chain/organizations/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Count organizations",description:{content:"Return the number of organizations\n(deprecated, in favor of /chain/organizations which reports totalItems)",type:"text/plain"},url:{path:["chain","organizations","count"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},u=void 0,p={unversionedId:"vocdoni-api/count-organizations",id:"vocdoni-api/count-organizations",title:"Count organizations",description:"Return the number of organizations",source:"@site/docs/vocdoni-api/count-organizations.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/count-organizations",permalink:"/vocdoni-api/count-organizations",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"count-organizations",title:"Count organizations",description:"Return the number of organizations",sidebar_label:"Count organizations",hide_title:!0,hide_table_of_contents:!0,api:{responses:{200:{content:{"application/json":{schema:{properties:{count:{example:10,type:"integer"}},type:"object"}}},description:"Number of registered organizations"}},tags:["Chain"],deprecated:!0,description:"Return the number of organizations\n(deprecated, in favor of /chain/organizations which reports totalItems)",method:"get",path:"/chain/organizations/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Count organizations",description:{content:"Return the number of organizations\n(deprecated, in favor of /chain/organizations which reports totalItems)",type:"text/plain"},url:{path:["chain","organizations","count"],host:["{{baseUrl}}"],query:[],variable:[]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"List organizations",permalink:"/vocdoni-api/list-organizations"},next:{title:"List organizations (filtered)",permalink:"/vocdoni-api/list-organizations-filtered"}},m={},g=[{value:"Count organizations",id:"count-organizations",level:2}],f={toc:g};function v(e){let{components:t,...o}=e;return(0,i.kt)("wrapper",(0,n.Z)({},f,o,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"count-organizations"},"Count organizations"),(0,i.kt)("admonition",{title:"deprecated",type:"caution"},(0,i.kt)("p",{parentName:"admonition"},"This endpoint has been deprecated and may be removed in future versions of the API.")),(0,i.kt)("p",null,"Return the number of organizations\n(deprecated, in favor of /chain/organizations which reports totalItems)"),(0,i.kt)("div",null,(0,i.kt)(a.Z,{mdxType:"ApiTabs"},(0,i.kt)(d.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,i.kt)("div",null,(0,i.kt)("p",null,"Number of registered organizations")),(0,i.kt)("div",null,(0,i.kt)(s.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,i.kt)(d.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,i.kt)(l.Z,{mdxType:"SchemaTabs"},(0,i.kt)(d.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,i.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,i.kt)("summary",{style:{textAlign:"left"}},(0,i.kt)("strong",null,"Schema")),(0,i.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,i.kt)("ul",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!1,name:"count",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,i.kt)(d.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,i.kt)(r.Z,{responseExample:'{\n "count": 10\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}v.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.29947fc4.js b/assets/js/935f2afb.29947fc4.js new file mode 100644 index 000000000..9f5f788cf --- /dev/null +++ b/assets/js/935f2afb.29947fc4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[53],{1109:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"defaultSidebar":[{"type":"link","label":"Getting Started","href":"/intro","docId":"intro"},{"type":"category","label":"Vocdoni SDK","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"SDK Tutorial","href":"/sdk/tutorial","docId":"sdk/tutorial"},{"type":"category","label":"Integration Details","collapsible":true,"collapsed":true,"items":[{"type":"category","label":"Census Types","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Off-chain Credential Service Provider","href":"/sdk/integration-details/census-types/off-chain-csp","docId":"sdk/integration-details/census-types/off-chain-csp"},{"type":"link","label":"Off-chain Merkle Tree","href":"/sdk/integration-details/census-types/off-chain-tree","docId":"sdk/integration-details/census-types/off-chain-tree"},{"type":"category","label":"On-chain Token-Based Census","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Complex Census","href":"/sdk/integration-details/census-types/on-chain/complex-census","docId":"sdk/integration-details/census-types/on-chain/complex-census"}],"href":"/sdk/integration-details/census-types/on-chain/"}],"href":"/sdk/integration-details/census-types/"},{"type":"link","label":"Vocdoni Tokens","href":"/sdk/integration-details/vocdoni-tokens","docId":"sdk/integration-details/vocdoni-tokens"},{"type":"category","label":"Voting Types","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Single Choice Voting","href":"/sdk/integration-details/voting-types/single-choice","docId":"sdk/integration-details/voting-types/single-choice"},{"type":"link","label":"Ranked Voting","href":"/sdk/integration-details/voting-types/ranked","docId":"sdk/integration-details/voting-types/ranked"},{"type":"link","label":"Approval Voting","href":"/sdk/integration-details/voting-types/approval","docId":"sdk/integration-details/voting-types/approval"},{"type":"link","label":"Weighted voting","href":"/sdk/integration-details/voting-types/weighted","docId":"sdk/integration-details/voting-types/weighted"},{"type":"link","label":"Quadratic voting","href":"/sdk/integration-details/voting-types/quadratic","docId":"sdk/integration-details/voting-types/quadratic"}],"href":"/sdk/integration-details/voting-types/"}],"href":"/sdk/integration-details/"},{"type":"category","label":"Reference","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"@vocdoni/sdk","href":"/sdk/reference/sdk-reference","docId":"sdk/reference/sdk-reference"},{"type":"category","label":"Classes","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Account","href":"/sdk/reference/classes/Account","docId":"sdk/reference/classes/Account"},{"type":"link","label":"AccountAPI","href":"/sdk/reference/classes/AccountAPI","docId":"sdk/reference/classes/AccountAPI"},{"type":"link","label":"AccountService","href":"/sdk/reference/classes/AccountService","docId":"sdk/reference/classes/AccountService"},{"type":"link","label":"AnonymousService","href":"/sdk/reference/classes/AnonymousService","docId":"sdk/reference/classes/AnonymousService"},{"type":"link","label":"AnonymousVote","href":"/sdk/reference/classes/AnonymousVote","docId":"sdk/reference/classes/AnonymousVote"},{"type":"link","label":"ApprovalElection","href":"/sdk/reference/classes/ApprovalElection","docId":"sdk/reference/classes/ApprovalElection"},{"type":"link","label":"ArchivedElection","href":"/sdk/reference/classes/ArchivedElection","docId":"sdk/reference/classes/ArchivedElection"},{"type":"link","label":"BudgetElection","href":"/sdk/reference/classes/BudgetElection","docId":"sdk/reference/classes/BudgetElection"},{"type":"link","label":"Census","href":"/sdk/reference/classes/Census","docId":"sdk/reference/classes/Census"},{"type":"link","label":"Census3CensusAPI","href":"/sdk/reference/classes/Census3CensusAPI","docId":"sdk/reference/classes/Census3CensusAPI"},{"type":"link","label":"Census3ServiceAPI","href":"/sdk/reference/classes/Census3ServiceAPI","docId":"sdk/reference/classes/Census3ServiceAPI"},{"type":"link","label":"Census3StrategyAPI","href":"/sdk/reference/classes/Census3StrategyAPI","docId":"sdk/reference/classes/Census3StrategyAPI"},{"type":"link","label":"Census3TokenAPI","href":"/sdk/reference/classes/Census3TokenAPI","docId":"sdk/reference/classes/Census3TokenAPI"},{"type":"link","label":"CensusAPI","href":"/sdk/reference/classes/CensusAPI","docId":"sdk/reference/classes/CensusAPI"},{"type":"link","label":"CensusService","href":"/sdk/reference/classes/CensusService","docId":"sdk/reference/classes/CensusService"},{"type":"link","label":"ChainAPI","href":"/sdk/reference/classes/ChainAPI","docId":"sdk/reference/classes/ChainAPI"},{"type":"link","label":"ChainService","href":"/sdk/reference/classes/ChainService","docId":"sdk/reference/classes/ChainService"},{"type":"link","label":"CspAPI","href":"/sdk/reference/classes/CspAPI","docId":"sdk/reference/classes/CspAPI"},{"type":"link","label":"CspCensus","href":"/sdk/reference/classes/CspCensus","docId":"sdk/reference/classes/CspCensus"},{"type":"link","label":"CspService","href":"/sdk/reference/classes/CspService","docId":"sdk/reference/classes/CspService"},{"type":"link","label":"CspVote","href":"/sdk/reference/classes/CspVote","docId":"sdk/reference/classes/CspVote"},{"type":"link","label":"Election","href":"/sdk/reference/classes/Election","docId":"sdk/reference/classes/Election"},{"type":"link","label":"ElectionAPI","href":"/sdk/reference/classes/ElectionAPI","docId":"sdk/reference/classes/ElectionAPI"},{"type":"link","label":"ElectionService","href":"/sdk/reference/classes/ElectionService","docId":"sdk/reference/classes/ElectionService"},{"type":"link","label":"FaucetAPI","href":"/sdk/reference/classes/FaucetAPI","docId":"sdk/reference/classes/FaucetAPI"},{"type":"link","label":"FaucetService","href":"/sdk/reference/classes/FaucetService","docId":"sdk/reference/classes/FaucetService"},{"type":"link","label":"FileAPI","href":"/sdk/reference/classes/FileAPI","docId":"sdk/reference/classes/FileAPI"},{"type":"link","label":"FileService","href":"/sdk/reference/classes/FileService","docId":"sdk/reference/classes/FileService"},{"type":"link","label":"InvalidElection","href":"/sdk/reference/classes/InvalidElection","docId":"sdk/reference/classes/InvalidElection"},{"type":"link","label":"MultiChoiceElection","href":"/sdk/reference/classes/MultiChoiceElection","docId":"sdk/reference/classes/MultiChoiceElection"},{"type":"link","label":"OffchainCensus","href":"/sdk/reference/classes/OffchainCensus","docId":"sdk/reference/classes/OffchainCensus"},{"type":"link","label":"PlainCensus","href":"/sdk/reference/classes/PlainCensus","docId":"sdk/reference/classes/PlainCensus"},{"type":"link","label":"PublishedCensus","href":"/sdk/reference/classes/PublishedCensus","docId":"sdk/reference/classes/PublishedCensus"},{"type":"link","label":"PublishedElection","href":"/sdk/reference/classes/PublishedElection","docId":"sdk/reference/classes/PublishedElection"},{"type":"link","label":"Service","href":"/sdk/reference/classes/Service","docId":"sdk/reference/classes/Service"},{"type":"link","label":"StrategyCensus","href":"/sdk/reference/classes/StrategyCensus","docId":"sdk/reference/classes/StrategyCensus"},{"type":"link","label":"TokenCensus","href":"/sdk/reference/classes/TokenCensus","docId":"sdk/reference/classes/TokenCensus"},{"type":"link","label":"UnpublishedElection","href":"/sdk/reference/classes/UnpublishedElection","docId":"sdk/reference/classes/UnpublishedElection"},{"type":"link","label":"VocdoniCensus3Client","href":"/sdk/reference/classes/VocdoniCensus3Client","docId":"sdk/reference/classes/VocdoniCensus3Client"},{"type":"link","label":"VocdoniSDKClient","href":"/sdk/reference/classes/VocdoniSDKClient","docId":"sdk/reference/classes/VocdoniSDKClient"},{"type":"link","label":"Vote","href":"/sdk/reference/classes/Vote","docId":"sdk/reference/classes/Vote"},{"type":"link","label":"VoteAPI","href":"/sdk/reference/classes/VoteAPI","docId":"sdk/reference/classes/VoteAPI"},{"type":"link","label":"VoteService","href":"/sdk/reference/classes/VoteService","docId":"sdk/reference/classes/VoteService"},{"type":"link","label":"WalletAPI","href":"/sdk/reference/classes/WalletAPI","docId":"sdk/reference/classes/WalletAPI"},{"type":"link","label":"WeightedCensus","href":"/sdk/reference/classes/WeightedCensus","docId":"sdk/reference/classes/WeightedCensus"},{"type":"link","label":"ZkAPI","href":"/sdk/reference/classes/ZkAPI","docId":"sdk/reference/classes/ZkAPI"}]},{"type":"category","label":"Enums","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"CensusOrigin","href":"/sdk/reference/enums/CensusOrigin","docId":"sdk/reference/enums/CensusOrigin"},{"type":"link","label":"CensusType","href":"/sdk/reference/enums/CensusType","docId":"sdk/reference/enums/CensusType"},{"type":"link","label":"CensusTypeEnum","href":"/sdk/reference/enums/CensusTypeEnum","docId":"sdk/reference/enums/CensusTypeEnum"},{"type":"link","label":"CspProofType","href":"/sdk/reference/enums/CspProofType","docId":"sdk/reference/enums/CspProofType"},{"type":"link","label":"ElectionCreationSteps","href":"/sdk/reference/enums/ElectionCreationSteps","docId":"sdk/reference/enums/ElectionCreationSteps"},{"type":"link","label":"ElectionResultsTypeNames","href":"/sdk/reference/enums/ElectionResultsTypeNames","docId":"sdk/reference/enums/ElectionResultsTypeNames"},{"type":"link","label":"ElectionStatus","href":"/sdk/reference/enums/ElectionStatus","docId":"sdk/reference/enums/ElectionStatus"},{"type":"link","label":"ElectionStatusReady","href":"/sdk/reference/enums/ElectionStatusReady","docId":"sdk/reference/enums/ElectionStatusReady"},{"type":"link","label":"EnvOptions","href":"/sdk/reference/enums/EnvOptions","docId":"sdk/reference/enums/EnvOptions"},{"type":"link","label":"TransactionType","href":"/sdk/reference/enums/TransactionType","docId":"sdk/reference/enums/TransactionType"},{"type":"link","label":"TxType","href":"/sdk/reference/enums/TxType","docId":"sdk/reference/enums/TxType"},{"type":"link","label":"VoteSteps","href":"/sdk/reference/enums/VoteSteps","docId":"sdk/reference/enums/VoteSteps"}]},{"type":"category","label":"Interfaces","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"AccountMetadata","href":"/sdk/reference/interfaces/AccountMetadata","docId":"sdk/reference/interfaces/AccountMetadata"},{"type":"link","label":"AdminTx","href":"/sdk/reference/interfaces/AdminTx","docId":"sdk/reference/interfaces/AdminTx"},{"type":"link","label":"CircuitInputs","href":"/sdk/reference/interfaces/CircuitInputs","docId":"sdk/reference/interfaces/CircuitInputs"},{"type":"link","label":"CollectFaucetTx","href":"/sdk/reference/interfaces/CollectFaucetTx","docId":"sdk/reference/interfaces/CollectFaucetTx"},{"type":"link","label":"ElectionMetadata","href":"/sdk/reference/interfaces/ElectionMetadata","docId":"sdk/reference/interfaces/ElectionMetadata"},{"type":"link","label":"FetchElectionsParameters","href":"/sdk/reference/interfaces/FetchElectionsParameters","docId":"sdk/reference/interfaces/FetchElectionsParameters"},{"type":"link","label":"IAccount","href":"/sdk/reference/interfaces/IAccount","docId":"sdk/reference/interfaces/IAccount"},{"type":"link","label":"IAccountTransfersCountResponse","href":"/sdk/reference/interfaces/IAccountTransfersCountResponse","docId":"sdk/reference/interfaces/IAccountTransfersCountResponse"},{"type":"link","label":"IAccountsCountResponse","href":"/sdk/reference/interfaces/IAccountsCountResponse","docId":"sdk/reference/interfaces/IAccountsCountResponse"},{"type":"link","label":"IAccountsListResponse","href":"/sdk/reference/interfaces/IAccountsListResponse","docId":"sdk/reference/interfaces/IAccountsListResponse"},{"type":"link","label":"IApprovalElectionParameters","href":"/sdk/reference/interfaces/IApprovalElectionParameters","docId":"sdk/reference/interfaces/IApprovalElectionParameters"},{"type":"link","label":"IBlockTransactionsResponse","href":"/sdk/reference/interfaces/IBlockTransactionsResponse","docId":"sdk/reference/interfaces/IBlockTransactionsResponse"},{"type":"link","label":"IBudgetElectionParametersInfo","href":"/sdk/reference/interfaces/IBudgetElectionParametersInfo","docId":"sdk/reference/interfaces/IBudgetElectionParametersInfo"},{"type":"link","label":"IBudgetElectionParametersWithBudget","href":"/sdk/reference/interfaces/IBudgetElectionParametersWithBudget","docId":"sdk/reference/interfaces/IBudgetElectionParametersWithBudget"},{"type":"link","label":"IBudgetElectionParametersWithCensusWeight","href":"/sdk/reference/interfaces/IBudgetElectionParametersWithCensusWeight","docId":"sdk/reference/interfaces/IBudgetElectionParametersWithCensusWeight"},{"type":"link","label":"ICensus","href":"/sdk/reference/interfaces/ICensus","docId":"sdk/reference/interfaces/ICensus"},{"type":"link","label":"ICensus3CensusListResponse","href":"/sdk/reference/interfaces/ICensus3CensusListResponse","docId":"sdk/reference/interfaces/ICensus3CensusListResponse"},{"type":"link","label":"ICensus3CensusQueueResponse","href":"/sdk/reference/interfaces/ICensus3CensusQueueResponse","docId":"sdk/reference/interfaces/ICensus3CensusQueueResponse"},{"type":"link","label":"ICensus3CensusResponse","href":"/sdk/reference/interfaces/ICensus3CensusResponse","docId":"sdk/reference/interfaces/ICensus3CensusResponse"},{"type":"link","label":"ICensus3ServiceInfoResponse","href":"/sdk/reference/interfaces/ICensus3ServiceInfoResponse","docId":"sdk/reference/interfaces/ICensus3ServiceInfoResponse"},{"type":"link","label":"ICensus3StrategiesListResponse","href":"/sdk/reference/interfaces/ICensus3StrategiesListResponse","docId":"sdk/reference/interfaces/ICensus3StrategiesListResponse"},{"type":"link","label":"ICensus3StrategiesListResponsePaginated","href":"/sdk/reference/interfaces/ICensus3StrategiesListResponsePaginated","docId":"sdk/reference/interfaces/ICensus3StrategiesListResponsePaginated"},{"type":"link","label":"ICensus3StrategiesOperator","href":"/sdk/reference/interfaces/ICensus3StrategiesOperator","docId":"sdk/reference/interfaces/ICensus3StrategiesOperator"},{"type":"link","label":"ICensus3StrategiesOperatorsResponse","href":"/sdk/reference/interfaces/ICensus3StrategiesOperatorsResponse","docId":"sdk/reference/interfaces/ICensus3StrategiesOperatorsResponse"},{"type":"link","label":"ICensus3StrategyCreateResponse","href":"/sdk/reference/interfaces/ICensus3StrategyCreateResponse","docId":"sdk/reference/interfaces/ICensus3StrategyCreateResponse"},{"type":"link","label":"ICensus3StrategyEstimationQueueResponse","href":"/sdk/reference/interfaces/ICensus3StrategyEstimationQueueResponse","docId":"sdk/reference/interfaces/ICensus3StrategyEstimationQueueResponse"},{"type":"link","label":"ICensus3StrategyHoldersResponse","href":"/sdk/reference/interfaces/ICensus3StrategyHoldersResponse","docId":"sdk/reference/interfaces/ICensus3StrategyHoldersResponse"},{"type":"link","label":"ICensus3StrategyHoldersResponsePaginated","href":"/sdk/reference/interfaces/ICensus3StrategyHoldersResponsePaginated","docId":"sdk/reference/interfaces/ICensus3StrategyHoldersResponsePaginated"},{"type":"link","label":"ICensus3StrategyImportQueueResponse","href":"/sdk/reference/interfaces/ICensus3StrategyImportQueueResponse","docId":"sdk/reference/interfaces/ICensus3StrategyImportQueueResponse"},{"type":"link","label":"ICensus3StrategyToken","href":"/sdk/reference/interfaces/ICensus3StrategyToken","docId":"sdk/reference/interfaces/ICensus3StrategyToken"},{"type":"link","label":"ICensus3SupportedChain","href":"/sdk/reference/interfaces/ICensus3SupportedChain","docId":"sdk/reference/interfaces/ICensus3SupportedChain"},{"type":"link","label":"ICensus3TokenHolderResponse","href":"/sdk/reference/interfaces/ICensus3TokenHolderResponse","docId":"sdk/reference/interfaces/ICensus3TokenHolderResponse"},{"type":"link","label":"ICensus3TokenListResponse","href":"/sdk/reference/interfaces/ICensus3TokenListResponse","docId":"sdk/reference/interfaces/ICensus3TokenListResponse"},{"type":"link","label":"ICensus3TokenListResponsePaginated","href":"/sdk/reference/interfaces/ICensus3TokenListResponsePaginated","docId":"sdk/reference/interfaces/ICensus3TokenListResponsePaginated"},{"type":"link","label":"ICensus3TokenTypesResponse","href":"/sdk/reference/interfaces/ICensus3TokenTypesResponse","docId":"sdk/reference/interfaces/ICensus3TokenTypesResponse"},{"type":"link","label":"ICensus3ValidatePredicateChild","href":"/sdk/reference/interfaces/ICensus3ValidatePredicateChild","docId":"sdk/reference/interfaces/ICensus3ValidatePredicateChild"},{"type":"link","label":"ICensus3ValidatePredicateResponse","href":"/sdk/reference/interfaces/ICensus3ValidatePredicateResponse","docId":"sdk/reference/interfaces/ICensus3ValidatePredicateResponse"},{"type":"link","label":"ICensus3ValidatePredicateToken","href":"/sdk/reference/interfaces/ICensus3ValidatePredicateToken","docId":"sdk/reference/interfaces/ICensus3ValidatePredicateToken"},{"type":"link","label":"ICensusExportResponse","href":"/sdk/reference/interfaces/ICensusExportResponse","docId":"sdk/reference/interfaces/ICensusExportResponse"},{"type":"link","label":"ICensusImportResponse","href":"/sdk/reference/interfaces/ICensusImportResponse","docId":"sdk/reference/interfaces/ICensusImportResponse"},{"type":"link","label":"ICensusParticipant","href":"/sdk/reference/interfaces/ICensusParticipant","docId":"sdk/reference/interfaces/ICensusParticipant"},{"type":"link","label":"ICensusProofResponse","href":"/sdk/reference/interfaces/ICensusProofResponse","docId":"sdk/reference/interfaces/ICensusProofResponse"},{"type":"link","label":"ICensusPublishResponse","href":"/sdk/reference/interfaces/ICensusPublishResponse","docId":"sdk/reference/interfaces/ICensusPublishResponse"},{"type":"link","label":"IChainBlockInfoResponse","href":"/sdk/reference/interfaces/IChainBlockInfoResponse","docId":"sdk/reference/interfaces/IChainBlockInfoResponse"},{"type":"link","label":"IChainFeesListResponse","href":"/sdk/reference/interfaces/IChainFeesListResponse","docId":"sdk/reference/interfaces/IChainFeesListResponse"},{"type":"link","label":"IChainGetCircuitResponse","href":"/sdk/reference/interfaces/IChainGetCircuitResponse","docId":"sdk/reference/interfaces/IChainGetCircuitResponse"},{"type":"link","label":"IChainGetCostsResponse","href":"/sdk/reference/interfaces/IChainGetCostsResponse","docId":"sdk/reference/interfaces/IChainGetCostsResponse"},{"type":"link","label":"IChainGetInfoResponse","href":"/sdk/reference/interfaces/IChainGetInfoResponse","docId":"sdk/reference/interfaces/IChainGetInfoResponse"},{"type":"link","label":"IChainOrganizationCountResponse","href":"/sdk/reference/interfaces/IChainOrganizationCountResponse","docId":"sdk/reference/interfaces/IChainOrganizationCountResponse"},{"type":"link","label":"IChainOrganizationListResponse","href":"/sdk/reference/interfaces/IChainOrganizationListResponse","docId":"sdk/reference/interfaces/IChainOrganizationListResponse"},{"type":"link","label":"IChainOrganizationResponse","href":"/sdk/reference/interfaces/IChainOrganizationResponse","docId":"sdk/reference/interfaces/IChainOrganizationResponse"},{"type":"link","label":"IChainSubmitTxResponse","href":"/sdk/reference/interfaces/IChainSubmitTxResponse","docId":"sdk/reference/interfaces/IChainSubmitTxResponse"},{"type":"link","label":"IChainTxCountResponse","href":"/sdk/reference/interfaces/IChainTxCountResponse","docId":"sdk/reference/interfaces/IChainTxCountResponse"},{"type":"link","label":"IChainTxListResponse","href":"/sdk/reference/interfaces/IChainTxListResponse","docId":"sdk/reference/interfaces/IChainTxListResponse"},{"type":"link","label":"IChainTxReference","href":"/sdk/reference/interfaces/IChainTxReference","docId":"sdk/reference/interfaces/IChainTxReference"},{"type":"link","label":"IChainValidator","href":"/sdk/reference/interfaces/IChainValidator","docId":"sdk/reference/interfaces/IChainValidator"},{"type":"link","label":"IChainValidatorsListResponse","href":"/sdk/reference/interfaces/IChainValidatorsListResponse","docId":"sdk/reference/interfaces/IChainValidatorsListResponse"},{"type":"link","label":"IChoice","href":"/sdk/reference/interfaces/IChoice","docId":"sdk/reference/interfaces/IChoice"},{"type":"link","label":"ICspAuthStep","href":"/sdk/reference/interfaces/ICspAuthStep","docId":"sdk/reference/interfaces/ICspAuthStep"},{"type":"link","label":"ICspFinalStepResponse","href":"/sdk/reference/interfaces/ICspFinalStepResponse","docId":"sdk/reference/interfaces/ICspFinalStepResponse"},{"type":"link","label":"ICspInfoResponse","href":"/sdk/reference/interfaces/ICspInfoResponse","docId":"sdk/reference/interfaces/ICspInfoResponse"},{"type":"link","label":"ICspIntermediateStepResponse","href":"/sdk/reference/interfaces/ICspIntermediateStepResponse","docId":"sdk/reference/interfaces/ICspIntermediateStepResponse"},{"type":"link","label":"ICspSignResponse","href":"/sdk/reference/interfaces/ICspSignResponse","docId":"sdk/reference/interfaces/ICspSignResponse"},{"type":"link","label":"IElectionCreateResponse","href":"/sdk/reference/interfaces/IElectionCreateResponse","docId":"sdk/reference/interfaces/IElectionCreateResponse"},{"type":"link","label":"IElectionInfoResponse","href":"/sdk/reference/interfaces/IElectionInfoResponse","docId":"sdk/reference/interfaces/IElectionInfoResponse"},{"type":"link","label":"IElectionKeysResponse","href":"/sdk/reference/interfaces/IElectionKeysResponse","docId":"sdk/reference/interfaces/IElectionKeysResponse"},{"type":"link","label":"IElectionListFilter","href":"/sdk/reference/interfaces/IElectionListFilter","docId":"sdk/reference/interfaces/IElectionListFilter"},{"type":"link","label":"IElectionListResponse","href":"/sdk/reference/interfaces/IElectionListResponse","docId":"sdk/reference/interfaces/IElectionListResponse"},{"type":"link","label":"IElectionMode","href":"/sdk/reference/interfaces/IElectionMode","docId":"sdk/reference/interfaces/IElectionMode"},{"type":"link","label":"IElectionNextIdResponse","href":"/sdk/reference/interfaces/IElectionNextIdResponse","docId":"sdk/reference/interfaces/IElectionNextIdResponse"},{"type":"link","label":"IElectionParameters","href":"/sdk/reference/interfaces/IElectionParameters","docId":"sdk/reference/interfaces/IElectionParameters"},{"type":"link","label":"IElectionSummary","href":"/sdk/reference/interfaces/IElectionSummary","docId":"sdk/reference/interfaces/IElectionSummary"},{"type":"link","label":"IElectionType","href":"/sdk/reference/interfaces/IElectionType","docId":"sdk/reference/interfaces/IElectionType"},{"type":"link","label":"IElectionVote","href":"/sdk/reference/interfaces/IElectionVote","docId":"sdk/reference/interfaces/IElectionVote"},{"type":"link","label":"IElectionVoteListResponse","href":"/sdk/reference/interfaces/IElectionVoteListResponse","docId":"sdk/reference/interfaces/IElectionVoteListResponse"},{"type":"link","label":"IEncryptionKey","href":"/sdk/reference/interfaces/IEncryptionKey","docId":"sdk/reference/interfaces/IEncryptionKey"},{"type":"link","label":"IInvalidElectionParameters","href":"/sdk/reference/interfaces/IInvalidElectionParameters","docId":"sdk/reference/interfaces/IInvalidElectionParameters"},{"type":"link","label":"IMultiChoiceElectionParameters","href":"/sdk/reference/interfaces/IMultiChoiceElectionParameters","docId":"sdk/reference/interfaces/IMultiChoiceElectionParameters"},{"type":"link","label":"IPublishedElectionParameters","href":"/sdk/reference/interfaces/IPublishedElectionParameters","docId":"sdk/reference/interfaces/IPublishedElectionParameters"},{"type":"link","label":"IQuestion","href":"/sdk/reference/interfaces/IQuestion","docId":"sdk/reference/interfaces/IQuestion"},{"type":"link","label":"ITallyMode","href":"/sdk/reference/interfaces/ITallyMode","docId":"sdk/reference/interfaces/ITallyMode"},{"type":"link","label":"IVoteEncryptedPackage","href":"/sdk/reference/interfaces/IVoteEncryptedPackage","docId":"sdk/reference/interfaces/IVoteEncryptedPackage"},{"type":"link","label":"IVoteInfoResponse","href":"/sdk/reference/interfaces/IVoteInfoResponse","docId":"sdk/reference/interfaces/IVoteInfoResponse"},{"type":"link","label":"IVoteMode","href":"/sdk/reference/interfaces/IVoteMode","docId":"sdk/reference/interfaces/IVoteMode"},{"type":"link","label":"IVotePackage","href":"/sdk/reference/interfaces/IVotePackage","docId":"sdk/reference/interfaces/IVotePackage"},{"type":"link","label":"IVoteSubmitResponse","href":"/sdk/reference/interfaces/IVoteSubmitResponse","docId":"sdk/reference/interfaces/IVoteSubmitResponse"},{"type":"link","label":"IVoteType","href":"/sdk/reference/interfaces/IVoteType","docId":"sdk/reference/interfaces/IVoteType"},{"type":"link","label":"IZkProofResponse","href":"/sdk/reference/interfaces/IZkProofResponse","docId":"sdk/reference/interfaces/IZkProofResponse"},{"type":"link","label":"IZkSIKResponse","href":"/sdk/reference/interfaces/IZkSIKResponse","docId":"sdk/reference/interfaces/IZkSIKResponse"},{"type":"link","label":"MintTokensTx","href":"/sdk/reference/interfaces/MintTokensTx","docId":"sdk/reference/interfaces/MintTokensTx"},{"type":"link","label":"NewProcessTx","href":"/sdk/reference/interfaces/NewProcessTx","docId":"sdk/reference/interfaces/NewProcessTx"},{"type":"link","label":"Process","href":"/sdk/reference/interfaces/Process","docId":"sdk/reference/interfaces/Process"},{"type":"link","label":"Proof","href":"/sdk/reference/interfaces/Proof","docId":"sdk/reference/interfaces/Proof"},{"type":"link","label":"RegisterKeyTx","href":"/sdk/reference/interfaces/RegisterKeyTx","docId":"sdk/reference/interfaces/RegisterKeyTx"},{"type":"link","label":"SendTokensTx","href":"/sdk/reference/interfaces/SendTokensTx","docId":"sdk/reference/interfaces/SendTokensTx"},{"type":"link","label":"ServiceProperties","href":"/sdk/reference/interfaces/ServiceProperties","docId":"sdk/reference/interfaces/ServiceProperties"},{"type":"link","label":"SetAccountTx","href":"/sdk/reference/interfaces/SetAccountTx","docId":"sdk/reference/interfaces/SetAccountTx"},{"type":"link","label":"SetProcessTx","href":"/sdk/reference/interfaces/SetProcessTx","docId":"sdk/reference/interfaces/SetProcessTx"},{"type":"link","label":"SetTransactionCostsTx","href":"/sdk/reference/interfaces/SetTransactionCostsTx","docId":"sdk/reference/interfaces/SetTransactionCostsTx"},{"type":"link","label":"Tx","href":"/sdk/reference/interfaces/Tx","docId":"sdk/reference/interfaces/Tx"},{"type":"link","label":"VoteEnvelope","href":"/sdk/reference/interfaces/VoteEnvelope","docId":"sdk/reference/interfaces/VoteEnvelope"}]},{"type":"link","label":"Changelog","href":"/sdk/reference/changelog","docId":"sdk/reference/changelog"}],"href":"/sdk/reference/sdk-reference"}],"href":"/sdk/"},{"type":"category","label":"Vocdoni API","items":[{"type":"category","label":"Chain","items":[{"type":"link","label":"Estimate block to date","href":"/vocdoni-api/estimate-block-to-date","className":"api-method get","docId":"vocdoni-api/estimate-block-to-date"},{"type":"link","label":"List all blocks","href":"/vocdoni-api/list-all-blocks","className":"api-method get","docId":"vocdoni-api/list-all-blocks"},{"type":"link","label":"Get block (by hash)","href":"/vocdoni-api/get-block-by-hash","className":"api-method get","docId":"vocdoni-api/get-block-by-hash"},{"type":"link","label":"Get block (by height)","href":"/vocdoni-api/get-block-by-height","className":"api-method get","docId":"vocdoni-api/get-block-by-height"},{"type":"link","label":"Transactions in a block","href":"/vocdoni-api/transactions-in-a-block","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/transactions-in-a-block"},{"type":"link","label":"Estimate date to block","href":"/vocdoni-api/estimate-date-to-block","className":"api-method get","docId":"vocdoni-api/estimate-date-to-block"},{"type":"link","label":"List all token fees","href":"/vocdoni-api/list-all-token-fees","className":"api-method get","docId":"vocdoni-api/list-all-token-fees"},{"type":"link","label":"List all token fees","href":"/vocdoni-api/list-all-token-fees","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-all-token-fees"},{"type":"link","label":"List all token fees by reference","href":"/vocdoni-api/list-all-token-fees-by-reference","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-all-token-fees-by-reference"},{"type":"link","label":"List all token fees by type","href":"/vocdoni-api/list-all-token-fees-by-type","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-all-token-fees-by-type"},{"type":"link","label":"Vochain information","href":"/vocdoni-api/vochain-information","className":"api-method get","docId":"vocdoni-api/vochain-information"},{"type":"link","label":"Circuit info","href":"/vocdoni-api/circuit-info","className":"api-method get","docId":"vocdoni-api/circuit-info"},{"type":"link","label":"Price factors information","href":"/vocdoni-api/price-factors-information","className":"api-method get","docId":"vocdoni-api/price-factors-information"},{"type":"link","label":"List organizations","href":"/vocdoni-api/list-organizations","className":"api-method get","docId":"vocdoni-api/list-organizations"},{"type":"link","label":"Count organizations","href":"/vocdoni-api/count-organizations","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/count-organizations"},{"type":"link","label":"List organizations (filtered)","href":"/vocdoni-api/list-organizations-filtered","className":"menu__list-item--deprecated api-method post","docId":"vocdoni-api/list-organizations-filtered"},{"type":"link","label":"List organizations","href":"/vocdoni-api/list-organizations","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-organizations"},{"type":"link","label":"List transactions","href":"/vocdoni-api/list-transactions","className":"api-method get","docId":"vocdoni-api/list-transactions"},{"type":"link","label":"Submit transaction","href":"/vocdoni-api/submit-transaction","className":"api-method post","docId":"vocdoni-api/submit-transaction"},{"type":"link","label":"Transaction costs","href":"/vocdoni-api/transaction-costs","className":"api-method get","docId":"vocdoni-api/transaction-costs"},{"type":"link","label":"Transactions count","href":"/vocdoni-api/transactions-count","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/transactions-count"},{"type":"link","label":"List transactions","href":"/vocdoni-api/list-transactions","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-transactions"},{"type":"link","label":"Transaction by index","href":"/vocdoni-api/transaction-by-index","className":"api-method get","docId":"vocdoni-api/transaction-by-index"},{"type":"link","label":"Transaction by hash","href":"/vocdoni-api/transaction-by-hash","className":"api-method get","docId":"vocdoni-api/transaction-by-hash"},{"type":"link","label":"Transaction by block height and index","href":"/vocdoni-api/transaction-by-block-height-and-index","className":"api-method get","docId":"vocdoni-api/transaction-by-block-height-and-index"},{"type":"link","label":"List all token transfers","href":"/vocdoni-api/list-all-token-transfers","className":"api-method get","docId":"vocdoni-api/list-all-token-transfers"},{"type":"link","label":"List validators","href":"/vocdoni-api/list-validators","className":"api-method get","docId":"vocdoni-api/list-validators"}],"collapsed":true,"collapsible":true,"href":"/vocdoni-api/chain"},{"type":"category","label":"Accounts","items":[{"type":"link","label":"List of the existing accounts","href":"/vocdoni-api/list-of-the-existing-accounts","className":"api-method get","docId":"vocdoni-api/list-of-the-existing-accounts"},{"type":"link","label":"Set account","href":"/vocdoni-api/set-account","className":"api-method post","docId":"vocdoni-api/set-account"},{"type":"link","label":"Total number of accounts","href":"/vocdoni-api/total-number-of-accounts","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/total-number-of-accounts"},{"type":"link","label":"List of the existing accounts","href":"/vocdoni-api/list-of-the-existing-accounts","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-of-the-existing-accounts"},{"type":"link","label":"List account token fees","href":"/vocdoni-api/list-account-token-fees","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-account-token-fees"},{"type":"link","label":"Total number of sent and received transactions","href":"/vocdoni-api/total-number-of-sent-and-received-transactions","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/total-number-of-sent-and-received-transactions"},{"type":"link","label":"List account received and sent token transfers","href":"/vocdoni-api/list-account-received-and-sent-token-transfers","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-account-received-and-sent-token-transfers"},{"type":"link","label":"Get account","href":"/vocdoni-api/get-account","className":"api-method get","docId":"vocdoni-api/get-account"},{"type":"link","label":"Get account","href":"/vocdoni-api/get-account","className":"api-method get","docId":"vocdoni-api/get-account"},{"type":"link","label":"Count organization elections","href":"/vocdoni-api/count-organization-elections","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/count-organization-elections"},{"type":"link","label":"List organization elections","href":"/vocdoni-api/list-organization-elections","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-organization-elections"},{"type":"link","label":"List organization elections by status","href":"/vocdoni-api/list-organization-elections-by-status","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-organization-elections-by-status"}],"collapsed":true,"collapsible":true,"href":"/vocdoni-api/accounts"},{"type":"category","label":"Elections","items":[{"type":"link","label":"List elections","href":"/vocdoni-api/list-elections","className":"api-method get","docId":"vocdoni-api/list-elections"},{"type":"link","label":"Create election","href":"/vocdoni-api/create-election","className":"api-method post","docId":"vocdoni-api/create-election"},{"type":"link","label":"List elections (filtered)","href":"/vocdoni-api/list-elections-filtered","className":"menu__list-item--deprecated api-method post","docId":"vocdoni-api/list-elections-filtered"},{"type":"link","label":"List elections (filtered)","href":"/vocdoni-api/list-elections-filtered","className":"menu__list-item--deprecated api-method post","docId":"vocdoni-api/list-elections-filtered"},{"type":"link","label":"Build an election ID","href":"/vocdoni-api/build-an-election-id","className":"api-method post","docId":"vocdoni-api/build-an-election-id"},{"type":"link","label":"List elections","href":"/vocdoni-api/list-elections","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-elections"},{"type":"link","label":"Compute election price","href":"/vocdoni-api/compute-election-price","className":"api-method post","docId":"vocdoni-api/compute-election-price"},{"type":"link","label":"Election information","href":"/vocdoni-api/election-information","className":"api-method get","docId":"vocdoni-api/election-information"},{"type":"link","label":"List encryption keys","href":"/vocdoni-api/list-encryption-keys","className":"api-method get","docId":"vocdoni-api/list-encryption-keys"},{"type":"link","label":"Election results","href":"/vocdoni-api/election-results","className":"api-method get","docId":"vocdoni-api/election-results"},{"type":"link","label":"Count election votes","href":"/vocdoni-api/count-election-votes","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/count-election-votes"},{"type":"link","label":"List election votes","href":"/vocdoni-api/list-election-votes","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-election-votes"},{"type":"link","label":"Compute IPFS CIDv1 of file","href":"/vocdoni-api/compute-ipfs-ci-dv-1-of-file","className":"api-method post","docId":"vocdoni-api/compute-ipfs-ci-dv-1-of-file"}],"collapsed":true,"collapsible":true,"href":"/vocdoni-api/elections"},{"type":"category","label":"Censuses","items":[{"type":"link","label":"Export census database","href":"/vocdoni-api/export-census-database","className":"api-method get","docId":"vocdoni-api/export-census-database"},{"type":"link","label":"Export census database","href":"/vocdoni-api/export-census-database","className":"api-method get","docId":"vocdoni-api/export-census-database"},{"type":"link","label":"Import census database","href":"/vocdoni-api/import-census-database","className":"api-method post","docId":"vocdoni-api/import-census-database"},{"type":"link","label":"Import census database","href":"/vocdoni-api/import-census-database","className":"api-method get","docId":"vocdoni-api/import-census-database"},{"type":"link","label":"List all census references","href":"/vocdoni-api/list-all-census-references","className":"api-method get","docId":"vocdoni-api/list-all-census-references"},{"type":"link","label":"Delete census","href":"/vocdoni-api/delete-census","className":"api-method delete","docId":"vocdoni-api/delete-census"},{"type":"link","label":"Check census publish status","href":"/vocdoni-api/check-census-publish-status","className":"api-method get","docId":"vocdoni-api/check-census-publish-status"},{"type":"link","label":"Export census","href":"/vocdoni-api/export-census","className":"api-method get","docId":"vocdoni-api/export-census"},{"type":"link","label":"Import census","href":"/vocdoni-api/import-census","className":"api-method post","docId":"vocdoni-api/import-census"},{"type":"link","label":"Add participants to census","href":"/vocdoni-api/add-participants-to-census","className":"api-method post","docId":"vocdoni-api/add-participants-to-census"},{"type":"link","label":"Prove key to census","href":"/vocdoni-api/prove-key-to-census","className":"api-method get","docId":"vocdoni-api/prove-key-to-census"},{"type":"link","label":"Publish census","href":"/vocdoni-api/publish-census","className":"api-method post","docId":"vocdoni-api/publish-census"},{"type":"link","label":"Publish census","href":"/vocdoni-api/publish-census","className":"api-method post","docId":"vocdoni-api/publish-census"},{"type":"link","label":"Publish census","href":"/vocdoni-api/publish-census","className":"api-method post","docId":"vocdoni-api/publish-census"},{"type":"link","label":"Census Merkle Root","href":"/vocdoni-api/census-merkle-root","className":"api-method get","docId":"vocdoni-api/census-merkle-root"},{"type":"link","label":"Census size","href":"/vocdoni-api/census-size","className":"api-method get","docId":"vocdoni-api/census-size"},{"type":"link","label":"Get type of census","href":"/vocdoni-api/get-type-of-census","className":"api-method get","docId":"vocdoni-api/get-type-of-census"},{"type":"link","label":"Verify merkle proof","href":"/vocdoni-api/verify-merkle-proof","className":"api-method post","docId":"vocdoni-api/verify-merkle-proof"},{"type":"link","label":"Census total weight","href":"/vocdoni-api/census-total-weight","className":"api-method get","docId":"vocdoni-api/census-total-weight"},{"type":"link","label":"Create a new census","href":"/vocdoni-api/create-a-new-census","className":"api-method post","docId":"vocdoni-api/create-a-new-census"}],"collapsed":true,"collapsible":true,"href":"/vocdoni-api/censuses"},{"type":"category","label":"Votes","items":[{"type":"link","label":"List votes","href":"/vocdoni-api/list-votes","className":"api-method get","docId":"vocdoni-api/list-votes"},{"type":"link","label":"Submit a vote","href":"/vocdoni-api/submit-a-vote","className":"api-method post","docId":"vocdoni-api/submit-a-vote"},{"type":"link","label":"Verify vote","href":"/vocdoni-api/verify-vote","className":"api-method get","docId":"vocdoni-api/verify-vote"},{"type":"link","label":"Get vote","href":"/vocdoni-api/get-vote","className":"api-method get","docId":"vocdoni-api/get-vote"}],"collapsed":true,"collapsible":true,"href":"/vocdoni-api/votes"},{"type":"category","label":"Wallet","items":[{"type":"link","label":"Add account","href":"/vocdoni-api/add-account","className":"api-method post","docId":"vocdoni-api/add-account"},{"type":"link","label":"Set wallet account","href":"/vocdoni-api/set-wallet-account","className":"api-method get","docId":"vocdoni-api/set-wallet-account"},{"type":"link","label":"Create election for wallet","href":"/vocdoni-api/create-election-for-wallet","className":"api-method post","docId":"vocdoni-api/create-election-for-wallet"},{"type":"link","label":"Transfer tokens","href":"/vocdoni-api/transfer-tokens","className":"api-method get","docId":"vocdoni-api/transfer-tokens"}],"collapsed":true,"collapsible":true,"href":"/vocdoni-api/wallet"},{"type":"category","label":"SIK","items":[{"type":"link","label":"List of valid SIK roots","href":"/vocdoni-api/list-of-valid-sik-roots","className":"api-method get","docId":"vocdoni-api/list-of-valid-sik-roots"},{"type":"link","label":"List of valid SIK roots","href":"/vocdoni-api/list-of-valid-sik-roots","className":"api-method get","docId":"vocdoni-api/list-of-valid-sik-roots"},{"type":"link","label":"Returns if the address provided has a valid SIK","href":"/vocdoni-api/returns-if-the-address-provided-has-a-valid-sik","className":"api-method get","docId":"vocdoni-api/returns-if-the-address-provided-has-a-valid-sik"}],"collapsed":true,"collapsible":true,"href":"/vocdoni-api/sik"},{"type":"category","label":"Indexer","items":[{"type":"link","label":"Exports the indexer database","href":"/vocdoni-api/exports-the-indexer-database","className":"api-method get","docId":"vocdoni-api/exports-the-indexer-database"}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true,"href":"/vocdoni-api/vocdoni-api"},{"type":"category","label":"UI Components","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Account Components","href":"/ui-components/account","docId":"ui-components/account"},{"type":"link","label":"Election Components","href":"/ui-components/election","docId":"ui-components/election"},{"type":"link","label":"Layout Components","href":"/ui-components/layout","docId":"ui-components/layout"},{"type":"link","label":"Organization Components","href":"/ui-components/organization","docId":"ui-components/organization"},{"type":"link","label":"React Providers","href":"/ui-components/react-providers","docId":"ui-components/react-providers"}],"href":"/ui-components/"},{"type":"category","label":"Vocdoni Protocol","collapsible":true,"collapsed":true,"items":[{"type":"category","label":"Anonymous Voting","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"CSP Blind Signatures","href":"/protocol/anonymity/blind-signatures","docId":"protocol/anonymity/blind-signatures"},{"type":"link","label":"On-Chain Census Anonymity","href":"/protocol/anonymity/on-chain","docId":"protocol/anonymity/on-chain"},{"type":"link","label":"Off-Chain Tree ZK Census Proof","href":"/protocol/anonymity/zk-census-proof","docId":"protocol/anonymity/zk-census-proof"}],"href":"/protocol/anonymity/"},{"type":"link","label":"Ballot Protocol","href":"/protocol/ballot-protocol","docId":"protocol/ballot-protocol"},{"type":"category","label":"The Census","collapsible":true,"collapsed":true,"items":[{"type":"category","label":"Off-Chain CSP Census","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Blind-CSP API","href":"/protocol/census/off-chain-csp/api","docId":"protocol/census/off-chain-csp/api"}],"href":"/protocol/census/off-chain-csp/"},{"type":"link","label":"Off-Chain Tree Census","href":"/protocol/census/off-chain-tree","docId":"protocol/census/off-chain-tree"},{"type":"category","label":"On-Chain Census","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Census3 Service","href":"/protocol/census/on-chain/census3","docId":"protocol/census/on-chain/census3"},{"type":"link","label":"ERC-20 Token Storage Proofs","href":"/protocol/census/on-chain/eth-storage-proofs","docId":"protocol/census/on-chain/eth-storage-proofs"}],"href":"/protocol/census/on-chain/"}],"href":"/protocol/census/"},{"type":"category","label":"Data Schemes","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Election Metadata","href":"/protocol/data-schemes/election","docId":"protocol/data-schemes/election"},{"type":"link","label":"Organization Metadata","href":"/protocol/data-schemes/organization","docId":"protocol/data-schemes/organization"},{"type":"link","label":"Vote Data","href":"/protocol/data-schemes/vote","docId":"protocol/data-schemes/vote"}],"href":"/protocol/data-schemes/"}],"href":"/protocol/"},{"type":"category","label":"Development Guidelines","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"How We Work","href":"/development-guidelines/how-we-work","docId":"development-guidelines/how-we-work"},{"type":"link","label":"Readme Template","href":"/development-guidelines/readme-template","docId":"development-guidelines/readme-template"}],"href":"/development-guidelines/"}]},"docs":{"development-guidelines/how-we-work":{"id":"development-guidelines/how-we-work","title":"How We Work","description":"Ideals","sidebar":"defaultSidebar"},"development-guidelines/index":{"id":"development-guidelines/index","title":"Development Guidelines","description":"These guidelines serve both as an internal guide for our team and an overview for contributors. While we welcome contributions from the community, we do not track all of our issues on Github and we may not have the resources to onboard developers and review complex pull requests. That being said, there are multiple ways you can get involved with the project.","sidebar":"defaultSidebar"},"development-guidelines/readme-template":{"id":"development-guidelines/readme-template","title":"Readme Template","description":"Please use this template when creating readme files for new Vocdoni repositories. This is meant to serve as a guide, rather than a rigid rule; adapt it as necessary. Replace all the instances of REPO_NAME with the name of your repository, and fill-in the contents of every `\\\\[bracketed\\\\] item. If you add new sections, make sure to update the table of contents.","sidebar":"defaultSidebar"},"intro":{"id":"intro","title":"Getting Started","description":"Vocdoni is the most open, secure, and universally verifiable voting protocol available, used by hundreds of organizations worldwide.","sidebar":"defaultSidebar"},"protocol/anonymity/anonymity":{"id":"protocol/anonymity/anonymity","title":"Anonymous Voting","description":"- Anonymous voting is a type of voting process where the users can vote without revealing their identity, by proving that they are accepted as valid voters. Currently we have 2 types of anonymous voting schemes:","sidebar":"defaultSidebar"},"protocol/anonymity/blind-signatures":{"id":"protocol/anonymity/blind-signatures","title":"CSP Blind Signatures","description":"In contrast to the standard off-chain-tree census in which an anonymous proof can be generated in one step based off of a Merkle tree of voters, Credential service provider censuses require more interaction between voters and the CSP. With CSP voting, each voter needs to request a proof from the election CSP, providing personal information to generate this proof, and recieving a CSP signature that represents their eligibility.","sidebar":"defaultSidebar"},"protocol/anonymity/on-chain":{"id":"protocol/anonymity/on-chain","title":"On-Chain Census Anonymity","description":"On-chain cenuses created with the Census3 Service derive their contents from a public set of holders of a given token (or set of tokens) on the Ethereum blockchain. This information is turned into a census by generating a Merkle Proof on that set of data. This Merkle Proof is similar to that used for a typical off-chain tree census, and the same sort of ZK Census Proof can be used to compute voter validation anonymously.","sidebar":"defaultSidebar"},"protocol/anonymity/zk-census-proof":{"id":"protocol/anonymity/zk-census-proof","title":"Off-Chain Tree ZK Census Proof","description":"This document is divided in two sections:","sidebar":"defaultSidebar"},"protocol/ballot-protocol":{"id":"protocol/ballot-protocol","title":"Ballot Protocol","description":"Ballot protocol","sidebar":"defaultSidebar"},"protocol/census/census":{"id":"protocol/census/census","title":"The Census","description":"In Vocdoni, a census of identities can be represented in one of three ways. For Ethereum-based processes, in which eligible voters are represented by Ethereum addresses holding a specific token, an on-chain] (ERC-20) census is used. In cases where a central authority wants to manually validate each voter at the time of voting, [off-chain credential service provider is used. For all other voting processes (organizations that are not represented as DAOs), an off-chain tree census is used.","sidebar":"defaultSidebar"},"protocol/census/off-chain-csp/api":{"id":"protocol/census/off-chain-csp/api","title":"Blind-CSP API","description":"The Blind CSP API is a minimalistic HTTP(s) API that implements methods for authenticating users with the CSP.","sidebar":"defaultSidebar"},"protocol/census/off-chain-csp/off-chain-csp":{"id":"protocol/census/off-chain-csp/off-chain-csp","title":"Off-Chain CSP Census","description":"A census approach based on Credential Service Providers (CSPs) allows organizations to validate users manually and based off of any arbitrary criteria. Rather than a static census published before-hand, CSP census allows each user to be evaluated for voting eligibility individually, throughout the duration of the voting process.","sidebar":"defaultSidebar"},"protocol/census/off-chain-tree":{"id":"protocol/census/off-chain-tree","title":"Off-Chain Tree Census","description":"The census itself is represented as a binary Merkle Tree, where the leaves of the tree contain the public keys of all eligible voters, hashed.","sidebar":"defaultSidebar"},"protocol/census/on-chain/census3":{"id":"protocol/census/on-chain/census3","title":"Census3 Service","description":"The Census3 Service is an API service which provides an easy way to create censuses for elections with holders of a single token or a combination of them. This is a wrapper of the on-chain census design and enables integrators to use on-chain censuses without manually registering tokens or generating storage proofs.","sidebar":"defaultSidebar"},"protocol/census/on-chain/eth-storage-proofs":{"id":"protocol/census/on-chain/eth-storage-proofs","title":"ERC-20 Token Storage Proofs","description":"The solution for on-chain censuses used to be based on the use of ERC-20 Token Storage Proofs. We have since created the Census3 Service, which is the preferred method for creating token-based censuses, but the use of Token Storage Proofs is still possible.","sidebar":"defaultSidebar"},"protocol/census/on-chain/on-chain":{"id":"protocol/census/on-chain/on-chain","title":"On-Chain Census","description":"An on-chain census is one which is dependent on the status of the Ethereum blockchain at a given point in time. This census type enables the set of eligible voters to be derived from the token holder balances for some ERC-20 Ethereum token, weighted according to token balances. The ideal use-case for such a census is an organization whose members are represented as holders of some token, such as a DAO.","sidebar":"defaultSidebar"},"protocol/data-schemes/data-schemes":{"id":"protocol/data-schemes/data-schemes","title":"Data Schemes","description":"When it comes to voting processes, there are two main types of data storage at the protocol-level: protocol-level data stored on the Vochain and readable metadata like election descriptions stored on IPFS.","sidebar":"defaultSidebar"},"protocol/data-schemes/election":{"id":"protocol/data-schemes/election","title":"Election Metadata","description":"Election metadata provides the human-readable data associated with an election.","sidebar":"defaultSidebar"},"protocol/data-schemes/organization":{"id":"protocol/data-schemes/organization","title":"Organization Metadata","description":"The metadata of an organization provides human readable content, featuring names, descriptions, images, the list of available processes and more.","sidebar":"defaultSidebar"},"protocol/data-schemes/vote":{"id":"protocol/data-schemes/vote","title":"Vote Data","description":"Vote Envelope","sidebar":"defaultSidebar"},"protocol/index":{"id":"protocol/index","title":"Vocdoni Protocol","description":"Introduction","sidebar":"defaultSidebar"},"sdk/index":{"id":"sdk/index","title":"Vocdoni SDK","description":"The Vocdoni SDK is a convenient way to interact with the Vocdoni Protocol through the API, allowing anyone to create, manage and participate in voting processes and collective decision-making. The SDK is the primary mode by which developers should interface with Vocdoni - if you think the SDK is missing functionality you need, please get in touch.","sidebar":"defaultSidebar"},"sdk/integration-details/census-types/census-types":{"id":"sdk/integration-details/census-types/census-types","title":"Census Types","description":"A census is a list of voters who are eligible to vote in a given election. There are multiple ways to define a census with Vocdoni, each with different privacy and verifiability considerations. The census types are defined and documented at a protocol level and include on-chain, off-chain Merkle tree, and off-chain Credential Service Provider.","sidebar":"defaultSidebar"},"sdk/integration-details/census-types/off-chain-csp":{"id":"sdk/integration-details/census-types/off-chain-csp","title":"Off-chain Credential Service Provider","description":"A Credential Service Provider is an external component that serves as a validator for the identities of voters. An example of this could be a service set up by a municipal government that validates if a given voter is registered, or a forum that validates if a given voter has an active account. With this type of census, voters show proof of registry and receive a cryptographic package from the CSP allowing them to cast a vote.","sidebar":"defaultSidebar"},"sdk/integration-details/census-types/off-chain-tree":{"id":"sdk/integration-details/census-types/off-chain-tree","title":"Off-chain Merkle Tree","description":"This is the most basic census type, is the default when creating an election, and is the one used in the SDK tutorial. In this scheme, the census is essentially a basic list of voter, with some behind-the-scenes cryptography. With an off-train tree census, voters are added as wallet addresses using census.add().","sidebar":"defaultSidebar"},"sdk/integration-details/census-types/on-chain/complex-census":{"id":"sdk/integration-details/census-types/on-chain/complex-census","title":"Complex Census","description":"The census3 service makes it easy to create a census based off of the balance holders of a token taken to represent an organization. It is possible, however, to create a token-based census with more complex logic, incorporating balance information from multiple tokens at once.","sidebar":"defaultSidebar"},"sdk/integration-details/census-types/on-chain/on-chain":{"id":"sdk/integration-details/census-types/on-chain/on-chain","title":"On-chain Token-Based Census","description":"An on-chain census is one whose voters are defined by holding tokens on the Ethereum blockchain. Currently the following token types are supported:","sidebar":"defaultSidebar"},"sdk/integration-details/integration-details":{"id":"sdk/integration-details/integration-details","title":"Integration Details","description":"The tutorial covers the basics, but here are some details you\'ll need to consider when integrating the Vocdoni SDK into your application.","sidebar":"defaultSidebar"},"sdk/integration-details/vocdoni-tokens":{"id":"sdk/integration-details/vocdoni-tokens","title":"Vocdoni Tokens","description":"Behind-the-scenes, Vocdoni is powered by a custom blockchain. This component provides universal verifiability, but it also introduces some complexity. In order to distribute workload and verify transactions, our blockchain uses a digital \\"currency\\" of Vocdoni tokens that have no real-world value but help with spam reduction and self-sustainability. Actions that update data on the blockchain, such as creating an election, incur a \\"cost.\\" Integrators are responsible for ensuring that accounts creating elections have a sufficient balance of tokens.","sidebar":"defaultSidebar"},"sdk/integration-details/voting-types/approval":{"id":"sdk/integration-details/voting-types/approval","title":"Approval Voting","description":"Approval voting is a voting system where voters indicate their support for multiple candidates or options on the ballot in the form of a binary (yes/no) decision. Instead of selecting just one preferred choice, voters can approve or disapprove of each candidate.","sidebar":"defaultSidebar"},"sdk/integration-details/voting-types/quadratic":{"id":"sdk/integration-details/voting-types/quadratic","title":"Quadratic voting","description":"Quadratic voting is a voting mechanism that allows individuals to express their preferences on different issues with","sidebar":"defaultSidebar"},"sdk/integration-details/voting-types/ranked":{"id":"sdk/integration-details/voting-types/ranked","title":"Ranked Voting","description":"Ranked voting, also known as preferential voting or ranked-choice voting (RCV), is an electoral system where voters rank","sidebar":"defaultSidebar"},"sdk/integration-details/voting-types/single-choice":{"id":"sdk/integration-details/voting-types/single-choice","title":"Single Choice Voting","description":"An election with a single-choice result, also known as First-past-the-post voting (FPTP or FPP) or informally called","sidebar":"defaultSidebar"},"sdk/integration-details/voting-types/voting-types":{"id":"sdk/integration-details/voting-types/voting-types","title":"Voting Types","description":"In this section, we will provide a brief overview of the different types of voting supported by the Vocdoni protocol and","sidebar":"defaultSidebar"},"sdk/integration-details/voting-types/weighted":{"id":"sdk/integration-details/voting-types/weighted","title":"Weighted voting","description":"Weighted voting is a voting system where each voter is assigned a specific weight or value that reflects their relative influence or importance in the decision-making process.","sidebar":"defaultSidebar"},"sdk/reference/changelog":{"id":"sdk/reference/changelog","title":"Changelog","description":"All notable changes to this project will be documented in this file.","sidebar":"defaultSidebar"},"sdk/reference/classes/Account":{"id":"sdk/reference/classes/Account","title":"Account","description":"@vocdoni/sdk / Account","sidebar":"defaultSidebar"},"sdk/reference/classes/AccountAPI":{"id":"sdk/reference/classes/AccountAPI","title":"AccountAPI","description":"@vocdoni/sdk / AccountAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/AccountService":{"id":"sdk/reference/classes/AccountService","title":"AccountService","description":"@vocdoni/sdk / AccountService","sidebar":"defaultSidebar"},"sdk/reference/classes/AnonymousService":{"id":"sdk/reference/classes/AnonymousService","title":"AnonymousService","description":"@vocdoni/sdk / AnonymousService","sidebar":"defaultSidebar"},"sdk/reference/classes/AnonymousVote":{"id":"sdk/reference/classes/AnonymousVote","title":"AnonymousVote","description":"@vocdoni/sdk / AnonymousVote","sidebar":"defaultSidebar"},"sdk/reference/classes/ApprovalElection":{"id":"sdk/reference/classes/ApprovalElection","title":"ApprovalElection","description":"@vocdoni/sdk / ApprovalElection","sidebar":"defaultSidebar"},"sdk/reference/classes/ArchivedElection":{"id":"sdk/reference/classes/ArchivedElection","title":"ArchivedElection","description":"@vocdoni/sdk / ArchivedElection","sidebar":"defaultSidebar"},"sdk/reference/classes/BudgetElection":{"id":"sdk/reference/classes/BudgetElection","title":"BudgetElection","description":"@vocdoni/sdk / BudgetElection","sidebar":"defaultSidebar"},"sdk/reference/classes/Census":{"id":"sdk/reference/classes/Census","title":"Census","description":"@vocdoni/sdk / Census","sidebar":"defaultSidebar"},"sdk/reference/classes/Census3CensusAPI":{"id":"sdk/reference/classes/Census3CensusAPI","title":"Census3CensusAPI","description":"@vocdoni/sdk / Census3CensusAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/Census3ServiceAPI":{"id":"sdk/reference/classes/Census3ServiceAPI","title":"Census3ServiceAPI","description":"@vocdoni/sdk / Census3ServiceAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/Census3StrategyAPI":{"id":"sdk/reference/classes/Census3StrategyAPI","title":"Census3StrategyAPI","description":"@vocdoni/sdk / Census3StrategyAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/Census3TokenAPI":{"id":"sdk/reference/classes/Census3TokenAPI","title":"Census3TokenAPI","description":"@vocdoni/sdk / Census3TokenAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/CensusAPI":{"id":"sdk/reference/classes/CensusAPI","title":"CensusAPI","description":"@vocdoni/sdk / CensusAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/CensusService":{"id":"sdk/reference/classes/CensusService","title":"CensusService","description":"@vocdoni/sdk / CensusService","sidebar":"defaultSidebar"},"sdk/reference/classes/ChainAPI":{"id":"sdk/reference/classes/ChainAPI","title":"ChainAPI","description":"@vocdoni/sdk / ChainAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/ChainService":{"id":"sdk/reference/classes/ChainService","title":"ChainService","description":"@vocdoni/sdk / ChainService","sidebar":"defaultSidebar"},"sdk/reference/classes/CspAPI":{"id":"sdk/reference/classes/CspAPI","title":"CspAPI","description":"@vocdoni/sdk / CspAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/CspCensus":{"id":"sdk/reference/classes/CspCensus","title":"CspCensus","description":"@vocdoni/sdk / CspCensus","sidebar":"defaultSidebar"},"sdk/reference/classes/CspService":{"id":"sdk/reference/classes/CspService","title":"CspService","description":"@vocdoni/sdk / CspService","sidebar":"defaultSidebar"},"sdk/reference/classes/CspVote":{"id":"sdk/reference/classes/CspVote","title":"CspVote","description":"@vocdoni/sdk / CspVote","sidebar":"defaultSidebar"},"sdk/reference/classes/Election":{"id":"sdk/reference/classes/Election","title":"Election","description":"@vocdoni/sdk / Election","sidebar":"defaultSidebar"},"sdk/reference/classes/ElectionAPI":{"id":"sdk/reference/classes/ElectionAPI","title":"ElectionAPI","description":"@vocdoni/sdk / ElectionAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/ElectionService":{"id":"sdk/reference/classes/ElectionService","title":"ElectionService","description":"@vocdoni/sdk / ElectionService","sidebar":"defaultSidebar"},"sdk/reference/classes/FaucetAPI":{"id":"sdk/reference/classes/FaucetAPI","title":"FaucetAPI","description":"@vocdoni/sdk / FaucetAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/FaucetService":{"id":"sdk/reference/classes/FaucetService","title":"FaucetService","description":"@vocdoni/sdk / FaucetService","sidebar":"defaultSidebar"},"sdk/reference/classes/FileAPI":{"id":"sdk/reference/classes/FileAPI","title":"FileAPI","description":"@vocdoni/sdk / FileAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/FileService":{"id":"sdk/reference/classes/FileService","title":"FileService","description":"@vocdoni/sdk / FileService","sidebar":"defaultSidebar"},"sdk/reference/classes/InvalidElection":{"id":"sdk/reference/classes/InvalidElection","title":"InvalidElection","description":"@vocdoni/sdk / InvalidElection","sidebar":"defaultSidebar"},"sdk/reference/classes/MultiChoiceElection":{"id":"sdk/reference/classes/MultiChoiceElection","title":"MultiChoiceElection","description":"@vocdoni/sdk / MultiChoiceElection","sidebar":"defaultSidebar"},"sdk/reference/classes/OffchainCensus":{"id":"sdk/reference/classes/OffchainCensus","title":"OffchainCensus","description":"@vocdoni/sdk / OffchainCensus","sidebar":"defaultSidebar"},"sdk/reference/classes/PlainCensus":{"id":"sdk/reference/classes/PlainCensus","title":"PlainCensus","description":"@vocdoni/sdk / PlainCensus","sidebar":"defaultSidebar"},"sdk/reference/classes/PublishedCensus":{"id":"sdk/reference/classes/PublishedCensus","title":"PublishedCensus","description":"@vocdoni/sdk / PublishedCensus","sidebar":"defaultSidebar"},"sdk/reference/classes/PublishedElection":{"id":"sdk/reference/classes/PublishedElection","title":"PublishedElection","description":"@vocdoni/sdk / PublishedElection","sidebar":"defaultSidebar"},"sdk/reference/classes/Service":{"id":"sdk/reference/classes/Service","title":"Service","description":"@vocdoni/sdk / Service","sidebar":"defaultSidebar"},"sdk/reference/classes/StrategyCensus":{"id":"sdk/reference/classes/StrategyCensus","title":"StrategyCensus","description":"@vocdoni/sdk / StrategyCensus","sidebar":"defaultSidebar"},"sdk/reference/classes/TokenCensus":{"id":"sdk/reference/classes/TokenCensus","title":"TokenCensus","description":"@vocdoni/sdk / TokenCensus","sidebar":"defaultSidebar"},"sdk/reference/classes/UnpublishedElection":{"id":"sdk/reference/classes/UnpublishedElection","title":"UnpublishedElection","description":"@vocdoni/sdk / UnpublishedElection","sidebar":"defaultSidebar"},"sdk/reference/classes/VocdoniCensus3Client":{"id":"sdk/reference/classes/VocdoniCensus3Client","title":"VocdoniCensus3Client","description":"@vocdoni/sdk / VocdoniCensus3Client","sidebar":"defaultSidebar"},"sdk/reference/classes/VocdoniSDKClient":{"id":"sdk/reference/classes/VocdoniSDKClient","title":"VocdoniSDKClient","description":"@vocdoni/sdk / VocdoniSDKClient","sidebar":"defaultSidebar"},"sdk/reference/classes/Vote":{"id":"sdk/reference/classes/Vote","title":"Vote","description":"@vocdoni/sdk / Vote","sidebar":"defaultSidebar"},"sdk/reference/classes/VoteAPI":{"id":"sdk/reference/classes/VoteAPI","title":"VoteAPI","description":"@vocdoni/sdk / VoteAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/VoteService":{"id":"sdk/reference/classes/VoteService","title":"VoteService","description":"@vocdoni/sdk / VoteService","sidebar":"defaultSidebar"},"sdk/reference/classes/WalletAPI":{"id":"sdk/reference/classes/WalletAPI","title":"WalletAPI","description":"@vocdoni/sdk / WalletAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/WeightedCensus":{"id":"sdk/reference/classes/WeightedCensus","title":"WeightedCensus","description":"@vocdoni/sdk / WeightedCensus","sidebar":"defaultSidebar"},"sdk/reference/classes/ZkAPI":{"id":"sdk/reference/classes/ZkAPI","title":"ZkAPI","description":"@vocdoni/sdk / ZkAPI","sidebar":"defaultSidebar"},"sdk/reference/enums/CensusOrigin":{"id":"sdk/reference/enums/CensusOrigin","title":"CensusOrigin","description":"@vocdoni/sdk / CensusOrigin","sidebar":"defaultSidebar"},"sdk/reference/enums/CensusType":{"id":"sdk/reference/enums/CensusType","title":"CensusType","description":"@vocdoni/sdk / CensusType","sidebar":"defaultSidebar"},"sdk/reference/enums/CensusTypeEnum":{"id":"sdk/reference/enums/CensusTypeEnum","title":"CensusTypeEnum","description":"@vocdoni/sdk / CensusTypeEnum","sidebar":"defaultSidebar"},"sdk/reference/enums/CspProofType":{"id":"sdk/reference/enums/CspProofType","title":"CspProofType","description":"@vocdoni/sdk / CspProofType","sidebar":"defaultSidebar"},"sdk/reference/enums/ElectionCreationSteps":{"id":"sdk/reference/enums/ElectionCreationSteps","title":"ElectionCreationSteps","description":"@vocdoni/sdk / ElectionCreationSteps","sidebar":"defaultSidebar"},"sdk/reference/enums/ElectionResultsTypeNames":{"id":"sdk/reference/enums/ElectionResultsTypeNames","title":"ElectionResultsTypeNames","description":"@vocdoni/sdk / ElectionResultsTypeNames","sidebar":"defaultSidebar"},"sdk/reference/enums/ElectionStatus":{"id":"sdk/reference/enums/ElectionStatus","title":"ElectionStatus","description":"@vocdoni/sdk / ElectionStatus","sidebar":"defaultSidebar"},"sdk/reference/enums/ElectionStatusReady":{"id":"sdk/reference/enums/ElectionStatusReady","title":"ElectionStatusReady","description":"@vocdoni/sdk / ElectionStatusReady","sidebar":"defaultSidebar"},"sdk/reference/enums/EnvOptions":{"id":"sdk/reference/enums/EnvOptions","title":"EnvOptions","description":"@vocdoni/sdk / EnvOptions","sidebar":"defaultSidebar"},"sdk/reference/enums/TransactionType":{"id":"sdk/reference/enums/TransactionType","title":"TransactionType","description":"@vocdoni/sdk / TransactionType","sidebar":"defaultSidebar"},"sdk/reference/enums/TxType":{"id":"sdk/reference/enums/TxType","title":"TxType","description":"@vocdoni/sdk / TxType","sidebar":"defaultSidebar"},"sdk/reference/enums/VoteSteps":{"id":"sdk/reference/enums/VoteSteps","title":"VoteSteps","description":"@vocdoni/sdk / VoteSteps","sidebar":"defaultSidebar"},"sdk/reference/interfaces/AccountMetadata":{"id":"sdk/reference/interfaces/AccountMetadata","title":"AccountMetadata","description":"@vocdoni/sdk / AccountMetadata","sidebar":"defaultSidebar"},"sdk/reference/interfaces/AdminTx":{"id":"sdk/reference/interfaces/AdminTx","title":"AdminTx","description":"@vocdoni/sdk / AdminTx","sidebar":"defaultSidebar"},"sdk/reference/interfaces/CircuitInputs":{"id":"sdk/reference/interfaces/CircuitInputs","title":"CircuitInputs","description":"@vocdoni/sdk / CircuitInputs","sidebar":"defaultSidebar"},"sdk/reference/interfaces/CollectFaucetTx":{"id":"sdk/reference/interfaces/CollectFaucetTx","title":"CollectFaucetTx","description":"@vocdoni/sdk / CollectFaucetTx","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ElectionMetadata":{"id":"sdk/reference/interfaces/ElectionMetadata","title":"ElectionMetadata","description":"@vocdoni/sdk / ElectionMetadata","sidebar":"defaultSidebar"},"sdk/reference/interfaces/FetchElectionsParameters":{"id":"sdk/reference/interfaces/FetchElectionsParameters","title":"FetchElectionsParameters","description":"@vocdoni/sdk / FetchElectionsParameters","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IAccount":{"id":"sdk/reference/interfaces/IAccount","title":"IAccount","description":"@vocdoni/sdk / IAccount","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IAccountsCountResponse":{"id":"sdk/reference/interfaces/IAccountsCountResponse","title":"IAccountsCountResponse","description":"@vocdoni/sdk / IAccountsCountResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IAccountsListResponse":{"id":"sdk/reference/interfaces/IAccountsListResponse","title":"IAccountsListResponse","description":"@vocdoni/sdk / IAccountsListResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IAccountTransfersCountResponse":{"id":"sdk/reference/interfaces/IAccountTransfersCountResponse","title":"IAccountTransfersCountResponse","description":"@vocdoni/sdk / IAccountTransfersCountResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IApprovalElectionParameters":{"id":"sdk/reference/interfaces/IApprovalElectionParameters","title":"IApprovalElectionParameters","description":"@vocdoni/sdk / IApprovalElectionParameters","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IBlockTransactionsResponse":{"id":"sdk/reference/interfaces/IBlockTransactionsResponse","title":"IBlockTransactionsResponse","description":"@vocdoni/sdk / IBlockTransactionsResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IBudgetElectionParametersInfo":{"id":"sdk/reference/interfaces/IBudgetElectionParametersInfo","title":"IBudgetElectionParametersInfo","description":"@vocdoni/sdk / IBudgetElectionParametersInfo","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IBudgetElectionParametersWithBudget":{"id":"sdk/reference/interfaces/IBudgetElectionParametersWithBudget","title":"IBudgetElectionParametersWithBudget","description":"@vocdoni/sdk / IBudgetElectionParametersWithBudget","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IBudgetElectionParametersWithCensusWeight":{"id":"sdk/reference/interfaces/IBudgetElectionParametersWithCensusWeight","title":"IBudgetElectionParametersWithCensusWeight","description":"@vocdoni/sdk / IBudgetElectionParametersWithCensusWeight","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus":{"id":"sdk/reference/interfaces/ICensus","title":"ICensus","description":"@vocdoni/sdk / ICensus","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3CensusListResponse":{"id":"sdk/reference/interfaces/ICensus3CensusListResponse","title":"ICensus3CensusListResponse","description":"@vocdoni/sdk / ICensus3CensusListResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3CensusQueueResponse":{"id":"sdk/reference/interfaces/ICensus3CensusQueueResponse","title":"ICensus3CensusQueueResponse","description":"@vocdoni/sdk / ICensus3CensusQueueResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3CensusResponse":{"id":"sdk/reference/interfaces/ICensus3CensusResponse","title":"ICensus3CensusResponse","description":"@vocdoni/sdk / ICensus3CensusResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3ServiceInfoResponse":{"id":"sdk/reference/interfaces/ICensus3ServiceInfoResponse","title":"ICensus3ServiceInfoResponse","description":"@vocdoni/sdk / ICensus3ServiceInfoResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3StrategiesListResponse":{"id":"sdk/reference/interfaces/ICensus3StrategiesListResponse","title":"ICensus3StrategiesListResponse","description":"@vocdoni/sdk / ICensus3StrategiesListResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3StrategiesListResponsePaginated":{"id":"sdk/reference/interfaces/ICensus3StrategiesListResponsePaginated","title":"ICensus3StrategiesListResponsePaginated","description":"@vocdoni/sdk / ICensus3StrategiesListResponsePaginated","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3StrategiesOperator":{"id":"sdk/reference/interfaces/ICensus3StrategiesOperator","title":"ICensus3StrategiesOperator","description":"@vocdoni/sdk / ICensus3StrategiesOperator","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3StrategiesOperatorsResponse":{"id":"sdk/reference/interfaces/ICensus3StrategiesOperatorsResponse","title":"ICensus3StrategiesOperatorsResponse","description":"@vocdoni/sdk / ICensus3StrategiesOperatorsResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3StrategyCreateResponse":{"id":"sdk/reference/interfaces/ICensus3StrategyCreateResponse","title":"ICensus3StrategyCreateResponse","description":"@vocdoni/sdk / ICensus3StrategyCreateResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3StrategyEstimationQueueResponse":{"id":"sdk/reference/interfaces/ICensus3StrategyEstimationQueueResponse","title":"ICensus3StrategyEstimationQueueResponse","description":"@vocdoni/sdk / ICensus3StrategyEstimationQueueResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3StrategyHoldersResponse":{"id":"sdk/reference/interfaces/ICensus3StrategyHoldersResponse","title":"ICensus3StrategyHoldersResponse","description":"@vocdoni/sdk / ICensus3StrategyHoldersResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3StrategyHoldersResponsePaginated":{"id":"sdk/reference/interfaces/ICensus3StrategyHoldersResponsePaginated","title":"ICensus3StrategyHoldersResponsePaginated","description":"@vocdoni/sdk / ICensus3StrategyHoldersResponsePaginated","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3StrategyImportQueueResponse":{"id":"sdk/reference/interfaces/ICensus3StrategyImportQueueResponse","title":"ICensus3StrategyImportQueueResponse","description":"@vocdoni/sdk / ICensus3StrategyImportQueueResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3StrategyToken":{"id":"sdk/reference/interfaces/ICensus3StrategyToken","title":"ICensus3StrategyToken","description":"@vocdoni/sdk / ICensus3StrategyToken","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3SupportedChain":{"id":"sdk/reference/interfaces/ICensus3SupportedChain","title":"ICensus3SupportedChain","description":"@vocdoni/sdk / ICensus3SupportedChain","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3TokenHolderResponse":{"id":"sdk/reference/interfaces/ICensus3TokenHolderResponse","title":"ICensus3TokenHolderResponse","description":"@vocdoni/sdk / ICensus3TokenHolderResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3TokenListResponse":{"id":"sdk/reference/interfaces/ICensus3TokenListResponse","title":"ICensus3TokenListResponse","description":"@vocdoni/sdk / ICensus3TokenListResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3TokenListResponsePaginated":{"id":"sdk/reference/interfaces/ICensus3TokenListResponsePaginated","title":"ICensus3TokenListResponsePaginated","description":"@vocdoni/sdk / ICensus3TokenListResponsePaginated","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3TokenTypesResponse":{"id":"sdk/reference/interfaces/ICensus3TokenTypesResponse","title":"ICensus3TokenTypesResponse","description":"@vocdoni/sdk / ICensus3TokenTypesResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3ValidatePredicateChild":{"id":"sdk/reference/interfaces/ICensus3ValidatePredicateChild","title":"ICensus3ValidatePredicateChild","description":"@vocdoni/sdk / ICensus3ValidatePredicateChild","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3ValidatePredicateResponse":{"id":"sdk/reference/interfaces/ICensus3ValidatePredicateResponse","title":"ICensus3ValidatePredicateResponse","description":"@vocdoni/sdk / ICensus3ValidatePredicateResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3ValidatePredicateToken":{"id":"sdk/reference/interfaces/ICensus3ValidatePredicateToken","title":"ICensus3ValidatePredicateToken","description":"@vocdoni/sdk / ICensus3ValidatePredicateToken","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensusExportResponse":{"id":"sdk/reference/interfaces/ICensusExportResponse","title":"ICensusExportResponse","description":"@vocdoni/sdk / ICensusExportResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensusImportResponse":{"id":"sdk/reference/interfaces/ICensusImportResponse","title":"ICensusImportResponse","description":"@vocdoni/sdk / ICensusImportResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensusParticipant":{"id":"sdk/reference/interfaces/ICensusParticipant","title":"ICensusParticipant","description":"@vocdoni/sdk / ICensusParticipant","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensusProofResponse":{"id":"sdk/reference/interfaces/ICensusProofResponse","title":"ICensusProofResponse","description":"@vocdoni/sdk / ICensusProofResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensusPublishResponse":{"id":"sdk/reference/interfaces/ICensusPublishResponse","title":"ICensusPublishResponse","description":"@vocdoni/sdk / ICensusPublishResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainBlockInfoResponse":{"id":"sdk/reference/interfaces/IChainBlockInfoResponse","title":"IChainBlockInfoResponse","description":"@vocdoni/sdk / IChainBlockInfoResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainFeesListResponse":{"id":"sdk/reference/interfaces/IChainFeesListResponse","title":"IChainFeesListResponse","description":"@vocdoni/sdk / IChainFeesListResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainGetCircuitResponse":{"id":"sdk/reference/interfaces/IChainGetCircuitResponse","title":"IChainGetCircuitResponse","description":"@vocdoni/sdk / IChainGetCircuitResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainGetCostsResponse":{"id":"sdk/reference/interfaces/IChainGetCostsResponse","title":"IChainGetCostsResponse","description":"@vocdoni/sdk / IChainGetCostsResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainGetInfoResponse":{"id":"sdk/reference/interfaces/IChainGetInfoResponse","title":"IChainGetInfoResponse","description":"@vocdoni/sdk / IChainGetInfoResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainOrganizationCountResponse":{"id":"sdk/reference/interfaces/IChainOrganizationCountResponse","title":"IChainOrganizationCountResponse","description":"@vocdoni/sdk / IChainOrganizationCountResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainOrganizationListResponse":{"id":"sdk/reference/interfaces/IChainOrganizationListResponse","title":"IChainOrganizationListResponse","description":"@vocdoni/sdk / IChainOrganizationListResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainOrganizationResponse":{"id":"sdk/reference/interfaces/IChainOrganizationResponse","title":"IChainOrganizationResponse","description":"@vocdoni/sdk / IChainOrganizationResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainSubmitTxResponse":{"id":"sdk/reference/interfaces/IChainSubmitTxResponse","title":"IChainSubmitTxResponse","description":"@vocdoni/sdk / IChainSubmitTxResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainTxCountResponse":{"id":"sdk/reference/interfaces/IChainTxCountResponse","title":"IChainTxCountResponse","description":"@vocdoni/sdk / IChainTxCountResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainTxListResponse":{"id":"sdk/reference/interfaces/IChainTxListResponse","title":"IChainTxListResponse","description":"@vocdoni/sdk / IChainTxListResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainTxReference":{"id":"sdk/reference/interfaces/IChainTxReference","title":"IChainTxReference","description":"@vocdoni/sdk / IChainTxReference","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainValidator":{"id":"sdk/reference/interfaces/IChainValidator","title":"IChainValidator","description":"@vocdoni/sdk / IChainValidator","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainValidatorsListResponse":{"id":"sdk/reference/interfaces/IChainValidatorsListResponse","title":"IChainValidatorsListResponse","description":"@vocdoni/sdk / IChainValidatorsListResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChoice":{"id":"sdk/reference/interfaces/IChoice","title":"IChoice","description":"@vocdoni/sdk / IChoice","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICspAuthStep":{"id":"sdk/reference/interfaces/ICspAuthStep","title":"ICspAuthStep","description":"@vocdoni/sdk / ICspAuthStep","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICspFinalStepResponse":{"id":"sdk/reference/interfaces/ICspFinalStepResponse","title":"ICspFinalStepResponse","description":"@vocdoni/sdk / ICspFinalStepResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICspInfoResponse":{"id":"sdk/reference/interfaces/ICspInfoResponse","title":"ICspInfoResponse","description":"@vocdoni/sdk / ICspInfoResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICspIntermediateStepResponse":{"id":"sdk/reference/interfaces/ICspIntermediateStepResponse","title":"ICspIntermediateStepResponse","description":"@vocdoni/sdk / ICspIntermediateStepResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICspSignResponse":{"id":"sdk/reference/interfaces/ICspSignResponse","title":"ICspSignResponse","description":"@vocdoni/sdk / ICspSignResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionCreateResponse":{"id":"sdk/reference/interfaces/IElectionCreateResponse","title":"IElectionCreateResponse","description":"@vocdoni/sdk / IElectionCreateResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionInfoResponse":{"id":"sdk/reference/interfaces/IElectionInfoResponse","title":"IElectionInfoResponse","description":"@vocdoni/sdk / IElectionInfoResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionKeysResponse":{"id":"sdk/reference/interfaces/IElectionKeysResponse","title":"IElectionKeysResponse","description":"@vocdoni/sdk / IElectionKeysResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionListFilter":{"id":"sdk/reference/interfaces/IElectionListFilter","title":"IElectionListFilter","description":"@vocdoni/sdk / IElectionListFilter","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionListResponse":{"id":"sdk/reference/interfaces/IElectionListResponse","title":"IElectionListResponse","description":"@vocdoni/sdk / IElectionListResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionMode":{"id":"sdk/reference/interfaces/IElectionMode","title":"IElectionMode","description":"@vocdoni/sdk / IElectionMode","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionNextIdResponse":{"id":"sdk/reference/interfaces/IElectionNextIdResponse","title":"IElectionNextIdResponse","description":"@vocdoni/sdk / IElectionNextIdResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionParameters":{"id":"sdk/reference/interfaces/IElectionParameters","title":"IElectionParameters","description":"@vocdoni/sdk / IElectionParameters","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionSummary":{"id":"sdk/reference/interfaces/IElectionSummary","title":"IElectionSummary","description":"@vocdoni/sdk / IElectionSummary","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionType":{"id":"sdk/reference/interfaces/IElectionType","title":"IElectionType","description":"@vocdoni/sdk / IElectionType","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionVote":{"id":"sdk/reference/interfaces/IElectionVote","title":"IElectionVote","description":"@vocdoni/sdk / IElectionVote","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionVoteListResponse":{"id":"sdk/reference/interfaces/IElectionVoteListResponse","title":"IElectionVoteListResponse","description":"@vocdoni/sdk / IElectionVoteListResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IEncryptionKey":{"id":"sdk/reference/interfaces/IEncryptionKey","title":"IEncryptionKey","description":"@vocdoni/sdk / IEncryptionKey","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IInvalidElectionParameters":{"id":"sdk/reference/interfaces/IInvalidElectionParameters","title":"IInvalidElectionParameters","description":"@vocdoni/sdk / IInvalidElectionParameters","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IMultiChoiceElectionParameters":{"id":"sdk/reference/interfaces/IMultiChoiceElectionParameters","title":"IMultiChoiceElectionParameters","description":"@vocdoni/sdk / IMultiChoiceElectionParameters","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IPublishedElectionParameters":{"id":"sdk/reference/interfaces/IPublishedElectionParameters","title":"IPublishedElectionParameters","description":"@vocdoni/sdk / IPublishedElectionParameters","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IQuestion":{"id":"sdk/reference/interfaces/IQuestion","title":"IQuestion","description":"@vocdoni/sdk / IQuestion","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ITallyMode":{"id":"sdk/reference/interfaces/ITallyMode","title":"ITallyMode","description":"@vocdoni/sdk / ITallyMode","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IVoteEncryptedPackage":{"id":"sdk/reference/interfaces/IVoteEncryptedPackage","title":"IVoteEncryptedPackage","description":"@vocdoni/sdk / IVoteEncryptedPackage","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IVoteInfoResponse":{"id":"sdk/reference/interfaces/IVoteInfoResponse","title":"IVoteInfoResponse","description":"@vocdoni/sdk / IVoteInfoResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IVoteMode":{"id":"sdk/reference/interfaces/IVoteMode","title":"IVoteMode","description":"@vocdoni/sdk / IVoteMode","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IVotePackage":{"id":"sdk/reference/interfaces/IVotePackage","title":"IVotePackage","description":"@vocdoni/sdk / IVotePackage","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IVoteSubmitResponse":{"id":"sdk/reference/interfaces/IVoteSubmitResponse","title":"IVoteSubmitResponse","description":"@vocdoni/sdk / IVoteSubmitResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IVoteType":{"id":"sdk/reference/interfaces/IVoteType","title":"IVoteType","description":"@vocdoni/sdk / IVoteType","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IZkProofResponse":{"id":"sdk/reference/interfaces/IZkProofResponse","title":"IZkProofResponse","description":"@vocdoni/sdk / IZkProofResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IZkSIKResponse":{"id":"sdk/reference/interfaces/IZkSIKResponse","title":"IZkSIKResponse","description":"@vocdoni/sdk / IZkSIKResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/MintTokensTx":{"id":"sdk/reference/interfaces/MintTokensTx","title":"MintTokensTx","description":"@vocdoni/sdk / MintTokensTx","sidebar":"defaultSidebar"},"sdk/reference/interfaces/NewProcessTx":{"id":"sdk/reference/interfaces/NewProcessTx","title":"NewProcessTx","description":"@vocdoni/sdk / NewProcessTx","sidebar":"defaultSidebar"},"sdk/reference/interfaces/Process":{"id":"sdk/reference/interfaces/Process","title":"Process","description":"@vocdoni/sdk / Process","sidebar":"defaultSidebar"},"sdk/reference/interfaces/Proof":{"id":"sdk/reference/interfaces/Proof","title":"Proof","description":"@vocdoni/sdk / Proof","sidebar":"defaultSidebar"},"sdk/reference/interfaces/RegisterKeyTx":{"id":"sdk/reference/interfaces/RegisterKeyTx","title":"RegisterKeyTx","description":"@vocdoni/sdk / RegisterKeyTx","sidebar":"defaultSidebar"},"sdk/reference/interfaces/SendTokensTx":{"id":"sdk/reference/interfaces/SendTokensTx","title":"SendTokensTx","description":"@vocdoni/sdk / SendTokensTx","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ServiceProperties":{"id":"sdk/reference/interfaces/ServiceProperties","title":"ServiceProperties","description":"@vocdoni/sdk / ServiceProperties","sidebar":"defaultSidebar"},"sdk/reference/interfaces/SetAccountTx":{"id":"sdk/reference/interfaces/SetAccountTx","title":"SetAccountTx","description":"@vocdoni/sdk / SetAccountTx","sidebar":"defaultSidebar"},"sdk/reference/interfaces/SetProcessTx":{"id":"sdk/reference/interfaces/SetProcessTx","title":"SetProcessTx","description":"@vocdoni/sdk / SetProcessTx","sidebar":"defaultSidebar"},"sdk/reference/interfaces/SetTransactionCostsTx":{"id":"sdk/reference/interfaces/SetTransactionCostsTx","title":"SetTransactionCostsTx","description":"@vocdoni/sdk / SetTransactionCostsTx","sidebar":"defaultSidebar"},"sdk/reference/interfaces/Tx":{"id":"sdk/reference/interfaces/Tx","title":"Tx","description":"@vocdoni/sdk / Tx","sidebar":"defaultSidebar"},"sdk/reference/interfaces/VoteEnvelope":{"id":"sdk/reference/interfaces/VoteEnvelope","title":"VoteEnvelope","description":"@vocdoni/sdk / VoteEnvelope","sidebar":"defaultSidebar"},"sdk/reference/sdk-reference":{"id":"sdk/reference/sdk-reference","title":"@vocdoni/sdk","description":"Table of contents","sidebar":"defaultSidebar"},"sdk/tutorial":{"id":"sdk/tutorial","title":"SDK Tutorial","description":"This tutorial will show you how to get your environment set up, start using the SDK, and create and vote in an election. We will be using typescript.","sidebar":"defaultSidebar"},"ui-components/account":{"id":"ui-components/account","title":"Account Components","description":"Client provider","sidebar":"defaultSidebar"},"ui-components/election":{"id":"ui-components/election","title":"Election Components","description":"Election Component","sidebar":"defaultSidebar"},"ui-components/index":{"id":"ui-components/index","title":"UI Components","description":"The UI Components library is a set of react providers and components that abstract away the SDK and enable easy client usage of Vocdoni functionality.","sidebar":"defaultSidebar"},"ui-components/layout":{"id":"ui-components/layout","title":"Layout Components","description":"Several design components are provided by the ui-components library to help with election formatting.","sidebar":"defaultSidebar"},"ui-components/organization":{"id":"ui-components/organization","title":"Organization Components","description":"Organization provider","sidebar":"defaultSidebar"},"ui-components/react-providers":{"id":"ui-components/react-providers","title":"React Providers","description":"In order for the @vocdoni/chakra-components components to be functional, they need to be wrapped with react context and providers from @vocdoni/react-providers. The react providers are the link between the Vocdoni Protocol and the UI Components, using the Vocdoni SDK to perform all the necessary tasks involved to fetch data and vote in elections.","sidebar":"defaultSidebar"},"vocdoni-api/accounts":{"id":"vocdoni-api/accounts","title":"Accounts","description":"Accounts","sidebar":"defaultSidebar"},"vocdoni-api/add-account":{"id":"vocdoni-api/add-account","title":"Add account","description":"Add a new account to the local store. It returns a token used to manage this account on the future.","sidebar":"defaultSidebar"},"vocdoni-api/add-participants-to-census":{"id":"vocdoni-api/add-participants-to-census","title":"Add participants to census","description":"Adds list of public keys/addresses and voting weights to an unpublished census. Returns the resulting","sidebar":"defaultSidebar"},"vocdoni-api/build-an-election-id":{"id":"vocdoni-api/build-an-election-id","title":"Build an election ID","description":"buildElectionIDHandler","sidebar":"defaultSidebar"},"vocdoni-api/census-merkle-root":{"id":"vocdoni-api/census-merkle-root","title":"Census Merkle Root","description":"Get census [Merkle Tree root](https://docs.vocdoni.io/architecture/census/off-chain-tree.html) hash, used to identify the census at specific snapshot.\\n\\n- Bearer token not required","sidebar":"defaultSidebar"},"vocdoni-api/census-size":{"id":"vocdoni-api/census-size","title":"Census size","description":"Total number of keys added to the census. Size as integer","sidebar":"defaultSidebar"},"vocdoni-api/census-total-weight":{"id":"vocdoni-api/census-total-weight","title":"Census total weight","description":"It sums all weights added to the census. Weight is a stringified bigInt","sidebar":"defaultSidebar"},"vocdoni-api/censuses":{"id":"vocdoni-api/censuses","title":"Censuses","description":"Censuses","sidebar":"defaultSidebar"},"vocdoni-api/chain":{"id":"vocdoni-api/chain","title":"Chain","description":"Chain","sidebar":"defaultSidebar"},"vocdoni-api/check-census-publish-status":{"id":"vocdoni-api/check-census-publish-status","title":"Check census publish status","description":"Returns the publication status of a specific census by its ID, including the IPFS URI where it\'s uploaded, if available. This handler checks whether a census has been published successfully and retrieves its access URI or any errors that occurred during the publication process.","sidebar":"defaultSidebar"},"vocdoni-api/circuit-info":{"id":"vocdoni-api/circuit-info","title":"Circuit info","description":"Returns the circuit configuration according to the current circuit","sidebar":"defaultSidebar"},"vocdoni-api/compute-election-price":{"id":"vocdoni-api/compute-election-price","title":"Compute election price","description":"Helper endpoint to get the election price.","sidebar":"defaultSidebar"},"vocdoni-api/compute-ipfs-ci-dv-1-of-file":{"id":"vocdoni-api/compute-ipfs-ci-dv-1-of-file","title":"Compute IPFS CIDv1 of file","description":"Helper endpoint to get the IPFS CIDv1 hash of a file","sidebar":"defaultSidebar"},"vocdoni-api/count-election-votes":{"id":"vocdoni-api/count-election-votes","title":"Count election votes","description":"Get the number of votes for an election","sidebar":"defaultSidebar"},"vocdoni-api/count-organization-elections":{"id":"vocdoni-api/count-organization-elections","title":"Count organization elections","description":"Returns the number of elections for an organization","sidebar":"defaultSidebar"},"vocdoni-api/count-organizations":{"id":"vocdoni-api/count-organizations","title":"Count organizations","description":"Return the number of organizations","sidebar":"defaultSidebar"},"vocdoni-api/create-a-new-census":{"id":"vocdoni-api/create-a-new-census","title":"Create a new census","description":"Creates a new census on the backend side. The census is still unpublished until [publish](publish-census) is called.","sidebar":"defaultSidebar"},"vocdoni-api/create-election":{"id":"vocdoni-api/create-election","title":"Create election","description":"Creates an election on the Vochain.","sidebar":"defaultSidebar"},"vocdoni-api/create-election-for-wallet":{"id":"vocdoni-api/create-election-for-wallet","title":"Create election for wallet","description":"Creates an election. Requires the bearer token of the account you want to create the election.","sidebar":"defaultSidebar"},"vocdoni-api/delete-census":{"id":"vocdoni-api/delete-census","title":"Delete census","description":"Delete unpublished census (not on the storage yet). See [publish census](census-publish)\\n","sidebar":"defaultSidebar"},"vocdoni-api/election-information":{"id":"vocdoni-api/election-information","title":"Election information","description":"Get full election information","sidebar":"defaultSidebar"},"vocdoni-api/election-results":{"id":"vocdoni-api/election-results","title":"Election results","description":"Returns a given election consensus results and useful information about these results. Results are represented with BigInt strings.","sidebar":"defaultSidebar"},"vocdoni-api/elections":{"id":"vocdoni-api/elections","title":"Elections","description":"Elections","sidebar":"defaultSidebar"},"vocdoni-api/estimate-block-to-date":{"id":"vocdoni-api/estimate-block-to-date","title":"Estimate block to date","description":"Returns the estimated timestamp for the block height provided","sidebar":"defaultSidebar"},"vocdoni-api/estimate-date-to-block":{"id":"vocdoni-api/estimate-date-to-block","title":"Estimate date to block","description":"Returns the estimated block height for the timestamp provided","sidebar":"defaultSidebar"},"vocdoni-api/export-census":{"id":"vocdoni-api/export-census","title":"Export census","description":"Export census to JSON format. Requires Bearer token","sidebar":"defaultSidebar"},"vocdoni-api/export-census-database":{"id":"vocdoni-api/export-census-database","title":"Export census database","description":"Export the whole census database to a JSON file. Requires Admin Bearer token.","sidebar":"defaultSidebar"},"vocdoni-api/exports-the-indexer-database":{"id":"vocdoni-api/exports-the-indexer-database","title":"Exports the indexer database","description":"Exports the indexer SQL database in raw format","sidebar":"defaultSidebar"},"vocdoni-api/get-account":{"id":"vocdoni-api/get-account","title":"Get account","description":"Get account information by its address or public key. The `infoURI` parameter contain where account metadata is uploaded (like avatar, name...). It return also an already parsed \'metadata\' object from this infoUri.","sidebar":"defaultSidebar"},"vocdoni-api/get-block-by-hash":{"id":"vocdoni-api/get-block-by-hash","title":"Get block (by hash)","description":"Returns the block from the given hash","sidebar":"defaultSidebar"},"vocdoni-api/get-block-by-height":{"id":"vocdoni-api/get-block-by-height","title":"Get block (by height)","description":"Returns the full block information at the given height","sidebar":"defaultSidebar"},"vocdoni-api/get-type-of-census":{"id":"vocdoni-api/get-type-of-census","title":"Get type of census","description":"Get the census type","sidebar":"defaultSidebar"},"vocdoni-api/get-vote":{"id":"vocdoni-api/get-vote","title":"Get vote","description":"Returns the content of an existing Vote. If the election is encrypted, returns the `encryptionKeys` indexes and codifies the package.","sidebar":"defaultSidebar"},"vocdoni-api/import-census":{"id":"vocdoni-api/import-census","title":"Import census","description":"Import census from JSON previously exported using [`/censuses/{censusId}/export`](census-export). Requires Bearer token","sidebar":"defaultSidebar"},"vocdoni-api/import-census-database":{"id":"vocdoni-api/import-census-database","title":"Import census database","description":"Import the whole census database from a JSON file.","sidebar":"defaultSidebar"},"vocdoni-api/list-account-received-and-sent-token-transfers":{"id":"vocdoni-api/list-account-received-and-sent-token-transfers","title":"List account received and sent token transfers","description":"Returns the token transfers for an account. A transfer is a token transference from one account to other (excepting the burn address).","sidebar":"defaultSidebar"},"vocdoni-api/list-account-token-fees":{"id":"vocdoni-api/list-account-token-fees","title":"List account token fees","description":"Returns the token fees for an account. A spending is an amount of tokens burnt from one account for executing transactions.","sidebar":"defaultSidebar"},"vocdoni-api/list-all-blocks":{"id":"vocdoni-api/list-all-blocks","title":"List all blocks","description":"Returns the list of blocks, ordered by descending height.","sidebar":"defaultSidebar"},"vocdoni-api/list-all-census-references":{"id":"vocdoni-api/list-all-census-references","title":"List all census references","description":"List all census references. Requires Admin Bearer token.","sidebar":"defaultSidebar"},"vocdoni-api/list-all-token-fees":{"id":"vocdoni-api/list-all-token-fees","title":"List all token fees","description":"Returns the token fees list ordered by date. A spending is an amount of tokens burnt from one account for executing transactions.","sidebar":"defaultSidebar"},"vocdoni-api/list-all-token-fees-by-reference":{"id":"vocdoni-api/list-all-token-fees-by-reference","title":"List all token fees by reference","description":"Returns the token fees list filtered by reference and ordered by date. A spending is an amount of tokens burnt from one account for executing transactions.","sidebar":"defaultSidebar"},"vocdoni-api/list-all-token-fees-by-type":{"id":"vocdoni-api/list-all-token-fees-by-type","title":"List all token fees by type","description":"Returns the token fees list filtered by type and ordered by date. A spending is an amount of tokens burnt from one account for executing transactions.","sidebar":"defaultSidebar"},"vocdoni-api/list-all-token-transfers":{"id":"vocdoni-api/list-all-token-transfers","title":"List all token transfers","description":"Returns the token transfers list ordered by date.","sidebar":"defaultSidebar"},"vocdoni-api/list-election-votes":{"id":"vocdoni-api/list-election-votes","title":"List election votes","description":"Returns the list of voteIDs for an election (paginated)","sidebar":"defaultSidebar"},"vocdoni-api/list-elections":{"id":"vocdoni-api/list-elections","title":"List elections","description":"Get a list of elections summaries.","sidebar":"defaultSidebar"},"vocdoni-api/list-elections-filtered":{"id":"vocdoni-api/list-elections-filtered","title":"List elections (filtered)","description":"Returns a filtered list of elections. The filters have to be sent on the request body. The valid filters are:","sidebar":"defaultSidebar"},"vocdoni-api/list-encryption-keys":{"id":"vocdoni-api/list-encryption-keys","title":"List encryption keys","description":"Returns the list of public/private encryption keys","sidebar":"defaultSidebar"},"vocdoni-api/list-of-the-existing-accounts":{"id":"vocdoni-api/list-of-the-existing-accounts","title":"List of the existing accounts","description":"Returns information (address, balance and nonce) of the existing accounts","sidebar":"defaultSidebar"},"vocdoni-api/list-of-valid-sik-roots":{"id":"vocdoni-api/list-of-valid-sik-roots","title":"List of valid SIK roots","description":"Returns the list of currently valid roots of the merkle tree where the vochain account SIK\'s are stored.","sidebar":"defaultSidebar"},"vocdoni-api/list-organization-elections":{"id":"vocdoni-api/list-organization-elections","title":"List organization elections","description":"List the elections of an organization","sidebar":"defaultSidebar"},"vocdoni-api/list-organization-elections-by-status":{"id":"vocdoni-api/list-organization-elections-by-status","title":"List organization elections by status","description":"List the elections of an organization by status","sidebar":"defaultSidebar"},"vocdoni-api/list-organizations":{"id":"vocdoni-api/list-organizations","title":"List organizations","description":"An **Organization** is an account with an `infoUri` that contains organization-associated metadata.","sidebar":"defaultSidebar"},"vocdoni-api/list-organizations-filtered":{"id":"vocdoni-api/list-organizations-filtered","title":"List organizations (filtered)","description":"Returns a list of organizations filtered by its partial id, paginated by the given page","sidebar":"defaultSidebar"},"vocdoni-api/list-transactions":{"id":"vocdoni-api/list-transactions","title":"List transactions","description":"To get full transaction information use [/chain/transaction/{blockHeight}/{txIndex}](transaction-by-block-index).\\nWhere transactionIndex is the index of the transaction on the containing block.","sidebar":"defaultSidebar"},"vocdoni-api/list-validators":{"id":"vocdoni-api/list-validators","title":"List validators","description":"Returns the list of validators","sidebar":"defaultSidebar"},"vocdoni-api/list-votes":{"id":"vocdoni-api/list-votes","title":"List votes","description":"Returns the list of votes","sidebar":"defaultSidebar"},"vocdoni-api/price-factors-information":{"id":"vocdoni-api/price-factors-information","title":"Price factors information","description":"Package electionprice provides a mechanism for calculating the price of an election based on its characteristics.","sidebar":"defaultSidebar"},"vocdoni-api/prove-key-to-census":{"id":"vocdoni-api/prove-key-to-census","title":"Prove key to census","description":"Proves that the key and weight belong to the census root hash.","sidebar":"defaultSidebar"},"vocdoni-api/publish-census":{"id":"vocdoni-api/publish-census","title":"Publish census","description":"Registers a census to storage (IPFS in our case). After this, the census can\'t be edited.","sidebar":"defaultSidebar"},"vocdoni-api/returns-if-the-address-provided-has-a-valid-sik":{"id":"vocdoni-api/returns-if-the-address-provided-has-a-valid-sik","title":"Returns if the address provided has a valid SIK","description":"Returns if the address provided, associated to an a registered account or not, has a valid SIK already registered or not.","sidebar":"defaultSidebar"},"vocdoni-api/set-account":{"id":"vocdoni-api/set-account","title":"Set account","description":"Register an account to the blockchain, including metadata upload to IPFS.","sidebar":"defaultSidebar"},"vocdoni-api/set-wallet-account":{"id":"vocdoni-api/set-wallet-account","title":"Set wallet account","description":"Set a new account. Needed the bearer token associated the account.","sidebar":"defaultSidebar"},"vocdoni-api/sik":{"id":"vocdoni-api/sik","title":"SIK","description":"SIK","sidebar":"defaultSidebar"},"vocdoni-api/submit-a-vote":{"id":"vocdoni-api/submit-a-vote","title":"Submit a vote","description":"Submit a vote using a protobuf signed transaction. The corresponding result are the vote id and transaction hash where the vote is registered.","sidebar":"defaultSidebar"},"vocdoni-api/submit-transaction":{"id":"vocdoni-api/submit-transaction","title":"Submit transaction","description":"Submits a transaction. Depending on the transaction type, will return one of multiple response types:","sidebar":"defaultSidebar"},"vocdoni-api/total-number-of-accounts":{"id":"vocdoni-api/total-number-of-accounts","title":"Total number of accounts","description":"Returns the count of total number of existing accounts","sidebar":"defaultSidebar"},"vocdoni-api/total-number-of-sent-and-received-transactions":{"id":"vocdoni-api/total-number-of-sent-and-received-transactions","title":"Total number of sent and received transactions","description":"Returns the count of total number of sent and received transactions for an account. A transaction is a token transfer from one account to another existing account","sidebar":"defaultSidebar"},"vocdoni-api/transaction-by-block-height-and-index":{"id":"vocdoni-api/transaction-by-block-height-and-index","title":"Transaction by block height and index","description":"Get transaction full information by block height and index. It returns JSON transaction protobuf encoded. Depending of transaction type will return different types of objects. Current transaction types can be found calling `/chain/transactions/cost`","sidebar":"defaultSidebar"},"vocdoni-api/transaction-by-hash":{"id":"vocdoni-api/transaction-by-hash","title":"Transaction by hash","description":"Using a transaction\'s hash, returns the `block` and `index` that contains the transaction. You can use this `block` and `index` to retrieve the full transaction info using [transaction by block and index](transaction-by-block-index)","sidebar":"defaultSidebar"},"vocdoni-api/transaction-by-index":{"id":"vocdoni-api/transaction-by-index","title":"Transaction by index","description":"Get transaction by its index. This is not transaction reference (hash), and neither the block height and block index. The transaction index is an incremental counter for each transaction. You could use the transaction `block` and `index` to retrieve full info using [transaction by block and index](transaction-by-block-index).","sidebar":"defaultSidebar"},"vocdoni-api/transaction-costs":{"id":"vocdoni-api/transaction-costs","title":"Transaction costs","description":"Returns the list of transactions and its cost","sidebar":"defaultSidebar"},"vocdoni-api/transactions-count":{"id":"vocdoni-api/transactions-count","title":"Transactions count","description":"Returns the number of transactions","sidebar":"defaultSidebar"},"vocdoni-api/transactions-in-a-block":{"id":"vocdoni-api/transactions-in-a-block","title":"Transactions in a block","description":"Given a block returns the list of transactions for that block","sidebar":"defaultSidebar"},"vocdoni-api/transfer-tokens":{"id":"vocdoni-api/transfer-tokens","title":"Transfer tokens","description":"Transfer balance to another account. Needed the bearer token associated the account.","sidebar":"defaultSidebar"},"vocdoni-api/verify-merkle-proof":{"id":"vocdoni-api/verify-merkle-proof","title":"Verify merkle proof","description":"Verify that a previously obtained Merkle proof for a key, acquired via [/censuses/{censusId}/proof/{publicKey}](prove-key-to-census) is still correct.","sidebar":"defaultSidebar"},"vocdoni-api/verify-vote":{"id":"vocdoni-api/verify-vote","title":"Verify vote","description":"Check if vote is registered on the blockchain on specific election. Just return Ok status code","sidebar":"defaultSidebar"},"vocdoni-api/vocdoni-api":{"id":"vocdoni-api/vocdoni-api","title":"Vocdoni API","description":"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions.","sidebar":"defaultSidebar"},"vocdoni-api/vochain-information":{"id":"vocdoni-api/vochain-information","title":"Vochain information","description":"Returns basic Vocdoni Blockchain (Vochain) information like blockTime, chainId, current height, and more.","sidebar":"defaultSidebar"},"vocdoni-api/votes":{"id":"vocdoni-api/votes","title":"Votes","description":"Votes","sidebar":"defaultSidebar"},"vocdoni-api/wallet":{"id":"vocdoni-api/wallet","title":"Wallet","description":"Wallet","sidebar":"defaultSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.52d5757e.js b/assets/js/935f2afb.52d5757e.js deleted file mode 100644 index aeaca05a7..000000000 --- a/assets/js/935f2afb.52d5757e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[53],{1109:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"defaultSidebar":[{"type":"link","label":"Getting Started","href":"/intro","docId":"intro"},{"type":"category","label":"Vocdoni SDK","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"SDK Tutorial","href":"/sdk/tutorial","docId":"sdk/tutorial"},{"type":"category","label":"Integration Details","collapsible":true,"collapsed":true,"items":[{"type":"category","label":"Census Types","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Off-chain Credential Service Provider","href":"/sdk/integration-details/census-types/off-chain-csp","docId":"sdk/integration-details/census-types/off-chain-csp"},{"type":"link","label":"Off-chain Merkle Tree","href":"/sdk/integration-details/census-types/off-chain-tree","docId":"sdk/integration-details/census-types/off-chain-tree"},{"type":"category","label":"On-chain Token-Based Census","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Complex Census","href":"/sdk/integration-details/census-types/on-chain/complex-census","docId":"sdk/integration-details/census-types/on-chain/complex-census"}],"href":"/sdk/integration-details/census-types/on-chain/"}],"href":"/sdk/integration-details/census-types/"},{"type":"link","label":"Vocdoni Tokens","href":"/sdk/integration-details/vocdoni-tokens","docId":"sdk/integration-details/vocdoni-tokens"},{"type":"category","label":"Voting Types","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Single Choice Voting","href":"/sdk/integration-details/voting-types/single-choice","docId":"sdk/integration-details/voting-types/single-choice"},{"type":"link","label":"Ranked Voting","href":"/sdk/integration-details/voting-types/ranked","docId":"sdk/integration-details/voting-types/ranked"},{"type":"link","label":"Approval Voting","href":"/sdk/integration-details/voting-types/approval","docId":"sdk/integration-details/voting-types/approval"},{"type":"link","label":"Weighted voting","href":"/sdk/integration-details/voting-types/weighted","docId":"sdk/integration-details/voting-types/weighted"},{"type":"link","label":"Quadratic voting","href":"/sdk/integration-details/voting-types/quadratic","docId":"sdk/integration-details/voting-types/quadratic"}],"href":"/sdk/integration-details/voting-types/"}],"href":"/sdk/integration-details/"},{"type":"category","label":"Reference","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"@vocdoni/sdk","href":"/sdk/reference/sdk-reference","docId":"sdk/reference/sdk-reference"},{"type":"category","label":"Classes","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Account","href":"/sdk/reference/classes/Account","docId":"sdk/reference/classes/Account"},{"type":"link","label":"AccountAPI","href":"/sdk/reference/classes/AccountAPI","docId":"sdk/reference/classes/AccountAPI"},{"type":"link","label":"AccountService","href":"/sdk/reference/classes/AccountService","docId":"sdk/reference/classes/AccountService"},{"type":"link","label":"AnonymousService","href":"/sdk/reference/classes/AnonymousService","docId":"sdk/reference/classes/AnonymousService"},{"type":"link","label":"AnonymousVote","href":"/sdk/reference/classes/AnonymousVote","docId":"sdk/reference/classes/AnonymousVote"},{"type":"link","label":"ApprovalElection","href":"/sdk/reference/classes/ApprovalElection","docId":"sdk/reference/classes/ApprovalElection"},{"type":"link","label":"ArchivedElection","href":"/sdk/reference/classes/ArchivedElection","docId":"sdk/reference/classes/ArchivedElection"},{"type":"link","label":"BudgetElection","href":"/sdk/reference/classes/BudgetElection","docId":"sdk/reference/classes/BudgetElection"},{"type":"link","label":"Census","href":"/sdk/reference/classes/Census","docId":"sdk/reference/classes/Census"},{"type":"link","label":"Census3CensusAPI","href":"/sdk/reference/classes/Census3CensusAPI","docId":"sdk/reference/classes/Census3CensusAPI"},{"type":"link","label":"Census3ServiceAPI","href":"/sdk/reference/classes/Census3ServiceAPI","docId":"sdk/reference/classes/Census3ServiceAPI"},{"type":"link","label":"Census3StrategyAPI","href":"/sdk/reference/classes/Census3StrategyAPI","docId":"sdk/reference/classes/Census3StrategyAPI"},{"type":"link","label":"Census3TokenAPI","href":"/sdk/reference/classes/Census3TokenAPI","docId":"sdk/reference/classes/Census3TokenAPI"},{"type":"link","label":"CensusAPI","href":"/sdk/reference/classes/CensusAPI","docId":"sdk/reference/classes/CensusAPI"},{"type":"link","label":"CensusService","href":"/sdk/reference/classes/CensusService","docId":"sdk/reference/classes/CensusService"},{"type":"link","label":"ChainAPI","href":"/sdk/reference/classes/ChainAPI","docId":"sdk/reference/classes/ChainAPI"},{"type":"link","label":"ChainService","href":"/sdk/reference/classes/ChainService","docId":"sdk/reference/classes/ChainService"},{"type":"link","label":"CspAPI","href":"/sdk/reference/classes/CspAPI","docId":"sdk/reference/classes/CspAPI"},{"type":"link","label":"CspCensus","href":"/sdk/reference/classes/CspCensus","docId":"sdk/reference/classes/CspCensus"},{"type":"link","label":"CspService","href":"/sdk/reference/classes/CspService","docId":"sdk/reference/classes/CspService"},{"type":"link","label":"CspVote","href":"/sdk/reference/classes/CspVote","docId":"sdk/reference/classes/CspVote"},{"type":"link","label":"Election","href":"/sdk/reference/classes/Election","docId":"sdk/reference/classes/Election"},{"type":"link","label":"ElectionAPI","href":"/sdk/reference/classes/ElectionAPI","docId":"sdk/reference/classes/ElectionAPI"},{"type":"link","label":"ElectionService","href":"/sdk/reference/classes/ElectionService","docId":"sdk/reference/classes/ElectionService"},{"type":"link","label":"FaucetAPI","href":"/sdk/reference/classes/FaucetAPI","docId":"sdk/reference/classes/FaucetAPI"},{"type":"link","label":"FaucetService","href":"/sdk/reference/classes/FaucetService","docId":"sdk/reference/classes/FaucetService"},{"type":"link","label":"FileAPI","href":"/sdk/reference/classes/FileAPI","docId":"sdk/reference/classes/FileAPI"},{"type":"link","label":"FileService","href":"/sdk/reference/classes/FileService","docId":"sdk/reference/classes/FileService"},{"type":"link","label":"InvalidElection","href":"/sdk/reference/classes/InvalidElection","docId":"sdk/reference/classes/InvalidElection"},{"type":"link","label":"MultiChoiceElection","href":"/sdk/reference/classes/MultiChoiceElection","docId":"sdk/reference/classes/MultiChoiceElection"},{"type":"link","label":"OffchainCensus","href":"/sdk/reference/classes/OffchainCensus","docId":"sdk/reference/classes/OffchainCensus"},{"type":"link","label":"PlainCensus","href":"/sdk/reference/classes/PlainCensus","docId":"sdk/reference/classes/PlainCensus"},{"type":"link","label":"PublishedCensus","href":"/sdk/reference/classes/PublishedCensus","docId":"sdk/reference/classes/PublishedCensus"},{"type":"link","label":"PublishedElection","href":"/sdk/reference/classes/PublishedElection","docId":"sdk/reference/classes/PublishedElection"},{"type":"link","label":"Service","href":"/sdk/reference/classes/Service","docId":"sdk/reference/classes/Service"},{"type":"link","label":"StrategyCensus","href":"/sdk/reference/classes/StrategyCensus","docId":"sdk/reference/classes/StrategyCensus"},{"type":"link","label":"TokenCensus","href":"/sdk/reference/classes/TokenCensus","docId":"sdk/reference/classes/TokenCensus"},{"type":"link","label":"UnpublishedElection","href":"/sdk/reference/classes/UnpublishedElection","docId":"sdk/reference/classes/UnpublishedElection"},{"type":"link","label":"VocdoniCensus3Client","href":"/sdk/reference/classes/VocdoniCensus3Client","docId":"sdk/reference/classes/VocdoniCensus3Client"},{"type":"link","label":"VocdoniSDKClient","href":"/sdk/reference/classes/VocdoniSDKClient","docId":"sdk/reference/classes/VocdoniSDKClient"},{"type":"link","label":"Vote","href":"/sdk/reference/classes/Vote","docId":"sdk/reference/classes/Vote"},{"type":"link","label":"VoteAPI","href":"/sdk/reference/classes/VoteAPI","docId":"sdk/reference/classes/VoteAPI"},{"type":"link","label":"VoteService","href":"/sdk/reference/classes/VoteService","docId":"sdk/reference/classes/VoteService"},{"type":"link","label":"WalletAPI","href":"/sdk/reference/classes/WalletAPI","docId":"sdk/reference/classes/WalletAPI"},{"type":"link","label":"WeightedCensus","href":"/sdk/reference/classes/WeightedCensus","docId":"sdk/reference/classes/WeightedCensus"},{"type":"link","label":"ZkAPI","href":"/sdk/reference/classes/ZkAPI","docId":"sdk/reference/classes/ZkAPI"}]},{"type":"category","label":"Enums","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"CensusOrigin","href":"/sdk/reference/enums/CensusOrigin","docId":"sdk/reference/enums/CensusOrigin"},{"type":"link","label":"CensusType","href":"/sdk/reference/enums/CensusType","docId":"sdk/reference/enums/CensusType"},{"type":"link","label":"CensusTypeEnum","href":"/sdk/reference/enums/CensusTypeEnum","docId":"sdk/reference/enums/CensusTypeEnum"},{"type":"link","label":"CspProofType","href":"/sdk/reference/enums/CspProofType","docId":"sdk/reference/enums/CspProofType"},{"type":"link","label":"ElectionCreationSteps","href":"/sdk/reference/enums/ElectionCreationSteps","docId":"sdk/reference/enums/ElectionCreationSteps"},{"type":"link","label":"ElectionResultsTypeNames","href":"/sdk/reference/enums/ElectionResultsTypeNames","docId":"sdk/reference/enums/ElectionResultsTypeNames"},{"type":"link","label":"ElectionStatus","href":"/sdk/reference/enums/ElectionStatus","docId":"sdk/reference/enums/ElectionStatus"},{"type":"link","label":"ElectionStatusReady","href":"/sdk/reference/enums/ElectionStatusReady","docId":"sdk/reference/enums/ElectionStatusReady"},{"type":"link","label":"EnvOptions","href":"/sdk/reference/enums/EnvOptions","docId":"sdk/reference/enums/EnvOptions"},{"type":"link","label":"TransactionType","href":"/sdk/reference/enums/TransactionType","docId":"sdk/reference/enums/TransactionType"},{"type":"link","label":"TxType","href":"/sdk/reference/enums/TxType","docId":"sdk/reference/enums/TxType"},{"type":"link","label":"VoteSteps","href":"/sdk/reference/enums/VoteSteps","docId":"sdk/reference/enums/VoteSteps"}]},{"type":"category","label":"Interfaces","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"AccountMetadata","href":"/sdk/reference/interfaces/AccountMetadata","docId":"sdk/reference/interfaces/AccountMetadata"},{"type":"link","label":"AdminTx","href":"/sdk/reference/interfaces/AdminTx","docId":"sdk/reference/interfaces/AdminTx"},{"type":"link","label":"CircuitInputs","href":"/sdk/reference/interfaces/CircuitInputs","docId":"sdk/reference/interfaces/CircuitInputs"},{"type":"link","label":"CollectFaucetTx","href":"/sdk/reference/interfaces/CollectFaucetTx","docId":"sdk/reference/interfaces/CollectFaucetTx"},{"type":"link","label":"ElectionMetadata","href":"/sdk/reference/interfaces/ElectionMetadata","docId":"sdk/reference/interfaces/ElectionMetadata"},{"type":"link","label":"FetchElectionsParameters","href":"/sdk/reference/interfaces/FetchElectionsParameters","docId":"sdk/reference/interfaces/FetchElectionsParameters"},{"type":"link","label":"IAccount","href":"/sdk/reference/interfaces/IAccount","docId":"sdk/reference/interfaces/IAccount"},{"type":"link","label":"IAccountTransfersCountResponse","href":"/sdk/reference/interfaces/IAccountTransfersCountResponse","docId":"sdk/reference/interfaces/IAccountTransfersCountResponse"},{"type":"link","label":"IAccountsCountResponse","href":"/sdk/reference/interfaces/IAccountsCountResponse","docId":"sdk/reference/interfaces/IAccountsCountResponse"},{"type":"link","label":"IAccountsListResponse","href":"/sdk/reference/interfaces/IAccountsListResponse","docId":"sdk/reference/interfaces/IAccountsListResponse"},{"type":"link","label":"IApprovalElectionParameters","href":"/sdk/reference/interfaces/IApprovalElectionParameters","docId":"sdk/reference/interfaces/IApprovalElectionParameters"},{"type":"link","label":"IBlockTransactionsResponse","href":"/sdk/reference/interfaces/IBlockTransactionsResponse","docId":"sdk/reference/interfaces/IBlockTransactionsResponse"},{"type":"link","label":"IBudgetElectionParametersInfo","href":"/sdk/reference/interfaces/IBudgetElectionParametersInfo","docId":"sdk/reference/interfaces/IBudgetElectionParametersInfo"},{"type":"link","label":"IBudgetElectionParametersWithBudget","href":"/sdk/reference/interfaces/IBudgetElectionParametersWithBudget","docId":"sdk/reference/interfaces/IBudgetElectionParametersWithBudget"},{"type":"link","label":"IBudgetElectionParametersWithCensusWeight","href":"/sdk/reference/interfaces/IBudgetElectionParametersWithCensusWeight","docId":"sdk/reference/interfaces/IBudgetElectionParametersWithCensusWeight"},{"type":"link","label":"ICensus","href":"/sdk/reference/interfaces/ICensus","docId":"sdk/reference/interfaces/ICensus"},{"type":"link","label":"ICensus3CensusListResponse","href":"/sdk/reference/interfaces/ICensus3CensusListResponse","docId":"sdk/reference/interfaces/ICensus3CensusListResponse"},{"type":"link","label":"ICensus3CensusQueueResponse","href":"/sdk/reference/interfaces/ICensus3CensusQueueResponse","docId":"sdk/reference/interfaces/ICensus3CensusQueueResponse"},{"type":"link","label":"ICensus3CensusResponse","href":"/sdk/reference/interfaces/ICensus3CensusResponse","docId":"sdk/reference/interfaces/ICensus3CensusResponse"},{"type":"link","label":"ICensus3ServiceInfoResponse","href":"/sdk/reference/interfaces/ICensus3ServiceInfoResponse","docId":"sdk/reference/interfaces/ICensus3ServiceInfoResponse"},{"type":"link","label":"ICensus3StrategiesListResponse","href":"/sdk/reference/interfaces/ICensus3StrategiesListResponse","docId":"sdk/reference/interfaces/ICensus3StrategiesListResponse"},{"type":"link","label":"ICensus3StrategiesListResponsePaginated","href":"/sdk/reference/interfaces/ICensus3StrategiesListResponsePaginated","docId":"sdk/reference/interfaces/ICensus3StrategiesListResponsePaginated"},{"type":"link","label":"ICensus3StrategiesOperator","href":"/sdk/reference/interfaces/ICensus3StrategiesOperator","docId":"sdk/reference/interfaces/ICensus3StrategiesOperator"},{"type":"link","label":"ICensus3StrategiesOperatorsResponse","href":"/sdk/reference/interfaces/ICensus3StrategiesOperatorsResponse","docId":"sdk/reference/interfaces/ICensus3StrategiesOperatorsResponse"},{"type":"link","label":"ICensus3StrategyCreateResponse","href":"/sdk/reference/interfaces/ICensus3StrategyCreateResponse","docId":"sdk/reference/interfaces/ICensus3StrategyCreateResponse"},{"type":"link","label":"ICensus3StrategyEstimationQueueResponse","href":"/sdk/reference/interfaces/ICensus3StrategyEstimationQueueResponse","docId":"sdk/reference/interfaces/ICensus3StrategyEstimationQueueResponse"},{"type":"link","label":"ICensus3StrategyHoldersResponse","href":"/sdk/reference/interfaces/ICensus3StrategyHoldersResponse","docId":"sdk/reference/interfaces/ICensus3StrategyHoldersResponse"},{"type":"link","label":"ICensus3StrategyHoldersResponsePaginated","href":"/sdk/reference/interfaces/ICensus3StrategyHoldersResponsePaginated","docId":"sdk/reference/interfaces/ICensus3StrategyHoldersResponsePaginated"},{"type":"link","label":"ICensus3StrategyImportQueueResponse","href":"/sdk/reference/interfaces/ICensus3StrategyImportQueueResponse","docId":"sdk/reference/interfaces/ICensus3StrategyImportQueueResponse"},{"type":"link","label":"ICensus3StrategyToken","href":"/sdk/reference/interfaces/ICensus3StrategyToken","docId":"sdk/reference/interfaces/ICensus3StrategyToken"},{"type":"link","label":"ICensus3SupportedChain","href":"/sdk/reference/interfaces/ICensus3SupportedChain","docId":"sdk/reference/interfaces/ICensus3SupportedChain"},{"type":"link","label":"ICensus3TokenHolderResponse","href":"/sdk/reference/interfaces/ICensus3TokenHolderResponse","docId":"sdk/reference/interfaces/ICensus3TokenHolderResponse"},{"type":"link","label":"ICensus3TokenListResponse","href":"/sdk/reference/interfaces/ICensus3TokenListResponse","docId":"sdk/reference/interfaces/ICensus3TokenListResponse"},{"type":"link","label":"ICensus3TokenListResponsePaginated","href":"/sdk/reference/interfaces/ICensus3TokenListResponsePaginated","docId":"sdk/reference/interfaces/ICensus3TokenListResponsePaginated"},{"type":"link","label":"ICensus3TokenTypesResponse","href":"/sdk/reference/interfaces/ICensus3TokenTypesResponse","docId":"sdk/reference/interfaces/ICensus3TokenTypesResponse"},{"type":"link","label":"ICensus3ValidatePredicateChild","href":"/sdk/reference/interfaces/ICensus3ValidatePredicateChild","docId":"sdk/reference/interfaces/ICensus3ValidatePredicateChild"},{"type":"link","label":"ICensus3ValidatePredicateResponse","href":"/sdk/reference/interfaces/ICensus3ValidatePredicateResponse","docId":"sdk/reference/interfaces/ICensus3ValidatePredicateResponse"},{"type":"link","label":"ICensus3ValidatePredicateToken","href":"/sdk/reference/interfaces/ICensus3ValidatePredicateToken","docId":"sdk/reference/interfaces/ICensus3ValidatePredicateToken"},{"type":"link","label":"ICensusExportResponse","href":"/sdk/reference/interfaces/ICensusExportResponse","docId":"sdk/reference/interfaces/ICensusExportResponse"},{"type":"link","label":"ICensusImportResponse","href":"/sdk/reference/interfaces/ICensusImportResponse","docId":"sdk/reference/interfaces/ICensusImportResponse"},{"type":"link","label":"ICensusParticipant","href":"/sdk/reference/interfaces/ICensusParticipant","docId":"sdk/reference/interfaces/ICensusParticipant"},{"type":"link","label":"ICensusProofResponse","href":"/sdk/reference/interfaces/ICensusProofResponse","docId":"sdk/reference/interfaces/ICensusProofResponse"},{"type":"link","label":"ICensusPublishResponse","href":"/sdk/reference/interfaces/ICensusPublishResponse","docId":"sdk/reference/interfaces/ICensusPublishResponse"},{"type":"link","label":"IChainBlockInfoResponse","href":"/sdk/reference/interfaces/IChainBlockInfoResponse","docId":"sdk/reference/interfaces/IChainBlockInfoResponse"},{"type":"link","label":"IChainFeesListResponse","href":"/sdk/reference/interfaces/IChainFeesListResponse","docId":"sdk/reference/interfaces/IChainFeesListResponse"},{"type":"link","label":"IChainGetCircuitResponse","href":"/sdk/reference/interfaces/IChainGetCircuitResponse","docId":"sdk/reference/interfaces/IChainGetCircuitResponse"},{"type":"link","label":"IChainGetCostsResponse","href":"/sdk/reference/interfaces/IChainGetCostsResponse","docId":"sdk/reference/interfaces/IChainGetCostsResponse"},{"type":"link","label":"IChainGetInfoResponse","href":"/sdk/reference/interfaces/IChainGetInfoResponse","docId":"sdk/reference/interfaces/IChainGetInfoResponse"},{"type":"link","label":"IChainOrganizationCountResponse","href":"/sdk/reference/interfaces/IChainOrganizationCountResponse","docId":"sdk/reference/interfaces/IChainOrganizationCountResponse"},{"type":"link","label":"IChainOrganizationListResponse","href":"/sdk/reference/interfaces/IChainOrganizationListResponse","docId":"sdk/reference/interfaces/IChainOrganizationListResponse"},{"type":"link","label":"IChainOrganizationResponse","href":"/sdk/reference/interfaces/IChainOrganizationResponse","docId":"sdk/reference/interfaces/IChainOrganizationResponse"},{"type":"link","label":"IChainSubmitTxResponse","href":"/sdk/reference/interfaces/IChainSubmitTxResponse","docId":"sdk/reference/interfaces/IChainSubmitTxResponse"},{"type":"link","label":"IChainTxCountResponse","href":"/sdk/reference/interfaces/IChainTxCountResponse","docId":"sdk/reference/interfaces/IChainTxCountResponse"},{"type":"link","label":"IChainTxListResponse","href":"/sdk/reference/interfaces/IChainTxListResponse","docId":"sdk/reference/interfaces/IChainTxListResponse"},{"type":"link","label":"IChainTxReference","href":"/sdk/reference/interfaces/IChainTxReference","docId":"sdk/reference/interfaces/IChainTxReference"},{"type":"link","label":"IChainValidator","href":"/sdk/reference/interfaces/IChainValidator","docId":"sdk/reference/interfaces/IChainValidator"},{"type":"link","label":"IChainValidatorsListResponse","href":"/sdk/reference/interfaces/IChainValidatorsListResponse","docId":"sdk/reference/interfaces/IChainValidatorsListResponse"},{"type":"link","label":"IChoice","href":"/sdk/reference/interfaces/IChoice","docId":"sdk/reference/interfaces/IChoice"},{"type":"link","label":"ICspAuthStep","href":"/sdk/reference/interfaces/ICspAuthStep","docId":"sdk/reference/interfaces/ICspAuthStep"},{"type":"link","label":"ICspFinalStepResponse","href":"/sdk/reference/interfaces/ICspFinalStepResponse","docId":"sdk/reference/interfaces/ICspFinalStepResponse"},{"type":"link","label":"ICspInfoResponse","href":"/sdk/reference/interfaces/ICspInfoResponse","docId":"sdk/reference/interfaces/ICspInfoResponse"},{"type":"link","label":"ICspIntermediateStepResponse","href":"/sdk/reference/interfaces/ICspIntermediateStepResponse","docId":"sdk/reference/interfaces/ICspIntermediateStepResponse"},{"type":"link","label":"ICspSignResponse","href":"/sdk/reference/interfaces/ICspSignResponse","docId":"sdk/reference/interfaces/ICspSignResponse"},{"type":"link","label":"IElectionCreateResponse","href":"/sdk/reference/interfaces/IElectionCreateResponse","docId":"sdk/reference/interfaces/IElectionCreateResponse"},{"type":"link","label":"IElectionInfoResponse","href":"/sdk/reference/interfaces/IElectionInfoResponse","docId":"sdk/reference/interfaces/IElectionInfoResponse"},{"type":"link","label":"IElectionKeysResponse","href":"/sdk/reference/interfaces/IElectionKeysResponse","docId":"sdk/reference/interfaces/IElectionKeysResponse"},{"type":"link","label":"IElectionListFilter","href":"/sdk/reference/interfaces/IElectionListFilter","docId":"sdk/reference/interfaces/IElectionListFilter"},{"type":"link","label":"IElectionListResponse","href":"/sdk/reference/interfaces/IElectionListResponse","docId":"sdk/reference/interfaces/IElectionListResponse"},{"type":"link","label":"IElectionMode","href":"/sdk/reference/interfaces/IElectionMode","docId":"sdk/reference/interfaces/IElectionMode"},{"type":"link","label":"IElectionNextIdResponse","href":"/sdk/reference/interfaces/IElectionNextIdResponse","docId":"sdk/reference/interfaces/IElectionNextIdResponse"},{"type":"link","label":"IElectionParameters","href":"/sdk/reference/interfaces/IElectionParameters","docId":"sdk/reference/interfaces/IElectionParameters"},{"type":"link","label":"IElectionSummary","href":"/sdk/reference/interfaces/IElectionSummary","docId":"sdk/reference/interfaces/IElectionSummary"},{"type":"link","label":"IElectionType","href":"/sdk/reference/interfaces/IElectionType","docId":"sdk/reference/interfaces/IElectionType"},{"type":"link","label":"IElectionVote","href":"/sdk/reference/interfaces/IElectionVote","docId":"sdk/reference/interfaces/IElectionVote"},{"type":"link","label":"IElectionVoteListResponse","href":"/sdk/reference/interfaces/IElectionVoteListResponse","docId":"sdk/reference/interfaces/IElectionVoteListResponse"},{"type":"link","label":"IEncryptionKey","href":"/sdk/reference/interfaces/IEncryptionKey","docId":"sdk/reference/interfaces/IEncryptionKey"},{"type":"link","label":"IInvalidElectionParameters","href":"/sdk/reference/interfaces/IInvalidElectionParameters","docId":"sdk/reference/interfaces/IInvalidElectionParameters"},{"type":"link","label":"IMultiChoiceElectionParameters","href":"/sdk/reference/interfaces/IMultiChoiceElectionParameters","docId":"sdk/reference/interfaces/IMultiChoiceElectionParameters"},{"type":"link","label":"IPublishedElectionParameters","href":"/sdk/reference/interfaces/IPublishedElectionParameters","docId":"sdk/reference/interfaces/IPublishedElectionParameters"},{"type":"link","label":"IQuestion","href":"/sdk/reference/interfaces/IQuestion","docId":"sdk/reference/interfaces/IQuestion"},{"type":"link","label":"ITallyMode","href":"/sdk/reference/interfaces/ITallyMode","docId":"sdk/reference/interfaces/ITallyMode"},{"type":"link","label":"IVoteEncryptedPackage","href":"/sdk/reference/interfaces/IVoteEncryptedPackage","docId":"sdk/reference/interfaces/IVoteEncryptedPackage"},{"type":"link","label":"IVoteInfoResponse","href":"/sdk/reference/interfaces/IVoteInfoResponse","docId":"sdk/reference/interfaces/IVoteInfoResponse"},{"type":"link","label":"IVoteMode","href":"/sdk/reference/interfaces/IVoteMode","docId":"sdk/reference/interfaces/IVoteMode"},{"type":"link","label":"IVotePackage","href":"/sdk/reference/interfaces/IVotePackage","docId":"sdk/reference/interfaces/IVotePackage"},{"type":"link","label":"IVoteSubmitResponse","href":"/sdk/reference/interfaces/IVoteSubmitResponse","docId":"sdk/reference/interfaces/IVoteSubmitResponse"},{"type":"link","label":"IVoteType","href":"/sdk/reference/interfaces/IVoteType","docId":"sdk/reference/interfaces/IVoteType"},{"type":"link","label":"IZkProofResponse","href":"/sdk/reference/interfaces/IZkProofResponse","docId":"sdk/reference/interfaces/IZkProofResponse"},{"type":"link","label":"IZkSIKResponse","href":"/sdk/reference/interfaces/IZkSIKResponse","docId":"sdk/reference/interfaces/IZkSIKResponse"},{"type":"link","label":"MintTokensTx","href":"/sdk/reference/interfaces/MintTokensTx","docId":"sdk/reference/interfaces/MintTokensTx"},{"type":"link","label":"NewProcessTx","href":"/sdk/reference/interfaces/NewProcessTx","docId":"sdk/reference/interfaces/NewProcessTx"},{"type":"link","label":"Process","href":"/sdk/reference/interfaces/Process","docId":"sdk/reference/interfaces/Process"},{"type":"link","label":"Proof","href":"/sdk/reference/interfaces/Proof","docId":"sdk/reference/interfaces/Proof"},{"type":"link","label":"RegisterKeyTx","href":"/sdk/reference/interfaces/RegisterKeyTx","docId":"sdk/reference/interfaces/RegisterKeyTx"},{"type":"link","label":"SendTokensTx","href":"/sdk/reference/interfaces/SendTokensTx","docId":"sdk/reference/interfaces/SendTokensTx"},{"type":"link","label":"ServiceProperties","href":"/sdk/reference/interfaces/ServiceProperties","docId":"sdk/reference/interfaces/ServiceProperties"},{"type":"link","label":"SetAccountTx","href":"/sdk/reference/interfaces/SetAccountTx","docId":"sdk/reference/interfaces/SetAccountTx"},{"type":"link","label":"SetProcessTx","href":"/sdk/reference/interfaces/SetProcessTx","docId":"sdk/reference/interfaces/SetProcessTx"},{"type":"link","label":"SetTransactionCostsTx","href":"/sdk/reference/interfaces/SetTransactionCostsTx","docId":"sdk/reference/interfaces/SetTransactionCostsTx"},{"type":"link","label":"Tx","href":"/sdk/reference/interfaces/Tx","docId":"sdk/reference/interfaces/Tx"},{"type":"link","label":"VoteEnvelope","href":"/sdk/reference/interfaces/VoteEnvelope","docId":"sdk/reference/interfaces/VoteEnvelope"}]},{"type":"link","label":"Changelog","href":"/sdk/reference/changelog","docId":"sdk/reference/changelog"}],"href":"/sdk/reference/sdk-reference"}],"href":"/sdk/"},{"type":"category","label":"Vocdoni API","items":[{"type":"category","label":"Chain","items":[{"type":"link","label":"Estimate block to date","href":"/vocdoni-api/estimate-block-to-date","className":"api-method get","docId":"vocdoni-api/estimate-block-to-date"},{"type":"link","label":"Get block (by hash)","href":"/vocdoni-api/get-block-by-hash","className":"api-method get","docId":"vocdoni-api/get-block-by-hash"},{"type":"link","label":"Get block (by height)","href":"/vocdoni-api/get-block-by-height","className":"api-method get","docId":"vocdoni-api/get-block-by-height"},{"type":"link","label":"Transactions in a block","href":"/vocdoni-api/transactions-in-a-block","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/transactions-in-a-block"},{"type":"link","label":"Estimate date to block","href":"/vocdoni-api/estimate-date-to-block","className":"api-method get","docId":"vocdoni-api/estimate-date-to-block"},{"type":"link","label":"List all token fees","href":"/vocdoni-api/list-all-token-fees","className":"api-method get","docId":"vocdoni-api/list-all-token-fees"},{"type":"link","label":"List all token fees","href":"/vocdoni-api/list-all-token-fees","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-all-token-fees"},{"type":"link","label":"List all token fees by reference","href":"/vocdoni-api/list-all-token-fees-by-reference","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-all-token-fees-by-reference"},{"type":"link","label":"List all token fees by type","href":"/vocdoni-api/list-all-token-fees-by-type","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-all-token-fees-by-type"},{"type":"link","label":"Vochain information","href":"/vocdoni-api/vochain-information","className":"api-method get","docId":"vocdoni-api/vochain-information"},{"type":"link","label":"Circuit info","href":"/vocdoni-api/circuit-info","className":"api-method get","docId":"vocdoni-api/circuit-info"},{"type":"link","label":"Price factors information","href":"/vocdoni-api/price-factors-information","className":"api-method get","docId":"vocdoni-api/price-factors-information"},{"type":"link","label":"List organizations","href":"/vocdoni-api/list-organizations","className":"api-method get","docId":"vocdoni-api/list-organizations"},{"type":"link","label":"Count organizations","href":"/vocdoni-api/count-organizations","className":"api-method get","docId":"vocdoni-api/count-organizations"},{"type":"link","label":"List organizations (filtered)","href":"/vocdoni-api/list-organizations-filtered","className":"menu__list-item--deprecated api-method post","docId":"vocdoni-api/list-organizations-filtered"},{"type":"link","label":"List organizations","href":"/vocdoni-api/list-organizations","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-organizations"},{"type":"link","label":"List transactions","href":"/vocdoni-api/list-transactions","className":"api-method get","docId":"vocdoni-api/list-transactions"},{"type":"link","label":"Submit transaction","href":"/vocdoni-api/submit-transaction","className":"api-method post","docId":"vocdoni-api/submit-transaction"},{"type":"link","label":"Transaction costs","href":"/vocdoni-api/transaction-costs","className":"api-method get","docId":"vocdoni-api/transaction-costs"},{"type":"link","label":"Transactions count","href":"/vocdoni-api/transactions-count","className":"api-method get","docId":"vocdoni-api/transactions-count"},{"type":"link","label":"List transactions","href":"/vocdoni-api/list-transactions","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-transactions"},{"type":"link","label":"Transaction by index","href":"/vocdoni-api/transaction-by-index","className":"api-method get","docId":"vocdoni-api/transaction-by-index"},{"type":"link","label":"Transaction by hash","href":"/vocdoni-api/transaction-by-hash","className":"api-method get","docId":"vocdoni-api/transaction-by-hash"},{"type":"link","label":"Transaction by block height and index","href":"/vocdoni-api/transaction-by-block-height-and-index","className":"api-method get","docId":"vocdoni-api/transaction-by-block-height-and-index"},{"type":"link","label":"List all token transfers","href":"/vocdoni-api/list-all-token-transfers","className":"api-method get","docId":"vocdoni-api/list-all-token-transfers"},{"type":"link","label":"List validators","href":"/vocdoni-api/list-validators","className":"api-method get","docId":"vocdoni-api/list-validators"}],"collapsed":true,"collapsible":true,"href":"/vocdoni-api/chain"},{"type":"category","label":"Accounts","items":[{"type":"link","label":"List of the existing accounts","href":"/vocdoni-api/list-of-the-existing-accounts","className":"api-method get","docId":"vocdoni-api/list-of-the-existing-accounts"},{"type":"link","label":"Set account","href":"/vocdoni-api/set-account","className":"api-method post","docId":"vocdoni-api/set-account"},{"type":"link","label":"Total number of accounts","href":"/vocdoni-api/total-number-of-accounts","className":"api-method get","docId":"vocdoni-api/total-number-of-accounts"},{"type":"link","label":"List of the existing accounts","href":"/vocdoni-api/list-of-the-existing-accounts","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-of-the-existing-accounts"},{"type":"link","label":"List account token fees","href":"/vocdoni-api/list-account-token-fees","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-account-token-fees"},{"type":"link","label":"Total number of sent and received transactions","href":"/vocdoni-api/total-number-of-sent-and-received-transactions","className":"api-method get","docId":"vocdoni-api/total-number-of-sent-and-received-transactions"},{"type":"link","label":"List account received and sent token transfers","href":"/vocdoni-api/list-account-received-and-sent-token-transfers","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-account-received-and-sent-token-transfers"},{"type":"link","label":"Get account","href":"/vocdoni-api/get-account","className":"api-method get","docId":"vocdoni-api/get-account"},{"type":"link","label":"Get account","href":"/vocdoni-api/get-account","className":"api-method get","docId":"vocdoni-api/get-account"},{"type":"link","label":"Count organization elections","href":"/vocdoni-api/count-organization-elections","className":"api-method get","docId":"vocdoni-api/count-organization-elections"},{"type":"link","label":"List organization elections","href":"/vocdoni-api/list-organization-elections","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-organization-elections"},{"type":"link","label":"List organization elections by status","href":"/vocdoni-api/list-organization-elections-by-status","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-organization-elections-by-status"}],"collapsed":true,"collapsible":true,"href":"/vocdoni-api/accounts"},{"type":"category","label":"Elections","items":[{"type":"link","label":"List elections","href":"/vocdoni-api/list-elections","className":"api-method get","docId":"vocdoni-api/list-elections"},{"type":"link","label":"Create election","href":"/vocdoni-api/create-election","className":"api-method post","docId":"vocdoni-api/create-election"},{"type":"link","label":"List elections (filtered)","href":"/vocdoni-api/list-elections-filtered","className":"menu__list-item--deprecated api-method post","docId":"vocdoni-api/list-elections-filtered"},{"type":"link","label":"List elections (filtered)","href":"/vocdoni-api/list-elections-filtered","className":"menu__list-item--deprecated api-method post","docId":"vocdoni-api/list-elections-filtered"},{"type":"link","label":"Build an election ID","href":"/vocdoni-api/build-an-election-id","className":"api-method post","docId":"vocdoni-api/build-an-election-id"},{"type":"link","label":"List elections","href":"/vocdoni-api/list-elections","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-elections"},{"type":"link","label":"Compute election price","href":"/vocdoni-api/compute-election-price","className":"api-method post","docId":"vocdoni-api/compute-election-price"},{"type":"link","label":"Election information","href":"/vocdoni-api/election-information","className":"api-method get","docId":"vocdoni-api/election-information"},{"type":"link","label":"List encryption keys","href":"/vocdoni-api/list-encryption-keys","className":"api-method get","docId":"vocdoni-api/list-encryption-keys"},{"type":"link","label":"Election results","href":"/vocdoni-api/election-results","className":"api-method get","docId":"vocdoni-api/election-results"},{"type":"link","label":"Count election votes","href":"/vocdoni-api/count-election-votes","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/count-election-votes"},{"type":"link","label":"List election votes","href":"/vocdoni-api/list-election-votes","className":"menu__list-item--deprecated api-method get","docId":"vocdoni-api/list-election-votes"},{"type":"link","label":"Compute IPFS CIDv1 of file","href":"/vocdoni-api/compute-ipfs-ci-dv-1-of-file","className":"api-method post","docId":"vocdoni-api/compute-ipfs-ci-dv-1-of-file"}],"collapsed":true,"collapsible":true,"href":"/vocdoni-api/elections"},{"type":"category","label":"Censuses","items":[{"type":"link","label":"Export census database","href":"/vocdoni-api/export-census-database","className":"api-method get","docId":"vocdoni-api/export-census-database"},{"type":"link","label":"Export census database","href":"/vocdoni-api/export-census-database","className":"api-method get","docId":"vocdoni-api/export-census-database"},{"type":"link","label":"Import census database","href":"/vocdoni-api/import-census-database","className":"api-method post","docId":"vocdoni-api/import-census-database"},{"type":"link","label":"Import census database","href":"/vocdoni-api/import-census-database","className":"api-method get","docId":"vocdoni-api/import-census-database"},{"type":"link","label":"List all census references","href":"/vocdoni-api/list-all-census-references","className":"api-method get","docId":"vocdoni-api/list-all-census-references"},{"type":"link","label":"Delete census","href":"/vocdoni-api/delete-census","className":"api-method delete","docId":"vocdoni-api/delete-census"},{"type":"link","label":"Check census publish status","href":"/vocdoni-api/check-census-publish-status","className":"api-method get","docId":"vocdoni-api/check-census-publish-status"},{"type":"link","label":"Export census","href":"/vocdoni-api/export-census","className":"api-method get","docId":"vocdoni-api/export-census"},{"type":"link","label":"Import census","href":"/vocdoni-api/import-census","className":"api-method post","docId":"vocdoni-api/import-census"},{"type":"link","label":"Add participants to census","href":"/vocdoni-api/add-participants-to-census","className":"api-method post","docId":"vocdoni-api/add-participants-to-census"},{"type":"link","label":"Prove key to census","href":"/vocdoni-api/prove-key-to-census","className":"api-method get","docId":"vocdoni-api/prove-key-to-census"},{"type":"link","label":"Publish census","href":"/vocdoni-api/publish-census","className":"api-method post","docId":"vocdoni-api/publish-census"},{"type":"link","label":"Publish census","href":"/vocdoni-api/publish-census","className":"api-method post","docId":"vocdoni-api/publish-census"},{"type":"link","label":"Publish census","href":"/vocdoni-api/publish-census","className":"api-method post","docId":"vocdoni-api/publish-census"},{"type":"link","label":"Census Merkle Root","href":"/vocdoni-api/census-merkle-root","className":"api-method get","docId":"vocdoni-api/census-merkle-root"},{"type":"link","label":"Census size","href":"/vocdoni-api/census-size","className":"api-method get","docId":"vocdoni-api/census-size"},{"type":"link","label":"Get type of census","href":"/vocdoni-api/get-type-of-census","className":"api-method get","docId":"vocdoni-api/get-type-of-census"},{"type":"link","label":"Verify merkle proof","href":"/vocdoni-api/verify-merkle-proof","className":"api-method post","docId":"vocdoni-api/verify-merkle-proof"},{"type":"link","label":"Census total weight","href":"/vocdoni-api/census-total-weight","className":"api-method get","docId":"vocdoni-api/census-total-weight"},{"type":"link","label":"Create a new census","href":"/vocdoni-api/create-a-new-census","className":"api-method post","docId":"vocdoni-api/create-a-new-census"}],"collapsed":true,"collapsible":true,"href":"/vocdoni-api/censuses"},{"type":"category","label":"Votes","items":[{"type":"link","label":"List votes","href":"/vocdoni-api/list-votes","className":"api-method get","docId":"vocdoni-api/list-votes"},{"type":"link","label":"Submit a vote","href":"/vocdoni-api/submit-a-vote","className":"api-method post","docId":"vocdoni-api/submit-a-vote"},{"type":"link","label":"Verify vote","href":"/vocdoni-api/verify-vote","className":"api-method get","docId":"vocdoni-api/verify-vote"},{"type":"link","label":"Get vote","href":"/vocdoni-api/get-vote","className":"api-method get","docId":"vocdoni-api/get-vote"}],"collapsed":true,"collapsible":true,"href":"/vocdoni-api/votes"},{"type":"category","label":"Wallet","items":[{"type":"link","label":"Add account","href":"/vocdoni-api/add-account","className":"api-method post","docId":"vocdoni-api/add-account"},{"type":"link","label":"Set wallet account","href":"/vocdoni-api/set-wallet-account","className":"api-method get","docId":"vocdoni-api/set-wallet-account"},{"type":"link","label":"Create election for wallet","href":"/vocdoni-api/create-election-for-wallet","className":"api-method post","docId":"vocdoni-api/create-election-for-wallet"},{"type":"link","label":"Transfer tokens","href":"/vocdoni-api/transfer-tokens","className":"api-method get","docId":"vocdoni-api/transfer-tokens"}],"collapsed":true,"collapsible":true,"href":"/vocdoni-api/wallet"},{"type":"category","label":"SIK","items":[{"type":"link","label":"List of valid SIK roots","href":"/vocdoni-api/list-of-valid-sik-roots","className":"api-method get","docId":"vocdoni-api/list-of-valid-sik-roots"},{"type":"link","label":"List of valid SIK roots","href":"/vocdoni-api/list-of-valid-sik-roots","className":"api-method get","docId":"vocdoni-api/list-of-valid-sik-roots"},{"type":"link","label":"Returns if the address provided has a valid SIK","href":"/vocdoni-api/returns-if-the-address-provided-has-a-valid-sik","className":"api-method get","docId":"vocdoni-api/returns-if-the-address-provided-has-a-valid-sik"}],"collapsed":true,"collapsible":true,"href":"/vocdoni-api/sik"},{"type":"category","label":"Indexer","items":[{"type":"link","label":"Exports the indexer database","href":"/vocdoni-api/exports-the-indexer-database","className":"api-method get","docId":"vocdoni-api/exports-the-indexer-database"}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true,"href":"/vocdoni-api/vocdoni-api"},{"type":"category","label":"UI Components","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Account Components","href":"/ui-components/account","docId":"ui-components/account"},{"type":"link","label":"Election Components","href":"/ui-components/election","docId":"ui-components/election"},{"type":"link","label":"Layout Components","href":"/ui-components/layout","docId":"ui-components/layout"},{"type":"link","label":"Organization Components","href":"/ui-components/organization","docId":"ui-components/organization"},{"type":"link","label":"React Providers","href":"/ui-components/react-providers","docId":"ui-components/react-providers"}],"href":"/ui-components/"},{"type":"category","label":"Vocdoni Protocol","collapsible":true,"collapsed":true,"items":[{"type":"category","label":"Anonymous Voting","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"CSP Blind Signatures","href":"/protocol/anonymity/blind-signatures","docId":"protocol/anonymity/blind-signatures"},{"type":"link","label":"On-Chain Census Anonymity","href":"/protocol/anonymity/on-chain","docId":"protocol/anonymity/on-chain"},{"type":"link","label":"Off-Chain Tree ZK Census Proof","href":"/protocol/anonymity/zk-census-proof","docId":"protocol/anonymity/zk-census-proof"}],"href":"/protocol/anonymity/"},{"type":"link","label":"Ballot Protocol","href":"/protocol/ballot-protocol","docId":"protocol/ballot-protocol"},{"type":"category","label":"The Census","collapsible":true,"collapsed":true,"items":[{"type":"category","label":"Off-Chain CSP Census","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Blind-CSP API","href":"/protocol/census/off-chain-csp/api","docId":"protocol/census/off-chain-csp/api"}],"href":"/protocol/census/off-chain-csp/"},{"type":"link","label":"Off-Chain Tree Census","href":"/protocol/census/off-chain-tree","docId":"protocol/census/off-chain-tree"},{"type":"category","label":"On-Chain Census","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Census3 Service","href":"/protocol/census/on-chain/census3","docId":"protocol/census/on-chain/census3"},{"type":"link","label":"ERC-20 Token Storage Proofs","href":"/protocol/census/on-chain/eth-storage-proofs","docId":"protocol/census/on-chain/eth-storage-proofs"}],"href":"/protocol/census/on-chain/"}],"href":"/protocol/census/"},{"type":"category","label":"Data Schemes","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Election Metadata","href":"/protocol/data-schemes/election","docId":"protocol/data-schemes/election"},{"type":"link","label":"Organization Metadata","href":"/protocol/data-schemes/organization","docId":"protocol/data-schemes/organization"},{"type":"link","label":"Vote Data","href":"/protocol/data-schemes/vote","docId":"protocol/data-schemes/vote"}],"href":"/protocol/data-schemes/"}],"href":"/protocol/"},{"type":"category","label":"Development Guidelines","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"How We Work","href":"/development-guidelines/how-we-work","docId":"development-guidelines/how-we-work"},{"type":"link","label":"Readme Template","href":"/development-guidelines/readme-template","docId":"development-guidelines/readme-template"}],"href":"/development-guidelines/"}]},"docs":{"development-guidelines/how-we-work":{"id":"development-guidelines/how-we-work","title":"How We Work","description":"Ideals","sidebar":"defaultSidebar"},"development-guidelines/index":{"id":"development-guidelines/index","title":"Development Guidelines","description":"These guidelines serve both as an internal guide for our team and an overview for contributors. While we welcome contributions from the community, we do not track all of our issues on Github and we may not have the resources to onboard developers and review complex pull requests. That being said, there are multiple ways you can get involved with the project.","sidebar":"defaultSidebar"},"development-guidelines/readme-template":{"id":"development-guidelines/readme-template","title":"Readme Template","description":"Please use this template when creating readme files for new Vocdoni repositories. This is meant to serve as a guide, rather than a rigid rule; adapt it as necessary. Replace all the instances of REPO_NAME with the name of your repository, and fill-in the contents of every `\\\\[bracketed\\\\] item. If you add new sections, make sure to update the table of contents.","sidebar":"defaultSidebar"},"intro":{"id":"intro","title":"Getting Started","description":"Vocdoni is the most open, secure, and universally verifiable voting protocol available, used by hundreds of organizations worldwide.","sidebar":"defaultSidebar"},"protocol/anonymity/anonymity":{"id":"protocol/anonymity/anonymity","title":"Anonymous Voting","description":"- Anonymous voting is a type of voting process where the users can vote without revealing their identity, by proving that they are accepted as valid voters. Currently we have 2 types of anonymous voting schemes:","sidebar":"defaultSidebar"},"protocol/anonymity/blind-signatures":{"id":"protocol/anonymity/blind-signatures","title":"CSP Blind Signatures","description":"In contrast to the standard off-chain-tree census in which an anonymous proof can be generated in one step based off of a Merkle tree of voters, Credential service provider censuses require more interaction between voters and the CSP. With CSP voting, each voter needs to request a proof from the election CSP, providing personal information to generate this proof, and recieving a CSP signature that represents their eligibility.","sidebar":"defaultSidebar"},"protocol/anonymity/on-chain":{"id":"protocol/anonymity/on-chain","title":"On-Chain Census Anonymity","description":"On-chain cenuses created with the Census3 Service derive their contents from a public set of holders of a given token (or set of tokens) on the Ethereum blockchain. This information is turned into a census by generating a Merkle Proof on that set of data. This Merkle Proof is similar to that used for a typical off-chain tree census, and the same sort of ZK Census Proof can be used to compute voter validation anonymously.","sidebar":"defaultSidebar"},"protocol/anonymity/zk-census-proof":{"id":"protocol/anonymity/zk-census-proof","title":"Off-Chain Tree ZK Census Proof","description":"This document is divided in two sections:","sidebar":"defaultSidebar"},"protocol/ballot-protocol":{"id":"protocol/ballot-protocol","title":"Ballot Protocol","description":"Ballot protocol","sidebar":"defaultSidebar"},"protocol/census/census":{"id":"protocol/census/census","title":"The Census","description":"In Vocdoni, a census of identities can be represented in one of three ways. For Ethereum-based processes, in which eligible voters are represented by Ethereum addresses holding a specific token, an on-chain] (ERC-20) census is used. In cases where a central authority wants to manually validate each voter at the time of voting, [off-chain credential service provider is used. For all other voting processes (organizations that are not represented as DAOs), an off-chain tree census is used.","sidebar":"defaultSidebar"},"protocol/census/off-chain-csp/api":{"id":"protocol/census/off-chain-csp/api","title":"Blind-CSP API","description":"The Blind CSP API is a minimalistic HTTP(s) API that implements methods for authenticating users with the CSP.","sidebar":"defaultSidebar"},"protocol/census/off-chain-csp/off-chain-csp":{"id":"protocol/census/off-chain-csp/off-chain-csp","title":"Off-Chain CSP Census","description":"A census approach based on Credential Service Providers (CSPs) allows organizations to validate users manually and based off of any arbitrary criteria. Rather than a static census published before-hand, CSP census allows each user to be evaluated for voting eligibility individually, throughout the duration of the voting process.","sidebar":"defaultSidebar"},"protocol/census/off-chain-tree":{"id":"protocol/census/off-chain-tree","title":"Off-Chain Tree Census","description":"The census itself is represented as a binary Merkle Tree, where the leaves of the tree contain the public keys of all eligible voters, hashed.","sidebar":"defaultSidebar"},"protocol/census/on-chain/census3":{"id":"protocol/census/on-chain/census3","title":"Census3 Service","description":"The Census3 Service is an API service which provides an easy way to create censuses for elections with holders of a single token or a combination of them. This is a wrapper of the on-chain census design and enables integrators to use on-chain censuses without manually registering tokens or generating storage proofs.","sidebar":"defaultSidebar"},"protocol/census/on-chain/eth-storage-proofs":{"id":"protocol/census/on-chain/eth-storage-proofs","title":"ERC-20 Token Storage Proofs","description":"The solution for on-chain censuses used to be based on the use of ERC-20 Token Storage Proofs. We have since created the Census3 Service, which is the preferred method for creating token-based censuses, but the use of Token Storage Proofs is still possible.","sidebar":"defaultSidebar"},"protocol/census/on-chain/on-chain":{"id":"protocol/census/on-chain/on-chain","title":"On-Chain Census","description":"An on-chain census is one which is dependent on the status of the Ethereum blockchain at a given point in time. This census type enables the set of eligible voters to be derived from the token holder balances for some ERC-20 Ethereum token, weighted according to token balances. The ideal use-case for such a census is an organization whose members are represented as holders of some token, such as a DAO.","sidebar":"defaultSidebar"},"protocol/data-schemes/data-schemes":{"id":"protocol/data-schemes/data-schemes","title":"Data Schemes","description":"When it comes to voting processes, there are two main types of data storage at the protocol-level: protocol-level data stored on the Vochain and readable metadata like election descriptions stored on IPFS.","sidebar":"defaultSidebar"},"protocol/data-schemes/election":{"id":"protocol/data-schemes/election","title":"Election Metadata","description":"Election metadata provides the human-readable data associated with an election.","sidebar":"defaultSidebar"},"protocol/data-schemes/organization":{"id":"protocol/data-schemes/organization","title":"Organization Metadata","description":"The metadata of an organization provides human readable content, featuring names, descriptions, images, the list of available processes and more.","sidebar":"defaultSidebar"},"protocol/data-schemes/vote":{"id":"protocol/data-schemes/vote","title":"Vote Data","description":"Vote Envelope","sidebar":"defaultSidebar"},"protocol/index":{"id":"protocol/index","title":"Vocdoni Protocol","description":"Introduction","sidebar":"defaultSidebar"},"sdk/index":{"id":"sdk/index","title":"Vocdoni SDK","description":"The Vocdoni SDK is a convenient way to interact with the Vocdoni Protocol through the API, allowing anyone to create, manage and participate in voting processes and collective decision-making. The SDK is the primary mode by which developers should interface with Vocdoni - if you think the SDK is missing functionality you need, please get in touch.","sidebar":"defaultSidebar"},"sdk/integration-details/census-types/census-types":{"id":"sdk/integration-details/census-types/census-types","title":"Census Types","description":"A census is a list of voters who are eligible to vote in a given election. There are multiple ways to define a census with Vocdoni, each with different privacy and verifiability considerations. The census types are defined and documented at a protocol level and include on-chain, off-chain Merkle tree, and off-chain Credential Service Provider.","sidebar":"defaultSidebar"},"sdk/integration-details/census-types/off-chain-csp":{"id":"sdk/integration-details/census-types/off-chain-csp","title":"Off-chain Credential Service Provider","description":"A Credential Service Provider is an external component that serves as a validator for the identities of voters. An example of this could be a service set up by a municipal government that validates if a given voter is registered, or a forum that validates if a given voter has an active account. With this type of census, voters show proof of registry and receive a cryptographic package from the CSP allowing them to cast a vote.","sidebar":"defaultSidebar"},"sdk/integration-details/census-types/off-chain-tree":{"id":"sdk/integration-details/census-types/off-chain-tree","title":"Off-chain Merkle Tree","description":"This is the most basic census type, is the default when creating an election, and is the one used in the SDK tutorial. In this scheme, the census is essentially a basic list of voter, with some behind-the-scenes cryptography. With an off-train tree census, voters are added as wallet addresses using census.add().","sidebar":"defaultSidebar"},"sdk/integration-details/census-types/on-chain/complex-census":{"id":"sdk/integration-details/census-types/on-chain/complex-census","title":"Complex Census","description":"The census3 service makes it easy to create a census based off of the balance holders of a token taken to represent an organization. It is possible, however, to create a token-based census with more complex logic, incorporating balance information from multiple tokens at once.","sidebar":"defaultSidebar"},"sdk/integration-details/census-types/on-chain/on-chain":{"id":"sdk/integration-details/census-types/on-chain/on-chain","title":"On-chain Token-Based Census","description":"An on-chain census is one whose voters are defined by holding tokens on the Ethereum blockchain. Currently the following token types are supported:","sidebar":"defaultSidebar"},"sdk/integration-details/integration-details":{"id":"sdk/integration-details/integration-details","title":"Integration Details","description":"The tutorial covers the basics, but here are some details you\'ll need to consider when integrating the Vocdoni SDK into your application.","sidebar":"defaultSidebar"},"sdk/integration-details/vocdoni-tokens":{"id":"sdk/integration-details/vocdoni-tokens","title":"Vocdoni Tokens","description":"Behind-the-scenes, Vocdoni is powered by a custom blockchain. This component provides universal verifiability, but it also introduces some complexity. In order to distribute workload and verify transactions, our blockchain uses a digital \\"currency\\" of Vocdoni tokens that have no real-world value but help with spam reduction and self-sustainability. Actions that update data on the blockchain, such as creating an election, incur a \\"cost.\\" Integrators are responsible for ensuring that accounts creating elections have a sufficient balance of tokens.","sidebar":"defaultSidebar"},"sdk/integration-details/voting-types/approval":{"id":"sdk/integration-details/voting-types/approval","title":"Approval Voting","description":"Approval voting is a voting system where voters indicate their support for multiple candidates or options on the ballot in the form of a binary (yes/no) decision. Instead of selecting just one preferred choice, voters can approve or disapprove of each candidate.","sidebar":"defaultSidebar"},"sdk/integration-details/voting-types/quadratic":{"id":"sdk/integration-details/voting-types/quadratic","title":"Quadratic voting","description":"Quadratic voting is a voting mechanism that allows individuals to express their preferences on different issues with","sidebar":"defaultSidebar"},"sdk/integration-details/voting-types/ranked":{"id":"sdk/integration-details/voting-types/ranked","title":"Ranked Voting","description":"Ranked voting, also known as preferential voting or ranked-choice voting (RCV), is an electoral system where voters rank","sidebar":"defaultSidebar"},"sdk/integration-details/voting-types/single-choice":{"id":"sdk/integration-details/voting-types/single-choice","title":"Single Choice Voting","description":"An election with a single-choice result, also known as First-past-the-post voting (FPTP or FPP) or informally called","sidebar":"defaultSidebar"},"sdk/integration-details/voting-types/voting-types":{"id":"sdk/integration-details/voting-types/voting-types","title":"Voting Types","description":"In this section, we will provide a brief overview of the different types of voting supported by the Vocdoni protocol and","sidebar":"defaultSidebar"},"sdk/integration-details/voting-types/weighted":{"id":"sdk/integration-details/voting-types/weighted","title":"Weighted voting","description":"Weighted voting is a voting system where each voter is assigned a specific weight or value that reflects their relative influence or importance in the decision-making process.","sidebar":"defaultSidebar"},"sdk/reference/changelog":{"id":"sdk/reference/changelog","title":"Changelog","description":"All notable changes to this project will be documented in this file.","sidebar":"defaultSidebar"},"sdk/reference/classes/Account":{"id":"sdk/reference/classes/Account","title":"Account","description":"@vocdoni/sdk / Account","sidebar":"defaultSidebar"},"sdk/reference/classes/AccountAPI":{"id":"sdk/reference/classes/AccountAPI","title":"AccountAPI","description":"@vocdoni/sdk / AccountAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/AccountService":{"id":"sdk/reference/classes/AccountService","title":"AccountService","description":"@vocdoni/sdk / AccountService","sidebar":"defaultSidebar"},"sdk/reference/classes/AnonymousService":{"id":"sdk/reference/classes/AnonymousService","title":"AnonymousService","description":"@vocdoni/sdk / AnonymousService","sidebar":"defaultSidebar"},"sdk/reference/classes/AnonymousVote":{"id":"sdk/reference/classes/AnonymousVote","title":"AnonymousVote","description":"@vocdoni/sdk / AnonymousVote","sidebar":"defaultSidebar"},"sdk/reference/classes/ApprovalElection":{"id":"sdk/reference/classes/ApprovalElection","title":"ApprovalElection","description":"@vocdoni/sdk / ApprovalElection","sidebar":"defaultSidebar"},"sdk/reference/classes/ArchivedElection":{"id":"sdk/reference/classes/ArchivedElection","title":"ArchivedElection","description":"@vocdoni/sdk / ArchivedElection","sidebar":"defaultSidebar"},"sdk/reference/classes/BudgetElection":{"id":"sdk/reference/classes/BudgetElection","title":"BudgetElection","description":"@vocdoni/sdk / BudgetElection","sidebar":"defaultSidebar"},"sdk/reference/classes/Census":{"id":"sdk/reference/classes/Census","title":"Census","description":"@vocdoni/sdk / Census","sidebar":"defaultSidebar"},"sdk/reference/classes/Census3CensusAPI":{"id":"sdk/reference/classes/Census3CensusAPI","title":"Census3CensusAPI","description":"@vocdoni/sdk / Census3CensusAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/Census3ServiceAPI":{"id":"sdk/reference/classes/Census3ServiceAPI","title":"Census3ServiceAPI","description":"@vocdoni/sdk / Census3ServiceAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/Census3StrategyAPI":{"id":"sdk/reference/classes/Census3StrategyAPI","title":"Census3StrategyAPI","description":"@vocdoni/sdk / Census3StrategyAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/Census3TokenAPI":{"id":"sdk/reference/classes/Census3TokenAPI","title":"Census3TokenAPI","description":"@vocdoni/sdk / Census3TokenAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/CensusAPI":{"id":"sdk/reference/classes/CensusAPI","title":"CensusAPI","description":"@vocdoni/sdk / CensusAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/CensusService":{"id":"sdk/reference/classes/CensusService","title":"CensusService","description":"@vocdoni/sdk / CensusService","sidebar":"defaultSidebar"},"sdk/reference/classes/ChainAPI":{"id":"sdk/reference/classes/ChainAPI","title":"ChainAPI","description":"@vocdoni/sdk / ChainAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/ChainService":{"id":"sdk/reference/classes/ChainService","title":"ChainService","description":"@vocdoni/sdk / ChainService","sidebar":"defaultSidebar"},"sdk/reference/classes/CspAPI":{"id":"sdk/reference/classes/CspAPI","title":"CspAPI","description":"@vocdoni/sdk / CspAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/CspCensus":{"id":"sdk/reference/classes/CspCensus","title":"CspCensus","description":"@vocdoni/sdk / CspCensus","sidebar":"defaultSidebar"},"sdk/reference/classes/CspService":{"id":"sdk/reference/classes/CspService","title":"CspService","description":"@vocdoni/sdk / CspService","sidebar":"defaultSidebar"},"sdk/reference/classes/CspVote":{"id":"sdk/reference/classes/CspVote","title":"CspVote","description":"@vocdoni/sdk / CspVote","sidebar":"defaultSidebar"},"sdk/reference/classes/Election":{"id":"sdk/reference/classes/Election","title":"Election","description":"@vocdoni/sdk / Election","sidebar":"defaultSidebar"},"sdk/reference/classes/ElectionAPI":{"id":"sdk/reference/classes/ElectionAPI","title":"ElectionAPI","description":"@vocdoni/sdk / ElectionAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/ElectionService":{"id":"sdk/reference/classes/ElectionService","title":"ElectionService","description":"@vocdoni/sdk / ElectionService","sidebar":"defaultSidebar"},"sdk/reference/classes/FaucetAPI":{"id":"sdk/reference/classes/FaucetAPI","title":"FaucetAPI","description":"@vocdoni/sdk / FaucetAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/FaucetService":{"id":"sdk/reference/classes/FaucetService","title":"FaucetService","description":"@vocdoni/sdk / FaucetService","sidebar":"defaultSidebar"},"sdk/reference/classes/FileAPI":{"id":"sdk/reference/classes/FileAPI","title":"FileAPI","description":"@vocdoni/sdk / FileAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/FileService":{"id":"sdk/reference/classes/FileService","title":"FileService","description":"@vocdoni/sdk / FileService","sidebar":"defaultSidebar"},"sdk/reference/classes/InvalidElection":{"id":"sdk/reference/classes/InvalidElection","title":"InvalidElection","description":"@vocdoni/sdk / InvalidElection","sidebar":"defaultSidebar"},"sdk/reference/classes/MultiChoiceElection":{"id":"sdk/reference/classes/MultiChoiceElection","title":"MultiChoiceElection","description":"@vocdoni/sdk / MultiChoiceElection","sidebar":"defaultSidebar"},"sdk/reference/classes/OffchainCensus":{"id":"sdk/reference/classes/OffchainCensus","title":"OffchainCensus","description":"@vocdoni/sdk / OffchainCensus","sidebar":"defaultSidebar"},"sdk/reference/classes/PlainCensus":{"id":"sdk/reference/classes/PlainCensus","title":"PlainCensus","description":"@vocdoni/sdk / PlainCensus","sidebar":"defaultSidebar"},"sdk/reference/classes/PublishedCensus":{"id":"sdk/reference/classes/PublishedCensus","title":"PublishedCensus","description":"@vocdoni/sdk / PublishedCensus","sidebar":"defaultSidebar"},"sdk/reference/classes/PublishedElection":{"id":"sdk/reference/classes/PublishedElection","title":"PublishedElection","description":"@vocdoni/sdk / PublishedElection","sidebar":"defaultSidebar"},"sdk/reference/classes/Service":{"id":"sdk/reference/classes/Service","title":"Service","description":"@vocdoni/sdk / Service","sidebar":"defaultSidebar"},"sdk/reference/classes/StrategyCensus":{"id":"sdk/reference/classes/StrategyCensus","title":"StrategyCensus","description":"@vocdoni/sdk / StrategyCensus","sidebar":"defaultSidebar"},"sdk/reference/classes/TokenCensus":{"id":"sdk/reference/classes/TokenCensus","title":"TokenCensus","description":"@vocdoni/sdk / TokenCensus","sidebar":"defaultSidebar"},"sdk/reference/classes/UnpublishedElection":{"id":"sdk/reference/classes/UnpublishedElection","title":"UnpublishedElection","description":"@vocdoni/sdk / UnpublishedElection","sidebar":"defaultSidebar"},"sdk/reference/classes/VocdoniCensus3Client":{"id":"sdk/reference/classes/VocdoniCensus3Client","title":"VocdoniCensus3Client","description":"@vocdoni/sdk / VocdoniCensus3Client","sidebar":"defaultSidebar"},"sdk/reference/classes/VocdoniSDKClient":{"id":"sdk/reference/classes/VocdoniSDKClient","title":"VocdoniSDKClient","description":"@vocdoni/sdk / VocdoniSDKClient","sidebar":"defaultSidebar"},"sdk/reference/classes/Vote":{"id":"sdk/reference/classes/Vote","title":"Vote","description":"@vocdoni/sdk / Vote","sidebar":"defaultSidebar"},"sdk/reference/classes/VoteAPI":{"id":"sdk/reference/classes/VoteAPI","title":"VoteAPI","description":"@vocdoni/sdk / VoteAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/VoteService":{"id":"sdk/reference/classes/VoteService","title":"VoteService","description":"@vocdoni/sdk / VoteService","sidebar":"defaultSidebar"},"sdk/reference/classes/WalletAPI":{"id":"sdk/reference/classes/WalletAPI","title":"WalletAPI","description":"@vocdoni/sdk / WalletAPI","sidebar":"defaultSidebar"},"sdk/reference/classes/WeightedCensus":{"id":"sdk/reference/classes/WeightedCensus","title":"WeightedCensus","description":"@vocdoni/sdk / WeightedCensus","sidebar":"defaultSidebar"},"sdk/reference/classes/ZkAPI":{"id":"sdk/reference/classes/ZkAPI","title":"ZkAPI","description":"@vocdoni/sdk / ZkAPI","sidebar":"defaultSidebar"},"sdk/reference/enums/CensusOrigin":{"id":"sdk/reference/enums/CensusOrigin","title":"CensusOrigin","description":"@vocdoni/sdk / CensusOrigin","sidebar":"defaultSidebar"},"sdk/reference/enums/CensusType":{"id":"sdk/reference/enums/CensusType","title":"CensusType","description":"@vocdoni/sdk / CensusType","sidebar":"defaultSidebar"},"sdk/reference/enums/CensusTypeEnum":{"id":"sdk/reference/enums/CensusTypeEnum","title":"CensusTypeEnum","description":"@vocdoni/sdk / CensusTypeEnum","sidebar":"defaultSidebar"},"sdk/reference/enums/CspProofType":{"id":"sdk/reference/enums/CspProofType","title":"CspProofType","description":"@vocdoni/sdk / CspProofType","sidebar":"defaultSidebar"},"sdk/reference/enums/ElectionCreationSteps":{"id":"sdk/reference/enums/ElectionCreationSteps","title":"ElectionCreationSteps","description":"@vocdoni/sdk / ElectionCreationSteps","sidebar":"defaultSidebar"},"sdk/reference/enums/ElectionResultsTypeNames":{"id":"sdk/reference/enums/ElectionResultsTypeNames","title":"ElectionResultsTypeNames","description":"@vocdoni/sdk / ElectionResultsTypeNames","sidebar":"defaultSidebar"},"sdk/reference/enums/ElectionStatus":{"id":"sdk/reference/enums/ElectionStatus","title":"ElectionStatus","description":"@vocdoni/sdk / ElectionStatus","sidebar":"defaultSidebar"},"sdk/reference/enums/ElectionStatusReady":{"id":"sdk/reference/enums/ElectionStatusReady","title":"ElectionStatusReady","description":"@vocdoni/sdk / ElectionStatusReady","sidebar":"defaultSidebar"},"sdk/reference/enums/EnvOptions":{"id":"sdk/reference/enums/EnvOptions","title":"EnvOptions","description":"@vocdoni/sdk / EnvOptions","sidebar":"defaultSidebar"},"sdk/reference/enums/TransactionType":{"id":"sdk/reference/enums/TransactionType","title":"TransactionType","description":"@vocdoni/sdk / TransactionType","sidebar":"defaultSidebar"},"sdk/reference/enums/TxType":{"id":"sdk/reference/enums/TxType","title":"TxType","description":"@vocdoni/sdk / TxType","sidebar":"defaultSidebar"},"sdk/reference/enums/VoteSteps":{"id":"sdk/reference/enums/VoteSteps","title":"VoteSteps","description":"@vocdoni/sdk / VoteSteps","sidebar":"defaultSidebar"},"sdk/reference/interfaces/AccountMetadata":{"id":"sdk/reference/interfaces/AccountMetadata","title":"AccountMetadata","description":"@vocdoni/sdk / AccountMetadata","sidebar":"defaultSidebar"},"sdk/reference/interfaces/AdminTx":{"id":"sdk/reference/interfaces/AdminTx","title":"AdminTx","description":"@vocdoni/sdk / AdminTx","sidebar":"defaultSidebar"},"sdk/reference/interfaces/CircuitInputs":{"id":"sdk/reference/interfaces/CircuitInputs","title":"CircuitInputs","description":"@vocdoni/sdk / CircuitInputs","sidebar":"defaultSidebar"},"sdk/reference/interfaces/CollectFaucetTx":{"id":"sdk/reference/interfaces/CollectFaucetTx","title":"CollectFaucetTx","description":"@vocdoni/sdk / CollectFaucetTx","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ElectionMetadata":{"id":"sdk/reference/interfaces/ElectionMetadata","title":"ElectionMetadata","description":"@vocdoni/sdk / ElectionMetadata","sidebar":"defaultSidebar"},"sdk/reference/interfaces/FetchElectionsParameters":{"id":"sdk/reference/interfaces/FetchElectionsParameters","title":"FetchElectionsParameters","description":"@vocdoni/sdk / FetchElectionsParameters","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IAccount":{"id":"sdk/reference/interfaces/IAccount","title":"IAccount","description":"@vocdoni/sdk / IAccount","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IAccountsCountResponse":{"id":"sdk/reference/interfaces/IAccountsCountResponse","title":"IAccountsCountResponse","description":"@vocdoni/sdk / IAccountsCountResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IAccountsListResponse":{"id":"sdk/reference/interfaces/IAccountsListResponse","title":"IAccountsListResponse","description":"@vocdoni/sdk / IAccountsListResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IAccountTransfersCountResponse":{"id":"sdk/reference/interfaces/IAccountTransfersCountResponse","title":"IAccountTransfersCountResponse","description":"@vocdoni/sdk / IAccountTransfersCountResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IApprovalElectionParameters":{"id":"sdk/reference/interfaces/IApprovalElectionParameters","title":"IApprovalElectionParameters","description":"@vocdoni/sdk / IApprovalElectionParameters","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IBlockTransactionsResponse":{"id":"sdk/reference/interfaces/IBlockTransactionsResponse","title":"IBlockTransactionsResponse","description":"@vocdoni/sdk / IBlockTransactionsResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IBudgetElectionParametersInfo":{"id":"sdk/reference/interfaces/IBudgetElectionParametersInfo","title":"IBudgetElectionParametersInfo","description":"@vocdoni/sdk / IBudgetElectionParametersInfo","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IBudgetElectionParametersWithBudget":{"id":"sdk/reference/interfaces/IBudgetElectionParametersWithBudget","title":"IBudgetElectionParametersWithBudget","description":"@vocdoni/sdk / IBudgetElectionParametersWithBudget","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IBudgetElectionParametersWithCensusWeight":{"id":"sdk/reference/interfaces/IBudgetElectionParametersWithCensusWeight","title":"IBudgetElectionParametersWithCensusWeight","description":"@vocdoni/sdk / IBudgetElectionParametersWithCensusWeight","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus":{"id":"sdk/reference/interfaces/ICensus","title":"ICensus","description":"@vocdoni/sdk / ICensus","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3CensusListResponse":{"id":"sdk/reference/interfaces/ICensus3CensusListResponse","title":"ICensus3CensusListResponse","description":"@vocdoni/sdk / ICensus3CensusListResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3CensusQueueResponse":{"id":"sdk/reference/interfaces/ICensus3CensusQueueResponse","title":"ICensus3CensusQueueResponse","description":"@vocdoni/sdk / ICensus3CensusQueueResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3CensusResponse":{"id":"sdk/reference/interfaces/ICensus3CensusResponse","title":"ICensus3CensusResponse","description":"@vocdoni/sdk / ICensus3CensusResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3ServiceInfoResponse":{"id":"sdk/reference/interfaces/ICensus3ServiceInfoResponse","title":"ICensus3ServiceInfoResponse","description":"@vocdoni/sdk / ICensus3ServiceInfoResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3StrategiesListResponse":{"id":"sdk/reference/interfaces/ICensus3StrategiesListResponse","title":"ICensus3StrategiesListResponse","description":"@vocdoni/sdk / ICensus3StrategiesListResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3StrategiesListResponsePaginated":{"id":"sdk/reference/interfaces/ICensus3StrategiesListResponsePaginated","title":"ICensus3StrategiesListResponsePaginated","description":"@vocdoni/sdk / ICensus3StrategiesListResponsePaginated","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3StrategiesOperator":{"id":"sdk/reference/interfaces/ICensus3StrategiesOperator","title":"ICensus3StrategiesOperator","description":"@vocdoni/sdk / ICensus3StrategiesOperator","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3StrategiesOperatorsResponse":{"id":"sdk/reference/interfaces/ICensus3StrategiesOperatorsResponse","title":"ICensus3StrategiesOperatorsResponse","description":"@vocdoni/sdk / ICensus3StrategiesOperatorsResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3StrategyCreateResponse":{"id":"sdk/reference/interfaces/ICensus3StrategyCreateResponse","title":"ICensus3StrategyCreateResponse","description":"@vocdoni/sdk / ICensus3StrategyCreateResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3StrategyEstimationQueueResponse":{"id":"sdk/reference/interfaces/ICensus3StrategyEstimationQueueResponse","title":"ICensus3StrategyEstimationQueueResponse","description":"@vocdoni/sdk / ICensus3StrategyEstimationQueueResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3StrategyHoldersResponse":{"id":"sdk/reference/interfaces/ICensus3StrategyHoldersResponse","title":"ICensus3StrategyHoldersResponse","description":"@vocdoni/sdk / ICensus3StrategyHoldersResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3StrategyHoldersResponsePaginated":{"id":"sdk/reference/interfaces/ICensus3StrategyHoldersResponsePaginated","title":"ICensus3StrategyHoldersResponsePaginated","description":"@vocdoni/sdk / ICensus3StrategyHoldersResponsePaginated","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3StrategyImportQueueResponse":{"id":"sdk/reference/interfaces/ICensus3StrategyImportQueueResponse","title":"ICensus3StrategyImportQueueResponse","description":"@vocdoni/sdk / ICensus3StrategyImportQueueResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3StrategyToken":{"id":"sdk/reference/interfaces/ICensus3StrategyToken","title":"ICensus3StrategyToken","description":"@vocdoni/sdk / ICensus3StrategyToken","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3SupportedChain":{"id":"sdk/reference/interfaces/ICensus3SupportedChain","title":"ICensus3SupportedChain","description":"@vocdoni/sdk / ICensus3SupportedChain","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3TokenHolderResponse":{"id":"sdk/reference/interfaces/ICensus3TokenHolderResponse","title":"ICensus3TokenHolderResponse","description":"@vocdoni/sdk / ICensus3TokenHolderResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3TokenListResponse":{"id":"sdk/reference/interfaces/ICensus3TokenListResponse","title":"ICensus3TokenListResponse","description":"@vocdoni/sdk / ICensus3TokenListResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3TokenListResponsePaginated":{"id":"sdk/reference/interfaces/ICensus3TokenListResponsePaginated","title":"ICensus3TokenListResponsePaginated","description":"@vocdoni/sdk / ICensus3TokenListResponsePaginated","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3TokenTypesResponse":{"id":"sdk/reference/interfaces/ICensus3TokenTypesResponse","title":"ICensus3TokenTypesResponse","description":"@vocdoni/sdk / ICensus3TokenTypesResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3ValidatePredicateChild":{"id":"sdk/reference/interfaces/ICensus3ValidatePredicateChild","title":"ICensus3ValidatePredicateChild","description":"@vocdoni/sdk / ICensus3ValidatePredicateChild","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3ValidatePredicateResponse":{"id":"sdk/reference/interfaces/ICensus3ValidatePredicateResponse","title":"ICensus3ValidatePredicateResponse","description":"@vocdoni/sdk / ICensus3ValidatePredicateResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensus3ValidatePredicateToken":{"id":"sdk/reference/interfaces/ICensus3ValidatePredicateToken","title":"ICensus3ValidatePredicateToken","description":"@vocdoni/sdk / ICensus3ValidatePredicateToken","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensusExportResponse":{"id":"sdk/reference/interfaces/ICensusExportResponse","title":"ICensusExportResponse","description":"@vocdoni/sdk / ICensusExportResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensusImportResponse":{"id":"sdk/reference/interfaces/ICensusImportResponse","title":"ICensusImportResponse","description":"@vocdoni/sdk / ICensusImportResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensusParticipant":{"id":"sdk/reference/interfaces/ICensusParticipant","title":"ICensusParticipant","description":"@vocdoni/sdk / ICensusParticipant","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensusProofResponse":{"id":"sdk/reference/interfaces/ICensusProofResponse","title":"ICensusProofResponse","description":"@vocdoni/sdk / ICensusProofResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICensusPublishResponse":{"id":"sdk/reference/interfaces/ICensusPublishResponse","title":"ICensusPublishResponse","description":"@vocdoni/sdk / ICensusPublishResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainBlockInfoResponse":{"id":"sdk/reference/interfaces/IChainBlockInfoResponse","title":"IChainBlockInfoResponse","description":"@vocdoni/sdk / IChainBlockInfoResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainFeesListResponse":{"id":"sdk/reference/interfaces/IChainFeesListResponse","title":"IChainFeesListResponse","description":"@vocdoni/sdk / IChainFeesListResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainGetCircuitResponse":{"id":"sdk/reference/interfaces/IChainGetCircuitResponse","title":"IChainGetCircuitResponse","description":"@vocdoni/sdk / IChainGetCircuitResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainGetCostsResponse":{"id":"sdk/reference/interfaces/IChainGetCostsResponse","title":"IChainGetCostsResponse","description":"@vocdoni/sdk / IChainGetCostsResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainGetInfoResponse":{"id":"sdk/reference/interfaces/IChainGetInfoResponse","title":"IChainGetInfoResponse","description":"@vocdoni/sdk / IChainGetInfoResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainOrganizationCountResponse":{"id":"sdk/reference/interfaces/IChainOrganizationCountResponse","title":"IChainOrganizationCountResponse","description":"@vocdoni/sdk / IChainOrganizationCountResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainOrganizationListResponse":{"id":"sdk/reference/interfaces/IChainOrganizationListResponse","title":"IChainOrganizationListResponse","description":"@vocdoni/sdk / IChainOrganizationListResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainOrganizationResponse":{"id":"sdk/reference/interfaces/IChainOrganizationResponse","title":"IChainOrganizationResponse","description":"@vocdoni/sdk / IChainOrganizationResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainSubmitTxResponse":{"id":"sdk/reference/interfaces/IChainSubmitTxResponse","title":"IChainSubmitTxResponse","description":"@vocdoni/sdk / IChainSubmitTxResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainTxCountResponse":{"id":"sdk/reference/interfaces/IChainTxCountResponse","title":"IChainTxCountResponse","description":"@vocdoni/sdk / IChainTxCountResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainTxListResponse":{"id":"sdk/reference/interfaces/IChainTxListResponse","title":"IChainTxListResponse","description":"@vocdoni/sdk / IChainTxListResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainTxReference":{"id":"sdk/reference/interfaces/IChainTxReference","title":"IChainTxReference","description":"@vocdoni/sdk / IChainTxReference","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainValidator":{"id":"sdk/reference/interfaces/IChainValidator","title":"IChainValidator","description":"@vocdoni/sdk / IChainValidator","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChainValidatorsListResponse":{"id":"sdk/reference/interfaces/IChainValidatorsListResponse","title":"IChainValidatorsListResponse","description":"@vocdoni/sdk / IChainValidatorsListResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IChoice":{"id":"sdk/reference/interfaces/IChoice","title":"IChoice","description":"@vocdoni/sdk / IChoice","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICspAuthStep":{"id":"sdk/reference/interfaces/ICspAuthStep","title":"ICspAuthStep","description":"@vocdoni/sdk / ICspAuthStep","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICspFinalStepResponse":{"id":"sdk/reference/interfaces/ICspFinalStepResponse","title":"ICspFinalStepResponse","description":"@vocdoni/sdk / ICspFinalStepResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICspInfoResponse":{"id":"sdk/reference/interfaces/ICspInfoResponse","title":"ICspInfoResponse","description":"@vocdoni/sdk / ICspInfoResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICspIntermediateStepResponse":{"id":"sdk/reference/interfaces/ICspIntermediateStepResponse","title":"ICspIntermediateStepResponse","description":"@vocdoni/sdk / ICspIntermediateStepResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ICspSignResponse":{"id":"sdk/reference/interfaces/ICspSignResponse","title":"ICspSignResponse","description":"@vocdoni/sdk / ICspSignResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionCreateResponse":{"id":"sdk/reference/interfaces/IElectionCreateResponse","title":"IElectionCreateResponse","description":"@vocdoni/sdk / IElectionCreateResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionInfoResponse":{"id":"sdk/reference/interfaces/IElectionInfoResponse","title":"IElectionInfoResponse","description":"@vocdoni/sdk / IElectionInfoResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionKeysResponse":{"id":"sdk/reference/interfaces/IElectionKeysResponse","title":"IElectionKeysResponse","description":"@vocdoni/sdk / IElectionKeysResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionListFilter":{"id":"sdk/reference/interfaces/IElectionListFilter","title":"IElectionListFilter","description":"@vocdoni/sdk / IElectionListFilter","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionListResponse":{"id":"sdk/reference/interfaces/IElectionListResponse","title":"IElectionListResponse","description":"@vocdoni/sdk / IElectionListResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionMode":{"id":"sdk/reference/interfaces/IElectionMode","title":"IElectionMode","description":"@vocdoni/sdk / IElectionMode","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionNextIdResponse":{"id":"sdk/reference/interfaces/IElectionNextIdResponse","title":"IElectionNextIdResponse","description":"@vocdoni/sdk / IElectionNextIdResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionParameters":{"id":"sdk/reference/interfaces/IElectionParameters","title":"IElectionParameters","description":"@vocdoni/sdk / IElectionParameters","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionSummary":{"id":"sdk/reference/interfaces/IElectionSummary","title":"IElectionSummary","description":"@vocdoni/sdk / IElectionSummary","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionType":{"id":"sdk/reference/interfaces/IElectionType","title":"IElectionType","description":"@vocdoni/sdk / IElectionType","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionVote":{"id":"sdk/reference/interfaces/IElectionVote","title":"IElectionVote","description":"@vocdoni/sdk / IElectionVote","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IElectionVoteListResponse":{"id":"sdk/reference/interfaces/IElectionVoteListResponse","title":"IElectionVoteListResponse","description":"@vocdoni/sdk / IElectionVoteListResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IEncryptionKey":{"id":"sdk/reference/interfaces/IEncryptionKey","title":"IEncryptionKey","description":"@vocdoni/sdk / IEncryptionKey","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IInvalidElectionParameters":{"id":"sdk/reference/interfaces/IInvalidElectionParameters","title":"IInvalidElectionParameters","description":"@vocdoni/sdk / IInvalidElectionParameters","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IMultiChoiceElectionParameters":{"id":"sdk/reference/interfaces/IMultiChoiceElectionParameters","title":"IMultiChoiceElectionParameters","description":"@vocdoni/sdk / IMultiChoiceElectionParameters","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IPublishedElectionParameters":{"id":"sdk/reference/interfaces/IPublishedElectionParameters","title":"IPublishedElectionParameters","description":"@vocdoni/sdk / IPublishedElectionParameters","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IQuestion":{"id":"sdk/reference/interfaces/IQuestion","title":"IQuestion","description":"@vocdoni/sdk / IQuestion","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ITallyMode":{"id":"sdk/reference/interfaces/ITallyMode","title":"ITallyMode","description":"@vocdoni/sdk / ITallyMode","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IVoteEncryptedPackage":{"id":"sdk/reference/interfaces/IVoteEncryptedPackage","title":"IVoteEncryptedPackage","description":"@vocdoni/sdk / IVoteEncryptedPackage","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IVoteInfoResponse":{"id":"sdk/reference/interfaces/IVoteInfoResponse","title":"IVoteInfoResponse","description":"@vocdoni/sdk / IVoteInfoResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IVoteMode":{"id":"sdk/reference/interfaces/IVoteMode","title":"IVoteMode","description":"@vocdoni/sdk / IVoteMode","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IVotePackage":{"id":"sdk/reference/interfaces/IVotePackage","title":"IVotePackage","description":"@vocdoni/sdk / IVotePackage","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IVoteSubmitResponse":{"id":"sdk/reference/interfaces/IVoteSubmitResponse","title":"IVoteSubmitResponse","description":"@vocdoni/sdk / IVoteSubmitResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IVoteType":{"id":"sdk/reference/interfaces/IVoteType","title":"IVoteType","description":"@vocdoni/sdk / IVoteType","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IZkProofResponse":{"id":"sdk/reference/interfaces/IZkProofResponse","title":"IZkProofResponse","description":"@vocdoni/sdk / IZkProofResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/IZkSIKResponse":{"id":"sdk/reference/interfaces/IZkSIKResponse","title":"IZkSIKResponse","description":"@vocdoni/sdk / IZkSIKResponse","sidebar":"defaultSidebar"},"sdk/reference/interfaces/MintTokensTx":{"id":"sdk/reference/interfaces/MintTokensTx","title":"MintTokensTx","description":"@vocdoni/sdk / MintTokensTx","sidebar":"defaultSidebar"},"sdk/reference/interfaces/NewProcessTx":{"id":"sdk/reference/interfaces/NewProcessTx","title":"NewProcessTx","description":"@vocdoni/sdk / NewProcessTx","sidebar":"defaultSidebar"},"sdk/reference/interfaces/Process":{"id":"sdk/reference/interfaces/Process","title":"Process","description":"@vocdoni/sdk / Process","sidebar":"defaultSidebar"},"sdk/reference/interfaces/Proof":{"id":"sdk/reference/interfaces/Proof","title":"Proof","description":"@vocdoni/sdk / Proof","sidebar":"defaultSidebar"},"sdk/reference/interfaces/RegisterKeyTx":{"id":"sdk/reference/interfaces/RegisterKeyTx","title":"RegisterKeyTx","description":"@vocdoni/sdk / RegisterKeyTx","sidebar":"defaultSidebar"},"sdk/reference/interfaces/SendTokensTx":{"id":"sdk/reference/interfaces/SendTokensTx","title":"SendTokensTx","description":"@vocdoni/sdk / SendTokensTx","sidebar":"defaultSidebar"},"sdk/reference/interfaces/ServiceProperties":{"id":"sdk/reference/interfaces/ServiceProperties","title":"ServiceProperties","description":"@vocdoni/sdk / ServiceProperties","sidebar":"defaultSidebar"},"sdk/reference/interfaces/SetAccountTx":{"id":"sdk/reference/interfaces/SetAccountTx","title":"SetAccountTx","description":"@vocdoni/sdk / SetAccountTx","sidebar":"defaultSidebar"},"sdk/reference/interfaces/SetProcessTx":{"id":"sdk/reference/interfaces/SetProcessTx","title":"SetProcessTx","description":"@vocdoni/sdk / SetProcessTx","sidebar":"defaultSidebar"},"sdk/reference/interfaces/SetTransactionCostsTx":{"id":"sdk/reference/interfaces/SetTransactionCostsTx","title":"SetTransactionCostsTx","description":"@vocdoni/sdk / SetTransactionCostsTx","sidebar":"defaultSidebar"},"sdk/reference/interfaces/Tx":{"id":"sdk/reference/interfaces/Tx","title":"Tx","description":"@vocdoni/sdk / Tx","sidebar":"defaultSidebar"},"sdk/reference/interfaces/VoteEnvelope":{"id":"sdk/reference/interfaces/VoteEnvelope","title":"VoteEnvelope","description":"@vocdoni/sdk / VoteEnvelope","sidebar":"defaultSidebar"},"sdk/reference/sdk-reference":{"id":"sdk/reference/sdk-reference","title":"@vocdoni/sdk","description":"Table of contents","sidebar":"defaultSidebar"},"sdk/tutorial":{"id":"sdk/tutorial","title":"SDK Tutorial","description":"This tutorial will show you how to get your environment set up, start using the SDK, and create and vote in an election. We will be using typescript.","sidebar":"defaultSidebar"},"ui-components/account":{"id":"ui-components/account","title":"Account Components","description":"Client provider","sidebar":"defaultSidebar"},"ui-components/election":{"id":"ui-components/election","title":"Election Components","description":"Election Component","sidebar":"defaultSidebar"},"ui-components/index":{"id":"ui-components/index","title":"UI Components","description":"The UI Components library is a set of react providers and components that abstract away the SDK and enable easy client usage of Vocdoni functionality.","sidebar":"defaultSidebar"},"ui-components/layout":{"id":"ui-components/layout","title":"Layout Components","description":"Several design components are provided by the ui-components library to help with election formatting.","sidebar":"defaultSidebar"},"ui-components/organization":{"id":"ui-components/organization","title":"Organization Components","description":"Organization provider","sidebar":"defaultSidebar"},"ui-components/react-providers":{"id":"ui-components/react-providers","title":"React Providers","description":"In order for the @vocdoni/chakra-components components to be functional, they need to be wrapped with react context and providers from @vocdoni/react-providers. The react providers are the link between the Vocdoni Protocol and the UI Components, using the Vocdoni SDK to perform all the necessary tasks involved to fetch data and vote in elections.","sidebar":"defaultSidebar"},"vocdoni-api/accounts":{"id":"vocdoni-api/accounts","title":"Accounts","description":"Accounts","sidebar":"defaultSidebar"},"vocdoni-api/add-account":{"id":"vocdoni-api/add-account","title":"Add account","description":"Add a new account to the local store. It returns a token used to manage this account on the future.","sidebar":"defaultSidebar"},"vocdoni-api/add-participants-to-census":{"id":"vocdoni-api/add-participants-to-census","title":"Add participants to census","description":"Adds list of public keys/addresses and voting weights to an unpublished census. Returns the resulting","sidebar":"defaultSidebar"},"vocdoni-api/build-an-election-id":{"id":"vocdoni-api/build-an-election-id","title":"Build an election ID","description":"buildElectionIDHandler","sidebar":"defaultSidebar"},"vocdoni-api/census-merkle-root":{"id":"vocdoni-api/census-merkle-root","title":"Census Merkle Root","description":"Get census [Merkle Tree root](https://docs.vocdoni.io/architecture/census/off-chain-tree.html) hash, used to identify the census at specific snapshot.\\n\\n- Bearer token not required","sidebar":"defaultSidebar"},"vocdoni-api/census-size":{"id":"vocdoni-api/census-size","title":"Census size","description":"Total number of keys added to the census. Size as integer","sidebar":"defaultSidebar"},"vocdoni-api/census-total-weight":{"id":"vocdoni-api/census-total-weight","title":"Census total weight","description":"It sums all weights added to the census. Weight is a stringified bigInt","sidebar":"defaultSidebar"},"vocdoni-api/censuses":{"id":"vocdoni-api/censuses","title":"Censuses","description":"Censuses","sidebar":"defaultSidebar"},"vocdoni-api/chain":{"id":"vocdoni-api/chain","title":"Chain","description":"Chain","sidebar":"defaultSidebar"},"vocdoni-api/check-census-publish-status":{"id":"vocdoni-api/check-census-publish-status","title":"Check census publish status","description":"Returns the publication status of a specific census by its ID, including the IPFS URI where it\'s uploaded, if available. This handler checks whether a census has been published successfully and retrieves its access URI or any errors that occurred during the publication process.","sidebar":"defaultSidebar"},"vocdoni-api/circuit-info":{"id":"vocdoni-api/circuit-info","title":"Circuit info","description":"Returns the circuit configuration according to the current circuit","sidebar":"defaultSidebar"},"vocdoni-api/compute-election-price":{"id":"vocdoni-api/compute-election-price","title":"Compute election price","description":"Helper endpoint to get the election price.","sidebar":"defaultSidebar"},"vocdoni-api/compute-ipfs-ci-dv-1-of-file":{"id":"vocdoni-api/compute-ipfs-ci-dv-1-of-file","title":"Compute IPFS CIDv1 of file","description":"Helper endpoint to get the IPFS CIDv1 hash of a file","sidebar":"defaultSidebar"},"vocdoni-api/count-election-votes":{"id":"vocdoni-api/count-election-votes","title":"Count election votes","description":"Get the number of votes for an election","sidebar":"defaultSidebar"},"vocdoni-api/count-organization-elections":{"id":"vocdoni-api/count-organization-elections","title":"Count organization elections","description":"Returns the number of elections for an organization","sidebar":"defaultSidebar"},"vocdoni-api/count-organizations":{"id":"vocdoni-api/count-organizations","title":"Count organizations","description":"Return the number of organizations","sidebar":"defaultSidebar"},"vocdoni-api/create-a-new-census":{"id":"vocdoni-api/create-a-new-census","title":"Create a new census","description":"Creates a new census on the backend side. The census is still unpublished until [publish](publish-census) is called.","sidebar":"defaultSidebar"},"vocdoni-api/create-election":{"id":"vocdoni-api/create-election","title":"Create election","description":"Creates an election on the Vochain.","sidebar":"defaultSidebar"},"vocdoni-api/create-election-for-wallet":{"id":"vocdoni-api/create-election-for-wallet","title":"Create election for wallet","description":"Creates an election. Requires the bearer token of the account you want to create the election.","sidebar":"defaultSidebar"},"vocdoni-api/delete-census":{"id":"vocdoni-api/delete-census","title":"Delete census","description":"Delete unpublished census (not on the storage yet). See [publish census](census-publish)\\n","sidebar":"defaultSidebar"},"vocdoni-api/election-information":{"id":"vocdoni-api/election-information","title":"Election information","description":"Get full election information","sidebar":"defaultSidebar"},"vocdoni-api/election-results":{"id":"vocdoni-api/election-results","title":"Election results","description":"Returns a given election consensus results and useful information about these results. Results are represented with BigInt strings.","sidebar":"defaultSidebar"},"vocdoni-api/elections":{"id":"vocdoni-api/elections","title":"Elections","description":"Elections","sidebar":"defaultSidebar"},"vocdoni-api/estimate-block-to-date":{"id":"vocdoni-api/estimate-block-to-date","title":"Estimate block to date","description":"Returns the estimated timestamp for the block height provided","sidebar":"defaultSidebar"},"vocdoni-api/estimate-date-to-block":{"id":"vocdoni-api/estimate-date-to-block","title":"Estimate date to block","description":"Returns the estimated block height for the timestamp provided","sidebar":"defaultSidebar"},"vocdoni-api/export-census":{"id":"vocdoni-api/export-census","title":"Export census","description":"Export census to JSON format. Requires Bearer token","sidebar":"defaultSidebar"},"vocdoni-api/export-census-database":{"id":"vocdoni-api/export-census-database","title":"Export census database","description":"Export the whole census database to a JSON file. Requires Admin Bearer token.","sidebar":"defaultSidebar"},"vocdoni-api/exports-the-indexer-database":{"id":"vocdoni-api/exports-the-indexer-database","title":"Exports the indexer database","description":"Exports the indexer SQL database in raw format","sidebar":"defaultSidebar"},"vocdoni-api/get-account":{"id":"vocdoni-api/get-account","title":"Get account","description":"Get account information by its address or public key. The `infoURI` parameter contain where account metadata is uploaded (like avatar, name...). It return also an already parsed \'metadata\' object from this infoUri.","sidebar":"defaultSidebar"},"vocdoni-api/get-block-by-hash":{"id":"vocdoni-api/get-block-by-hash","title":"Get block (by hash)","description":"Returns the block from the given hash","sidebar":"defaultSidebar"},"vocdoni-api/get-block-by-height":{"id":"vocdoni-api/get-block-by-height","title":"Get block (by height)","description":"Returns the full block information at the given height","sidebar":"defaultSidebar"},"vocdoni-api/get-type-of-census":{"id":"vocdoni-api/get-type-of-census","title":"Get type of census","description":"Get the census type","sidebar":"defaultSidebar"},"vocdoni-api/get-vote":{"id":"vocdoni-api/get-vote","title":"Get vote","description":"Returns the content of an existing Vote. If the election is encrypted, returns the `encryptionKeys` indexes and codifies the package.","sidebar":"defaultSidebar"},"vocdoni-api/import-census":{"id":"vocdoni-api/import-census","title":"Import census","description":"Import census from JSON previously exported using [`/censuses/{censusId}/export`](census-export). Requires Bearer token","sidebar":"defaultSidebar"},"vocdoni-api/import-census-database":{"id":"vocdoni-api/import-census-database","title":"Import census database","description":"Import the whole census database from a JSON file.","sidebar":"defaultSidebar"},"vocdoni-api/list-account-received-and-sent-token-transfers":{"id":"vocdoni-api/list-account-received-and-sent-token-transfers","title":"List account received and sent token transfers","description":"Returns the token transfers for an account. A transfer is a token transference from one account to other (excepting the burn address).","sidebar":"defaultSidebar"},"vocdoni-api/list-account-token-fees":{"id":"vocdoni-api/list-account-token-fees","title":"List account token fees","description":"Returns the token fees for an account. A spending is an amount of tokens burnt from one account for executing transactions.","sidebar":"defaultSidebar"},"vocdoni-api/list-all-census-references":{"id":"vocdoni-api/list-all-census-references","title":"List all census references","description":"List all census references. Requires Admin Bearer token.","sidebar":"defaultSidebar"},"vocdoni-api/list-all-token-fees":{"id":"vocdoni-api/list-all-token-fees","title":"List all token fees","description":"Returns the token fees list ordered by date. A spending is an amount of tokens burnt from one account for executing transactions.","sidebar":"defaultSidebar"},"vocdoni-api/list-all-token-fees-by-reference":{"id":"vocdoni-api/list-all-token-fees-by-reference","title":"List all token fees by reference","description":"Returns the token fees list filtered by reference and ordered by date. A spending is an amount of tokens burnt from one account for executing transactions.","sidebar":"defaultSidebar"},"vocdoni-api/list-all-token-fees-by-type":{"id":"vocdoni-api/list-all-token-fees-by-type","title":"List all token fees by type","description":"Returns the token fees list filtered by type and ordered by date. A spending is an amount of tokens burnt from one account for executing transactions.","sidebar":"defaultSidebar"},"vocdoni-api/list-all-token-transfers":{"id":"vocdoni-api/list-all-token-transfers","title":"List all token transfers","description":"Returns the token transfers list ordered by date.","sidebar":"defaultSidebar"},"vocdoni-api/list-election-votes":{"id":"vocdoni-api/list-election-votes","title":"List election votes","description":"Returns the list of voteIDs for an election (paginated)","sidebar":"defaultSidebar"},"vocdoni-api/list-elections":{"id":"vocdoni-api/list-elections","title":"List elections","description":"Get a list of elections summaries.","sidebar":"defaultSidebar"},"vocdoni-api/list-elections-filtered":{"id":"vocdoni-api/list-elections-filtered","title":"List elections (filtered)","description":"Returns a filtered list of elections. The filters have to be sent on the request body. The valid filters are:","sidebar":"defaultSidebar"},"vocdoni-api/list-encryption-keys":{"id":"vocdoni-api/list-encryption-keys","title":"List encryption keys","description":"Returns the list of public/private encryption keys","sidebar":"defaultSidebar"},"vocdoni-api/list-of-the-existing-accounts":{"id":"vocdoni-api/list-of-the-existing-accounts","title":"List of the existing accounts","description":"Returns information (address, balance and nonce) of the existing accounts","sidebar":"defaultSidebar"},"vocdoni-api/list-of-valid-sik-roots":{"id":"vocdoni-api/list-of-valid-sik-roots","title":"List of valid SIK roots","description":"Returns the list of currently valid roots of the merkle tree where the vochain account SIK\'s are stored.","sidebar":"defaultSidebar"},"vocdoni-api/list-organization-elections":{"id":"vocdoni-api/list-organization-elections","title":"List organization elections","description":"List the elections of an organization","sidebar":"defaultSidebar"},"vocdoni-api/list-organization-elections-by-status":{"id":"vocdoni-api/list-organization-elections-by-status","title":"List organization elections by status","description":"List the elections of an organization by status","sidebar":"defaultSidebar"},"vocdoni-api/list-organizations":{"id":"vocdoni-api/list-organizations","title":"List organizations","description":"An **Organization** is an account with an `infoUri` that contains organization-associated metadata.","sidebar":"defaultSidebar"},"vocdoni-api/list-organizations-filtered":{"id":"vocdoni-api/list-organizations-filtered","title":"List organizations (filtered)","description":"Returns a list of organizations filtered by its partial id, paginated by the given page","sidebar":"defaultSidebar"},"vocdoni-api/list-transactions":{"id":"vocdoni-api/list-transactions","title":"List transactions","description":"To get full transaction information use [/chain/transaction/{blockHeight}/{txIndex}](transaction-by-block-index).\\nWhere transactionIndex is the index of the transaction on the containing block.","sidebar":"defaultSidebar"},"vocdoni-api/list-validators":{"id":"vocdoni-api/list-validators","title":"List validators","description":"Returns the list of validators","sidebar":"defaultSidebar"},"vocdoni-api/list-votes":{"id":"vocdoni-api/list-votes","title":"List votes","description":"Returns the list of votes","sidebar":"defaultSidebar"},"vocdoni-api/price-factors-information":{"id":"vocdoni-api/price-factors-information","title":"Price factors information","description":"Package electionprice provides a mechanism for calculating the price of an election based on its characteristics.","sidebar":"defaultSidebar"},"vocdoni-api/prove-key-to-census":{"id":"vocdoni-api/prove-key-to-census","title":"Prove key to census","description":"Proves that the key and weight belong to the census root hash.","sidebar":"defaultSidebar"},"vocdoni-api/publish-census":{"id":"vocdoni-api/publish-census","title":"Publish census","description":"Registers a census to storage (IPFS in our case). After this, the census can\'t be edited.","sidebar":"defaultSidebar"},"vocdoni-api/returns-if-the-address-provided-has-a-valid-sik":{"id":"vocdoni-api/returns-if-the-address-provided-has-a-valid-sik","title":"Returns if the address provided has a valid SIK","description":"Returns if the address provided, associated to an a registered account or not, has a valid SIK already registered or not.","sidebar":"defaultSidebar"},"vocdoni-api/set-account":{"id":"vocdoni-api/set-account","title":"Set account","description":"Register an account to the blockchain, including metadata upload to IPFS.","sidebar":"defaultSidebar"},"vocdoni-api/set-wallet-account":{"id":"vocdoni-api/set-wallet-account","title":"Set wallet account","description":"Set a new account. Needed the bearer token associated the account.","sidebar":"defaultSidebar"},"vocdoni-api/sik":{"id":"vocdoni-api/sik","title":"SIK","description":"SIK","sidebar":"defaultSidebar"},"vocdoni-api/submit-a-vote":{"id":"vocdoni-api/submit-a-vote","title":"Submit a vote","description":"Submit a vote using a protobuf signed transaction. The corresponding result are the vote id and transaction hash where the vote is registered.","sidebar":"defaultSidebar"},"vocdoni-api/submit-transaction":{"id":"vocdoni-api/submit-transaction","title":"Submit transaction","description":"Submits a transaction. Depending on the transaction type, will return one of multiple response types:","sidebar":"defaultSidebar"},"vocdoni-api/total-number-of-accounts":{"id":"vocdoni-api/total-number-of-accounts","title":"Total number of accounts","description":"Returns the count of total number of existing accounts","sidebar":"defaultSidebar"},"vocdoni-api/total-number-of-sent-and-received-transactions":{"id":"vocdoni-api/total-number-of-sent-and-received-transactions","title":"Total number of sent and received transactions","description":"Returns the count of total number of sent and received transactions for an account. A transaction is a token transfer from one account to another existing account","sidebar":"defaultSidebar"},"vocdoni-api/transaction-by-block-height-and-index":{"id":"vocdoni-api/transaction-by-block-height-and-index","title":"Transaction by block height and index","description":"Get transaction full information by block height and index. It returns JSON transaction protobuf encoded. Depending of transaction type will return different types of objects. Current transaction types can be found calling `/chain/transactions/cost`","sidebar":"defaultSidebar"},"vocdoni-api/transaction-by-hash":{"id":"vocdoni-api/transaction-by-hash","title":"Transaction by hash","description":"Using a transaction\'s hash, returns the `block` and `index` that contains the transaction. You can use this `block` and `index` to retrieve the full transaction info using [transaction by block and index](transaction-by-block-index)","sidebar":"defaultSidebar"},"vocdoni-api/transaction-by-index":{"id":"vocdoni-api/transaction-by-index","title":"Transaction by index","description":"Get transaction by its index. This is not transaction reference (hash), and neither the block height and block index. The transaction index is an incremental counter for each transaction. You could use the transaction `block` and `index` to retrieve full info using [transaction by block and index](transaction-by-block-index).","sidebar":"defaultSidebar"},"vocdoni-api/transaction-costs":{"id":"vocdoni-api/transaction-costs","title":"Transaction costs","description":"Returns the list of transactions and its cost","sidebar":"defaultSidebar"},"vocdoni-api/transactions-count":{"id":"vocdoni-api/transactions-count","title":"Transactions count","description":"Returns the number of transactions","sidebar":"defaultSidebar"},"vocdoni-api/transactions-in-a-block":{"id":"vocdoni-api/transactions-in-a-block","title":"Transactions in a block","description":"Given a block returns the list of transactions for that block","sidebar":"defaultSidebar"},"vocdoni-api/transfer-tokens":{"id":"vocdoni-api/transfer-tokens","title":"Transfer tokens","description":"Transfer balance to another account. Needed the bearer token associated the account.","sidebar":"defaultSidebar"},"vocdoni-api/verify-merkle-proof":{"id":"vocdoni-api/verify-merkle-proof","title":"Verify merkle proof","description":"Verify that a previously obtained Merkle proof for a key, acquired via [/censuses/{censusId}/proof/{publicKey}](prove-key-to-census) is still correct.","sidebar":"defaultSidebar"},"vocdoni-api/verify-vote":{"id":"vocdoni-api/verify-vote","title":"Verify vote","description":"Check if vote is registered on the blockchain on specific election. Just return Ok status code","sidebar":"defaultSidebar"},"vocdoni-api/vocdoni-api":{"id":"vocdoni-api/vocdoni-api","title":"Vocdoni API","description":"The Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions.","sidebar":"defaultSidebar"},"vocdoni-api/vochain-information":{"id":"vocdoni-api/vochain-information","title":"Vochain information","description":"Returns basic Vocdoni Blockchain (Vochain) information like blockTime, chainId, current height, and more.","sidebar":"defaultSidebar"},"vocdoni-api/votes":{"id":"vocdoni-api/votes","title":"Votes","description":"Votes","sidebar":"defaultSidebar"},"vocdoni-api/wallet":{"id":"vocdoni-api/wallet","title":"Wallet","description":"Wallet","sidebar":"defaultSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/9e4ccdce.92c9efcf.js b/assets/js/9e4ccdce.3819cf4d.js similarity index 83% rename from assets/js/9e4ccdce.92c9efcf.js rename to assets/js/9e4ccdce.3819cf4d.js index 6e460b8b6..cce008698 100644 --- a/assets/js/9e4ccdce.92c9efcf.js +++ b/assets/js/9e4ccdce.3819cf4d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[9128],{12128:(e,t,o)=>{o.d(t,{Z:()=>f});var i=o(87462),a=o(39805),n=o(14902),s=o(170),r=o(86390),c=o(65429),l=o(14758),d=o(67294),h=o(204),p=o(23100),u=o(16393);const m={React:d,...d,Flex:h.k,Box:p.xu,AspectRatio:u.o,Image:c.Ee,ElectionProvider:l.qT,ElectionHeader:c.UE,ElectionTitle:c.hi,ElectionSchedule:c.vE,ElectionResults:c.Hj,ElectionStatusBadge:c.QW,ElectionDescription:c.I3,ElectionQuestions:c.Vx,ElectionActions:c.A2,Election:c.bO,QuestionsConfirmation:c.KX,SpreadsheetAccess:c.cB,VoteButton:c.tT,OrganizationProvider:l.f0,OrganizationAvatar:c.ld,OrganizationDescription:c.G9,OrganizationHeader:c.sC,OrganizationName:c.X5,Balance:c.yo,Button:c.zx,HR:c.HR,Image:c.Ee,Markdown:c.UG};var g=o(22457),b=o(37489);const f=(v=s.Z,function(e){if(e.live){let t=b.G;return'"spreadsheet"'===e.title&&(t=b.IS),d.createElement(a.x,{theme:(0,n.B1)(c.rS),resetCSS:!1},d.createElement(c.de,{env:g.yG.STG,signer:b.Lp.wallet},d.createElement(l.f0,{id:b.fD},d.createElement(l.qT,{id:t,fetchCensus:!0},d.createElement(c.DG,null,d.createElement(r.Z,(0,i.Z)({scope:m},e)))))))}return d.createElement(v,e)});var v},18918:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>g,contentTitle:()=>u,default:()=>v,frontMatter:()=>p,metadata:()=>m,toc:()=>b});var i=o(87462),a=(o(67294),o(3905)),n=o(26389),s=o(94891),r=o(75190),c=o(47507),l=o(24310),d=o(63303),h=(o(75035),o(85162));const p={id:"estimate-block-to-date",title:"Estimate block to date",description:"Returns the estimated timestamp for the block height provided",sidebar_label:"Estimate block to date",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Block height",in:"path",name:"height",required:!0,schema:{type:"number"}}],responses:{200:{content:{"application/json":{schema:{properties:{date:{type:"string"}},type:"object"}}},description:"OK"}},tags:["Chain"],description:"Returns the estimated timestamp for the block height provided",method:"get",path:"/chain/blockToDate/{height}",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Estimate block to date",description:{content:"Returns the estimated timestamp for the block height provided",type:"text/plain"},url:{path:["chain","blockToDate",":height"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Block height",type:"text/plain"},type:"any",value:"",key:"height"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},u=void 0,m={unversionedId:"vocdoni-api/estimate-block-to-date",id:"vocdoni-api/estimate-block-to-date",title:"Estimate block to date",description:"Returns the estimated timestamp for the block height provided",source:"@site/docs/vocdoni-api/estimate-block-to-date.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/estimate-block-to-date",permalink:"/vocdoni-api/estimate-block-to-date",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"estimate-block-to-date",title:"Estimate block to date",description:"Returns the estimated timestamp for the block height provided",sidebar_label:"Estimate block to date",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Block height",in:"path",name:"height",required:!0,schema:{type:"number"}}],responses:{200:{content:{"application/json":{schema:{properties:{date:{type:"string"}},type:"object"}}},description:"OK"}},tags:["Chain"],description:"Returns the estimated timestamp for the block height provided",method:"get",path:"/chain/blockToDate/{height}",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Estimate block to date",description:{content:"Returns the estimated timestamp for the block height provided",type:"text/plain"},url:{path:["chain","blockToDate",":height"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Block height",type:"text/plain"},type:"any",value:"",key:"height"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Chain",permalink:"/vocdoni-api/chain"},next:{title:"Get block (by hash)",permalink:"/vocdoni-api/get-block-by-hash"}},g={},b=[{value:"Estimate block to date",id:"estimate-block-to-date",level:2}],f={toc:b};function v(e){let{components:t,...o}=e;return(0,a.kt)("wrapper",(0,i.Z)({},f,o,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"estimate-block-to-date"},"Estimate block to date"),(0,a.kt)("p",null,"Returns the estimated timestamp for the block height provided"),(0,a.kt)("details",{style:{marginBottom:"1rem"},"data-collapsed":!1,open:!0},(0,a.kt)("summary",{style:{}},(0,a.kt)("strong",null,"Path Parameters")),(0,a.kt)("div",null,(0,a.kt)("ul",null,(0,a.kt)(r.Z,{className:"paramsItem",param:{description:"Block height",in:"path",name:"height",required:!0,schema:{type:"number"}},mdxType:"ParamsItem"})))),(0,a.kt)("div",null,(0,a.kt)(n.Z,{mdxType:"ApiTabs"},(0,a.kt)(h.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,a.kt)("div",null,(0,a.kt)("p",null,"OK")),(0,a.kt)("div",null,(0,a.kt)(s.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,a.kt)(h.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,a.kt)(d.Z,{mdxType:"SchemaTabs"},(0,a.kt)(h.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,a.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,a.kt)("summary",{style:{textAlign:"left"}},(0,a.kt)("strong",null,"Schema")),(0,a.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,a.kt)("ul",{style:{marginLeft:"1rem"}},(0,a.kt)(l.Z,{collapsible:!1,name:"date",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,a.kt)(h.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,a.kt)(c.Z,{responseExample:'{\n "date": "string"\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}v.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[9128],{12128:(e,t,o)=>{o.d(t,{Z:()=>v});var i=o(87462),a=o(39805),n=o(14902),s=o(170),r=o(86390),c=o(65429),l=o(14758),d=o(67294),h=o(204),p=o(23100),u=o(16393);const m={React:d,...d,Flex:h.k,Box:p.xu,AspectRatio:u.o,Image:c.Ee,ElectionProvider:l.qT,ElectionHeader:c.UE,ElectionTitle:c.hi,ElectionSchedule:c.vE,ElectionResults:c.Hj,ElectionStatusBadge:c.QW,ElectionDescription:c.I3,ElectionQuestions:c.Vx,ElectionActions:c.A2,Election:c.bO,QuestionsConfirmation:c.KX,SpreadsheetAccess:c.cB,VoteButton:c.tT,OrganizationProvider:l.f0,OrganizationAvatar:c.ld,OrganizationDescription:c.G9,OrganizationHeader:c.sC,OrganizationName:c.X5,Balance:c.yo,Button:c.zx,HR:c.HR,Image:c.Ee,Markdown:c.UG};var g=o(22457),f=o(37489);const v=(b=s.Z,function(e){if(e.live){let t=f.G;return'"spreadsheet"'===e.title&&(t=f.IS),d.createElement(a.x,{theme:(0,n.B1)(c.rS),resetCSS:!1},d.createElement(c.de,{env:g.yG.STG,signer:f.Lp.wallet},d.createElement(l.f0,{id:f.fD},d.createElement(l.qT,{id:t,fetchCensus:!0},d.createElement(c.DG,null,d.createElement(r.Z,(0,i.Z)({scope:m},e)))))))}return d.createElement(b,e)});var b},18918:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>g,contentTitle:()=>u,default:()=>b,frontMatter:()=>p,metadata:()=>m,toc:()=>f});var i=o(87462),a=(o(67294),o(3905)),n=o(26389),s=o(94891),r=o(75190),c=o(47507),l=o(24310),d=o(63303),h=(o(75035),o(85162));const p={id:"estimate-block-to-date",title:"Estimate block to date",description:"Returns the estimated timestamp for the block height provided",sidebar_label:"Estimate block to date",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Block height",in:"path",name:"height",required:!0,schema:{type:"number"}}],responses:{200:{content:{"application/json":{schema:{properties:{date:{type:"string"}},type:"object"}}},description:"OK"}},tags:["Chain"],description:"Returns the estimated timestamp for the block height provided",method:"get",path:"/chain/blockToDate/{height}",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Estimate block to date",description:{content:"Returns the estimated timestamp for the block height provided",type:"text/plain"},url:{path:["chain","blockToDate",":height"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Block height",type:"text/plain"},type:"any",value:"",key:"height"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},u=void 0,m={unversionedId:"vocdoni-api/estimate-block-to-date",id:"vocdoni-api/estimate-block-to-date",title:"Estimate block to date",description:"Returns the estimated timestamp for the block height provided",source:"@site/docs/vocdoni-api/estimate-block-to-date.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/estimate-block-to-date",permalink:"/vocdoni-api/estimate-block-to-date",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"estimate-block-to-date",title:"Estimate block to date",description:"Returns the estimated timestamp for the block height provided",sidebar_label:"Estimate block to date",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Block height",in:"path",name:"height",required:!0,schema:{type:"number"}}],responses:{200:{content:{"application/json":{schema:{properties:{date:{type:"string"}},type:"object"}}},description:"OK"}},tags:["Chain"],description:"Returns the estimated timestamp for the block height provided",method:"get",path:"/chain/blockToDate/{height}",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Estimate block to date",description:{content:"Returns the estimated timestamp for the block height provided",type:"text/plain"},url:{path:["chain","blockToDate",":height"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Block height",type:"text/plain"},type:"any",value:"",key:"height"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Chain",permalink:"/vocdoni-api/chain"},next:{title:"List all blocks",permalink:"/vocdoni-api/list-all-blocks"}},g={},f=[{value:"Estimate block to date",id:"estimate-block-to-date",level:2}],v={toc:f};function b(e){let{components:t,...o}=e;return(0,a.kt)("wrapper",(0,i.Z)({},v,o,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"estimate-block-to-date"},"Estimate block to date"),(0,a.kt)("p",null,"Returns the estimated timestamp for the block height provided"),(0,a.kt)("details",{style:{marginBottom:"1rem"},"data-collapsed":!1,open:!0},(0,a.kt)("summary",{style:{}},(0,a.kt)("strong",null,"Path Parameters")),(0,a.kt)("div",null,(0,a.kt)("ul",null,(0,a.kt)(r.Z,{className:"paramsItem",param:{description:"Block height",in:"path",name:"height",required:!0,schema:{type:"number"}},mdxType:"ParamsItem"})))),(0,a.kt)("div",null,(0,a.kt)(n.Z,{mdxType:"ApiTabs"},(0,a.kt)(h.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,a.kt)("div",null,(0,a.kt)("p",null,"OK")),(0,a.kt)("div",null,(0,a.kt)(s.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,a.kt)(h.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,a.kt)(d.Z,{mdxType:"SchemaTabs"},(0,a.kt)(h.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,a.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,a.kt)("summary",{style:{textAlign:"left"}},(0,a.kt)("strong",null,"Schema")),(0,a.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,a.kt)("ul",{style:{marginLeft:"1rem"}},(0,a.kt)(l.Z,{collapsible:!1,name:"date",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,a.kt)(h.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,a.kt)(c.Z,{responseExample:'{\n "date": "string"\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}b.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/d4d2d783.96884c05.js b/assets/js/d4d2d783.77ad854a.js similarity index 60% rename from assets/js/d4d2d783.96884c05.js rename to assets/js/d4d2d783.77ad854a.js index 6394e1b5b..899155505 100644 --- a/assets/js/d4d2d783.96884c05.js +++ b/assets/js/d4d2d783.77ad854a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[7071],{12128:(e,t,a)=>{a.d(t,{Z:()=>v});var s=a(87462),i=a(39805),o=a(14902),n=a(170),r=a(86390),l=a(65429),c=a(14758),d=a(67294),h=a(204),p=a(23100),m=a(16393);const u={React:d,...d,Flex:h.k,Box:p.xu,AspectRatio:m.o,Image:l.Ee,ElectionProvider:c.qT,ElectionHeader:l.UE,ElectionTitle:l.hi,ElectionSchedule:l.vE,ElectionResults:l.Hj,ElectionStatusBadge:l.QW,ElectionDescription:l.I3,ElectionQuestions:l.Vx,ElectionActions:l.A2,Election:l.bO,QuestionsConfirmation:l.KX,SpreadsheetAccess:l.cB,VoteButton:l.tT,OrganizationProvider:c.f0,OrganizationAvatar:l.ld,OrganizationDescription:l.G9,OrganizationHeader:l.sC,OrganizationName:l.X5,Balance:l.yo,Button:l.zx,HR:l.HR,Image:l.Ee,Markdown:l.UG};var y=a(22457),g=a(37489);const v=(b=n.Z,function(e){if(e.live){let t=g.G;return'"spreadsheet"'===e.title&&(t=g.IS),d.createElement(i.x,{theme:(0,o.B1)(l.rS),resetCSS:!1},d.createElement(l.de,{env:y.yG.STG,signer:g.Lp.wallet},d.createElement(c.f0,{id:g.fD},d.createElement(c.qT,{id:t,fetchCensus:!0},d.createElement(l.DG,null,d.createElement(r.Z,(0,s.Z)({scope:u},e)))))))}return d.createElement(b,e)});var b},48652:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>y,contentTitle:()=>m,default:()=>b,frontMatter:()=>p,metadata:()=>u,toc:()=>g});var s=a(87462),i=(a(67294),a(3905)),o=a(26389),n=a(94891),r=a(75190),l=a(47507),c=a(24310),d=a(63303),h=(a(75035),a(85162));const p={id:"get-block-by-hash",title:"Get block (by hash)",description:"Returns the block from the given hash",sidebar_label:"Get block (by hash)",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Block hash",in:"path",name:"hash",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{data:{properties:{txs:{description:"Txs that will be applied by state @ block.Height+1.\nNOTE: not all txs here are valid. We're just agreeing on the order first.\nThis means that block.AppHash does not include these txs.",items:{items:{type:"integer"},type:"array"},type:"array"}},type:"object"},evidence:{properties:{evidence:{items:{},type:"array"}},type:"object"},hash:{type:"string"},header:{properties:{app_hash:{description:"state after txs from the previous block",items:{type:"integer"},type:"array"},chain_id:{type:"string"},consensus_hash:{description:"consensus params for current block",items:{type:"integer"},type:"array"},data_hash:{description:"transactions",items:{type:"integer"},type:"array"},evidence_hash:{description:"consensus info",items:{type:"integer"},type:"array"},height:{type:"integer"},last_block_id:{allOf:[{properties:{hash:{items:{type:"integer"},type:"array"},parts:{properties:{hash:{items:{type:"integer"},type:"array"},total:{type:"integer"}},type:"object"}},type:"object"}],description:"prev block info"},last_commit_hash:{description:"hashes of block data",items:{type:"integer"},type:"array"},last_results_hash:{description:"root hash of all results from the txs from the previous block\nsee `DeterministicExecTxResult` to understand which parts of a tx is hashed into here",items:{type:"integer"},type:"array"},next_validators_hash:{description:"validators for the next block",items:{type:"integer"},type:"array"},proposer_address:{description:"original proposer of the block",items:{type:"integer"},type:"array"},time:{type:"string"},validators_hash:{description:"hashes from the app output from the prev block",items:{type:"integer"},type:"array"},version:{allOf:[{properties:{app:{type:"integer"},block:{type:"integer"}},type:"object"}],description:"basic block info"}},type:"object"},last_commit:{properties:{block_id:{properties:{hash:{items:{type:"integer"},type:"array"},parts:{properties:{hash:{items:{type:"integer"},type:"array"},total:{type:"integer"}},type:"object"}},type:"object"},height:{description:"NOTE: The signatures are in order of address to preserve the bonded\nValidatorSet order.\nAny peer with a block can gossip signatures by index with a peer without\nrecalculating the active ValidatorSet.",type:"integer"},round:{type:"integer"},signatures:{items:{properties:{block_id_flag:{enum:[1,2,3],type:"integer","x-enum-varnames":["BlockIDFlagAbsent","BlockIDFlagCommit","BlockIDFlagNil"]},signature:{items:{type:"integer"},type:"array"},timestamp:{type:"string"},validator_address:{items:{type:"integer"},type:"array"}},type:"object"},type:"array"}},type:"object"}},type:"object"}}},description:"OK"}},tags:["Chain"],description:"Returns the block from the given hash",method:"get",path:"/chain/blocks/hash/{hash}",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Get block (by hash)",description:{content:"Returns the block from the given hash",type:"text/plain"},url:{path:["chain","blocks","hash",":hash"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Block hash",type:"text/plain"},type:"any",value:"",key:"hash"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},m=void 0,u={unversionedId:"vocdoni-api/get-block-by-hash",id:"vocdoni-api/get-block-by-hash",title:"Get block (by hash)",description:"Returns the block from the given hash",source:"@site/docs/vocdoni-api/get-block-by-hash.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/get-block-by-hash",permalink:"/vocdoni-api/get-block-by-hash",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"get-block-by-hash",title:"Get block (by hash)",description:"Returns the block from the given hash",sidebar_label:"Get block (by hash)",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Block hash",in:"path",name:"hash",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{data:{properties:{txs:{description:"Txs that will be applied by state @ block.Height+1.\nNOTE: not all txs here are valid. We're just agreeing on the order first.\nThis means that block.AppHash does not include these txs.",items:{items:{type:"integer"},type:"array"},type:"array"}},type:"object"},evidence:{properties:{evidence:{items:{},type:"array"}},type:"object"},hash:{type:"string"},header:{properties:{app_hash:{description:"state after txs from the previous block",items:{type:"integer"},type:"array"},chain_id:{type:"string"},consensus_hash:{description:"consensus params for current block",items:{type:"integer"},type:"array"},data_hash:{description:"transactions",items:{type:"integer"},type:"array"},evidence_hash:{description:"consensus info",items:{type:"integer"},type:"array"},height:{type:"integer"},last_block_id:{allOf:[{properties:{hash:{items:{type:"integer"},type:"array"},parts:{properties:{hash:{items:{type:"integer"},type:"array"},total:{type:"integer"}},type:"object"}},type:"object"}],description:"prev block info"},last_commit_hash:{description:"hashes of block data",items:{type:"integer"},type:"array"},last_results_hash:{description:"root hash of all results from the txs from the previous block\nsee `DeterministicExecTxResult` to understand which parts of a tx is hashed into here",items:{type:"integer"},type:"array"},next_validators_hash:{description:"validators for the next block",items:{type:"integer"},type:"array"},proposer_address:{description:"original proposer of the block",items:{type:"integer"},type:"array"},time:{type:"string"},validators_hash:{description:"hashes from the app output from the prev block",items:{type:"integer"},type:"array"},version:{allOf:[{properties:{app:{type:"integer"},block:{type:"integer"}},type:"object"}],description:"basic block info"}},type:"object"},last_commit:{properties:{block_id:{properties:{hash:{items:{type:"integer"},type:"array"},parts:{properties:{hash:{items:{type:"integer"},type:"array"},total:{type:"integer"}},type:"object"}},type:"object"},height:{description:"NOTE: The signatures are in order of address to preserve the bonded\nValidatorSet order.\nAny peer with a block can gossip signatures by index with a peer without\nrecalculating the active ValidatorSet.",type:"integer"},round:{type:"integer"},signatures:{items:{properties:{block_id_flag:{enum:[1,2,3],type:"integer","x-enum-varnames":["BlockIDFlagAbsent","BlockIDFlagCommit","BlockIDFlagNil"]},signature:{items:{type:"integer"},type:"array"},timestamp:{type:"string"},validator_address:{items:{type:"integer"},type:"array"}},type:"object"},type:"array"}},type:"object"}},type:"object"}}},description:"OK"}},tags:["Chain"],description:"Returns the block from the given hash",method:"get",path:"/chain/blocks/hash/{hash}",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Get block (by hash)",description:{content:"Returns the block from the given hash",type:"text/plain"},url:{path:["chain","blocks","hash",":hash"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Block hash",type:"text/plain"},type:"any",value:"",key:"hash"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Estimate block to date",permalink:"/vocdoni-api/estimate-block-to-date"},next:{title:"Get block (by height)",permalink:"/vocdoni-api/get-block-by-height"}},y={},g=[{value:"Get block (by hash)",id:"get-block-by-hash",level:2}],v={toc:g};function b(e){let{components:t,...a}=e;return(0,i.kt)("wrapper",(0,s.Z)({},v,a,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"get-block-by-hash"},"Get block (by hash)"),(0,i.kt)("p",null,"Returns the block from the given hash"),(0,i.kt)("details",{style:{marginBottom:"1rem"},"data-collapsed":!1,open:!0},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"Path Parameters")),(0,i.kt)("div",null,(0,i.kt)("ul",null,(0,i.kt)(r.Z,{className:"paramsItem",param:{description:"Block hash",in:"path",name:"hash",required:!0,schema:{type:"string"}},mdxType:"ParamsItem"})))),(0,i.kt)("div",null,(0,i.kt)(o.Z,{mdxType:"ApiTabs"},(0,i.kt)(h.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,i.kt)("div",null,(0,i.kt)("p",null,"OK")),(0,i.kt)("div",null,(0,i.kt)(n.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,i.kt)(h.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,i.kt)(d.Z,{mdxType:"SchemaTabs"},(0,i.kt)(h.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,i.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,i.kt)("summary",{style:{textAlign:"left"}},(0,i.kt)("strong",null,"Schema")),(0,i.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,i.kt)("ul",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"data"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!1,name:"txs",required:!1,deprecated:void 0,schemaDescription:"Txs that will be applied by state @ block.Height+1.\nNOTE: not all txs here are valid. We're just agreeing on the order first.\nThis means that block.AppHash does not include these txs.",schemaName:"array[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,i.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"evidence"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!1,name:"evidence",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"undefined[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,i.kt)(c.Z,{collapsible:!1,name:"hash",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"header"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!1,name:"app_hash",required:!1,deprecated:void 0,schemaDescription:"state after txs from the previous block",schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"chain_id",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"consensus_hash",required:!1,deprecated:void 0,schemaDescription:"consensus params for current block",schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"data_hash",required:!1,deprecated:void 0,schemaDescription:"transactions",schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"evidence_hash",required:!1,deprecated:void 0,schemaDescription:"consensus info",schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"height",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"last_block_id"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!1,name:"hash",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"parts"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!1,name:"hash",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"total",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}))))))),(0,i.kt)(c.Z,{collapsible:!1,name:"last_commit_hash",required:!1,deprecated:void 0,schemaDescription:"hashes of block data",schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"last_results_hash",required:!1,deprecated:void 0,schemaDescription:"root hash of all results from the txs from the previous block\nsee `DeterministicExecTxResult` to understand which parts of a tx is hashed into here",schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"next_validators_hash",required:!1,deprecated:void 0,schemaDescription:"validators for the next block",schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"proposer_address",required:!1,deprecated:void 0,schemaDescription:"original proposer of the block",schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"time",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"validators_hash",required:!1,deprecated:void 0,schemaDescription:"hashes from the app output from the prev block",schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"version"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!1,name:"app",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"block",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}))))))),(0,i.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"last_commit"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"block_id"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!1,name:"hash",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"parts"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!1,name:"hash",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"total",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}))))))),(0,i.kt)(c.Z,{collapsible:!1,name:"height",required:!1,deprecated:void 0,schemaDescription:"NOTE: The signatures are in order of address to preserve the bonded\nValidatorSet order.\nAny peer with a block can gossip signatures by index with a peer without\nrecalculating the active ValidatorSet.",schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"round",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"signatures"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object[]")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!1,name:"block_id_flag",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:"**Possible values:** [`1`, `2`, `3`]",defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"signature",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"timestamp",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"validator_address",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))))))))),(0,i.kt)(h.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,i.kt)(l.Z,{responseExample:'{\n "data": {\n "txs": [\n [\n 0\n ]\n ]\n },\n "evidence": {\n "evidence": [\n null\n ]\n },\n "hash": "string",\n "header": {\n "app_hash": [\n 0\n ],\n "chain_id": "string",\n "consensus_hash": [\n 0\n ],\n "data_hash": [\n 0\n ],\n "evidence_hash": [\n 0\n ],\n "height": 0,\n "last_block_id": {\n "hash": [\n 0\n ],\n "parts": {\n "hash": [\n 0\n ],\n "total": 0\n }\n },\n "last_commit_hash": [\n 0\n ],\n "last_results_hash": [\n 0\n ],\n "next_validators_hash": [\n 0\n ],\n "proposer_address": [\n 0\n ],\n "time": "string",\n "validators_hash": [\n 0\n ],\n "version": {\n "app": 0,\n "block": 0\n }\n },\n "last_commit": {\n "block_id": {\n "hash": [\n 0\n ],\n "parts": {\n "hash": [\n 0\n ],\n "total": 0\n }\n },\n "height": 0,\n "round": 0,\n "signatures": [\n {\n "block_id_flag": 1,\n "signature": [\n 0\n ],\n "timestamp": "string",\n "validator_address": [\n 0\n ]\n }\n ]\n }\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}b.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[7071],{12128:(e,t,a)=>{a.d(t,{Z:()=>v});var s=a(87462),i=a(39805),o=a(14902),n=a(170),r=a(86390),l=a(65429),c=a(14758),d=a(67294),h=a(204),p=a(23100),m=a(16393);const u={React:d,...d,Flex:h.k,Box:p.xu,AspectRatio:m.o,Image:l.Ee,ElectionProvider:c.qT,ElectionHeader:l.UE,ElectionTitle:l.hi,ElectionSchedule:l.vE,ElectionResults:l.Hj,ElectionStatusBadge:l.QW,ElectionDescription:l.I3,ElectionQuestions:l.Vx,ElectionActions:l.A2,Election:l.bO,QuestionsConfirmation:l.KX,SpreadsheetAccess:l.cB,VoteButton:l.tT,OrganizationProvider:c.f0,OrganizationAvatar:l.ld,OrganizationDescription:l.G9,OrganizationHeader:l.sC,OrganizationName:l.X5,Balance:l.yo,Button:l.zx,HR:l.HR,Image:l.Ee,Markdown:l.UG};var y=a(22457),g=a(37489);const v=(b=n.Z,function(e){if(e.live){let t=g.G;return'"spreadsheet"'===e.title&&(t=g.IS),d.createElement(i.x,{theme:(0,o.B1)(l.rS),resetCSS:!1},d.createElement(l.de,{env:y.yG.STG,signer:g.Lp.wallet},d.createElement(c.f0,{id:g.fD},d.createElement(c.qT,{id:t,fetchCensus:!0},d.createElement(l.DG,null,d.createElement(r.Z,(0,s.Z)({scope:u},e)))))))}return d.createElement(b,e)});var b},48652:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>y,contentTitle:()=>m,default:()=>b,frontMatter:()=>p,metadata:()=>u,toc:()=>g});var s=a(87462),i=(a(67294),a(3905)),o=a(26389),n=a(94891),r=a(75190),l=a(47507),c=a(24310),d=a(63303),h=(a(75035),a(85162));const p={id:"get-block-by-hash",title:"Get block (by hash)",description:"Returns the block from the given hash",sidebar_label:"Get block (by hash)",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Block hash",in:"path",name:"hash",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{data:{properties:{txs:{description:"Txs that will be applied by state @ block.Height+1.\nNOTE: not all txs here are valid. We're just agreeing on the order first.\nThis means that block.AppHash does not include these txs.",items:{items:{type:"integer"},type:"array"},type:"array"}},type:"object"},evidence:{properties:{evidence:{items:{},type:"array"}},type:"object"},hash:{type:"string"},header:{properties:{app_hash:{description:"state after txs from the previous block",items:{type:"integer"},type:"array"},chain_id:{type:"string"},consensus_hash:{description:"consensus params for current block",items:{type:"integer"},type:"array"},data_hash:{description:"transactions",items:{type:"integer"},type:"array"},evidence_hash:{description:"consensus info",items:{type:"integer"},type:"array"},height:{type:"integer"},last_block_id:{allOf:[{properties:{hash:{items:{type:"integer"},type:"array"},parts:{properties:{hash:{items:{type:"integer"},type:"array"},total:{type:"integer"}},type:"object"}},type:"object"}],description:"prev block info"},last_commit_hash:{description:"hashes of block data",items:{type:"integer"},type:"array"},last_results_hash:{description:"root hash of all results from the txs from the previous block\nsee `DeterministicExecTxResult` to understand which parts of a tx is hashed into here",items:{type:"integer"},type:"array"},next_validators_hash:{description:"validators for the next block",items:{type:"integer"},type:"array"},proposer_address:{description:"original proposer of the block",items:{type:"integer"},type:"array"},time:{type:"string"},validators_hash:{description:"hashes from the app output from the prev block",items:{type:"integer"},type:"array"},version:{allOf:[{properties:{app:{type:"integer"},block:{type:"integer"}},type:"object"}],description:"basic block info"}},type:"object"},last_commit:{properties:{block_id:{properties:{hash:{items:{type:"integer"},type:"array"},parts:{properties:{hash:{items:{type:"integer"},type:"array"},total:{type:"integer"}},type:"object"}},type:"object"},height:{description:"NOTE: The signatures are in order of address to preserve the bonded\nValidatorSet order.\nAny peer with a block can gossip signatures by index with a peer without\nrecalculating the active ValidatorSet.",type:"integer"},round:{type:"integer"},signatures:{items:{properties:{block_id_flag:{enum:[1,2,3],type:"integer","x-enum-varnames":["BlockIDFlagAbsent","BlockIDFlagCommit","BlockIDFlagNil"]},signature:{items:{type:"integer"},type:"array"},timestamp:{type:"string"},validator_address:{items:{type:"integer"},type:"array"}},type:"object"},type:"array"}},type:"object"}},type:"object"}}},description:"OK"}},tags:["Chain"],description:"Returns the block from the given hash",method:"get",path:"/chain/blocks/hash/{hash}",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Get block (by hash)",description:{content:"Returns the block from the given hash",type:"text/plain"},url:{path:["chain","blocks","hash",":hash"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Block hash",type:"text/plain"},type:"any",value:"",key:"hash"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},m=void 0,u={unversionedId:"vocdoni-api/get-block-by-hash",id:"vocdoni-api/get-block-by-hash",title:"Get block (by hash)",description:"Returns the block from the given hash",source:"@site/docs/vocdoni-api/get-block-by-hash.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/get-block-by-hash",permalink:"/vocdoni-api/get-block-by-hash",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"get-block-by-hash",title:"Get block (by hash)",description:"Returns the block from the given hash",sidebar_label:"Get block (by hash)",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Block hash",in:"path",name:"hash",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{data:{properties:{txs:{description:"Txs that will be applied by state @ block.Height+1.\nNOTE: not all txs here are valid. We're just agreeing on the order first.\nThis means that block.AppHash does not include these txs.",items:{items:{type:"integer"},type:"array"},type:"array"}},type:"object"},evidence:{properties:{evidence:{items:{},type:"array"}},type:"object"},hash:{type:"string"},header:{properties:{app_hash:{description:"state after txs from the previous block",items:{type:"integer"},type:"array"},chain_id:{type:"string"},consensus_hash:{description:"consensus params for current block",items:{type:"integer"},type:"array"},data_hash:{description:"transactions",items:{type:"integer"},type:"array"},evidence_hash:{description:"consensus info",items:{type:"integer"},type:"array"},height:{type:"integer"},last_block_id:{allOf:[{properties:{hash:{items:{type:"integer"},type:"array"},parts:{properties:{hash:{items:{type:"integer"},type:"array"},total:{type:"integer"}},type:"object"}},type:"object"}],description:"prev block info"},last_commit_hash:{description:"hashes of block data",items:{type:"integer"},type:"array"},last_results_hash:{description:"root hash of all results from the txs from the previous block\nsee `DeterministicExecTxResult` to understand which parts of a tx is hashed into here",items:{type:"integer"},type:"array"},next_validators_hash:{description:"validators for the next block",items:{type:"integer"},type:"array"},proposer_address:{description:"original proposer of the block",items:{type:"integer"},type:"array"},time:{type:"string"},validators_hash:{description:"hashes from the app output from the prev block",items:{type:"integer"},type:"array"},version:{allOf:[{properties:{app:{type:"integer"},block:{type:"integer"}},type:"object"}],description:"basic block info"}},type:"object"},last_commit:{properties:{block_id:{properties:{hash:{items:{type:"integer"},type:"array"},parts:{properties:{hash:{items:{type:"integer"},type:"array"},total:{type:"integer"}},type:"object"}},type:"object"},height:{description:"NOTE: The signatures are in order of address to preserve the bonded\nValidatorSet order.\nAny peer with a block can gossip signatures by index with a peer without\nrecalculating the active ValidatorSet.",type:"integer"},round:{type:"integer"},signatures:{items:{properties:{block_id_flag:{enum:[1,2,3],type:"integer","x-enum-varnames":["BlockIDFlagAbsent","BlockIDFlagCommit","BlockIDFlagNil"]},signature:{items:{type:"integer"},type:"array"},timestamp:{type:"string"},validator_address:{items:{type:"integer"},type:"array"}},type:"object"},type:"array"}},type:"object"}},type:"object"}}},description:"OK"}},tags:["Chain"],description:"Returns the block from the given hash",method:"get",path:"/chain/blocks/hash/{hash}",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Get block (by hash)",description:{content:"Returns the block from the given hash",type:"text/plain"},url:{path:["chain","blocks","hash",":hash"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Block hash",type:"text/plain"},type:"any",value:"",key:"hash"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"List all blocks",permalink:"/vocdoni-api/list-all-blocks"},next:{title:"Get block (by height)",permalink:"/vocdoni-api/get-block-by-height"}},y={},g=[{value:"Get block (by hash)",id:"get-block-by-hash",level:2}],v={toc:g};function b(e){let{components:t,...a}=e;return(0,i.kt)("wrapper",(0,s.Z)({},v,a,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"get-block-by-hash"},"Get block (by hash)"),(0,i.kt)("p",null,"Returns the block from the given hash"),(0,i.kt)("details",{style:{marginBottom:"1rem"},"data-collapsed":!1,open:!0},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"Path Parameters")),(0,i.kt)("div",null,(0,i.kt)("ul",null,(0,i.kt)(r.Z,{className:"paramsItem",param:{description:"Block hash",in:"path",name:"hash",required:!0,schema:{type:"string"}},mdxType:"ParamsItem"})))),(0,i.kt)("div",null,(0,i.kt)(o.Z,{mdxType:"ApiTabs"},(0,i.kt)(h.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,i.kt)("div",null,(0,i.kt)("p",null,"OK")),(0,i.kt)("div",null,(0,i.kt)(n.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,i.kt)(h.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,i.kt)(d.Z,{mdxType:"SchemaTabs"},(0,i.kt)(h.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,i.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,i.kt)("summary",{style:{textAlign:"left"}},(0,i.kt)("strong",null,"Schema")),(0,i.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,i.kt)("ul",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"data"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!1,name:"txs",required:!1,deprecated:void 0,schemaDescription:"Txs that will be applied by state @ block.Height+1.\nNOTE: not all txs here are valid. We're just agreeing on the order first.\nThis means that block.AppHash does not include these txs.",schemaName:"array[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,i.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"evidence"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!1,name:"evidence",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"undefined[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,i.kt)(c.Z,{collapsible:!1,name:"hash",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"header"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!1,name:"app_hash",required:!1,deprecated:void 0,schemaDescription:"state after txs from the previous block",schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"chain_id",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"consensus_hash",required:!1,deprecated:void 0,schemaDescription:"consensus params for current block",schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"data_hash",required:!1,deprecated:void 0,schemaDescription:"transactions",schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"evidence_hash",required:!1,deprecated:void 0,schemaDescription:"consensus info",schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"height",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"last_block_id"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!1,name:"hash",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"parts"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!1,name:"hash",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"total",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}))))))),(0,i.kt)(c.Z,{collapsible:!1,name:"last_commit_hash",required:!1,deprecated:void 0,schemaDescription:"hashes of block data",schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"last_results_hash",required:!1,deprecated:void 0,schemaDescription:"root hash of all results from the txs from the previous block\nsee `DeterministicExecTxResult` to understand which parts of a tx is hashed into here",schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"next_validators_hash",required:!1,deprecated:void 0,schemaDescription:"validators for the next block",schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"proposer_address",required:!1,deprecated:void 0,schemaDescription:"original proposer of the block",schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"time",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"validators_hash",required:!1,deprecated:void 0,schemaDescription:"hashes from the app output from the prev block",schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"version"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!1,name:"app",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"block",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}))))))),(0,i.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"last_commit"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"block_id"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!1,name:"hash",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"parts"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!1,name:"hash",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"total",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}))))))),(0,i.kt)(c.Z,{collapsible:!1,name:"height",required:!1,deprecated:void 0,schemaDescription:"NOTE: The signatures are in order of address to preserve the bonded\nValidatorSet order.\nAny peer with a block can gossip signatures by index with a peer without\nrecalculating the active ValidatorSet.",schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"round",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,i.kt)("details",{style:{}},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"signatures"),(0,i.kt)("span",{style:{opacity:"0.6"}}," object[]")),(0,i.kt)("div",{style:{marginLeft:"1rem"}},(0,i.kt)(c.Z,{collapsible:!1,name:"block_id_flag",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:"**Possible values:** [`1`, `2`, `3`]",defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"signature",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"timestamp",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,i.kt)(c.Z,{collapsible:!1,name:"validator_address",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))))))))),(0,i.kt)(h.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,i.kt)(l.Z,{responseExample:'{\n "data": {\n "txs": [\n [\n 0\n ]\n ]\n },\n "evidence": {\n "evidence": [\n null\n ]\n },\n "hash": "string",\n "header": {\n "app_hash": [\n 0\n ],\n "chain_id": "string",\n "consensus_hash": [\n 0\n ],\n "data_hash": [\n 0\n ],\n "evidence_hash": [\n 0\n ],\n "height": 0,\n "last_block_id": {\n "hash": [\n 0\n ],\n "parts": {\n "hash": [\n 0\n ],\n "total": 0\n }\n },\n "last_commit_hash": [\n 0\n ],\n "last_results_hash": [\n 0\n ],\n "next_validators_hash": [\n 0\n ],\n "proposer_address": [\n 0\n ],\n "time": "string",\n "validators_hash": [\n 0\n ],\n "version": {\n "app": 0,\n "block": 0\n }\n },\n "last_commit": {\n "block_id": {\n "hash": [\n 0\n ],\n "parts": {\n "hash": [\n 0\n ],\n "total": 0\n }\n },\n "height": 0,\n "round": 0,\n "signatures": [\n {\n "block_id_flag": 1,\n "signature": [\n 0\n ],\n "timestamp": "string",\n "validator_address": [\n 0\n ]\n }\n ]\n }\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}b.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/ed5700b4.3a82fb7d.js b/assets/js/ed5700b4.3a82fb7d.js deleted file mode 100644 index acf8b804a..000000000 --- a/assets/js/ed5700b4.3a82fb7d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[8493],{12128:(e,t,o)=>{o.d(t,{Z:()=>v});var n=o(87462),i=o(39805),a=o(14902),s=o(170),r=o(86390),c=o(65429),l=o(14758),d=o(67294),u=o(204),h=o(23100),p=o(16393);const m={React:d,...d,Flex:u.k,Box:h.xu,AspectRatio:p.o,Image:c.Ee,ElectionProvider:l.qT,ElectionHeader:c.UE,ElectionTitle:c.hi,ElectionSchedule:c.vE,ElectionResults:c.Hj,ElectionStatusBadge:c.QW,ElectionDescription:c.I3,ElectionQuestions:c.Vx,ElectionActions:c.A2,Election:c.bO,QuestionsConfirmation:c.KX,SpreadsheetAccess:c.cB,VoteButton:c.tT,OrganizationProvider:l.f0,OrganizationAvatar:c.ld,OrganizationDescription:c.G9,OrganizationHeader:c.sC,OrganizationName:c.X5,Balance:c.yo,Button:c.zx,HR:c.HR,Image:c.Ee,Markdown:c.UG};var g=o(22457),f=o(37489);const v=(y=s.Z,function(e){if(e.live){let t=f.G;return'"spreadsheet"'===e.title&&(t=f.IS),d.createElement(i.x,{theme:(0,a.B1)(c.rS),resetCSS:!1},d.createElement(c.de,{env:g.yG.STG,signer:f.Lp.wallet},d.createElement(l.f0,{id:f.fD},d.createElement(l.qT,{id:t,fetchCensus:!0},d.createElement(c.DG,null,d.createElement(r.Z,(0,n.Z)({scope:m},e)))))))}return d.createElement(y,e)});var y},2364:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>g,contentTitle:()=>p,default:()=>y,frontMatter:()=>h,metadata:()=>m,toc:()=>f});var n=o(87462),i=(o(67294),o(3905)),a=o(26389),s=o(94891),r=o(75190),c=o(47507),l=o(24310),d=o(63303),u=(o(75035),o(85162));const h={id:"count-organization-elections",title:"Count organization elections",description:"Returns the number of elections for an organization",sidebar_label:"Count organization elections",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Specific organizationId",in:"path",name:"organizationId",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{count:{example:10,type:"integer"}},type:"object"}}},description:"OK"}},tags:["Accounts"],description:"Returns the number of elections for an organization",method:"get",path:"/accounts/{organizationId}/elections/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Count organization elections",description:{content:"Returns the number of elections for an organization",type:"text/plain"},url:{path:["accounts",":organizationId","elections","count"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Specific organizationId",type:"text/plain"},type:"any",value:"",key:"organizationId"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},p=void 0,m={unversionedId:"vocdoni-api/count-organization-elections",id:"vocdoni-api/count-organization-elections",title:"Count organization elections",description:"Returns the number of elections for an organization",source:"@site/docs/vocdoni-api/count-organization-elections.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/count-organization-elections",permalink:"/vocdoni-api/count-organization-elections",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"count-organization-elections",title:"Count organization elections",description:"Returns the number of elections for an organization",sidebar_label:"Count organization elections",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Specific organizationId",in:"path",name:"organizationId",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{count:{example:10,type:"integer"}},type:"object"}}},description:"OK"}},tags:["Accounts"],description:"Returns the number of elections for an organization",method:"get",path:"/accounts/{organizationId}/elections/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Count organization elections",description:{content:"Returns the number of elections for an organization",type:"text/plain"},url:{path:["accounts",":organizationId","elections","count"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Specific organizationId",type:"text/plain"},type:"any",value:"",key:"organizationId"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Get account",permalink:"/vocdoni-api/get-account"},next:{title:"List organization elections",permalink:"/vocdoni-api/list-organization-elections"}},g={},f=[{value:"Count organization elections",id:"count-organization-elections",level:2}],v={toc:f};function y(e){let{components:t,...o}=e;return(0,i.kt)("wrapper",(0,n.Z)({},v,o,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"count-organization-elections"},"Count organization elections"),(0,i.kt)("p",null,"Returns the number of elections for an organization"),(0,i.kt)("details",{style:{marginBottom:"1rem"},"data-collapsed":!1,open:!0},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"Path Parameters")),(0,i.kt)("div",null,(0,i.kt)("ul",null,(0,i.kt)(r.Z,{className:"paramsItem",param:{description:"Specific organizationId",in:"path",name:"organizationId",required:!0,schema:{type:"string"}},mdxType:"ParamsItem"})))),(0,i.kt)("div",null,(0,i.kt)(a.Z,{mdxType:"ApiTabs"},(0,i.kt)(u.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,i.kt)("div",null,(0,i.kt)("p",null,"OK")),(0,i.kt)("div",null,(0,i.kt)(s.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,i.kt)(u.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,i.kt)(d.Z,{mdxType:"SchemaTabs"},(0,i.kt)(u.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,i.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,i.kt)("summary",{style:{textAlign:"left"}},(0,i.kt)("strong",null,"Schema")),(0,i.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,i.kt)("ul",{style:{marginLeft:"1rem"}},(0,i.kt)(l.Z,{collapsible:!1,name:"count",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,i.kt)(u.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,i.kt)(c.Z,{responseExample:'{\n "count": 10\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/ed5700b4.6500a467.js b/assets/js/ed5700b4.6500a467.js new file mode 100644 index 000000000..fca929e9d --- /dev/null +++ b/assets/js/ed5700b4.6500a467.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[8493],{12128:(e,t,o)=>{o.d(t,{Z:()=>v});var n=o(87462),i=o(39805),a=o(14902),s=o(170),r=o(86390),c=o(65429),l=o(14758),d=o(67294),h=o(204),p=o(23100),u=o(16393);const m={React:d,...d,Flex:h.k,Box:p.xu,AspectRatio:u.o,Image:c.Ee,ElectionProvider:l.qT,ElectionHeader:c.UE,ElectionTitle:c.hi,ElectionSchedule:c.vE,ElectionResults:c.Hj,ElectionStatusBadge:c.QW,ElectionDescription:c.I3,ElectionQuestions:c.Vx,ElectionActions:c.A2,Election:c.bO,QuestionsConfirmation:c.KX,SpreadsheetAccess:c.cB,VoteButton:c.tT,OrganizationProvider:l.f0,OrganizationAvatar:c.ld,OrganizationDescription:c.G9,OrganizationHeader:c.sC,OrganizationName:c.X5,Balance:c.yo,Button:c.zx,HR:c.HR,Image:c.Ee,Markdown:c.UG};var g=o(22457),f=o(37489);const v=(y=s.Z,function(e){if(e.live){let t=f.G;return'"spreadsheet"'===e.title&&(t=f.IS),d.createElement(i.x,{theme:(0,a.B1)(c.rS),resetCSS:!1},d.createElement(c.de,{env:g.yG.STG,signer:f.Lp.wallet},d.createElement(l.f0,{id:f.fD},d.createElement(l.qT,{id:t,fetchCensus:!0},d.createElement(c.DG,null,d.createElement(r.Z,(0,n.Z)({scope:m},e)))))))}return d.createElement(y,e)});var y},2364:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>g,contentTitle:()=>u,default:()=>y,frontMatter:()=>p,metadata:()=>m,toc:()=>f});var n=o(87462),i=(o(67294),o(3905)),a=o(26389),s=o(94891),r=o(75190),c=o(47507),l=o(24310),d=o(63303),h=(o(75035),o(85162));const p={id:"count-organization-elections",title:"Count organization elections",description:"Returns the number of elections for an organization",sidebar_label:"Count organization elections",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Specific organizationId",in:"path",name:"organizationId",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{count:{example:10,type:"integer"}},type:"object"}}},description:"OK"}},tags:["Accounts"],deprecated:!0,description:"Returns the number of elections for an organization\n(deprecated, in favor of /elections?organizationId=xxx which reports totalItems)",method:"get",path:"/accounts/{organizationId}/elections/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Count organization elections",description:{content:"Returns the number of elections for an organization\n(deprecated, in favor of /elections?organizationId=xxx which reports totalItems)",type:"text/plain"},url:{path:["accounts",":organizationId","elections","count"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Specific organizationId",type:"text/plain"},type:"any",value:"",key:"organizationId"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},u=void 0,m={unversionedId:"vocdoni-api/count-organization-elections",id:"vocdoni-api/count-organization-elections",title:"Count organization elections",description:"Returns the number of elections for an organization",source:"@site/docs/vocdoni-api/count-organization-elections.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/count-organization-elections",permalink:"/vocdoni-api/count-organization-elections",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"count-organization-elections",title:"Count organization elections",description:"Returns the number of elections for an organization",sidebar_label:"Count organization elections",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Specific organizationId",in:"path",name:"organizationId",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{properties:{count:{example:10,type:"integer"}},type:"object"}}},description:"OK"}},tags:["Accounts"],deprecated:!0,description:"Returns the number of elections for an organization\n(deprecated, in favor of /elections?organizationId=xxx which reports totalItems)",method:"get",path:"/accounts/{organizationId}/elections/count",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"Count organization elections",description:{content:"Returns the number of elections for an organization\n(deprecated, in favor of /elections?organizationId=xxx which reports totalItems)",type:"text/plain"},url:{path:["accounts",":organizationId","elections","count"],host:["{{baseUrl}}"],query:[],variable:[{disabled:!1,description:{content:"(Required) Specific organizationId",type:"text/plain"},type:"any",value:"",key:"organizationId"}]},header:[{key:"Accept",value:"application/json"}],method:"GET"}},sidebar_class_name:"get api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Get account",permalink:"/vocdoni-api/get-account"},next:{title:"List organization elections",permalink:"/vocdoni-api/list-organization-elections"}},g={},f=[{value:"Count organization elections",id:"count-organization-elections",level:2}],v={toc:f};function y(e){let{components:t,...o}=e;return(0,i.kt)("wrapper",(0,n.Z)({},v,o,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"count-organization-elections"},"Count organization elections"),(0,i.kt)("admonition",{title:"deprecated",type:"caution"},(0,i.kt)("p",{parentName:"admonition"},"This endpoint has been deprecated and may be removed in future versions of the API.")),(0,i.kt)("p",null,"Returns the number of elections for an organization\n(deprecated, in favor of /elections?organizationId=xxx which reports totalItems)"),(0,i.kt)("details",{style:{marginBottom:"1rem"},"data-collapsed":!1,open:!0},(0,i.kt)("summary",{style:{}},(0,i.kt)("strong",null,"Path Parameters")),(0,i.kt)("div",null,(0,i.kt)("ul",null,(0,i.kt)(r.Z,{className:"paramsItem",param:{description:"Specific organizationId",in:"path",name:"organizationId",required:!0,schema:{type:"string"}},mdxType:"ParamsItem"})))),(0,i.kt)("div",null,(0,i.kt)(a.Z,{mdxType:"ApiTabs"},(0,i.kt)(h.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,i.kt)("div",null,(0,i.kt)("p",null,"OK")),(0,i.kt)("div",null,(0,i.kt)(s.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,i.kt)(h.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,i.kt)(d.Z,{mdxType:"SchemaTabs"},(0,i.kt)(h.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,i.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,i.kt)("summary",{style:{textAlign:"left"}},(0,i.kt)("strong",null,"Schema")),(0,i.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,i.kt)("ul",{style:{marginLeft:"1rem"}},(0,i.kt)(l.Z,{collapsible:!1,name:"count",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,i.kt)(h.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,i.kt)(c.Z,{responseExample:'{\n "count": 10\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/f50a63d5.5fdf03d6.js b/assets/js/f50a63d5.5fdf03d6.js new file mode 100644 index 000000000..a41a442ee --- /dev/null +++ b/assets/js/f50a63d5.5fdf03d6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[3987],{12128:(e,t,i)=>{i.d(t,{Z:()=>v});var a=i(87462),n=i(39805),s=i(14902),o=i(170),r=i(86390),l=i(65429),d=i(14758),c=i(67294),p=i(204),u=i(23100),m=i(16393);const h={React:c,...c,Flex:p.k,Box:u.xu,AspectRatio:m.o,Image:l.Ee,ElectionProvider:d.qT,ElectionHeader:l.UE,ElectionTitle:l.hi,ElectionSchedule:l.vE,ElectionResults:l.Hj,ElectionStatusBadge:l.QW,ElectionDescription:l.I3,ElectionQuestions:l.Vx,ElectionActions:l.A2,Election:l.bO,QuestionsConfirmation:l.KX,SpreadsheetAccess:l.cB,VoteButton:l.tT,OrganizationProvider:d.f0,OrganizationAvatar:l.ld,OrganizationDescription:l.G9,OrganizationHeader:l.sC,OrganizationName:l.X5,Balance:l.yo,Button:l.zx,HR:l.HR,Image:l.Ee,Markdown:l.UG};var g=i(22457),f=i(37489);const v=(y=o.Z,function(e){if(e.live){let t=f.G;return'"spreadsheet"'===e.title&&(t=f.IS),c.createElement(n.x,{theme:(0,s.B1)(l.rS),resetCSS:!1},c.createElement(l.de,{env:g.yG.STG,signer:f.Lp.wallet},c.createElement(d.f0,{id:f.fD},c.createElement(d.qT,{id:t,fetchCensus:!0},c.createElement(l.DG,null,c.createElement(r.Z,(0,a.Z)({scope:h},e)))))))}return c.createElement(y,e)});var y},85089:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>g,contentTitle:()=>m,default:()=>y,frontMatter:()=>u,metadata:()=>h,toc:()=>f});var a=i(87462),n=(i(67294),i(3905)),s=i(26389),o=i(94891),r=i(75190),l=i(47507),d=i(24310),c=i(63303),p=(i(75035),i(85162));const u={id:"list-elections-filtered",title:"List elections (filtered)",description:"Returns a filtered list of elections. The filters have to be sent on the request body. The valid filters are:",sidebar_label:"List elections (filtered)",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Page",in:"query",name:"page",schema:{type:"number"}}],responses:{200:{content:{"application/json":{schema:{properties:{elections:{items:{properties:{chainId:{type:"string"},electionId:{type:"string"},endDate:{type:"string"},finalResults:{type:"boolean"},manuallyEnded:{type:"boolean"},organizationId:{type:"string"},result:{items:{items:{type:"object"},type:"array"},type:"array"},startDate:{type:"string"},status:{type:"string"},voteCount:{type:"integer"}},type:"object"},type:"array"},pagination:{properties:{currentPage:{type:"integer"},lastPage:{type:"integer"},nextPage:{type:"integer"},previousPage:{type:"integer"},totalItems:{type:"integer"}},type:"object"}},type:"object"}}},description:"OK"}},tags:["Elections"],deprecated:!0,description:'Returns a filtered list of elections. The filters have to be sent on the request body. The valid filters are: \n \n```json\n{\n "organizationId": "hexString",\n "electionId": "hexString",\n "withResults": false,\n "status": "READY",\n}\n```\n\n`electionId` can be partial. \n\nSee [elections list](elections-list)\n\n(deprecated, in favor of /elections?page=xxx&organizationId=xxx&status=xxx)\n',requestBody:{content:{"application/json":{schema:{properties:{electionId:{type:"string"},endDateAfter:{type:"string"},endDateBefore:{type:"string"},finalResults:{type:"boolean"},limit:{type:"integer"},manuallyEnded:{type:"boolean"},organizationId:{type:"string"},page:{type:"integer"},startDateAfter:{type:"string"},startDateBefore:{type:"string"},status:{type:"string"},withResults:{type:"boolean"}},type:"object"}}},description:"Filtered by partial organizationId, partial electionId, election status and with results available or not",required:!0},method:"post",path:"/elections/filter",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},jsonRequestBodyExample:{electionId:"string",endDateAfter:"string",endDateBefore:"string",finalResults:!0,limit:0,manuallyEnded:!0,organizationId:"string",page:0,startDateAfter:"string",startDateBefore:"string",status:"string",withResults:!0},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"List elections (filtered)",description:{content:'Returns a filtered list of elections. The filters have to be sent on the request body. The valid filters are: \n \n```json\n{\n "organizationId": "hexString",\n "electionId": "hexString",\n "withResults": false,\n "status": "READY",\n}\n```\n\n`electionId` can be partial. \n\nSee [elections list](elections-list)\n\n(deprecated, in favor of /elections?page=xxx&organizationId=xxx&status=xxx)\n',type:"text/plain"},url:{path:["elections","filter"],host:["{{baseUrl}}"],query:[{disabled:!1,description:{content:"Page",type:"text/plain"},key:"page",value:""}],variable:[]},header:[{key:"Content-Type",value:"application/json"},{key:"Accept",value:"application/json"}],method:"POST",body:{mode:"raw",raw:'""',options:{raw:{language:"json"}}}}},sidebar_class_name:"post api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},m=void 0,h={unversionedId:"vocdoni-api/list-elections-filtered",id:"vocdoni-api/list-elections-filtered",title:"List elections (filtered)",description:"Returns a filtered list of elections. The filters have to be sent on the request body. The valid filters are:",source:"@site/docs/vocdoni-api/list-elections-filtered.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/list-elections-filtered",permalink:"/vocdoni-api/list-elections-filtered",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"list-elections-filtered",title:"List elections (filtered)",description:"Returns a filtered list of elections. The filters have to be sent on the request body. The valid filters are:",sidebar_label:"List elections (filtered)",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Page",in:"query",name:"page",schema:{type:"number"}}],responses:{200:{content:{"application/json":{schema:{properties:{elections:{items:{properties:{chainId:{type:"string"},electionId:{type:"string"},endDate:{type:"string"},finalResults:{type:"boolean"},manuallyEnded:{type:"boolean"},organizationId:{type:"string"},result:{items:{items:{type:"object"},type:"array"},type:"array"},startDate:{type:"string"},status:{type:"string"},voteCount:{type:"integer"}},type:"object"},type:"array"},pagination:{properties:{currentPage:{type:"integer"},lastPage:{type:"integer"},nextPage:{type:"integer"},previousPage:{type:"integer"},totalItems:{type:"integer"}},type:"object"}},type:"object"}}},description:"OK"}},tags:["Elections"],deprecated:!0,description:'Returns a filtered list of elections. The filters have to be sent on the request body. The valid filters are: \n \n```json\n{\n "organizationId": "hexString",\n "electionId": "hexString",\n "withResults": false,\n "status": "READY",\n}\n```\n\n`electionId` can be partial. \n\nSee [elections list](elections-list)\n\n(deprecated, in favor of /elections?page=xxx&organizationId=xxx&status=xxx)\n',requestBody:{content:{"application/json":{schema:{properties:{electionId:{type:"string"},endDateAfter:{type:"string"},endDateBefore:{type:"string"},finalResults:{type:"boolean"},limit:{type:"integer"},manuallyEnded:{type:"boolean"},organizationId:{type:"string"},page:{type:"integer"},startDateAfter:{type:"string"},startDateBefore:{type:"string"},status:{type:"string"},withResults:{type:"boolean"}},type:"object"}}},description:"Filtered by partial organizationId, partial electionId, election status and with results available or not",required:!0},method:"post",path:"/elections/filter",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},jsonRequestBodyExample:{electionId:"string",endDateAfter:"string",endDateBefore:"string",finalResults:!0,limit:0,manuallyEnded:!0,organizationId:"string",page:0,startDateAfter:"string",startDateBefore:"string",status:"string",withResults:!0},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"List elections (filtered)",description:{content:'Returns a filtered list of elections. The filters have to be sent on the request body. The valid filters are: \n \n```json\n{\n "organizationId": "hexString",\n "electionId": "hexString",\n "withResults": false,\n "status": "READY",\n}\n```\n\n`electionId` can be partial. \n\nSee [elections list](elections-list)\n\n(deprecated, in favor of /elections?page=xxx&organizationId=xxx&status=xxx)\n',type:"text/plain"},url:{path:["elections","filter"],host:["{{baseUrl}}"],query:[{disabled:!1,description:{content:"Page",type:"text/plain"},key:"page",value:""}],variable:[]},header:[{key:"Content-Type",value:"application/json"},{key:"Accept",value:"application/json"}],method:"POST",body:{mode:"raw",raw:'""',options:{raw:{language:"json"}}}}},sidebar_class_name:"post api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Create election",permalink:"/vocdoni-api/create-election"},next:{title:"List elections (filtered)",permalink:"/vocdoni-api/list-elections-filtered"}},g={},f=[{value:"List elections (filtered)",id:"list-elections-filtered",level:2}],v={toc:f};function y(e){let{components:t,...i}=e;return(0,n.kt)("wrapper",(0,a.Z)({},v,i,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h2",{id:"list-elections-filtered"},"List elections (filtered)"),(0,n.kt)("admonition",{title:"deprecated",type:"caution"},(0,n.kt)("p",{parentName:"admonition"},"This endpoint has been deprecated and may be removed in future versions of the API.")),(0,n.kt)("p",null,"Returns a filtered list of elections. The filters have to be sent on the request body. The valid filters are: "),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-json"},'{\n "organizationId": "hexString",\n "electionId": "hexString",\n "withResults": false,\n "status": "READY",\n}\n')),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"electionId")," can be partial. "),(0,n.kt)("p",null,"See ",(0,n.kt)("a",{parentName:"p",href:"elections-list"},"elections list")),(0,n.kt)("p",null,"(deprecated, in favor of /elections?page=xxx&organizationId=xxx&status=xxx)"),(0,n.kt)("details",{style:{marginBottom:"1rem"},"data-collapsed":!1,open:!0},(0,n.kt)("summary",{style:{}},(0,n.kt)("strong",null,"Query Parameters")),(0,n.kt)("div",null,(0,n.kt)("ul",null,(0,n.kt)(r.Z,{className:"paramsItem",param:{description:"Page",in:"query",name:"page",schema:{type:"number"}},mdxType:"ParamsItem"})))),(0,n.kt)(o.Z,{mdxType:"MimeTabs"},(0,n.kt)(p.Z,{label:"application/json",value:"application/json-schema",mdxType:"TabItem"},(0,n.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,n.kt)("summary",{style:{textAlign:"left"}},(0,n.kt)("strong",null,"Request Body"),(0,n.kt)("strong",{style:{fontSize:"var(--ifm-code-font-size)",color:"var(--openapi-required)"}}," required")),(0,n.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}},(0,n.kt)("div",{style:{marginTop:"1rem",marginBottom:"1rem"}},(0,n.kt)("p",null,"Filtered by partial organizationId, partial electionId, election status and with results available or not"))),(0,n.kt)("ul",{style:{marginLeft:"1rem"}},(0,n.kt)(d.Z,{collapsible:!1,name:"electionId",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"endDateAfter",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"endDateBefore",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"finalResults",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"boolean",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"limit",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"manuallyEnded",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"boolean",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"organizationId",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"page",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"startDateAfter",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"startDateBefore",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"status",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"withResults",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"boolean",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}))))),(0,n.kt)("div",null,(0,n.kt)(s.Z,{mdxType:"ApiTabs"},(0,n.kt)(p.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,n.kt)("div",null,(0,n.kt)("p",null,"OK")),(0,n.kt)("div",null,(0,n.kt)(o.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,n.kt)(p.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,n.kt)(c.Z,{mdxType:"SchemaTabs"},(0,n.kt)(p.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,n.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,n.kt)("summary",{style:{textAlign:"left"}},(0,n.kt)("strong",null,"Schema")),(0,n.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,n.kt)("ul",{style:{marginLeft:"1rem"}},(0,n.kt)(d.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,n.kt)("details",{style:{}},(0,n.kt)("summary",{style:{}},(0,n.kt)("strong",null,"elections"),(0,n.kt)("span",{style:{opacity:"0.6"}}," object[]")),(0,n.kt)("div",{style:{marginLeft:"1rem"}},(0,n.kt)(d.Z,{collapsible:!1,name:"chainId",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"electionId",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"endDate",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"finalResults",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"boolean",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"manuallyEnded",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"boolean",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"organizationId",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"result",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"array[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"startDate",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"status",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"voteCount",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,n.kt)(d.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,n.kt)("details",{style:{}},(0,n.kt)("summary",{style:{}},(0,n.kt)("strong",null,"pagination"),(0,n.kt)("span",{style:{opacity:"0.6"}}," object")),(0,n.kt)("div",{style:{marginLeft:"1rem"}},(0,n.kt)(d.Z,{collapsible:!1,name:"currentPage",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"lastPage",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"nextPage",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"previousPage",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"totalItems",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}))))))),(0,n.kt)(p.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,n.kt)(l.Z,{responseExample:'{\n "elections": [\n {\n "chainId": "string",\n "electionId": "string",\n "endDate": "string",\n "finalResults": true,\n "manuallyEnded": true,\n "organizationId": "string",\n "result": [\n [\n {}\n ]\n ],\n "startDate": "string",\n "status": "string",\n "voteCount": 0\n }\n ],\n "pagination": {\n "currentPage": 0,\n "lastPage": 0,\n "nextPage": 0,\n "previousPage": 0,\n "totalItems": 0\n }\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/f50a63d5.94b89080.js b/assets/js/f50a63d5.94b89080.js deleted file mode 100644 index ad60a2c84..000000000 --- a/assets/js/f50a63d5.94b89080.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[3987],{12128:(e,t,i)=>{i.d(t,{Z:()=>v});var a=i(87462),n=i(39805),s=i(14902),o=i(170),r=i(86390),l=i(65429),d=i(14758),c=i(67294),p=i(204),u=i(23100),m=i(16393);const h={React:c,...c,Flex:p.k,Box:u.xu,AspectRatio:m.o,Image:l.Ee,ElectionProvider:d.qT,ElectionHeader:l.UE,ElectionTitle:l.hi,ElectionSchedule:l.vE,ElectionResults:l.Hj,ElectionStatusBadge:l.QW,ElectionDescription:l.I3,ElectionQuestions:l.Vx,ElectionActions:l.A2,Election:l.bO,QuestionsConfirmation:l.KX,SpreadsheetAccess:l.cB,VoteButton:l.tT,OrganizationProvider:d.f0,OrganizationAvatar:l.ld,OrganizationDescription:l.G9,OrganizationHeader:l.sC,OrganizationName:l.X5,Balance:l.yo,Button:l.zx,HR:l.HR,Image:l.Ee,Markdown:l.UG};var g=i(22457),f=i(37489);const v=(y=o.Z,function(e){if(e.live){let t=f.G;return'"spreadsheet"'===e.title&&(t=f.IS),c.createElement(n.x,{theme:(0,s.B1)(l.rS),resetCSS:!1},c.createElement(l.de,{env:g.yG.STG,signer:f.Lp.wallet},c.createElement(d.f0,{id:f.fD},c.createElement(d.qT,{id:t,fetchCensus:!0},c.createElement(l.DG,null,c.createElement(r.Z,(0,a.Z)({scope:h},e)))))))}return c.createElement(y,e)});var y},85089:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>g,contentTitle:()=>m,default:()=>y,frontMatter:()=>u,metadata:()=>h,toc:()=>f});var a=i(87462),n=(i(67294),i(3905)),s=i(26389),o=i(94891),r=i(75190),l=i(47507),d=i(24310),c=i(63303),p=(i(75035),i(85162));const u={id:"list-elections-filtered",title:"List elections (filtered)",description:"Returns a filtered list of elections. The filters have to be sent on the request body. The valid filters are:",sidebar_label:"List elections (filtered)",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Page",in:"query",name:"page",schema:{type:"number"}}],responses:{200:{content:{"application/json":{schema:{properties:{elections:{items:{properties:{chainId:{type:"string"},electionId:{type:"string"},endDate:{type:"string"},finalResults:{type:"boolean"},manuallyEnded:{type:"boolean"},organizationId:{type:"string"},result:{items:{items:{type:"object"},type:"array"},type:"array"},startDate:{type:"string"},status:{type:"string"},voteCount:{type:"integer"}},type:"object"},type:"array"},pagination:{properties:{currentPage:{type:"integer"},lastPage:{type:"integer"},nextPage:{type:"integer"},previousPage:{type:"integer"},totalItems:{type:"integer"}},type:"object"}},type:"object"}}},description:"OK"}},tags:["Elections"],deprecated:!0,description:'Returns a filtered list of elections. The filters have to be sent on the request body. The valid filters are: \n \n```json\n{\n "organizationId": "hexString",\n "electionId": "hexString",\n "withResults": false,\n "status": "READY",\n}\n```\n\n`electionId` can be partial. \n\nSee [elections list](elections-list)\n\n(deprecated, in favor of /elections?page=xxx&organizationId=xxx&status=xxx)\n',requestBody:{content:{"application/json":{schema:{properties:{electionId:{type:"string"},finalResults:{type:"boolean"},limit:{type:"integer"},manuallyEnded:{type:"boolean"},organizationId:{type:"string"},page:{type:"integer"},status:{type:"string"},withResults:{type:"boolean"}},type:"object"}}},description:"Filtered by partial organizationId, partial electionId, election status and with results available or not",required:!0},method:"post",path:"/elections/filter",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},jsonRequestBodyExample:{electionId:"string",finalResults:!0,limit:0,manuallyEnded:!0,organizationId:"string",page:0,status:"string",withResults:!0},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"List elections (filtered)",description:{content:'Returns a filtered list of elections. The filters have to be sent on the request body. The valid filters are: \n \n```json\n{\n "organizationId": "hexString",\n "electionId": "hexString",\n "withResults": false,\n "status": "READY",\n}\n```\n\n`electionId` can be partial. \n\nSee [elections list](elections-list)\n\n(deprecated, in favor of /elections?page=xxx&organizationId=xxx&status=xxx)\n',type:"text/plain"},url:{path:["elections","filter"],host:["{{baseUrl}}"],query:[{disabled:!1,description:{content:"Page",type:"text/plain"},key:"page",value:""}],variable:[]},header:[{key:"Content-Type",value:"application/json"},{key:"Accept",value:"application/json"}],method:"POST",body:{mode:"raw",raw:'""',options:{raw:{language:"json"}}}}},sidebar_class_name:"post api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},m=void 0,h={unversionedId:"vocdoni-api/list-elections-filtered",id:"vocdoni-api/list-elections-filtered",title:"List elections (filtered)",description:"Returns a filtered list of elections. The filters have to be sent on the request body. The valid filters are:",source:"@site/docs/vocdoni-api/list-elections-filtered.api.mdx",sourceDirName:"vocdoni-api",slug:"/vocdoni-api/list-elections-filtered",permalink:"/vocdoni-api/list-elections-filtered",draft:!1,editUrl:null,tags:[],version:"current",frontMatter:{id:"list-elections-filtered",title:"List elections (filtered)",description:"Returns a filtered list of elections. The filters have to be sent on the request body. The valid filters are:",sidebar_label:"List elections (filtered)",hide_title:!0,hide_table_of_contents:!0,api:{parameters:[{description:"Page",in:"query",name:"page",schema:{type:"number"}}],responses:{200:{content:{"application/json":{schema:{properties:{elections:{items:{properties:{chainId:{type:"string"},electionId:{type:"string"},endDate:{type:"string"},finalResults:{type:"boolean"},manuallyEnded:{type:"boolean"},organizationId:{type:"string"},result:{items:{items:{type:"object"},type:"array"},type:"array"},startDate:{type:"string"},status:{type:"string"},voteCount:{type:"integer"}},type:"object"},type:"array"},pagination:{properties:{currentPage:{type:"integer"},lastPage:{type:"integer"},nextPage:{type:"integer"},previousPage:{type:"integer"},totalItems:{type:"integer"}},type:"object"}},type:"object"}}},description:"OK"}},tags:["Elections"],deprecated:!0,description:'Returns a filtered list of elections. The filters have to be sent on the request body. The valid filters are: \n \n```json\n{\n "organizationId": "hexString",\n "electionId": "hexString",\n "withResults": false,\n "status": "READY",\n}\n```\n\n`electionId` can be partial. \n\nSee [elections list](elections-list)\n\n(deprecated, in favor of /elections?page=xxx&organizationId=xxx&status=xxx)\n',requestBody:{content:{"application/json":{schema:{properties:{electionId:{type:"string"},finalResults:{type:"boolean"},limit:{type:"integer"},manuallyEnded:{type:"boolean"},organizationId:{type:"string"},page:{type:"integer"},status:{type:"string"},withResults:{type:"boolean"}},type:"object"}}},description:"Filtered by partial organizationId, partial electionId, election status and with results available or not",required:!0},method:"post",path:"/elections/filter",servers:[{url:"https://api-dev.vocdoni.net/v2"}],securitySchemes:{BasicAuth:{scheme:"basic",type:"http"}},jsonRequestBodyExample:{electionId:"string",finalResults:!0,limit:0,manuallyEnded:!0,organizationId:"string",page:0,status:"string",withResults:!0},info:{contact:{},description:"\nThe Vocdoni API is a REST API that substitutes the previous RPCs in order to make it easier for developers/integrators to build on top of the voting protocol. This API facilitates the creation of voting processes with Vocdoni, without the hassle of integrating with a complex distributed stack with blockchain components. The API allows integrators to perform all the features enabled by the Vocdoni voting protocol, such as creating accounts, organizations, voting processes, and censuses, as well as casting votes. The API is designed to abstract away the complexity of the Vocdoni protocol as much as possible, offering a simple and straightforward way to performing these actions. \n\nThe API contains the following endpoints: \n\n- [**Chain**](chain): The Vocdoni blockchain is named Vochain. It is a Byzantine fault-tolerant network based on Tendermint that executes the Vocdoni Protocol logic represented as a state machine. Its main purpose is to register votes to a decentralized data store that is able to guarantee univeral verifiability. The chain endpoints allow you to consult the state of the chain, estimate transactions costs, list organizations, and get more Vochain info.\n- [**Accounts**](accounts): Identified by an Ethereum-like address. An account can create and manage elections, transfer tokens, give power to other accounts on its behalf (delegation) and manage its metadata. This endpoint allows users to set the metadata associated with an existing account and to query for information related to existing accounts.\n- [**Elections**](elections): The elections endpoint serves information related to elections such as basic election information, election keys, and submitted votes, as well as enabling users to create a new election and modify existing ones. There is a set of [options, specifications, and lifecycle states](https://developer.vocdoni.io/protocol#elections) that determine the behavior of an election and how votes are counted. \n- [**Censuses**](censuses): The census is a key component of any voting process. It specifies the set of users (each identified by a public key or address) eligible to participate in an election. The various types of census are documented [here](https://developer.vocdoni.io/protocol/census). This endpoint provides census information like the Merkle root, type, total weight, and size of a census. It also allows you to import/export censuses and create new ones.\n- [**Votes**](votes): This endpoint serves all the information associated with any specific vote, including its validity. It is also how users can cast votes.\n- [**Wallet**](wallet): The wallet endpoint facilitates the creation of accounts on the Vochain. This endpoint fulfills requests relating to the token balance held by a given account. \n- [**SIK**](sik): The Secret Identity Key is a user-generated piece of information that proves the user's identity without revealing it. It is the hash of the user's address, the signature of a public message, and an optional secret part. It is used to ensure anonymous voting. All registered accounts or anonymous voters must register a SIK, and these keys are all stored in a Merkle tree. The `/siks` endpoints helps to generate a proof of membership, get the current valid SIK roots, or check if an account has a valid SIK.\n\n\n### Errors \n\nBackend error messages list are defined here: https://github.com/vocdoni/vocdoni-node/blob/master/api/errors.go\n\nAbout the **204 no content** error: this message will be returned only if the asset being queried cannot be found but no other errors have occurred. This response is commonly used to prevent Javascript errors that may arise when a client is waiting for a transaction to be published. During this waiting period, the client can repeatedly query the endpoint until a successful response with a status code of 200 is received, thereby avoiding any errors that may occur due to the transaction not being published yet.",title:"Vocdoni API",version:"2.0.0"},postman:{name:"List elections (filtered)",description:{content:'Returns a filtered list of elections. The filters have to be sent on the request body. The valid filters are: \n \n```json\n{\n "organizationId": "hexString",\n "electionId": "hexString",\n "withResults": false,\n "status": "READY",\n}\n```\n\n`electionId` can be partial. \n\nSee [elections list](elections-list)\n\n(deprecated, in favor of /elections?page=xxx&organizationId=xxx&status=xxx)\n',type:"text/plain"},url:{path:["elections","filter"],host:["{{baseUrl}}"],query:[{disabled:!1,description:{content:"Page",type:"text/plain"},key:"page",value:""}],variable:[]},header:[{key:"Content-Type",value:"application/json"},{key:"Accept",value:"application/json"}],method:"POST",body:{mode:"raw",raw:'""',options:{raw:{language:"json"}}}}},sidebar_class_name:"post api-method",info_path:"vocdoni-api/vocdoni-api",custom_edit_url:null},sidebar:"defaultSidebar",previous:{title:"Create election",permalink:"/vocdoni-api/create-election"},next:{title:"List elections (filtered)",permalink:"/vocdoni-api/list-elections-filtered"}},g={},f=[{value:"List elections (filtered)",id:"list-elections-filtered",level:2}],v={toc:f};function y(e){let{components:t,...i}=e;return(0,n.kt)("wrapper",(0,a.Z)({},v,i,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h2",{id:"list-elections-filtered"},"List elections (filtered)"),(0,n.kt)("admonition",{title:"deprecated",type:"caution"},(0,n.kt)("p",{parentName:"admonition"},"This endpoint has been deprecated and may be removed in future versions of the API.")),(0,n.kt)("p",null,"Returns a filtered list of elections. The filters have to be sent on the request body. The valid filters are: "),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-json"},'{\n "organizationId": "hexString",\n "electionId": "hexString",\n "withResults": false,\n "status": "READY",\n}\n')),(0,n.kt)("p",null,(0,n.kt)("inlineCode",{parentName:"p"},"electionId")," can be partial. "),(0,n.kt)("p",null,"See ",(0,n.kt)("a",{parentName:"p",href:"elections-list"},"elections list")),(0,n.kt)("p",null,"(deprecated, in favor of /elections?page=xxx&organizationId=xxx&status=xxx)"),(0,n.kt)("details",{style:{marginBottom:"1rem"},"data-collapsed":!1,open:!0},(0,n.kt)("summary",{style:{}},(0,n.kt)("strong",null,"Query Parameters")),(0,n.kt)("div",null,(0,n.kt)("ul",null,(0,n.kt)(r.Z,{className:"paramsItem",param:{description:"Page",in:"query",name:"page",schema:{type:"number"}},mdxType:"ParamsItem"})))),(0,n.kt)(o.Z,{mdxType:"MimeTabs"},(0,n.kt)(p.Z,{label:"application/json",value:"application/json-schema",mdxType:"TabItem"},(0,n.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,n.kt)("summary",{style:{textAlign:"left"}},(0,n.kt)("strong",null,"Request Body"),(0,n.kt)("strong",{style:{fontSize:"var(--ifm-code-font-size)",color:"var(--openapi-required)"}}," required")),(0,n.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}},(0,n.kt)("div",{style:{marginTop:"1rem",marginBottom:"1rem"}},(0,n.kt)("p",null,"Filtered by partial organizationId, partial electionId, election status and with results available or not"))),(0,n.kt)("ul",{style:{marginLeft:"1rem"}},(0,n.kt)(d.Z,{collapsible:!1,name:"electionId",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"finalResults",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"boolean",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"limit",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"manuallyEnded",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"boolean",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"organizationId",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"page",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"status",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"withResults",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"boolean",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}))))),(0,n.kt)("div",null,(0,n.kt)(s.Z,{mdxType:"ApiTabs"},(0,n.kt)(p.Z,{label:"200",value:"200",mdxType:"TabItem"},(0,n.kt)("div",null,(0,n.kt)("p",null,"OK")),(0,n.kt)("div",null,(0,n.kt)(o.Z,{schemaType:"response",mdxType:"MimeTabs"},(0,n.kt)(p.Z,{label:"application/json",value:"application/json",mdxType:"TabItem"},(0,n.kt)(c.Z,{mdxType:"SchemaTabs"},(0,n.kt)(p.Z,{label:"Schema",value:"Schema",mdxType:"TabItem"},(0,n.kt)("details",{style:{},"data-collapsed":!1,open:!0},(0,n.kt)("summary",{style:{textAlign:"left"}},(0,n.kt)("strong",null,"Schema")),(0,n.kt)("div",{style:{textAlign:"left",marginLeft:"1rem"}}),(0,n.kt)("ul",{style:{marginLeft:"1rem"}},(0,n.kt)(d.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,n.kt)("details",{style:{}},(0,n.kt)("summary",{style:{}},(0,n.kt)("strong",null,"elections"),(0,n.kt)("span",{style:{opacity:"0.6"}}," object[]")),(0,n.kt)("div",{style:{marginLeft:"1rem"}},(0,n.kt)(d.Z,{collapsible:!1,name:"chainId",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"electionId",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"endDate",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"finalResults",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"boolean",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"manuallyEnded",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"boolean",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"organizationId",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"result",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"array[]",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"startDate",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"status",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"string",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"voteCount",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"})))),(0,n.kt)(d.Z,{collapsible:!0,className:"schemaItem",mdxType:"SchemaItem"},(0,n.kt)("details",{style:{}},(0,n.kt)("summary",{style:{}},(0,n.kt)("strong",null,"pagination"),(0,n.kt)("span",{style:{opacity:"0.6"}}," object")),(0,n.kt)("div",{style:{marginLeft:"1rem"}},(0,n.kt)(d.Z,{collapsible:!1,name:"currentPage",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"lastPage",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"nextPage",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"previousPage",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}),(0,n.kt)(d.Z,{collapsible:!1,name:"totalItems",required:!1,deprecated:void 0,schemaDescription:void 0,schemaName:"integer",qualifierMessage:void 0,defaultValue:void 0,mdxType:"SchemaItem"}))))))),(0,n.kt)(p.Z,{label:"Example (from schema)",value:"Example (from schema)",mdxType:"TabItem"},(0,n.kt)(l.Z,{responseExample:'{\n "elections": [\n {\n "chainId": "string",\n "electionId": "string",\n "endDate": "string",\n "finalResults": true,\n "manuallyEnded": true,\n "organizationId": "string",\n "result": [\n [\n {}\n ]\n ],\n "startDate": "string",\n "status": "string",\n "voteCount": 0\n }\n ],\n "pagination": {\n "currentPage": 0,\n "lastPage": 0,\n "nextPage": 0,\n "previousPage": 0,\n "totalItems": 0\n }\n}',language:"json",mdxType:"ResponseSamples"}))))))))))}y.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/main.d2df3a1b.js b/assets/js/main.c856e35e.js similarity index 95% rename from assets/js/main.d2df3a1b.js rename to assets/js/main.c856e35e.js index 6890b2443..1a0cfb825 100644 --- a/assets/js/main.d2df3a1b.js +++ b/assets/js/main.c856e35e.js @@ -1,8 +1,8 @@ -/*! For license information please see main.d2df3a1b.js.LICENSE.txt */ -(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[179],{20830:(e,a,c)=>{"use strict";c.d(a,{W:()=>f});var d=c(67294);function f(){return d.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},d.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}},8417:(e,a,c)=>{"use strict";c.d(a,{Z:()=>fe});var d=function(){function e(e){var a=this;this._insertTag=function(e){var c;c=0===a.tags.length?a.insertionPoint?a.insertionPoint.nextSibling:a.prepend?a.container.firstChild:a.before:a.tags[a.tags.length-1].nextSibling,a.container.insertBefore(e,c),a.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var a=e.prototype;return a.hydrate=function(e){e.forEach(this._insertTag)},a.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var a=document.createElement("style");return a.setAttribute("data-emotion",e.key),void 0!==e.nonce&&a.setAttribute("nonce",e.nonce),a.appendChild(document.createTextNode("")),a.setAttribute("data-s",""),a}(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var c=function(e){if(e.sheet)return e.sheet;for(var a=0;a0?o(v,--g):0,p--,10===y&&(p=1,h--),y}function E(){return y=g2||C(y)>3?"":" "}function M(e,a){for(;--a&&E()&&!(y<48||y>102||y>57&&y<65||y>70&&y<97););return I(e,k()+(a<6&&32==A()&&32==E()))}function B(e){for(;E();)switch(y){case e:return g;case 34:case 39:34!==e&&39!==e&&B(y);break;case 40:41===e&&B(e);break;case 92:E()}return g}function O(e,a){for(;E()&&e+y!==57&&(e+y!==84||47!==A()););return"/*"+I(a,g-1)+"*"+b(47===e?e:E())}function N(e){for(;!C(A());)E();return I(e,g)}var F="-ms-",D="-moz-",U="-webkit-",j="comm",z="rule",q="decl",K="@keyframes";function V(e,a){for(var c="",d=x(e),f=0;f0&&l(D)-m&&u(y>32?Q(D+";",d,c,m-1):Q(n(D," ","")+";",d,c,m-2),x);break;case 59:D+=";";default:if(u(F=W(D,a,c,h,p,f,s,L,T=[],B=[],m),t),123===C)if(0===p)G(D,a,F,F,T,t,m,s,B);else switch(99===g&&110===o(D,3)?100:g){case 100:case 108:case 109:case 115:G(e,F,F,d&&u(W(e,F,F,0,0,f,s,L,f,T=[],m),B),f,B,m,s,d?T:B);break;default:G(D,F,F,F,[""],B,0,s,B)}}h=p=y=0,_=I=1,L=D="",m=r;break;case 58:m=1+l(D),y=v;default:if(_<1)if(123==C)--_;else if(125==C&&0==_++&&125==S())continue;switch(D+=b(C),C*_){case 38:I=p>0?1:(D+="\f",-1);break;case 44:s[h++]=(l(D)-1)*I,I=1;break;case 64:45===A()&&(D+=P(E())),g=A(),p=m=l(L=D+=N(k())),C++;break;case 45:45===v&&2==l(D)&&(_=0)}}return t}function W(e,a,c,d,b,t,i,o,l,u,h){for(var p=b-1,m=0===b?t:[""],g=x(m),y=0,v=0,w=0;y0?m[S]+" "+E:n(E,/&\f/g,m[S])))&&(l[w++]=A);return _(e,a,c,0===b?z:o,l,u,h)}function Z(e,a,c){return _(e,a,c,j,b(y),s(e,2,-2),0)}function Q(e,a,c,d){return _(e,a,c,q,s(e,0,d),s(e,d+1,-1),d)}var Y=function(e,a,c){for(var d=0,f=0;d=f,f=A(),38===d&&12===f&&(a[c]=1),!C(f);)E();return I(e,g)},J=function(e,a){return T(function(e,a){var c=-1,d=44;do{switch(C(d)){case 0:38===d&&12===A()&&(a[c]=1),e[c]+=Y(g-1,a,c);break;case 2:e[c]+=P(d);break;case 4:if(44===d){e[++c]=58===A()?"&\f":"",a[c]=e[c].length;break}default:e[c]+=b(d)}}while(d=E());return e}(L(e),a))},X=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var a=e.value,c=e.parent,d=e.column===c.column&&e.line===c.line;"rule"!==c.type;)if(!(c=c.parent))return;if((1!==e.props.length||58===a.charCodeAt(0)||X.get(c))&&!d){X.set(e,!0);for(var f=[],b=J(a,f),t=c.props,r=0,n=0;r6)switch(o(e,a+1)){case 109:if(45!==o(e,a+4))break;case 102:return n(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1-moz-"+(108==o(e,a+3)?"$3":"$2-$3"))+e;case 115:return~i(e,"stretch")?ce(n(e,"stretch","fill-available"),a)+e:e}break;case 4949:if(115!==o(e,a+1))break;case 6444:switch(o(e,l(e)-3-(~i(e,"!important")&&10))){case 107:return n(e,":",":-webkit-")+e;case 101:return n(e,/(.+:)([^;!]+)(;|!.+)?/,"$1-webkit-"+(45===o(e,14)?"inline-":"")+"box$3$1"+"-webkit-$2$3$1"+"-ms-$2box$3")+e}break;case 5936:switch(o(e,a+11)){case 114:return U+e+F+n(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return U+e+F+n(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return U+e+F+n(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return U+e+F+e+e}return e}var de=[function(e,a,c,d){if(e.length>-1&&!e.return)switch(e.type){case q:e.return=ce(e.value,e.length);break;case K:return V([w(e,{value:n(e.value,"@","@-webkit-")})],d);case z:if(e.length)return function(e,a){return e.map(a).join("")}(e.props,(function(a){switch(function(e,a){return(e=a.exec(e))?e[0]:e}(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return V([w(e,{props:[n(a,/:(read-\w+)/,":-moz-$1")]})],d);case"::placeholder":return V([w(e,{props:[n(a,/:(plac\w+)/,":-webkit-input-$1")]}),w(e,{props:[n(a,/:(plac\w+)/,":-moz-$1")]}),w(e,{props:[n(a,/:(plac\w+)/,"-ms-input-$1")]})],d)}return""}))}}],fe=function(e){var a=e.key;if("css"===a){var c=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(c,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var f=e.stylisPlugins||de;var b,t,r={},n=[];b=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+a+' "]'),(function(e){for(var a=e.getAttribute("data-emotion").split(" "),c=1;c{"use strict";function d(e){var a=Object.create(null);return function(c){return void 0===a[c]&&(a[c]=e(c)),a[c]}}c.d(a,{Z:()=>d})},9757:(e,a,c)=>{"use strict";c.d(a,{T:()=>o,a:()=>l,i:()=>r,w:()=>i});var d=c(67294),f=c(8417);function b(){return b=Object.assign?Object.assign.bind():function(e){for(var a=1;a{"use strict";c.d(a,{O:()=>u});var d={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},f=c(45042),b=/[A-Z]|^ms/g,t=/_EMO_([^_]+?)_([^]*?)_EMO_/g,r=function(e){return 45===e.charCodeAt(1)},n=function(e){return null!=e&&"boolean"!=typeof e},i=(0,f.Z)((function(e){return r(e)?e:e.replace(b,"-$&").toLowerCase()})),o=function(e,a){switch(e){case"animation":case"animationName":if("string"==typeof a)return a.replace(t,(function(e,a,c){return l={name:a,styles:c,next:l},a}))}return 1===d[e]||r(e)||"number"!=typeof a||0===a?a:a+"px"};function s(e,a,c){if(null==c)return"";if(void 0!==c.__emotion_styles)return c;switch(typeof c){case"boolean":return"";case"object":if(1===c.anim)return l={name:c.name,styles:c.styles,next:l},c.name;if(void 0!==c.styles){var d=c.next;if(void 0!==d)for(;void 0!==d;)l={name:d.name,styles:d.styles,next:l},d=d.next;return c.styles+";"}return function(e,a,c){var d="";if(Array.isArray(c))for(var f=0;f=4;++d,f-=4)a=1540483477*(65535&(a=255&e.charCodeAt(d)|(255&e.charCodeAt(++d))<<8|(255&e.charCodeAt(++d))<<16|(255&e.charCodeAt(++d))<<24))+(59797*(a>>>16)<<16),c=1540483477*(65535&(a^=a>>>24))+(59797*(a>>>16)<<16)^1540483477*(65535&c)+(59797*(c>>>16)<<16);switch(f){case 3:c^=(255&e.charCodeAt(d+2))<<16;case 2:c^=(255&e.charCodeAt(d+1))<<8;case 1:c=1540483477*(65535&(c^=255&e.charCodeAt(d)))+(59797*(c>>>16)<<16)}return(((c=1540483477*(65535&(c^=c>>>13))+(59797*(c>>>16)<<16))^c>>>15)>>>0).toString(36)}(f)+n;return{name:i,styles:f,next:l}}},27278:(e,a,c)=>{"use strict";var d;c.d(a,{L:()=>t,j:()=>r});var f=c(67294),b=!!(d||(d=c.t(f,2))).useInsertionEffect&&(d||(d=c.t(f,2))).useInsertionEffect,t=b||function(e){return e()},r=b||f.useLayoutEffect},70444:(e,a,c)=>{"use strict";c.d(a,{My:()=>b,fp:()=>d,hC:()=>f});function d(e,a,c){var d="";return c.split(" ").forEach((function(c){void 0!==e[c]?a.push(e[c]+";"):d+=c+" "})),d}var f=function(e,a,c){var d=e.key+"-"+a.name;!1===c&&void 0===e.registered[d]&&(e.registered[d]=a.styles)},b=function(e,a,c){f(e,a,c);var d=e.key+"-"+a.name;if(void 0===e.inserted[a.name]){var b=a;do{e.insert(a===b?"."+d:"",b,e.sheet,!0),b=b.next}while(void 0!==b)}}},48088:(e,a,c)=>{"use strict";c.d(a,{E:()=>i});var d=c(6881),f=c(1581);var b=function(e,a,c,d){return new(c||(c=Promise))((function(f,b){function t(e){try{n(d.next(e))}catch(a){b(a)}}function r(e){try{n(d.throw(e))}catch(a){b(a)}}function n(e){var a;e.done?f(e.value):(a=e.value,a instanceof c?a:new c((function(e){e(a)}))).then(t,r)}n((d=d.apply(e,a||[])).next())}))};const t=new f.Yd("abstract-signer/5.7.0"),r=["accessList","ccipReadEnabled","chainId","customData","data","from","gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","nonce","to","type","value"],n=[f.Yd.errors.INSUFFICIENT_FUNDS,f.Yd.errors.NONCE_EXPIRED,f.Yd.errors.REPLACEMENT_UNDERPRICED];class i{constructor(){t.checkAbstract(new.target,i),(0,d.zG)(this,"_isSigner",!0)}getBalance(e){return b(this,void 0,void 0,(function*(){return this._checkProvider("getBalance"),yield this.provider.getBalance(this.getAddress(),e)}))}getTransactionCount(e){return b(this,void 0,void 0,(function*(){return this._checkProvider("getTransactionCount"),yield this.provider.getTransactionCount(this.getAddress(),e)}))}estimateGas(e){return b(this,void 0,void 0,(function*(){this._checkProvider("estimateGas");const a=yield(0,d.mE)(this.checkTransaction(e));return yield this.provider.estimateGas(a)}))}call(e,a){return b(this,void 0,void 0,(function*(){this._checkProvider("call");const c=yield(0,d.mE)(this.checkTransaction(e));return yield this.provider.call(c,a)}))}sendTransaction(e){return b(this,void 0,void 0,(function*(){this._checkProvider("sendTransaction");const a=yield this.populateTransaction(e),c=yield this.signTransaction(a);return yield this.provider.sendTransaction(c)}))}getChainId(){return b(this,void 0,void 0,(function*(){this._checkProvider("getChainId");return(yield this.provider.getNetwork()).chainId}))}getGasPrice(){return b(this,void 0,void 0,(function*(){return this._checkProvider("getGasPrice"),yield this.provider.getGasPrice()}))}getFeeData(){return b(this,void 0,void 0,(function*(){return this._checkProvider("getFeeData"),yield this.provider.getFeeData()}))}resolveName(e){return b(this,void 0,void 0,(function*(){return this._checkProvider("resolveName"),yield this.provider.resolveName(e)}))}checkTransaction(e){for(const c in e)-1===r.indexOf(c)&&t.throwArgumentError("invalid transaction key: "+c,"transaction",e);const a=(0,d.DC)(e);return null==a.from?a.from=this.getAddress():a.from=Promise.all([Promise.resolve(a.from),this.getAddress()]).then((a=>(a[0].toLowerCase()!==a[1].toLowerCase()&&t.throwArgumentError("from address mismatch","transaction",e),a[0]))),a}populateTransaction(e){return b(this,void 0,void 0,(function*(){const a=yield(0,d.mE)(this.checkTransaction(e));null!=a.to&&(a.to=Promise.resolve(a.to).then((e=>b(this,void 0,void 0,(function*(){if(null==e)return null;const a=yield this.resolveName(e);return null==a&&t.throwArgumentError("provided ENS name resolves to null","tx.to",e),a})))),a.to.catch((e=>{})));const c=null!=a.maxFeePerGas||null!=a.maxPriorityFeePerGas;if(null==a.gasPrice||2!==a.type&&!c?0!==a.type&&1!==a.type||!c||t.throwArgumentError("pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas","transaction",e):t.throwArgumentError("eip-1559 transaction do not support gasPrice","transaction",e),2!==a.type&&null!=a.type||null==a.maxFeePerGas||null==a.maxPriorityFeePerGas)if(0===a.type||1===a.type)null==a.gasPrice&&(a.gasPrice=this.getGasPrice());else{const e=yield this.getFeeData();if(null==a.type)if(null!=e.maxFeePerGas&&null!=e.maxPriorityFeePerGas)if(a.type=2,null!=a.gasPrice){const e=a.gasPrice;delete a.gasPrice,a.maxFeePerGas=e,a.maxPriorityFeePerGas=e}else null==a.maxFeePerGas&&(a.maxFeePerGas=e.maxFeePerGas),null==a.maxPriorityFeePerGas&&(a.maxPriorityFeePerGas=e.maxPriorityFeePerGas);else null!=e.gasPrice?(c&&t.throwError("network does not support EIP-1559",f.Yd.errors.UNSUPPORTED_OPERATION,{operation:"populateTransaction"}),null==a.gasPrice&&(a.gasPrice=e.gasPrice),a.type=0):t.throwError("failed to get consistent fee data",f.Yd.errors.UNSUPPORTED_OPERATION,{operation:"signer.getFeeData"});else 2===a.type&&(null==a.maxFeePerGas&&(a.maxFeePerGas=e.maxFeePerGas),null==a.maxPriorityFeePerGas&&(a.maxPriorityFeePerGas=e.maxPriorityFeePerGas))}else a.type=2;return null==a.nonce&&(a.nonce=this.getTransactionCount("pending")),null==a.gasLimit&&(a.gasLimit=this.estimateGas(a).catch((e=>{if(n.indexOf(e.code)>=0)throw e;return t.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",f.Yd.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,tx:a})}))),null==a.chainId?a.chainId=this.getChainId():a.chainId=Promise.all([Promise.resolve(a.chainId),this.getChainId()]).then((a=>(0!==a[1]&&a[0]!==a[1]&&t.throwArgumentError("chainId address mismatch","transaction",e),a[0]))),yield(0,d.mE)(a)}))}_checkProvider(e){this.provider||t.throwError("missing provider",f.Yd.errors.UNSUPPORTED_OPERATION,{operation:e||"_checkProvider"})}static isSigner(e){return!(!e||!e._isSigner)}}},19485:(e,a,c)=>{"use strict";c.d(a,{Kn:()=>l,UJ:()=>x});var d=c(16441),f=c(2593),b=c(38197);const t=new(c(1581).Yd)("address/5.7.0");function r(e){(0,d.A7)(e,20)||t.throwArgumentError("invalid address","address",e);const a=(e=e.toLowerCase()).substring(2).split(""),c=new Uint8Array(40);for(let d=0;d<40;d++)c[d]=a[d].charCodeAt(0);const f=(0,d.lE)((0,b.w)(c));for(let d=0;d<40;d+=2)f[d>>1]>>4>=8&&(a[d]=a[d].toUpperCase()),(15&f[d>>1])>=8&&(a[d+1]=a[d+1].toUpperCase());return"0x"+a.join("")}const n={};for(let u=0;u<10;u++)n[String(u)]=String(u);for(let u=0;u<26;u++)n[String.fromCharCode(65+u)]=String(10+u);const i=Math.floor((o=9007199254740991,Math.log10?Math.log10(o):Math.log(o)/Math.LN10));var o;function s(e){let a=(e=(e=e.toUpperCase()).substring(4)+e.substring(0,2)+"00").split("").map((e=>n[e])).join("");for(;a.length>=i;){let e=a.substring(0,i);a=parseInt(e,10)%97+a.substring(e.length)}let c=String(98-parseInt(a,10)%97);for(;c.length<2;)c="0"+c;return c}function l(e){let a=null;if("string"!=typeof e&&t.throwArgumentError("invalid address","address",e),e.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==e.substring(0,2)&&(e="0x"+e),a=r(e),e.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&a!==e&&t.throwArgumentError("bad address checksum","address",e);else if(e.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(e.substring(2,4)!==s(e)&&t.throwArgumentError("bad icap checksum","address",e),a=(0,f.g$)(e.substring(4));a.length<40;)a="0"+a;a=r("0x"+a)}else t.throwArgumentError("invalid address","address",e);return a}function x(e){try{return l(e),!0}catch(a){}return!1}},48794:(e,a,c)=>{"use strict";c.d(a,{i:()=>d});const d="bignumber/5.7.0"},2593:(e,a,c)=>{"use strict";c.d(a,{O$:()=>u,Zm:()=>l,g$:()=>y});var d=c(13550),f=c.n(d),b=c(16441),t=c(1581),r=c(48794),n=f().BN;const i=new t.Yd(r.i),o={},s=9007199254740991;function l(e){return null!=e&&(u.isBigNumber(e)||"number"==typeof e&&e%1==0||"string"==typeof e&&!!e.match(/^-?[0-9]+$/)||(0,b.A7)(e)||"bigint"==typeof e||(0,b._t)(e))}let x=!1;class u{constructor(e,a){e!==o&&i.throwError("cannot call constructor directly; use BigNumber.from",t.Yd.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=a,this._isBigNumber=!0,Object.freeze(this)}fromTwos(e){return p(m(this).fromTwos(e))}toTwos(e){return p(m(this).toTwos(e))}abs(){return"-"===this._hex[0]?u.from(this._hex.substring(1)):this}add(e){return p(m(this).add(m(e)))}sub(e){return p(m(this).sub(m(e)))}div(e){return u.from(e).isZero()&&g("division-by-zero","div"),p(m(this).div(m(e)))}mul(e){return p(m(this).mul(m(e)))}mod(e){const a=m(e);return a.isNeg()&&g("division-by-zero","mod"),p(m(this).umod(a))}pow(e){const a=m(e);return a.isNeg()&&g("negative-power","pow"),p(m(this).pow(a))}and(e){const a=m(e);return(this.isNegative()||a.isNeg())&&g("unbound-bitwise-result","and"),p(m(this).and(a))}or(e){const a=m(e);return(this.isNegative()||a.isNeg())&&g("unbound-bitwise-result","or"),p(m(this).or(a))}xor(e){const a=m(e);return(this.isNegative()||a.isNeg())&&g("unbound-bitwise-result","xor"),p(m(this).xor(a))}mask(e){return(this.isNegative()||e<0)&&g("negative-width","mask"),p(m(this).maskn(e))}shl(e){return(this.isNegative()||e<0)&&g("negative-width","shl"),p(m(this).shln(e))}shr(e){return(this.isNegative()||e<0)&&g("negative-width","shr"),p(m(this).shrn(e))}eq(e){return m(this).eq(m(e))}lt(e){return m(this).lt(m(e))}lte(e){return m(this).lte(m(e))}gt(e){return m(this).gt(m(e))}gte(e){return m(this).gte(m(e))}isNegative(){return"-"===this._hex[0]}isZero(){return m(this).isZero()}toNumber(){try{return m(this).toNumber()}catch(e){g("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch(e){}return i.throwError("this platform does not support BigInt",t.Yd.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(10===arguments[0]?x||(x=!0,i.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):16===arguments[0]?i.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",t.Yd.errors.UNEXPECTED_ARGUMENT,{}):i.throwError("BigNumber.toString does not accept parameters",t.Yd.errors.UNEXPECTED_ARGUMENT,{})),m(this).toString(10)}toHexString(){return this._hex}toJSON(e){return{type:"BigNumber",hex:this.toHexString()}}static from(e){if(e instanceof u)return e;if("string"==typeof e)return e.match(/^-?0x[0-9a-f]+$/i)?new u(o,h(e)):e.match(/^-?[0-9]+$/)?new u(o,h(new n(e))):i.throwArgumentError("invalid BigNumber string","value",e);if("number"==typeof e)return e%1&&g("underflow","BigNumber.from",e),(e>=s||e<=-s)&&g("overflow","BigNumber.from",e),u.from(String(e));const a=e;if("bigint"==typeof a)return u.from(a.toString());if((0,b._t)(a))return u.from((0,b.Dv)(a));if(a)if(a.toHexString){const e=a.toHexString();if("string"==typeof e)return u.from(e)}else{let e=a._hex;if(null==e&&"BigNumber"===a.type&&(e=a.hex),"string"==typeof e&&((0,b.A7)(e)||"-"===e[0]&&(0,b.A7)(e.substring(1))))return u.from(e)}return i.throwArgumentError("invalid BigNumber value","value",e)}static isBigNumber(e){return!(!e||!e._isBigNumber)}}function h(e){if("string"!=typeof e)return h(e.toString(16));if("-"===e[0])return"-"===(e=e.substring(1))[0]&&i.throwArgumentError("invalid hex","value",e),"0x00"===(e=h(e))?e:"-"+e;if("0x"!==e.substring(0,2)&&(e="0x"+e),"0x"===e)return"0x00";for(e.length%2&&(e="0x0"+e.substring(2));e.length>4&&"0x00"===e.substring(0,4);)e="0x"+e.substring(4);return e}function p(e){return u.from(h(e))}function m(e){const a=u.from(e).toHexString();return"-"===a[0]?new n("-"+a.substring(3),16):new n(a.substring(2),16)}function g(e,a,c){const d={fault:e,operation:a};return null!=c&&(d.value=c),i.throwError(e,t.Yd.errors.NUMERIC_FAULT,d)}function y(e){return new n(e,36).toString(16)}},16441:(e,a,c)=>{"use strict";c.d(a,{lE:()=>i,zo:()=>o,xs:()=>m,E1:()=>h,p3:()=>p,$m:()=>g,Dv:()=>u,_t:()=>n,Zq:()=>t,A7:()=>l,gV:()=>v,N:()=>y,G1:()=>s});const d=new(c(1581).Yd)("bytes/5.7.0");function f(e){return!!e.toHexString}function b(e){return e.slice||(e.slice=function(){const a=Array.prototype.slice.call(arguments);return b(new Uint8Array(Array.prototype.slice.apply(e,a)))}),e}function t(e){return l(e)&&!(e.length%2)||n(e)}function r(e){return"number"==typeof e&&e==e&&e%1==0}function n(e){if(null==e)return!1;if(e.constructor===Uint8Array)return!0;if("string"==typeof e)return!1;if(!r(e.length)||e.length<0)return!1;for(let a=0;a=256)return!1}return!0}function i(e,a){if(a||(a={}),"number"==typeof e){d.checkSafeUint53(e,"invalid arrayify value");const a=[];for(;e;)a.unshift(255&e),e=parseInt(String(e/256));return 0===a.length&&a.push(0),b(new Uint8Array(a))}if(a.allowMissingPrefix&&"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),f(e)&&(e=e.toHexString()),l(e)){let c=e.substring(2);c.length%2&&("left"===a.hexPad?c="0"+c:"right"===a.hexPad?c+="0":d.throwArgumentError("hex data is odd-length","value",e));const f=[];for(let e=0;ei(e))),c=a.reduce(((e,a)=>e+a.length),0),d=new Uint8Array(c);return a.reduce(((e,a)=>(d.set(a,e),e+a.length)),0),b(d)}function s(e){let a=i(e);if(0===a.length)return a;let c=0;for(;c>4]+x[15&d]}return a}return d.throwArgumentError("invalid hexlify value","value",e)}function h(e){if("string"!=typeof e)e=u(e);else if(!l(e)||e.length%2)return null;return(e.length-2)/2}function p(e,a,c){return"string"!=typeof e?e=u(e):(!l(e)||e.length%2)&&d.throwArgumentError("invalid hexData","value",e),a=2+2*a,null!=c?"0x"+e.substring(a,2+2*c):"0x"+e.substring(a)}function m(e){let a="0x";return e.forEach((e=>{a+=u(e).substring(2)})),a}function g(e,a){for("string"!=typeof e?e=u(e):l(e)||d.throwArgumentError("invalid hex string","value",e),e.length>2*a+2&&d.throwArgumentError("value out of range","value",arguments[1]);e.length<2*a+2;)e="0x0"+e.substring(2);return e}function y(e){const a={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(t(e)){let c=i(e);64===c.length?(a.v=27+(c[32]>>7),c[32]&=127,a.r=u(c.slice(0,32)),a.s=u(c.slice(32,64))):65===c.length?(a.r=u(c.slice(0,32)),a.s=u(c.slice(32,64)),a.v=c[64]):d.throwArgumentError("invalid signature string","signature",e),a.v<27&&(0===a.v||1===a.v?a.v+=27:d.throwArgumentError("signature invalid v byte","signature",e)),a.recoveryParam=1-a.v%2,a.recoveryParam&&(c[32]|=128),a._vs=u(c.slice(32,64))}else{if(a.r=e.r,a.s=e.s,a.v=e.v,a.recoveryParam=e.recoveryParam,a._vs=e._vs,null!=a._vs){const c=function(e,a){(e=i(e)).length>a&&d.throwArgumentError("value out of range","value",arguments[0]);const c=new Uint8Array(a);return c.set(e,a-e.length),b(c)}(i(a._vs),32);a._vs=u(c);const f=c[0]>=128?1:0;null==a.recoveryParam?a.recoveryParam=f:a.recoveryParam!==f&&d.throwArgumentError("signature recoveryParam mismatch _vs","signature",e),c[0]&=127;const t=u(c);null==a.s?a.s=t:a.s!==t&&d.throwArgumentError("signature v mismatch _vs","signature",e)}if(null==a.recoveryParam)null==a.v?d.throwArgumentError("signature missing v and recoveryParam","signature",e):0===a.v||1===a.v?a.recoveryParam=a.v:a.recoveryParam=1-a.v%2;else if(null==a.v)a.v=27+a.recoveryParam;else{const c=0===a.v||1===a.v?a.v:1-a.v%2;a.recoveryParam!==c&&d.throwArgumentError("signature recoveryParam mismatch v","signature",e)}null!=a.r&&l(a.r)?a.r=g(a.r,32):d.throwArgumentError("signature missing or invalid r","signature",e),null!=a.s&&l(a.s)?a.s=g(a.s,32):d.throwArgumentError("signature missing or invalid s","signature",e);const c=i(a.s);c[0]>=128&&d.throwArgumentError("signature s out of range","signature",e),a.recoveryParam&&(c[0]|=128);const f=u(c);a._vs&&(l(a._vs)||d.throwArgumentError("signature invalid _vs","signature",e),a._vs=g(a._vs,32)),null==a._vs?a._vs=f:a._vs!==f&&d.throwArgumentError("signature _vs mismatch v and s","signature",e)}return a.yParityAndS=a._vs,a.compact=a.r+a.yParityAndS.substring(2),a}function v(e){return u(o([(e=y(e)).r,e.s,e.recoveryParam?"0x1c":"0x1b"]))}},32046:(e,a,c)=>{"use strict";c.d(a,{id:()=>b});var d=c(38197),f=c(29251);function b(e){return(0,d.w)((0,f.Y0)(e))}},73392:(e,a,c)=>{"use strict";c.d(a,{E:()=>A});var d=c(19485),f=c(2593),b=c(16441),t=c(38197),r=c(6881),n=c(1581);var i=c(32046),o=function(e,a,c,d){return new(c||(c=Promise))((function(f,b){function t(e){try{n(d.next(e))}catch(a){b(a)}}function r(e){try{n(d.throw(e))}catch(a){b(a)}}function n(e){var a;e.done?f(e.value):(a=e.value,a instanceof c?a:new c((function(e){e(a)}))).then(t,r)}n((d=d.apply(e,a||[])).next())}))};const s=new n.Yd("hash/5.7.0"),l=new Uint8Array(32);l.fill(0);const x=f.O$.from(-1),u=f.O$.from(0),h=f.O$.from(1),p=f.O$.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");const m=(0,b.$m)(h.toHexString(),32),g=(0,b.$m)(u.toHexString(),32),y={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},v=["name","version","chainId","verifyingContract","salt"];function _(e){return function(a){return"string"!=typeof a&&s.throwArgumentError(`invalid domain value for ${JSON.stringify(e)}`,`domain.${e}`,a),a}}const w={name:_("name"),version:_("version"),chainId:function(e){try{return f.O$.from(e).toString()}catch(a){}return s.throwArgumentError('invalid domain value for "chainId"',"domain.chainId",e)},verifyingContract:function(e){try{return(0,d.Kn)(e).toLowerCase()}catch(a){}return s.throwArgumentError('invalid domain value "verifyingContract"',"domain.verifyingContract",e)},salt:function(e){try{const a=(0,b.lE)(e);if(32!==a.length)throw new Error("bad length");return(0,b.Dv)(a)}catch(a){}return s.throwArgumentError('invalid domain value "salt"',"domain.salt",e)}};function S(e){{const a=e.match(/^(u?)int(\d*)$/);if(a){const c=""===a[1],d=parseInt(a[2]||"256");(d%8!=0||d>256||a[2]&&a[2]!==String(d))&&s.throwArgumentError("invalid numeric width","type",e);const t=p.mask(c?d-1:d),r=c?t.add(h).mul(x):u;return function(a){const c=f.O$.from(a);return(c.lt(r)||c.gt(t))&&s.throwArgumentError(`value out-of-bounds for ${e}`,"value",a),(0,b.$m)(c.toTwos(256).toHexString(),32)}}}{const a=e.match(/^bytes(\d+)$/);if(a){const c=parseInt(a[1]);return(0===c||c>32||a[1]!==String(c))&&s.throwArgumentError("invalid bytes width","type",e),function(a){return(0,b.lE)(a).length!==c&&s.throwArgumentError(`invalid length for ${e}`,"value",a),function(e){const a=(0,b.lE)(e),c=a.length%32;return c?(0,b.xs)([a,l.slice(c)]):(0,b.Dv)(a)}(a)}}}switch(e){case"address":return function(e){return(0,b.$m)((0,d.Kn)(e),32)};case"bool":return function(e){return e?m:g};case"bytes":return function(e){return(0,t.w)(e)};case"string":return function(e){return(0,i.id)(e)}}return null}function E(e,a){return`${e}(${a.map((({name:e,type:a})=>a+" "+e)).join(",")})`}class A{constructor(e){(0,r.zG)(this,"types",Object.freeze((0,r.p$)(e))),(0,r.zG)(this,"_encoderCache",{}),(0,r.zG)(this,"_types",{});const a={},c={},d={};Object.keys(e).forEach((e=>{a[e]={},c[e]=[],d[e]={}}));for(const b in e){const d={};e[b].forEach((f=>{d[f.name]&&s.throwArgumentError(`duplicate variable name ${JSON.stringify(f.name)} in ${JSON.stringify(b)}`,"types",e),d[f.name]=!0;const t=f.type.match(/^([^\x5b]*)(\x5b|$)/)[1];t===b&&s.throwArgumentError(`circular type reference to ${JSON.stringify(t)}`,"types",e);S(t)||(c[t]||s.throwArgumentError(`unknown type ${JSON.stringify(t)}`,"types",e),c[t].push(b),a[b][t]=!0)}))}const f=Object.keys(c).filter((e=>0===c[e].length));0===f.length?s.throwArgumentError("missing primary type","types",e):f.length>1&&s.throwArgumentError(`ambiguous primary types or unused types: ${f.map((e=>JSON.stringify(e))).join(", ")}`,"types",e),(0,r.zG)(this,"primaryType",f[0]),function f(b,t){t[b]&&s.throwArgumentError(`circular type reference to ${JSON.stringify(b)}`,"types",e),t[b]=!0,Object.keys(a[b]).forEach((e=>{c[e]&&(f(e,t),Object.keys(t).forEach((a=>{d[a][e]=!0})))})),delete t[b]}(this.primaryType,{});for(const b in d){const a=Object.keys(d[b]);a.sort(),this._types[b]=E(b,e[b])+a.map((a=>E(a,e[a]))).join("")}}getEncoder(e){let a=this._encoderCache[e];return a||(a=this._encoderCache[e]=this._getEncoder(e)),a}_getEncoder(e){{const a=S(e);if(a)return a}const a=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(a){const e=a[1],c=this.getEncoder(e),d=parseInt(a[3]);return a=>{d>=0&&a.length!==d&&s.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",a);let f=a.map(c);return this._types[e]&&(f=f.map(t.w)),(0,t.w)((0,b.xs)(f))}}const c=this.types[e];if(c){const a=(0,i.id)(this._types[e]);return e=>{const d=c.map((({name:a,type:c})=>{const d=this.getEncoder(c)(e[a]);return this._types[c]?(0,t.w)(d):d}));return d.unshift(a),(0,b.xs)(d)}}return s.throwArgumentError(`unknown type: ${e}`,"type",e)}encodeType(e){const a=this._types[e];return a||s.throwArgumentError(`unknown type: ${JSON.stringify(e)}`,"name",e),a}encodeData(e,a){return this.getEncoder(e)(a)}hashStruct(e,a){return(0,t.w)(this.encodeData(e,a))}encode(e){return this.encodeData(this.primaryType,e)}hash(e){return this.hashStruct(this.primaryType,e)}_visit(e,a,c){if(S(e))return c(e,a);const d=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(d){const e=d[1],f=parseInt(d[3]);return f>=0&&a.length!==f&&s.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",a),a.map((a=>this._visit(e,a,c)))}const f=this.types[e];return f?f.reduce(((e,{name:d,type:f})=>(e[d]=this._visit(f,a[d],c),e)),{}):s.throwArgumentError(`unknown type: ${e}`,"type",e)}visit(e,a){return this._visit(this.primaryType,e,a)}static from(e){return new A(e)}static getPrimaryType(e){return A.from(e).primaryType}static hashStruct(e,a,c){return A.from(a).hashStruct(e,c)}static hashDomain(e){const a=[];for(const c in e){const d=y[c];d||s.throwArgumentError(`invalid typed-data domain key: ${JSON.stringify(c)}`,"domain",e),a.push({name:c,type:d})}return a.sort(((e,a)=>v.indexOf(e.name)-v.indexOf(a.name))),A.hashStruct("EIP712Domain",{EIP712Domain:a},e)}static encode(e,a,c){return(0,b.xs)(["0x1901",A.hashDomain(e),A.from(a).hash(c)])}static hash(e,a,c){return(0,t.w)(A.encode(e,a,c))}static resolveNames(e,a,c,d){return o(this,void 0,void 0,(function*(){e=(0,r.DC)(e);const f={};e.verifyingContract&&!(0,b.A7)(e.verifyingContract,20)&&(f[e.verifyingContract]="0x");const t=A.from(a);t.visit(c,((e,a)=>("address"!==e||(0,b.A7)(a,20)||(f[a]="0x"),a)));for(const e in f)f[e]=yield d(e);return e.verifyingContract&&f[e.verifyingContract]&&(e.verifyingContract=f[e.verifyingContract]),c=t.visit(c,((e,a)=>"address"===e&&f[a]?f[a]:a)),{domain:e,value:c}}))}static getPayload(e,a,c){A.hashDomain(e);const d={},t=[];v.forEach((a=>{const c=e[a];null!=c&&(d[a]=w[a](c),t.push({name:a,type:y[a]}))}));const n=A.from(a),i=(0,r.DC)(a);return i.EIP712Domain?s.throwArgumentError("types must not contain EIP712Domain type","types.EIP712Domain",a):i.EIP712Domain=t,n.encode(c),{types:i,domain:d,primaryType:n.primaryType,message:n.visit(c,((e,a)=>{if(e.match(/^bytes(\d*)/))return(0,b.Dv)((0,b.lE)(a));if(e.match(/^u?int/))return f.O$.from(a).toString();switch(e){case"address":return a.toLowerCase();case"bool":return!!a;case"string":return"string"!=typeof a&&s.throwArgumentError("invalid string","value",a),a}return s.throwArgumentError("unsupported type","type",e)}))}}}},38197:(e,a,c)=>{"use strict";c.d(a,{w:()=>t});var d=c(91094),f=c.n(d),b=c(16441);function t(e){return"0x"+f().keccak_256((0,b.lE)(e))}},1581:(e,a,c)=>{"use strict";c.d(a,{Yd:()=>l});let d=!1,f=!1;const b={debug:1,default:2,info:2,warning:3,error:4,off:5};let t=b.default,r=null;const n=function(){try{const e=[];if(["NFD","NFC","NFKD","NFKC"].forEach((a=>{try{if("test"!=="test".normalize(a))throw new Error("bad normalize")}catch(c){e.push(a)}})),e.length)throw new Error("missing "+e.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(e){return e.message}return null}();var i,o;!function(e){e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.OFF="OFF"}(i||(i={})),function(e){e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.NOT_IMPLEMENTED="NOT_IMPLEMENTED",e.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",e.NETWORK_ERROR="NETWORK_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT="TIMEOUT",e.BUFFER_OVERRUN="BUFFER_OVERRUN",e.NUMERIC_FAULT="NUMERIC_FAULT",e.MISSING_NEW="MISSING_NEW",e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.MISSING_ARGUMENT="MISSING_ARGUMENT",e.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",e.CALL_EXCEPTION="CALL_EXCEPTION",e.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",e.NONCE_EXPIRED="NONCE_EXPIRED",e.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",e.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",e.TRANSACTION_REPLACED="TRANSACTION_REPLACED",e.ACTION_REJECTED="ACTION_REJECTED"}(o||(o={}));const s="0123456789abcdef";class l{constructor(e){Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}_log(e,a){const c=e.toLowerCase();null==b[c]&&this.throwArgumentError("invalid log level name","logLevel",e),t>b[c]||console.log.apply(console,a)}debug(...e){this._log(l.levels.DEBUG,e)}info(...e){this._log(l.levels.INFO,e)}warn(...e){this._log(l.levels.WARNING,e)}makeError(e,a,c){if(f)return this.makeError("censored error",a,{});a||(a=l.errors.UNKNOWN_ERROR),c||(c={});const d=[];Object.keys(c).forEach((e=>{const a=c[e];try{if(a instanceof Uint8Array){let c="";for(let e=0;e>4],c+=s[15&a[e]];d.push(e+"=Uint8Array(0x"+c+")")}else d.push(e+"="+JSON.stringify(a))}catch(r){d.push(e+"="+JSON.stringify(c[e].toString()))}})),d.push(`code=${a}`),d.push(`version=${this.version}`);const b=e;let t="";switch(a){case o.NUMERIC_FAULT:{t="NUMERIC_FAULT";const a=e;switch(a){case"overflow":case"underflow":case"division-by-zero":t+="-"+a;break;case"negative-power":case"negative-width":t+="-unsupported";break;case"unbound-bitwise-result":t+="-unbound-result"}break}case o.CALL_EXCEPTION:case o.INSUFFICIENT_FUNDS:case o.MISSING_NEW:case o.NONCE_EXPIRED:case o.REPLACEMENT_UNDERPRICED:case o.TRANSACTION_REPLACED:case o.UNPREDICTABLE_GAS_LIMIT:t=a}t&&(e+=" [ See: https://links.ethers.org/v5-errors-"+t+" ]"),d.length&&(e+=" ("+d.join(", ")+")");const r=new Error(e);return r.reason=b,r.code=a,Object.keys(c).forEach((function(e){r[e]=c[e]})),r}throwError(e,a,c){throw this.makeError(e,a,c)}throwArgumentError(e,a,c){return this.throwError(e,l.errors.INVALID_ARGUMENT,{argument:a,value:c})}assert(e,a,c,d){e||this.throwError(a,c,d)}assertArgument(e,a,c,d){e||this.throwArgumentError(a,c,d)}checkNormalize(e){null==e&&(e="platform missing String.prototype.normalize"),n&&this.throwError("platform missing String.prototype.normalize",l.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:n})}checkSafeUint53(e,a){"number"==typeof e&&(null==a&&(a="value not safe"),(e<0||e>=9007199254740991)&&this.throwError(a,l.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:e}),e%1&&this.throwError(a,l.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:e}))}checkArgumentCount(e,a,c){c=c?": "+c:"",ea&&this.throwError("too many arguments"+c,l.errors.UNEXPECTED_ARGUMENT,{count:e,expectedCount:a})}checkNew(e,a){e!==Object&&null!=e||this.throwError("missing new",l.errors.MISSING_NEW,{name:a.name})}checkAbstract(e,a){e===a?this.throwError("cannot instantiate abstract class "+JSON.stringify(a.name)+" directly; use a sub-class",l.errors.UNSUPPORTED_OPERATION,{name:e.name,operation:"new"}):e!==Object&&null!=e||this.throwError("missing new",l.errors.MISSING_NEW,{name:a.name})}static globalLogger(){return r||(r=new l("logger/5.7.0")),r}static setCensorship(e,a){if(!e&&a&&this.globalLogger().throwError("cannot permanently disable censorship",l.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),d){if(!e)return;this.globalLogger().throwError("error censorship permanent",l.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}f=!!e,d=!!a}static setLogLevel(e){const a=b[e.toLowerCase()];null!=a?t=a:l.globalLogger().warn("invalid log level - "+e)}static from(e){return new l(e)}}l.errors=o,l.levels=i},6881:(e,a,c)=>{"use strict";c.d(a,{dk:()=>u,uj:()=>n,p$:()=>x,zG:()=>t,mE:()=>r,DC:()=>i});var d=c(1581);var f=function(e,a,c,d){return new(c||(c=Promise))((function(f,b){function t(e){try{n(d.next(e))}catch(a){b(a)}}function r(e){try{n(d.throw(e))}catch(a){b(a)}}function n(e){var a;e.done?f(e.value):(a=e.value,a instanceof c?a:new c((function(e){e(a)}))).then(t,r)}n((d=d.apply(e,a||[])).next())}))};const b=new d.Yd("properties/5.7.0");function t(e,a,c){Object.defineProperty(e,a,{enumerable:!0,value:c,writable:!1})}function r(e){return f(this,void 0,void 0,(function*(){const a=Object.keys(e).map((a=>{const c=e[a];return Promise.resolve(c).then((e=>({key:a,value:e})))}));return(yield Promise.all(a)).reduce(((e,a)=>(e[a.key]=a.value,e)),{})}))}function n(e,a){e&&"object"==typeof e||b.throwArgumentError("invalid object","object",e),Object.keys(e).forEach((c=>{a[c]||b.throwArgumentError("invalid object key - "+c,"transaction:"+c,e)}))}function i(e){const a={};for(const c in e)a[c]=e[c];return a}const o={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function s(e){if(null==e||o[typeof e])return!0;if(Array.isArray(e)||"object"==typeof e){if(!Object.isFrozen(e))return!1;const c=Object.keys(e);for(let d=0;dx(e))));if("object"==typeof e){const a={};for(const c in e){const d=e[c];void 0!==d&&t(a,c,x(d))}return a}return b.throwArgumentError("Cannot deepCopy "+typeof e,"object",e)}function x(e){return l(e)}class u{constructor(e){for(const a in e)this[a]=x(e[a])}}},29251:(e,a,c)=>{"use strict";c.d(a,{Uj:()=>b,Y0:()=>n});var d=c(16441);const f=new(c(1581).Yd)("strings/5.7.0");var b,t;function r(e,a,c,d,f){if(e===t.BAD_PREFIX||e===t.UNEXPECTED_CONTINUE){let e=0;for(let d=a+1;d>6==2;d++)e++;return e}return e===t.OVERRUN?c.length-a-1:0}!function(e){e.current="",e.NFC="NFC",e.NFD="NFD",e.NFKC="NFKC",e.NFKD="NFKD"}(b||(b={})),function(e){e.UNEXPECTED_CONTINUE="unexpected continuation byte",e.BAD_PREFIX="bad codepoint prefix",e.OVERRUN="string overrun",e.MISSING_CONTINUE="missing continuation byte",e.OUT_OF_RANGE="out of UTF-8 range",e.UTF16_SURROGATE="UTF-16 surrogate",e.OVERLONG="overlong representation"}(t||(t={}));Object.freeze({error:function(e,a,c,d,b){return f.throwArgumentError(`invalid codepoint at offset ${a}; ${e}`,"bytes",c)},ignore:r,replace:function(e,a,c,d,f){return e===t.OVERLONG?(d.push(f),0):(d.push(65533),r(e,a,c))}});function n(e,a=b.current){a!=b.current&&(f.checkNormalize(),e=e.normalize(a));let c=[];for(let d=0;d>6|192),c.push(63&a|128);else if(55296==(64512&a)){d++;const f=e.charCodeAt(d);if(d>=e.length||56320!=(64512&f))throw new Error("invalid utf-8 string");const b=65536+((1023&a)<<10)+(1023&f);c.push(b>>18|240),c.push(b>>12&63|128),c.push(b>>6&63|128),c.push(63&b|128)}else c.push(a>>12|224),c.push(a>>6&63|128),c.push(63&a|128)}return(0,d.lE)(c)}},16824:(e,a,c)=>{"use strict";c.d(a,{w5:()=>ka});var d=c(19485),f=c(2593),b=c(6881),t=c(1581);var r=function(e,a,c,d){return new(c||(c=Promise))((function(f,b){function t(e){try{n(d.next(e))}catch(a){b(a)}}function r(e){try{n(d.throw(e))}catch(a){b(a)}}function n(e){var a;e.done?f(e.value):(a=e.value,a instanceof c?a:new c((function(e){e(a)}))).then(t,r)}n((d=d.apply(e,a||[])).next())}))};const n=new t.Yd("abstract-provider/5.7.0");class i{constructor(){n.checkAbstract(new.target,i),(0,b.zG)(this,"_isProvider",!0)}getFeeData(){return r(this,void 0,void 0,(function*(){const{block:e,gasPrice:a}=yield(0,b.mE)({block:this.getBlock("latest"),gasPrice:this.getGasPrice().catch((e=>null))});let c=null,d=null,t=null;return e&&e.baseFeePerGas&&(c=e.baseFeePerGas,t=f.O$.from("1500000000"),d=e.baseFeePerGas.mul(2).add(t)),{lastBaseFeePerGas:c,maxFeePerGas:d,maxPriorityFeePerGas:t,gasPrice:a}}))}addListener(e,a){return this.on(e,a)}removeListener(e,a){return this.off(e,a)}static isProvider(e){return!(!e||!e._isProvider)}}var o=c(48088),s=c(16441),l=c(38197),x=c(29251);var u=c(73392);class h{constructor(e){(0,b.zG)(this,"alphabet",e),(0,b.zG)(this,"base",e.length),(0,b.zG)(this,"_alphabetMap",{}),(0,b.zG)(this,"_leader",e.charAt(0));for(let a=0;a0;)c.push(e%this.base),e=e/this.base|0}let d="";for(let f=0;0===a[f]&&f=0;--f)d+=this.alphabet[c[f]];return d}decode(e){if("string"!=typeof e)throw new TypeError("Expected String");let a=[];if(0===e.length)return new Uint8Array(a);a.push(0);for(let c=0;c>=8;for(;f>0;)a.push(255&f),f>>=8}for(let c=0;e[c]===this._leader&&c>24&255,n[a.length+1]=l>>16&255,n[a.length+2]=l>>8&255,n[a.length+3]=255&l;let x=(0,s.lE)(w(f,e,n));b||(b=x.length,o=new Uint8Array(b),t=Math.ceil(d/b),i=d-(t-1)*b),o.set(x);for(let a=1;a>8,t=255&f;b?c.push(b,t):c.push(t)}return c},c.zero2=d,c.toHex=f,c.encode=function(e,a){return"hex"===a?f(e):e}})),T=k((function(e,a){var c=a;c.assert=I,c.toArray=L.toArray,c.zero2=L.zero2,c.toHex=L.toHex,c.encode=L.encode,c.getNAF=function(e,a,c){var d=new Array(Math.max(e.bitLength(),c)+1);d.fill(0);for(var f=1<(f>>1)-1?(f>>1)-n:n,b.isubn(r)):r=0,d[t]=r,b.iushrn(1)}return d},c.getJSF=function(e,a){var c=[[],[]];e=e.clone(),a=a.clone();for(var d,f=0,b=0;e.cmpn(-f)>0||a.cmpn(-b)>0;){var t,r,n=e.andln(3)+f&3,i=a.andln(3)+b&3;3===n&&(n=-1),3===i&&(i=-1),t=0==(1&n)?0:3!==(d=e.andln(7)+f&7)&&5!==d||2!==i?n:-n,c[0].push(t),r=0==(1&i)?0:3!==(d=a.andln(7)+b&7)&&5!==d||2!==n?i:-i,c[1].push(r),2*f===t+1&&(f=1-f),2*b===r+1&&(b=1-b),e.iushrn(1),a.iushrn(1)}return c},c.cachedProperty=function(e,a,c){var d="_"+a;e.prototype[a]=function(){return void 0!==this[d]?this[d]:this[d]=c.call(this)}},c.parseBytes=function(e){return"string"==typeof e?c.toArray(e,"hex"):e},c.intFromLE=function(e){return new(A())(e,"hex","le")}})),P=T.getNAF,R=T.getJSF,M=T.assert;function B(e,a){this.type=e,this.p=new(A())(a.p,16),this.red=a.prime?A().red(a.prime):A().mont(this.p),this.zero=new(A())(0).toRed(this.red),this.one=new(A())(1).toRed(this.red),this.two=new(A())(2).toRed(this.red),this.n=a.n&&new(A())(a.n,16),this.g=a.g&&this.pointFromJSON(a.g,a.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var c=this.n&&this.p.div(this.n);!c||c.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var O=B;function N(e,a){this.curve=e,this.type=a,this.precomputed=null}B.prototype.point=function(){throw new Error("Not implemented")},B.prototype.validate=function(){throw new Error("Not implemented")},B.prototype._fixedNafMul=function(e,a){M(e.precomputed);var c=e._getDoubles(),d=P(a,1,this._bitLength),f=(1<=b;n--)t=(t<<1)+d[n];r.push(t)}for(var i=this.jpoint(null,null,null),o=this.jpoint(null,null,null),s=f;s>0;s--){for(b=0;b=0;r--){for(var n=0;r>=0&&0===b[r];r--)n++;if(r>=0&&n++,t=t.dblp(n),r<0)break;var i=b[r];M(0!==i),t="affine"===e.type?i>0?t.mixedAdd(f[i-1>>1]):t.mixedAdd(f[-i-1>>1].neg()):i>0?t.add(f[i-1>>1]):t.add(f[-i-1>>1].neg())}return"affine"===e.type?t.toP():t},B.prototype._wnafMulAdd=function(e,a,c,d,f){var b,t,r,n=this._wnafT1,i=this._wnafT2,o=this._wnafT3,s=0;for(b=0;b=1;b-=2){var x=b-1,u=b;if(1===n[x]&&1===n[u]){var h=[a[x],null,null,a[u]];0===a[x].y.cmp(a[u].y)?(h[1]=a[x].add(a[u]),h[2]=a[x].toJ().mixedAdd(a[u].neg())):0===a[x].y.cmp(a[u].y.redNeg())?(h[1]=a[x].toJ().mixedAdd(a[u]),h[2]=a[x].add(a[u].neg())):(h[1]=a[x].toJ().mixedAdd(a[u]),h[2]=a[x].toJ().mixedAdd(a[u].neg()));var p=[-3,-1,-5,-7,0,7,5,1,3],m=R(c[x],c[u]);for(s=Math.max(m[0].length,s),o[x]=new Array(s),o[u]=new Array(s),t=0;t=0;b--){for(var w=0;b>=0;){var S=!0;for(t=0;t=0&&w++,v=v.dblp(w),b<0)break;for(t=0;t0?r=i[t][E-1>>1]:E<0&&(r=i[t][-E-1>>1].neg()),v="affine"===r.type?v.mixedAdd(r):v.add(r))}}for(b=0;b=Math.ceil((e.bitLength()+1)/a.step)},N.prototype._getDoubles=function(e,a){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var c=[this],d=this,f=0;f=0&&(b=a,t=c),d.negative&&(d=d.neg(),f=f.neg()),b.negative&&(b=b.neg(),t=t.neg()),[{a:d,b:f},{a:b,b:t}]},U.prototype._endoSplit=function(e){var a=this.endo.basis,c=a[0],d=a[1],f=d.b.mul(e).divRound(this.n),b=c.b.neg().mul(e).divRound(this.n),t=f.mul(c.a),r=b.mul(d.a),n=f.mul(c.b),i=b.mul(d.b);return{k1:e.sub(t).sub(r),k2:n.add(i).neg()}},U.prototype.pointFromX=function(e,a){(e=new(A())(e,16)).red||(e=e.toRed(this.red));var c=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),d=c.redSqrt();if(0!==d.redSqr().redSub(c).cmp(this.zero))throw new Error("invalid point");var f=d.fromRed().isOdd();return(a&&!f||!a&&f)&&(d=d.redNeg()),this.point(e,d)},U.prototype.validate=function(e){if(e.inf)return!0;var a=e.x,c=e.y,d=this.a.redMul(a),f=a.redSqr().redMul(a).redIAdd(d).redIAdd(this.b);return 0===c.redSqr().redISub(f).cmpn(0)},U.prototype._endoWnafMulAdd=function(e,a,c){for(var d=this._endoWnafT1,f=this._endoWnafT2,b=0;b":""},z.prototype.isInfinity=function(){return this.inf},z.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var a=this.y.redSub(e.y);0!==a.cmpn(0)&&(a=a.redMul(this.x.redSub(e.x).redInvm()));var c=a.redSqr().redISub(this.x).redISub(e.x),d=a.redMul(this.x.redSub(c)).redISub(this.y);return this.curve.point(c,d)},z.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var a=this.curve.a,c=this.x.redSqr(),d=e.redInvm(),f=c.redAdd(c).redIAdd(c).redIAdd(a).redMul(d),b=f.redSqr().redISub(this.x.redAdd(this.x)),t=f.redMul(this.x.redSub(b)).redISub(this.y);return this.curve.point(b,t)},z.prototype.getX=function(){return this.x.fromRed()},z.prototype.getY=function(){return this.y.fromRed()},z.prototype.mul=function(e){return e=new(A())(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},z.prototype.mulAdd=function(e,a,c){var d=[this,a],f=[e,c];return this.curve.endo?this.curve._endoWnafMulAdd(d,f):this.curve._wnafMulAdd(1,d,f,2)},z.prototype.jmulAdd=function(e,a,c){var d=[this,a],f=[e,c];return this.curve.endo?this.curve._endoWnafMulAdd(d,f,!0):this.curve._wnafMulAdd(1,d,f,2,!0)},z.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},z.prototype.neg=function(e){if(this.inf)return this;var a=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var c=this.precomputed,d=function(e){return e.neg()};a.precomputed={naf:c.naf&&{wnd:c.naf.wnd,points:c.naf.points.map(d)},doubles:c.doubles&&{step:c.doubles.step,points:c.doubles.points.map(d)}}}return a},z.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},F(q,O.BasePoint),U.prototype.jpoint=function(e,a,c){return new q(this,e,a,c)},q.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),a=e.redSqr(),c=this.x.redMul(a),d=this.y.redMul(a).redMul(e);return this.curve.point(c,d)},q.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},q.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var a=e.z.redSqr(),c=this.z.redSqr(),d=this.x.redMul(a),f=e.x.redMul(c),b=this.y.redMul(a.redMul(e.z)),t=e.y.redMul(c.redMul(this.z)),r=d.redSub(f),n=b.redSub(t);if(0===r.cmpn(0))return 0!==n.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var i=r.redSqr(),o=i.redMul(r),s=d.redMul(i),l=n.redSqr().redIAdd(o).redISub(s).redISub(s),x=n.redMul(s.redISub(l)).redISub(b.redMul(o)),u=this.z.redMul(e.z).redMul(r);return this.curve.jpoint(l,x,u)},q.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var a=this.z.redSqr(),c=this.x,d=e.x.redMul(a),f=this.y,b=e.y.redMul(a).redMul(this.z),t=c.redSub(d),r=f.redSub(b);if(0===t.cmpn(0))return 0!==r.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var n=t.redSqr(),i=n.redMul(t),o=c.redMul(n),s=r.redSqr().redIAdd(i).redISub(o).redISub(o),l=r.redMul(o.redISub(s)).redISub(f.redMul(i)),x=this.z.redMul(t);return this.curve.jpoint(s,l,x)},q.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var a;if(this.curve.zeroA||this.curve.threeA){var c=this;for(a=0;a=0)return!1;if(c.redIAdd(f),0===this.x.cmp(c))return!0}},q.prototype.inspect=function(){return this.isInfinity()?"":""},q.prototype.isInfinity=function(){return 0===this.z.cmpn(0)};var K=k((function(e,a){var c=a;c.base=O,c.short=j,c.mont=null,c.edwards=null})),V=k((function(e,a){var c,d=a,f=T.assert;function b(e){"short"===e.type?this.curve=new K.short(e):"edwards"===e.type?this.curve=new K.edwards(e):this.curve=new K.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,f(this.g.validate(),"Invalid curve"),f(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function t(e,a){Object.defineProperty(d,e,{configurable:!0,enumerable:!0,get:function(){var c=new b(a);return Object.defineProperty(d,e,{configurable:!0,enumerable:!0,value:c}),c}})}d.PresetCurve=b,t("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:y().sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),t("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:y().sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),t("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:y().sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),t("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:y().sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),t("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:y().sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),t("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:y().sha256,gRed:!1,g:["9"]}),t("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:y().sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{c=null.crash()}catch(r){c=void 0}t("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:y().sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",c]})}));function $(e){if(!(this instanceof $))return new $(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var a=L.toArray(e.entropy,e.entropyEnc||"hex"),c=L.toArray(e.nonce,e.nonceEnc||"hex"),d=L.toArray(e.pers,e.persEnc||"hex");I(a.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(a,c,d)}var H=$;$.prototype._init=function(e,a,c){var d=e.concat(a).concat(c);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var f=0;f=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(c||[])),this._reseed=1},$.prototype.generate=function(e,a,c,d){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof a&&(d=c,c=a,a=null),c&&(c=L.toArray(c,d||"hex"),this._update(c));for(var f=[];f.length"};var Q=T.assert;function Y(e,a){if(e instanceof Y)return e;this._importDER(e,a)||(Q(e.r&&e.s,"Signature without r or s"),this.r=new(A())(e.r,16),this.s=new(A())(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}var J=Y;function X(){this.place=0}function ee(e,a){var c=e[a.place++];if(!(128&c))return c;var d=15&c;if(0===d||d>4)return!1;for(var f=0,b=0,t=a.place;b>>=0;return!(f<=127)&&(a.place=t,f)}function ae(e){for(var a=0,c=e.length-1;!e[a]&&!(128&e[a+1])&&a>>3);for(e.push(128|c);--c;)e.push(a>>>(c<<3)&255);e.push(a)}}Y.prototype._importDER=function(e,a){e=T.toArray(e,a);var c=new X;if(48!==e[c.place++])return!1;var d=ee(e,c);if(!1===d)return!1;if(d+c.place!==e.length)return!1;if(2!==e[c.place++])return!1;var f=ee(e,c);if(!1===f)return!1;var b=e.slice(c.place,f+c.place);if(c.place+=f,2!==e[c.place++])return!1;var t=ee(e,c);if(!1===t)return!1;if(e.length!==t+c.place)return!1;var r=e.slice(c.place,t+c.place);if(0===b[0]){if(!(128&b[1]))return!1;b=b.slice(1)}if(0===r[0]){if(!(128&r[1]))return!1;r=r.slice(1)}return this.r=new(A())(b),this.s=new(A())(r),this.recoveryParam=null,!0},Y.prototype.toDER=function(e){var a=this.r.toArray(),c=this.s.toArray();for(128&a[0]&&(a=[0].concat(a)),128&c[0]&&(c=[0].concat(c)),a=ae(a),c=ae(c);!(c[0]||128&c[1]);)c=c.slice(1);var d=[2];ce(d,a.length),(d=d.concat(a)).push(2),ce(d,c.length);var f=d.concat(c),b=[48];return ce(b,f.length),b=b.concat(f),T.encode(b,e)};var de=function(){throw new Error("unsupported")},fe=T.assert;function be(e){if(!(this instanceof be))return new be(e);"string"==typeof e&&(fe(Object.prototype.hasOwnProperty.call(V,e),"Unknown curve "+e),e=V[e]),e instanceof V.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}var te=be;be.prototype.keyPair=function(e){return new Z(this,e)},be.prototype.keyFromPrivate=function(e,a){return Z.fromPrivate(this,e,a)},be.prototype.keyFromPublic=function(e,a){return Z.fromPublic(this,e,a)},be.prototype.genKeyPair=function(e){e||(e={});for(var a=new H({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||de(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),c=this.n.byteLength(),d=this.n.sub(new(A())(2));;){var f=new(A())(a.generate(c));if(!(f.cmp(d)>0))return f.iaddn(1),this.keyFromPrivate(f)}},be.prototype._truncateToN=function(e,a){var c=8*e.byteLength()-this.n.bitLength();return c>0&&(e=e.ushrn(c)),!a&&e.cmp(this.n)>=0?e.sub(this.n):e},be.prototype.sign=function(e,a,c,d){"object"==typeof c&&(d=c,c=null),d||(d={}),a=this.keyFromPrivate(a,c),e=this._truncateToN(new(A())(e,16));for(var f=this.n.byteLength(),b=a.getPrivate().toArray("be",f),t=e.toArray("be",f),r=new H({hash:this.hash,entropy:b,nonce:t,pers:d.pers,persEnc:d.persEnc||"utf8"}),n=this.n.sub(new(A())(1)),i=0;;i++){var o=d.k?d.k(i):new(A())(r.generate(this.n.byteLength()));if(!((o=this._truncateToN(o,!0)).cmpn(1)<=0||o.cmp(n)>=0)){var s=this.g.mul(o);if(!s.isInfinity()){var l=s.getX(),x=l.umod(this.n);if(0!==x.cmpn(0)){var u=o.invm(this.n).mul(x.mul(a.getPrivate()).iadd(e));if(0!==(u=u.umod(this.n)).cmpn(0)){var h=(s.getY().isOdd()?1:0)|(0!==l.cmp(x)?2:0);return d.canonical&&u.cmp(this.nh)>0&&(u=this.n.sub(u),h^=1),new J({r:x,s:u,recoveryParam:h})}}}}}},be.prototype.verify=function(e,a,c,d){e=this._truncateToN(new(A())(e,16)),c=this.keyFromPublic(c,d);var f=(a=new J(a,"hex")).r,b=a.s;if(f.cmpn(1)<0||f.cmp(this.n)>=0)return!1;if(b.cmpn(1)<0||b.cmp(this.n)>=0)return!1;var t,r=b.invm(this.n),n=r.mul(e).umod(this.n),i=r.mul(f).umod(this.n);return this.curve._maxwellTrick?!(t=this.g.jmulAdd(n,c.getPublic(),i)).isInfinity()&&t.eqXToP(f):!(t=this.g.mulAdd(n,c.getPublic(),i)).isInfinity()&&0===t.getX().umod(this.n).cmp(f)},be.prototype.recoverPubKey=function(e,a,c,d){fe((3&c)===c,"The recovery param is more than two bits"),a=new J(a,d);var f=this.n,b=new(A())(e),t=a.r,r=a.s,n=1&c,i=c>>1;if(t.cmp(this.curve.p.umod(this.curve.n))>=0&&i)throw new Error("Unable to find sencond key candinate");t=i?this.curve.pointFromX(t.add(this.curve.n),n):this.curve.pointFromX(t,n);var o=a.r.invm(f),s=f.sub(b).mul(o).umod(f),l=r.mul(o).umod(f);return this.g.mulAdd(s,t,l)},be.prototype.getKeyRecoveryParam=function(e,a,c,d){if(null!==(a=new J(a,d)).recoveryParam)return a.recoveryParam;for(var f=0;f<4;f++){var b;try{b=this.recoverPubKey(e,a,f)}catch(e){continue}if(b.eq(c))return f}throw new Error("Unable to find valid recovery factor")};var re=k((function(e,a){var c=a;c.version="6.5.4",c.utils=T,c.rand=function(){throw new Error("unsupported")},c.curve=K,c.curves=V,c.ec=te,c.eddsa=null})).ec;const ne=new t.Yd("signing-key/5.7.0");let ie=null;function oe(){return ie||(ie=new re("secp256k1")),ie}class se{constructor(e){(0,b.zG)(this,"curve","secp256k1"),(0,b.zG)(this,"privateKey",(0,s.Dv)(e)),32!==(0,s.E1)(this.privateKey)&&ne.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");const a=oe().keyFromPrivate((0,s.lE)(this.privateKey));(0,b.zG)(this,"publicKey","0x"+a.getPublic(!1,"hex")),(0,b.zG)(this,"compressedPublicKey","0x"+a.getPublic(!0,"hex")),(0,b.zG)(this,"_isSigningKey",!0)}_addPoint(e){const a=oe().keyFromPublic((0,s.lE)(this.publicKey)),c=oe().keyFromPublic((0,s.lE)(e));return"0x"+a.pub.add(c.pub).encodeCompressed("hex")}signDigest(e){const a=oe().keyFromPrivate((0,s.lE)(this.privateKey)),c=(0,s.lE)(e);32!==c.length&&ne.throwArgumentError("bad digest length","digest",e);const d=a.sign(c,{canonical:!0});return(0,s.N)({recoveryParam:d.recoveryParam,r:(0,s.$m)("0x"+d.r.toString(16),32),s:(0,s.$m)("0x"+d.s.toString(16),32)})}computeSharedSecret(e){const a=oe().keyFromPrivate((0,s.lE)(this.privateKey)),c=oe().keyFromPublic((0,s.lE)(le(e)));return(0,s.$m)("0x"+a.derive(c.getPublic()).toString(16),32)}static isSigningKey(e){return!(!e||!e._isSigningKey)}}function le(e,a){const c=(0,s.lE)(e);if(32===c.length){const e=new se(c);return a?"0x"+oe().keyFromPrivate(c).getPublic(!0,"hex"):e.publicKey}return 33===c.length?a?(0,s.Dv)(c):"0x"+oe().keyFromPublic(c).getPublic(!1,"hex"):65===c.length?a?"0x"+oe().keyFromPublic(c).getPublic(!0,"hex"):(0,s.Dv)(c):ne.throwArgumentError("invalid public or private key","key","[REDACTED]")}const xe=new t.Yd("rlp/5.7.0");function ue(e){const a=[];for(;e;)a.unshift(255&e),e>>=8;return a}function he(e){if(Array.isArray(e)){let a=[];if(e.forEach((function(e){a=a.concat(he(e))})),a.length<=55)return a.unshift(192+a.length),a;const c=ue(a.length);return c.unshift(247+c.length),c.concat(a)}(0,s.Zq)(e)||xe.throwArgumentError("RLP object must be BytesLike","object",e);const a=Array.prototype.slice.call((0,s.lE)(e));if(1===a.length&&a[0]<=127)return a;if(a.length<=55)return a.unshift(128+a.length),a;const c=ue(a.length);return c.unshift(183+c.length),c.concat(a)}function pe(e){return(0,s.Dv)(he(e))}const me=new t.Yd("transactions/5.7.0");var ge;!function(e){e[e.legacy=0]="legacy",e[e.eip2930=1]="eip2930",e[e.eip1559=2]="eip1559"}(ge||(ge={}));const ye=[{name:"nonce",maxLength:32,numeric:!0},{name:"gasPrice",maxLength:32,numeric:!0},{name:"gasLimit",maxLength:32,numeric:!0},{name:"to",length:20},{name:"value",maxLength:32,numeric:!0},{name:"data"}],ve={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,type:!0,value:!0};function _e(e){const a=le(e);return(0,d.Kn)((0,s.p3)((0,l.w)((0,s.p3)(a,1)),12))}function we(e,a){const c=(0,s.G1)(f.O$.from(e).toHexString());return c.length>32&&me.throwArgumentError("invalid length for "+a,"transaction:"+a,e),c}function Se(e,a){return{address:(0,d.Kn)(e),storageKeys:(a||[]).map(((a,c)=>(32!==(0,s.E1)(a)&&me.throwArgumentError("invalid access list storageKey",`accessList[${e}:${c}]`,a),a.toLowerCase())))}}function Ee(e){if(Array.isArray(e))return e.map(((e,a)=>Array.isArray(e)?(e.length>2&&me.throwArgumentError("access list expected to be [ address, storageKeys[] ]",`value[${a}]`,e),Se(e[0],e[1])):Se(e.address,e.storageKeys)));const a=Object.keys(e).map((a=>{const c=e[a].reduce(((e,a)=>(e[a]=!0,e)),{});return Se(a,Object.keys(c).sort())}));return a.sort(((e,a)=>e.address.localeCompare(a.address))),a}function Ae(e){return Ee(e).map((e=>[e.address,e.storageKeys]))}function ke(e,a){if(null!=e.gasPrice){const a=f.O$.from(e.gasPrice),c=f.O$.from(e.maxFeePerGas||0);a.eq(c)||me.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:a,maxFeePerGas:c})}const c=[we(e.chainId||0,"chainId"),we(e.nonce||0,"nonce"),we(e.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),we(e.maxFeePerGas||0,"maxFeePerGas"),we(e.gasLimit||0,"gasLimit"),null!=e.to?(0,d.Kn)(e.to):"0x",we(e.value||0,"value"),e.data||"0x",Ae(e.accessList||[])];if(a){const e=(0,s.N)(a);c.push(we(e.recoveryParam,"recoveryParam")),c.push((0,s.G1)(e.r)),c.push((0,s.G1)(e.s))}return(0,s.xs)(["0x02",pe(c)])}function Ie(e,a){const c=[we(e.chainId||0,"chainId"),we(e.nonce||0,"nonce"),we(e.gasPrice||0,"gasPrice"),we(e.gasLimit||0,"gasLimit"),null!=e.to?(0,d.Kn)(e.to):"0x",we(e.value||0,"value"),e.data||"0x",Ae(e.accessList||[])];if(a){const e=(0,s.N)(a);c.push(we(e.recoveryParam,"recoveryParam")),c.push((0,s.G1)(e.r)),c.push((0,s.G1)(e.s))}return(0,s.xs)(["0x01",pe(c)])}function Ce(e,a){if(null==e.type||0===e.type)return null!=e.accessList&&me.throwArgumentError("untyped transactions do not support accessList; include type: 1","transaction",e),function(e,a){(0,b.uj)(e,ve);const c=[];ye.forEach((function(a){let d=e[a.name]||[];const f={};a.numeric&&(f.hexPad="left"),d=(0,s.lE)((0,s.Dv)(d,f)),a.length&&d.length!==a.length&&d.length>0&&me.throwArgumentError("invalid length for "+a.name,"transaction:"+a.name,d),a.maxLength&&(d=(0,s.G1)(d),d.length>a.maxLength&&me.throwArgumentError("invalid length for "+a.name,"transaction:"+a.name,d)),c.push((0,s.Dv)(d))}));let d=0;if(null!=e.chainId?(d=e.chainId,"number"!=typeof d&&me.throwArgumentError("invalid transaction.chainId","transaction",e)):a&&!(0,s.Zq)(a)&&a.v>28&&(d=Math.floor((a.v-35)/2)),0!==d&&(c.push((0,s.Dv)(d)),c.push("0x"),c.push("0x")),!a)return pe(c);const f=(0,s.N)(a);let t=27+f.recoveryParam;return 0!==d?(c.pop(),c.pop(),c.pop(),t+=2*d+8,f.v>28&&f.v!==t&&me.throwArgumentError("transaction.chainId/signature.v mismatch","signature",a)):f.v!==t&&me.throwArgumentError("transaction.chainId/signature.v mismatch","signature",a),c.push((0,s.Dv)(t)),c.push((0,s.G1)((0,s.lE)(f.r))),c.push((0,s.G1)((0,s.lE)(f.s))),pe(c)}(e,a);switch(e.type){case 1:return Ie(e,a);case 2:return ke(e,a)}return me.throwError(`unsupported transaction type: ${e.type}`,t.Yd.errors.UNSUPPORTED_OPERATION,{operation:"serializeTransaction",transactionType:e.type})}var Le=c(32046);const Te=new t.Yd("wordlists/5.7.0");class Pe{constructor(e){Te.checkAbstract(new.target,Pe),(0,b.zG)(this,"locale",e)}split(e){return e.toLowerCase().split(/ +/g)}join(e){return e.join(" ")}static check(e){const a=[];for(let c=0;c<2048;c++){const d=e.getWord(c);if(c!==e.getWordIndex(d))return"0x";a.push(d)}return(0,Le.id)(a.join("\n")+"\n")}static register(e,a){a||(a=e.locale)}}let Re=null;function Me(e){if(null==Re&&(Re="AbandonAbilityAbleAboutAboveAbsentAbsorbAbstractAbsurdAbuseAccessAccidentAccountAccuseAchieveAcidAcousticAcquireAcrossActActionActorActressActualAdaptAddAddictAddressAdjustAdmitAdultAdvanceAdviceAerobicAffairAffordAfraidAgainAgeAgentAgreeAheadAimAirAirportAisleAlarmAlbumAlcoholAlertAlienAllAlleyAllowAlmostAloneAlphaAlreadyAlsoAlterAlwaysAmateurAmazingAmongAmountAmusedAnalystAnchorAncientAngerAngleAngryAnimalAnkleAnnounceAnnualAnotherAnswerAntennaAntiqueAnxietyAnyApartApologyAppearAppleApproveAprilArchArcticAreaArenaArgueArmArmedArmorArmyAroundArrangeArrestArriveArrowArtArtefactArtistArtworkAskAspectAssaultAssetAssistAssumeAsthmaAthleteAtomAttackAttendAttitudeAttractAuctionAuditAugustAuntAuthorAutoAutumnAverageAvocadoAvoidAwakeAwareAwayAwesomeAwfulAwkwardAxisBabyBachelorBaconBadgeBagBalanceBalconyBallBambooBananaBannerBarBarelyBargainBarrelBaseBasicBasketBattleBeachBeanBeautyBecauseBecomeBeefBeforeBeginBehaveBehindBelieveBelowBeltBenchBenefitBestBetrayBetterBetweenBeyondBicycleBidBikeBindBiologyBirdBirthBitterBlackBladeBlameBlanketBlastBleakBlessBlindBloodBlossomBlouseBlueBlurBlushBoardBoatBodyBoilBombBoneBonusBookBoostBorderBoringBorrowBossBottomBounceBoxBoyBracketBrainBrandBrassBraveBreadBreezeBrickBridgeBriefBrightBringBriskBroccoliBrokenBronzeBroomBrotherBrownBrushBubbleBuddyBudgetBuffaloBuildBulbBulkBulletBundleBunkerBurdenBurgerBurstBusBusinessBusyButterBuyerBuzzCabbageCabinCableCactusCageCakeCallCalmCameraCampCanCanalCancelCandyCannonCanoeCanvasCanyonCapableCapitalCaptainCarCarbonCardCargoCarpetCarryCartCaseCashCasinoCastleCasualCatCatalogCatchCategoryCattleCaughtCauseCautionCaveCeilingCeleryCementCensusCenturyCerealCertainChairChalkChampionChangeChaosChapterChargeChaseChatCheapCheckCheeseChefCherryChestChickenChiefChildChimneyChoiceChooseChronicChuckleChunkChurnCigarCinnamonCircleCitizenCityCivilClaimClapClarifyClawClayCleanClerkCleverClickClientCliffClimbClinicClipClockClogCloseClothCloudClownClubClumpClusterClutchCoachCoastCoconutCodeCoffeeCoilCoinCollectColorColumnCombineComeComfortComicCommonCompanyConcertConductConfirmCongressConnectConsiderControlConvinceCookCoolCopperCopyCoralCoreCornCorrectCostCottonCouchCountryCoupleCourseCousinCoverCoyoteCrackCradleCraftCramCraneCrashCraterCrawlCrazyCreamCreditCreekCrewCricketCrimeCrispCriticCropCrossCrouchCrowdCrucialCruelCruiseCrumbleCrunchCrushCryCrystalCubeCultureCupCupboardCuriousCurrentCurtainCurveCushionCustomCuteCycleDadDamageDampDanceDangerDaringDashDaughterDawnDayDealDebateDebrisDecadeDecemberDecideDeclineDecorateDecreaseDeerDefenseDefineDefyDegreeDelayDeliverDemandDemiseDenialDentistDenyDepartDependDepositDepthDeputyDeriveDescribeDesertDesignDeskDespairDestroyDetailDetectDevelopDeviceDevoteDiagramDialDiamondDiaryDiceDieselDietDifferDigitalDignityDilemmaDinnerDinosaurDirectDirtDisagreeDiscoverDiseaseDishDismissDisorderDisplayDistanceDivertDivideDivorceDizzyDoctorDocumentDogDollDolphinDomainDonateDonkeyDonorDoorDoseDoubleDoveDraftDragonDramaDrasticDrawDreamDressDriftDrillDrinkDripDriveDropDrumDryDuckDumbDuneDuringDustDutchDutyDwarfDynamicEagerEagleEarlyEarnEarthEasilyEastEasyEchoEcologyEconomyEdgeEditEducateEffortEggEightEitherElbowElderElectricElegantElementElephantElevatorEliteElseEmbarkEmbodyEmbraceEmergeEmotionEmployEmpowerEmptyEnableEnactEndEndlessEndorseEnemyEnergyEnforceEngageEngineEnhanceEnjoyEnlistEnoughEnrichEnrollEnsureEnterEntireEntryEnvelopeEpisodeEqualEquipEraEraseErodeErosionErrorEruptEscapeEssayEssenceEstateEternalEthicsEvidenceEvilEvokeEvolveExactExampleExcessExchangeExciteExcludeExcuseExecuteExerciseExhaustExhibitExileExistExitExoticExpandExpectExpireExplainExposeExpressExtendExtraEyeEyebrowFabricFaceFacultyFadeFaintFaithFallFalseFameFamilyFamousFanFancyFantasyFarmFashionFatFatalFatherFatigueFaultFavoriteFeatureFebruaryFederalFeeFeedFeelFemaleFenceFestivalFetchFeverFewFiberFictionFieldFigureFileFilmFilterFinalFindFineFingerFinishFireFirmFirstFiscalFishFitFitnessFixFlagFlameFlashFlatFlavorFleeFlightFlipFloatFlockFloorFlowerFluidFlushFlyFoamFocusFogFoilFoldFollowFoodFootForceForestForgetForkFortuneForumForwardFossilFosterFoundFoxFragileFrameFrequentFreshFriendFringeFrogFrontFrostFrownFrozenFruitFuelFunFunnyFurnaceFuryFutureGadgetGainGalaxyGalleryGameGapGarageGarbageGardenGarlicGarmentGasGaspGateGatherGaugeGazeGeneralGeniusGenreGentleGenuineGestureGhostGiantGiftGiggleGingerGiraffeGirlGiveGladGlanceGlareGlassGlideGlimpseGlobeGloomGloryGloveGlowGlueGoatGoddessGoldGoodGooseGorillaGospelGossipGovernGownGrabGraceGrainGrantGrapeGrassGravityGreatGreenGridGriefGritGroceryGroupGrowGruntGuardGuessGuideGuiltGuitarGunGymHabitHairHalfHammerHamsterHandHappyHarborHardHarshHarvestHatHaveHawkHazardHeadHealthHeartHeavyHedgehogHeightHelloHelmetHelpHenHeroHiddenHighHillHintHipHireHistoryHobbyHockeyHoldHoleHolidayHollowHomeHoneyHoodHopeHornHorrorHorseHospitalHostHotelHourHoverHubHugeHumanHumbleHumorHundredHungryHuntHurdleHurryHurtHusbandHybridIceIconIdeaIdentifyIdleIgnoreIllIllegalIllnessImageImitateImmenseImmuneImpactImposeImproveImpulseInchIncludeIncomeIncreaseIndexIndicateIndoorIndustryInfantInflictInformInhaleInheritInitialInjectInjuryInmateInnerInnocentInputInquiryInsaneInsectInsideInspireInstallIntactInterestIntoInvestInviteInvolveIronIslandIsolateIssueItemIvoryJacketJaguarJarJazzJealousJeansJellyJewelJobJoinJokeJourneyJoyJudgeJuiceJumpJungleJuniorJunkJustKangarooKeenKeepKetchupKeyKickKidKidneyKindKingdomKissKitKitchenKiteKittenKiwiKneeKnifeKnockKnowLabLabelLaborLadderLadyLakeLampLanguageLaptopLargeLaterLatinLaughLaundryLavaLawLawnLawsuitLayerLazyLeaderLeafLearnLeaveLectureLeftLegLegalLegendLeisureLemonLendLengthLensLeopardLessonLetterLevelLiarLibertyLibraryLicenseLifeLiftLightLikeLimbLimitLinkLionLiquidListLittleLiveLizardLoadLoanLobsterLocalLockLogicLonelyLongLoopLotteryLoudLoungeLoveLoyalLuckyLuggageLumberLunarLunchLuxuryLyricsMachineMadMagicMagnetMaidMailMainMajorMakeMammalManManageMandateMangoMansionManualMapleMarbleMarchMarginMarineMarketMarriageMaskMassMasterMatchMaterialMathMatrixMatterMaximumMazeMeadowMeanMeasureMeatMechanicMedalMediaMelodyMeltMemberMemoryMentionMenuMercyMergeMeritMerryMeshMessageMetalMethodMiddleMidnightMilkMillionMimicMindMinimumMinorMinuteMiracleMirrorMiseryMissMistakeMixMixedMixtureMobileModelModifyMomMomentMonitorMonkeyMonsterMonthMoonMoralMoreMorningMosquitoMotherMotionMotorMountainMouseMoveMovieMuchMuffinMuleMultiplyMuscleMuseumMushroomMusicMustMutualMyselfMysteryMythNaiveNameNapkinNarrowNastyNationNatureNearNeckNeedNegativeNeglectNeitherNephewNerveNestNetNetworkNeutralNeverNewsNextNiceNightNobleNoiseNomineeNoodleNormalNorthNoseNotableNoteNothingNoticeNovelNowNuclearNumberNurseNutOakObeyObjectObligeObscureObserveObtainObviousOccurOceanOctoberOdorOffOfferOfficeOftenOilOkayOldOliveOlympicOmitOnceOneOnionOnlineOnlyOpenOperaOpinionOpposeOptionOrangeOrbitOrchardOrderOrdinaryOrganOrientOriginalOrphanOstrichOtherOutdoorOuterOutputOutsideOvalOvenOverOwnOwnerOxygenOysterOzonePactPaddlePagePairPalacePalmPandaPanelPanicPantherPaperParadeParentParkParrotPartyPassPatchPathPatientPatrolPatternPausePavePaymentPeacePeanutPearPeasantPelicanPenPenaltyPencilPeoplePepperPerfectPermitPersonPetPhonePhotoPhrasePhysicalPianoPicnicPicturePiecePigPigeonPillPilotPinkPioneerPipePistolPitchPizzaPlacePlanetPlasticPlatePlayPleasePledgePluckPlugPlungePoemPoetPointPolarPolePolicePondPonyPoolPopularPortionPositionPossiblePostPotatoPotteryPovertyPowderPowerPracticePraisePredictPreferPreparePresentPrettyPreventPricePridePrimaryPrintPriorityPrisonPrivatePrizeProblemProcessProduceProfitProgramProjectPromoteProofPropertyProsperProtectProudProvidePublicPuddingPullPulpPulsePumpkinPunchPupilPuppyPurchasePurityPurposePursePushPutPuzzlePyramidQualityQuantumQuarterQuestionQuickQuitQuizQuoteRabbitRaccoonRaceRackRadarRadioRailRainRaiseRallyRampRanchRandomRangeRapidRareRateRatherRavenRawRazorReadyRealReasonRebelRebuildRecallReceiveRecipeRecordRecycleReduceReflectReformRefuseRegionRegretRegularRejectRelaxReleaseReliefRelyRemainRememberRemindRemoveRenderRenewRentReopenRepairRepeatReplaceReportRequireRescueResembleResistResourceResponseResultRetireRetreatReturnReunionRevealReviewRewardRhythmRibRibbonRiceRichRideRidgeRifleRightRigidRingRiotRippleRiskRitualRivalRiverRoadRoastRobotRobustRocketRomanceRoofRookieRoomRoseRotateRoughRoundRouteRoyalRubberRudeRugRuleRunRunwayRuralSadSaddleSadnessSafeSailSaladSalmonSalonSaltSaluteSameSampleSandSatisfySatoshiSauceSausageSaveSayScaleScanScareScatterSceneSchemeSchoolScienceScissorsScorpionScoutScrapScreenScriptScrubSeaSearchSeasonSeatSecondSecretSectionSecuritySeedSeekSegmentSelectSellSeminarSeniorSenseSentenceSeriesServiceSessionSettleSetupSevenShadowShaftShallowShareShedShellSheriffShieldShiftShineShipShiverShockShoeShootShopShortShoulderShoveShrimpShrugShuffleShySiblingSickSideSiegeSightSignSilentSilkSillySilverSimilarSimpleSinceSingSirenSisterSituateSixSizeSkateSketchSkiSkillSkinSkirtSkullSlabSlamSleepSlenderSliceSlideSlightSlimSloganSlotSlowSlushSmallSmartSmileSmokeSmoothSnackSnakeSnapSniffSnowSoapSoccerSocialSockSodaSoftSolarSoldierSolidSolutionSolveSomeoneSongSoonSorrySortSoulSoundSoupSourceSouthSpaceSpareSpatialSpawnSpeakSpecialSpeedSpellSpendSphereSpiceSpiderSpikeSpinSpiritSplitSpoilSponsorSpoonSportSpotSpraySpreadSpringSpySquareSqueezeSquirrelStableStadiumStaffStageStairsStampStandStartStateStaySteakSteelStemStepStereoStickStillStingStockStomachStoneStoolStoryStoveStrategyStreetStrikeStrongStruggleStudentStuffStumbleStyleSubjectSubmitSubwaySuccessSuchSuddenSufferSugarSuggestSuitSummerSunSunnySunsetSuperSupplySupremeSureSurfaceSurgeSurpriseSurroundSurveySuspectSustainSwallowSwampSwapSwarmSwearSweetSwiftSwimSwingSwitchSwordSymbolSymptomSyrupSystemTableTackleTagTailTalentTalkTankTapeTargetTaskTasteTattooTaxiTeachTeamTellTenTenantTennisTentTermTestTextThankThatThemeThenTheoryThereTheyThingThisThoughtThreeThriveThrowThumbThunderTicketTideTigerTiltTimberTimeTinyTipTiredTissueTitleToastTobaccoTodayToddlerToeTogetherToiletTokenTomatoTomorrowToneTongueTonightToolToothTopTopicToppleTorchTornadoTortoiseTossTotalTouristTowardTowerTownToyTrackTradeTrafficTragicTrainTransferTrapTrashTravelTrayTreatTreeTrendTrialTribeTrickTriggerTrimTripTrophyTroubleTruckTrueTrulyTrumpetTrustTruthTryTubeTuitionTumbleTunaTunnelTurkeyTurnTurtleTwelveTwentyTwiceTwinTwistTwoTypeTypicalUglyUmbrellaUnableUnawareUncleUncoverUnderUndoUnfairUnfoldUnhappyUniformUniqueUnitUniverseUnknownUnlockUntilUnusualUnveilUpdateUpgradeUpholdUponUpperUpsetUrbanUrgeUsageUseUsedUsefulUselessUsualUtilityVacantVacuumVagueValidValleyValveVanVanishVaporVariousVastVaultVehicleVelvetVendorVentureVenueVerbVerifyVersionVeryVesselVeteranViableVibrantViciousVictoryVideoViewVillageVintageViolinVirtualVirusVisaVisitVisualVitalVividVocalVoiceVoidVolcanoVolumeVoteVoyageWageWagonWaitWalkWallWalnutWantWarfareWarmWarriorWashWaspWasteWaterWaveWayWealthWeaponWearWeaselWeatherWebWeddingWeekendWeirdWelcomeWestWetWhaleWhatWheatWheelWhenWhereWhipWhisperWideWidthWifeWildWillWinWindowWineWingWinkWinnerWinterWireWisdomWiseWishWitnessWolfWomanWonderWoodWoolWordWorkWorldWorryWorthWrapWreckWrestleWristWriteWrongYardYearYellowYouYoungYouthZebraZeroZoneZoo".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),"0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60"!==Pe.check(e)))throw Re=null,new Error("BIP39 Wordlist for en (English) FAILED")}const Be=new class extends Pe{constructor(){super("en")}getWord(e){return Me(this),Re[e]}getWordIndex(e){return Me(this),Re.indexOf(e)}};Pe.register(Be);const Oe={en:Be},Ne=new t.Yd("hdnode/5.7.0"),Fe=f.O$.from("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),De=(0,x.Y0)("Bitcoin seed"),Ue=2147483648;function je(e){return(1<=256)throw new Error("Depth too large!");return qe((0,s.zo)([null!=this.privateKey?"0x0488ADE4":"0x0488B21E",(0,s.Dv)(this.depth),this.parentFingerprint,(0,s.$m)((0,s.Dv)(this.index),4),this.chainCode,null!=this.privateKey?(0,s.zo)(["0x00",this.privateKey]):this.publicKey]))}neuter(){return new He(Ve,null,this.publicKey,this.parentFingerprint,this.chainCode,this.index,this.depth,this.path)}_derive(e){if(e>4294967295)throw new Error("invalid index - "+String(e));let a=this.path;a&&(a+="/"+(2147483647&e));const c=new Uint8Array(37);if(e&Ue){if(!this.privateKey)throw new Error("cannot derive child of neutered node");c.set((0,s.lE)(this.privateKey),1),a&&(a+="'")}else c.set((0,s.lE)(this.publicKey));for(let f=24;f>=0;f-=8)c[33+(f>>3)]=e>>24-f&255;const d=(0,s.lE)(w(m.sha512,this.chainCode,c)),b=d.slice(0,32),t=d.slice(32);let r=null,n=null;if(this.privateKey)r=ze(f.O$.from(b).add(this.privateKey).mod(Fe));else{n=new se((0,s.Dv)(b))._addPoint(this.publicKey)}let i=a;const o=this.mnemonic;return o&&(i=Object.freeze({phrase:o.phrase,path:a,locale:o.locale||"en"})),new He(Ve,r,n,this.fingerprint,ze(t),e,this.depth+1,i)}derivePath(e){const a=e.split("/");if(0===a.length||"m"===a[0]&&0!==this.depth)throw new Error("invalid path - "+e);"m"===a[0]&&a.shift();let c=this;for(let d=0;d=Ue)throw new Error("invalid path index - "+e);c=c._derive(Ue+a)}else{if(!e.match(/^[0-9]+$/))throw new Error("invalid path component - "+e);{const a=parseInt(e);if(a>=Ue)throw new Error("invalid path index - "+e);c=c._derive(a)}}}return c}static _fromSeed(e,a){const c=(0,s.lE)(e);if(c.length<16||c.length>64)throw new Error("invalid seed");const d=(0,s.lE)(w(m.sha512,De,c));return new He(Ve,ze(d.slice(0,32)),null,"0x00000000",ze(d.slice(32)),0,0,a)}static fromMnemonic(e,a,c){return e=We(Ge(e,c=Ke(c)),c),He._fromSeed(function(e,a){a||(a="");const c=(0,x.Y0)("mnemonic"+a,x.Uj.NFKD);return S((0,x.Y0)(e,x.Uj.NFKD),c,2048,64,"sha512")}(e,a),{phrase:e,path:"m",locale:c.locale})}static fromSeed(e){return He._fromSeed(e,null)}static fromExtendedKey(e){const a=p.decode(e);82===a.length&&qe(a.slice(0,78))===e||Ne.throwArgumentError("invalid extended key","extendedKey","[REDACTED]");const c=a[4],d=(0,s.Dv)(a.slice(5,9)),f=parseInt((0,s.Dv)(a.slice(9,13)).substring(2),16),b=(0,s.Dv)(a.slice(13,45)),t=a.slice(45,78);switch((0,s.Dv)(a.slice(0,4))){case"0x0488b21e":case"0x043587cf":return new He(Ve,null,(0,s.Dv)(t),d,b,f,c,null);case"0x0488ade4":case"0x04358394 ":if(0!==t[0])break;return new He(Ve,(0,s.Dv)(t.slice(1)),null,d,b,f,c,null)}return Ne.throwArgumentError("invalid extended key","extendedKey","[REDACTED]")}}function Ge(e,a){a=Ke(a),Ne.checkNormalize();const c=a.split(e);if(c.length%3!=0)throw new Error("invalid mnemonic");const d=(0,s.lE)(new Uint8Array(Math.ceil(11*c.length/8)));let f=0;for(let r=0;r>3]|=1<<7-f%8),f++}const b=32*c.length/3,t=je(c.length/3);if(((0,s.lE)(_(d.slice(0,b/8)))[0]&t)!==(d[d.length-1]&t))throw new Error("invalid checksum");return(0,s.Dv)(d.slice(0,b/8))}function We(e,a){if(a=Ke(a),(e=(0,s.lE)(e)).length%4!=0||e.length<16||e.length>32)throw new Error("invalid entropy");const c=[0];let d=11;for(let t=0;t8?(c[c.length-1]<<=8,c[c.length-1]|=e[t],d-=8):(c[c.length-1]<<=d,c[c.length-1]|=e[t]>>8-d,c.push(e[t]&(1<<8-d)-1),d+=3);const f=e.length/4,b=(0,s.lE)(_(e))[0]&je(f);return c[c.length-1]<<=f,c[c.length-1]|=b>>8-f,a.join(c.map((e=>a.getWord(e))))}const Ze=new t.Yd("random/5.7.0");const Qe=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==c.g)return c.g;throw new Error("unable to locate global object")}();let Ye=Qe.crypto||Qe.msCrypto;function Je(e){(e<=0||e>1024||e%1||e!=e)&&Ze.throwArgumentError("invalid length","length",e);const a=new Uint8Array(e);return Ye.getRandomValues(a),(0,s.lE)(a)}Ye&&Ye.getRandomValues||(Ze.warn("WARNING: Missing strong random number source"),Ye={getRandomValues:function(e){return Ze.throwError("no secure random source avaialble",t.Yd.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}});var Xe=c(78826),ea=c.n(Xe),aa=c(17635),ca=c.n(aa);function da(e){return"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),(0,s.lE)(e)}function fa(e,a){for(e=String(e);e.lengtha)),(0,b.zG)(this,"address",_e(this.publicKey)),this.address!==(0,d.Kn)(e.address)&&Aa.throwArgumentError("privateKey/address mismatch","privateKey","[REDACTED]"),function(e){const a=e.mnemonic;return a&&a.phrase}(e)){const a=e.mnemonic;(0,b.zG)(this,"_mnemonic",(()=>({phrase:a.phrase,path:a.path||$e,locale:a.locale||"en"})));const c=this.mnemonic;_e(He.fromMnemonic(c.phrase,null,c.locale).derivePath(c.path).privateKey)!==this.address&&Aa.throwArgumentError("mnemonic/address mismatch","privateKey","[REDACTED]")}else(0,b.zG)(this,"_mnemonic",(()=>null))}else{if(se.isSigningKey(e))"secp256k1"!==e.curve&&Aa.throwArgumentError("unsupported curve; must be secp256k1","privateKey","[REDACTED]"),(0,b.zG)(this,"_signingKey",(()=>e));else{"string"==typeof e&&e.match(/^[0-9a-f]*$/i)&&64===e.length&&(e="0x"+e);const a=new se(e);(0,b.zG)(this,"_signingKey",(()=>a))}(0,b.zG)(this,"_mnemonic",(()=>null)),(0,b.zG)(this,"address",_e(this.publicKey))}var c;a&&!i.isProvider(a)&&Aa.throwArgumentError("invalid provider","provider",a),(0,b.zG)(this,"provider",a||null)}get mnemonic(){return this._mnemonic()}get privateKey(){return this._signingKey().privateKey}get publicKey(){return this._signingKey().publicKey}getAddress(){return Promise.resolve(this.address)}connect(e){return new ka(this,e)}signTransaction(e){return(0,b.mE)(e).then((a=>{null!=a.from&&((0,d.Kn)(a.from)!==this.address&&Aa.throwArgumentError("transaction from address mismatch","transaction.from",e.from),delete a.from);const c=this._signingKey().signDigest((0,l.w)(Ce(a)));return Ce(a,c)}))}signMessage(e){return Ea(this,void 0,void 0,(function*(){return(0,s.gV)(this._signingKey().signDigest(function(e){return"string"==typeof e&&(e=(0,x.Y0)(e)),(0,l.w)((0,s.zo)([(0,x.Y0)("\x19Ethereum Signed Message:\n"),(0,x.Y0)(String(e.length)),e]))}(e)))}))}_signTypedData(e,a,c){return Ea(this,void 0,void 0,(function*(){const d=yield u.E.resolveNames(e,a,c,(e=>(null==this.provider&&Aa.throwError("cannot resolve ENS names without a provider",t.Yd.errors.UNSUPPORTED_OPERATION,{operation:"resolveName",value:e}),this.provider.resolveName(e))));return(0,s.gV)(this._signingKey().signDigest(u.E.hash(d.domain,a,d.value)))}))}encrypt(e,a,c){if("function"!=typeof a||c||(c=a,a={}),c&&"function"!=typeof c)throw new Error("invalid callback");return a||(a={}),function(e,a,c,f){try{if((0,d.Kn)(e.address)!==_e(e.privateKey))throw new Error("address/privateKey mismatch");if(sa(e)){const a=e.mnemonic;if(He.fromMnemonic(a.phrase,null,a.locale).derivePath(a.path||$e).privateKey!=e.privateKey)throw new Error("mnemonic mismatch")}}catch(y){return Promise.reject(y)}"function"!=typeof c||f||(f=c,c={}),c||(c={});const b=(0,s.lE)(e.privateKey),t=ba(a);let r=null,n=null,i=null;if(sa(e)){const a=e.mnemonic;r=(0,s.lE)(Ge(a.phrase,a.locale||"en")),n=a.path||$e,i=a.locale||"en"}let o=c.client;o||(o="ethers.js");let x=null;x=c.salt?(0,s.lE)(c.salt):Je(32);let u=null;if(c.iv){if(u=(0,s.lE)(c.iv),16!==u.length)throw new Error("invalid iv")}else u=Je(16);let h=null;if(c.uuid){if(h=(0,s.lE)(c.uuid),16!==h.length)throw new Error("invalid uuid")}else h=Je(16);let p=1<<17,m=8,g=1;return c.scrypt&&(c.scrypt.N&&(p=c.scrypt.N),c.scrypt.r&&(m=c.scrypt.r),c.scrypt.p&&(g=c.scrypt.p)),ca().scrypt(t,x,p,m,g,64,f).then((a=>{const c=(a=(0,s.lE)(a)).slice(0,16),d=a.slice(16,32),f=a.slice(32,64),t=new(ea().Counter)(u),y=new(ea().ModeOfOperation.ctr)(c,t),v=(0,s.lE)(y.encrypt(b)),_=(0,l.w)((0,s.zo)([d,v])),w={address:e.address.substring(2).toLowerCase(),id:ra(h),version:3,crypto:{cipher:"aes-128-ctr",cipherparams:{iv:(0,s.Dv)(u).substring(2)},ciphertext:(0,s.Dv)(v).substring(2),kdf:"scrypt",kdfparams:{salt:(0,s.Dv)(x).substring(2),n:p,dklen:32,p:g,r:m},mac:_.substring(2)}};if(r){const e=Je(16),a=new(ea().Counter)(e),c=new(ea().ModeOfOperation.ctr)(f,a),d=(0,s.lE)(c.encrypt(r)),b=new Date,t=b.getUTCFullYear()+"-"+fa(b.getUTCMonth()+1,2)+"-"+fa(b.getUTCDate(),2)+"T"+fa(b.getUTCHours(),2)+"-"+fa(b.getUTCMinutes(),2)+"-"+fa(b.getUTCSeconds(),2)+".0Z";w["x-ethers"]={client:o,gethFilename:"UTC--"+t+"--"+w.address,mnemonicCounter:(0,s.Dv)(e).substring(2),mnemonicCiphertext:(0,s.Dv)(d).substring(2),path:n,locale:i,version:"0.1"}}return JSON.stringify(w)}))}(this,e,a,c)}static createRandom(e){let a=Je(16);e||(e={}),e.extraEntropy&&(a=(0,s.lE)((0,s.p3)((0,l.w)((0,s.zo)([a,e.extraEntropy])),0,16)));const c=We(a,e.locale);return ka.fromMnemonic(c,e.path,e.locale)}static fromEncryptedJson(e,a,c){return wa(e,a,c).then((e=>new ka(e)))}static fromEncryptedJsonSync(e,a){return new ka(Sa(e,a))}static fromMnemonic(e,a,c){return a||(a=$e),new ka(He.fromMnemonic(e,null,c).derivePath(a))}}},83377:(e,a,c)=>{"use strict";const{SymbolDispose:d}=c(97684),{AbortError:f,codes:b}=c(16e3),{isNodeStream:t,isWebStream:r,kControllerErrorFunction:n}=c(43437),i=c(24466),{ERR_INVALID_ARG_TYPE:o}=b;let s;e.exports.addAbortSignal=function(a,c){if(((e,a)=>{if("object"!=typeof e||!("aborted"in e))throw new o(a,"AbortSignal",e)})(a,"signal"),!t(c)&&!r(c))throw new o("stream",["ReadableStream","WritableStream","Stream"],c);return e.exports.addAbortSignalNoValidate(a,c)},e.exports.addAbortSignalNoValidate=function(e,a){if("object"!=typeof e||!("aborted"in e))return a;const b=t(a)?()=>{a.destroy(new f(void 0,{cause:e.reason}))}:()=>{a[n](new f(void 0,{cause:e.reason}))};if(e.aborted)b();else{s=s||c(20753).addAbortListener;const f=s(e,b);i(a,f[d])}return a}},15197:(e,a,c)=>{"use strict";const{StringPrototypeSlice:d,SymbolIterator:f,TypedArrayPrototypeSet:b,Uint8Array:t}=c(97684),{Buffer:r}=c(48764),{inspect:n}=c(20753);e.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(e){const a={data:e,next:null};this.length>0?this.tail.next=a:this.head=a,this.tail=a,++this.length}unshift(e){const a={data:e,next:this.head};0===this.length&&(this.tail=a),this.head=a,++this.length}shift(){if(0===this.length)return;const e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(0===this.length)return"";let a=this.head,c=""+a.data;for(;null!==(a=a.next);)c+=e+a.data;return c}concat(e){if(0===this.length)return r.alloc(0);const a=r.allocUnsafe(e>>>0);let c=this.head,d=0;for(;c;)b(a,c.data,d),d+=c.data.length,c=c.next;return a}consume(e,a){const c=this.head.data;if(eb.length)){e===b.length?(a+=b,++f,c.next?this.head=c.next:this.head=this.tail=null):(a+=d(b,0,e),this.head=c,c.data=d(b,e));break}a+=b,e-=b.length,++f}while(null!==(c=c.next));return this.length-=f,a}_getBuffer(e){const a=r.allocUnsafe(e),c=e;let d=this.head,f=0;do{const r=d.data;if(!(e>r.length)){e===r.length?(b(a,r,c-e),++f,d.next?this.head=d.next:this.head=this.tail=null):(b(a,new t(r.buffer,r.byteOffset,e),c-e),this.head=d,d.data=r.slice(e));break}b(a,r,c-e),e-=r.length,++f}while(null!==(d=d.next));return this.length-=f,a}[Symbol.for("nodejs.util.inspect.custom")](e,a){return n(this,{...a,depth:0,customInspect:!1})}}},21650:(e,a,c)=>{"use strict";const{pipeline:d}=c(3232),f=c(3323),{destroyer:b}=c(54501),{isNodeStream:t,isReadable:r,isWritable:n,isWebStream:i,isTransformStream:o,isWritableStream:s,isReadableStream:l}=c(43437),{AbortError:x,codes:{ERR_INVALID_ARG_VALUE:u,ERR_MISSING_ARGS:h}}=c(16e3),p=c(24466);e.exports=function(...e){if(0===e.length)throw new h("streams");if(1===e.length)return f.from(e[0]);const a=[...e];if("function"==typeof e[0]&&(e[0]=f.from(e[0])),"function"==typeof e[e.length-1]){const a=e.length-1;e[a]=f.from(e[a])}for(let d=0;d0&&!(n(e[d])||s(e[d])||o(e[d])))throw new u(`streams[${d}]`,a[d],"must be writable")}let c,m,g,y,v;const _=e[0],w=d(e,(function(e){const a=y;y=null,a?a(e):e?v.destroy(e):E||S||v.destroy()})),S=!!(n(_)||s(_)||o(_)),E=!!(r(w)||l(w)||o(w));if(v=new f({writableObjectMode:!(null==_||!_.writableObjectMode),readableObjectMode:!(null==w||!w.readableObjectMode),writable:S,readable:E}),S){if(t(_))v._write=function(e,a,d){_.write(e,a)?d():c=d},v._final=function(e){_.end(),m=e},_.on("drain",(function(){if(c){const e=c;c=null,e()}}));else if(i(_)){const e=(o(_)?_.writable:_).getWriter();v._write=async function(a,c,d){try{await e.ready,e.write(a).catch((()=>{})),d()}catch(f){d(f)}},v._final=async function(a){try{await e.ready,e.close().catch((()=>{})),m=a}catch(c){a(c)}}}const e=o(w)?w.readable:w;p(e,(()=>{if(m){const e=m;m=null,e()}}))}if(E)if(t(w))w.on("readable",(function(){if(g){const e=g;g=null,e()}})),w.on("end",(function(){v.push(null)})),v._read=function(){for(;;){const e=w.read();if(null===e)return void(g=v._read);if(!v.push(e))return}};else if(i(w)){const e=(o(w)?w.readable:w).getReader();v._read=async function(){for(;;)try{const{value:a,done:c}=await e.read();if(!v.push(a))return;if(c)return void v.push(null)}catch{return}}}return v._destroy=function(e,a){e||null===y||(e=new x),g=null,c=null,m=null,null===y?a(e):(y=a,t(w)&&b(w,e))},v}},54501:(e,a,c)=>{"use strict";const d=c(34155),{aggregateTwoErrors:f,codes:{ERR_MULTIPLE_CALLBACK:b},AbortError:t}=c(16e3),{Symbol:r}=c(97684),{kIsDestroyed:n,isDestroyed:i,isFinished:o,isServerRequest:s}=c(43437),l=r("kDestroy"),x=r("kConstruct");function u(e,a,c){e&&(e.stack,a&&!a.errored&&(a.errored=e),c&&!c.errored&&(c.errored=e))}function h(e,a,c){let f=!1;function b(a){if(f)return;f=!0;const b=e._readableState,t=e._writableState;u(a,t,b),t&&(t.closed=!0),b&&(b.closed=!0),"function"==typeof c&&c(a),a?d.nextTick(p,e,a):d.nextTick(m,e)}try{e._destroy(a||null,b)}catch(a){b(a)}}function p(e,a){g(e,a),m(e)}function m(e){const a=e._readableState,c=e._writableState;c&&(c.closeEmitted=!0),a&&(a.closeEmitted=!0),(null!=c&&c.emitClose||null!=a&&a.emitClose)&&e.emit("close")}function g(e,a){const c=e._readableState,d=e._writableState;null!=d&&d.errorEmitted||null!=c&&c.errorEmitted||(d&&(d.errorEmitted=!0),c&&(c.errorEmitted=!0),e.emit("error",a))}function y(e,a,c){const f=e._readableState,b=e._writableState;if(null!=b&&b.destroyed||null!=f&&f.destroyed)return this;null!=f&&f.autoDestroy||null!=b&&b.autoDestroy?e.destroy(a):a&&(a.stack,b&&!b.errored&&(b.errored=a),f&&!f.errored&&(f.errored=a),c?d.nextTick(g,e,a):g(e,a))}function v(e){let a=!1;function c(c){if(a)return void y(e,null!=c?c:new b);a=!0;const f=e._readableState,t=e._writableState,r=t||f;f&&(f.constructed=!0),t&&(t.constructed=!0),r.destroyed?e.emit(l,c):c?y(e,c,!0):d.nextTick(_,e)}try{e._construct((e=>{d.nextTick(c,e)}))}catch(f){d.nextTick(c,f)}}function _(e){e.emit(x)}function w(e){return(null==e?void 0:e.setHeader)&&"function"==typeof e.abort}function S(e){e.emit("close")}function E(e,a){e.emit("error",a),d.nextTick(S,e)}e.exports={construct:function(e,a){if("function"!=typeof e._construct)return;const c=e._readableState,f=e._writableState;c&&(c.constructed=!1),f&&(f.constructed=!1),e.once(x,a),e.listenerCount(x)>1||d.nextTick(v,e)},destroyer:function(e,a){e&&!i(e)&&(a||o(e)||(a=new t),s(e)?(e.socket=null,e.destroy(a)):w(e)?e.abort():w(e.req)?e.req.abort():"function"==typeof e.destroy?e.destroy(a):"function"==typeof e.close?e.close():a?d.nextTick(E,e,a):d.nextTick(S,e),e.destroyed||(e[n]=!0))},destroy:function(e,a){const c=this._readableState,d=this._writableState,b=d||c;return null!=d&&d.destroyed||null!=c&&c.destroyed?("function"==typeof a&&a(),this):(u(e,d,c),d&&(d.destroyed=!0),c&&(c.destroyed=!0),b.constructed?h(this,e,a):this.once(l,(function(c){h(this,f(c,e),a)})),this)},undestroy:function(){const e=this._readableState,a=this._writableState;e&&(e.constructed=!0,e.closed=!1,e.closeEmitted=!1,e.destroyed=!1,e.errored=null,e.errorEmitted=!1,e.reading=!1,e.ended=!1===e.readable,e.endEmitted=!1===e.readable),a&&(a.constructed=!0,a.destroyed=!1,a.closed=!1,a.closeEmitted=!1,a.errored=null,a.errorEmitted=!1,a.finalCalled=!1,a.prefinished=!1,a.ended=!1===a.writable,a.ending=!1===a.writable,a.finished=!1===a.writable)},errorOrDestroy:y}},3323:(e,a,c)=>{"use strict";const{ObjectDefineProperties:d,ObjectGetOwnPropertyDescriptor:f,ObjectKeys:b,ObjectSetPrototypeOf:t}=c(97684);e.exports=i;const r=c(65870),n=c(34370);t(i.prototype,r.prototype),t(i,r);{const e=b(n.prototype);for(let a=0;a{const d=c(34155),f=c(48764),{isReadable:b,isWritable:t,isIterable:r,isNodeStream:n,isReadableNodeStream:i,isWritableNodeStream:o,isDuplexNodeStream:s,isReadableStream:l,isWritableStream:x}=c(43437),u=c(24466),{AbortError:h,codes:{ERR_INVALID_ARG_TYPE:p,ERR_INVALID_RETURN_VALUE:m}}=c(16e3),{destroyer:g}=c(54501),y=c(3323),v=c(65870),_=c(34370),{createDeferredPromise:w}=c(20753),S=c(10571),E=globalThis.Blob||f.Blob,A=void 0!==E?function(e){return e instanceof E}:function(e){return!1},k=globalThis.AbortController||c(28599).AbortController,{FunctionPrototypeCall:I}=c(97684);class C extends y{constructor(e){super(e),!1===(null==e?void 0:e.readable)&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===(null==e?void 0:e.writable)&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}}function L(e){const a=e.readable&&"function"!=typeof e.readable.read?v.wrap(e.readable):e.readable,c=e.writable;let d,f,r,n,i,o=!!b(a),s=!!t(c);function l(e){const a=n;n=null,a?a(e):e&&i.destroy(e)}return i=new C({readableObjectMode:!(null==a||!a.readableObjectMode),writableObjectMode:!(null==c||!c.writableObjectMode),readable:o,writable:s}),s&&(u(c,(e=>{s=!1,e&&g(a,e),l(e)})),i._write=function(e,a,f){c.write(e,a)?f():d=f},i._final=function(e){c.end(),f=e},c.on("drain",(function(){if(d){const e=d;d=null,e()}})),c.on("finish",(function(){if(f){const e=f;f=null,e()}}))),o&&(u(a,(e=>{o=!1,e&&g(a,e),l(e)})),a.on("readable",(function(){if(r){const e=r;r=null,e()}})),a.on("end",(function(){i.push(null)})),i._read=function(){for(;;){const e=a.read();if(null===e)return void(r=i._read);if(!i.push(e))return}}),i._destroy=function(e,b){e||null===n||(e=new h),r=null,d=null,f=null,null===n?b(e):(n=b,g(c,e),g(a,e))},i}e.exports=function e(a,c){if(s(a))return a;if(i(a))return L({readable:a});if(o(a))return L({writable:a});if(n(a))return L({writable:!1,readable:!1});if(l(a))return L({readable:v.fromWeb(a)});if(x(a))return L({writable:_.fromWeb(a)});if("function"==typeof a){const{value:e,write:f,final:b,destroy:t}=function(e){let{promise:a,resolve:c}=w();const f=new k,b=f.signal;return{value:e(async function*(){for(;;){const e=a;a=null;const{chunk:f,done:t,cb:r}=await e;if(d.nextTick(r),t)return;if(b.aborted)throw new h(void 0,{cause:b.reason});({promise:a,resolve:c}=w()),yield f}}(),{signal:b}),write(e,a,d){const f=c;c=null,f({chunk:e,done:!1,cb:d})},final(e){const a=c;c=null,a({done:!0,cb:e})},destroy(e,a){f.abort(),a(e)}}}(a);if(r(e))return S(C,e,{objectMode:!0,write:f,final:b,destroy:t});const n=null==e?void 0:e.then;if("function"==typeof n){let a;const c=I(n,e,(e=>{if(null!=e)throw new m("nully","body",e)}),(e=>{g(a,e)}));return a=new C({objectMode:!0,readable:!1,write:f,final(e){b((async()=>{try{await c,d.nextTick(e,null)}catch(a){d.nextTick(e,a)}}))},destroy:t})}throw new m("Iterable, AsyncIterable or AsyncFunction",c,e)}if(A(a))return e(a.arrayBuffer());if(r(a))return S(C,a,{objectMode:!0,writable:!1});if(l(null==a?void 0:a.readable)&&x(null==a?void 0:a.writable))return C.fromWeb(a);if("object"==typeof(null==a?void 0:a.writable)||"object"==typeof(null==a?void 0:a.readable)){return L({readable:null!=a&&a.readable?i(null==a?void 0:a.readable)?null==a?void 0:a.readable:e(a.readable):void 0,writable:null!=a&&a.writable?o(null==a?void 0:a.writable)?null==a?void 0:a.writable:e(a.writable):void 0})}const f=null==a?void 0:a.then;if("function"==typeof f){let e;return I(f,a,(a=>{null!=a&&e.push(a),e.push(null)}),(a=>{g(e,a)})),e=new C({objectMode:!0,writable:!1,read(){}})}throw new p(c,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],a)}},24466:(e,a,c)=>{const d=c(34155),{AbortError:f,codes:b}=c(16e3),{ERR_INVALID_ARG_TYPE:t,ERR_STREAM_PREMATURE_CLOSE:r}=b,{kEmptyObject:n,once:i}=c(20753),{validateAbortSignal:o,validateFunction:s,validateObject:l,validateBoolean:x}=c(92661),{Promise:u,PromisePrototypeThen:h,SymbolDispose:p}=c(97684),{isClosed:m,isReadable:g,isReadableNodeStream:y,isReadableStream:v,isReadableFinished:_,isReadableErrored:w,isWritable:S,isWritableNodeStream:E,isWritableStream:A,isWritableFinished:k,isWritableErrored:I,isNodeStream:C,willEmitClose:L,kIsClosedPromise:T}=c(43437);let P;function R(e){return e.setHeader&&"function"==typeof e.abort}const M=()=>{};function B(e,a,b){var x,u;if(2===arguments.length?(b=a,a=n):null==a?a=n:l(a,"options"),s(b,"callback"),o(a.signal,"options.signal"),b=i(b),v(e)||A(e))return O(e,a,b);if(!C(e))throw new t("stream",["ReadableStream","WritableStream","Stream"],e);const h=null!==(x=a.readable)&&void 0!==x?x:y(e),T=null!==(u=a.writable)&&void 0!==u?u:E(e),B=e._writableState,N=e._readableState,F=()=>{e.writable||j()};let D=L(e)&&y(e)===h&&E(e)===T,U=k(e,!1);const j=()=>{U=!0,e.destroyed&&(D=!1),(!D||e.readable&&!h)&&(h&&!z||b.call(e))};let z=_(e,!1);const q=()=>{z=!0,e.destroyed&&(D=!1),(!D||e.writable&&!T)&&(T&&!U||b.call(e))},K=a=>{b.call(e,a)};let V=m(e);const $=()=>{V=!0;const a=I(e)||w(e);return a&&"boolean"!=typeof a?b.call(e,a):h&&!z&&y(e,!0)&&!_(e,!1)?b.call(e,new r):!T||U||k(e,!1)?void b.call(e):b.call(e,new r)},H=()=>{V=!0;const a=I(e)||w(e);if(a&&"boolean"!=typeof a)return b.call(e,a);b.call(e)},G=()=>{e.req.on("finish",j)};R(e)?(e.on("complete",j),D||e.on("abort",$),e.req?G():e.on("request",G)):T&&!B&&(e.on("end",F),e.on("close",F)),D||"boolean"!=typeof e.aborted||e.on("aborted",$),e.on("end",q),e.on("finish",j),!1!==a.error&&e.on("error",K),e.on("close",$),V?d.nextTick($):null!=B&&B.errorEmitted||null!=N&&N.errorEmitted?D||d.nextTick(H):(h||D&&!g(e)||!U&&!1!==S(e))&&(T||D&&!S(e)||!z&&!1!==g(e))?N&&e.req&&e.aborted&&d.nextTick(H):d.nextTick(H);const W=()=>{b=M,e.removeListener("aborted",$),e.removeListener("complete",j),e.removeListener("abort",$),e.removeListener("request",G),e.req&&e.req.removeListener("finish",j),e.removeListener("end",F),e.removeListener("close",F),e.removeListener("finish",j),e.removeListener("end",q),e.removeListener("error",K),e.removeListener("close",$)};if(a.signal&&!V){const t=()=>{const c=b;W(),c.call(e,new f(void 0,{cause:a.signal.reason}))};if(a.signal.aborted)d.nextTick(t);else{P=P||c(20753).addAbortListener;const d=P(a.signal,t),f=b;b=i(((...a)=>{d[p](),f.apply(e,a)}))}}return W}function O(e,a,b){let t=!1,r=M;if(a.signal)if(r=()=>{t=!0,b.call(e,new f(void 0,{cause:a.signal.reason}))},a.signal.aborted)d.nextTick(r);else{P=P||c(20753).addAbortListener;const d=P(a.signal,r),f=b;b=i(((...a)=>{d[p](),f.apply(e,a)}))}const n=(...a)=>{t||d.nextTick((()=>b.apply(e,a)))};return h(e[T].promise,n,n),M}e.exports=B,e.exports.finished=function(e,a){var c;let d=!1;return null===a&&(a=n),null!==(c=a)&&void 0!==c&&c.cleanup&&(x(a.cleanup,"cleanup"),d=a.cleanup),new u(((c,f)=>{const b=B(e,a,(e=>{d&&b(),e?f(e):c()}))}))}},10571:(e,a,c)=>{"use strict";const d=c(34155),{PromisePrototypeThen:f,SymbolAsyncIterator:b,SymbolIterator:t}=c(97684),{Buffer:r}=c(48764),{ERR_INVALID_ARG_TYPE:n,ERR_STREAM_NULL_VALUES:i}=c(16e3).codes;e.exports=function(e,a,c){let o,s;if("string"==typeof a||a instanceof r)return new e({objectMode:!0,...c,read(){this.push(a),this.push(null)}});if(a&&a[b])s=!0,o=a[b]();else{if(!a||!a[t])throw new n("iterable",["Iterable"],a);s=!1,o=a[t]()}const l=new e({objectMode:!0,highWaterMark:1,...c});let x=!1;return l._read=function(){x||(x=!0,async function(){for(;;){try{const{value:e,done:a}=s?await o.next():o.next();if(a)l.push(null);else{const a=e&&"function"==typeof e.then?await e:e;if(null===a)throw x=!1,new i;if(l.push(a))continue;x=!1}}catch(e){l.destroy(e)}break}}())},l._destroy=function(e,a){f(async function(e){const a=null!=e,c="function"==typeof o.throw;if(a&&c){const{value:a,done:c}=await o.throw(e);if(await a,c)return}if("function"==typeof o.return){const{value:e}=await o.return();await e}}(e),(()=>d.nextTick(a,e)),(c=>d.nextTick(a,c||e)))},l}},89496:(e,a,c)=>{"use strict";const{ArrayIsArray:d,ObjectSetPrototypeOf:f}=c(97684),{EventEmitter:b}=c(17187);function t(e){b.call(this,e)}function r(e,a,c){if("function"==typeof e.prependListener)return e.prependListener(a,c);e._events&&e._events[a]?d(e._events[a])?e._events[a].unshift(c):e._events[a]=[c,e._events[a]]:e.on(a,c)}f(t.prototype,b.prototype),f(t,b),t.prototype.pipe=function(e,a){const c=this;function d(a){e.writable&&!1===e.write(a)&&c.pause&&c.pause()}function f(){c.readable&&c.resume&&c.resume()}c.on("data",d),e.on("drain",f),e._isStdio||a&&!1===a.end||(c.on("end",n),c.on("close",i));let t=!1;function n(){t||(t=!0,e.end())}function i(){t||(t=!0,"function"==typeof e.destroy&&e.destroy())}function o(e){s(),0===b.listenerCount(this,"error")&&this.emit("error",e)}function s(){c.removeListener("data",d),e.removeListener("drain",f),c.removeListener("end",n),c.removeListener("close",i),c.removeListener("error",o),e.removeListener("error",o),c.removeListener("end",s),c.removeListener("close",s),e.removeListener("close",s)}return r(c,"error",o),r(e,"error",o),c.on("end",s),c.on("close",s),e.on("close",s),e.emit("pipe",c),e},e.exports={Stream:t,prependListener:r}},14964:(e,a,c)=>{"use strict";const d=globalThis.AbortController||c(28599).AbortController,{codes:{ERR_INVALID_ARG_VALUE:f,ERR_INVALID_ARG_TYPE:b,ERR_MISSING_ARGS:t,ERR_OUT_OF_RANGE:r},AbortError:n}=c(16e3),{validateAbortSignal:i,validateInteger:o,validateObject:s}=c(92661),l=c(97684).Symbol("kWeak"),x=c(97684).Symbol("kResistStopPropagation"),{finished:u}=c(24466),h=c(21650),{addAbortSignalNoValidate:p}=c(83377),{isWritable:m,isNodeStream:g}=c(43437),{deprecate:y}=c(20753),{ArrayPrototypePush:v,Boolean:_,MathFloor:w,Number:S,NumberIsNaN:E,Promise:A,PromiseReject:k,PromiseResolve:I,PromisePrototypeThen:C,Symbol:L}=c(97684),T=L("kEmpty"),P=L("kEof");function R(e,a){if("function"!=typeof e)throw new b("fn",["Function","AsyncFunction"],e);null!=a&&s(a,"options"),null!=(null==a?void 0:a.signal)&&i(a.signal,"options.signal");let d=1;null!=(null==a?void 0:a.concurrency)&&(d=w(a.concurrency));let f=d-1;return null!=(null==a?void 0:a.highWaterMark)&&(f=w(a.highWaterMark)),o(d,"options.concurrency",1),o(f,"options.highWaterMark",0),f+=d,async function*(){const b=c(20753).AbortSignalAny([null==a?void 0:a.signal].filter(_)),t=this,r=[],i={signal:b};let o,s,l=!1,x=0;function u(){l=!0,h()}function h(){x-=1,p()}function p(){s&&!l&&x=f||x>=d)&&await new A((e=>{s=e}))}r.push(P)}catch(a){const e=k(a);C(e,h,u),r.push(e)}finally{l=!0,o&&(o(),o=null)}}();try{for(;;){for(;r.length>0;){const e=await r[0];if(e===P)return;if(b.aborted)throw new n;e!==T&&(yield e),r.shift(),p()}await new A((e=>{o=e}))}}finally{l=!0,s&&(s(),s=null)}}.call(this)}async function M(e,a){for await(const c of B.call(this,e,a))return!0;return!1}function B(e,a){if("function"!=typeof e)throw new b("fn",["Function","AsyncFunction"],e);return R.call(this,(async function(a,c){return await e(a,c)?a:T}),a)}class O extends t{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}function N(e){if(e=S(e),E(e))return 0;if(e<0)throw new r("number",">= 0",e);return e}e.exports.streamReturningOperators={asIndexedPairs:y((function(e){return null!=e&&s(e,"options"),null!=(null==e?void 0:e.signal)&&i(e.signal,"options.signal"),async function*(){let a=0;for await(const d of this){var c;if(null!=e&&null!==(c=e.signal)&&void 0!==c&&c.aborted)throw new n({cause:e.signal.reason});yield[a++,d]}}.call(this)}),"readable.asIndexedPairs will be removed in a future version."),drop:function(e,a){return null!=a&&s(a,"options"),null!=(null==a?void 0:a.signal)&&i(a.signal,"options.signal"),e=N(e),async function*(){var c;if(null!=a&&null!==(c=a.signal)&&void 0!==c&&c.aborted)throw new n;for await(const f of this){var d;if(null!=a&&null!==(d=a.signal)&&void 0!==d&&d.aborted)throw new n;e--<=0&&(yield f)}}.call(this)},filter:B,flatMap:function(e,a){const c=R.call(this,e,a);return async function*(){for await(const e of c)yield*e}.call(this)},map:R,take:function(e,a){return null!=a&&s(a,"options"),null!=(null==a?void 0:a.signal)&&i(a.signal,"options.signal"),e=N(e),async function*(){var c;if(null!=a&&null!==(c=a.signal)&&void 0!==c&&c.aborted)throw new n;for await(const f of this){var d;if(null!=a&&null!==(d=a.signal)&&void 0!==d&&d.aborted)throw new n;if(e-- >0&&(yield f),e<=0)return}}.call(this)},compose:function(e,a){if(null!=a&&s(a,"options"),null!=(null==a?void 0:a.signal)&&i(a.signal,"options.signal"),g(e)&&!m(e))throw new f("stream",e,"must be writable");const c=h(this,e);return null!=a&&a.signal&&p(a.signal,c),c}},e.exports.promiseReturningOperators={every:async function(e,a){if("function"!=typeof e)throw new b("fn",["Function","AsyncFunction"],e);return!await M.call(this,(async(...a)=>!await e(...a)),a)},forEach:async function(e,a){if("function"!=typeof e)throw new b("fn",["Function","AsyncFunction"],e);for await(const c of R.call(this,(async function(a,c){return await e(a,c),T}),a));},reduce:async function(e,a,c){var f;if("function"!=typeof e)throw new b("reducer",["Function","AsyncFunction"],e);null!=c&&s(c,"options"),null!=(null==c?void 0:c.signal)&&i(c.signal,"options.signal");let t=arguments.length>1;if(null!=c&&null!==(f=c.signal)&&void 0!==f&&f.aborted){const e=new n(void 0,{cause:c.signal.reason});throw this.once("error",(()=>{})),await u(this.destroy(e)),e}const r=new d,o=r.signal;if(null!=c&&c.signal){const e={once:!0,[l]:this,[x]:!0};c.signal.addEventListener("abort",(()=>r.abort()),e)}let h=!1;try{for await(const d of this){var p;if(h=!0,null!=c&&null!==(p=c.signal)&&void 0!==p&&p.aborted)throw new n;t?a=await e(a,d,{signal:o}):(a=d,t=!0)}if(!h&&!t)throw new O}finally{r.abort()}return a},toArray:async function(e){null!=e&&s(e,"options"),null!=(null==e?void 0:e.signal)&&i(e.signal,"options.signal");const a=[];for await(const d of this){var c;if(null!=e&&null!==(c=e.signal)&&void 0!==c&&c.aborted)throw new n(void 0,{cause:e.signal.reason});v(a,d)}return a},some:M,find:async function(e,a){for await(const c of B.call(this,e,a))return c}}},36804:(e,a,c)=>{"use strict";const{ObjectSetPrototypeOf:d}=c(97684);e.exports=b;const f=c(72176);function b(e){if(!(this instanceof b))return new b(e);f.call(this,e)}d(b.prototype,f.prototype),d(b,f),b.prototype._transform=function(e,a,c){c(null,e)}},3232:(e,a,c)=>{const d=c(34155),{ArrayIsArray:f,Promise:b,SymbolAsyncIterator:t,SymbolDispose:r}=c(97684),n=c(24466),{once:i}=c(20753),o=c(54501),s=c(3323),{aggregateTwoErrors:l,codes:{ERR_INVALID_ARG_TYPE:x,ERR_INVALID_RETURN_VALUE:u,ERR_MISSING_ARGS:h,ERR_STREAM_DESTROYED:p,ERR_STREAM_PREMATURE_CLOSE:m},AbortError:g}=c(16e3),{validateFunction:y,validateAbortSignal:v}=c(92661),{isIterable:_,isReadable:w,isReadableNodeStream:S,isNodeStream:E,isTransformStream:A,isWebStream:k,isReadableStream:I,isReadableFinished:C}=c(43437),L=globalThis.AbortController||c(28599).AbortController;let T,P,R;function M(e,a,c){let d=!1;e.on("close",(()=>{d=!0}));return{destroy:a=>{d||(d=!0,o.destroyer(e,a||new p("pipe")))},cleanup:n(e,{readable:a,writable:c},(e=>{d=!e}))}}function B(e){if(_(e))return e;if(S(e))return async function*(e){P||(P=c(65870));yield*P.prototype[t].call(e)}(e);throw new x("val",["Readable","Iterable","AsyncIterable"],e)}async function O(e,a,c,{end:d}){let f,t=null;const r=e=>{if(e&&(f=e),t){const e=t;t=null,e()}},i=()=>new b(((e,a)=>{f?a(f):t=()=>{f?a(f):e()}}));a.on("drain",r);const o=n(a,{readable:!1},r);try{a.writableNeedDrain&&await i();for await(const c of e)a.write(c)||await i();d&&(a.end(),await i()),c()}catch(s){c(f!==s?l(f,s):s)}finally{o(),a.off("drain",r)}}async function N(e,a,c,{end:d}){A(a)&&(a=a.writable);const f=a.getWriter();try{for await(const a of e)await f.ready,f.write(a).catch((()=>{}));await f.ready,d&&await f.close(),c()}catch(b){try{await f.abort(b),c(b)}catch(b){c(b)}}}function F(e,a,b){if(1===e.length&&f(e[0])&&(e=e[0]),e.length<2)throw new h("streams");const t=new L,n=t.signal,i=null==b?void 0:b.signal,o=[];function l(){j(new g)}let p,m,y;v(i,"options.signal"),R=R||c(20753).addAbortListener,i&&(p=R(i,l));const C=[];let P,F=0;function U(e){j(e,0==--F)}function j(e,c){var f;if(!e||m&&"ERR_STREAM_PREMATURE_CLOSE"!==m.code||(m=e),m||c){for(;C.length;)C.shift()(m);null===(f=p)||void 0===f||f[r](),t.abort(),c&&(m||o.forEach((e=>e())),d.nextTick(a,m,y))}}for(let V=0;V0,W=H||!1!==(null==b?void 0:b.end),Z=V===e.length-1;if(E($)){if(W){const{destroy:Q,cleanup:Y}=M($,H,G);C.push(Q),w($)&&Z&&o.push(Y)}function z(e){e&&"AbortError"!==e.name&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code&&U(e)}$.on("error",z),w($)&&Z&&o.push((()=>{$.removeListener("error",z)}))}if(0===V)if("function"==typeof $){if(P=$({signal:n}),!_(P))throw new u("Iterable, AsyncIterable or Stream","source",P)}else P=_($)||S($)||A($)?$:s.from($);else if("function"==typeof $){var q;if(A(P))P=B(null===(q=P)||void 0===q?void 0:q.readable);else P=B(P);if(P=$(P,{signal:n}),H){if(!_(P,!0))throw new u("AsyncIterable",`transform[${V-1}]`,P)}else{var K;T||(T=c(36804));const J=new T({objectMode:!0}),X=null===(K=P)||void 0===K?void 0:K.then;if("function"==typeof X)F++,X.call(P,(e=>{y=e,null!=e&&J.write(e),W&&J.end(),d.nextTick(U)}),(e=>{J.destroy(e),d.nextTick(U,e)}));else if(_(P,!0))F++,O(P,J,U,{end:W});else{if(!I(P)&&!A(P))throw new u("AsyncIterable or Promise","destination",P);{const ce=P.readable||P;F++,O(ce,J,U,{end:W})}}P=J;const{destroy:ee,cleanup:ae}=M(P,!1,!0);C.push(ee),Z&&o.push(ae)}}else if(E($)){if(S(P)){F+=2;const de=D(P,$,U,{end:W});w($)&&Z&&o.push(de)}else if(A(P)||I(P)){const fe=P.readable||P;F++,O(fe,$,U,{end:W})}else{if(!_(P))throw new x("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],P);F++,O(P,$,U,{end:W})}P=$}else if(k($)){if(S(P))F++,N(B(P),$,U,{end:W});else if(I(P)||_(P))F++,N(P,$,U,{end:W});else{if(!A(P))throw new x("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],P);F++,N(P.readable,$,U,{end:W})}P=$}else P=s.from($)}return(null!=n&&n.aborted||null!=i&&i.aborted)&&d.nextTick(l),P}function D(e,a,c,{end:f}){let b=!1;if(a.on("close",(()=>{b||c(new m)})),e.pipe(a,{end:!1}),f){function t(){b=!0,a.end()}C(e)?d.nextTick(t):e.once("end",t)}else c();return n(e,{readable:!0,writable:!1},(a=>{const d=e._readableState;a&&"ERR_STREAM_PREMATURE_CLOSE"===a.code&&d&&d.ended&&!d.errored&&!d.errorEmitted?e.once("end",c).once("error",c):c(a)})),n(a,{readable:!1,writable:!0},c)}e.exports={pipelineImpl:F,pipeline:function(...e){return F(e,i(function(e){return y(e[e.length-1],"streams[stream.length - 1]"),e.pop()}(e)))}}},65870:(e,a,c)=>{const d=c(34155),{ArrayPrototypeIndexOf:f,NumberIsInteger:b,NumberIsNaN:t,NumberParseInt:r,ObjectDefineProperties:n,ObjectKeys:i,ObjectSetPrototypeOf:o,Promise:s,SafeSet:l,SymbolAsyncDispose:x,SymbolAsyncIterator:u,Symbol:h}=c(97684);e.exports=V,V.ReadableState=K;const{EventEmitter:p}=c(17187),{Stream:m,prependListener:g}=c(89496),{Buffer:y}=c(48764),{addAbortSignal:v}=c(83377),_=c(24466);let w=c(20753).debuglog("stream",(e=>{w=e}));const S=c(15197),E=c(54501),{getHighWaterMark:A,getDefaultHighWaterMark:k}=c(72254),{aggregateTwoErrors:I,codes:{ERR_INVALID_ARG_TYPE:C,ERR_METHOD_NOT_IMPLEMENTED:L,ERR_OUT_OF_RANGE:T,ERR_STREAM_PUSH_AFTER_EOF:P,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:R},AbortError:M}=c(16e3),{validateObject:B}=c(92661),O=h("kPaused"),{StringDecoder:N}=c(32553),F=c(10571);o(V.prototype,m.prototype),o(V,m);const D=()=>{},{errorOrDestroy:U}=E,j=2048,z=4096;function q(e){return{enumerable:!1,get(){return 0!=(this.state&e)},set(a){a?this.state|=e:this.state&=~e}}}function K(e,a,d){"boolean"!=typeof d&&(d=a instanceof c(3323)),this.state=6192,e&&e.objectMode&&(this.state|=1),d&&e&&e.readableObjectMode&&(this.state|=1),this.highWaterMark=e?A(this,e,"readableHighWaterMark",d):k(!1),this.buffer=new S,this.length=0,this.pipes=[],this.flowing=null,this[O]=null,e&&!1===e.emitClose&&(this.state&=-2049),e&&!1===e.autoDestroy&&(this.state&=-4097),this.errored=null,this.defaultEncoding=e&&e.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,e&&e.encoding&&(this.decoder=new N(e.encoding),this.encoding=e.encoding)}function V(e){if(!(this instanceof V))return new V(e);const a=this instanceof c(3323);this._readableState=new K(e,this,a),e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.construct&&(this._construct=e.construct),e.signal&&!a&&v(e.signal,this)),m.call(this,e),E.construct(this,(()=>{this._readableState.needReadable&&Q(this,this._readableState)}))}function $(e,a,c,d){w("readableAddChunk",a);const f=e._readableState;let b;if(0==(1&f.state)&&("string"==typeof a?(c=c||f.defaultEncoding,f.encoding!==c&&(d&&f.encoding?a=y.from(a,c).toString(f.encoding):(a=y.from(a,c),c=""))):a instanceof y?c="":m._isUint8Array(a)?(a=m._uint8ArrayToBuffer(a),c=""):null!=a&&(b=new C("chunk",["string","Buffer","Uint8Array"],a))),b)U(e,b);else if(null===a)f.state&=-9,function(e,a){if(w("onEofChunk"),a.ended)return;if(a.decoder){const e=a.decoder.end();e&&e.length&&(a.buffer.push(e),a.length+=a.objectMode?1:e.length)}a.ended=!0,a.sync?W(e):(a.needReadable=!1,a.emittedReadable=!0,Z(e))}(e,f);else if(0!=(1&f.state)||a&&a.length>0)if(d)if(0!=(4&f.state))U(e,new R);else{if(f.destroyed||f.errored)return!1;H(e,f,a,!0)}else if(f.ended)U(e,new P);else{if(f.destroyed||f.errored)return!1;f.state&=-9,f.decoder&&!c?(a=f.decoder.write(a),f.objectMode||0!==a.length?H(e,f,a,!1):Q(e,f)):H(e,f,a,!1)}else d||(f.state&=-9,Q(e,f));return!f.ended&&(f.length0?(0!=(65536&a.state)?a.awaitDrainWriters.clear():a.awaitDrainWriters=null,a.dataEmitted=!0,e.emit("data",c)):(a.length+=a.objectMode?1:c.length,d?a.buffer.unshift(c):a.buffer.push(c),0!=(64&a.state)&&W(e)),Q(e,a)}n(K.prototype,{objectMode:q(1),ended:q(2),endEmitted:q(4),reading:q(8),constructed:q(16),sync:q(32),needReadable:q(64),emittedReadable:q(128),readableListening:q(256),resumeScheduled:q(512),errorEmitted:q(1024),emitClose:q(j),autoDestroy:q(z),destroyed:q(8192),closed:q(16384),closeEmitted:q(32768),multiAwaitDrain:q(65536),readingMore:q(1<<17),dataEmitted:q(1<<18)}),V.prototype.destroy=E.destroy,V.prototype._undestroy=E.undestroy,V.prototype._destroy=function(e,a){a(e)},V.prototype[p.captureRejectionSymbol]=function(e){this.destroy(e)},V.prototype[x]=function(){let e;return this.destroyed||(e=this.readableEnded?null:new M,this.destroy(e)),new s(((a,c)=>_(this,(d=>d&&d!==e?c(d):a(null)))))},V.prototype.push=function(e,a){return $(this,e,a,!1)},V.prototype.unshift=function(e,a){return $(this,e,a,!0)},V.prototype.isPaused=function(){const e=this._readableState;return!0===e[O]||!1===e.flowing},V.prototype.setEncoding=function(e){const a=new N(e);this._readableState.decoder=a,this._readableState.encoding=this._readableState.decoder.encoding;const c=this._readableState.buffer;let d="";for(const f of c)d+=a.write(f);return c.clear(),""!==d&&c.push(d),this._readableState.length=d.length,this};function G(e,a){return e<=0||0===a.length&&a.ended?0:0!=(1&a.state)?1:t(e)?a.flowing&&a.length?a.buffer.first().length:a.length:e<=a.length?e:a.ended?a.length:0}function W(e){const a=e._readableState;w("emitReadable",a.needReadable,a.emittedReadable),a.needReadable=!1,a.emittedReadable||(w("emitReadable",a.flowing),a.emittedReadable=!0,d.nextTick(Z,e))}function Z(e){const a=e._readableState;w("emitReadable_",a.destroyed,a.length,a.ended),a.destroyed||a.errored||!a.length&&!a.ended||(e.emit("readable"),a.emittedReadable=!1),a.needReadable=!a.flowing&&!a.ended&&a.length<=a.highWaterMark,ae(e)}function Q(e,a){!a.readingMore&&a.constructed&&(a.readingMore=!0,d.nextTick(Y,e,a))}function Y(e,a){for(;!a.reading&&!a.ended&&(a.length0,a.resumeScheduled&&!1===a[O]?a.flowing=!0:e.listenerCount("data")>0?e.resume():a.readableListening||(a.flowing=null)}function X(e){w("readable nexttick read 0"),e.read(0)}function ee(e,a){w("resume",a.reading),a.reading||e.read(0),a.resumeScheduled=!1,e.emit("resume"),ae(e),a.flowing&&!a.reading&&e.read(0)}function ae(e){const a=e._readableState;for(w("flow",a.flowing);a.flowing&&null!==e.read(););}function ce(e,a){"function"!=typeof e.read&&(e=V.wrap(e,{objectMode:!0}));const c=async function*(e,a){let c,d=D;function f(a){this===e?(d(),d=D):d=a}e.on("readable",f);const b=_(e,{writable:!1},(e=>{c=e?I(c,e):null,d(),d=D}));try{for(;;){const a=e.destroyed?null:e.read();if(null!==a)yield a;else{if(c)throw c;if(null===c)return;await new s(f)}}}catch(t){throw c=I(c,t),c}finally{!c&&!1===(null==a?void 0:a.destroyOnReturn)||void 0!==c&&!e._readableState.autoDestroy?(e.off("readable",f),b()):E.destroyer(e,null)}}(e,a);return c.stream=e,c}function de(e,a){if(0===a.length)return null;let c;return a.objectMode?c=a.buffer.shift():!e||e>=a.length?(c=a.decoder?a.buffer.join(""):1===a.buffer.length?a.buffer.first():a.buffer.concat(a.length),a.buffer.clear()):c=a.buffer.consume(e,a.decoder),c}function fe(e){const a=e._readableState;w("endReadable",a.endEmitted),a.endEmitted||(a.ended=!0,d.nextTick(be,a,e))}function be(e,a){if(w("endReadableNT",e.endEmitted,e.length),!e.errored&&!e.closeEmitted&&!e.endEmitted&&0===e.length)if(e.endEmitted=!0,a.emit("end"),a.writable&&!1===a.allowHalfOpen)d.nextTick(te,a);else if(e.autoDestroy){const e=a._writableState;(!e||e.autoDestroy&&(e.finished||!1===e.writable))&&a.destroy()}}function te(e){e.writable&&!e.writableEnded&&!e.destroyed&&e.end()}let re;function ne(){return void 0===re&&(re={}),re}V.prototype.read=function(e){w("read",e),void 0===e?e=NaN:b(e)||(e=r(e,10));const a=this._readableState,c=e;if(e>a.highWaterMark&&(a.highWaterMark=function(e){if(e>1073741824)throw new T("size","<= 1GiB",e);return e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,++e}(e)),0!==e&&(a.state&=-129),0===e&&a.needReadable&&((0!==a.highWaterMark?a.length>=a.highWaterMark:a.length>0)||a.ended))return w("read: emitReadable",a.length,a.ended),0===a.length&&a.ended?fe(this):W(this),null;if(0===(e=G(e,a))&&a.ended)return 0===a.length&&fe(this),null;let d,f=0!=(64&a.state);if(w("need readable",f),(0===a.length||a.length-e0?de(e,a):null,null===d?(a.needReadable=a.length<=a.highWaterMark,e=0):(a.length-=e,a.multiAwaitDrain?a.awaitDrainWriters.clear():a.awaitDrainWriters=null),0===a.length&&(a.ended||(a.needReadable=!0),c!==e&&a.ended&&fe(this)),null===d||a.errorEmitted||a.closeEmitted||(a.dataEmitted=!0,this.emit("data",d)),d},V.prototype._read=function(e){throw new L("_read()")},V.prototype.pipe=function(e,a){const c=this,f=this._readableState;1===f.pipes.length&&(f.multiAwaitDrain||(f.multiAwaitDrain=!0,f.awaitDrainWriters=new l(f.awaitDrainWriters?[f.awaitDrainWriters]:[]))),f.pipes.push(e),w("pipe count=%d opts=%j",f.pipes.length,a);const b=(!a||!1!==a.end)&&e!==d.stdout&&e!==d.stderr?r:p;function t(a,d){w("onunpipe"),a===c&&d&&!1===d.hasUnpiped&&(d.hasUnpiped=!0,function(){w("cleanup"),e.removeListener("close",u),e.removeListener("finish",h),n&&e.removeListener("drain",n);e.removeListener("error",x),e.removeListener("unpipe",t),c.removeListener("end",r),c.removeListener("end",p),c.removeListener("data",s),i=!0,n&&f.awaitDrainWriters&&(!e._writableState||e._writableState.needDrain)&&n()}())}function r(){w("onend"),e.end()}let n;f.endEmitted?d.nextTick(b):c.once("end",b),e.on("unpipe",t);let i=!1;function o(){i||(1===f.pipes.length&&f.pipes[0]===e?(w("false write response, pause",0),f.awaitDrainWriters=e,f.multiAwaitDrain=!1):f.pipes.length>1&&f.pipes.includes(e)&&(w("false write response, pause",f.awaitDrainWriters.size),f.awaitDrainWriters.add(e)),c.pause()),n||(n=function(e,a){return function(){const c=e._readableState;c.awaitDrainWriters===a?(w("pipeOnDrain",1),c.awaitDrainWriters=null):c.multiAwaitDrain&&(w("pipeOnDrain",c.awaitDrainWriters.size),c.awaitDrainWriters.delete(a)),c.awaitDrainWriters&&0!==c.awaitDrainWriters.size||!e.listenerCount("data")||e.resume()}}(c,e),e.on("drain",n))}function s(a){w("ondata");const c=e.write(a);w("dest.write",c),!1===c&&o()}function x(a){if(w("onerror",a),p(),e.removeListener("error",x),0===e.listenerCount("error")){const c=e._writableState||e._readableState;c&&!c.errorEmitted?U(e,a):e.emit("error",a)}}function u(){e.removeListener("finish",h),p()}function h(){w("onfinish"),e.removeListener("close",u),p()}function p(){w("unpipe"),c.unpipe(e)}return c.on("data",s),g(e,"error",x),e.once("close",u),e.once("finish",h),e.emit("pipe",c),!0===e.writableNeedDrain?o():f.flowing||(w("pipe resume"),c.resume()),e},V.prototype.unpipe=function(e){const a=this._readableState;if(0===a.pipes.length)return this;if(!e){const e=a.pipes;a.pipes=[],this.pause();for(let a=0;a0,!1!==f.flowing&&this.resume()):"readable"===e&&(f.endEmitted||f.readableListening||(f.readableListening=f.needReadable=!0,f.flowing=!1,f.emittedReadable=!1,w("on readable",f.length,f.reading),f.length?W(this):f.reading||d.nextTick(X,this))),c},V.prototype.addListener=V.prototype.on,V.prototype.removeListener=function(e,a){const c=m.prototype.removeListener.call(this,e,a);return"readable"===e&&d.nextTick(J,this),c},V.prototype.off=V.prototype.removeListener,V.prototype.removeAllListeners=function(e){const a=m.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||d.nextTick(J,this),a},V.prototype.resume=function(){const e=this._readableState;return e.flowing||(w("resume"),e.flowing=!e.readableListening,function(e,a){a.resumeScheduled||(a.resumeScheduled=!0,d.nextTick(ee,e,a))}(this,e)),e[O]=!1,this},V.prototype.pause=function(){return w("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(w("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[O]=!0,this},V.prototype.wrap=function(e){let a=!1;e.on("data",(c=>{!this.push(c)&&e.pause&&(a=!0,e.pause())})),e.on("end",(()=>{this.push(null)})),e.on("error",(e=>{U(this,e)})),e.on("close",(()=>{this.destroy()})),e.on("destroy",(()=>{this.destroy()})),this._read=()=>{a&&e.resume&&(a=!1,e.resume())};const c=i(e);for(let d=1;d{"use strict";const{MathFloor:d,NumberIsInteger:f}=c(97684),{validateInteger:b}=c(92661),{ERR_INVALID_ARG_VALUE:t}=c(16e3).codes;let r=16384,n=16;function i(e){return e?n:r}e.exports={getHighWaterMark:function(e,a,c,b){const r=function(e,a,c){return null!=e.highWaterMark?e.highWaterMark:a?e[c]:null}(a,b,c);if(null!=r){if(!f(r)||r<0){throw new t(b?`options.${c}`:"options.highWaterMark",r)}return d(r)}return i(e.objectMode)},getDefaultHighWaterMark:i,setDefaultHighWaterMark:function(e,a){b(a,"value",0),e?n=a:r=a}}},72176:(e,a,c)=>{"use strict";const{ObjectSetPrototypeOf:d,Symbol:f}=c(97684);e.exports=i;const{ERR_METHOD_NOT_IMPLEMENTED:b}=c(16e3).codes,t=c(3323),{getHighWaterMark:r}=c(72254);d(i.prototype,t.prototype),d(i,t);const n=f("kCallback");function i(e){if(!(this instanceof i))return new i(e);const a=e?r(this,e,"readableHighWaterMark",!0):null;0===a&&(e={...e,highWaterMark:null,readableHighWaterMark:a,writableHighWaterMark:e.writableHighWaterMark||0}),t.call(this,e),this._readableState.sync=!1,this[n]=null,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function o(e){"function"!=typeof this._flush||this.destroyed?(this.push(null),e&&e()):this._flush(((a,c)=>{a?e?e(a):this.destroy(a):(null!=c&&this.push(c),this.push(null),e&&e())}))}function s(){this._final!==o&&o.call(this)}i.prototype._final=o,i.prototype._transform=function(e,a,c){throw new b("_transform()")},i.prototype._write=function(e,a,c){const d=this._readableState,f=this._writableState,b=d.length;this._transform(e,a,((e,a)=>{e?c(e):(null!=a&&this.push(a),f.ended||b===d.length||d.length{"use strict";const{SymbolAsyncIterator:d,SymbolIterator:f,SymbolFor:b}=c(97684),t=b("nodejs.stream.destroyed"),r=b("nodejs.stream.errored"),n=b("nodejs.stream.readable"),i=b("nodejs.stream.writable"),o=b("nodejs.stream.disturbed"),s=b("nodejs.webstream.isClosedPromise"),l=b("nodejs.webstream.controllerErrorFunction");function x(e,a=!1){var c;return!(!e||"function"!=typeof e.pipe||"function"!=typeof e.on||a&&("function"!=typeof e.pause||"function"!=typeof e.resume)||e._writableState&&!1===(null===(c=e._readableState)||void 0===c?void 0:c.readable)||e._writableState&&!e._readableState)}function u(e){var a;return!(!e||"function"!=typeof e.write||"function"!=typeof e.on||e._readableState&&!1===(null===(a=e._writableState)||void 0===a?void 0:a.writable))}function h(e){return e&&(e._readableState||e._writableState||"function"==typeof e.write&&"function"==typeof e.on||"function"==typeof e.pipe&&"function"==typeof e.on)}function p(e){return!(!e||h(e)||"function"!=typeof e.pipeThrough||"function"!=typeof e.getReader||"function"!=typeof e.cancel)}function m(e){return!(!e||h(e)||"function"!=typeof e.getWriter||"function"!=typeof e.abort)}function g(e){return!(!e||h(e)||"object"!=typeof e.readable||"object"!=typeof e.writable)}function y(e){if(!h(e))return null;const a=e._writableState,c=e._readableState,d=a||c;return!!(e.destroyed||e[t]||null!=d&&d.destroyed)}function v(e){if(!u(e))return null;if(!0===e.writableEnded)return!0;const a=e._writableState;return(null==a||!a.errored)&&("boolean"!=typeof(null==a?void 0:a.ended)?null:a.ended)}function _(e,a){if(!x(e))return null;const c=e._readableState;return(null==c||!c.errored)&&("boolean"!=typeof(null==c?void 0:c.endEmitted)?null:!!(c.endEmitted||!1===a&&!0===c.ended&&0===c.length))}function w(e){return e&&null!=e[n]?e[n]:"boolean"!=typeof(null==e?void 0:e.readable)?null:!y(e)&&(x(e)&&e.readable&&!_(e))}function S(e){return e&&null!=e[i]?e[i]:"boolean"!=typeof(null==e?void 0:e.writable)?null:!y(e)&&(u(e)&&e.writable&&!v(e))}function E(e){return"boolean"==typeof e._closed&&"boolean"==typeof e._defaultKeepAlive&&"boolean"==typeof e._removedConnection&&"boolean"==typeof e._removedContLen}function A(e){return"boolean"==typeof e._sent100&&E(e)}e.exports={isDestroyed:y,kIsDestroyed:t,isDisturbed:function(e){var a;return!(!e||!(null!==(a=e[o])&&void 0!==a?a:e.readableDidRead||e.readableAborted))},kIsDisturbed:o,isErrored:function(e){var a,c,d,f,b,t,n,i,o,s;return!(!e||!(null!==(a=null!==(c=null!==(d=null!==(f=null!==(b=null!==(t=e[r])&&void 0!==t?t:e.readableErrored)&&void 0!==b?b:e.writableErrored)&&void 0!==f?f:null===(n=e._readableState)||void 0===n?void 0:n.errorEmitted)&&void 0!==d?d:null===(i=e._writableState)||void 0===i?void 0:i.errorEmitted)&&void 0!==c?c:null===(o=e._readableState)||void 0===o?void 0:o.errored)&&void 0!==a?a:null===(s=e._writableState)||void 0===s?void 0:s.errored))},kIsErrored:r,isReadable:w,kIsReadable:n,kIsClosedPromise:s,kControllerErrorFunction:l,kIsWritable:i,isClosed:function(e){if(!h(e))return null;if("boolean"==typeof e.closed)return e.closed;const a=e._writableState,c=e._readableState;return"boolean"==typeof(null==a?void 0:a.closed)||"boolean"==typeof(null==c?void 0:c.closed)?(null==a?void 0:a.closed)||(null==c?void 0:c.closed):"boolean"==typeof e._closed&&E(e)?e._closed:null},isDuplexNodeStream:function(e){return!(!e||"function"!=typeof e.pipe||!e._readableState||"function"!=typeof e.on||"function"!=typeof e.write)},isFinished:function(e,a){return h(e)?!!y(e)||(!1===(null==a?void 0:a.readable)||!w(e))&&(!1===(null==a?void 0:a.writable)||!S(e)):null},isIterable:function(e,a){return null!=e&&(!0===a?"function"==typeof e[d]:!1===a?"function"==typeof e[f]:"function"==typeof e[d]||"function"==typeof e[f])},isReadableNodeStream:x,isReadableStream:p,isReadableEnded:function(e){if(!x(e))return null;if(!0===e.readableEnded)return!0;const a=e._readableState;return!(!a||a.errored)&&("boolean"!=typeof(null==a?void 0:a.ended)?null:a.ended)},isReadableFinished:_,isReadableErrored:function(e){var a,c;return h(e)?e.readableErrored?e.readableErrored:null!==(a=null===(c=e._readableState)||void 0===c?void 0:c.errored)&&void 0!==a?a:null:null},isNodeStream:h,isWebStream:function(e){return p(e)||m(e)||g(e)},isWritable:S,isWritableNodeStream:u,isWritableStream:m,isWritableEnded:v,isWritableFinished:function(e,a){if(!u(e))return null;if(!0===e.writableFinished)return!0;const c=e._writableState;return(null==c||!c.errored)&&("boolean"!=typeof(null==c?void 0:c.finished)?null:!!(c.finished||!1===a&&!0===c.ended&&0===c.length))},isWritableErrored:function(e){var a,c;return h(e)?e.writableErrored?e.writableErrored:null!==(a=null===(c=e._writableState)||void 0===c?void 0:c.errored)&&void 0!==a?a:null:null},isServerRequest:function(e){var a;return"boolean"==typeof e._consuming&&"boolean"==typeof e._dumped&&void 0===(null===(a=e.req)||void 0===a?void 0:a.upgradeOrConnect)},isServerResponse:A,willEmitClose:function(e){if(!h(e))return null;const a=e._writableState,c=e._readableState,d=a||c;return!d&&A(e)||!!(d&&d.autoDestroy&&d.emitClose&&!1===d.closed)},isTransformStream:g}},34370:(e,a,c)=>{const d=c(34155),{ArrayPrototypeSlice:f,Error:b,FunctionPrototypeSymbolHasInstance:t,ObjectDefineProperty:r,ObjectDefineProperties:n,ObjectSetPrototypeOf:i,StringPrototypeToLowerCase:o,Symbol:s,SymbolHasInstance:l}=c(97684);e.exports=B,B.WritableState=R;const{EventEmitter:x}=c(17187),u=c(89496).Stream,{Buffer:h}=c(48764),p=c(54501),{addAbortSignal:m}=c(83377),{getHighWaterMark:g,getDefaultHighWaterMark:y}=c(72254),{ERR_INVALID_ARG_TYPE:v,ERR_METHOD_NOT_IMPLEMENTED:_,ERR_MULTIPLE_CALLBACK:w,ERR_STREAM_CANNOT_PIPE:S,ERR_STREAM_DESTROYED:E,ERR_STREAM_ALREADY_FINISHED:A,ERR_STREAM_NULL_VALUES:k,ERR_STREAM_WRITE_AFTER_END:I,ERR_UNKNOWN_ENCODING:C}=c(16e3).codes,{errorOrDestroy:L}=p;function T(){}i(B.prototype,u.prototype),i(B,u);const P=s("kOnFinished");function R(e,a,d){"boolean"!=typeof d&&(d=a instanceof c(3323)),this.objectMode=!(!e||!e.objectMode),d&&(this.objectMode=this.objectMode||!(!e||!e.writableObjectMode)),this.highWaterMark=e?g(this,e,"writableHighWaterMark",d):y(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const f=!(!e||!1!==e.decodeStrings);this.decodeStrings=!f,this.defaultEncoding=e&&e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=D.bind(void 0,a),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,M(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!e||!1!==e.emitClose,this.autoDestroy=!e||!1!==e.autoDestroy,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[P]=[]}function M(e){e.buffered=[],e.bufferedIndex=0,e.allBuffers=!0,e.allNoop=!0}function B(e){const a=this instanceof c(3323);if(!a&&!t(B,this))return new B(e);this._writableState=new R(e,this,a),e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final),"function"==typeof e.construct&&(this._construct=e.construct),e.signal&&m(e.signal,this)),u.call(this,e),p.construct(this,(()=>{const e=this._writableState;e.writing||q(this,e),$(this,e)}))}function O(e,a,c,f){const b=e._writableState;if("function"==typeof c)f=c,c=b.defaultEncoding;else{if(c){if("buffer"!==c&&!h.isEncoding(c))throw new C(c)}else c=b.defaultEncoding;"function"!=typeof f&&(f=T)}if(null===a)throw new k;if(!b.objectMode)if("string"==typeof a)!1!==b.decodeStrings&&(a=h.from(a,c),c="buffer");else if(a instanceof h)c="buffer";else{if(!u._isUint8Array(a))throw new v("chunk",["string","Buffer","Uint8Array"],a);a=u._uint8ArrayToBuffer(a),c="buffer"}let t;return b.ending?t=new I:b.destroyed&&(t=new E("write")),t?(d.nextTick(f,t),L(e,t,!0),t):(b.pendingcb++,function(e,a,c,d,f){const b=a.objectMode?1:c.length;a.length+=b;const t=a.lengthc.bufferedIndex&&q(e,c),f?null!==c.afterWriteTickInfo&&c.afterWriteTickInfo.cb===b?c.afterWriteTickInfo.count++:(c.afterWriteTickInfo={count:1,cb:b,stream:e,state:c},d.nextTick(U,c.afterWriteTickInfo)):j(e,c,1,b))):L(e,new w)}function U({stream:e,state:a,count:c,cb:d}){return a.afterWriteTickInfo=null,j(e,a,c,d)}function j(e,a,c,d){for(!a.ending&&!e.destroyed&&0===a.length&&a.needDrain&&(a.needDrain=!1,e.emit("drain"));c-- >0;)a.pendingcb--,d();a.destroyed&&z(a),$(e,a)}function z(e){if(e.writing)return;for(let f=e.bufferedIndex;f1&&e._writev){a.pendingcb-=t-1;const d=a.allNoop?T:e=>{for(let a=r;a256?(c.splice(0,r),a.bufferedIndex=0):a.bufferedIndex=r}a.bufferProcessing=!1}function K(e){return e.ending&&!e.destroyed&&e.constructed&&0===e.length&&!e.errored&&0===e.buffered.length&&!e.finished&&!e.writing&&!e.errorEmitted&&!e.closeEmitted}function V(e,a){a.prefinished||a.finalCalled||("function"!=typeof e._final||a.destroyed?(a.prefinished=!0,e.emit("prefinish")):(a.finalCalled=!0,function(e,a){let c=!1;function f(f){if(c)L(e,null!=f?f:w());else if(c=!0,a.pendingcb--,f){const c=a[P].splice(0);for(let e=0;e{K(a)?H(e,a):a.pendingcb--}),e,a)):K(a)&&(a.pendingcb++,H(e,a))))}function H(e,a){a.pendingcb--,a.finished=!0;const c=a[P].splice(0);for(let d=0;d{"use strict";const{ArrayIsArray:d,ArrayPrototypeIncludes:f,ArrayPrototypeJoin:b,ArrayPrototypeMap:t,NumberIsInteger:r,NumberIsNaN:n,NumberMAX_SAFE_INTEGER:i,NumberMIN_SAFE_INTEGER:o,NumberParseInt:s,ObjectPrototypeHasOwnProperty:l,RegExpPrototypeExec:x,String:u,StringPrototypeToUpperCase:h,StringPrototypeTrim:p}=c(97684),{hideStackFrames:m,codes:{ERR_SOCKET_BAD_PORT:g,ERR_INVALID_ARG_TYPE:y,ERR_INVALID_ARG_VALUE:v,ERR_OUT_OF_RANGE:_,ERR_UNKNOWN_SIGNAL:w}}=c(16e3),{normalizeEncoding:S}=c(20753),{isAsyncFunction:E,isArrayBufferView:A}=c(20753).types,k={};const I=/^[0-7]+$/;const C=m(((e,a,c=o,d=i)=>{if("number"!=typeof e)throw new y(a,"number",e);if(!r(e))throw new _(a,"an integer",e);if(ed)throw new _(a,`>= ${c} && <= ${d}`,e)})),L=m(((e,a,c=-2147483648,d=2147483647)=>{if("number"!=typeof e)throw new y(a,"number",e);if(!r(e))throw new _(a,"an integer",e);if(ed)throw new _(a,`>= ${c} && <= ${d}`,e)})),T=m(((e,a,c=!1)=>{if("number"!=typeof e)throw new y(a,"number",e);if(!r(e))throw new _(a,"an integer",e);const d=c?1:0,f=4294967295;if(ef)throw new _(a,`>= ${d} && <= ${f}`,e)}));function P(e,a){if("string"!=typeof e)throw new y(a,"string",e)}const R=m(((e,a,c)=>{if(!f(c,e)){const d=b(t(c,(e=>"string"==typeof e?`'${e}'`:u(e))),", ");throw new v(a,e,"must be one of: "+d)}}));function M(e,a){if("boolean"!=typeof e)throw new y(a,"boolean",e)}function B(e,a,c){return null!=e&&l(e,a)?e[a]:c}const O=m(((e,a,c=null)=>{const f=B(c,"allowArray",!1),b=B(c,"allowFunction",!1);if(!B(c,"nullable",!1)&&null===e||!f&&d(e)||"object"!=typeof e&&(!b||"function"!=typeof e))throw new y(a,"Object",e)})),N=m(((e,a)=>{if(null!=e&&"object"!=typeof e&&"function"!=typeof e)throw new y(a,"a dictionary",e)})),F=m(((e,a,c=0)=>{if(!d(e))throw new y(a,"Array",e);if(e.length{if(!A(e))throw new y(a,["Buffer","TypedArray","DataView"],e)}));const U=m(((e,a)=>{if(void 0!==e&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new y(a,"AbortSignal",e)})),j=m(((e,a)=>{if("function"!=typeof e)throw new y(a,"Function",e)})),z=m(((e,a)=>{if("function"!=typeof e||E(e))throw new y(a,"Function",e)})),q=m(((e,a)=>{if(void 0!==e)throw new y(a,"undefined",e)}));const K=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function V(e,a){if(void 0===e||!x(K,e))throw new v(a,e,'must be an array or string of format "; rel=preload; as=style"')}e.exports={isInt32:function(e){return e===(0|e)},isUint32:function(e){return e===e>>>0},parseFileMode:function(e,a,c){if(void 0===e&&(e=c),"string"==typeof e){if(null===x(I,e))throw new v(a,e,"must be a 32-bit unsigned integer or an octal string");e=s(e,8)}return T(e,a),e},validateArray:F,validateStringArray:function(e,a){F(e,a);for(let c=0;cd||(null!=c||null!=d)&&n(e))throw new _(a,`${null!=c?`>= ${c}`:""}${null!=c&&null!=d?" && ":""}${null!=d?`<= ${d}`:""}`,e)},validateObject:O,validateOneOf:R,validatePlainFunction:z,validatePort:function(e,a="Port",c=!0){if("number"!=typeof e&&"string"!=typeof e||"string"==typeof e&&0===p(e).length||+e!=+e>>>0||e>65535||0===e&&!c)throw new g(a,e,c);return 0|e},validateSignalName:function(e,a="signal"){if(P(e,a),void 0===k[e]){if(void 0!==k[h(e)])throw new w(e+" (signals must use all capital letters)");throw new w(e)}},validateString:P,validateUint32:T,validateUndefined:q,validateUnion:function(e,a,c){if(!f(c,e))throw new y(a,`('${b(c,"|")}')`,e)},validateAbortSignal:U,validateLinkHeaderValue:function(e){if("string"==typeof e)return V(e,"hints"),e;if(d(e)){const a=e.length;let c="";if(0===a)return c;for(let d=0;d; rel=preload; as=style"')}}},35171:(e,a,c)=>{"use strict";const d=c(38064),f=c(49369),b=d.Readable.destroy;e.exports=d.Readable,e.exports._uint8ArrayToBuffer=d._uint8ArrayToBuffer,e.exports._isUint8Array=d._isUint8Array,e.exports.isDisturbed=d.isDisturbed,e.exports.isErrored=d.isErrored,e.exports.isReadable=d.isReadable,e.exports.Readable=d.Readable,e.exports.Writable=d.Writable,e.exports.Duplex=d.Duplex,e.exports.Transform=d.Transform,e.exports.PassThrough=d.PassThrough,e.exports.addAbortSignal=d.addAbortSignal,e.exports.finished=d.finished,e.exports.destroy=d.destroy,e.exports.destroy=b,e.exports.pipeline=d.pipeline,e.exports.compose=d.compose,Object.defineProperty(d,"promises",{configurable:!0,enumerable:!0,get:()=>f}),e.exports.Stream=d.Stream,e.exports.default=e.exports},16e3:(e,a,c)=>{"use strict";const{format:d,inspect:f,AggregateError:b}=c(20753),t=globalThis.AggregateError||b,r=Symbol("kIsNodeError"),n=["string","function","number","object","Function","Object","boolean","bigint","symbol"],i=/^([A-Z][a-z0-9]*)+$/,o={};function s(e,a){if(!e)throw new o.ERR_INTERNAL_ASSERTION(a)}function l(e){let a="",c=e.length;const d="-"===e[0]?1:0;for(;c>=d+4;c-=3)a=`_${e.slice(c-3,c)}${a}`;return`${e.slice(0,c)}${a}`}function x(e,a,c){c||(c=Error);class f extends c{constructor(...c){super(function(e,a,c){if("function"==typeof a)return s(a.length<=c.length,`Code: ${e}; The provided arguments length (${c.length}) does not match the required ones (${a.length}).`),a(...c);const f=(a.match(/%[dfijoOs]/g)||[]).length;return s(f===c.length,`Code: ${e}; The provided arguments length (${c.length}) does not match the required ones (${f}).`),0===c.length?a:d(a,...c)}(e,a,c))}toString(){return`${this.name} [${e}]: ${this.message}`}}Object.defineProperties(f.prototype,{name:{value:c.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),f.prototype.code=e,f.prototype[r]=!0,o[e]=f}function u(e){const a="__node_internal_"+e.name;return Object.defineProperty(e,"name",{value:a}),e}class h extends Error{constructor(e="The operation was aborted",a){if(void 0!==a&&"object"!=typeof a)throw new o.ERR_INVALID_ARG_TYPE("options","Object",a);super(e,a),this.code="ABORT_ERR",this.name="AbortError"}}x("ERR_ASSERTION","%s",Error),x("ERR_INVALID_ARG_TYPE",((e,a,c)=>{s("string"==typeof e,"'name' must be a string"),Array.isArray(a)||(a=[a]);let d="The ";e.endsWith(" argument")?d+=`${e} `:d+=`"${e}" ${e.includes(".")?"property":"argument"} `,d+="must be ";const b=[],t=[],r=[];for(const f of a)s("string"==typeof f,"All expected entries have to be of type string"),n.includes(f)?b.push(f.toLowerCase()):i.test(f)?t.push(f):(s("object"!==f,'The value "object" should be written as "Object"'),r.push(f));if(t.length>0){const e=b.indexOf("object");-1!==e&&(b.splice(b,e,1),t.push("Object"))}if(b.length>0){switch(b.length){case 1:d+=`of type ${b[0]}`;break;case 2:d+=`one of type ${b[0]} or ${b[1]}`;break;default:{const e=b.pop();d+=`one of type ${b.join(", ")}, or ${e}`}}(t.length>0||r.length>0)&&(d+=" or ")}if(t.length>0){switch(t.length){case 1:d+=`an instance of ${t[0]}`;break;case 2:d+=`an instance of ${t[0]} or ${t[1]}`;break;default:{const e=t.pop();d+=`an instance of ${t.join(", ")}, or ${e}`}}r.length>0&&(d+=" or ")}switch(r.length){case 0:break;case 1:r[0].toLowerCase()!==r[0]&&(d+="an "),d+=`${r[0]}`;break;case 2:d+=`one of ${r[0]} or ${r[1]}`;break;default:{const e=r.pop();d+=`one of ${r.join(", ")}, or ${e}`}}if(null==c)d+=`. Received ${c}`;else if("function"==typeof c&&c.name)d+=`. Received function ${c.name}`;else if("object"==typeof c){var o;if(null!==(o=c.constructor)&&void 0!==o&&o.name)d+=`. Received an instance of ${c.constructor.name}`;else{d+=`. Received ${f(c,{depth:-1})}`}}else{let e=f(c,{colors:!1});e.length>25&&(e=`${e.slice(0,25)}...`),d+=`. Received type ${typeof c} (${e})`}return d}),TypeError),x("ERR_INVALID_ARG_VALUE",((e,a,c="is invalid")=>{let d=f(a);d.length>128&&(d=d.slice(0,128)+"...");return`The ${e.includes(".")?"property":"argument"} '${e}' ${c}. Received ${d}`}),TypeError),x("ERR_INVALID_RETURN_VALUE",((e,a,c)=>{var d;return`Expected ${e} to be returned from the "${a}" function but got ${null!=c&&null!==(d=c.constructor)&&void 0!==d&&d.name?`instance of ${c.constructor.name}`:"type "+typeof c}.`}),TypeError),x("ERR_MISSING_ARGS",((...e)=>{let a;s(e.length>0,"At least one arg needs to be specified");const c=e.length;switch(e=(Array.isArray(e)?e:[e]).map((e=>`"${e}"`)).join(" or "),c){case 1:a+=`The ${e[0]} argument`;break;case 2:a+=`The ${e[0]} and ${e[1]} arguments`;break;default:{const c=e.pop();a+=`The ${e.join(", ")}, and ${c} arguments`}}return`${a} must be specified`}),TypeError),x("ERR_OUT_OF_RANGE",((e,a,c)=>{let d;return s(a,'Missing "range" argument'),Number.isInteger(c)&&Math.abs(c)>2**32?d=l(String(c)):"bigint"==typeof c?(d=String(c),(c>2n**32n||c<-(2n**32n))&&(d=l(d)),d+="n"):d=f(c),`The value of "${e}" is out of range. It must be ${a}. Received ${d}`}),RangeError),x("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),x("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),x("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),x("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),x("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),x("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),x("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),x("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),x("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),x("ERR_STREAM_WRITE_AFTER_END","write after end",Error),x("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),e.exports={AbortError:h,aggregateTwoErrors:u((function(e,a){if(e&&a&&e!==a){if(Array.isArray(a.errors))return a.errors.push(e),a;const c=new t([a,e],a.message);return c.code=a.code,c}return e||a})),hideStackFrames:u,codes:o}},97684:e=>{"use strict";e.exports={ArrayIsArray:e=>Array.isArray(e),ArrayPrototypeIncludes:(e,a)=>e.includes(a),ArrayPrototypeIndexOf:(e,a)=>e.indexOf(a),ArrayPrototypeJoin:(e,a)=>e.join(a),ArrayPrototypeMap:(e,a)=>e.map(a),ArrayPrototypePop:(e,a)=>e.pop(a),ArrayPrototypePush:(e,a)=>e.push(a),ArrayPrototypeSlice:(e,a,c)=>e.slice(a,c),Error:Error,FunctionPrototypeCall:(e,a,...c)=>e.call(a,...c),FunctionPrototypeSymbolHasInstance:(e,a)=>Function.prototype[Symbol.hasInstance].call(e,a),MathFloor:Math.floor,Number:Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties:(e,a)=>Object.defineProperties(e,a),ObjectDefineProperty:(e,a,c)=>Object.defineProperty(e,a,c),ObjectGetOwnPropertyDescriptor:(e,a)=>Object.getOwnPropertyDescriptor(e,a),ObjectKeys:e=>Object.keys(e),ObjectSetPrototypeOf:(e,a)=>Object.setPrototypeOf(e,a),Promise:Promise,PromisePrototypeCatch:(e,a)=>e.catch(a),PromisePrototypeThen:(e,a,c)=>e.then(a,c),PromiseReject:e=>Promise.reject(e),PromiseResolve:e=>Promise.resolve(e),ReflectApply:Reflect.apply,RegExpPrototypeTest:(e,a)=>e.test(a),SafeSet:Set,String:String,StringPrototypeSlice:(e,a,c)=>e.slice(a,c),StringPrototypeToLowerCase:e=>e.toLowerCase(),StringPrototypeToUpperCase:e=>e.toUpperCase(),StringPrototypeTrim:e=>e.trim(),Symbol:Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet:(e,a,c)=>e.set(a,c),Boolean:Boolean,Uint8Array:Uint8Array}},20753:(e,a,c)=>{"use strict";const d=c(48764),{kResistStopPropagation:f,SymbolDispose:b}=c(97684),t=globalThis.AbortSignal||c(28599).AbortSignal,r=globalThis.AbortController||c(28599).AbortController,n=Object.getPrototypeOf((async function(){})).constructor,i=globalThis.Blob||d.Blob,o=void 0!==i?function(e){return e instanceof i}:function(e){return!1},s=(e,a)=>{if(void 0!==e&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new ERR_INVALID_ARG_TYPE(a,"AbortSignal",e)};class l extends Error{constructor(e){if(!Array.isArray(e))throw new TypeError("Expected input to be an Array, got "+typeof e);let a="";for(let c=0;c{e=c,a=d})),resolve:e,reject:a}},promisify:e=>new Promise(((a,c)=>{e(((e,...d)=>e?c(e):a(...d)))})),debuglog:()=>function(){},format:(e,...a)=>e.replace(/%([sdifj])/g,(function(...[e,c]){const d=a.shift();if("f"===c)return d.toFixed(6);if("j"===c)return JSON.stringify(d);if("s"===c&&"object"==typeof d){return`${d.constructor!==Object?d.constructor.name:""} {}`.trim()}return d.toString()})),inspect(e){switch(typeof e){case"string":if(e.includes("'")){if(!e.includes('"'))return`"${e}"`;if(!e.includes("`")&&!e.includes("${"))return`\`${e}\``}return`'${e}'`;case"number":return isNaN(e)?"NaN":Object.is(e,-0)?String(e):e;case"bigint":return`${String(e)}n`;case"boolean":case"undefined":return String(e);case"object":return"{}"}},types:{isAsyncFunction:e=>e instanceof n,isArrayBufferView:e=>ArrayBuffer.isView(e)},isBlob:o,deprecate:(e,a)=>e,addAbortListener:c(17187).addAbortListener||function(e,a){if(void 0===e)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",e);let c;return s(e,"signal"),((e,a)=>{if("function"!=typeof e)throw new ERR_INVALID_ARG_TYPE(a,"Function",e)})(a,"listener"),e.aborted?queueMicrotask((()=>a())):(e.addEventListener("abort",a,{__proto__:null,once:!0,[f]:!0}),c=()=>{e.removeEventListener("abort",a)}),{__proto__:null,[b](){var e;null===(e=c)||void 0===e||e()}}},AbortSignalAny:t.any||function(e){if(1===e.length)return e[0];const a=new r,c=()=>a.abort();return e.forEach((e=>{s(e,"signals"),e.addEventListener("abort",c,{once:!0})})),a.signal.addEventListener("abort",(()=>{e.forEach((e=>e.removeEventListener("abort",c)))}),{once:!0}),a.signal}},e.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")},38064:(e,a,c)=>{const{Buffer:d}=c(48764),{ObjectDefineProperty:f,ObjectKeys:b,ReflectApply:t}=c(97684),{promisify:{custom:r}}=c(20753),{streamReturningOperators:n,promiseReturningOperators:i}=c(14964),{codes:{ERR_ILLEGAL_CONSTRUCTOR:o}}=c(16e3),s=c(21650),{setDefaultHighWaterMark:l,getDefaultHighWaterMark:x}=c(72254),{pipeline:u}=c(3232),{destroyer:h}=c(54501),p=c(24466),m=c(49369),g=c(43437),y=e.exports=c(89496).Stream;y.isDestroyed=g.isDestroyed,y.isDisturbed=g.isDisturbed,y.isErrored=g.isErrored,y.isReadable=g.isReadable,y.isWritable=g.isWritable,y.Readable=c(65870);for(const w of b(n)){const S=n[w];function v(...e){if(new.target)throw o();return y.Readable.from(t(S,this,e))}f(v,"name",{__proto__:null,value:S.name}),f(v,"length",{__proto__:null,value:S.length}),f(y.Readable.prototype,w,{__proto__:null,value:v,enumerable:!1,configurable:!0,writable:!0})}for(const E of b(i)){const A=i[E];function v(...e){if(new.target)throw o();return t(A,this,e)}f(v,"name",{__proto__:null,value:A.name}),f(v,"length",{__proto__:null,value:A.length}),f(y.Readable.prototype,E,{__proto__:null,value:v,enumerable:!1,configurable:!0,writable:!0})}y.Writable=c(34370),y.Duplex=c(3323),y.Transform=c(72176),y.PassThrough=c(36804),y.pipeline=u;const{addAbortSignal:_}=c(83377);y.addAbortSignal=_,y.finished=p,y.destroy=h,y.compose=s,y.setDefaultHighWaterMark=l,y.getDefaultHighWaterMark=x,f(y,"promises",{__proto__:null,configurable:!0,enumerable:!0,get:()=>m}),f(u,r,{__proto__:null,enumerable:!0,get:()=>m.pipeline}),f(p,r,{__proto__:null,enumerable:!0,get:()=>m.finished}),y.Stream=y,y._isUint8Array=function(e){return e instanceof Uint8Array},y._uint8ArrayToBuffer=function(e){return d.from(e.buffer,e.byteOffset,e.byteLength)}},49369:(e,a,c)=>{"use strict";const{ArrayPrototypePop:d,Promise:f}=c(97684),{isIterable:b,isNodeStream:t,isWebStream:r}=c(43437),{pipelineImpl:n}=c(3232),{finished:i}=c(24466);c(38064),e.exports={finished:i,pipeline:function(...e){return new f(((a,c)=>{let f,i;const o=e[e.length-1];if(o&&"object"==typeof o&&!t(o)&&!b(o)&&!r(o)){const a=d(e);f=a.signal,i=a.end}n(e,((e,d)=>{e?c(e):a(d)}),{signal:f,end:i})}))}}},28599:e=>{"use strict";const{AbortController:a,AbortSignal:c}="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0;e.exports=a,e.exports.AbortSignal=c,e.exports.default=a},78826:function(e){"use strict";!function(a){function c(e){return parseInt(e)===e}function d(e){if(!c(e.length))return!1;for(var a=0;a255)return!1;return!0}function f(e,a){if(e.buffer&&ArrayBuffer.isView(e)&&"Uint8Array"===e.name)return a&&(e=e.slice?e.slice():Array.prototype.slice.call(e)),e;if(Array.isArray(e)){if(!d(e))throw new Error("Array contains invalid value: "+e);return new Uint8Array(e)}if(c(e.length)&&d(e))return new Uint8Array(e);throw new Error("unsupported array-like object")}function b(e){return new Uint8Array(e)}function t(e,a,c,d,f){null==d&&null==f||(e=e.slice?e.slice(d,f):Array.prototype.slice.call(e,d,f)),a.set(e,c)}var r,n={toBytes:function(e){var a=[],c=0;for(e=encodeURI(e);c191&&d<224?(a.push(String.fromCharCode((31&d)<<6|63&e[c+1])),c+=2):(a.push(String.fromCharCode((15&d)<<12|(63&e[c+1])<<6|63&e[c+2])),c+=3)}return a.join("")}},i=(r="0123456789abcdef",{toBytes:function(e){for(var a=[],c=0;c>4]+r[15&d])}return a.join("")}}),o={16:10,24:12,32:14},s=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],l=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],x=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],u=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],h=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],p=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],m=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],g=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],y=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],v=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],_=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],w=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],S=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],E=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],A=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function k(e){for(var a=[],c=0;c>2,this._Ke[c][a%4]=b[a],this._Kd[e-c][a%4]=b[a];for(var t,r=0,n=f;n>16&255]<<24^l[t>>8&255]<<16^l[255&t]<<8^l[t>>24&255]^s[r]<<24,r+=1,8!=f)for(a=1;a>8&255]<<8^l[t>>16&255]<<16^l[t>>24&255]<<24;for(a=f/2+1;a>2,x=n%4,this._Ke[i][x]=b[a],this._Kd[e-i][x]=b[a++],n++}for(var i=1;i>24&255]^S[t>>16&255]^E[t>>8&255]^A[255&t]},I.prototype.encrypt=function(e){if(16!=e.length)throw new Error("invalid plaintext size (must be 16 bytes)");for(var a=this._Ke.length-1,c=[0,0,0,0],d=k(e),f=0;f<4;f++)d[f]^=this._Ke[0][f];for(var t=1;t>24&255]^h[d[(f+1)%4]>>16&255]^p[d[(f+2)%4]>>8&255]^m[255&d[(f+3)%4]]^this._Ke[t][f];d=c.slice()}var r,n=b(16);for(f=0;f<4;f++)r=this._Ke[a][f],n[4*f]=255&(l[d[f]>>24&255]^r>>24),n[4*f+1]=255&(l[d[(f+1)%4]>>16&255]^r>>16),n[4*f+2]=255&(l[d[(f+2)%4]>>8&255]^r>>8),n[4*f+3]=255&(l[255&d[(f+3)%4]]^r);return n},I.prototype.decrypt=function(e){if(16!=e.length)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var a=this._Kd.length-1,c=[0,0,0,0],d=k(e),f=0;f<4;f++)d[f]^=this._Kd[0][f];for(var t=1;t>24&255]^y[d[(f+3)%4]>>16&255]^v[d[(f+2)%4]>>8&255]^_[255&d[(f+1)%4]]^this._Kd[t][f];d=c.slice()}var r,n=b(16);for(f=0;f<4;f++)r=this._Kd[a][f],n[4*f]=255&(x[d[f]>>24&255]^r>>24),n[4*f+1]=255&(x[d[(f+3)%4]>>16&255]^r>>16),n[4*f+2]=255&(x[d[(f+2)%4]>>8&255]^r>>8),n[4*f+3]=255&(x[255&d[(f+1)%4]]^r);return n};var C=function(e){if(!(this instanceof C))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new I(e)};C.prototype.encrypt=function(e){if((e=f(e)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var a=b(e.length),c=b(16),d=0;d=0;--a)this._counter[a]=e%256,e>>=8},R.prototype.setBytes=function(e){if(16!=(e=f(e,!0)).length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=e},R.prototype.increment=function(){for(var e=15;e>=0;e--){if(255!==this._counter[e]){this._counter[e]++;break}this._counter[e]=0}};var M=function(e,a){if(!(this instanceof M))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",a instanceof R||(a=new R(a)),this._counter=a,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new I(e)};M.prototype.encrypt=function(e){for(var a=f(e,!0),c=0;c16)throw new Error("PKCS#7 padding byte out of range");for(var c=e.length-a,d=0;d{e.exports=c(51609)},55448:(e,a,c)=>{"use strict";var d=c(64867),f=c(36026),b=c(4372),t=c(15327),r=c(94097),n=c(84109),i=c(67985),o=c(77874),s=c(82648),l=c(60644),x=c(90205);e.exports=function(e){return new Promise((function(a,c){var u,h=e.data,p=e.headers,m=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(u),e.signal&&e.signal.removeEventListener("abort",u)}d.isFormData(h)&&d.isStandardBrowserEnv()&&delete p["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var v=e.auth.username||"",_=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(v+":"+_)}var w=r(e.baseURL,e.url);function S(){if(y){var d="getAllResponseHeaders"in y?n(y.getAllResponseHeaders()):null,b={data:m&&"text"!==m&&"json"!==m?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:d,config:e,request:y};f((function(e){a(e),g()}),(function(e){c(e),g()}),b),y=null}}if(y.open(e.method.toUpperCase(),t(w,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=S:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(S)},y.onabort=function(){y&&(c(new s("Request aborted",s.ECONNABORTED,e,y)),y=null)},y.onerror=function(){c(new s("Network Error",s.ERR_NETWORK,e,y,y)),y=null},y.ontimeout=function(){var a=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",d=e.transitional||o;e.timeoutErrorMessage&&(a=e.timeoutErrorMessage),c(new s(a,d.clarifyTimeoutError?s.ETIMEDOUT:s.ECONNABORTED,e,y)),y=null},d.isStandardBrowserEnv()){var E=(e.withCredentials||i(w))&&e.xsrfCookieName?b.read(e.xsrfCookieName):void 0;E&&(p[e.xsrfHeaderName]=E)}"setRequestHeader"in y&&d.forEach(p,(function(e,a){void 0===h&&"content-type"===a.toLowerCase()?delete p[a]:y.setRequestHeader(a,e)})),d.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),m&&"json"!==m&&(y.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(u=function(e){y&&(c(!e||e&&e.type?new l:e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(u),e.signal&&(e.signal.aborted?u():e.signal.addEventListener("abort",u))),h||(h=null);var A=x(w);A&&-1===["http","https","file"].indexOf(A)?c(new s("Unsupported protocol "+A+":",s.ERR_BAD_REQUEST,e)):y.send(h)}))}},51609:(e,a,c)=>{"use strict";var d=c(64867),f=c(91849),b=c(30321),t=c(47185);var r=function e(a){var c=new b(a),r=f(b.prototype.request,c);return d.extend(r,b.prototype,c),d.extend(r,c),r.create=function(c){return e(t(a,c))},r}(c(45546));r.Axios=b,r.CanceledError=c(60644),r.CancelToken=c(14972),r.isCancel=c(26502),r.VERSION=c(97288).version,r.toFormData=c(47675),r.AxiosError=c(82648),r.Cancel=r.CanceledError,r.all=function(e){return Promise.all(e)},r.spread=c(8713),r.isAxiosError=c(16268),e.exports=r,e.exports.default=r},14972:(e,a,c)=>{"use strict";var d=c(60644);function f(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var a;this.promise=new Promise((function(e){a=e}));var c=this;this.promise.then((function(e){if(c._listeners){var a,d=c._listeners.length;for(a=0;a{"use strict";var d=c(82648);function f(e){d.call(this,null==e?"canceled":e,d.ERR_CANCELED),this.name="CanceledError"}c(64867).inherits(f,d,{__CANCEL__:!0}),e.exports=f},26502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},30321:(e,a,c)=>{"use strict";var d=c(64867),f=c(15327),b=c(80782),t=c(13572),r=c(47185),n=c(94097),i=c(54875),o=i.validators;function s(e){this.defaults=e,this.interceptors={request:new b,response:new b}}s.prototype.request=function(e,a){"string"==typeof e?(a=a||{}).url=e:a=e||{},(a=r(this.defaults,a)).method?a.method=a.method.toLowerCase():this.defaults.method?a.method=this.defaults.method.toLowerCase():a.method="get";var c=a.transitional;void 0!==c&&i.assertOptions(c,{silentJSONParsing:o.transitional(o.boolean),forcedJSONParsing:o.transitional(o.boolean),clarifyTimeoutError:o.transitional(o.boolean)},!1);var d=[],f=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(a)||(f=f&&e.synchronous,d.unshift(e.fulfilled,e.rejected))}));var b,n=[];if(this.interceptors.response.forEach((function(e){n.push(e.fulfilled,e.rejected)})),!f){var s=[t,void 0];for(Array.prototype.unshift.apply(s,d),s=s.concat(n),b=Promise.resolve(a);s.length;)b=b.then(s.shift(),s.shift());return b}for(var l=a;d.length;){var x=d.shift(),u=d.shift();try{l=x(l)}catch(h){u(h);break}}try{b=t(l)}catch(h){return Promise.reject(h)}for(;n.length;)b=b.then(n.shift(),n.shift());return b},s.prototype.getUri=function(e){e=r(this.defaults,e);var a=n(e.baseURL,e.url);return f(a,e.params,e.paramsSerializer)},d.forEach(["delete","get","head","options"],(function(e){s.prototype[e]=function(a,c){return this.request(r(c||{},{method:e,url:a,data:(c||{}).data}))}})),d.forEach(["post","put","patch"],(function(e){function a(a){return function(c,d,f){return this.request(r(f||{},{method:e,headers:a?{"Content-Type":"multipart/form-data"}:{},url:c,data:d}))}}s.prototype[e]=a(),s.prototype[e+"Form"]=a(!0)})),e.exports=s},82648:(e,a,c)=>{"use strict";var d=c(64867);function f(e,a,c,d,f){Error.call(this),this.message=e,this.name="AxiosError",a&&(this.code=a),c&&(this.config=c),d&&(this.request=d),f&&(this.response=f)}d.inherits(f,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var b=f.prototype,t={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){t[e]={value:e}})),Object.defineProperties(f,t),Object.defineProperty(b,"isAxiosError",{value:!0}),f.from=function(e,a,c,t,r,n){var i=Object.create(b);return d.toFlatObject(e,i,(function(e){return e!==Error.prototype})),f.call(i,e.message,a,c,t,r),i.name=e.name,n&&Object.assign(i,n),i},e.exports=f},80782:(e,a,c)=>{"use strict";var d=c(64867);function f(){this.handlers=[]}f.prototype.use=function(e,a,c){return this.handlers.push({fulfilled:e,rejected:a,synchronous:!!c&&c.synchronous,runWhen:c?c.runWhen:null}),this.handlers.length-1},f.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},f.prototype.forEach=function(e){d.forEach(this.handlers,(function(a){null!==a&&e(a)}))},e.exports=f},94097:(e,a,c)=>{"use strict";var d=c(91793),f=c(7303);e.exports=function(e,a){return e&&!d(a)?f(e,a):a}},13572:(e,a,c)=>{"use strict";var d=c(64867),f=c(18527),b=c(26502),t=c(45546),r=c(60644);function n(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new r}e.exports=function(e){return n(e),e.headers=e.headers||{},e.data=f.call(e,e.data,e.headers,e.transformRequest),e.headers=d.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),d.forEach(["delete","get","head","post","put","patch","common"],(function(a){delete e.headers[a]})),(e.adapter||t.adapter)(e).then((function(a){return n(e),a.data=f.call(e,a.data,a.headers,e.transformResponse),a}),(function(a){return b(a)||(n(e),a&&a.response&&(a.response.data=f.call(e,a.response.data,a.response.headers,e.transformResponse))),Promise.reject(a)}))}},47185:(e,a,c)=>{"use strict";var d=c(64867);e.exports=function(e,a){a=a||{};var c={};function f(e,a){return d.isPlainObject(e)&&d.isPlainObject(a)?d.merge(e,a):d.isPlainObject(a)?d.merge({},a):d.isArray(a)?a.slice():a}function b(c){return d.isUndefined(a[c])?d.isUndefined(e[c])?void 0:f(void 0,e[c]):f(e[c],a[c])}function t(e){if(!d.isUndefined(a[e]))return f(void 0,a[e])}function r(c){return d.isUndefined(a[c])?d.isUndefined(e[c])?void 0:f(void 0,e[c]):f(void 0,a[c])}function n(c){return c in a?f(e[c],a[c]):c in e?f(void 0,e[c]):void 0}var i={url:t,method:t,data:t,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:n};return d.forEach(Object.keys(e).concat(Object.keys(a)),(function(e){var a=i[e]||b,f=a(e);d.isUndefined(f)&&a!==n||(c[e]=f)})),c}},36026:(e,a,c)=>{"use strict";var d=c(82648);e.exports=function(e,a,c){var f=c.config.validateStatus;c.status&&f&&!f(c.status)?a(new d("Request failed with status code "+c.status,[d.ERR_BAD_REQUEST,d.ERR_BAD_RESPONSE][Math.floor(c.status/100)-4],c.config,c.request,c)):e(c)}},18527:(e,a,c)=>{"use strict";var d=c(64867),f=c(45546);e.exports=function(e,a,c){var b=this||f;return d.forEach(c,(function(c){e=c.call(b,e,a)})),e}},45546:(e,a,c)=>{"use strict";var d=c(34155),f=c(64867),b=c(16016),t=c(82648),r=c(77874),n=c(47675),i={"Content-Type":"application/x-www-form-urlencoded"};function o(e,a){!f.isUndefined(e)&&f.isUndefined(e["Content-Type"])&&(e["Content-Type"]=a)}var s,l={transitional:r,adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==d&&"[object process]"===Object.prototype.toString.call(d))&&(s=c(55448)),s),transformRequest:[function(e,a){if(b(a,"Accept"),b(a,"Content-Type"),f.isFormData(e)||f.isArrayBuffer(e)||f.isBuffer(e)||f.isStream(e)||f.isFile(e)||f.isBlob(e))return e;if(f.isArrayBufferView(e))return e.buffer;if(f.isURLSearchParams(e))return o(a,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var c,d=f.isObject(e),t=a&&a["Content-Type"];if((c=f.isFileList(e))||d&&"multipart/form-data"===t){var r=this.env&&this.env.FormData;return n(c?{"files[]":e}:e,r&&new r)}return d||"application/json"===t?(o(a,"application/json"),function(e,a,c){if(f.isString(e))try{return(a||JSON.parse)(e),f.trim(e)}catch(d){if("SyntaxError"!==d.name)throw d}return(c||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var a=this.transitional||l.transitional,c=a&&a.silentJSONParsing,d=a&&a.forcedJSONParsing,b=!c&&"json"===this.responseType;if(b||d&&f.isString(e)&&e.length)try{return JSON.parse(e)}catch(r){if(b){if("SyntaxError"===r.name)throw t.from(r,t.ERR_BAD_RESPONSE,this,null,this.response);throw r}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:c(91623)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};f.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),f.forEach(["post","put","patch"],(function(e){l.headers[e]=f.merge(i)})),e.exports=l},77874:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},97288:e=>{e.exports={version:"0.27.2"}},91849:e=>{"use strict";e.exports=function(e,a){return function(){for(var c=new Array(arguments.length),d=0;d{"use strict";var d=c(64867);function f(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,a,c){if(!a)return e;var b;if(c)b=c(a);else if(d.isURLSearchParams(a))b=a.toString();else{var t=[];d.forEach(a,(function(e,a){null!=e&&(d.isArray(e)?a+="[]":e=[e],d.forEach(e,(function(e){d.isDate(e)?e=e.toISOString():d.isObject(e)&&(e=JSON.stringify(e)),t.push(f(a)+"="+f(e))})))})),b=t.join("&")}if(b){var r=e.indexOf("#");-1!==r&&(e=e.slice(0,r)),e+=(-1===e.indexOf("?")?"?":"&")+b}return e}},7303:e=>{"use strict";e.exports=function(e,a){return a?e.replace(/\/+$/,"")+"/"+a.replace(/^\/+/,""):e}},4372:(e,a,c)=>{"use strict";var d=c(64867);e.exports=d.isStandardBrowserEnv()?{write:function(e,a,c,f,b,t){var r=[];r.push(e+"="+encodeURIComponent(a)),d.isNumber(c)&&r.push("expires="+new Date(c).toGMTString()),d.isString(f)&&r.push("path="+f),d.isString(b)&&r.push("domain="+b),!0===t&&r.push("secure"),document.cookie=r.join("; ")},read:function(e){var a=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},91793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},16268:(e,a,c)=>{"use strict";var d=c(64867);e.exports=function(e){return d.isObject(e)&&!0===e.isAxiosError}},67985:(e,a,c)=>{"use strict";var d=c(64867);e.exports=d.isStandardBrowserEnv()?function(){var e,a=/(msie|trident)/i.test(navigator.userAgent),c=document.createElement("a");function f(e){var d=e;return a&&(c.setAttribute("href",d),d=c.href),c.setAttribute("href",d),{href:c.href,protocol:c.protocol?c.protocol.replace(/:$/,""):"",host:c.host,search:c.search?c.search.replace(/^\?/,""):"",hash:c.hash?c.hash.replace(/^#/,""):"",hostname:c.hostname,port:c.port,pathname:"/"===c.pathname.charAt(0)?c.pathname:"/"+c.pathname}}return e=f(window.location.href),function(a){var c=d.isString(a)?f(a):a;return c.protocol===e.protocol&&c.host===e.host}}():function(){return!0}},16016:(e,a,c)=>{"use strict";var d=c(64867);e.exports=function(e,a){d.forEach(e,(function(c,d){d!==a&&d.toUpperCase()===a.toUpperCase()&&(e[a]=c,delete e[d])}))}},91623:e=>{e.exports=null},84109:(e,a,c)=>{"use strict";var d=c(64867),f=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var a,c,b,t={};return e?(d.forEach(e.split("\n"),(function(e){if(b=e.indexOf(":"),a=d.trim(e.substr(0,b)).toLowerCase(),c=d.trim(e.substr(b+1)),a){if(t[a]&&f.indexOf(a)>=0)return;t[a]="set-cookie"===a?(t[a]?t[a]:[]).concat([c]):t[a]?t[a]+", "+c:c}})),t):t}},90205:e=>{"use strict";e.exports=function(e){var a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}},8713:e=>{"use strict";e.exports=function(e){return function(a){return e.apply(null,a)}}},47675:(e,a,c)=>{"use strict";var d=c(48764).Buffer,f=c(64867);e.exports=function(e,a){a=a||new FormData;var c=[];function b(e){return null===e?"":f.isDate(e)?e.toISOString():f.isArrayBuffer(e)||f.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):d.from(e):e}return function e(d,t){if(f.isPlainObject(d)||f.isArray(d)){if(-1!==c.indexOf(d))throw Error("Circular reference detected in "+t);c.push(d),f.forEach(d,(function(c,d){if(!f.isUndefined(c)){var r,n=t?t+"."+d:d;if(c&&!t&&"object"==typeof c)if(f.endsWith(d,"{}"))c=JSON.stringify(c);else if(f.endsWith(d,"[]")&&(r=f.toArray(c)))return void r.forEach((function(e){!f.isUndefined(e)&&a.append(n,b(e))}));e(c,n)}})),c.pop()}else a.append(t,b(d))}(e),a}},54875:(e,a,c)=>{"use strict";var d=c(97288).version,f=c(82648),b={};["object","boolean","number","function","string","symbol"].forEach((function(e,a){b[e]=function(c){return typeof c===e||"a"+(a<1?"n ":" ")+e}}));var t={};b.transitional=function(e,a,c){function b(e,a){return"[Axios v"+d+"] Transitional option '"+e+"'"+a+(c?". "+c:"")}return function(c,d,r){if(!1===e)throw new f(b(d," has been removed"+(a?" in "+a:"")),f.ERR_DEPRECATED);return a&&!t[d]&&(t[d]=!0,console.warn(b(d," has been deprecated since v"+a+" and will be removed in the near future"))),!e||e(c,d,r)}},e.exports={assertOptions:function(e,a,c){if("object"!=typeof e)throw new f("options must be an object",f.ERR_BAD_OPTION_VALUE);for(var d=Object.keys(e),b=d.length;b-- >0;){var t=d[b],r=a[t];if(r){var n=e[t],i=void 0===n||r(n,t,e);if(!0!==i)throw new f("option "+t+" must be "+i,f.ERR_BAD_OPTION_VALUE)}else if(!0!==c)throw new f("Unknown option "+t,f.ERR_BAD_OPTION)}},validators:b}},64867:(e,a,c)=>{"use strict";var d,f=c(91849),b=Object.prototype.toString,t=(d=Object.create(null),function(e){var a=b.call(e);return d[a]||(d[a]=a.slice(8,-1).toLowerCase())});function r(e){return e=e.toLowerCase(),function(a){return t(a)===e}}function n(e){return Array.isArray(e)}function i(e){return void 0===e}var o=r("ArrayBuffer");function s(e){return null!==e&&"object"==typeof e}function l(e){if("object"!==t(e))return!1;var a=Object.getPrototypeOf(e);return null===a||a===Object.prototype}var x=r("Date"),u=r("File"),h=r("Blob"),p=r("FileList");function m(e){return"[object Function]"===b.call(e)}var g=r("URLSearchParams");function y(e,a){if(null!=e)if("object"!=typeof e&&(e=[e]),n(e))for(var c=0,d=e.length;c0;)t[b=d[f]]||(a[b]=e[b],t[b]=!0);e=Object.getPrototypeOf(e)}while(e&&(!c||c(e,a))&&e!==Object.prototype);return a},kindOf:t,kindOfTest:r,endsWith:function(e,a,c){e=String(e),(void 0===c||c>e.length)&&(c=e.length),c-=a.length;var d=e.indexOf(a,c);return-1!==d&&d===c},toArray:function(e){if(!e)return null;var a=e.length;if(i(a))return null;for(var c=new Array(a);a-- >0;)c[a]=e[a];return c},isTypedArray:_,isFileList:p}},10130:(e,a,c)=>{const d=c(69480),f=c(93195),b=c(39819),t=c(30412),r=c(6157),n=255===new Uint8Array(Uint16Array.of(255).buffer)[0];function i(e){switch(e){case"ascii":return d;case"base64":return f;case"hex":return b;case"utf8":case"utf-8":case void 0:return t;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r;default:throw new Error(`Unknown encoding: ${e}`)}}function o(e){return e instanceof Uint8Array}function s(e,a,c){return"string"==typeof e?function(e,a){const c=i(a),d=new Uint8Array(c.byteLength(e));return c.write(d,e,0,d.byteLength),d}(e,a):Array.isArray(e)?function(e){const a=new Uint8Array(e.length);return a.set(e),a}(e):ArrayBuffer.isView(e)?function(e){const a=new Uint8Array(e.byteLength);return a.set(e),a}(e):function(e,a,c){return new Uint8Array(e,a,c)}(e,a,c)}function l(e,a,c,d,f){if(0===e.byteLength)return-1;if("string"==typeof c?(d=c,c=0):void 0===c?c=f?0:e.length-1:c<0&&(c+=e.byteLength),c>=e.byteLength){if(f)return-1;c=e.byteLength-1}else if(c<0){if(!f)return-1;c=0}if("string"==typeof a)a=s(a,d);else if("number"==typeof a)return a&=255,f?e.indexOf(a,c):e.lastIndexOf(a,c);if(0===a.byteLength)return-1;if(f){let d=-1;for(let f=c;fe.byteLength&&(c=e.byteLength-a.byteLength);for(let d=c;d>=0;d--){let c=!0;for(let f=0;ff)return 1}return e.byteLength>a.byteLength?1:e.byteLengthe+a.byteLength),0));const c=new Uint8Array(a);let d=0;for(const f of e){if(d+f.byteLength>c.byteLength){const e=f.subarray(0,c.byteLength-d);return c.set(e,d),c}c.set(f,d),d+=f.byteLength}return c},copy:function(e,a,c=0,d=0,f=e.byteLength){if(f>0&&f=e.byteLength)throw new RangeError("sourceStart is out of range");if(f<0)throw new RangeError("sourceEnd is out of range");c>=a.byteLength&&(c=a.byteLength),f>e.byteLength&&(f=e.byteLength),a.byteLength-c=f||d<=c?"":(c<0&&(c=0),d>f&&(d=f),(0!==c||d{function a(e){return e.length}e.exports={byteLength:a,toString:function(e){const a=e.byteLength;let c="";for(let d=0;d{const a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=new Uint8Array(256);for(let f=0;f1&&61===e.charCodeAt(a-1)&&a--,3*a>>>2}c[45]=62,c[95]=63,e.exports={byteLength:d,toString:function(e){const c=e.byteLength;let d="";for(let f=0;f>2]+a[(3&e[f])<<4|e[f+1]>>4]+a[(15&e[f+1])<<2|e[f+2]>>6]+a[63&e[f+2]];return c%3==2?d=d.substring(0,d.length-1)+"=":c%3==1&&(d=d.substring(0,d.length-2)+"=="),d},write:function(e,a,f=0,b=d(a)){const t=Math.min(b,e.byteLength-f);for(let d=0,r=0;r>4,e[r++]=(15&b)<<4|t>>2,e[r++]=(3&t)<<6|63&n}return t}}},39819:e=>{function a(e){return e.length>>>1}function c(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:void 0}e.exports={byteLength:a,toString:function(e){const a=e.byteLength;e=new DataView(e.buffer,e.byteOffset,a);let c="",d=0;for(let f=a-a%4;d{function a(e){return 2*e.length}e.exports={byteLength:a,toString:function(e){const a=e.byteLength;let c="";for(let d=0;d>8,t=f%256;e[d+2*a]=t,e[d+2*a+1]=b}return b}}},30412:e=>{function a(e){let a=0;for(let c=0,d=e.length;c=55296&&f<=56319&&c+1=56320&&d<=57343){a+=4,c++;continue}}a+=f<=127?1:f<=2047?2:3}return a}let c,d;if("undefined"!=typeof TextDecoder){const e=new TextDecoder;c=function(a){return e.decode(a)}}else c=function(e){const a=e.byteLength;let c="",d=0;for(;d0){let a=0;for(;a>d,d-=6;d>=0;)e[r++]=128|a>>d&63,d-=6;t+=a>=65536?2:1}return b};e.exports={byteLength:a,toString:c,write:d}},723:(e,a,c)=>{"use strict";c.d(a,{Z:()=>x});var d=c(67294),f=c(87462),b=c(68356),t=c.n(b),r=c(16887);const n={"0032f96f":[()=>c.e(100).then(c.bind(c,71659)),"@site/docs/sdk/reference/enums/EnvOptions.md",71659],"00ff508f":[()=>c.e(6811).then(c.bind(c,49589)),"@site/docs/protocol/data-schemes/vote.md",49589],"0128e05f":[()=>c.e(2636).then(c.bind(c,58146)),"@site/docs/sdk/reference/classes/FileAPI.md",58146],"01f4109f":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(6781)]).then(c.bind(c,84522)),"@site/docs/vocdoni-api/list-account-received-and-sent-token-transfers.api.mdx",84522],"03c6674d":[()=>c.e(4720).then(c.bind(c,56675)),"@site/docs/sdk/reference/classes/MultiChoiceElection.md",56675],"03d8c746":[()=>c.e(9967).then(c.bind(c,69109)),"@site/docs/sdk/reference/classes/FileService.md",69109],"041c568b":[()=>c.e(9366).then(c.bind(c,92978)),"@site/docs/sdk/reference/interfaces/IVoteEncryptedPackage.md",92978],"080a9ee7":[()=>c.e(3913).then(c.bind(c,62998)),"@site/docs/sdk/reference/enums/CensusTypeEnum.md",62998],"08636a24":[()=>c.e(374).then(c.bind(c,21054)),"@site/docs/sdk/reference/classes/ElectionService.md",21054],"09cca914":[()=>c.e(9410).then(c.bind(c,94455)),"@site/docs/sdk/reference/interfaces/ITallyMode.md",94455],"0a3f3d31":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(5122)]).then(c.bind(c,61890)),"@site/docs/vocdoni-api/list-election-votes.api.mdx",61890],"0af2e8f6":[()=>c.e(2756).then(c.bind(c,48458)),"@site/docs/sdk/reference/interfaces/ICspAuthStep.md",48458],"0bcfcae9":[()=>c.e(6891).then(c.bind(c,36502)),"@site/docs/sdk/reference/classes/Election.md",36502],"0ce9971d":[()=>c.e(6133).then(c.bind(c,76637)),"@site/docs/sdk/reference/classes/StrategyCensus.md",76637],"0f556ffa":[()=>c.e(2467).then(c.bind(c,8207)),"@site/docs/sdk/reference/interfaces/ICensus3TokenTypesResponse.md",8207],"0fa69d70":[()=>c.e(1371).then(c.bind(c,13302)),"@site/docs/sdk/reference/interfaces/ICensusPublishResponse.md",13302],"0fc92a72":[()=>c.e(5253).then(c.bind(c,27084)),"@site/docs/sdk/reference/interfaces/ICensus3ValidatePredicateChild.md",27084],"109756a8":[()=>c.e(2870).then(c.bind(c,88064)),"@site/docs/sdk/reference/classes/ApprovalElection.md",88064],"10dce6d4":[()=>c.e(7493).then(c.bind(c,71333)),"@site/docs/sdk/reference/interfaces/IAccountsListResponse.md",71333],"11667d91":[()=>c.e(1425).then(c.bind(c,50052)),"@site/docs/sdk/reference/interfaces/IMultiChoiceElectionParameters.md",50052],"11bcc7e5":[()=>c.e(534).then(c.bind(c,50514)),"@site/docs/sdk/reference/classes/CspAPI.md",50514],"11d03c56":[()=>c.e(8759).then(c.bind(c,78989)),"@site/docs/protocol/anonymity/on-chain.md",78989],"123fab3b":[()=>Promise.all([c.e(532),c.e(2284),c.e(1739)]).then(c.bind(c,9003)),"@site/docs/vocdoni-api/votes.tag.mdx",9003],"1302233f":[()=>c.e(7926).then(c.bind(c,39845)),"@site/docs/sdk/reference/interfaces/ICspFinalStepResponse.md",39845],"134f4ebc":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(738)]).then(c.bind(c,6002)),"@site/docs/vocdoni-api/set-wallet-account.api.mdx",6002],"13df6360":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(6499)]).then(c.bind(c,11349)),"@site/docs/vocdoni-api/price-factors-information.api.mdx",11349],"15bb616c":[()=>c.e(830).then(c.bind(c,92234)),"@site/docs/protocol/data-schemes/election.md",92234],"16c4bb07":[()=>c.e(7533).then(c.bind(c,21852)),"@site/docs/sdk/reference/interfaces/ICensus3StrategyHoldersResponse.md",21852],"16e8ae75":[()=>c.e(6418).then(c.bind(c,61593)),"@site/docs/sdk/reference/interfaces/IElectionListFilter.md",61593],"1821d9d7":[()=>c.e(1510).then(c.bind(c,3253)),"@site/docs/sdk/reference/interfaces/ICensus3StrategyEstimationQueueResponse.md",3253],"1a4e3797":[()=>Promise.all([c.e(532),c.e(7920)]).then(c.bind(c,39172)),"@theme/SearchPage",39172],"1be78505":[()=>Promise.all([c.e(532),c.e(9514)]).then(c.bind(c,40683)),"@theme/DocPage",40683],"1c3bce93":[()=>c.e(1414).then(c.bind(c,89396)),"@site/docs/sdk/reference/classes/PublishedCensus.md",89396],"1c471216":[()=>c.e(8355).then(c.bind(c,28432)),"@site/docs/development-guidelines/how-we-work.md",28432],"1cd58b57":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(8545)]).then(c.bind(c,9594)),"@site/docs/vocdoni-api/import-census-database.api.mdx",9594],"1cf70006":[()=>c.e(5267).then(c.bind(c,89355)),"@site/docs/ui-components/layout.mdx",89355],"1d5be7b1":[()=>c.e(2428).then(c.bind(c,49986)),"@site/docs/protocol/census/on-chain/on-chain.md",49986],"1dbfd172":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(180)]).then(c.bind(c,74470)),"@site/docs/vocdoni-api/list-all-token-transfers.api.mdx",74470],"1df93b7f":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(3750),c.e(3237)]).then(c.bind(c,39884)),"@site/src/pages/index.tsx",39884],"1e6527e1":[()=>c.e(4719).then(c.bind(c,7490)),"@site/docs/sdk/reference/interfaces/Tx.md",7490],"1e8e5e9a":[()=>c.e(4881).then(c.bind(c,94067)),"@site/docs/sdk/reference/classes/ElectionAPI.md",94067],"1ed63671":[()=>c.e(7998).then(c.bind(c,92064)),"@site/docs/sdk/reference/enums/TransactionType.md",92064],"1edcfddb":[()=>c.e(5288).then(c.bind(c,88593)),"@site/docs/sdk/reference/interfaces/ServiceProperties.md",88593],"21fe5cbf":[()=>c.e(7454).then(c.bind(c,78679)),"@site/docs/sdk/reference/interfaces/IZkProofResponse.md",78679],22155637:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(5268)]).then(c.bind(c,95321)),"@site/docs/vocdoni-api/list-validators.api.mdx",95321],"2340828a":[()=>c.e(4376).then(c.bind(c,20137)),"@site/docs/sdk/reference/classes/FaucetService.md",20137],"23e9e137":[()=>c.e(8016).then(c.bind(c,59841)),"@site/docs/sdk/reference/interfaces/ICensusExportResponse.md",59841],"24ee6be4":[()=>c.e(5326).then(c.bind(c,72109)),"@site/docs/sdk/reference/interfaces/ICensusParticipant.md",72109],"25c97383":[()=>c.e(5673).then(c.bind(c,44073)),"@site/docs/sdk/reference/classes/ZkAPI.md",44073],"260b3d09":[()=>c.e(5214).then(c.bind(c,8077)),"@site/docs/sdk/reference/classes/Service.md",8077],"26fdd686":[()=>c.e(2677).then(c.bind(c,90212)),"@site/docs/development-guidelines/readme-template.md",90212],"2730d8e4":[()=>c.e(8597).then(c.bind(c,81169)),"@site/docs/sdk/reference/interfaces/SetProcessTx.md",81169],"29c8ca5d":[()=>c.e(4463).then(c.bind(c,84677)),"@site/docs/sdk/reference/classes/VoteAPI.md",84677],"2a79697e":[()=>c.e(265).then(c.bind(c,28578)),"@site/docs/sdk/reference/interfaces/IChainFeesListResponse.md",28578],"2dbb09aa":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(5378)]).then(c.bind(c,14010)),"@site/docs/vocdoni-api/count-election-votes.api.mdx",14010],"2eb5a7fb":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(2360)]).then(c.bind(c,17728)),"@site/docs/vocdoni-api/census-merkle-root.api.mdx",17728],"2f59b2ef":[()=>c.e(274).then(c.bind(c,14386)),"@site/docs/sdk/reference/interfaces/ICensus3ValidatePredicateResponse.md",14386],"335f69d6":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(4540)]).then(c.bind(c,37888)),"@site/docs/vocdoni-api/census-total-weight.api.mdx",37888],"377fc202":[()=>c.e(3516).then(c.bind(c,40552)),"@site/docs/sdk/reference/classes/AccountService.md",40552],"388546f3":[()=>Promise.all([c.e(532),c.e(2284),c.e(8999)]).then(c.bind(c,31545)),"@site/docs/vocdoni-api/elections.tag.mdx",31545],"3930cc8a":[()=>Promise.all([c.e(532),c.e(2284),c.e(3168)]).then(c.bind(c,99098)),"@site/docs/vocdoni-api/sik.tag.mdx",99098],"39a96d3a":[()=>c.e(306).then(c.bind(c,66038)),"@site/docs/sdk/reference/interfaces/ElectionMetadata.md",66038],"3aefc2b6":[()=>c.e(3868).then(c.bind(c,43924)),"@site/docs/sdk/reference/classes/TokenCensus.md",43924],"3b56eb8e":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(5978)]).then(c.bind(c,20863)),"@site/docs/vocdoni-api/create-a-new-census.api.mdx",20863],"3b8a1714":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(8740)]).then(c.bind(c,42045)),"@site/docs/vocdoni-api/create-election-for-wallet.api.mdx",42045],"3bea8dc0":[()=>c.e(2645).then(c.bind(c,8727)),"@site/docs/protocol/census/off-chain-csp/api.md",8727],"3c152c78":[()=>c.e(3625).then(c.bind(c,30194)),"@site/docs/sdk/reference/interfaces/ICensus3ValidatePredicateToken.md",30194],"3da0b0fe":[()=>Promise.all([c.e(532),c.e(2284),c.e(656)]).then(c.bind(c,47215)),"@site/docs/vocdoni-api/accounts.tag.mdx",47215],"3fa72254":[()=>c.e(9217).then(c.bind(c,3553)),"@site/docs/sdk/reference/interfaces/IChainOrganizationResponse.md",3553],"404eb028":[()=>c.e(2827).then(c.bind(c,14196)),"@site/docs/sdk/integration-details/voting-types/quadratic.md",14196],"427be892":[()=>c.e(8913).then(c.bind(c,28068)),"@site/docs/protocol/data-schemes/data-schemes.md",28068],"42a7db00":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(1551)]).then(c.bind(c,82085)),"@site/docs/vocdoni-api/build-an-election-id.api.mdx",82085],"437ed742":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(3796)]).then(c.bind(c,7786)),"@site/docs/vocdoni-api/transaction-by-hash.api.mdx",7786],"445f6f2d":[()=>c.e(7456).then(c.bind(c,67006)),"@site/docs/sdk/reference/interfaces/SetAccountTx.md",67006],"467b2519":[()=>c.e(3158).then(c.bind(c,33391)),"@site/docs/sdk/reference/classes/CensusAPI.md",33391],"46b36dc0":[()=>c.e(3082).then(c.bind(c,6815)),"@site/docs/sdk/integration-details/voting-types/weighted.md",6815],"47d20a96":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(1591)]).then(c.bind(c,53190)),"@site/docs/vocdoni-api/compute-ipfs-ci-dv-1-of-file.api.mdx",53190],"47d37469":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(4013)]).then(c.bind(c,44768)),"@site/docs/vocdoni-api/census-size.api.mdx",44768],"491af8ad":[()=>c.e(135).then(c.bind(c,13471)),"@site/docs/sdk/reference/interfaces/IVoteMode.md",13471],"49b14676":[()=>c.e(7583).then(c.bind(c,43127)),"@site/docs/sdk/reference/classes/CspService.md",43127],"4a1ec646":[()=>c.e(5909).then(c.bind(c,23218)),"@site/docs/sdk/integration-details/census-types/off-chain-csp.md",23218],"4adb919a":[()=>c.e(8033).then(c.bind(c,89541)),"@site/docs/sdk/reference/enums/TxType.md",89541],"4b742bf9":[()=>c.e(5882).then(c.bind(c,94266)),"@site/docs/sdk/reference/interfaces/VoteEnvelope.md",94266],"4bef2fb3":[()=>c.e(5277).then(c.bind(c,19662)),"@site/docs/sdk/reference/interfaces/IVoteInfoResponse.md",19662],"4c5e977b":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(3849),c.e(1893)]).then(c.bind(c,46261)),"@theme/ApiItem",46261],"4d61d27d":[()=>c.e(4253).then(c.bind(c,18672)),"@site/docs/sdk/reference/interfaces/ICensus3ServiceInfoResponse.md",18672],"4d66e9ad":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(9202)]).then(c.bind(c,24401)),"@site/docs/vocdoni-api/delete-census.api.mdx",24401],"4e2de210":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(9057)]).then(c.bind(c,13366)),"@site/docs/vocdoni-api/create-election.api.mdx",13366],"4f32f676":[()=>c.e(1187).then(c.bind(c,27888)),"@site/docs/protocol/ballot-protocol.md",27888],"4f59b7e9":[()=>c.e(674).then(c.bind(c,81791)),"@site/docs/sdk/reference/sdk-reference.md",81791],"4f61726b":[()=>c.e(8882).then(c.bind(c,65124)),"@site/docs/sdk/integration-details/vocdoni-tokens.md",65124],"5125b704":[()=>c.e(1205).then(c.bind(c,72906)),"@site/docs/sdk/reference/interfaces/MintTokensTx.md",72906],"5146c3f9":[()=>c.e(9807).then(c.bind(c,25115)),"@site/docs/ui-components/organization.mdx",25115],"515de0d7":[()=>c.e(7136).then(c.bind(c,65073)),"@site/docs/sdk/reference/interfaces/CollectFaucetTx.md",65073],"518b90c0":[()=>c.e(7037).then(c.bind(c,21993)),"@site/docs/protocol/data-schemes/organization.md",21993],"5344dd0e":[()=>c.e(4519).then(c.bind(c,12726)),"@site/docs/sdk/reference/interfaces/IChainOrganizationListResponse.md",12726],"5383e2bf":[()=>c.e(2323).then(c.bind(c,11550)),"@site/docs/sdk/reference/interfaces/SendTokensTx.md",11550],"540d97a1":[()=>c.e(8038).then(c.bind(c,52246)),"@site/docs/protocol/census/off-chain-csp/off-chain-csp.md",52246],"545dbd82":[()=>c.e(8119).then(c.bind(c,23087)),"@site/docs/sdk/reference/classes/Census.md",23087],"54a4f78f":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(2116)]).then(c.bind(c,20249)),"@site/docs/vocdoni-api/submit-a-vote.api.mdx",20249],"54bc495f":[()=>c.e(3706).then(c.bind(c,22110)),"@site/docs/sdk/integration-details/voting-types/single-choice.md",22110],"5708b463":[()=>c.e(5861).then(c.bind(c,97041)),"@site/docs/sdk/reference/interfaces/IChainGetCircuitResponse.md",97041],57136864:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(2192)]).then(c.bind(c,24856)),"@site/docs/vocdoni-api/transactions-count.api.mdx",24856],"576aa68d":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(891)]).then(c.bind(c,32133)),"@site/docs/vocdoni-api/add-participants-to-census.api.mdx",32133],"5945b6f4":[()=>c.e(689).then(c.t.bind(c,83769,19)),"/home/runner/work/developer-portal/developer-portal/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",83769],"5954c450":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(4539)]).then(c.bind(c,51077)),"@site/docs/vocdoni-api/get-vote.api.mdx",51077],"5977a97c":[()=>c.e(9209).then(c.bind(c,8970)),"@site/docs/sdk/reference/interfaces/ICensus3CensusQueueResponse.md",8970],"599fce44":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(4105)]).then(c.bind(c,12300)),"@site/docs/vocdoni-api/list-votes.api.mdx",12300],"59d5b983":[()=>c.e(1557).then(c.bind(c,23791)),"@site/docs/sdk/reference/classes/Account.md",23791],"59e232ee":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(6204)]).then(c.bind(c,50443)),"@site/docs/vocdoni-api/total-number-of-accounts.api.mdx",50443],"5c98d4ea":[()=>c.e(4182).then(c.bind(c,60218)),"@site/docs/sdk/reference/interfaces/IVoteType.md",60218],"5ddc4d53":[()=>c.e(6990).then(c.bind(c,72552)),"@site/docs/sdk/reference/classes/FaucetAPI.md",72552],"5e9f5e1a":[()=>Promise.resolve().then(c.bind(c,36809)),"@generated/docusaurus.config",36809],"5f8415ed":[()=>c.e(9347).then(c.bind(c,76123)),"@site/docs/protocol/anonymity/anonymity.md",76123],"63e7154e":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(2609)]).then(c.bind(c,47852)),"@site/docs/vocdoni-api/list-organizations-filtered.api.mdx",47852],"64aa0b9a":[()=>c.e(3038).then(c.bind(c,73543)),"@site/docs/sdk/reference/interfaces/IChainGetCostsResponse.md",73543],"64c2e320":[()=>c.e(4246).then(c.bind(c,35534)),"@site/docs/sdk/reference/classes/AnonymousService.md",35534],"65d7ebf2":[()=>c.e(3802).then(c.bind(c,76482)),"@site/docs/sdk/reference/interfaces/ICensus3TokenListResponse.md",76482],"65e31fed":[()=>c.e(1871).then(c.t.bind(c,15745,19)),"/home/runner/work/developer-portal/developer-portal/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",15745],"6846a7ba":[()=>c.e(3021).then(c.bind(c,13597)),"@site/docs/sdk/reference/interfaces/IZkSIKResponse.md",13597],"6a011cfc":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(6956)]).then(c.bind(c,35091)),"@site/docs/vocdoni-api/list-all-census-references.api.mdx",35091],"6a02f24e":[()=>c.e(5596).then(c.bind(c,85509)),"@site/docs/sdk/reference/interfaces/IChainTxCountResponse.md",85509],"6aeb5732":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(2277)]).then(c.bind(c,69102)),"@site/docs/vocdoni-api/total-number-of-sent-and-received-transactions.api.mdx",69102],"6b41ffc9":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(6563)]).then(c.bind(c,14701)),"@site/docs/vocdoni-api/compute-election-price.api.mdx",14701],"6b697fd9":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(7813)]).then(c.bind(c,82643)),"@site/docs/vocdoni-api/submit-transaction.api.mdx",82643],"6b74149a":[()=>c.e(9470).then(c.bind(c,47527)),"@site/docs/sdk/reference/interfaces/Process.md",47527],"6b798853":[()=>c.e(8168).then(c.bind(c,38382)),"@site/docs/sdk/reference/interfaces/ICensus3StrategyHoldersResponsePaginated.md",38382],"6bf5cd43":[()=>c.e(6906).then(c.bind(c,81311)),"@site/docs/sdk/reference/interfaces/IElectionCreateResponse.md",81311],"6d3dfbcd":[()=>c.e(7082).then(c.bind(c,29021)),"@site/docs/sdk/reference/interfaces/IChainGetInfoResponse.md",29021],"6e45b099":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(677)]).then(c.bind(c,53947)),"@site/docs/vocdoni-api/check-census-publish-status.api.mdx",53947],"6f005603":[()=>c.e(8901).then(c.bind(c,23173)),"@site/docs/ui-components/react-providers.md",23173],"705711d3":[()=>c.e(8883).then(c.bind(c,85533)),"@site/docs/sdk/reference/interfaces/IAccountTransfersCountResponse.md",85533],"70e3ad0d":[()=>c.e(8930).then(c.bind(c,18157)),"@site/docs/sdk/reference/interfaces/IChainSubmitTxResponse.md",18157],"71f8faad":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(1655)]).then(c.bind(c,9242)),"@site/docs/vocdoni-api/election-information.api.mdx",9242],"725284f7":[()=>c.e(9942).then(c.bind(c,27947)),"@site/docs/sdk/reference/interfaces/FetchElectionsParameters.md",27947],"72dfaf41":[()=>c.e(3215).then(c.bind(c,65846)),"@site/docs/ui-components/index.mdx",65846],"7365c198":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(2079)]).then(c.bind(c,10797)),"@site/docs/vocdoni-api/transaction-by-index.api.mdx",10797],"74b5ba26":[()=>c.e(3773).then(c.bind(c,55317)),"@site/docs/protocol/anonymity/blind-signatures.md",55317],"7603dd20":[()=>c.e(1765).then(c.bind(c,20524)),"@site/docs/protocol/census/on-chain/eth-storage-proofs.md",20524],"7644a8b6":[()=>c.e(5421).then(c.bind(c,52077)),"@site/docs/sdk/reference/interfaces/IElectionListResponse.md",52077],"783013b2":[()=>c.e(7374).then(c.bind(c,46269)),"@site/docs/sdk/reference/classes/CensusService.md",46269],"787465aa":[()=>c.e(7673).then(c.bind(c,96659)),"@site/docs/sdk/reference/classes/AccountAPI.md",96659],"78bbaf06":[()=>c.e(5995).then(c.bind(c,66512)),"@site/docs/sdk/integration-details/voting-types/voting-types.md",66512],"79e28b2f":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(9184)]).then(c.bind(c,1903)),"@site/docs/vocdoni-api/count-organizations.api.mdx",1903],"7acd0d27":[()=>c.e(522).then(c.bind(c,84546)),"@site/docs/sdk/reference/interfaces/CircuitInputs.md",84546],"7b4f5a52":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(8389)]).then(c.bind(c,1175)),"@site/docs/vocdoni-api/transaction-by-block-height-and-index.api.mdx",1175],"7c0d6738":[()=>c.e(1573).then(c.bind(c,40202)),"@site/docs/sdk/reference/classes/Census3StrategyAPI.md",40202],"7ccdd76e":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(2956)]).then(c.bind(c,77437)),"@site/docs/vocdoni-api/publish-census.api.mdx",77437],"80975cc5":[()=>c.e(8004).then(c.t.bind(c,7085,19)),"/home/runner/work/developer-portal/developer-portal/.docusaurus/docusaurus-theme-search-algolia/default/plugin-route-context-module-100.json",7085],"835897f5":[()=>c.e(3227).then(c.bind(c,8223)),"@site/docs/sdk/integration-details/voting-types/ranked.md",8223],"8a23d602":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(2551)]).then(c.bind(c,47241)),"@site/docs/vocdoni-api/export-census-database.api.mdx",47241],"8a92166d":[()=>c.e(6689).then(c.bind(c,61287)),"@site/docs/sdk/reference/interfaces/IEncryptionKey.md",61287],"8b196d05":[()=>c.e(1806).then(c.bind(c,90210)),"@site/docs/sdk/reference/interfaces/ICensus3CensusResponse.md",90210],"8b5652a7":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(2184)]).then(c.bind(c,40765)),"@site/docs/vocdoni-api/list-of-valid-sik-roots.api.mdx",40765],"8d68bc4a":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(8976)]).then(c.bind(c,65697)),"@site/docs/vocdoni-api/transaction-costs.api.mdx",65697],"8d8eb18d":[()=>c.e(5487).then(c.bind(c,24288)),"@site/docs/protocol/census/census.md",24288],"8db7ed3c":[()=>c.e(5210).then(c.bind(c,83373)),"@site/docs/sdk/reference/interfaces/ICspInfoResponse.md",83373],"8e01bad3":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(6135)]).then(c.bind(c,24895)),"@site/docs/vocdoni-api/election-results.api.mdx",24895],"8ec8cf1f":[()=>c.e(8399).then(c.bind(c,6274)),"@site/docs/sdk/reference/interfaces/ICensusImportResponse.md",6274],"8ed7db60":[()=>c.e(2931).then(c.bind(c,39979)),"@site/docs/sdk/reference/interfaces/NewProcessTx.md",39979],"9029ef47":[()=>c.e(1126).then(c.bind(c,61400)),"@site/docs/sdk/reference/interfaces/IElectionKeysResponse.md",61400],92348782:[()=>c.e(9940).then(c.bind(c,52437)),"@site/docs/sdk/reference/interfaces/ICensus3TokenListResponsePaginated.md",52437],"935f2afb":[()=>c.e(53).then(c.t.bind(c,1109,19)),"~docs/default/version-current-metadata-prop-751.json",1109],93908748:[()=>c.e(4805).then(c.bind(c,20951)),"@site/docs/sdk/reference/interfaces/ICensus3TokenHolderResponse.md",20951],"94050a54":[()=>c.e(8180).then(c.bind(c,18967)),"@site/docs/sdk/reference/interfaces/ICensus3StrategiesOperatorsResponse.md",18967],"945f0be5":[()=>c.e(5104).then(c.bind(c,57462)),"@site/docs/sdk/reference/classes/Census3TokenAPI.md",57462],"9611c1ba":[()=>c.e(6567).then(c.bind(c,36543)),"@site/docs/sdk/reference/enums/ElectionResultsTypeNames.md",36543],"9728e091":[()=>c.e(5470).then(c.bind(c,30775)),"@site/docs/sdk/integration-details/census-types/off-chain-tree.md",30775],"999cbc12":[()=>c.e(2600).then(c.bind(c,93106)),"@site/docs/sdk/reference/interfaces/IElectionVote.md",93106],"99a9ad46":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(1290)]).then(c.bind(c,3762)),"@site/docs/vocdoni-api/verify-merkle-proof.api.mdx",3762],"99ffa32d":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(5698)]).then(c.bind(c,69667)),"@site/docs/vocdoni-api/verify-vote.api.mdx",69667],"9b026235":[()=>c.e(9694).then(c.bind(c,98342)),"@site/docs/sdk/reference/interfaces/ICspIntermediateStepResponse.md",98342],"9e4ccdce":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(9128)]).then(c.bind(c,18918)),"@site/docs/vocdoni-api/estimate-block-to-date.api.mdx",18918],"9ea3e4a5":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(4820)]).then(c.bind(c,94369)),"@site/docs/vocdoni-api/export-census.api.mdx",94369],"9f384d53":[()=>c.e(5058).then(c.bind(c,56697)),"@site/docs/sdk/reference/interfaces/IChainValidator.md",56697],"9f9eec24":[()=>c.e(1094).then(c.bind(c,55218)),"@site/docs/sdk/reference/interfaces/IChainValidatorsListResponse.md",55218],a10fd229:[()=>c.e(2720).then(c.bind(c,63966)),"@site/docs/ui-components/election.mdx",63966],a21738db:[()=>c.e(3334).then(c.bind(c,90591)),"@site/docs/protocol/index.md",90591],a217fb3c:[()=>c.e(6386).then(c.bind(c,15079)),"@site/docs/sdk/reference/classes/WeightedCensus.md",15079],a2cbb706:[()=>c.e(1966).then(c.bind(c,5130)),"@site/docs/sdk/reference/classes/ChainService.md",5130],a674c74b:[()=>c.e(6412).then(c.bind(c,22006)),"@site/docs/sdk/reference/classes/PlainCensus.md",22006],a7835d3e:[()=>c.e(6723).then(c.bind(c,46887)),"@site/docs/sdk/reference/classes/AnonymousVote.md",46887],a7c28e13:[()=>c.e(7862).then(c.bind(c,51659)),"@site/docs/sdk/integration-details/census-types/census-types.md",51659],a87232fc:[()=>c.e(7347).then(c.bind(c,43556)),"@site/docs/sdk/reference/interfaces/ICensus3SupportedChain.md",43556],aa9e799f:[()=>c.e(4183).then(c.bind(c,95618)),"@site/docs/sdk/integration-details/census-types/on-chain/on-chain.md",95618],aab6ad66:[()=>c.e(260).then(c.bind(c,9034)),"@site/docs/sdk/reference/classes/ArchivedElection.md",9034],ac57e32f:[()=>c.e(848).then(c.bind(c,25280)),"@site/docs/sdk/reference/enums/CspProofType.md",25280],ace89945:[()=>c.e(7612).then(c.bind(c,45613)),"@site/docs/sdk/reference/interfaces/IAccount.md",45613],ad99c2e7:[()=>c.e(4600).then(c.bind(c,28794)),"@site/docs/sdk/reference/interfaces/AdminTx.md",28794],ae74964d:[()=>c.e(297).then(c.bind(c,887)),"@site/docs/sdk/reference/classes/CspVote.md",887],ae785ce1:[()=>c.e(3496).then(c.bind(c,85877)),"@site/docs/sdk/reference/interfaces/IPublishedElectionParameters.md",85877],af3402af:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(6425)]).then(c.bind(c,23761)),"@site/docs/vocdoni-api/circuit-info.api.mdx",23761],af55f10e:[()=>c.e(5580).then(c.bind(c,26224)),"@site/docs/sdk/reference/classes/VocdoniCensus3Client.md",26224],af663d33:[()=>c.e(4721).then(c.bind(c,14063)),"@site/docs/sdk/reference/interfaces/IAccountsCountResponse.md",14063],b0b03425:[()=>Promise.all([c.e(532),c.e(2284),c.e(3023)]).then(c.bind(c,40062)),"@site/docs/vocdoni-api/chain.tag.mdx",40062],b0d01e95:[()=>c.e(1968).then(c.bind(c,29542)),"@site/docs/sdk/reference/interfaces/IElectionInfoResponse.md",29542],b157c9db:[()=>c.e(6861).then(c.bind(c,7850)),"@site/docs/ui-components/account.mdx",7850],b16aadd2:[()=>c.e(7055).then(c.bind(c,23237)),"@site/docs/sdk/01-tutorial.md",23237],b212ee85:[()=>c.e(9232).then(c.bind(c,66962)),"@site/docs/protocol/census/on-chain/census3.md",66962],b2b5a0c0:[()=>c.e(1270).then(c.bind(c,90002)),"@site/docs/sdk/reference/interfaces/IChainOrganizationCountResponse.md",90002],b3153972:[()=>c.e(7631).then(c.bind(c,28493)),"@site/docs/sdk/reference/interfaces/ICensus3StrategiesListResponse.md",28493],b491e6b8:[()=>c.e(2859).then(c.bind(c,77122)),"@site/docs/sdk/reference/interfaces/IChoice.md",77122],b5881b04:[()=>c.e(9589).then(c.bind(c,27382)),"@site/docs/sdk/reference/interfaces/IElectionMode.md",27382],b7cc9ed0:[()=>c.e(9097).then(c.bind(c,31233)),"@site/docs/sdk/reference/enums/ElectionStatus.md",31233],b7def961:[()=>c.e(1011).then(c.bind(c,96350)),"@site/docs/sdk/integration-details/integration-details.md",96350],b80cad64:[()=>c.e(8149).then(c.bind(c,38254)),"@site/docs/sdk/reference/interfaces/IBlockTransactionsResponse.md",38254],b83e4bd7:[()=>c.e(9229).then(c.bind(c,14484)),"@site/docs/sdk/reference/interfaces/IVoteSubmitResponse.md",14484],b862b811:[()=>c.e(9756).then(c.bind(c,7453)),"@site/docs/sdk/reference/interfaces/ICensus3StrategiesListResponsePaginated.md",7453],b8b370b8:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(7592)]).then(c.bind(c,56721)),"@site/docs/vocdoni-api/list-account-token-fees.api.mdx",56721],bddc6002:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(47)]).then(c.bind(c,53982)),"@site/docs/vocdoni-api/transactions-in-a-block.api.mdx",53982],bec6d9ae:[()=>c.e(211).then(c.bind(c,64793)),"@site/docs/sdk/reference/interfaces/AccountMetadata.md",64793],bfbab14f:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(7799)]).then(c.bind(c,52438)),"@site/docs/vocdoni-api/prove-key-to-census.api.mdx",52438],c121c8d5:[()=>c.e(3195).then(c.bind(c,73535)),"@site/docs/sdk/reference/interfaces/Proof.md",73535],c12940ed:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(182)]).then(c.bind(c,46275)),"@site/docs/vocdoni-api/list-encryption-keys.api.mdx",46275],c2c73492:[()=>c.e(1865).then(c.bind(c,20788)),"@site/docs/sdk/reference/interfaces/IElectionVoteListResponse.md",20788],c4573554:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(4259)]).then(c.bind(c,15980)),"@site/docs/vocdoni-api/list-organization-elections.api.mdx",15980],c5434c58:[()=>c.e(7694).then(c.bind(c,19216)),"@site/docs/sdk/reference/interfaces/RegisterKeyTx.md",19216],c626f2cc:[()=>c.e(422).then(c.bind(c,41300)),"@site/docs/sdk/reference/classes/VocdoniSDKClient.md",41300],c84aae18:[()=>c.e(4324).then(c.bind(c,13083)),"@site/docs/sdk/reference/classes/BudgetElection.md",13083],c87cc133:[()=>c.e(4674).then(c.bind(c,33392)),"@site/docs/sdk/reference/classes/Census3ServiceAPI.md",33392],c8cd88a5:[()=>Promise.all([c.e(532),c.e(1597)]).then(c.bind(c,51910)),"@site/docs/vocdoni-api/vocdoni-api.info.mdx",51910],caece487:[()=>c.e(8161).then(c.bind(c,72227)),"@site/docs/sdk/reference/interfaces/SetTransactionCostsTx.md",72227],cb94bb2a:[()=>c.e(6165).then(c.bind(c,5313)),"@site/docs/sdk/reference/interfaces/IVotePackage.md",5313],cce83bc5:[()=>c.e(6686).then(c.bind(c,49466)),"@site/docs/sdk/reference/interfaces/IElectionSummary.md",49466],d234883f:[()=>c.e(8277).then(c.bind(c,19574)),"@site/docs/protocol/anonymity/zk-census-proof.md",19574],d250e750:[()=>c.e(5677).then(c.bind(c,96405)),"@site/docs/sdk/reference/interfaces/IQuestion.md",96405],d28adde9:[()=>c.e(4201).then(c.bind(c,92701)),"@site/docs/sdk/reference/interfaces/ICensus.md",92701],d2ab4b32:[()=>c.e(1935).then(c.bind(c,86894)),"@site/docs/sdk/reference/enums/ElectionCreationSteps.md",86894],d46fdf20:[()=>c.e(3044).then(c.bind(c,11260)),"@site/docs/sdk/reference/interfaces/IBudgetElectionParametersInfo.md",11260],d4ce7faf:[()=>c.e(3754).then(c.bind(c,49993)),"@site/docs/sdk/reference/classes/PublishedElection.md",49993],d4d2d783:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(7071)]).then(c.bind(c,48652)),"@site/docs/vocdoni-api/get-block-by-hash.api.mdx",48652],d5851cb1:[()=>c.e(3013).then(c.bind(c,39768)),"@site/docs/sdk/reference/interfaces/ICensusProofResponse.md",39768],d6b477f2:[()=>c.e(1378).then(c.bind(c,16193)),"@site/docs/sdk/reference/interfaces/IElectionParameters.md",16193],d6e648af:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(3086)]).then(c.bind(c,76676)),"@site/docs/vocdoni-api/transfer-tokens.api.mdx",76676],d7045d55:[()=>c.e(649).then(c.bind(c,2126)),"@site/docs/development-guidelines/index.md",2126],d71b54cc:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(1786)]).then(c.bind(c,71824)),"@site/docs/vocdoni-api/get-type-of-census.api.mdx",71824],d79e07b2:[()=>c.e(1054).then(c.bind(c,79581)),"@site/docs/sdk/reference/interfaces/ICensus3StrategyToken.md",79581],d7d13fd1:[()=>c.e(2005).then(c.bind(c,56065)),"@site/docs/sdk/reference/interfaces/IBudgetElectionParametersWithCensusWeight.md",56065],d8c91af8:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(1528)]).then(c.bind(c,76382)),"@site/docs/vocdoni-api/returns-if-the-address-provided-has-a-valid-sik.api.mdx",76382],d8c992a6:[()=>c.e(2175).then(c.bind(c,87512)),"@site/docs/sdk/reference/interfaces/ICensus3CensusListResponse.md",87512],d94ccd67:[()=>c.e(67).then(c.bind(c,11021)),"@site/docs/sdk/reference/classes/ChainAPI.md",11021],d95cd4ff:[()=>c.e(4019).then(c.bind(c,44474)),"@site/docs/sdk/integration-details/voting-types/approval.md",44474],d970501b:[()=>c.e(1357).then(c.bind(c,73846)),"@site/docs/sdk/reference/interfaces/IInvalidElectionParameters.md",73846],d9f2d88a:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(6142)]).then(c.bind(c,88773)),"@site/docs/vocdoni-api/list-of-the-existing-accounts.api.mdx",88773],dae27e03:[()=>c.e(1738).then(c.bind(c,10146)),"@site/docs/sdk/reference/interfaces/IChainTxReference.md",10146],db5a5176:[()=>c.e(1173).then(c.bind(c,79677)),"@site/docs/sdk/reference/classes/OffchainCensus.md",79677],dcb8c93b:[()=>c.e(8048).then(c.bind(c,38059)),"@site/docs/protocol/census/off-chain-tree.md",38059],ddb99459:[()=>c.e(9379).then(c.bind(c,72221)),"@site/docs/sdk/reference/interfaces/IApprovalElectionParameters.md",72221],dded7333:[()=>c.e(2329).then(c.bind(c,96274)),"@site/docs/sdk/reference/classes/UnpublishedElection.md",96274],de66f94a:[()=>c.e(2691).then(c.bind(c,1306)),"@site/docs/sdk/reference/interfaces/ICensus3StrategyCreateResponse.md",1306],df5c78e6:[()=>Promise.all([c.e(532),c.e(2284),c.e(173)]).then(c.bind(c,96072)),"@site/docs/vocdoni-api/wallet.tag.mdx",96072],dfccb580:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(1142)]).then(c.bind(c,20597)),"@site/docs/vocdoni-api/vochain-information.api.mdx",20597],dffc9575:[()=>c.e(6873).then(c.bind(c,97971)),"@site/docs/sdk/reference/interfaces/IChainTxListResponse.md",97971],e0557e97:[()=>c.e(9203).then(c.bind(c,57047)),"@site/docs/sdk/index.md",57047],e07651bc:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(1084)]).then(c.bind(c,77257)),"@site/docs/vocdoni-api/list-transactions.api.mdx",77257],e1594dfa:[()=>c.e(8257).then(c.bind(c,48021)),"@site/docs/sdk/reference/interfaces/IElectionNextIdResponse.md",48021],e20b99b5:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(6220)]).then(c.bind(c,21848)),"@site/docs/vocdoni-api/get-block-by-height.api.mdx",21848],e24c431f:[()=>c.e(2872).then(c.bind(c,67864)),"@site/docs/sdk/integration-details/census-types/on-chain/complex-census.md",67864],e3461e1c:[()=>c.e(9849).then(c.bind(c,81870)),"@site/docs/sdk/reference/classes/CspCensus.md",81870],e6e6cd34:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(469)]).then(c.bind(c,9373)),"@site/docs/vocdoni-api/list-organization-elections-by-status.api.mdx",9373],e7df0fec:[()=>c.e(248).then(c.bind(c,74554)),"@site/docs/sdk/reference/interfaces/ICensus3StrategyImportQueueResponse.md",74554],e964279c:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(9875)]).then(c.bind(c,95845)),"@site/docs/vocdoni-api/list-elections.api.mdx",95845],e9c5307c:[()=>Promise.all([c.e(532),c.e(2284),c.e(2470)]).then(c.bind(c,84416)),"@site/docs/vocdoni-api/censuses.tag.mdx",84416],ea27d690:[()=>c.e(4108).then(c.bind(c,52653)),"@site/docs/sdk/reference/interfaces/IChainBlockInfoResponse.md",52653],ea74a8a9:[()=>c.e(2832).then(c.bind(c,21047)),"@site/docs/sdk/reference/interfaces/ICensus3StrategiesOperator.md",21047],ec0516f7:[()=>c.e(2050).then(c.bind(c,14510)),"@site/docs/sdk/reference/classes/Vote.md",14510],ed25d525:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(5347)]).then(c.bind(c,7615)),"@site/docs/vocdoni-api/get-account.api.mdx",7615],ed5700b4:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(8493)]).then(c.bind(c,2364)),"@site/docs/vocdoni-api/count-organization-elections.api.mdx",2364],ed887fb8:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(7165)]).then(c.bind(c,43970)),"@site/docs/vocdoni-api/set-account.api.mdx",43970],ee2798c9:[()=>c.e(4635).then(c.bind(c,98272)),"@site/docs/sdk/reference/enums/VoteSteps.md",98272],ef46077c:[()=>c.e(3786).then(c.bind(c,53869)),"@site/docs/sdk/reference/interfaces/ICspSignResponse.md",53869],efcaecf7:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(4792)]).then(c.bind(c,19243)),"@site/docs/vocdoni-api/list-organizations.api.mdx",19243],effdce5d:[()=>c.e(6483).then(c.bind(c,16938)),"@site/docs/sdk/reference/classes/InvalidElection.md",16938],f116289e:[()=>c.e(6349).then(c.bind(c,5431)),"@site/docs/sdk/reference/interfaces/IBudgetElectionParametersWithBudget.md",5431],f50a63d5:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(3987)]).then(c.bind(c,85089)),"@site/docs/vocdoni-api/list-elections-filtered.api.mdx",85089],f601f941:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(3665)]).then(c.bind(c,59872)),"@site/docs/vocdoni-api/list-all-token-fees-by-reference.api.mdx",59872],f64e1fa2:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(1317)]).then(c.bind(c,54975)),"@site/docs/vocdoni-api/list-all-token-fees.api.mdx",54975],f77e462c:[()=>c.e(2975).then(c.bind(c,59186)),"@site/docs/sdk/reference/enums/CensusType.md",59186],f8409a7e:[()=>c.e(3206).then(c.bind(c,37199)),"@site/docs/intro.mdx",37199],f8d5f1d3:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(8756)]).then(c.bind(c,284)),"@site/docs/vocdoni-api/estimate-date-to-block.api.mdx",284],f9b740ff:[()=>c.e(4243).then(c.bind(c,86548)),"@site/docs/sdk/reference/enums/ElectionStatusReady.md",86548],fc158ac8:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(5642)]).then(c.bind(c,41937)),"@site/docs/vocdoni-api/list-all-token-fees-by-type.api.mdx",41937],fc1a6383:[()=>c.e(5220).then(c.bind(c,92751)),"@site/docs/sdk/reference/interfaces/IElectionType.md",92751],fc441bf1:[()=>c.e(9192).then(c.bind(c,90821)),"@site/docs/sdk/reference/enums/CensusOrigin.md",90821],fcca6750:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(5913)]).then(c.bind(c,55364)),"@site/docs/vocdoni-api/exports-the-indexer-database.api.mdx",55364],fd8596db:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(1117)]).then(c.bind(c,19227)),"@site/docs/vocdoni-api/add-account.api.mdx",19227],fe008fee:[()=>c.e(2733).then(c.bind(c,38222)),"@site/docs/sdk/reference/classes/Census3CensusAPI.md",38222],fe83dea5:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(8253)]).then(c.bind(c,12592)),"@site/docs/vocdoni-api/import-census.api.mdx",12592],fe9260cd:[()=>c.e(1132).then(c.bind(c,50031)),"@site/docs/sdk/reference/changelog.md",50031],ff7cb792:[()=>c.e(2241).then(c.bind(c,61292)),"@site/docs/sdk/reference/classes/WalletAPI.md",61292],ffeeb722:[()=>c.e(992).then(c.bind(c,94100)),"@site/docs/sdk/reference/classes/VoteService.md",94100]};function i(e){let{error:a,retry:c,pastDelay:f}=e;return a?d.createElement("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"}},d.createElement("p",null,String(a)),d.createElement("div",null,d.createElement("button",{type:"button",onClick:c},"Retry"))):f?d.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"}},d.createElement("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb"},d.createElement("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2"},d.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},d.createElement("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),d.createElement("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),d.createElement("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),d.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},d.createElement("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),d.createElement("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),d.createElement("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),d.createElement("circle",{cx:"22",cy:"22",r:"8"},d.createElement("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"}))))):null}var o=c(99670),s=c(30226);function l(e,a){if("*"===e)return t()({loading:i,loader:()=>c.e(4972).then(c.bind(c,4972)),modules:["@theme/NotFound"],webpack:()=>[4972],render(e,a){const c=e.default;return d.createElement(s.z,{value:{plugin:{name:"native",id:"default"}}},d.createElement(c,a))}});const b=r[`${e}-${a}`],l={},x=[],u=[],h=(0,o.Z)(b);return Object.entries(h).forEach((e=>{let[a,c]=e;const d=n[c];d&&(l[a]=d[0],x.push(d[1]),u.push(d[2]))})),t().Map({loading:i,loader:l,modules:x,webpack:()=>u,render(a,c){const t=JSON.parse(JSON.stringify(b));Object.entries(a).forEach((a=>{let[c,d]=a;const f=d.default;if(!f)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof f&&"function"!=typeof f||Object.keys(d).filter((e=>"default"!==e)).forEach((e=>{f[e]=d[e]}));let b=t;const r=c.split(".");r.slice(0,-1).forEach((e=>{b=b[e]})),b[r[r.length-1]]=f}));const r=t.__comp;delete t.__comp;const n=t.__context;return delete t.__context,d.createElement(s.z,{value:n},d.createElement(r,(0,f.Z)({},t,c)))}})}const x=[{path:"/search",component:l("/search","171"),exact:!0},{path:"/",component:l("/","70b"),exact:!0},{path:"/",component:l("/","744"),routes:[{path:"/development-guidelines",component:l("/development-guidelines","dc0"),exact:!0,sidebar:"defaultSidebar"},{path:"/development-guidelines/how-we-work",component:l("/development-guidelines/how-we-work","bdf"),exact:!0,sidebar:"defaultSidebar"},{path:"/development-guidelines/readme-template",component:l("/development-guidelines/readme-template","46a"),exact:!0,sidebar:"defaultSidebar"},{path:"/intro",component:l("/intro","ca9"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol",component:l("/protocol","4f3"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/anonymity",component:l("/protocol/anonymity","286"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/anonymity/blind-signatures",component:l("/protocol/anonymity/blind-signatures","6c6"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/anonymity/on-chain",component:l("/protocol/anonymity/on-chain","746"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/anonymity/zk-census-proof",component:l("/protocol/anonymity/zk-census-proof","0dd"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/ballot-protocol",component:l("/protocol/ballot-protocol","9e7"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/census",component:l("/protocol/census","f2b"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/census/off-chain-csp",component:l("/protocol/census/off-chain-csp","4e0"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/census/off-chain-csp/api",component:l("/protocol/census/off-chain-csp/api","72b"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/census/off-chain-tree",component:l("/protocol/census/off-chain-tree","add"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/census/on-chain",component:l("/protocol/census/on-chain","a41"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/census/on-chain/census3",component:l("/protocol/census/on-chain/census3","3c0"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/census/on-chain/eth-storage-proofs",component:l("/protocol/census/on-chain/eth-storage-proofs","314"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/data-schemes",component:l("/protocol/data-schemes","684"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/data-schemes/election",component:l("/protocol/data-schemes/election","8b1"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/data-schemes/organization",component:l("/protocol/data-schemes/organization","38b"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/data-schemes/vote",component:l("/protocol/data-schemes/vote","252"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk",component:l("/sdk","857"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details",component:l("/sdk/integration-details","e26"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/census-types",component:l("/sdk/integration-details/census-types","bf5"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/census-types/off-chain-csp",component:l("/sdk/integration-details/census-types/off-chain-csp","3b8"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/census-types/off-chain-tree",component:l("/sdk/integration-details/census-types/off-chain-tree","a5e"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/census-types/on-chain",component:l("/sdk/integration-details/census-types/on-chain","5e4"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/census-types/on-chain/complex-census",component:l("/sdk/integration-details/census-types/on-chain/complex-census","dee"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/vocdoni-tokens",component:l("/sdk/integration-details/vocdoni-tokens","806"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/voting-types",component:l("/sdk/integration-details/voting-types","ffb"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/voting-types/approval",component:l("/sdk/integration-details/voting-types/approval","7cd"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/voting-types/quadratic",component:l("/sdk/integration-details/voting-types/quadratic","6e8"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/voting-types/ranked",component:l("/sdk/integration-details/voting-types/ranked","639"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/voting-types/single-choice",component:l("/sdk/integration-details/voting-types/single-choice","60e"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/voting-types/weighted",component:l("/sdk/integration-details/voting-types/weighted","3e1"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/changelog",component:l("/sdk/reference/changelog","092"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/Account",component:l("/sdk/reference/classes/Account","4b7"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/AccountAPI",component:l("/sdk/reference/classes/AccountAPI","c96"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/AccountService",component:l("/sdk/reference/classes/AccountService","3d2"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/AnonymousService",component:l("/sdk/reference/classes/AnonymousService","459"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/AnonymousVote",component:l("/sdk/reference/classes/AnonymousVote","873"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/ApprovalElection",component:l("/sdk/reference/classes/ApprovalElection","f04"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/ArchivedElection",component:l("/sdk/reference/classes/ArchivedElection","00d"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/BudgetElection",component:l("/sdk/reference/classes/BudgetElection","0b6"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/Census",component:l("/sdk/reference/classes/Census","a71"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/Census3CensusAPI",component:l("/sdk/reference/classes/Census3CensusAPI","c3a"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/Census3ServiceAPI",component:l("/sdk/reference/classes/Census3ServiceAPI","7b6"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/Census3StrategyAPI",component:l("/sdk/reference/classes/Census3StrategyAPI","056"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/Census3TokenAPI",component:l("/sdk/reference/classes/Census3TokenAPI","a0e"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/CensusAPI",component:l("/sdk/reference/classes/CensusAPI","1e8"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/CensusService",component:l("/sdk/reference/classes/CensusService","5f2"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/ChainAPI",component:l("/sdk/reference/classes/ChainAPI","08b"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/ChainService",component:l("/sdk/reference/classes/ChainService","424"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/CspAPI",component:l("/sdk/reference/classes/CspAPI","e80"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/CspCensus",component:l("/sdk/reference/classes/CspCensus","66e"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/CspService",component:l("/sdk/reference/classes/CspService","3dc"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/CspVote",component:l("/sdk/reference/classes/CspVote","c3c"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/Election",component:l("/sdk/reference/classes/Election","c48"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/ElectionAPI",component:l("/sdk/reference/classes/ElectionAPI","441"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/ElectionService",component:l("/sdk/reference/classes/ElectionService","533"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/FaucetAPI",component:l("/sdk/reference/classes/FaucetAPI","420"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/FaucetService",component:l("/sdk/reference/classes/FaucetService","32f"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/FileAPI",component:l("/sdk/reference/classes/FileAPI","f1e"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/FileService",component:l("/sdk/reference/classes/FileService","93c"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/InvalidElection",component:l("/sdk/reference/classes/InvalidElection","9cf"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/MultiChoiceElection",component:l("/sdk/reference/classes/MultiChoiceElection","0b1"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/OffchainCensus",component:l("/sdk/reference/classes/OffchainCensus","d39"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/PlainCensus",component:l("/sdk/reference/classes/PlainCensus","858"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/PublishedCensus",component:l("/sdk/reference/classes/PublishedCensus","902"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/PublishedElection",component:l("/sdk/reference/classes/PublishedElection","f5c"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/Service",component:l("/sdk/reference/classes/Service","6cc"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/StrategyCensus",component:l("/sdk/reference/classes/StrategyCensus","b1b"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/TokenCensus",component:l("/sdk/reference/classes/TokenCensus","27f"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/UnpublishedElection",component:l("/sdk/reference/classes/UnpublishedElection","664"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/VocdoniCensus3Client",component:l("/sdk/reference/classes/VocdoniCensus3Client","be3"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/VocdoniSDKClient",component:l("/sdk/reference/classes/VocdoniSDKClient","5c3"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/Vote",component:l("/sdk/reference/classes/Vote","9e7"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/VoteAPI",component:l("/sdk/reference/classes/VoteAPI","649"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/VoteService",component:l("/sdk/reference/classes/VoteService","dea"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/WalletAPI",component:l("/sdk/reference/classes/WalletAPI","448"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/WeightedCensus",component:l("/sdk/reference/classes/WeightedCensus","746"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/ZkAPI",component:l("/sdk/reference/classes/ZkAPI","44a"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/CensusOrigin",component:l("/sdk/reference/enums/CensusOrigin","58f"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/CensusType",component:l("/sdk/reference/enums/CensusType","e40"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/CensusTypeEnum",component:l("/sdk/reference/enums/CensusTypeEnum","1e7"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/CspProofType",component:l("/sdk/reference/enums/CspProofType","163"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/ElectionCreationSteps",component:l("/sdk/reference/enums/ElectionCreationSteps","b5f"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/ElectionResultsTypeNames",component:l("/sdk/reference/enums/ElectionResultsTypeNames","852"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/ElectionStatus",component:l("/sdk/reference/enums/ElectionStatus","db7"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/ElectionStatusReady",component:l("/sdk/reference/enums/ElectionStatusReady","d13"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/EnvOptions",component:l("/sdk/reference/enums/EnvOptions","81f"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/TransactionType",component:l("/sdk/reference/enums/TransactionType","bf2"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/TxType",component:l("/sdk/reference/enums/TxType","c44"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/VoteSteps",component:l("/sdk/reference/enums/VoteSteps","36c"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/AccountMetadata",component:l("/sdk/reference/interfaces/AccountMetadata","eca"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/AdminTx",component:l("/sdk/reference/interfaces/AdminTx","fc2"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/CircuitInputs",component:l("/sdk/reference/interfaces/CircuitInputs","823"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/CollectFaucetTx",component:l("/sdk/reference/interfaces/CollectFaucetTx","7d0"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ElectionMetadata",component:l("/sdk/reference/interfaces/ElectionMetadata","5c6"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/FetchElectionsParameters",component:l("/sdk/reference/interfaces/FetchElectionsParameters","30b"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IAccount",component:l("/sdk/reference/interfaces/IAccount","a20"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IAccountsCountResponse",component:l("/sdk/reference/interfaces/IAccountsCountResponse","d77"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IAccountsListResponse",component:l("/sdk/reference/interfaces/IAccountsListResponse","2ef"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IAccountTransfersCountResponse",component:l("/sdk/reference/interfaces/IAccountTransfersCountResponse","236"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IApprovalElectionParameters",component:l("/sdk/reference/interfaces/IApprovalElectionParameters","73c"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IBlockTransactionsResponse",component:l("/sdk/reference/interfaces/IBlockTransactionsResponse","c5b"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IBudgetElectionParametersInfo",component:l("/sdk/reference/interfaces/IBudgetElectionParametersInfo","6d4"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IBudgetElectionParametersWithBudget",component:l("/sdk/reference/interfaces/IBudgetElectionParametersWithBudget","c2f"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IBudgetElectionParametersWithCensusWeight",component:l("/sdk/reference/interfaces/IBudgetElectionParametersWithCensusWeight","1a7"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus",component:l("/sdk/reference/interfaces/ICensus","565"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3CensusListResponse",component:l("/sdk/reference/interfaces/ICensus3CensusListResponse","e3e"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3CensusQueueResponse",component:l("/sdk/reference/interfaces/ICensus3CensusQueueResponse","858"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3CensusResponse",component:l("/sdk/reference/interfaces/ICensus3CensusResponse","4be"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3ServiceInfoResponse",component:l("/sdk/reference/interfaces/ICensus3ServiceInfoResponse","b0b"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3StrategiesListResponse",component:l("/sdk/reference/interfaces/ICensus3StrategiesListResponse","f71"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3StrategiesListResponsePaginated",component:l("/sdk/reference/interfaces/ICensus3StrategiesListResponsePaginated","ba4"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3StrategiesOperator",component:l("/sdk/reference/interfaces/ICensus3StrategiesOperator","661"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3StrategiesOperatorsResponse",component:l("/sdk/reference/interfaces/ICensus3StrategiesOperatorsResponse","a61"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3StrategyCreateResponse",component:l("/sdk/reference/interfaces/ICensus3StrategyCreateResponse","0ec"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3StrategyEstimationQueueResponse",component:l("/sdk/reference/interfaces/ICensus3StrategyEstimationQueueResponse","e02"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3StrategyHoldersResponse",component:l("/sdk/reference/interfaces/ICensus3StrategyHoldersResponse","445"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3StrategyHoldersResponsePaginated",component:l("/sdk/reference/interfaces/ICensus3StrategyHoldersResponsePaginated","240"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3StrategyImportQueueResponse",component:l("/sdk/reference/interfaces/ICensus3StrategyImportQueueResponse","197"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3StrategyToken",component:l("/sdk/reference/interfaces/ICensus3StrategyToken","844"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3SupportedChain",component:l("/sdk/reference/interfaces/ICensus3SupportedChain","cbd"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3TokenHolderResponse",component:l("/sdk/reference/interfaces/ICensus3TokenHolderResponse","c9f"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3TokenListResponse",component:l("/sdk/reference/interfaces/ICensus3TokenListResponse","5af"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3TokenListResponsePaginated",component:l("/sdk/reference/interfaces/ICensus3TokenListResponsePaginated","b69"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3TokenTypesResponse",component:l("/sdk/reference/interfaces/ICensus3TokenTypesResponse","13c"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3ValidatePredicateChild",component:l("/sdk/reference/interfaces/ICensus3ValidatePredicateChild","ed2"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3ValidatePredicateResponse",component:l("/sdk/reference/interfaces/ICensus3ValidatePredicateResponse","d24"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3ValidatePredicateToken",component:l("/sdk/reference/interfaces/ICensus3ValidatePredicateToken","4cd"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensusExportResponse",component:l("/sdk/reference/interfaces/ICensusExportResponse","a9a"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensusImportResponse",component:l("/sdk/reference/interfaces/ICensusImportResponse","77c"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensusParticipant",component:l("/sdk/reference/interfaces/ICensusParticipant","9b0"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensusProofResponse",component:l("/sdk/reference/interfaces/ICensusProofResponse","dfb"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensusPublishResponse",component:l("/sdk/reference/interfaces/ICensusPublishResponse","3a7"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainBlockInfoResponse",component:l("/sdk/reference/interfaces/IChainBlockInfoResponse","bfc"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainFeesListResponse",component:l("/sdk/reference/interfaces/IChainFeesListResponse","a01"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainGetCircuitResponse",component:l("/sdk/reference/interfaces/IChainGetCircuitResponse","dfd"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainGetCostsResponse",component:l("/sdk/reference/interfaces/IChainGetCostsResponse","9b1"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainGetInfoResponse",component:l("/sdk/reference/interfaces/IChainGetInfoResponse","1cd"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainOrganizationCountResponse",component:l("/sdk/reference/interfaces/IChainOrganizationCountResponse","53f"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainOrganizationListResponse",component:l("/sdk/reference/interfaces/IChainOrganizationListResponse","e0c"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainOrganizationResponse",component:l("/sdk/reference/interfaces/IChainOrganizationResponse","663"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainSubmitTxResponse",component:l("/sdk/reference/interfaces/IChainSubmitTxResponse","cfa"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainTxCountResponse",component:l("/sdk/reference/interfaces/IChainTxCountResponse","526"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainTxListResponse",component:l("/sdk/reference/interfaces/IChainTxListResponse","c57"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainTxReference",component:l("/sdk/reference/interfaces/IChainTxReference","804"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainValidator",component:l("/sdk/reference/interfaces/IChainValidator","932"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainValidatorsListResponse",component:l("/sdk/reference/interfaces/IChainValidatorsListResponse","bdb"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChoice",component:l("/sdk/reference/interfaces/IChoice","21d"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICspAuthStep",component:l("/sdk/reference/interfaces/ICspAuthStep","9aa"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICspFinalStepResponse",component:l("/sdk/reference/interfaces/ICspFinalStepResponse","c96"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICspInfoResponse",component:l("/sdk/reference/interfaces/ICspInfoResponse","580"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICspIntermediateStepResponse",component:l("/sdk/reference/interfaces/ICspIntermediateStepResponse","895"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICspSignResponse",component:l("/sdk/reference/interfaces/ICspSignResponse","9e5"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionCreateResponse",component:l("/sdk/reference/interfaces/IElectionCreateResponse","f95"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionInfoResponse",component:l("/sdk/reference/interfaces/IElectionInfoResponse","bcf"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionKeysResponse",component:l("/sdk/reference/interfaces/IElectionKeysResponse","db8"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionListFilter",component:l("/sdk/reference/interfaces/IElectionListFilter","f8b"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionListResponse",component:l("/sdk/reference/interfaces/IElectionListResponse","acd"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionMode",component:l("/sdk/reference/interfaces/IElectionMode","fbb"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionNextIdResponse",component:l("/sdk/reference/interfaces/IElectionNextIdResponse","107"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionParameters",component:l("/sdk/reference/interfaces/IElectionParameters","077"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionSummary",component:l("/sdk/reference/interfaces/IElectionSummary","cc4"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionType",component:l("/sdk/reference/interfaces/IElectionType","77e"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionVote",component:l("/sdk/reference/interfaces/IElectionVote","0c5"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionVoteListResponse",component:l("/sdk/reference/interfaces/IElectionVoteListResponse","300"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IEncryptionKey",component:l("/sdk/reference/interfaces/IEncryptionKey","4e6"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IInvalidElectionParameters",component:l("/sdk/reference/interfaces/IInvalidElectionParameters","861"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IMultiChoiceElectionParameters",component:l("/sdk/reference/interfaces/IMultiChoiceElectionParameters","b37"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IPublishedElectionParameters",component:l("/sdk/reference/interfaces/IPublishedElectionParameters","a41"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IQuestion",component:l("/sdk/reference/interfaces/IQuestion","8bd"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ITallyMode",component:l("/sdk/reference/interfaces/ITallyMode","2fd"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IVoteEncryptedPackage",component:l("/sdk/reference/interfaces/IVoteEncryptedPackage","ddb"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IVoteInfoResponse",component:l("/sdk/reference/interfaces/IVoteInfoResponse","d2d"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IVoteMode",component:l("/sdk/reference/interfaces/IVoteMode","f25"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IVotePackage",component:l("/sdk/reference/interfaces/IVotePackage","88a"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IVoteSubmitResponse",component:l("/sdk/reference/interfaces/IVoteSubmitResponse","db7"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IVoteType",component:l("/sdk/reference/interfaces/IVoteType","7bb"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IZkProofResponse",component:l("/sdk/reference/interfaces/IZkProofResponse","5e0"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IZkSIKResponse",component:l("/sdk/reference/interfaces/IZkSIKResponse","372"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/MintTokensTx",component:l("/sdk/reference/interfaces/MintTokensTx","2f2"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/NewProcessTx",component:l("/sdk/reference/interfaces/NewProcessTx","4ae"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/Process",component:l("/sdk/reference/interfaces/Process","0e8"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/Proof",component:l("/sdk/reference/interfaces/Proof","b2c"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/RegisterKeyTx",component:l("/sdk/reference/interfaces/RegisterKeyTx","ad2"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/SendTokensTx",component:l("/sdk/reference/interfaces/SendTokensTx","5ac"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ServiceProperties",component:l("/sdk/reference/interfaces/ServiceProperties","05a"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/SetAccountTx",component:l("/sdk/reference/interfaces/SetAccountTx","8bd"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/SetProcessTx",component:l("/sdk/reference/interfaces/SetProcessTx","2cc"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/SetTransactionCostsTx",component:l("/sdk/reference/interfaces/SetTransactionCostsTx","3e1"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/Tx",component:l("/sdk/reference/interfaces/Tx","bdf"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/VoteEnvelope",component:l("/sdk/reference/interfaces/VoteEnvelope","a38"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/sdk-reference",component:l("/sdk/reference/sdk-reference","07a"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/tutorial",component:l("/sdk/tutorial","0b4"),exact:!0,sidebar:"defaultSidebar"},{path:"/ui-components",component:l("/ui-components","cf1"),exact:!0,sidebar:"defaultSidebar"},{path:"/ui-components/account",component:l("/ui-components/account","653"),exact:!0,sidebar:"defaultSidebar"},{path:"/ui-components/election",component:l("/ui-components/election","f8b"),exact:!0,sidebar:"defaultSidebar"},{path:"/ui-components/layout",component:l("/ui-components/layout","2fd"),exact:!0,sidebar:"defaultSidebar"},{path:"/ui-components/organization",component:l("/ui-components/organization","a35"),exact:!0,sidebar:"defaultSidebar"},{path:"/ui-components/react-providers",component:l("/ui-components/react-providers","667"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/accounts",component:l("/vocdoni-api/accounts","2d1"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/add-account",component:l("/vocdoni-api/add-account","3a5"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/add-participants-to-census",component:l("/vocdoni-api/add-participants-to-census","9e3"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/build-an-election-id",component:l("/vocdoni-api/build-an-election-id","8e7"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/census-merkle-root",component:l("/vocdoni-api/census-merkle-root","863"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/census-size",component:l("/vocdoni-api/census-size","2da"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/census-total-weight",component:l("/vocdoni-api/census-total-weight","0da"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/censuses",component:l("/vocdoni-api/censuses","23b"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/chain",component:l("/vocdoni-api/chain","179"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/check-census-publish-status",component:l("/vocdoni-api/check-census-publish-status","4e7"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/circuit-info",component:l("/vocdoni-api/circuit-info","b04"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/compute-election-price",component:l("/vocdoni-api/compute-election-price","2b3"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/compute-ipfs-ci-dv-1-of-file",component:l("/vocdoni-api/compute-ipfs-ci-dv-1-of-file","77c"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/count-election-votes",component:l("/vocdoni-api/count-election-votes","47e"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/count-organization-elections",component:l("/vocdoni-api/count-organization-elections","e48"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/count-organizations",component:l("/vocdoni-api/count-organizations","e64"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/create-a-new-census",component:l("/vocdoni-api/create-a-new-census","3dd"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/create-election",component:l("/vocdoni-api/create-election","af1"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/create-election-for-wallet",component:l("/vocdoni-api/create-election-for-wallet","350"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/delete-census",component:l("/vocdoni-api/delete-census","6fa"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/election-information",component:l("/vocdoni-api/election-information","45d"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/election-results",component:l("/vocdoni-api/election-results","fef"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/elections",component:l("/vocdoni-api/elections","35c"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/estimate-block-to-date",component:l("/vocdoni-api/estimate-block-to-date","de0"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/estimate-date-to-block",component:l("/vocdoni-api/estimate-date-to-block","a33"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/export-census",component:l("/vocdoni-api/export-census","5de"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/export-census-database",component:l("/vocdoni-api/export-census-database","755"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/exports-the-indexer-database",component:l("/vocdoni-api/exports-the-indexer-database","b29"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/get-account",component:l("/vocdoni-api/get-account","358"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/get-block-by-hash",component:l("/vocdoni-api/get-block-by-hash","e3b"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/get-block-by-height",component:l("/vocdoni-api/get-block-by-height","196"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/get-type-of-census",component:l("/vocdoni-api/get-type-of-census","e28"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/get-vote",component:l("/vocdoni-api/get-vote","f8b"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/import-census",component:l("/vocdoni-api/import-census","f56"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/import-census-database",component:l("/vocdoni-api/import-census-database","e4d"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-account-received-and-sent-token-transfers",component:l("/vocdoni-api/list-account-received-and-sent-token-transfers","ec6"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-account-token-fees",component:l("/vocdoni-api/list-account-token-fees","218"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-all-census-references",component:l("/vocdoni-api/list-all-census-references","f26"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-all-token-fees",component:l("/vocdoni-api/list-all-token-fees","c3b"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-all-token-fees-by-reference",component:l("/vocdoni-api/list-all-token-fees-by-reference","c03"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-all-token-fees-by-type",component:l("/vocdoni-api/list-all-token-fees-by-type","e34"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-all-token-transfers",component:l("/vocdoni-api/list-all-token-transfers","d3b"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-election-votes",component:l("/vocdoni-api/list-election-votes","7df"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-elections",component:l("/vocdoni-api/list-elections","a7c"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-elections-filtered",component:l("/vocdoni-api/list-elections-filtered","70c"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-encryption-keys",component:l("/vocdoni-api/list-encryption-keys","b8d"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-of-the-existing-accounts",component:l("/vocdoni-api/list-of-the-existing-accounts","a3d"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-of-valid-sik-roots",component:l("/vocdoni-api/list-of-valid-sik-roots","c85"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-organization-elections",component:l("/vocdoni-api/list-organization-elections","ce8"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-organization-elections-by-status",component:l("/vocdoni-api/list-organization-elections-by-status","6f8"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-organizations",component:l("/vocdoni-api/list-organizations","8b0"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-organizations-filtered",component:l("/vocdoni-api/list-organizations-filtered","554"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-transactions",component:l("/vocdoni-api/list-transactions","541"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-validators",component:l("/vocdoni-api/list-validators","66d"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-votes",component:l("/vocdoni-api/list-votes","ba8"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/price-factors-information",component:l("/vocdoni-api/price-factors-information","093"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/prove-key-to-census",component:l("/vocdoni-api/prove-key-to-census","af9"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/publish-census",component:l("/vocdoni-api/publish-census","a10"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/returns-if-the-address-provided-has-a-valid-sik",component:l("/vocdoni-api/returns-if-the-address-provided-has-a-valid-sik","1e5"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/set-account",component:l("/vocdoni-api/set-account","df9"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/set-wallet-account",component:l("/vocdoni-api/set-wallet-account","97c"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/sik",component:l("/vocdoni-api/sik","f12"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/submit-a-vote",component:l("/vocdoni-api/submit-a-vote","8a0"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/submit-transaction",component:l("/vocdoni-api/submit-transaction","6cd"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/total-number-of-accounts",component:l("/vocdoni-api/total-number-of-accounts","cfa"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/total-number-of-sent-and-received-transactions",component:l("/vocdoni-api/total-number-of-sent-and-received-transactions","118"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/transaction-by-block-height-and-index",component:l("/vocdoni-api/transaction-by-block-height-and-index","b15"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/transaction-by-hash",component:l("/vocdoni-api/transaction-by-hash","0d9"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/transaction-by-index",component:l("/vocdoni-api/transaction-by-index","ddf"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/transaction-costs",component:l("/vocdoni-api/transaction-costs","99d"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/transactions-count",component:l("/vocdoni-api/transactions-count","2b2"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/transactions-in-a-block",component:l("/vocdoni-api/transactions-in-a-block","9d9"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/transfer-tokens",component:l("/vocdoni-api/transfer-tokens","ebf"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/verify-merkle-proof",component:l("/vocdoni-api/verify-merkle-proof","642"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/verify-vote",component:l("/vocdoni-api/verify-vote","d94"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/vocdoni-api",component:l("/vocdoni-api/vocdoni-api","2b0"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/vochain-information",component:l("/vocdoni-api/vochain-information","9f5"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/votes",component:l("/vocdoni-api/votes","541"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/wallet",component:l("/vocdoni-api/wallet","c13"),exact:!0,sidebar:"defaultSidebar"}]},{path:"*",component:l("*")}]},98934:(e,a,c)=>{"use strict";c.d(a,{_:()=>f,t:()=>b});var d=c(67294);const f=d.createContext(!1);function b(e){let{children:a}=e;const[c,b]=(0,d.useState)(!1);return(0,d.useEffect)((()=>{b(!0)}),[]),d.createElement(f.Provider,{value:c},a)}},49383:(e,a,c)=>{"use strict";var d=c(67294),f=c(73935),b=c(73727),t=c(70405),r=c(10412);const n=[c(32497),c(3310),c(18320),c(52295),c(93524),c(79362),c(87406),c(86199),c(56748)];var i=c(723),o=c(16550),s=c(18790);function l(e){let{children:a}=e;return d.createElement(d.Fragment,null,a)}var x=c(87462),u=c(35742),h=c(52263),p=c(44996),m=c(86668),g=c(10833),y=c(94711),v=c(19727),_=c(43320),w=c(90197);function S(){const{i18n:{defaultLocale:e,localeConfigs:a}}=(0,h.Z)(),c=(0,y.l)();return d.createElement(u.Z,null,Object.entries(a).map((e=>{let[a,{htmlLang:f}]=e;return d.createElement("link",{key:a,rel:"alternate",href:c.createUrl({locale:a,fullyQualified:!0}),hrefLang:f})})),d.createElement("link",{rel:"alternate",href:c.createUrl({locale:e,fullyQualified:!0}),hrefLang:"x-default"}))}function E(e){let{permalink:a}=e;const{siteConfig:{url:c}}=(0,h.Z)(),f=function(){const{siteConfig:{url:e}}=(0,h.Z)(),{pathname:a}=(0,o.TH)();return e+(0,p.Z)(a)}(),b=a?`${c}${a}`:f;return d.createElement(u.Z,null,d.createElement("meta",{property:"og:url",content:b}),d.createElement("link",{rel:"canonical",href:b}))}function A(){const{i18n:{currentLocale:e}}=(0,h.Z)(),{metadata:a,image:c}=(0,m.L)();return d.createElement(d.Fragment,null,d.createElement(u.Z,null,d.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),d.createElement("body",{className:v.h})),c&&d.createElement(g.d,{image:c}),d.createElement(E,null),d.createElement(S,null),d.createElement(w.Z,{tag:_.HX,locale:e}),d.createElement(u.Z,null,a.map(((e,a)=>d.createElement("meta",(0,x.Z)({key:a},e))))))}const k=new Map;function I(e){if(k.has(e.pathname))return{...e,pathname:k.get(e.pathname)};if((0,s.f)(i.Z,e.pathname).some((e=>{let{route:a}=e;return!0===a.exact})))return k.set(e.pathname,e.pathname),e;const a=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return k.set(e.pathname,a),{...e,pathname:a}}var C=c(98934),L=c(58940);function T(e){for(var a=arguments.length,c=new Array(a>1?a-1:0),d=1;d(a.default?.[e]??a[e])?.(...c)));return()=>f.forEach((e=>e?.()))}const P=function(e){let{children:a,location:c,previousLocation:f}=e;return(0,d.useLayoutEffect)((()=>{f!==c&&(f&&function(e){const{hash:a}=e;if(a){const e=decodeURIComponent(a.substring(1));document.getElementById(e)?.scrollIntoView()}else window.scrollTo(0,0)}(c),T("onRouteDidUpdate",{previousLocation:f,location:c}))}),[f,c]),a};function R(e){const a=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,s.f)(i.Z,e))).flat();return Promise.all(a.map((e=>e.route.component.preload?.())))}class M extends d.Component{constructor(e){super(e),this.previousLocation=void 0,this.routeUpdateCleanupCb=void 0,this.previousLocation=null,this.routeUpdateCleanupCb=r.Z.canUseDOM?T("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,a){if(e.location===this.props.location)return a.nextRouteHasLoaded;const c=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=T("onRouteUpdate",{previousLocation:this.previousLocation,location:c}),R(c.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:a}=this.props;return d.createElement(P,{previousLocation:this.previousLocation,location:a},d.createElement(o.AW,{location:a,render:()=>e}))}}const B=M,O="docusaurus-base-url-issue-banner-container",N="docusaurus-base-url-issue-banner-suggestion-container",F="__DOCUSAURUS_INSERT_BASEURL_BANNER";function D(e){return`\nwindow['${F}'] = true;\n\ndocument.addEventListener('DOMContentLoaded', maybeInsertBanner);\n\nfunction maybeInsertBanner() {\n var shouldInsert = window['${F}'];\n shouldInsert && insertBanner();\n}\n\nfunction insertBanner() {\n var bannerContainer = document.getElementById('${O}');\n if (!bannerContainer) {\n return;\n }\n var bannerHtml = ${JSON.stringify(function(e){return`\n
\n

Your Docusaurus site did not load properly.

\n

A very common reason is a wrong site baseUrl configuration.

\n

Current configured baseUrl = ${e} ${"/"===e?" (default value)":""}

\n

We suggest trying baseUrl =

\n
\n`}(e)).replace(/{window[F]=!1}),[]),d.createElement(d.Fragment,null,!r.Z.canUseDOM&&d.createElement(u.Z,null,d.createElement("script",null,D(e))),d.createElement("div",{id:O}))}function j(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:a}}=(0,h.Z)(),{pathname:c}=(0,o.TH)();return a&&c===e?d.createElement(U,null):null}function z(){const{siteConfig:{favicon:e,title:a,noIndex:c},i18n:{currentLocale:f,localeConfigs:b}}=(0,h.Z)(),t=(0,p.Z)(e),{htmlLang:r,direction:n}=b[f];return d.createElement(u.Z,null,d.createElement("html",{lang:r,dir:n}),d.createElement("title",null,a),d.createElement("meta",{property:"og:title",content:a}),d.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),c&&d.createElement("meta",{name:"robots",content:"noindex, nofollow"}),e&&d.createElement("link",{rel:"icon",href:t}))}var q=c(44763);function K(){const e=(0,s.H)(i.Z),a=(0,o.TH)();return d.createElement(q.Z,null,d.createElement(L.M,null,d.createElement(C.t,null,d.createElement(l,null,d.createElement(z,null),d.createElement(A,null),d.createElement(j,null),d.createElement(B,{location:I(a)},e)))))}var V=c(16887);const $=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((a,c)=>{if("undefined"==typeof document)return void c();const d=document.createElement("link");d.setAttribute("rel","prefetch"),d.setAttribute("href",e),d.onload=()=>a(),d.onerror=()=>c();(document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode)?.appendChild(d)}))}:function(e){return new Promise(((a,c)=>{const d=new XMLHttpRequest;d.open("GET",e,!0),d.withCredentials=!0,d.onload=()=>{200===d.status?a():c()},d.send(null)}))};var H=c(99670);const G=new Set,W=new Set,Z=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,Q={prefetch(e){if(!(e=>!Z()&&!W.has(e)&&!G.has(e))(e))return!1;G.add(e);const a=(0,s.f)(i.Z,e).flatMap((e=>{return a=e.route.path,Object.entries(V).filter((e=>{let[c]=e;return c.replace(/-[^-]+$/,"")===a})).flatMap((e=>{let[,a]=e;return Object.values((0,H.Z)(a))}));var a}));return Promise.all(a.map((e=>{const a=c.gca(e);return a&&!a.includes("undefined")?$(a).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!Z()&&!W.has(e))(e)&&(W.add(e),R(e))},Y=Object.freeze(Q);if(r.Z.canUseDOM){window.docusaurus=Y;const e=f.hydrate;R(window.location.pathname).then((()=>{e(d.createElement(t.B6,null,d.createElement(b.VK,null,d.createElement(K,null))),document.getElementById("__docusaurus"))}))}},58940:(e,a,c)=>{"use strict";c.d(a,{_:()=>o,M:()=>s});var d=c(67294),f=c(36809);const b=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/","versions":[{"name":"current","label":"Next","isLast":true,"path":"/","mainDocId":"intro","docs":[{"id":"development-guidelines/how-we-work","path":"/development-guidelines/how-we-work","sidebar":"defaultSidebar"},{"id":"development-guidelines/index","path":"/development-guidelines/","sidebar":"defaultSidebar"},{"id":"development-guidelines/readme-template","path":"/development-guidelines/readme-template","sidebar":"defaultSidebar"},{"id":"intro","path":"/intro","sidebar":"defaultSidebar"},{"id":"protocol/anonymity/anonymity","path":"/protocol/anonymity/","sidebar":"defaultSidebar"},{"id":"protocol/anonymity/blind-signatures","path":"/protocol/anonymity/blind-signatures","sidebar":"defaultSidebar"},{"id":"protocol/anonymity/on-chain","path":"/protocol/anonymity/on-chain","sidebar":"defaultSidebar"},{"id":"protocol/anonymity/zk-census-proof","path":"/protocol/anonymity/zk-census-proof","sidebar":"defaultSidebar"},{"id":"protocol/ballot-protocol","path":"/protocol/ballot-protocol","sidebar":"defaultSidebar"},{"id":"protocol/census/census","path":"/protocol/census/","sidebar":"defaultSidebar"},{"id":"protocol/census/off-chain-csp/api","path":"/protocol/census/off-chain-csp/api","sidebar":"defaultSidebar"},{"id":"protocol/census/off-chain-csp/off-chain-csp","path":"/protocol/census/off-chain-csp/","sidebar":"defaultSidebar"},{"id":"protocol/census/off-chain-tree","path":"/protocol/census/off-chain-tree","sidebar":"defaultSidebar"},{"id":"protocol/census/on-chain/census3","path":"/protocol/census/on-chain/census3","sidebar":"defaultSidebar"},{"id":"protocol/census/on-chain/eth-storage-proofs","path":"/protocol/census/on-chain/eth-storage-proofs","sidebar":"defaultSidebar"},{"id":"protocol/census/on-chain/on-chain","path":"/protocol/census/on-chain/","sidebar":"defaultSidebar"},{"id":"protocol/data-schemes/data-schemes","path":"/protocol/data-schemes/","sidebar":"defaultSidebar"},{"id":"protocol/data-schemes/election","path":"/protocol/data-schemes/election","sidebar":"defaultSidebar"},{"id":"protocol/data-schemes/organization","path":"/protocol/data-schemes/organization","sidebar":"defaultSidebar"},{"id":"protocol/data-schemes/vote","path":"/protocol/data-schemes/vote","sidebar":"defaultSidebar"},{"id":"protocol/index","path":"/protocol/","sidebar":"defaultSidebar"},{"id":"sdk/index","path":"/sdk/","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/census-types/census-types","path":"/sdk/integration-details/census-types/","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/census-types/off-chain-csp","path":"/sdk/integration-details/census-types/off-chain-csp","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/census-types/off-chain-tree","path":"/sdk/integration-details/census-types/off-chain-tree","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/census-types/on-chain/complex-census","path":"/sdk/integration-details/census-types/on-chain/complex-census","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/census-types/on-chain/on-chain","path":"/sdk/integration-details/census-types/on-chain/","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/integration-details","path":"/sdk/integration-details/","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/vocdoni-tokens","path":"/sdk/integration-details/vocdoni-tokens","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/voting-types/approval","path":"/sdk/integration-details/voting-types/approval","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/voting-types/quadratic","path":"/sdk/integration-details/voting-types/quadratic","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/voting-types/ranked","path":"/sdk/integration-details/voting-types/ranked","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/voting-types/single-choice","path":"/sdk/integration-details/voting-types/single-choice","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/voting-types/voting-types","path":"/sdk/integration-details/voting-types/","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/voting-types/weighted","path":"/sdk/integration-details/voting-types/weighted","sidebar":"defaultSidebar"},{"id":"sdk/reference/changelog","path":"/sdk/reference/changelog","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/Account","path":"/sdk/reference/classes/Account","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/AccountAPI","path":"/sdk/reference/classes/AccountAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/AccountService","path":"/sdk/reference/classes/AccountService","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/AnonymousService","path":"/sdk/reference/classes/AnonymousService","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/AnonymousVote","path":"/sdk/reference/classes/AnonymousVote","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/ApprovalElection","path":"/sdk/reference/classes/ApprovalElection","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/ArchivedElection","path":"/sdk/reference/classes/ArchivedElection","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/BudgetElection","path":"/sdk/reference/classes/BudgetElection","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/Census","path":"/sdk/reference/classes/Census","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/Census3CensusAPI","path":"/sdk/reference/classes/Census3CensusAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/Census3ServiceAPI","path":"/sdk/reference/classes/Census3ServiceAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/Census3StrategyAPI","path":"/sdk/reference/classes/Census3StrategyAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/Census3TokenAPI","path":"/sdk/reference/classes/Census3TokenAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/CensusAPI","path":"/sdk/reference/classes/CensusAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/CensusService","path":"/sdk/reference/classes/CensusService","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/ChainAPI","path":"/sdk/reference/classes/ChainAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/ChainService","path":"/sdk/reference/classes/ChainService","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/CspAPI","path":"/sdk/reference/classes/CspAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/CspCensus","path":"/sdk/reference/classes/CspCensus","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/CspService","path":"/sdk/reference/classes/CspService","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/CspVote","path":"/sdk/reference/classes/CspVote","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/Election","path":"/sdk/reference/classes/Election","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/ElectionAPI","path":"/sdk/reference/classes/ElectionAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/ElectionService","path":"/sdk/reference/classes/ElectionService","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/FaucetAPI","path":"/sdk/reference/classes/FaucetAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/FaucetService","path":"/sdk/reference/classes/FaucetService","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/FileAPI","path":"/sdk/reference/classes/FileAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/FileService","path":"/sdk/reference/classes/FileService","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/InvalidElection","path":"/sdk/reference/classes/InvalidElection","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/MultiChoiceElection","path":"/sdk/reference/classes/MultiChoiceElection","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/OffchainCensus","path":"/sdk/reference/classes/OffchainCensus","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/PlainCensus","path":"/sdk/reference/classes/PlainCensus","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/PublishedCensus","path":"/sdk/reference/classes/PublishedCensus","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/PublishedElection","path":"/sdk/reference/classes/PublishedElection","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/Service","path":"/sdk/reference/classes/Service","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/StrategyCensus","path":"/sdk/reference/classes/StrategyCensus","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/TokenCensus","path":"/sdk/reference/classes/TokenCensus","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/UnpublishedElection","path":"/sdk/reference/classes/UnpublishedElection","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/VocdoniCensus3Client","path":"/sdk/reference/classes/VocdoniCensus3Client","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/VocdoniSDKClient","path":"/sdk/reference/classes/VocdoniSDKClient","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/Vote","path":"/sdk/reference/classes/Vote","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/VoteAPI","path":"/sdk/reference/classes/VoteAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/VoteService","path":"/sdk/reference/classes/VoteService","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/WalletAPI","path":"/sdk/reference/classes/WalletAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/WeightedCensus","path":"/sdk/reference/classes/WeightedCensus","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/ZkAPI","path":"/sdk/reference/classes/ZkAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/CensusOrigin","path":"/sdk/reference/enums/CensusOrigin","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/CensusType","path":"/sdk/reference/enums/CensusType","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/CensusTypeEnum","path":"/sdk/reference/enums/CensusTypeEnum","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/CspProofType","path":"/sdk/reference/enums/CspProofType","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/ElectionCreationSteps","path":"/sdk/reference/enums/ElectionCreationSteps","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/ElectionResultsTypeNames","path":"/sdk/reference/enums/ElectionResultsTypeNames","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/ElectionStatus","path":"/sdk/reference/enums/ElectionStatus","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/ElectionStatusReady","path":"/sdk/reference/enums/ElectionStatusReady","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/EnvOptions","path":"/sdk/reference/enums/EnvOptions","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/TransactionType","path":"/sdk/reference/enums/TransactionType","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/TxType","path":"/sdk/reference/enums/TxType","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/VoteSteps","path":"/sdk/reference/enums/VoteSteps","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/AccountMetadata","path":"/sdk/reference/interfaces/AccountMetadata","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/AdminTx","path":"/sdk/reference/interfaces/AdminTx","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/CircuitInputs","path":"/sdk/reference/interfaces/CircuitInputs","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/CollectFaucetTx","path":"/sdk/reference/interfaces/CollectFaucetTx","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ElectionMetadata","path":"/sdk/reference/interfaces/ElectionMetadata","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/FetchElectionsParameters","path":"/sdk/reference/interfaces/FetchElectionsParameters","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IAccount","path":"/sdk/reference/interfaces/IAccount","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IAccountsCountResponse","path":"/sdk/reference/interfaces/IAccountsCountResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IAccountsListResponse","path":"/sdk/reference/interfaces/IAccountsListResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IAccountTransfersCountResponse","path":"/sdk/reference/interfaces/IAccountTransfersCountResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IApprovalElectionParameters","path":"/sdk/reference/interfaces/IApprovalElectionParameters","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IBlockTransactionsResponse","path":"/sdk/reference/interfaces/IBlockTransactionsResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IBudgetElectionParametersInfo","path":"/sdk/reference/interfaces/IBudgetElectionParametersInfo","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IBudgetElectionParametersWithBudget","path":"/sdk/reference/interfaces/IBudgetElectionParametersWithBudget","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IBudgetElectionParametersWithCensusWeight","path":"/sdk/reference/interfaces/IBudgetElectionParametersWithCensusWeight","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus","path":"/sdk/reference/interfaces/ICensus","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3CensusListResponse","path":"/sdk/reference/interfaces/ICensus3CensusListResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3CensusQueueResponse","path":"/sdk/reference/interfaces/ICensus3CensusQueueResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3CensusResponse","path":"/sdk/reference/interfaces/ICensus3CensusResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3ServiceInfoResponse","path":"/sdk/reference/interfaces/ICensus3ServiceInfoResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3StrategiesListResponse","path":"/sdk/reference/interfaces/ICensus3StrategiesListResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3StrategiesListResponsePaginated","path":"/sdk/reference/interfaces/ICensus3StrategiesListResponsePaginated","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3StrategiesOperator","path":"/sdk/reference/interfaces/ICensus3StrategiesOperator","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3StrategiesOperatorsResponse","path":"/sdk/reference/interfaces/ICensus3StrategiesOperatorsResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3StrategyCreateResponse","path":"/sdk/reference/interfaces/ICensus3StrategyCreateResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3StrategyEstimationQueueResponse","path":"/sdk/reference/interfaces/ICensus3StrategyEstimationQueueResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3StrategyHoldersResponse","path":"/sdk/reference/interfaces/ICensus3StrategyHoldersResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3StrategyHoldersResponsePaginated","path":"/sdk/reference/interfaces/ICensus3StrategyHoldersResponsePaginated","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3StrategyImportQueueResponse","path":"/sdk/reference/interfaces/ICensus3StrategyImportQueueResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3StrategyToken","path":"/sdk/reference/interfaces/ICensus3StrategyToken","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3SupportedChain","path":"/sdk/reference/interfaces/ICensus3SupportedChain","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3TokenHolderResponse","path":"/sdk/reference/interfaces/ICensus3TokenHolderResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3TokenListResponse","path":"/sdk/reference/interfaces/ICensus3TokenListResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3TokenListResponsePaginated","path":"/sdk/reference/interfaces/ICensus3TokenListResponsePaginated","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3TokenTypesResponse","path":"/sdk/reference/interfaces/ICensus3TokenTypesResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3ValidatePredicateChild","path":"/sdk/reference/interfaces/ICensus3ValidatePredicateChild","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3ValidatePredicateResponse","path":"/sdk/reference/interfaces/ICensus3ValidatePredicateResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3ValidatePredicateToken","path":"/sdk/reference/interfaces/ICensus3ValidatePredicateToken","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensusExportResponse","path":"/sdk/reference/interfaces/ICensusExportResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensusImportResponse","path":"/sdk/reference/interfaces/ICensusImportResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensusParticipant","path":"/sdk/reference/interfaces/ICensusParticipant","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensusProofResponse","path":"/sdk/reference/interfaces/ICensusProofResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensusPublishResponse","path":"/sdk/reference/interfaces/ICensusPublishResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainBlockInfoResponse","path":"/sdk/reference/interfaces/IChainBlockInfoResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainFeesListResponse","path":"/sdk/reference/interfaces/IChainFeesListResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainGetCircuitResponse","path":"/sdk/reference/interfaces/IChainGetCircuitResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainGetCostsResponse","path":"/sdk/reference/interfaces/IChainGetCostsResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainGetInfoResponse","path":"/sdk/reference/interfaces/IChainGetInfoResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainOrganizationCountResponse","path":"/sdk/reference/interfaces/IChainOrganizationCountResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainOrganizationListResponse","path":"/sdk/reference/interfaces/IChainOrganizationListResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainOrganizationResponse","path":"/sdk/reference/interfaces/IChainOrganizationResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainSubmitTxResponse","path":"/sdk/reference/interfaces/IChainSubmitTxResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainTxCountResponse","path":"/sdk/reference/interfaces/IChainTxCountResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainTxListResponse","path":"/sdk/reference/interfaces/IChainTxListResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainTxReference","path":"/sdk/reference/interfaces/IChainTxReference","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainValidator","path":"/sdk/reference/interfaces/IChainValidator","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainValidatorsListResponse","path":"/sdk/reference/interfaces/IChainValidatorsListResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChoice","path":"/sdk/reference/interfaces/IChoice","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICspAuthStep","path":"/sdk/reference/interfaces/ICspAuthStep","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICspFinalStepResponse","path":"/sdk/reference/interfaces/ICspFinalStepResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICspInfoResponse","path":"/sdk/reference/interfaces/ICspInfoResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICspIntermediateStepResponse","path":"/sdk/reference/interfaces/ICspIntermediateStepResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICspSignResponse","path":"/sdk/reference/interfaces/ICspSignResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionCreateResponse","path":"/sdk/reference/interfaces/IElectionCreateResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionInfoResponse","path":"/sdk/reference/interfaces/IElectionInfoResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionKeysResponse","path":"/sdk/reference/interfaces/IElectionKeysResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionListFilter","path":"/sdk/reference/interfaces/IElectionListFilter","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionListResponse","path":"/sdk/reference/interfaces/IElectionListResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionMode","path":"/sdk/reference/interfaces/IElectionMode","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionNextIdResponse","path":"/sdk/reference/interfaces/IElectionNextIdResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionParameters","path":"/sdk/reference/interfaces/IElectionParameters","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionSummary","path":"/sdk/reference/interfaces/IElectionSummary","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionType","path":"/sdk/reference/interfaces/IElectionType","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionVote","path":"/sdk/reference/interfaces/IElectionVote","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionVoteListResponse","path":"/sdk/reference/interfaces/IElectionVoteListResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IEncryptionKey","path":"/sdk/reference/interfaces/IEncryptionKey","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IInvalidElectionParameters","path":"/sdk/reference/interfaces/IInvalidElectionParameters","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IMultiChoiceElectionParameters","path":"/sdk/reference/interfaces/IMultiChoiceElectionParameters","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IPublishedElectionParameters","path":"/sdk/reference/interfaces/IPublishedElectionParameters","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IQuestion","path":"/sdk/reference/interfaces/IQuestion","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ITallyMode","path":"/sdk/reference/interfaces/ITallyMode","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IVoteEncryptedPackage","path":"/sdk/reference/interfaces/IVoteEncryptedPackage","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IVoteInfoResponse","path":"/sdk/reference/interfaces/IVoteInfoResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IVoteMode","path":"/sdk/reference/interfaces/IVoteMode","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IVotePackage","path":"/sdk/reference/interfaces/IVotePackage","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IVoteSubmitResponse","path":"/sdk/reference/interfaces/IVoteSubmitResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IVoteType","path":"/sdk/reference/interfaces/IVoteType","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IZkProofResponse","path":"/sdk/reference/interfaces/IZkProofResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IZkSIKResponse","path":"/sdk/reference/interfaces/IZkSIKResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/MintTokensTx","path":"/sdk/reference/interfaces/MintTokensTx","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/NewProcessTx","path":"/sdk/reference/interfaces/NewProcessTx","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/Process","path":"/sdk/reference/interfaces/Process","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/Proof","path":"/sdk/reference/interfaces/Proof","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/RegisterKeyTx","path":"/sdk/reference/interfaces/RegisterKeyTx","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/SendTokensTx","path":"/sdk/reference/interfaces/SendTokensTx","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ServiceProperties","path":"/sdk/reference/interfaces/ServiceProperties","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/SetAccountTx","path":"/sdk/reference/interfaces/SetAccountTx","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/SetProcessTx","path":"/sdk/reference/interfaces/SetProcessTx","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/SetTransactionCostsTx","path":"/sdk/reference/interfaces/SetTransactionCostsTx","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/Tx","path":"/sdk/reference/interfaces/Tx","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/VoteEnvelope","path":"/sdk/reference/interfaces/VoteEnvelope","sidebar":"defaultSidebar"},{"id":"sdk/reference/sdk-reference","path":"/sdk/reference/sdk-reference","sidebar":"defaultSidebar"},{"id":"sdk/tutorial","path":"/sdk/tutorial","sidebar":"defaultSidebar"},{"id":"ui-components/account","path":"/ui-components/account","sidebar":"defaultSidebar"},{"id":"ui-components/election","path":"/ui-components/election","sidebar":"defaultSidebar"},{"id":"ui-components/index","path":"/ui-components/","sidebar":"defaultSidebar"},{"id":"ui-components/layout","path":"/ui-components/layout","sidebar":"defaultSidebar"},{"id":"ui-components/organization","path":"/ui-components/organization","sidebar":"defaultSidebar"},{"id":"ui-components/react-providers","path":"/ui-components/react-providers","sidebar":"defaultSidebar"},{"id":"vocdoni-api/accounts","path":"/vocdoni-api/accounts","sidebar":"defaultSidebar"},{"id":"vocdoni-api/add-account","path":"/vocdoni-api/add-account","sidebar":"defaultSidebar"},{"id":"vocdoni-api/add-participants-to-census","path":"/vocdoni-api/add-participants-to-census","sidebar":"defaultSidebar"},{"id":"vocdoni-api/build-an-election-id","path":"/vocdoni-api/build-an-election-id","sidebar":"defaultSidebar"},{"id":"vocdoni-api/census-merkle-root","path":"/vocdoni-api/census-merkle-root","sidebar":"defaultSidebar"},{"id":"vocdoni-api/census-size","path":"/vocdoni-api/census-size","sidebar":"defaultSidebar"},{"id":"vocdoni-api/census-total-weight","path":"/vocdoni-api/census-total-weight","sidebar":"defaultSidebar"},{"id":"vocdoni-api/censuses","path":"/vocdoni-api/censuses","sidebar":"defaultSidebar"},{"id":"vocdoni-api/chain","path":"/vocdoni-api/chain","sidebar":"defaultSidebar"},{"id":"vocdoni-api/check-census-publish-status","path":"/vocdoni-api/check-census-publish-status","sidebar":"defaultSidebar"},{"id":"vocdoni-api/circuit-info","path":"/vocdoni-api/circuit-info","sidebar":"defaultSidebar"},{"id":"vocdoni-api/compute-election-price","path":"/vocdoni-api/compute-election-price","sidebar":"defaultSidebar"},{"id":"vocdoni-api/compute-ipfs-ci-dv-1-of-file","path":"/vocdoni-api/compute-ipfs-ci-dv-1-of-file","sidebar":"defaultSidebar"},{"id":"vocdoni-api/count-election-votes","path":"/vocdoni-api/count-election-votes","sidebar":"defaultSidebar"},{"id":"vocdoni-api/count-organization-elections","path":"/vocdoni-api/count-organization-elections","sidebar":"defaultSidebar"},{"id":"vocdoni-api/count-organizations","path":"/vocdoni-api/count-organizations","sidebar":"defaultSidebar"},{"id":"vocdoni-api/create-a-new-census","path":"/vocdoni-api/create-a-new-census","sidebar":"defaultSidebar"},{"id":"vocdoni-api/create-election","path":"/vocdoni-api/create-election","sidebar":"defaultSidebar"},{"id":"vocdoni-api/create-election-for-wallet","path":"/vocdoni-api/create-election-for-wallet","sidebar":"defaultSidebar"},{"id":"vocdoni-api/delete-census","path":"/vocdoni-api/delete-census","sidebar":"defaultSidebar"},{"id":"vocdoni-api/election-information","path":"/vocdoni-api/election-information","sidebar":"defaultSidebar"},{"id":"vocdoni-api/election-results","path":"/vocdoni-api/election-results","sidebar":"defaultSidebar"},{"id":"vocdoni-api/elections","path":"/vocdoni-api/elections","sidebar":"defaultSidebar"},{"id":"vocdoni-api/estimate-block-to-date","path":"/vocdoni-api/estimate-block-to-date","sidebar":"defaultSidebar"},{"id":"vocdoni-api/estimate-date-to-block","path":"/vocdoni-api/estimate-date-to-block","sidebar":"defaultSidebar"},{"id":"vocdoni-api/export-census","path":"/vocdoni-api/export-census","sidebar":"defaultSidebar"},{"id":"vocdoni-api/export-census-database","path":"/vocdoni-api/export-census-database","sidebar":"defaultSidebar"},{"id":"vocdoni-api/exports-the-indexer-database","path":"/vocdoni-api/exports-the-indexer-database","sidebar":"defaultSidebar"},{"id":"vocdoni-api/get-account","path":"/vocdoni-api/get-account","sidebar":"defaultSidebar"},{"id":"vocdoni-api/get-block-by-hash","path":"/vocdoni-api/get-block-by-hash","sidebar":"defaultSidebar"},{"id":"vocdoni-api/get-block-by-height","path":"/vocdoni-api/get-block-by-height","sidebar":"defaultSidebar"},{"id":"vocdoni-api/get-type-of-census","path":"/vocdoni-api/get-type-of-census","sidebar":"defaultSidebar"},{"id":"vocdoni-api/get-vote","path":"/vocdoni-api/get-vote","sidebar":"defaultSidebar"},{"id":"vocdoni-api/import-census","path":"/vocdoni-api/import-census","sidebar":"defaultSidebar"},{"id":"vocdoni-api/import-census-database","path":"/vocdoni-api/import-census-database","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-account-received-and-sent-token-transfers","path":"/vocdoni-api/list-account-received-and-sent-token-transfers","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-account-token-fees","path":"/vocdoni-api/list-account-token-fees","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-all-census-references","path":"/vocdoni-api/list-all-census-references","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-all-token-fees","path":"/vocdoni-api/list-all-token-fees","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-all-token-fees-by-reference","path":"/vocdoni-api/list-all-token-fees-by-reference","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-all-token-fees-by-type","path":"/vocdoni-api/list-all-token-fees-by-type","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-all-token-transfers","path":"/vocdoni-api/list-all-token-transfers","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-election-votes","path":"/vocdoni-api/list-election-votes","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-elections","path":"/vocdoni-api/list-elections","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-elections-filtered","path":"/vocdoni-api/list-elections-filtered","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-encryption-keys","path":"/vocdoni-api/list-encryption-keys","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-of-the-existing-accounts","path":"/vocdoni-api/list-of-the-existing-accounts","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-of-valid-sik-roots","path":"/vocdoni-api/list-of-valid-sik-roots","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-organization-elections","path":"/vocdoni-api/list-organization-elections","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-organization-elections-by-status","path":"/vocdoni-api/list-organization-elections-by-status","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-organizations","path":"/vocdoni-api/list-organizations","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-organizations-filtered","path":"/vocdoni-api/list-organizations-filtered","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-transactions","path":"/vocdoni-api/list-transactions","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-validators","path":"/vocdoni-api/list-validators","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-votes","path":"/vocdoni-api/list-votes","sidebar":"defaultSidebar"},{"id":"vocdoni-api/price-factors-information","path":"/vocdoni-api/price-factors-information","sidebar":"defaultSidebar"},{"id":"vocdoni-api/prove-key-to-census","path":"/vocdoni-api/prove-key-to-census","sidebar":"defaultSidebar"},{"id":"vocdoni-api/publish-census","path":"/vocdoni-api/publish-census","sidebar":"defaultSidebar"},{"id":"vocdoni-api/returns-if-the-address-provided-has-a-valid-sik","path":"/vocdoni-api/returns-if-the-address-provided-has-a-valid-sik","sidebar":"defaultSidebar"},{"id":"vocdoni-api/set-account","path":"/vocdoni-api/set-account","sidebar":"defaultSidebar"},{"id":"vocdoni-api/set-wallet-account","path":"/vocdoni-api/set-wallet-account","sidebar":"defaultSidebar"},{"id":"vocdoni-api/sik","path":"/vocdoni-api/sik","sidebar":"defaultSidebar"},{"id":"vocdoni-api/submit-a-vote","path":"/vocdoni-api/submit-a-vote","sidebar":"defaultSidebar"},{"id":"vocdoni-api/submit-transaction","path":"/vocdoni-api/submit-transaction","sidebar":"defaultSidebar"},{"id":"vocdoni-api/total-number-of-accounts","path":"/vocdoni-api/total-number-of-accounts","sidebar":"defaultSidebar"},{"id":"vocdoni-api/total-number-of-sent-and-received-transactions","path":"/vocdoni-api/total-number-of-sent-and-received-transactions","sidebar":"defaultSidebar"},{"id":"vocdoni-api/transaction-by-block-height-and-index","path":"/vocdoni-api/transaction-by-block-height-and-index","sidebar":"defaultSidebar"},{"id":"vocdoni-api/transaction-by-hash","path":"/vocdoni-api/transaction-by-hash","sidebar":"defaultSidebar"},{"id":"vocdoni-api/transaction-by-index","path":"/vocdoni-api/transaction-by-index","sidebar":"defaultSidebar"},{"id":"vocdoni-api/transaction-costs","path":"/vocdoni-api/transaction-costs","sidebar":"defaultSidebar"},{"id":"vocdoni-api/transactions-count","path":"/vocdoni-api/transactions-count","sidebar":"defaultSidebar"},{"id":"vocdoni-api/transactions-in-a-block","path":"/vocdoni-api/transactions-in-a-block","sidebar":"defaultSidebar"},{"id":"vocdoni-api/transfer-tokens","path":"/vocdoni-api/transfer-tokens","sidebar":"defaultSidebar"},{"id":"vocdoni-api/verify-merkle-proof","path":"/vocdoni-api/verify-merkle-proof","sidebar":"defaultSidebar"},{"id":"vocdoni-api/verify-vote","path":"/vocdoni-api/verify-vote","sidebar":"defaultSidebar"},{"id":"vocdoni-api/vocdoni-api","path":"/vocdoni-api/vocdoni-api","sidebar":"defaultSidebar"},{"id":"vocdoni-api/vochain-information","path":"/vocdoni-api/vochain-information","sidebar":"defaultSidebar"},{"id":"vocdoni-api/votes","path":"/vocdoni-api/votes","sidebar":"defaultSidebar"},{"id":"vocdoni-api/wallet","path":"/vocdoni-api/wallet","sidebar":"defaultSidebar"}],"draftIds":[],"sidebars":{"defaultSidebar":{"link":{"path":"/intro","label":"intro"}}}}],"breadcrumbs":true}}}'),t=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"En","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var r=c(57529);const n=JSON.parse('{"docusaurusVersion":"2.2.0","siteVersion":"1.4.1","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"2.2.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"2.2.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"2.2.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"2.2.0"},"docusaurus-theme-search-algolia":{"type":"package","name":"@docusaurus/theme-search-algolia","version":"2.2.0"},"webpack-loader":{"type":"package","name":"webpack-loader","version":"0.0.0"},"docusaurus-plugin-openapi-docs":{"type":"package","name":"docusaurus-plugin-openapi-docs","version":"1.5.0"},"docusaurus-tailwindcss":{"type":"local"},"docusaurus-theme-live-codeblock":{"type":"package","name":"@docusaurus/theme-live-codeblock","version":"2.2.0"},"docusaurus-theme-openapi":{"type":"package","name":"docusaurus-theme-openapi-docs","version":"1.5.0"},"docusaurus-theme-mermaid":{"type":"package","name":"@docusaurus/theme-mermaid","version":"2.2.0"}}}'),i={siteConfig:f.default,siteMetadata:n,globalData:b,i18n:t,codeTranslations:r},o=d.createContext(i);function s(e){let{children:a}=e;return d.createElement(o.Provider,{value:i},a)}},44763:(e,a,c)=>{"use strict";c.d(a,{Z:()=>o});var d=c(67294),f=c(10412),b=c(35742),t=c(31719);function r(e){let{error:a,tryAgain:c}=e;return d.createElement("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",height:"50vh",width:"100%",fontSize:"20px"}},d.createElement("h1",null,"This page crashed."),d.createElement("p",null,a.message),d.createElement("button",{type:"button",onClick:c},"Try again"))}function n(e){let{error:a,tryAgain:c}=e;return d.createElement(o,{fallback:()=>d.createElement(r,{error:a,tryAgain:c})},d.createElement(b.Z,null,d.createElement("title",null,"Page Error")),d.createElement(t.Z,null,d.createElement(r,{error:a,tryAgain:c})))}const i=e=>d.createElement(n,e);class o extends d.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){f.Z.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:a}=this.state;if(a){const e={error:a,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??i)(e)}return e??null}}},10412:(e,a,c)=>{"use strict";c.d(a,{Z:()=>f});const d="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,f={canUseDOM:d,canUseEventListeners:d&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:d&&"IntersectionObserver"in window,canUseViewport:d&&"screen"in window}},35742:(e,a,c)=>{"use strict";c.d(a,{Z:()=>b});var d=c(67294),f=c(70405);function b(e){return d.createElement(f.ql,e)}},39960:(e,a,c)=>{"use strict";c.d(a,{Z:()=>x});var d=c(87462),f=c(67294),b=c(73727),t=c(18780),r=c(52263),n=c(13919),i=c(10412);const o=f.createContext({collectLink:()=>{}});var s=c(44996);function l(e,a){let{isNavLink:c,to:l,href:x,activeClassName:u,isActive:h,"data-noBrokenLinkCheck":p,autoAddBaseUrl:m=!0,...g}=e;const{siteConfig:{trailingSlash:y,baseUrl:v}}=(0,r.Z)(),{withBaseUrl:_}=(0,s.C)(),w=(0,f.useContext)(o),S=(0,f.useRef)(null);(0,f.useImperativeHandle)(a,(()=>S.current));const E=l||x;const A=(0,n.Z)(E),k=E?.replace("pathname://","");let I=void 0!==k?(C=k,m&&(e=>e.startsWith("/"))(C)?_(C):C):void 0;var C;I&&A&&(I=(0,t.applyTrailingSlash)(I,{trailingSlash:y,baseUrl:v}));const L=(0,f.useRef)(!1),T=c?b.OL:b.rU,P=i.Z.canUseIntersectionObserver,R=(0,f.useRef)(),M=()=>{L.current||null==I||(window.docusaurus.preload(I),L.current=!0)};(0,f.useEffect)((()=>(!P&&A&&null!=I&&window.docusaurus.prefetch(I),()=>{P&&R.current&&R.current.disconnect()})),[R,I,P,A]);const B=I?.startsWith("#")??!1,O=!I||!A||B;return O||p||w.collectLink(I),O?f.createElement("a",(0,d.Z)({ref:S,href:I},E&&!A&&{target:"_blank",rel:"noopener noreferrer"},g)):f.createElement(T,(0,d.Z)({},g,{onMouseEnter:M,onTouchStart:M,innerRef:e=>{S.current=e,P&&e&&A&&(R.current=new window.IntersectionObserver((a=>{a.forEach((a=>{e===a.target&&(a.isIntersecting||a.intersectionRatio>0)&&(R.current.unobserve(e),R.current.disconnect(),null!=I&&window.docusaurus.prefetch(I))}))})),R.current.observe(e))},to:I},c&&{isActive:h,activeClassName:u}))}const x=f.forwardRef(l)},95999:(e,a,c)=>{"use strict";c.d(a,{Z:()=>n,I:()=>r});var d=c(67294);function f(e,a){const c=e.split(/(\{\w+\})/).map(((e,c)=>{if(c%2==1){const c=a?.[e.slice(1,-1)];if(void 0!==c)return c}return e}));return c.some((e=>(0,d.isValidElement)(e)))?c.map(((e,a)=>(0,d.isValidElement)(e)?d.cloneElement(e,{key:a}):e)).filter((e=>""!==e)):c.join("")}var b=c(57529);function t(e){let{id:a,message:c}=e;if(void 0===a&&void 0===c)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return b[a??c]??c??a}function r(e,a){let{message:c,id:d}=e;return f(t({message:c,id:d}),a)}function n(e){let{children:a,id:c,values:b}=e;if(a&&"string"!=typeof a)throw console.warn("Illegal children",a),new Error("The Docusaurus component only accept simple string values");const r=t({message:a,id:c});return d.createElement(d.Fragment,null,f(r,b))}},29935:(e,a,c)=>{"use strict";c.d(a,{m:()=>d});const d="default"},13919:(e,a,c)=>{"use strict";function d(e){return/^(?:\w*:|\/\/)/.test(e)}function f(e){return void 0!==e&&!d(e)}c.d(a,{Z:()=>f,b:()=>d})},44996:(e,a,c)=>{"use strict";c.d(a,{C:()=>b,Z:()=>t});var d=c(52263),f=c(13919);function b(){const{siteConfig:{baseUrl:e,url:a}}=(0,d.Z)();return{withBaseUrl:(c,d)=>function(e,a,c,d){let{forcePrependBaseUrl:b=!1,absolute:t=!1}=void 0===d?{}:d;if(!c||c.startsWith("#")||(0,f.b)(c))return c;if(b)return a+c.replace(/^\//,"");if(c===a.replace(/\/$/,""))return a;const r=c.startsWith(a)?c:a+c.replace(/^\//,"");return t?e+r:r}(a,e,c,d)}}function t(e,a){void 0===a&&(a={});const{withBaseUrl:c}=b();return c(e,a)}},52263:(e,a,c)=>{"use strict";c.d(a,{Z:()=>b});var d=c(67294),f=c(58940);function b(){return(0,d.useContext)(f._)}},72389:(e,a,c)=>{"use strict";c.d(a,{Z:()=>b});var d=c(67294),f=c(98934);function b(){return(0,d.useContext)(f._)}},99670:(e,a,c)=>{"use strict";c.d(a,{Z:()=>d});function d(e){const a={};return function e(c,d){Object.entries(c).forEach((c=>{let[f,b]=c;const t=d?`${d}.${f}`:f;var r;"object"==typeof(r=b)&&r&&Object.keys(r).length>0?e(b,t):a[t]=b}))}(e),a}},30226:(e,a,c)=>{"use strict";c.d(a,{_:()=>f,z:()=>b});var d=c(67294);const f=d.createContext(null);function b(e){let{children:a,value:c}=e;const b=d.useContext(f),t=(0,d.useMemo)((()=>function(e){let{parent:a,value:c}=e;if(!a){if(!c)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in c))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return c}const d={...a.data,...c?.data};return{plugin:a.plugin,data:d}}({parent:b,value:c})),[b,c]);return d.createElement(f.Provider,{value:t},a)}},80143:(e,a,c)=>{"use strict";c.d(a,{Iw:()=>m,gA:()=>x,WS:()=>u,_r:()=>s,Jo:()=>g,zh:()=>l,yW:()=>p,gB:()=>h});var d=c(16550),f=c(52263),b=c(29935);function t(e,a){void 0===a&&(a={});const c=function(){const{globalData:e}=(0,f.Z)();return e}()[e];if(!c&&a.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return c}const r=e=>e.versions.find((e=>e.isLast));function n(e,a){const c=r(e);return[...e.versions.filter((e=>e!==c)),c].find((e=>!!(0,d.LX)(a,{path:e.path,exact:!1,strict:!1})))}function i(e,a){const c=n(e,a),f=c?.docs.find((e=>!!(0,d.LX)(a,{path:e.path,exact:!0,strict:!1})));return{activeVersion:c,activeDoc:f,alternateDocVersions:f?function(a){const c={};return e.versions.forEach((e=>{e.docs.forEach((d=>{d.id===a&&(c[e.name]=d)}))})),c}(f.id):{}}}const o={},s=()=>t("docusaurus-plugin-content-docs")??o,l=e=>function(e,a,c){void 0===a&&(a=b.m),void 0===c&&(c={});const d=t(e)?.[a];if(!d&&c.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${a}".`);return d}("docusaurus-plugin-content-docs",e,{failfast:!0});function x(e){void 0===e&&(e={});const a=s(),{pathname:c}=(0,d.TH)();return function(e,a,c){void 0===c&&(c={});const f=Object.entries(e).sort(((e,a)=>a[1].path.localeCompare(e[1].path))).find((e=>{let[,c]=e;return!!(0,d.LX)(a,{path:c.path,exact:!1,strict:!1})})),b=f?{pluginId:f[0],pluginData:f[1]}:void 0;if(!b&&c.failfast)throw new Error(`Can't find active docs plugin for "${a}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return b}(a,c,e)}function u(e){void 0===e&&(e={});const a=x(e),{pathname:c}=(0,d.TH)();if(!a)return;return{activePlugin:a,activeVersion:n(a.pluginData,c)}}function h(e){return l(e).versions}function p(e){const a=l(e);return r(a)}function m(e){const a=l(e),{pathname:c}=(0,d.TH)();return i(a,c)}function g(e){const a=l(e),{pathname:c}=(0,d.TH)();return function(e,a){const c=r(e);return{latestDocSuggestion:i(e,a).alternateDocVersions[c.name],latestVersionSuggestion:c}}(a,c)}},18320:(e,a,c)=>{"use strict";c.r(a),c.d(a,{default:()=>b});var d=c(74865),f=c.n(d);f().configure({showSpinner:!1});const b={onRouteUpdate(e){let{location:a,previousLocation:c}=e;if(c&&a.pathname!==c.pathname){const e=window.setTimeout((()=>{f().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){f().done()}}},3310:(e,a,c)=>{"use strict";c.r(a);var d=c(87410),f=c(36809);!function(e){const{themeConfig:{prism:a}}=f.default,{additionalLanguages:d}=a;globalThis.Prism=e,d.forEach((e=>{c(99768)(`./prism-${e}`)})),delete globalThis.Prism}(d.Z)},21327:(e,a,c)=>{"use strict";c.d(a,{Z:()=>s});var d=c(87462),f=c(67294),b=c(39960),t=c(44996),r=c(52263),n=c(86668),i=c(50941);function o(e){let{logo:a,alt:c,imageClassName:d}=e;const b={light:(0,t.Z)(a.src),dark:(0,t.Z)(a.srcDark||a.src)},r=f.createElement(i.Z,{className:a.className,sources:b,height:a.height,width:a.width,alt:c,style:a.style});return d?f.createElement("div",{className:d},r):r}function s(e){const{siteConfig:{title:a}}=(0,r.Z)(),{navbar:{title:c,logo:i}}=(0,n.L)(),{imageClassName:s,titleClassName:l,...x}=e,u=(0,t.Z)(i?.href||"/"),h=c?"":a,p=i?.alt??h;return f.createElement(b.Z,(0,d.Z)({to:u},x,i?.target&&{target:i.target}),i&&f.createElement(o,{logo:i,alt:p,imageClassName:s}),null!=c&&f.createElement("b",{className:l},c))}},90197:(e,a,c)=>{"use strict";c.d(a,{Z:()=>b});var d=c(67294),f=c(35742);function b(e){let{locale:a,version:c,tag:b}=e;const t=a;return d.createElement(f.Z,null,a&&d.createElement("meta",{name:"docusaurus_locale",content:a}),c&&d.createElement("meta",{name:"docusaurus_version",content:c}),b&&d.createElement("meta",{name:"docusaurus_tag",content:b}),t&&d.createElement("meta",{name:"docsearch:language",content:t}),c&&d.createElement("meta",{name:"docsearch:version",content:c}),b&&d.createElement("meta",{name:"docsearch:docusaurus_tag",content:b}))}},50941:(e,a,c)=>{"use strict";c.d(a,{Z:()=>i});var d=c(87462),f=c(67294),b=c(86010),t=c(72389),r=c(92949);const n={themedImage:"themedImage_ToTc","themedImage--light":"themedImage--light_HNdA","themedImage--dark":"themedImage--dark_i4oU"};function i(e){const a=(0,t.Z)(),{colorMode:c}=(0,r.I)(),{sources:i,className:o,alt:s,...l}=e,x=a?"dark"===c?["dark"]:["light"]:["light","dark"];return f.createElement(f.Fragment,null,x.map((e=>f.createElement("img",(0,d.Z)({key:e,src:i[e],alt:s,className:(0,b.Z)(n.themedImage,n[`themedImage--${e}`],o)},l)))))}},86043:(e,a,c)=>{"use strict";c.d(a,{u:()=>t,z:()=>u});var d=c(87462),f=c(67294),b=c(10412);function t(e){let{initialState:a}=e;const[c,d]=(0,f.useState)(a??!1),b=(0,f.useCallback)((()=>{d((e=>!e))}),[]);return{collapsed:c,setCollapsed:d,toggleCollapsed:b}}const r={display:"none",overflow:"hidden",height:"0px"},n={display:"block",overflow:"visible",height:"auto"};function i(e,a){const c=a?r:n;e.style.display=c.display,e.style.overflow=c.overflow,e.style.height=c.height}function o(e){let{collapsibleRef:a,collapsed:c,animation:d}=e;const b=(0,f.useRef)(!1);(0,f.useEffect)((()=>{const e=a.current;function f(){const a=e.scrollHeight,c=d?.duration??function(e){const a=e/36;return Math.round(10*(4+15*a**.25+a/5))}(a);return{transition:`height ${c}ms ${d?.easing??"ease-in-out"}`,height:`${a}px`}}function t(){const a=f();e.style.transition=a.transition,e.style.height=a.height}if(!b.current)return i(e,c),void(b.current=!0);return e.style.willChange="height",function(){const a=requestAnimationFrame((()=>{c?(t(),requestAnimationFrame((()=>{e.style.height=r.height,e.style.overflow=r.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{t()})))}));return()=>cancelAnimationFrame(a)}()}),[a,c,d])}function s(e){if(!b.Z.canUseDOM)return e?r:n}function l(e){let{as:a="div",collapsed:c,children:d,animation:b,onCollapseTransitionEnd:t,className:r,disableSSRStyle:n}=e;const l=(0,f.useRef)(null);return o({collapsibleRef:l,collapsed:c,animation:b}),f.createElement(a,{ref:l,style:n?void 0:s(c),onTransitionEnd:e=>{"height"===e.propertyName&&(i(l.current,c),t?.(c))},className:r},d)}function x(e){let{collapsed:a,...c}=e;const[b,t]=(0,f.useState)(!a),[r,n]=(0,f.useState)(a);return(0,f.useLayoutEffect)((()=>{a||t(!0)}),[a]),(0,f.useLayoutEffect)((()=>{b&&n(a)}),[b,a]),b?f.createElement(l,(0,d.Z)({},c,{collapsed:r})):null}function u(e){let{lazy:a,...c}=e;const d=a?x:l;return f.createElement(d,c)}},59689:(e,a,c)=>{"use strict";c.d(a,{nT:()=>u,pl:()=>x});var d=c(67294),f=c(72389),b=c(50012),t=c(902),r=c(86668);const n=(0,b.W)("docusaurus.announcement.dismiss"),i=(0,b.W)("docusaurus.announcement.id"),o=()=>"true"===n.get(),s=e=>n.set(String(e)),l=d.createContext(null);function x(e){let{children:a}=e;const c=function(){const{announcementBar:e}=(0,r.L)(),a=(0,f.Z)(),[c,b]=(0,d.useState)((()=>!!a&&o()));(0,d.useEffect)((()=>{b(o())}),[]);const t=(0,d.useCallback)((()=>{s(!0),b(!0)}),[]);return(0,d.useEffect)((()=>{if(!e)return;const{id:a}=e;let c=i.get();"annoucement-bar"===c&&(c="announcement-bar");const d=a!==c;i.set(a),d&&s(!1),!d&&o()||b(!1)}),[e]),(0,d.useMemo)((()=>({isActive:!!e&&!c,close:t})),[e,c,t])}();return d.createElement(l.Provider,{value:c},a)}function u(){const e=(0,d.useContext)(l);if(!e)throw new t.i6("AnnouncementBarProvider");return e}},92949:(e,a,c)=>{"use strict";c.d(a,{I:()=>p,S:()=>h});var d=c(67294),f=c(10412),b=c(902),t=c(50012),r=c(86668);const n=d.createContext(void 0),i="theme",o=(0,t.W)(i),s="light",l="dark",x=e=>e===l?l:s;function u(){const{colorMode:{defaultMode:e,disableSwitch:a,respectPrefersColorScheme:c}}=(0,r.L)(),[b,t]=(0,d.useState)((e=>f.Z.canUseDOM?x(document.documentElement.getAttribute("data-theme")):x(e))(e));(0,d.useEffect)((()=>{a&&o.del()}),[a]);const n=(0,d.useCallback)((function(a,d){void 0===d&&(d={});const{persist:f=!0}=d;a?(t(a),f&&(e=>{o.set(x(e))})(a)):(t(c?window.matchMedia("(prefers-color-scheme: dark)").matches?l:s:e),o.del())}),[c,e]);(0,d.useEffect)((()=>{document.documentElement.setAttribute("data-theme",x(b))}),[b]),(0,d.useEffect)((()=>{if(a)return;const e=e=>{if(e.key!==i)return;const a=o.get();null!==a&&n(x(a))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[a,n]);const u=(0,d.useRef)(!1);return(0,d.useEffect)((()=>{if(a&&!c)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),d=()=>{window.matchMedia("print").matches||u.current?u.current=window.matchMedia("print").matches:n(null)};return e.addListener(d),()=>e.removeListener(d)}),[n,a,c]),(0,d.useMemo)((()=>({colorMode:b,setColorMode:n,get isDarkTheme(){return b===l},setLightTheme(){n(s)},setDarkTheme(){n(l)}})),[b,n])}function h(e){let{children:a}=e;const c=u();return d.createElement(n.Provider,{value:c},a)}function p(){const e=(0,d.useContext)(n);if(null==e)throw new b.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},60373:(e,a,c)=>{"use strict";c.d(a,{J:()=>y,L5:()=>m,Oh:()=>v});var d=c(67294),f=c(80143),b=c(29935),t=c(86668),r=c(53438),n=c(902),i=c(50012);const o=e=>`docs-preferred-version-${e}`,s=(e,a,c)=>{(0,i.W)(o(e),{persistence:a}).set(c)},l=(e,a)=>(0,i.W)(o(e),{persistence:a}).get(),x=(e,a)=>{(0,i.W)(o(e),{persistence:a}).del()};const u=d.createContext(null);function h(){const e=(0,f._r)(),a=(0,t.L)().docs.versionPersistence,c=(0,d.useMemo)((()=>Object.keys(e)),[e]),[b,r]=(0,d.useState)((()=>(e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}]))))(c)));(0,d.useEffect)((()=>{r(function(e){let{pluginIds:a,versionPersistence:c,allDocsData:d}=e;function f(e){const a=l(e,c);return d[e].versions.some((e=>e.name===a))?{preferredVersionName:a}:(x(e,c),{preferredVersionName:null})}return Object.fromEntries(a.map((e=>[e,f(e)])))}({allDocsData:e,versionPersistence:a,pluginIds:c}))}),[e,a,c]);return[b,(0,d.useMemo)((()=>({savePreferredVersion:function(e,c){s(e,a,c),r((a=>({...a,[e]:{preferredVersionName:c}})))}})),[a])]}function p(e){let{children:a}=e;const c=h();return d.createElement(u.Provider,{value:c},a)}function m(e){let{children:a}=e;return r.cE?d.createElement(p,null,a):d.createElement(d.Fragment,null,a)}function g(){const e=(0,d.useContext)(u);if(!e)throw new n.i6("DocsPreferredVersionContextProvider");return e}function y(e){void 0===e&&(e=b.m);const a=(0,f.zh)(e),[c,t]=g(),{preferredVersionName:r}=c[e];return{preferredVersion:a.versions.find((e=>e.name===r))??null,savePreferredVersionName:(0,d.useCallback)((a=>{t.savePreferredVersion(e,a)}),[t,e])}}function v(){const e=(0,f._r)(),[a]=g();function c(c){const d=e[c],{preferredVersionName:f}=a[c];return d.versions.find((e=>e.name===f))??null}const d=Object.keys(e);return Object.fromEntries(d.map((e=>[e,c(e)])))}},1116:(e,a,c)=>{"use strict";c.d(a,{V:()=>n,b:()=>r});var d=c(67294),f=c(902);const b=Symbol("EmptyContext"),t=d.createContext(b);function r(e){let{children:a,name:c,items:f}=e;const b=(0,d.useMemo)((()=>c&&f?{name:c,items:f}:null),[c,f]);return d.createElement(t.Provider,{value:b},a)}function n(){const e=(0,d.useContext)(t);if(e===b)throw new f.i6("DocsSidebarProvider");return e}},74477:(e,a,c)=>{"use strict";c.d(a,{E:()=>r,q:()=>t});var d=c(67294),f=c(902);const b=d.createContext(null);function t(e){let{children:a,version:c}=e;return d.createElement(b.Provider,{value:c},a)}function r(){const e=(0,d.useContext)(b);if(null===e)throw new f.i6("DocsVersionProvider");return e}},93163:(e,a,c)=>{"use strict";c.d(a,{M:()=>s,e:()=>l});var d=c(67294),f=c(13102),b=c(87524),t=c(91980),r=c(86668),n=c(902);const i=d.createContext(void 0);function o(){const e=function(){const e=(0,f.HY)(),{items:a}=(0,r.L)().navbar;return 0===a.length&&!e.component}(),a=(0,b.i)(),c=!e&&"mobile"===a,[n,i]=(0,d.useState)(!1);(0,t.R)((()=>{if(n)return i(!1),!1}));const o=(0,d.useCallback)((()=>{i((e=>!e))}),[]);return(0,d.useEffect)((()=>{"desktop"===a&&i(!1)}),[a]),(0,d.useMemo)((()=>({disabled:e,shouldRender:c,toggle:o,shown:n})),[e,c,o,n])}function s(e){let{children:a}=e;const c=o();return d.createElement(i.Provider,{value:c},a)}function l(){const e=d.useContext(i);if(void 0===e)throw new n.i6("NavbarMobileSidebarProvider");return e}},13102:(e,a,c)=>{"use strict";c.d(a,{HY:()=>r,Zo:()=>n,n2:()=>t});var d=c(67294),f=c(902);const b=d.createContext(null);function t(e){let{children:a}=e;const c=(0,d.useState)({component:null,props:null});return d.createElement(b.Provider,{value:c},a)}function r(){const e=(0,d.useContext)(b);if(!e)throw new f.i6("NavbarSecondaryMenuContentProvider");return e[0]}function n(e){let{component:a,props:c}=e;const t=(0,d.useContext)(b);if(!t)throw new f.i6("NavbarSecondaryMenuContentProvider");const[,r]=t,n=(0,f.Ql)(c);return(0,d.useEffect)((()=>{r({component:a,props:n})}),[r,a,n]),(0,d.useEffect)((()=>()=>r({component:null,props:null})),[r]),null}},76857:(e,a,c)=>{"use strict";c.d(a,{P:()=>n,Y:()=>o});var d=c(67294),f=c(902),b=c(93163),t=c(13102);const r=d.createContext(null);function n(e){let{children:a}=e;const c=function(){const e=(0,b.e)(),a=(0,t.HY)(),[c,r]=(0,d.useState)(!1),n=null!==a.component,i=(0,f.D9)(n);return(0,d.useEffect)((()=>{n&&!i&&r(!0)}),[n,i]),(0,d.useEffect)((()=>{n?e.shown||r(!0):r(!1)}),[e.shown,n]),(0,d.useMemo)((()=>[c,r]),[c])}();return d.createElement(r.Provider,{value:c},a)}function i(e){if(e.component){const a=e.component;return d.createElement(a,e.props)}}function o(){const e=(0,d.useContext)(r);if(!e)throw new f.i6("NavbarSecondaryMenuDisplayProvider");const[a,c]=e,b=(0,d.useCallback)((()=>c(!1)),[c]),n=(0,t.HY)();return(0,d.useMemo)((()=>({shown:a,hide:b,content:i(n)})),[b,n,a])}},7094:(e,a,c)=>{"use strict";c.d(a,{U:()=>i,z:()=>n});var d=c(67294),f=c(50012),b=c(902);const t="docusaurus.tab.",r=d.createContext(void 0);function n(e){let{children:a}=e;const c=function(){const[e,a]=(0,d.useState)({}),c=(0,d.useCallback)(((e,a)=>{(0,f.W)(`docusaurus.tab.${e}`).set(a)}),[]);(0,d.useEffect)((()=>{try{const e={};(0,f._)().forEach((a=>{if(a.startsWith(t)){const c=a.substring(t.length);e[c]=(0,f.W)(a).get()}})),a(e)}catch(e){console.error(e)}}),[]);const b=(0,d.useCallback)(((e,d)=>{a((a=>({...a,[e]:d}))),c(e,d)}),[c]);return(0,d.useMemo)((()=>({tabGroupChoices:e,setTabGroupChoices:b})),[e,b])}();return d.createElement(r.Provider,{value:c},a)}function i(){const e=(0,d.useContext)(r);if(null==e)throw new b.i6("TabGroupChoiceProvider");return e}},99445:(e,a,c)=>{"use strict";c.d(a,{c:()=>t});var d=c(67294),f=c(85936),b=c(12466);function t(e){const[a,c]=(0,d.useState)(e),t=(0,d.useRef)(!1),r=(0,d.useRef)(0),n=(0,d.useCallback)((e=>{null!==e&&(r.current=e.getBoundingClientRect().height)}),[]);return(0,b.RF)(((a,d)=>{let{scrollY:f}=a;if(!e)return;if(f=b?c(!1):f+i{if(!e)return;const d=a.location.hash;if(d?document.getElementById(d.substring(1)):void 0)return t.current=!0,void c(!1);c(!0)})),{navbarRef:n,isNavbarVisible:a}}},19727:(e,a,c)=>{"use strict";c.d(a,{h:()=>f,t:()=>b});var d=c(67294);const f="navigation-with-keyboard";function b(){(0,d.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(f),"mousedown"===e.type&&document.body.classList.remove(f)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(f),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},69800:(e,a,c)=>{"use strict";c.d(a,{N:()=>f});var d=c(67294);function f(e){void 0===e&&(e=!0),(0,d.useEffect)((()=>(document.body.style.overflow=e?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[e])}},66177:(e,a,c)=>{"use strict";c.d(a,{O:()=>r});var d=c(67294),f=c(16550),b=c(52263);const t="q";function r(){const e=(0,f.k6)(),{siteConfig:{baseUrl:a}}=(0,b.Z)(),[c,r]=(0,d.useState)("");(0,d.useEffect)((()=>{const e=new URLSearchParams(window.location.search).get(t)??"";r(e)}),[]);return{searchQuery:c,setSearchQuery:(0,d.useCallback)((a=>{const c=new URLSearchParams(window.location.search);a?c.set(t,a):c.delete(t),e.replace({search:c.toString()}),r(a)}),[e]),generateSearchPageLink:(0,d.useCallback)((e=>`${a}search?q=${encodeURIComponent(e)}`),[a])}}},87524:(e,a,c)=>{"use strict";c.d(a,{i:()=>i});var d=c(67294),f=c(10412);const b="desktop",t="mobile",r="ssr";function n(){return f.Z.canUseDOM?window.innerWidth>996?b:t:r}function i(){const[e,a]=(0,d.useState)((()=>n()));return(0,d.useEffect)((()=>{function e(){a(n())}return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e),clearTimeout(undefined)}}),[]),e}},35281:(e,a,c)=>{"use strict";c.d(a,{k:()=>d});const d={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},53438:(e,a,c)=>{"use strict";c.d(a,{MN:()=>A,Wl:()=>h,_F:()=>g,cE:()=>l,em:()=>u,hI:()=>E,jA:()=>p,lO:()=>_,oz:()=>w,s1:()=>v,vY:()=>S,xz:()=>x});var d=c(67294),f=c(16550),b=c(18790),t=c(80143),r=c(60373),n=c(74477),i=c(1116),o=c(67392),s=c(48596);const l=!!t._r;function x(e){const a=(0,n.E)();if(!e)return;const c=a.docs[e];if(!c)throw new Error(`no version doc found by id=${e}`);return c}function u(e,a){for(const c of e)if("category"===c.type){if(a(c))return c;const e=u(c.items,a);if(e)return e}}function h(e){if(e.href)return e.href;for(const a of e.items){if("link"===a.type)return a.href;if("category"===a.type){const e=h(a);if(e)return e}}}function p(){const{pathname:e}=(0,f.TH)(),a=(0,i.V)();if(!a)throw new Error("Unexpected: cant find current sidebar in context");const c=y({sidebarItems:a.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!c)throw new Error(`${e} is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.`);return c}const m=(e,a)=>void 0!==e&&(0,s.Mg)(e,a);function g(e,a){return"link"===e.type?m(e.href,a):"category"===e.type&&(m(e.href,a)||((e,a)=>e.some((e=>g(e,a))))(e.items,a))}function y(e){let{sidebarItems:a,pathname:c,onlyCategories:d=!1}=e;const f=[];return function e(a){for(const b of a)if("category"===b.type&&((0,s.Mg)(b.href,c)||e(b.items))||"link"===b.type&&(0,s.Mg)(b.href,c)){return d&&"category"!==b.type||f.unshift(b),!0}return!1}(a),f}function v(){const e=(0,i.V)(),{pathname:a}=(0,f.TH)(),c=(0,t.gA)()?.pluginData.breadcrumbs;return!1!==c&&e?y({sidebarItems:e.items,pathname:a}):null}function _(e){const{activeVersion:a}=(0,t.Iw)(e),{preferredVersion:c}=(0,r.J)(e),f=(0,t.yW)(e);return(0,d.useMemo)((()=>(0,o.j)([a,c,f].filter(Boolean))),[a,c,f])}function w(e,a){const c=_(a);return(0,d.useMemo)((()=>{const a=c.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),d=a.find((a=>a[0]===e));if(!d)throw new Error(`Can't find any sidebar with id "${e}" in version${c.length>1?"s":""} ${c.map((e=>e.name)).join(", ")}".\n Available sidebar ids are:\n - ${Object.keys(a).join("\n- ")}`);return d[1]}),[e,c])}function S(e,a){const c=_(a);return(0,d.useMemo)((()=>{const a=c.flatMap((e=>e.docs)),d=a.find((a=>a.id===e));if(!d){if(c.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`DocNavbarItem: couldn't find any doc with id "${e}" in version${c.length>1?"s":""} ${c.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${(0,o.j)(a.map((e=>e.id))).join("\n- ")}`)}return d}),[e,c])}function E(e){let{route:a,versionMetadata:c}=e;const d=(0,f.TH)(),t=a.routes,r=t.find((e=>(0,f.LX)(d.pathname,e)));if(!r)return null;const n=r.sidebar,i=n?c.docsSidebars[n]:void 0;return{docElement:(0,b.H)(t),sidebarName:n,sidebarItems:i}}function A(e){return e.filter((e=>"category"!==e.type||!!h(e)))}},42489:(e,a,c)=>{"use strict";function d(e){return"title"in e[0]}c.d(a,{a:()=>d})},82128:(e,a,c)=>{"use strict";c.d(a,{p:()=>f});var d=c(52263);function f(e){const{siteConfig:a}=(0,d.Z)(),{title:c,titleDelimiter:f}=a;return e?.trim().length?`${e.trim()} ${f} ${c}`:c}},91980:(e,a,c)=>{"use strict";c.d(a,{R:()=>t});var d=c(67294),f=c(16550),b=c(902);function t(e){!function(e){const a=(0,f.k6)(),c=(0,b.zX)(e);(0,d.useEffect)((()=>a.block(((e,a)=>c(e,a)))),[a,c])}(((a,c)=>{if("POP"===c)return e(a,c)}))}},67392:(e,a,c)=>{"use strict";function d(e,a){return void 0===a&&(a=(e,a)=>e===a),e.filter(((c,d)=>e.findIndex((e=>a(e,c)))!==d))}function f(e){return Array.from(new Set(e))}c.d(a,{j:()=>f,l:()=>d})},10833:(e,a,c)=>{"use strict";c.d(a,{FG:()=>l,d:()=>o,VC:()=>x});var d=c(67294),f=c(86010),b=c(35742),t=c(30226);function r(){const e=d.useContext(t._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var n=c(44996),i=c(82128);function o(e){let{title:a,description:c,keywords:f,image:t,children:r}=e;const o=(0,i.p)(a),{withBaseUrl:s}=(0,n.C)(),l=t?s(t,{absolute:!0}):void 0;return d.createElement(b.Z,null,a&&d.createElement("title",null,o),a&&d.createElement("meta",{property:"og:title",content:o}),c&&d.createElement("meta",{name:"description",content:c}),c&&d.createElement("meta",{property:"og:description",content:c}),f&&d.createElement("meta",{name:"keywords",content:Array.isArray(f)?f.join(","):f}),l&&d.createElement("meta",{property:"og:image",content:l}),l&&d.createElement("meta",{name:"twitter:image",content:l}),r)}const s=d.createContext(void 0);function l(e){let{className:a,children:c}=e;const t=d.useContext(s),r=(0,f.Z)(t,a);return d.createElement(s.Provider,{value:r},d.createElement(b.Z,null,d.createElement("html",{className:r})),c)}function x(e){let{children:a}=e;const c=r(),b=`plugin-${c.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const t=`plugin-id-${c.plugin.id}`;return d.createElement(l,{className:(0,f.Z)(b,t)},a)}},58978:(e,a,c)=>{"use strict";c.d(a,{A:()=>r,V:()=>n});var d=c(67294),f=c(93163),b=c(13102),t=c(76857);function r(e){function a(e){return"left"===(e.position??"right")}return[e.filter(a),e.filter((e=>!a(e)))]}function n(e){let{children:a}=e;return d.createElement(b.n2,null,d.createElement(f.M,null,d.createElement(t.P,null,a)))}},902:(e,a,c)=>{"use strict";c.d(a,{D9:()=>t,LI:()=>f,Qc:()=>i,Ql:()=>n,i6:()=>r,zX:()=>b});var d=c(67294);const f=c(10412).Z.canUseDOM?d.useLayoutEffect:d.useEffect;function b(e){const a=(0,d.useRef)(e);return f((()=>{a.current=e}),[e]),(0,d.useCallback)((function(){return a.current(...arguments)}),[])}function t(e){const a=(0,d.useRef)();return f((()=>{a.current=e})),a.current}class r extends Error{constructor(e,a){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?\w+)/)?.groups.name??""} is called outside the <${e}>. ${a??""}`}}function n(e){const a=Object.entries(e);return a.sort(((e,a)=>e[0].localeCompare(a[0]))),(0,d.useMemo)((()=>e),a.flat())}function i(e){return a=>{let{children:c}=a;return d.createElement(d.Fragment,null,e.reduceRight(((e,a)=>d.createElement(a,null,e)),c))}}},98022:(e,a,c)=>{"use strict";function d(e,a){return void 0!==e&&void 0!==a&&new RegExp(e,"gi").test(a)}c.d(a,{F:()=>d})},48596:(e,a,c)=>{"use strict";c.d(a,{Mg:()=>t,Ns:()=>r});var d=c(67294),f=c(723),b=c(52263);function t(e,a){const c=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return c(e)===c(a)}function r(){const{baseUrl:e}=(0,b.Z)().siteConfig;return(0,d.useMemo)((()=>function(e){let{baseUrl:a,routes:c}=e;function d(e){return e.path===a&&!0===e.exact}function f(e){return e.path===a&&!e.exact}return function e(a){if(0===a.length)return;return a.find(d)||e(a.filter(f).flatMap((e=>e.routes??[])))}(c)}({routes:f.Z,baseUrl:e})),[e])}},12466:(e,a,c)=>{"use strict";c.d(a,{Ct:()=>x,OC:()=>n,RF:()=>s,o5:()=>l,sG:()=>i});var d=c(67294),f=c(10412),b=c(72389),t=c(902);const r=d.createContext(void 0);function n(e){let{children:a}=e;const c=function(){const e=(0,d.useRef)(!0);return(0,d.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return d.createElement(r.Provider,{value:c},a)}function i(){const e=(0,d.useContext)(r);if(null==e)throw new t.i6("ScrollControllerProvider");return e}const o=()=>f.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function s(e,a){void 0===a&&(a=[]);const{scrollEventsEnabledRef:c}=i(),f=(0,d.useRef)(o()),b=(0,t.zX)(e);(0,d.useEffect)((()=>{const e=()=>{if(!c.current)return;const e=o();b(e,f.current),f.current=e},a={passive:!0};return e(),window.addEventListener("scroll",e,a),()=>window.removeEventListener("scroll",e,a)}),[b,c,...a])}function l(){const e=i(),a=function(){const e=(0,d.useRef)({elem:null,top:0}),a=(0,d.useCallback)((a=>{e.current={elem:a,top:a.getBoundingClientRect().top}}),[]),c=(0,d.useCallback)((()=>{const{current:{elem:a,top:c}}=e;if(!a)return{restored:!1};const d=a.getBoundingClientRect().top-c;return d&&window.scrollBy({left:0,top:d}),e.current={elem:null,top:0},{restored:0!==d}}),[]);return(0,d.useMemo)((()=>({save:a,restore:c})),[c,a])}(),c=(0,d.useRef)(void 0),f=(0,d.useCallback)((d=>{a.save(d),e.disableScrollEvents(),c.current=()=>{const{restored:d}=a.restore();if(c.current=void 0,d){const a=()=>{e.enableScrollEvents(),window.removeEventListener("scroll",a)};window.addEventListener("scroll",a)}else e.enableScrollEvents()}}),[e,a]);return(0,d.useLayoutEffect)((()=>{c.current?.()})),{blockElementScrollPositionUntilNextRender:f}}function x(){const e=(0,d.useRef)(null),a=(0,b.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:c=>{e.current=a?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(c):function(e){let a=null;const c=document.documentElement.scrollTop>e;return function d(){const f=document.documentElement.scrollTop;(c&&f>e||!c&&fa&&cancelAnimationFrame(a)}(c)},cancelScroll:()=>e.current?.()}}},43320:(e,a,c)=>{"use strict";c.d(a,{HX:()=>t,_q:()=>n,os:()=>r});var d=c(80143),f=c(52263),b=c(60373);const t="default";function r(e,a){return`docs-${e}-${a}`}function n(){const{i18n:e}=(0,f.Z)(),a=(0,d._r)(),c=(0,d.WS)(),n=(0,b.Oh)();const i=[t,...Object.keys(a).map((function(e){const d=c?.activePlugin.pluginId===e?c.activeVersion:void 0,f=n[e],b=a[e].versions.find((e=>e.isLast));return r(e,(d??f??b).name)}))];return{locale:e.currentLocale,tags:i}}},55225:(e,a,c)=>{"use strict";c.d(a,{l:()=>l,u:()=>n});var d=c(87462),f=c(67294),b=c(16550),t=c(95999),r=c(85936);const n="docusaurus_skipToContent_fallback";function i(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function o(){const e=(0,f.useRef)(null),{action:a}=(0,b.k6)(),c=(0,f.useCallback)((e=>{e.preventDefault();const a=document.querySelector("main:first-of-type")??document.getElementById(n);a&&i(a)}),[]);return(0,r.S)((c=>{let{location:d}=c;e.current&&!d.hash&&"PUSH"===a&&i(e.current)})),{containerRef:e,onClick:c}}const s=(0,t.I)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function l(e){const a=e.children??s,{containerRef:c,onClick:b}=o();return f.createElement("div",{ref:c,role:"region","aria-label":s},f.createElement("a",(0,d.Z)({},e,{href:`#${n}`,onClick:b}),a))}},50012:(e,a,c)=>{"use strict";c.d(a,{W:()=>r,_:()=>n});const d="localStorage";function f(e){if(void 0===e&&(e=d),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(c){return a=c,b||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",a),b=!0),null}var a}let b=!1;const t={get:()=>null,set:()=>{},del:()=>{}};function r(e,a){if("undefined"==typeof window)return function(e){function a(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:a,set:a,del:a}}(e);const c=f(a?.persistence);return null===c?t:{get:()=>{try{return c.getItem(e)}catch(a){return console.error(`Docusaurus storage error, can't get key=${e}`,a),null}},set:a=>{try{c.setItem(e,a)}catch(d){console.error(`Docusaurus storage error, can't set ${e}=${a}`,d)}},del:()=>{try{c.removeItem(e)}catch(a){console.error(`Docusaurus storage error, can't delete key=${e}`,a)}}}}function n(e){void 0===e&&(e=d);const a=f(e);if(!a)return[];const c=[];for(let d=0;d{"use strict";c.d(a,{l:()=>b});var d=c(52263),f=c(16550);function b(){const{siteConfig:{baseUrl:e,url:a},i18n:{defaultLocale:c,currentLocale:b}}=(0,d.Z)(),{pathname:t}=(0,f.TH)(),r=b===c?e:e.replace(`/${b}/`,"/"),n=t.replace(e,"");return{createUrl:function(e){let{locale:d,fullyQualified:f}=e;return`${f?a:""}${function(e){return e===c?`${r}`:`${r}${e}/`}(d)}${n}`}}}},51753:(e,a,c)=>{"use strict";c.d(a,{b:()=>b});var d=c(16550),f=c(52263);function b(){const{siteConfig:{baseUrl:e}}=(0,f.Z)(),{pathname:a}=(0,d.TH)();return a.replace(e,"/")}},85936:(e,a,c)=>{"use strict";c.d(a,{S:()=>t});var d=c(67294),f=c(16550),b=c(902);function t(e){const a=(0,f.TH)(),c=(0,b.D9)(a),t=(0,b.zX)(e);(0,d.useEffect)((()=>{c&&a!==c&&t({location:a,previousLocation:c})}),[t,a,c])}},86668:(e,a,c)=>{"use strict";c.d(a,{L:()=>f});var d=c(52263);function f(){return(0,d.Z)().siteConfig.themeConfig}},8802:(e,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,a){const{trailingSlash:c,baseUrl:d}=a;if(e.startsWith("#"))return e;if(void 0===c)return e;const[f]=e.split(/[#?]/),b="/"===f||f===d?f:(t=f,c?function(e){return e.endsWith("/")?e:`${e}/`}(t):function(e){return e.endsWith("/")?e.slice(0,-1):e}(t));var t;return e.replace(f,b)}},18780:function(e,a,c){"use strict";var d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0}),a.applyTrailingSlash=a.blogPostContainerID=void 0,a.blogPostContainerID="post-content";var f=c(8802);Object.defineProperty(a,"applyTrailingSlash",{enumerable:!0,get:function(){return d(f).default}})},37489:(e,a,c)=>{"use strict";c.d(a,{Lp:()=>Pe,G:()=>Ie,By:()=>Be,JR:()=>De,do:()=>je,XK:()=>Ue,KU:()=>ze,xN:()=>Oe,gB:()=>Fe,fV:()=>Ne,J1:()=>qe,fD:()=>Le,IS:()=>Ce});var d=c(16824),f=c(22457),b=c(80912);var t,r,n,i=Object.create,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,x=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,h=(e,a)=>function(){return a||(0,e[l(e)[0]])((a={exports:{}}).exports,a),a.exports},p=h({"node_modules/statuses/codes.json"(e,a){a.exports={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a Teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}}}),m=h({"node_modules/statuses/index.js"(e,a){var c,d,f=p();function b(e){if(!Object.prototype.hasOwnProperty.call(t.message,e))throw new Error("invalid status code: "+e);return t.message[e]}function t(e){if("number"==typeof e)return b(e);if("string"!=typeof e)throw new TypeError("code must be a number or string");var a=parseInt(e,10);return isNaN(a)?function(e){var a=e.toLowerCase();if(!Object.prototype.hasOwnProperty.call(t.code,a))throw new Error('invalid status message: "'+e+'"');return t.code[a]}(e):b(a)}a.exports=t,t.message=f,t.code=(c=f,d={},Object.keys(c).forEach((function(e){var a=c[e],f=Number(e);d[a.toLowerCase()]=f})),d),t.codes=function(e){return Object.keys(e).map((function(e){return Number(e)}))}(f),t.redirect={300:!0,301:!0,302:!0,303:!0,305:!0,307:!0,308:!0},t.empty={204:!0,205:!0,304:!0},t.retry={502:!0,503:!0,504:!0}}}),g=(t=m(),r=1,n=null!=t?i(x(t)):{},((e,a,c,d)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let f of l(a))u.call(e,f)||f===c||o(e,f,{get:()=>a[f],enumerable:!(d=s(a,f))||d.enumerable});return e})(!r&&t&&t.__esModule?n:o(n,"default",{value:t,enumerable:!0}),t)).default;const{message:y}=g;function v(e,a){void 0===a&&(a={});for(var c=function(e){for(var a=[],c=0;c=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122||95===n))break;t+=e[r++]}if(!t)throw new TypeError("Missing parameter name at ".concat(c));a.push({type:"NAME",index:c,value:t}),c=r}else a.push({type:"CLOSE",index:c,value:e[c++]});else a.push({type:"OPEN",index:c,value:e[c++]});else a.push({type:"ESCAPED_CHAR",index:c++,value:e[c++]});else a.push({type:"MODIFIER",index:c,value:e[c++]})}return a.push({type:"END",index:c,value:""}),a}(e),d=a.prefixes,f=void 0===d?"./":d,b="[^".concat(w(a.delimiter||"/#?"),"]+?"),t=[],r=0,n=0,i="",o=function(e){if(n-1:void 0===A;f||(p+="(?:".concat(h,"(?=").concat(u,"))?")),k||(p+="(?=".concat(h,"|").concat(u,")"))}return new RegExp(p,S(c))}(v(e,c),a,c)}function A(e,a,c){return e instanceof RegExp?function(e,a){if(!a)return e;for(var c=/\((?:\?<(.*?)>)?(?!\?)/g,d=0,f=c.exec(e.source);f;)a.push({name:f[1]||d++,prefix:"",suffix:"",modifier:"",pattern:""}),f=c.exec(e.source);return e}(e,a):Array.isArray(e)?function(e,a,c){var d=e.map((function(e){return A(e,a,c).source}));return new RegExp("(?:".concat(d.join("|"),")"),S(c))}(e,a,c):E(e,a,c)}new TextEncoder;Symbol("isPatchedModule");var k=c(34155);c(95002),c(34155);var I=Object.defineProperty,C={};function L(e){return`\x1b[33m${e}\x1b[0m`}function T(e){return`\x1b[34m${e}\x1b[0m`}function P(e){return`\x1b[90m${e}\x1b[0m`}function R(e){return`\x1b[31m${e}\x1b[0m`}function M(e){return`\x1b[32m${e}\x1b[0m`}((e,a)=>{for(var c in a)I(e,c,{get:a[c],enumerable:!0})})(C,{blue:()=>T,gray:()=>P,green:()=>M,red:()=>R,yellow:()=>L});!function(){if("undefined"!=typeof navigator&&"ReactNative"===navigator.product)return!0;if(void 0!==k){const e=k.type;return"renderer"!==e&&"worker"!==e&&!(!k.versions||!k.versions.node)}}();c(36726);const B=/[\?|#].*$/g;function O(e){return e.replace(B,"")}function N(e,a){if(e instanceof RegExp)return e;const c=function(e,a){if(/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e))return e;if(e.startsWith("*"))return e;const c=a||"undefined"!=typeof document&&document.baseURI;return c?decodeURI(new URL(encodeURI(e),c).href):e}(e,a);return O(c)}function F(e,a,c){const d=N(a,c),f="string"==typeof d?function(e){return e.replace(/([:a-zA-Z_-]*)(\*{1,2})+/g,((e,a,c)=>{const d="(.*)";return a?a.startsWith(":")?`${a}${c}`:`${a}(.*)`:d})).replace(/([^\/])(:)(?=\d+)/,"$1\\$2").replace(/^([^\/]+)(:)(?=\/\/)/,"$1\\$2")}(d):d,b=function(e,a=!0){return[a&&e.origin,e.pathname].filter(Boolean).join("")}(e),t=_(f,{decode:decodeURIComponent})(b);return{matches:!1!==t,params:t&&t.params||{}}}var D=c(786),U=Object.create,j=Object.defineProperty,z=Object.getOwnPropertyDescriptor,q=Object.getOwnPropertyNames,K=Object.getPrototypeOf,V=Object.prototype.hasOwnProperty,$=((e,a)=>function(){return a||(0,e[q(e)[0]])((a={exports:{}}).exports,a),a.exports})({"node_modules/cookie/index.js"(e){e.parse=function(e,a){if("string"!=typeof e)throw new TypeError("argument str must be a string");var c={},f=(a||{}).decode||d,t=0;for(;t(c=null!=e?U(K(e)):{},((e,a,c,d)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let f of q(a))V.call(e,f)||f===c||j(e,f,{get:()=>a[f],enumerable:!(d=z(a,f))||d.enumerable});return e})(!a&&e&&e.__esModule?c:j(c,"default",{value:e,enumerable:!0}),e)))($(),1),G=H.default,W=c(6700);function Z(){return G.parse(document.cookie)}function Q(e){const a=e.headers.get("cookie"),c=a?G.parse(a):{};W.h.hydrate();const d=Array.from(W.h.get(e)?.entries()).reduce(((e,[a,{value:c}])=>Object.assign(e,{[a.trim()]:c})),{}),f=function(e){if("undefined"==typeof document||"undefined"==typeof location)return{};switch(e.credentials){case"same-origin":{const a=new URL(e.url);return location.origin===a.origin?Z():{}}case"include":return Z();default:return{}}}(e),b={...f,...d};for(const[t,r]of Object.entries(b))e.headers.append("cookie",G.serialize(t,r));return{...b,...c}}var Y=c(59336),J=(e=>(e.HEAD="HEAD",e.GET="GET",e.POST="POST",e.PUT="PUT",e.PATCH="PATCH",e.OPTIONS="OPTIONS",e.DELETE="DELETE",e))(J||{});class X extends Y.Z{constructor(e,a,c,d){super({info:{header:`${e} ${a}`,path:a,method:e},resolver:c,options:d}),this.checkRedundantQueryParameters()}checkRedundantQueryParameters(){const{method:e,path:a}=this.info;if(a instanceof RegExp)return;if(O(a)===a)return;const c=function(e){return new URL(`/${e}`,"http://localhost").searchParams}(a),d=[];c.forEach(((e,a)=>{d.push(a)})),b.e.warn(`Found a redundant usage of query parameters in the request handler URL for "${e} ${a}". Please match against a path instead and access query parameters using "new URL(request.url).searchParams" instead. Learn more: https://mswjs.io/docs/recipes/query-parameters`)}async parse(e){return{match:F(new URL(e.request.url),this.info.path,e.resolutionContext?.baseUrl),cookies:Q(e.request)}}predicate(e){const a=this.matchMethod(e.request.method),c=e.parsedResult.match.matches;return a&&c}matchMethod(e){return this.info.method instanceof RegExp?this.info.method.test(e):(a=this.info.method,c=e,a.toLowerCase()===c.toLowerCase());var a,c}extendResolverArgs(e){return{params:e.parsedResult.match?.params||{},cookies:e.parsedResult.cookies}}async log(e){const a=(0,D.F)(e.request.url),c=await async function(e){const a=e.clone(),c=await a.text();return{url:new URL(e.url),method:e.method,headers:Object.fromEntries(e.headers.entries()),body:c}}(e.request),d=await async function(e){const a=e.clone(),c=await a.text(),d=a.status||200;return{status:d,statusText:a.statusText||y[d]||"OK",headers:Object.fromEntries(a.headers.entries()),body:c}}(e.response),f=(t=d.status)<300?"#69AB32":t<400?"#F0BB4B":"#E95F5D";var t;console.groupCollapsed(b.e.formatMessage(`${function(){const e=new Date;return[e.getHours(),e.getMinutes(),e.getSeconds()].map(String).map((e=>e.slice(0,2))).map((e=>e.padStart(2,"0"))).join(":")}()} ${e.request.method} ${a} (%c${d.status} ${d.statusText}%c)`),`color:${f}`,"color:inherit"),console.log("Request",c),console.log("Handler:",this),console.log("Response",d),console.groupEnd()}}function ee(e){return(a,c,d={})=>new X(e,a,c,d)}const ae={all:ee(/.+/),head:ee(J.HEAD),get:ee(J.GET),post:ee(J.POST),put:ee(J.PUT),delete:ee(J.DELETE),patch:ee(J.PATCH),options:ee(J.OPTIONS)};var ce=Object.create,de=Object.defineProperty,fe=Object.getOwnPropertyDescriptor,be=Object.getOwnPropertyNames,te=Object.getPrototypeOf,re=Object.prototype.hasOwnProperty,ne=((e,a)=>function(){return a||(0,e[be(e)[0]])((a={exports:{}}).exports,a),a.exports})({"node_modules/set-cookie-parser/lib/set-cookie.js"(e,a){var c={decodeValues:!0,map:!1,silent:!1};function d(e){return"string"==typeof e&&!!e.trim()}function f(e,a){var f=e.split(";").filter(d),b=function(e){var a="",c="",d=e.split("=");d.length>1?(a=d.shift(),c=d.join("=")):c=e;return{name:a,value:c}}(f.shift()),t=b.name,r=b.value;a=a?Object.assign({},c,a):c;try{r=a.decodeValues?decodeURIComponent(r):r}catch(i){console.error("set-cookie-parser encountered an error while decoding a cookie with value '"+r+"'. Set options.decodeValues to false to disable this feature.",i)}var n={name:t,value:r};return f.forEach((function(e){var a=e.split("="),c=a.shift().trimLeft().toLowerCase(),d=a.join("=");"expires"===c?n.expires=new Date(d):"max-age"===c?n.maxAge=parseInt(d,10):"secure"===c?n.secure=!0:"httponly"===c?n.httpOnly=!0:"samesite"===c?n.sameSite=d:n[c]=d})),n}function b(e,a){if(a=a?Object.assign({},c,a):c,!e)return a.map?{}:[];if(e.headers)if("function"==typeof e.headers.getSetCookie)e=e.headers.getSetCookie();else if(e.headers["set-cookie"])e=e.headers["set-cookie"];else{var b=e.headers[Object.keys(e.headers).find((function(e){return"set-cookie"===e.toLowerCase()}))];b||!e.headers.cookie||a.silent||console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."),e=b}if(Array.isArray(e)||(e=[e]),(a=a?Object.assign({},c,a):c).map){return e.filter(d).reduce((function(e,c){var d=f(c,a);return e[d.name]=d,e}),{})}return e.filter(d).map((function(e){return f(e,a)}))}a.exports=b,a.exports.parse=b,a.exports.parseString=f,a.exports.splitCookiesString=function(e){if(Array.isArray(e))return e;if("string"!=typeof e)return[];var a,c,d,f,b,t=[],r=0;function n(){for(;r=e.length)&&t.push(e.substring(a,e.length))}return t}}}),ie=((e,a,c)=>(c=null!=e?ce(te(e)):{},((e,a,c,d)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let f of be(a))re.call(e,f)||f===c||de(e,f,{get:()=>a[f],enumerable:!(d=fe(a,f))||d.enumerable});return e})(!a&&e&&e.__esModule?c:de(c,"default",{value:e,enumerable:!0}),e)))(ne()),oe=/[^a-z0-9\-#$%&'*+.^_`|~]/i;function se(e){if(oe.test(e)||""===e.trim())throw new TypeError("Invalid character in header field name");return e.trim().toLowerCase()}var le=[String.fromCharCode(10),String.fromCharCode(13),String.fromCharCode(9),String.fromCharCode(32)],xe=new RegExp(`(^[${le.join("")}]|$[${le.join("")}])`,"g");function ue(e){return e.replace(xe,"")}function he(e){if("string"!=typeof e)return!1;if(0===e.length)return!1;for(let a=0;a127||!pe(c))return!1}return!0}function pe(e){return![127,32,"(",")","<",">","@",",",";",":","\\",'"',"/","[","]","?","=","{","}"].includes(e)}function me(e){if("string"!=typeof e)return!1;if(e.trim()!==e)return!1;for(let a=0;a{this.append(a,e)}),this)}else Array.isArray(a)?a.forEach((([e,a])=>{this.append(e,Array.isArray(a)?a.join(", "):a)})):a&&Object.getOwnPropertyNames(a).forEach((e=>{const c=a[e];this.append(e,Array.isArray(c)?c.join(", "):c)}))}[(ge=_e,ye=we,ve=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}*keys(){for(const[e]of this.entries())yield e}*values(){for(const[,e]of this.entries())yield e}*entries(){let e=Object.keys(this[_e]).sort(((e,a)=>e.localeCompare(a)));for(const a of e)if("set-cookie"===a)for(const e of this.getSetCookie())yield[a,e];else yield[a,this.get(a)]}has(e){if(!he(e))throw new TypeError(`Invalid header name "${e}"`);return this[_e].hasOwnProperty(se(e))}get(e){if(!he(e))throw TypeError(`Invalid header name "${e}"`);return this[_e][se(e)]??null}set(e,a){if(!he(e)||!me(a))return;const c=se(e),d=ue(a);this[_e][c]=ue(d),this[we].set(c,e)}append(e,a){if(!he(e)||!me(a))return;const c=se(e),d=ue(a);let f=this.has(c)?`${this.get(c)}, ${d}`:d;this.set(e,f)}delete(e){if(!he(e))return;if(!this.has(e))return;const a=se(e);delete this[_e][a],this[we].delete(a)}forEach(e,a){for(const[c,d]of this.entries())e.call(a,d,c,this)}getSetCookie(){const e=this.get("set-cookie");return null===e?[]:""===e?[""]:(0,ie.splitCookiesString)(e)}};const{message:Ee}=g;function Ae(e={}){const a=e?.status||200,c=e?.statusText||Ee[a]||"",d=new Headers(e?.headers);return{...e,headers:d,status:a,statusText:c}}class ke extends Response{constructor(e,a){const c=Ae(a);super(e,c),function(e,a){if(a.type&&Object.defineProperty(e,"type",{value:a.type,enumerable:!0,writable:!1}),"undefined"!=typeof document){const e=Se.prototype.getSetCookie.call(a.headers);for(const a of e)document.cookie=a}}(this,c)}static text(e,a){const c=Ae(a);return c.headers.has("Content-Type")||c.headers.set("Content-Type","text/plain"),c.headers.has("Content-Length")||c.headers.set("Content-Length",e?new Blob([e]).size.toString():"0"),new ke(e,c)}static json(e,a){const c=Ae(a);c.headers.has("Content-Type")||c.headers.set("Content-Type","application/json");const d=JSON.stringify(e);return c.headers.has("Content-Length")||c.headers.set("Content-Length",d?new Blob([d]).size.toString():"0"),new ke(d,c)}static xml(e,a){const c=Ae(a);return c.headers.has("Content-Type")||c.headers.set("Content-Type","text/xml"),new ke(e,c)}static arrayBuffer(e,a){const c=Ae(a);return e&&c.headers.set("Content-Length",e.byteLength.toString()),new ke(e,c)}static formData(e,a){return new ke(e,Ae(a))}}const Ie="4be20a8eb4caa2f2508be2538decb9648bd9fab41f1d5a549a42020000000000",Ce="6be20a8eb4ca923f171c6502a404112ad06c05491f859949633e020000000003",Le="a2f2508be2538decb9648bd9fab41f1d5a549a42",Te=new d.w5("0x51129d8e9e17f740997687a7e15d60642cb2fe33565e17823859fae5fd72d3cb"),Pe=new f.KB({env:f.yG.STG,wallet:Te,electionId:Ie}),Re={censusOrigin:"OFF_CHAIN_CA",censusRoot:"025de8cb8de1005aa939c1403e37e1fa165ebc758da49cb37215c6237d01591104",postRegisterCensusRoot:"",censusURL:"https://csp-dev-simplemath.vocdoni.net/v1",maxCensusSize:2e3,size:1},Me=function(e,a){let{census:c=null,metaCensus:d=null}=void 0===a?{}:a;return{electionId:e,organizationId:Le,status:f.fc.READY,startDate:"2024-04-12T15:18:09Z",endDate:"2027-04-12T15:19:44Z",voteCount:0,finalResults:!1,result:[["23","300"]],manuallyEnded:!1,fromArchive:!1,chainId:"vocdoni/STAGE/11",census:c??{censusOrigin:"OFF_CHAIN_TREE_WEIGHTED",censusRoot:"7412677fec3de360c31899b5204a76b95f05d93131320e829376312bacbb6a14",postRegisterCensusRoot:"",censusURL:"ipfs://bafybeihj4hjmdmgxdcdmplnfm7gnhvlcpyphr3pgcchnhpz4emnmls5br4",maxCensusSize:1,size:1},metadataURL:"ipfs://bafybeia6vwrynwrkkkw2zhozchvxxobblk3mipquann37ztzijnvzagi2m",creationTime:"2024-04-12T15:17:59Z",voteMode:{serial:!1,anonymous:!1,encryptedVotes:!1,uniqueValues:!1,costFromWeight:!1},electionMode:{autoStart:!0,interruptible:!0,dynamicCensus:!1,encryptedMetaData:!1,preRegister:!1},tallyMode:{maxCount:1,maxValue:1,maxVoteOverwrites:0,maxTotalCost:0,costExponent:1},metadata:{title:{default:"Election title"},version:"1.2",description:{default:"Election description"},media:{header:"https://source.unsplash.com/random/800x400"},meta:{sdk:{version:"0.7.5"},census:null===d?void 0:d},questions:[{choices:[{title:{default:"Option 1"},value:0},{title:{default:"Option 2"},value:1}],description:{default:"This is a description"},title:{default:"This is a title"}}],type:{name:f.W.SINGLE_CHOICE_MULTIQUESTION,properties:{}}}}},Be=ae.get(Pe.url+"/accounts/:id",(e=>{let{params:a}=e;const c=a.id;return ke.json({address:c,nonce:0,balance:9999,electionIndex:0,infoURL:"ipfs://bafybeif5mbhhwuju2pyd54bxhn3tdsj6m5cukx6f5xvchqfh2wvzkpbjpy",metadata:{version:"1.0",languages:["en"],name:{default:"Account name"},description:{default:"Description of the account"},newsFeed:{default:""},media:{logo:"https://source.unsplash.com/random/400x400",header:"https://source.unsplash.com/random/800x400"},meta:{}},sik:"d5f382daca25f43ca46f629e6fa7b0a448f1c69c48fcb2031feee0bf439d502c"})})),Oe=ae.get(Pe.url+"/elections/:id",(e=>{let{params:a}=e;const c=a.id;if(c===Ce){const e={fields:["firstname","lastname","email"],type:"spreadsheet"};return ke.json(Me(c,{census:Re,metaCensus:e}))}return ke.json(Me(c))})),Ne=ae.post(Pe.url+"/chain/transactions",(()=>ke.json({hash:"d59c08ef32a57e2fd18041dd6d4a871d06ebe4fe91449be9f034269d80cc9de8",code:0}))),Fe=ae.get(Pe.url+"/chain/transactions/reference/:id",(e=>{let{params:a}=e;return ke.json({transactionNumber:13615,transactionHash:a.id,blockHeight:489898,transactionIndex:1,transactionType:"setProcess"})})),De=ae.get(Pe.url+"/censuses/:id/proof/:proof",(e=>{let{params:a}=e;return ke.json({type:"weighted",weight:"1",censusRoot:a.id,censusProof:"04000000",value:"0100000000000000000000000000000000000000000000000000000000000000"})})),Ue=ae.get(Pe.url+"/censuses/:id/type",(()=>ke.json({type:"weighted"}))),je=ae.get(Pe.url+"/censuses/:id/size",(()=>ke.json({size:"10"}))),ze=ae.get(Pe.url+"/censuses/:id/weight",(()=>ke.json({weight:"10"}))),qe=ae.get(Pe.url+"/votes/:id",(e=>{let{params:a}=e;return new ke("No vote cast",{status:404})}))},19548:(e,a,c)=>{"use strict";c.d(a,{Z:()=>b});var d=c(67294);const f="iconExternalLink_2l9O";function b(e){let{width:a=13.5,height:c=13.5}=e;return d.createElement("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0","aria-hidden":"true",viewBox:"0 0 15 15",height:c,width:a,xmlns:"http://www.w3.org/2000/svg",className:f},d.createElement("path",{fillRule:"evenodd",d:"M14 2.5a.5.5 0 0 0-.5-.5h-6a.5.5 0 0 0 0 1h4.793L2.146 13.146a.5.5 0 0 0 .708.708L13 3.707V8.5a.5.5 0 0 0 1 0v-6z"}))}},31719:(e,a,c)=>{"use strict";c.d(a,{Z:()=>bc});var d=c(87249),f=c(35059),b=c(85893),t=(0,d.m)("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});t.displayName="Center";var r={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}},n=((0,f.G)((function(e,a){const{axis:c="both",...f}=e;return(0,b.jsx)(d.m.div,{ref:a,__css:r[c],...f,position:"absolute"})})),c(67294)),i=c(86010),o=c(44763),s=c(10833),l=c(55225),x=c(35281),u=c(19727);const h="skipToContent_fXgn";function p(){return n.createElement(l.l,{className:h})}var m=c(86668),g=c(59689),y=c(87462),v=c(95999);function _(e){let{width:a=21,height:c=21,color:d="currentColor",strokeWidth:f=1.2,className:b,...t}=e;return n.createElement("svg",(0,y.Z)({viewBox:"0 0 15 15",width:a,height:c},t),n.createElement("g",{stroke:d,strokeWidth:f},n.createElement("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})))}const w="closeButton_CVFx";function S(e){return n.createElement("button",(0,y.Z)({type:"button","aria-label":(0,v.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"})},e,{className:(0,i.Z)("clean-btn close",w,e.className)}),n.createElement(_,{width:14,height:14,strokeWidth:3.1}))}const E="content_knG7";function A(e){const{announcementBar:a}=(0,m.L)(),{content:c}=a;return n.createElement("div",(0,y.Z)({},e,{className:(0,i.Z)(E,e.className),dangerouslySetInnerHTML:{__html:c}}))}const k="announcementBar_mb4j",I="announcementBarPlaceholder_vyr4",C="announcementBarClose_gvF7",L="announcementBarContent_xLdY";function T(){const{announcementBar:e}=(0,m.L)(),{isActive:a,close:c}=(0,g.nT)();if(!a)return null;const{backgroundColor:d,textColor:f,isCloseable:b}=e;return n.createElement("div",{className:k,style:{backgroundColor:d,color:f},role:"banner"},b&&n.createElement("div",{className:I}),n.createElement(A,{className:L}),b&&n.createElement(S,{onClick:c,className:C}))}var P=c(93163),R=c(99445),M=c(69800),B=c(76857);function O(e){let{header:a,primaryMenu:c,secondaryMenu:d}=e;const{shown:f}=(0,B.Y)();return n.createElement("div",{className:"navbar-sidebar"},a,n.createElement("div",{className:(0,i.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":f})},n.createElement("div",{className:"navbar-sidebar__item menu"},c),n.createElement("div",{className:"navbar-sidebar__item menu"},d)))}var N=c(92949),F=c(72389);function D(e){return n.createElement("svg",(0,y.Z)({viewBox:"0 0 24 24",width:24,height:24},e),n.createElement("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"}))}function U(e){return n.createElement("svg",(0,y.Z)({viewBox:"0 0 24 24",width:24,height:24},e),n.createElement("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"}))}const j={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function z(e){let{className:a,value:c,onChange:d}=e;const f=(0,F.Z)(),b=(0,v.I)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===c?(0,v.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,v.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return n.createElement("div",{className:(0,i.Z)(j.toggle,a)},n.createElement("button",{className:(0,i.Z)("clean-btn",j.toggleButton,!f&&j.toggleButtonDisabled),type:"button",onClick:()=>d("dark"===c?"light":"dark"),disabled:!f,title:b,"aria-label":b,"aria-live":"polite"},n.createElement(D,{className:(0,i.Z)(j.toggleIcon,j.lightToggleIcon)}),n.createElement(U,{className:(0,i.Z)(j.toggleIcon,j.darkToggleIcon)})))}const q=n.memo(z);function K(e){let{className:a}=e;const c=(0,m.L)().colorMode.disableSwitch,{colorMode:d,setColorMode:f}=(0,N.I)();return c?null:n.createElement(q,{className:a,value:d,onChange:f})}var V=c(21327);function $(){return n.createElement(V.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function H(){const e=(0,P.e)();return n.createElement("button",{type:"button","aria-label":(0,v.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle()},n.createElement(_,{color:"var(--ifm-color-emphasis-600)"}))}function G(){return n.createElement("div",{className:"navbar-sidebar__brand"},n.createElement($,null),n.createElement(K,{className:"margin-right--md"}),n.createElement(H,null))}var W=c(39960),Z=c(44996),Q=c(13919),Y=c(98022),J=c(19548);function X(e){let{activeBasePath:a,activeBaseRegex:c,to:d,href:f,label:b,html:t,isDropdownLink:r,prependBaseUrlToHref:i,...o}=e;const s=(0,Z.Z)(d),l=(0,Z.Z)(a),x=(0,Z.Z)(f,{forcePrependBaseUrl:!0}),u=b&&f&&!(0,Q.Z)(f),h=t?{dangerouslySetInnerHTML:{__html:t}}:{children:n.createElement(n.Fragment,null,b,u&&n.createElement(J.Z,r&&{width:12,height:12}))};return f?n.createElement(W.Z,(0,y.Z)({href:i?x:f},o,h)):n.createElement(W.Z,(0,y.Z)({to:s,isNavLink:!0},(a||c)&&{isActive:(e,a)=>c?(0,Y.F)(c,a.pathname):a.pathname.startsWith(l)},o,h))}function ee(e){let{className:a,isDropdownItem:c=!1,...d}=e;const f=n.createElement(X,(0,y.Z)({className:(0,i.Z)(c?"dropdown__link":"navbar__item navbar__link",a),isDropdownLink:c},d));return c?n.createElement("li",null,f):f}function ae(e){let{className:a,isDropdownItem:c,...d}=e;return n.createElement("li",{className:"menu__list-item"},n.createElement(X,(0,y.Z)({className:(0,i.Z)("menu__link",a)},d)))}function ce(e){let{mobile:a=!1,position:c,...d}=e;const f=a?ae:ee;return n.createElement(f,(0,y.Z)({},d,{activeClassName:d.activeClassName??(a?"menu__link--active":"navbar__link--active")}))}var de=c(86043),fe=c(48596),be=c(51753);function te(e,a){return e.some((e=>function(e,a){return!!(0,fe.Mg)(e.to,a)||!!(0,Y.F)(e.activeBaseRegex,a)||!(!e.activeBasePath||!a.startsWith(e.activeBasePath))}(e,a)))}function re(e){let{items:a,position:c,className:d,onClick:f,...b}=e;const t=(0,n.useRef)(null),[r,o]=(0,n.useState)(!1);return(0,n.useEffect)((()=>{const e=e=>{t.current&&!t.current.contains(e.target)&&o(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}}),[t]),n.createElement("div",{ref:t,className:(0,i.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===c,"dropdown--show":r})},n.createElement(X,(0,y.Z)({"aria-haspopup":"true","aria-expanded":r,role:"button",href:b.to?void 0:"#",className:(0,i.Z)("navbar__link",d)},b,{onClick:b.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),o(!r))}}),b.children??b.label),n.createElement("ul",{className:"dropdown__menu"},a.map(((e,c)=>n.createElement(ze,(0,y.Z)({isDropdownItem:!0,onKeyDown:e=>{if(c===a.length-1&&"Tab"===e.key){e.preventDefault(),o(!1);const a=t.current.nextElementSibling;if(a){(a instanceof HTMLAnchorElement?a:a.querySelector("a")).focus()}}},activeClassName:"dropdown__link--active"},e,{key:c}))))))}function ne(e){let{items:a,className:c,position:d,onClick:f,...b}=e;const t=(0,be.b)(),r=te(a,t),{collapsed:o,toggleCollapsed:s,setCollapsed:l}=(0,de.u)({initialState:()=>!r});return(0,n.useEffect)((()=>{r&&l(!r)}),[t,r,l]),n.createElement("li",{className:(0,i.Z)("menu__list-item",{"menu__list-item--collapsed":o})},n.createElement(X,(0,y.Z)({role:"button",className:(0,i.Z)("menu__link menu__link--sublist menu__link--sublist-caret",c)},b,{onClick:e=>{e.preventDefault(),s()}}),b.children??b.label),n.createElement(de.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:o},a.map(((e,a)=>n.createElement(ze,(0,y.Z)({mobile:!0,isDropdownItem:!0,onClick:f,activeClassName:"menu__link--active"},e,{key:a}))))))}function ie(e){let{mobile:a=!1,...c}=e;const d=a?ne:re;return n.createElement(d,c)}var oe=c(52263),se=c(94711),le=c(16550);function xe(e){let{width:a=20,height:c=20,...d}=e;return n.createElement("svg",(0,y.Z)({viewBox:"0 0 24 24",width:a,height:c,"aria-hidden":!0},d),n.createElement("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"}))}const ue="iconLanguage_nlXk";var he=c(73935),pe=c(35742),me=c(66177);function ge(){return n.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},n.createElement("path",{d:"M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",strokeWidth:"1.2",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))}var ye=c(20830),ve=["translations"];function _e(){return _e=Object.assign||function(e){for(var a=1;ae.length)&&(a=e.length);for(var c=0,d=new Array(a);c=0||(f[c]=e[c]);return f}(e,a);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(e);for(d=0;d=0||Object.prototype.propertyIsEnumerable.call(e,c)&&(f[c]=e[c])}return f}var Ae="Ctrl";var ke=n.forwardRef((function(e,a){var c=e.translations,d=void 0===c?{}:c,f=Ee(e,ve),b=d.buttonText,t=void 0===b?"Search":b,r=d.buttonAriaLabel,i=void 0===r?"Search":r,o=we((0,n.useState)(null),2),s=o[0],l=o[1];return(0,n.useEffect)((function(){"undefined"!=typeof navigator&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?l("\u2318"):l(Ae))}),[]),n.createElement("button",_e({type:"button",className:"DocSearch DocSearch-Button","aria-label":i},f,{ref:a}),n.createElement("span",{className:"DocSearch-Button-Container"},n.createElement(ye.W,null),n.createElement("span",{className:"DocSearch-Button-Placeholder"},t)),n.createElement("span",{className:"DocSearch-Button-Keys"},null!==s&&n.createElement(n.Fragment,null,n.createElement("kbd",{className:"DocSearch-Button-Key"},s===Ae?n.createElement(ge,null):s),n.createElement("kbd",{className:"DocSearch-Button-Key"},"K"))))})),Ie=c(43320);const Ce={button:{buttonText:(0,v.I)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"}),buttonAriaLabel:(0,v.I)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"})},modal:{searchBox:{resetButtonTitle:(0,v.I)({id:"theme.SearchModal.searchBox.resetButtonTitle",message:"Clear the query",description:"The label and ARIA label for search box reset button"}),resetButtonAriaLabel:(0,v.I)({id:"theme.SearchModal.searchBox.resetButtonTitle",message:"Clear the query",description:"The label and ARIA label for search box reset button"}),cancelButtonText:(0,v.I)({id:"theme.SearchModal.searchBox.cancelButtonText",message:"Cancel",description:"The label and ARIA label for search box cancel button"}),cancelButtonAriaLabel:(0,v.I)({id:"theme.SearchModal.searchBox.cancelButtonText",message:"Cancel",description:"The label and ARIA label for search box cancel button"})},startScreen:{recentSearchesTitle:(0,v.I)({id:"theme.SearchModal.startScreen.recentSearchesTitle",message:"Recent",description:"The title for recent searches"}),noRecentSearchesText:(0,v.I)({id:"theme.SearchModal.startScreen.noRecentSearchesText",message:"No recent searches",description:"The text when no recent searches"}),saveRecentSearchButtonTitle:(0,v.I)({id:"theme.SearchModal.startScreen.saveRecentSearchButtonTitle",message:"Save this search",description:"The label for save recent search button"}),removeRecentSearchButtonTitle:(0,v.I)({id:"theme.SearchModal.startScreen.removeRecentSearchButtonTitle",message:"Remove this search from history",description:"The label for remove recent search button"}),favoriteSearchesTitle:(0,v.I)({id:"theme.SearchModal.startScreen.favoriteSearchesTitle",message:"Favorite",description:"The title for favorite searches"}),removeFavoriteSearchButtonTitle:(0,v.I)({id:"theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle",message:"Remove this search from favorites",description:"The label for remove favorite search button"})},errorScreen:{titleText:(0,v.I)({id:"theme.SearchModal.errorScreen.titleText",message:"Unable to fetch results",description:"The title for error screen of search modal"}),helpText:(0,v.I)({id:"theme.SearchModal.errorScreen.helpText",message:"You might want to check your network connection.",description:"The help text for error screen of search modal"})},footer:{selectText:(0,v.I)({id:"theme.SearchModal.footer.selectText",message:"to select",description:"The explanatory text of the action for the enter key"}),selectKeyAriaLabel:(0,v.I)({id:"theme.SearchModal.footer.selectKeyAriaLabel",message:"Enter key",description:"The ARIA label for the Enter key button that makes the selection"}),navigateText:(0,v.I)({id:"theme.SearchModal.footer.navigateText",message:"to navigate",description:"The explanatory text of the action for the Arrow up and Arrow down key"}),navigateUpKeyAriaLabel:(0,v.I)({id:"theme.SearchModal.footer.navigateUpKeyAriaLabel",message:"Arrow up",description:"The ARIA label for the Arrow up key button that makes the navigation"}),navigateDownKeyAriaLabel:(0,v.I)({id:"theme.SearchModal.footer.navigateDownKeyAriaLabel",message:"Arrow down",description:"The ARIA label for the Arrow down key button that makes the navigation"}),closeText:(0,v.I)({id:"theme.SearchModal.footer.closeText",message:"to close",description:"The explanatory text of the action for Escape key"}),closeKeyAriaLabel:(0,v.I)({id:"theme.SearchModal.footer.closeKeyAriaLabel",message:"Escape key",description:"The ARIA label for the Escape key button that close the modal"}),searchByText:(0,v.I)({id:"theme.SearchModal.footer.searchByText",message:"Search by",description:"The text explain that the search is making by Algolia"})},noResultsScreen:{noResultsText:(0,v.I)({id:"theme.SearchModal.noResultsScreen.noResultsText",message:"No results for",description:"The text explains that there are no results for the following search"}),suggestedQueryText:(0,v.I)({id:"theme.SearchModal.noResultsScreen.suggestedQueryText",message:"Try searching for",description:"The text for the suggested query when no results are found for the following search"}),reportMissingResultsText:(0,v.I)({id:"theme.SearchModal.noResultsScreen.reportMissingResultsText",message:"Believe this query should return results?",description:"The text for the question where the user thinks there are missing results"}),reportMissingResultsLinkText:(0,v.I)({id:"theme.SearchModal.noResultsScreen.reportMissingResultsLinkText",message:"Let us know.",description:"The text for the link to report missing results"})}},placeholder:(0,v.I)({id:"theme.SearchModal.placeholder",message:"Search docs",description:"The placeholder of the input of the DocSearch pop-up modal"})};let Le=null;function Te(e){let{hit:a,children:c}=e;return n.createElement(W.Z,{to:a.url},c)}function Pe(e){let{state:a,onClose:c}=e;const{generateSearchPageLink:d}=(0,me.O)();return n.createElement(W.Z,{to:d(a.query),onClick:c},n.createElement(v.Z,{id:"theme.SearchBar.seeAll",values:{count:a.context.nbHits}},"See all {count} results"))}function Re(e){let{contextualSearch:a,externalUrlRegex:d,...f}=e;const{siteMetadata:b}=(0,oe.Z)(),t=function(){const{locale:e,tags:a}=(0,Ie._q)();return[`language:${e}`,a.map((e=>`docusaurus_tag:${e}`))]}(),r=f.searchParameters?.facetFilters??[],i=a?function(e,a){const c=e=>"string"==typeof e?[e]:e;return[...c(e),...c(a)]}(t,r):r,o={...f.searchParameters,facetFilters:i},{withBaseUrl:s}=(0,Z.C)(),l=(0,le.k6)(),x=(0,n.useRef)(null),u=(0,n.useRef)(null),[h,p]=(0,n.useState)(!1),[m,g]=(0,n.useState)(void 0),v=(0,n.useCallback)((()=>Le?Promise.resolve():Promise.all([c.e(6780).then(c.bind(c,76780)),Promise.all([c.e(532),c.e(6945)]).then(c.bind(c,46945)),Promise.all([c.e(532),c.e(8894)]).then(c.bind(c,18894))]).then((e=>{let[{DocSearchModal:a}]=e;Le=a}))),[]),_=(0,n.useCallback)((()=>{v().then((()=>{x.current=document.createElement("div"),document.body.insertBefore(x.current,document.body.firstChild),p(!0)}))}),[v,p]),w=(0,n.useCallback)((()=>{p(!1),x.current?.remove()}),[p]),S=(0,n.useCallback)((e=>{v().then((()=>{p(!0),g(e.key)}))}),[v,p,g]),E=(0,n.useRef)({navigate(e){let{itemUrl:a}=e;(0,Y.F)(d,a)?window.location.href=a:l.push(a)}}).current,A=(0,n.useRef)((e=>e.map((e=>{if((0,Y.F)(d,e.url))return e;const a=new URL(e.url);return{...e,url:s(`${a.pathname}${a.hash}`)}})))).current,k=(0,n.useMemo)((()=>e=>n.createElement(Pe,(0,y.Z)({},e,{onClose:w}))),[w]),I=(0,n.useCallback)((e=>(e.addAlgoliaAgent("docusaurus",b.docusaurusVersion),e)),[b.docusaurusVersion]);return function(e){var a=e.isOpen,c=e.onOpen,d=e.onClose,f=e.onInput,b=e.searchButtonRef;n.useEffect((function(){function e(e){(27===e.keyCode&&a||"k"===e.key.toLowerCase()&&(e.metaKey||e.ctrlKey)||!function(e){var a=e.target,c=a.tagName;return a.isContentEditable||"INPUT"===c||"SELECT"===c||"TEXTAREA"===c}(e)&&"/"===e.key&&!a)&&(e.preventDefault(),a?d():document.body.classList.contains("DocSearch--active")||document.body.classList.contains("DocSearch--active")||c()),b&&b.current===document.activeElement&&f&&/[a-zA-Z0-9]/.test(String.fromCharCode(e.keyCode))&&f(e)}return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[a,c,d,f,b])}({isOpen:h,onOpen:_,onClose:w,onInput:S,searchButtonRef:u}),n.createElement(n.Fragment,null,n.createElement(pe.Z,null,n.createElement("link",{rel:"preconnect",href:`https://${f.appId}-dsn.algolia.net`,crossOrigin:"anonymous"})),n.createElement(ke,{onTouchStart:v,onFocus:v,onMouseOver:v,onClick:_,ref:u,translations:Ce.button}),h&&Le&&x.current&&(0,he.createPortal)(n.createElement(Le,(0,y.Z)({onClose:w,initialScrollY:window.scrollY,initialQuery:m,navigator:E,transformItems:A,hitComponent:Te,transformSearchClient:I},f.searchPagePath&&{resultsFooterComponent:k},f,{searchParameters:o,placeholder:Ce.placeholder,translations:Ce.modal})),x.current))}function Me(){const{siteConfig:e}=(0,oe.Z)();return n.createElement(Re,e.themeConfig.algolia)}const Be="searchBox_ZlJk";function Oe(e){let{children:a,className:c}=e;return n.createElement("div",{className:(0,i.Z)(c,Be)},a)}var Ne=c(80143),Fe=c(53438);var De=c(60373);const Ue=e=>e.docs.find((a=>a.id===e.mainDocId));const je={default:ce,localeDropdown:function(e){let{mobile:a,dropdownItemsBefore:c,dropdownItemsAfter:d,...f}=e;const{i18n:{currentLocale:b,locales:t,localeConfigs:r}}=(0,oe.Z)(),i=(0,se.l)(),{search:o,hash:s}=(0,le.TH)(),l=[...c,...t.map((e=>{const c=`${`pathname://${i.createUrl({locale:e,fullyQualified:!1})}`}${o}${s}`;return{label:r[e].label,lang:r[e].htmlLang,to:c,target:"_self",autoAddBaseUrl:!1,className:e===b?a?"menu__link--active":"dropdown__link--active":""}})),...d],x=a?(0,v.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):r[b].label;return n.createElement(ie,(0,y.Z)({},f,{mobile:a,label:n.createElement(n.Fragment,null,n.createElement(xe,{className:ue}),x),items:l}))},search:function(e){let{mobile:a,className:c}=e;return a?null:n.createElement(Oe,{className:c},n.createElement(Me,null))},dropdown:ie,html:function(e){let{value:a,className:c,mobile:d=!1,isDropdownItem:f=!1}=e;const b=f?"li":"div";return n.createElement(b,{className:(0,i.Z)({navbar__item:!d&&!f,"menu__list-item":d},c),dangerouslySetInnerHTML:{__html:a}})},doc:function(e){let{docId:a,label:c,docsPluginId:d,...f}=e;const{activeDoc:b}=(0,Ne.Iw)(d),t=(0,Fe.vY)(a,d);return null===t?null:n.createElement(ce,(0,y.Z)({exact:!0},f,{isActive:()=>b?.path===t.path||!!b?.sidebar&&b.sidebar===t.sidebar,label:c??t.id,to:t.path}))},docSidebar:function(e){let{sidebarId:a,label:c,docsPluginId:d,...f}=e;const{activeDoc:b}=(0,Ne.Iw)(d),t=(0,Fe.oz)(a,d).link;if(!t)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${a}" doesn't have anything to be linked to.`);return n.createElement(ce,(0,y.Z)({exact:!0},f,{isActive:()=>b?.sidebar===a,label:c??t.label,to:t.path}))},docsVersion:function(e){let{label:a,to:c,docsPluginId:d,...f}=e;const b=(0,Fe.lO)(d)[0],t=a??b.label,r=c??(e=>e.docs.find((a=>a.id===e.mainDocId)))(b).path;return n.createElement(ce,(0,y.Z)({},f,{label:t,to:r}))},docsVersionDropdown:function(e){let{mobile:a,docsPluginId:c,dropdownActiveClassDisabled:d,dropdownItemsBefore:f,dropdownItemsAfter:b,...t}=e;const{search:r,hash:i}=(0,le.TH)(),o=(0,Ne.Iw)(c),s=(0,Ne.gB)(c),{savePreferredVersionName:l}=(0,De.J)(c),x=[...f,...s.map((e=>{const a=o.alternateDocVersions[e.name]??Ue(e);return{label:e.label,to:`${a.path}${r}${i}`,isActive:()=>e===o.activeVersion,onClick:()=>l(e.name)}})),...b],u=(0,Fe.lO)(c)[0],h=a&&x.length>1?(0,v.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):u.label,p=a&&x.length>1?void 0:Ue(u).path;return x.length<=1?n.createElement(ce,(0,y.Z)({},t,{mobile:a,label:h,to:p,isActive:d?()=>!1:void 0})):n.createElement(ie,(0,y.Z)({},t,{mobile:a,label:h,to:p,items:x,isActive:d?()=>!1:void 0}))}};function ze(e){let{type:a,...c}=e;const d=function(e,a){return e&&"default"!==e?e:"items"in a?"dropdown":"default"}(a,c),f=je[d];if(!f)throw new Error(`No NavbarItem component found for type "${a}".`);return n.createElement(f,c)}function qe(){const e=(0,P.e)(),a=(0,m.L)().navbar.items;return n.createElement("ul",{className:"menu__list"},a.map(((a,c)=>n.createElement(ze,(0,y.Z)({mobile:!0},a,{onClick:()=>e.toggle(),key:c})))))}function Ke(e){return n.createElement("button",(0,y.Z)({},e,{type:"button",className:"clean-btn navbar-sidebar__back"}),n.createElement(v.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"},"\u2190 Back to main menu"))}function Ve(){const e=0===(0,m.L)().navbar.items.length,a=(0,B.Y)();return n.createElement(n.Fragment,null,!e&&n.createElement(Ke,{onClick:()=>a.hide()}),a.content)}function $e(){const e=(0,P.e)();return(0,M.N)(e.shown),e.shouldRender?n.createElement(O,{header:n.createElement(G,null),primaryMenu:n.createElement(qe,null),secondaryMenu:n.createElement(Ve,null)}):null}const He="navbarHideable_m1mJ",Ge="navbarHidden_jGov";function We(e){return n.createElement("div",(0,y.Z)({role:"presentation"},e,{className:(0,i.Z)("navbar-sidebar__backdrop",e.className)}))}function Ze(e){let{children:a}=e;const{navbar:{hideOnScroll:c,style:d}}=(0,m.L)(),f=(0,P.e)(),{navbarRef:b,isNavbarVisible:t}=(0,R.c)(c);return n.createElement("nav",{ref:b,className:(0,i.Z)("navbar","navbar--fixed-top",c&&[He,!t&&Ge],{"navbar--dark":"dark"===d,"navbar--primary":"primary"===d,"navbar-sidebar--show":f.shown})},a,n.createElement(We,{onClick:f.toggle}),n.createElement($e,null))}var Qe=c(58978);function Ye(e){let{width:a=30,height:c=30,className:d,...f}=e;return n.createElement("svg",(0,y.Z)({className:d,width:a,height:c,viewBox:"0 0 30 30","aria-hidden":"true"},f),n.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"}))}function Je(){const{toggle:e,shown:a}=(0,P.e)();return n.createElement("button",{onClick:e,"aria-label":(0,v.I)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":a,className:"navbar__toggle clean-btn",type:"button"},n.createElement(Ye,null))}const Xe="colorModeToggle_x44X";var ea=c(14141);function aa(e){let{items:a,isMobile:c}=e;const[d,f]=function(e){function a(e){return e.href?.length>0??!1}return[e.filter((e=>!a(e))),e.filter(a)]}(a);return n.createElement(n.Fragment,null,d.map(((e,a)=>n.createElement(ze,(0,y.Z)({},e,{key:a})))),!c&&n.createElement(ca,null),f.map(((e,a)=>n.createElement(ze,(0,y.Z)({},e,{key:a})))))}const ca=ea.ZP.div` +/*! For license information please see main.c856e35e.js.LICENSE.txt */ +(self.webpackChunkdemo=self.webpackChunkdemo||[]).push([[179],{20830:(e,a,c)=>{"use strict";c.d(a,{W:()=>f});var d=c(67294);function f(){return d.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},d.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}},8417:(e,a,c)=>{"use strict";c.d(a,{Z:()=>fe});var d=function(){function e(e){var a=this;this._insertTag=function(e){var c;c=0===a.tags.length?a.insertionPoint?a.insertionPoint.nextSibling:a.prepend?a.container.firstChild:a.before:a.tags[a.tags.length-1].nextSibling,a.container.insertBefore(e,c),a.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var a=e.prototype;return a.hydrate=function(e){e.forEach(this._insertTag)},a.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var a=document.createElement("style");return a.setAttribute("data-emotion",e.key),void 0!==e.nonce&&a.setAttribute("nonce",e.nonce),a.appendChild(document.createTextNode("")),a.setAttribute("data-s",""),a}(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var c=function(e){if(e.sheet)return e.sheet;for(var a=0;a0?o(v,--g):0,p--,10===y&&(p=1,h--),y}function E(){return y=g2||C(y)>3?"":" "}function M(e,a){for(;--a&&E()&&!(y<48||y>102||y>57&&y<65||y>70&&y<97););return I(e,k()+(a<6&&32==A()&&32==E()))}function B(e){for(;E();)switch(y){case e:return g;case 34:case 39:34!==e&&39!==e&&B(y);break;case 40:41===e&&B(e);break;case 92:E()}return g}function O(e,a){for(;E()&&e+y!==57&&(e+y!==84||47!==A()););return"/*"+I(a,g-1)+"*"+b(47===e?e:E())}function N(e){for(;!C(A());)E();return I(e,g)}var F="-ms-",D="-moz-",U="-webkit-",j="comm",z="rule",q="decl",K="@keyframes";function V(e,a){for(var c="",d=x(e),f=0;f0&&l(D)-m&&u(y>32?Q(D+";",d,c,m-1):Q(n(D," ","")+";",d,c,m-2),x);break;case 59:D+=";";default:if(u(F=W(D,a,c,h,p,f,s,L,T=[],B=[],m),t),123===C)if(0===p)G(D,a,F,F,T,t,m,s,B);else switch(99===g&&110===o(D,3)?100:g){case 100:case 108:case 109:case 115:G(e,F,F,d&&u(W(e,F,F,0,0,f,s,L,f,T=[],m),B),f,B,m,s,d?T:B);break;default:G(D,F,F,F,[""],B,0,s,B)}}h=p=y=0,_=I=1,L=D="",m=r;break;case 58:m=1+l(D),y=v;default:if(_<1)if(123==C)--_;else if(125==C&&0==_++&&125==S())continue;switch(D+=b(C),C*_){case 38:I=p>0?1:(D+="\f",-1);break;case 44:s[h++]=(l(D)-1)*I,I=1;break;case 64:45===A()&&(D+=P(E())),g=A(),p=m=l(L=D+=N(k())),C++;break;case 45:45===v&&2==l(D)&&(_=0)}}return t}function W(e,a,c,d,b,t,i,o,l,u,h){for(var p=b-1,m=0===b?t:[""],g=x(m),y=0,v=0,w=0;y0?m[S]+" "+E:n(E,/&\f/g,m[S])))&&(l[w++]=A);return _(e,a,c,0===b?z:o,l,u,h)}function Z(e,a,c){return _(e,a,c,j,b(y),s(e,2,-2),0)}function Q(e,a,c,d){return _(e,a,c,q,s(e,0,d),s(e,d+1,-1),d)}var Y=function(e,a,c){for(var d=0,f=0;d=f,f=A(),38===d&&12===f&&(a[c]=1),!C(f);)E();return I(e,g)},J=function(e,a){return T(function(e,a){var c=-1,d=44;do{switch(C(d)){case 0:38===d&&12===A()&&(a[c]=1),e[c]+=Y(g-1,a,c);break;case 2:e[c]+=P(d);break;case 4:if(44===d){e[++c]=58===A()?"&\f":"",a[c]=e[c].length;break}default:e[c]+=b(d)}}while(d=E());return e}(L(e),a))},X=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var a=e.value,c=e.parent,d=e.column===c.column&&e.line===c.line;"rule"!==c.type;)if(!(c=c.parent))return;if((1!==e.props.length||58===a.charCodeAt(0)||X.get(c))&&!d){X.set(e,!0);for(var f=[],b=J(a,f),t=c.props,r=0,n=0;r6)switch(o(e,a+1)){case 109:if(45!==o(e,a+4))break;case 102:return n(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1-moz-"+(108==o(e,a+3)?"$3":"$2-$3"))+e;case 115:return~i(e,"stretch")?ce(n(e,"stretch","fill-available"),a)+e:e}break;case 4949:if(115!==o(e,a+1))break;case 6444:switch(o(e,l(e)-3-(~i(e,"!important")&&10))){case 107:return n(e,":",":-webkit-")+e;case 101:return n(e,/(.+:)([^;!]+)(;|!.+)?/,"$1-webkit-"+(45===o(e,14)?"inline-":"")+"box$3$1"+"-webkit-$2$3$1"+"-ms-$2box$3")+e}break;case 5936:switch(o(e,a+11)){case 114:return U+e+F+n(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return U+e+F+n(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return U+e+F+n(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return U+e+F+e+e}return e}var de=[function(e,a,c,d){if(e.length>-1&&!e.return)switch(e.type){case q:e.return=ce(e.value,e.length);break;case K:return V([w(e,{value:n(e.value,"@","@-webkit-")})],d);case z:if(e.length)return function(e,a){return e.map(a).join("")}(e.props,(function(a){switch(function(e,a){return(e=a.exec(e))?e[0]:e}(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return V([w(e,{props:[n(a,/:(read-\w+)/,":-moz-$1")]})],d);case"::placeholder":return V([w(e,{props:[n(a,/:(plac\w+)/,":-webkit-input-$1")]}),w(e,{props:[n(a,/:(plac\w+)/,":-moz-$1")]}),w(e,{props:[n(a,/:(plac\w+)/,"-ms-input-$1")]})],d)}return""}))}}],fe=function(e){var a=e.key;if("css"===a){var c=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(c,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var f=e.stylisPlugins||de;var b,t,r={},n=[];b=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+a+' "]'),(function(e){for(var a=e.getAttribute("data-emotion").split(" "),c=1;c{"use strict";function d(e){var a=Object.create(null);return function(c){return void 0===a[c]&&(a[c]=e(c)),a[c]}}c.d(a,{Z:()=>d})},9757:(e,a,c)=>{"use strict";c.d(a,{T:()=>o,a:()=>l,i:()=>r,w:()=>i});var d=c(67294),f=c(8417);function b(){return b=Object.assign?Object.assign.bind():function(e){for(var a=1;a{"use strict";c.d(a,{O:()=>u});var d={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},f=c(45042),b=/[A-Z]|^ms/g,t=/_EMO_([^_]+?)_([^]*?)_EMO_/g,r=function(e){return 45===e.charCodeAt(1)},n=function(e){return null!=e&&"boolean"!=typeof e},i=(0,f.Z)((function(e){return r(e)?e:e.replace(b,"-$&").toLowerCase()})),o=function(e,a){switch(e){case"animation":case"animationName":if("string"==typeof a)return a.replace(t,(function(e,a,c){return l={name:a,styles:c,next:l},a}))}return 1===d[e]||r(e)||"number"!=typeof a||0===a?a:a+"px"};function s(e,a,c){if(null==c)return"";if(void 0!==c.__emotion_styles)return c;switch(typeof c){case"boolean":return"";case"object":if(1===c.anim)return l={name:c.name,styles:c.styles,next:l},c.name;if(void 0!==c.styles){var d=c.next;if(void 0!==d)for(;void 0!==d;)l={name:d.name,styles:d.styles,next:l},d=d.next;return c.styles+";"}return function(e,a,c){var d="";if(Array.isArray(c))for(var f=0;f=4;++d,f-=4)a=1540483477*(65535&(a=255&e.charCodeAt(d)|(255&e.charCodeAt(++d))<<8|(255&e.charCodeAt(++d))<<16|(255&e.charCodeAt(++d))<<24))+(59797*(a>>>16)<<16),c=1540483477*(65535&(a^=a>>>24))+(59797*(a>>>16)<<16)^1540483477*(65535&c)+(59797*(c>>>16)<<16);switch(f){case 3:c^=(255&e.charCodeAt(d+2))<<16;case 2:c^=(255&e.charCodeAt(d+1))<<8;case 1:c=1540483477*(65535&(c^=255&e.charCodeAt(d)))+(59797*(c>>>16)<<16)}return(((c=1540483477*(65535&(c^=c>>>13))+(59797*(c>>>16)<<16))^c>>>15)>>>0).toString(36)}(f)+n;return{name:i,styles:f,next:l}}},27278:(e,a,c)=>{"use strict";var d;c.d(a,{L:()=>t,j:()=>r});var f=c(67294),b=!!(d||(d=c.t(f,2))).useInsertionEffect&&(d||(d=c.t(f,2))).useInsertionEffect,t=b||function(e){return e()},r=b||f.useLayoutEffect},70444:(e,a,c)=>{"use strict";c.d(a,{My:()=>b,fp:()=>d,hC:()=>f});function d(e,a,c){var d="";return c.split(" ").forEach((function(c){void 0!==e[c]?a.push(e[c]+";"):d+=c+" "})),d}var f=function(e,a,c){var d=e.key+"-"+a.name;!1===c&&void 0===e.registered[d]&&(e.registered[d]=a.styles)},b=function(e,a,c){f(e,a,c);var d=e.key+"-"+a.name;if(void 0===e.inserted[a.name]){var b=a;do{e.insert(a===b?"."+d:"",b,e.sheet,!0),b=b.next}while(void 0!==b)}}},48088:(e,a,c)=>{"use strict";c.d(a,{E:()=>i});var d=c(6881),f=c(1581);var b=function(e,a,c,d){return new(c||(c=Promise))((function(f,b){function t(e){try{n(d.next(e))}catch(a){b(a)}}function r(e){try{n(d.throw(e))}catch(a){b(a)}}function n(e){var a;e.done?f(e.value):(a=e.value,a instanceof c?a:new c((function(e){e(a)}))).then(t,r)}n((d=d.apply(e,a||[])).next())}))};const t=new f.Yd("abstract-signer/5.7.0"),r=["accessList","ccipReadEnabled","chainId","customData","data","from","gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","nonce","to","type","value"],n=[f.Yd.errors.INSUFFICIENT_FUNDS,f.Yd.errors.NONCE_EXPIRED,f.Yd.errors.REPLACEMENT_UNDERPRICED];class i{constructor(){t.checkAbstract(new.target,i),(0,d.zG)(this,"_isSigner",!0)}getBalance(e){return b(this,void 0,void 0,(function*(){return this._checkProvider("getBalance"),yield this.provider.getBalance(this.getAddress(),e)}))}getTransactionCount(e){return b(this,void 0,void 0,(function*(){return this._checkProvider("getTransactionCount"),yield this.provider.getTransactionCount(this.getAddress(),e)}))}estimateGas(e){return b(this,void 0,void 0,(function*(){this._checkProvider("estimateGas");const a=yield(0,d.mE)(this.checkTransaction(e));return yield this.provider.estimateGas(a)}))}call(e,a){return b(this,void 0,void 0,(function*(){this._checkProvider("call");const c=yield(0,d.mE)(this.checkTransaction(e));return yield this.provider.call(c,a)}))}sendTransaction(e){return b(this,void 0,void 0,(function*(){this._checkProvider("sendTransaction");const a=yield this.populateTransaction(e),c=yield this.signTransaction(a);return yield this.provider.sendTransaction(c)}))}getChainId(){return b(this,void 0,void 0,(function*(){this._checkProvider("getChainId");return(yield this.provider.getNetwork()).chainId}))}getGasPrice(){return b(this,void 0,void 0,(function*(){return this._checkProvider("getGasPrice"),yield this.provider.getGasPrice()}))}getFeeData(){return b(this,void 0,void 0,(function*(){return this._checkProvider("getFeeData"),yield this.provider.getFeeData()}))}resolveName(e){return b(this,void 0,void 0,(function*(){return this._checkProvider("resolveName"),yield this.provider.resolveName(e)}))}checkTransaction(e){for(const c in e)-1===r.indexOf(c)&&t.throwArgumentError("invalid transaction key: "+c,"transaction",e);const a=(0,d.DC)(e);return null==a.from?a.from=this.getAddress():a.from=Promise.all([Promise.resolve(a.from),this.getAddress()]).then((a=>(a[0].toLowerCase()!==a[1].toLowerCase()&&t.throwArgumentError("from address mismatch","transaction",e),a[0]))),a}populateTransaction(e){return b(this,void 0,void 0,(function*(){const a=yield(0,d.mE)(this.checkTransaction(e));null!=a.to&&(a.to=Promise.resolve(a.to).then((e=>b(this,void 0,void 0,(function*(){if(null==e)return null;const a=yield this.resolveName(e);return null==a&&t.throwArgumentError("provided ENS name resolves to null","tx.to",e),a})))),a.to.catch((e=>{})));const c=null!=a.maxFeePerGas||null!=a.maxPriorityFeePerGas;if(null==a.gasPrice||2!==a.type&&!c?0!==a.type&&1!==a.type||!c||t.throwArgumentError("pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas","transaction",e):t.throwArgumentError("eip-1559 transaction do not support gasPrice","transaction",e),2!==a.type&&null!=a.type||null==a.maxFeePerGas||null==a.maxPriorityFeePerGas)if(0===a.type||1===a.type)null==a.gasPrice&&(a.gasPrice=this.getGasPrice());else{const e=yield this.getFeeData();if(null==a.type)if(null!=e.maxFeePerGas&&null!=e.maxPriorityFeePerGas)if(a.type=2,null!=a.gasPrice){const e=a.gasPrice;delete a.gasPrice,a.maxFeePerGas=e,a.maxPriorityFeePerGas=e}else null==a.maxFeePerGas&&(a.maxFeePerGas=e.maxFeePerGas),null==a.maxPriorityFeePerGas&&(a.maxPriorityFeePerGas=e.maxPriorityFeePerGas);else null!=e.gasPrice?(c&&t.throwError("network does not support EIP-1559",f.Yd.errors.UNSUPPORTED_OPERATION,{operation:"populateTransaction"}),null==a.gasPrice&&(a.gasPrice=e.gasPrice),a.type=0):t.throwError("failed to get consistent fee data",f.Yd.errors.UNSUPPORTED_OPERATION,{operation:"signer.getFeeData"});else 2===a.type&&(null==a.maxFeePerGas&&(a.maxFeePerGas=e.maxFeePerGas),null==a.maxPriorityFeePerGas&&(a.maxPriorityFeePerGas=e.maxPriorityFeePerGas))}else a.type=2;return null==a.nonce&&(a.nonce=this.getTransactionCount("pending")),null==a.gasLimit&&(a.gasLimit=this.estimateGas(a).catch((e=>{if(n.indexOf(e.code)>=0)throw e;return t.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",f.Yd.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,tx:a})}))),null==a.chainId?a.chainId=this.getChainId():a.chainId=Promise.all([Promise.resolve(a.chainId),this.getChainId()]).then((a=>(0!==a[1]&&a[0]!==a[1]&&t.throwArgumentError("chainId address mismatch","transaction",e),a[0]))),yield(0,d.mE)(a)}))}_checkProvider(e){this.provider||t.throwError("missing provider",f.Yd.errors.UNSUPPORTED_OPERATION,{operation:e||"_checkProvider"})}static isSigner(e){return!(!e||!e._isSigner)}}},19485:(e,a,c)=>{"use strict";c.d(a,{Kn:()=>l,UJ:()=>x});var d=c(16441),f=c(2593),b=c(38197);const t=new(c(1581).Yd)("address/5.7.0");function r(e){(0,d.A7)(e,20)||t.throwArgumentError("invalid address","address",e);const a=(e=e.toLowerCase()).substring(2).split(""),c=new Uint8Array(40);for(let d=0;d<40;d++)c[d]=a[d].charCodeAt(0);const f=(0,d.lE)((0,b.w)(c));for(let d=0;d<40;d+=2)f[d>>1]>>4>=8&&(a[d]=a[d].toUpperCase()),(15&f[d>>1])>=8&&(a[d+1]=a[d+1].toUpperCase());return"0x"+a.join("")}const n={};for(let u=0;u<10;u++)n[String(u)]=String(u);for(let u=0;u<26;u++)n[String.fromCharCode(65+u)]=String(10+u);const i=Math.floor((o=9007199254740991,Math.log10?Math.log10(o):Math.log(o)/Math.LN10));var o;function s(e){let a=(e=(e=e.toUpperCase()).substring(4)+e.substring(0,2)+"00").split("").map((e=>n[e])).join("");for(;a.length>=i;){let e=a.substring(0,i);a=parseInt(e,10)%97+a.substring(e.length)}let c=String(98-parseInt(a,10)%97);for(;c.length<2;)c="0"+c;return c}function l(e){let a=null;if("string"!=typeof e&&t.throwArgumentError("invalid address","address",e),e.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==e.substring(0,2)&&(e="0x"+e),a=r(e),e.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&a!==e&&t.throwArgumentError("bad address checksum","address",e);else if(e.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(e.substring(2,4)!==s(e)&&t.throwArgumentError("bad icap checksum","address",e),a=(0,f.g$)(e.substring(4));a.length<40;)a="0"+a;a=r("0x"+a)}else t.throwArgumentError("invalid address","address",e);return a}function x(e){try{return l(e),!0}catch(a){}return!1}},48794:(e,a,c)=>{"use strict";c.d(a,{i:()=>d});const d="bignumber/5.7.0"},2593:(e,a,c)=>{"use strict";c.d(a,{O$:()=>u,Zm:()=>l,g$:()=>y});var d=c(13550),f=c.n(d),b=c(16441),t=c(1581),r=c(48794),n=f().BN;const i=new t.Yd(r.i),o={},s=9007199254740991;function l(e){return null!=e&&(u.isBigNumber(e)||"number"==typeof e&&e%1==0||"string"==typeof e&&!!e.match(/^-?[0-9]+$/)||(0,b.A7)(e)||"bigint"==typeof e||(0,b._t)(e))}let x=!1;class u{constructor(e,a){e!==o&&i.throwError("cannot call constructor directly; use BigNumber.from",t.Yd.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=a,this._isBigNumber=!0,Object.freeze(this)}fromTwos(e){return p(m(this).fromTwos(e))}toTwos(e){return p(m(this).toTwos(e))}abs(){return"-"===this._hex[0]?u.from(this._hex.substring(1)):this}add(e){return p(m(this).add(m(e)))}sub(e){return p(m(this).sub(m(e)))}div(e){return u.from(e).isZero()&&g("division-by-zero","div"),p(m(this).div(m(e)))}mul(e){return p(m(this).mul(m(e)))}mod(e){const a=m(e);return a.isNeg()&&g("division-by-zero","mod"),p(m(this).umod(a))}pow(e){const a=m(e);return a.isNeg()&&g("negative-power","pow"),p(m(this).pow(a))}and(e){const a=m(e);return(this.isNegative()||a.isNeg())&&g("unbound-bitwise-result","and"),p(m(this).and(a))}or(e){const a=m(e);return(this.isNegative()||a.isNeg())&&g("unbound-bitwise-result","or"),p(m(this).or(a))}xor(e){const a=m(e);return(this.isNegative()||a.isNeg())&&g("unbound-bitwise-result","xor"),p(m(this).xor(a))}mask(e){return(this.isNegative()||e<0)&&g("negative-width","mask"),p(m(this).maskn(e))}shl(e){return(this.isNegative()||e<0)&&g("negative-width","shl"),p(m(this).shln(e))}shr(e){return(this.isNegative()||e<0)&&g("negative-width","shr"),p(m(this).shrn(e))}eq(e){return m(this).eq(m(e))}lt(e){return m(this).lt(m(e))}lte(e){return m(this).lte(m(e))}gt(e){return m(this).gt(m(e))}gte(e){return m(this).gte(m(e))}isNegative(){return"-"===this._hex[0]}isZero(){return m(this).isZero()}toNumber(){try{return m(this).toNumber()}catch(e){g("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch(e){}return i.throwError("this platform does not support BigInt",t.Yd.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(10===arguments[0]?x||(x=!0,i.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):16===arguments[0]?i.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",t.Yd.errors.UNEXPECTED_ARGUMENT,{}):i.throwError("BigNumber.toString does not accept parameters",t.Yd.errors.UNEXPECTED_ARGUMENT,{})),m(this).toString(10)}toHexString(){return this._hex}toJSON(e){return{type:"BigNumber",hex:this.toHexString()}}static from(e){if(e instanceof u)return e;if("string"==typeof e)return e.match(/^-?0x[0-9a-f]+$/i)?new u(o,h(e)):e.match(/^-?[0-9]+$/)?new u(o,h(new n(e))):i.throwArgumentError("invalid BigNumber string","value",e);if("number"==typeof e)return e%1&&g("underflow","BigNumber.from",e),(e>=s||e<=-s)&&g("overflow","BigNumber.from",e),u.from(String(e));const a=e;if("bigint"==typeof a)return u.from(a.toString());if((0,b._t)(a))return u.from((0,b.Dv)(a));if(a)if(a.toHexString){const e=a.toHexString();if("string"==typeof e)return u.from(e)}else{let e=a._hex;if(null==e&&"BigNumber"===a.type&&(e=a.hex),"string"==typeof e&&((0,b.A7)(e)||"-"===e[0]&&(0,b.A7)(e.substring(1))))return u.from(e)}return i.throwArgumentError("invalid BigNumber value","value",e)}static isBigNumber(e){return!(!e||!e._isBigNumber)}}function h(e){if("string"!=typeof e)return h(e.toString(16));if("-"===e[0])return"-"===(e=e.substring(1))[0]&&i.throwArgumentError("invalid hex","value",e),"0x00"===(e=h(e))?e:"-"+e;if("0x"!==e.substring(0,2)&&(e="0x"+e),"0x"===e)return"0x00";for(e.length%2&&(e="0x0"+e.substring(2));e.length>4&&"0x00"===e.substring(0,4);)e="0x"+e.substring(4);return e}function p(e){return u.from(h(e))}function m(e){const a=u.from(e).toHexString();return"-"===a[0]?new n("-"+a.substring(3),16):new n(a.substring(2),16)}function g(e,a,c){const d={fault:e,operation:a};return null!=c&&(d.value=c),i.throwError(e,t.Yd.errors.NUMERIC_FAULT,d)}function y(e){return new n(e,36).toString(16)}},16441:(e,a,c)=>{"use strict";c.d(a,{lE:()=>i,zo:()=>o,xs:()=>m,E1:()=>h,p3:()=>p,$m:()=>g,Dv:()=>u,_t:()=>n,Zq:()=>t,A7:()=>l,gV:()=>v,N:()=>y,G1:()=>s});const d=new(c(1581).Yd)("bytes/5.7.0");function f(e){return!!e.toHexString}function b(e){return e.slice||(e.slice=function(){const a=Array.prototype.slice.call(arguments);return b(new Uint8Array(Array.prototype.slice.apply(e,a)))}),e}function t(e){return l(e)&&!(e.length%2)||n(e)}function r(e){return"number"==typeof e&&e==e&&e%1==0}function n(e){if(null==e)return!1;if(e.constructor===Uint8Array)return!0;if("string"==typeof e)return!1;if(!r(e.length)||e.length<0)return!1;for(let a=0;a=256)return!1}return!0}function i(e,a){if(a||(a={}),"number"==typeof e){d.checkSafeUint53(e,"invalid arrayify value");const a=[];for(;e;)a.unshift(255&e),e=parseInt(String(e/256));return 0===a.length&&a.push(0),b(new Uint8Array(a))}if(a.allowMissingPrefix&&"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),f(e)&&(e=e.toHexString()),l(e)){let c=e.substring(2);c.length%2&&("left"===a.hexPad?c="0"+c:"right"===a.hexPad?c+="0":d.throwArgumentError("hex data is odd-length","value",e));const f=[];for(let e=0;ei(e))),c=a.reduce(((e,a)=>e+a.length),0),d=new Uint8Array(c);return a.reduce(((e,a)=>(d.set(a,e),e+a.length)),0),b(d)}function s(e){let a=i(e);if(0===a.length)return a;let c=0;for(;c>4]+x[15&d]}return a}return d.throwArgumentError("invalid hexlify value","value",e)}function h(e){if("string"!=typeof e)e=u(e);else if(!l(e)||e.length%2)return null;return(e.length-2)/2}function p(e,a,c){return"string"!=typeof e?e=u(e):(!l(e)||e.length%2)&&d.throwArgumentError("invalid hexData","value",e),a=2+2*a,null!=c?"0x"+e.substring(a,2+2*c):"0x"+e.substring(a)}function m(e){let a="0x";return e.forEach((e=>{a+=u(e).substring(2)})),a}function g(e,a){for("string"!=typeof e?e=u(e):l(e)||d.throwArgumentError("invalid hex string","value",e),e.length>2*a+2&&d.throwArgumentError("value out of range","value",arguments[1]);e.length<2*a+2;)e="0x0"+e.substring(2);return e}function y(e){const a={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(t(e)){let c=i(e);64===c.length?(a.v=27+(c[32]>>7),c[32]&=127,a.r=u(c.slice(0,32)),a.s=u(c.slice(32,64))):65===c.length?(a.r=u(c.slice(0,32)),a.s=u(c.slice(32,64)),a.v=c[64]):d.throwArgumentError("invalid signature string","signature",e),a.v<27&&(0===a.v||1===a.v?a.v+=27:d.throwArgumentError("signature invalid v byte","signature",e)),a.recoveryParam=1-a.v%2,a.recoveryParam&&(c[32]|=128),a._vs=u(c.slice(32,64))}else{if(a.r=e.r,a.s=e.s,a.v=e.v,a.recoveryParam=e.recoveryParam,a._vs=e._vs,null!=a._vs){const c=function(e,a){(e=i(e)).length>a&&d.throwArgumentError("value out of range","value",arguments[0]);const c=new Uint8Array(a);return c.set(e,a-e.length),b(c)}(i(a._vs),32);a._vs=u(c);const f=c[0]>=128?1:0;null==a.recoveryParam?a.recoveryParam=f:a.recoveryParam!==f&&d.throwArgumentError("signature recoveryParam mismatch _vs","signature",e),c[0]&=127;const t=u(c);null==a.s?a.s=t:a.s!==t&&d.throwArgumentError("signature v mismatch _vs","signature",e)}if(null==a.recoveryParam)null==a.v?d.throwArgumentError("signature missing v and recoveryParam","signature",e):0===a.v||1===a.v?a.recoveryParam=a.v:a.recoveryParam=1-a.v%2;else if(null==a.v)a.v=27+a.recoveryParam;else{const c=0===a.v||1===a.v?a.v:1-a.v%2;a.recoveryParam!==c&&d.throwArgumentError("signature recoveryParam mismatch v","signature",e)}null!=a.r&&l(a.r)?a.r=g(a.r,32):d.throwArgumentError("signature missing or invalid r","signature",e),null!=a.s&&l(a.s)?a.s=g(a.s,32):d.throwArgumentError("signature missing or invalid s","signature",e);const c=i(a.s);c[0]>=128&&d.throwArgumentError("signature s out of range","signature",e),a.recoveryParam&&(c[0]|=128);const f=u(c);a._vs&&(l(a._vs)||d.throwArgumentError("signature invalid _vs","signature",e),a._vs=g(a._vs,32)),null==a._vs?a._vs=f:a._vs!==f&&d.throwArgumentError("signature _vs mismatch v and s","signature",e)}return a.yParityAndS=a._vs,a.compact=a.r+a.yParityAndS.substring(2),a}function v(e){return u(o([(e=y(e)).r,e.s,e.recoveryParam?"0x1c":"0x1b"]))}},32046:(e,a,c)=>{"use strict";c.d(a,{id:()=>b});var d=c(38197),f=c(29251);function b(e){return(0,d.w)((0,f.Y0)(e))}},73392:(e,a,c)=>{"use strict";c.d(a,{E:()=>A});var d=c(19485),f=c(2593),b=c(16441),t=c(38197),r=c(6881),n=c(1581);var i=c(32046),o=function(e,a,c,d){return new(c||(c=Promise))((function(f,b){function t(e){try{n(d.next(e))}catch(a){b(a)}}function r(e){try{n(d.throw(e))}catch(a){b(a)}}function n(e){var a;e.done?f(e.value):(a=e.value,a instanceof c?a:new c((function(e){e(a)}))).then(t,r)}n((d=d.apply(e,a||[])).next())}))};const s=new n.Yd("hash/5.7.0"),l=new Uint8Array(32);l.fill(0);const x=f.O$.from(-1),u=f.O$.from(0),h=f.O$.from(1),p=f.O$.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");const m=(0,b.$m)(h.toHexString(),32),g=(0,b.$m)(u.toHexString(),32),y={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},v=["name","version","chainId","verifyingContract","salt"];function _(e){return function(a){return"string"!=typeof a&&s.throwArgumentError(`invalid domain value for ${JSON.stringify(e)}`,`domain.${e}`,a),a}}const w={name:_("name"),version:_("version"),chainId:function(e){try{return f.O$.from(e).toString()}catch(a){}return s.throwArgumentError('invalid domain value for "chainId"',"domain.chainId",e)},verifyingContract:function(e){try{return(0,d.Kn)(e).toLowerCase()}catch(a){}return s.throwArgumentError('invalid domain value "verifyingContract"',"domain.verifyingContract",e)},salt:function(e){try{const a=(0,b.lE)(e);if(32!==a.length)throw new Error("bad length");return(0,b.Dv)(a)}catch(a){}return s.throwArgumentError('invalid domain value "salt"',"domain.salt",e)}};function S(e){{const a=e.match(/^(u?)int(\d*)$/);if(a){const c=""===a[1],d=parseInt(a[2]||"256");(d%8!=0||d>256||a[2]&&a[2]!==String(d))&&s.throwArgumentError("invalid numeric width","type",e);const t=p.mask(c?d-1:d),r=c?t.add(h).mul(x):u;return function(a){const c=f.O$.from(a);return(c.lt(r)||c.gt(t))&&s.throwArgumentError(`value out-of-bounds for ${e}`,"value",a),(0,b.$m)(c.toTwos(256).toHexString(),32)}}}{const a=e.match(/^bytes(\d+)$/);if(a){const c=parseInt(a[1]);return(0===c||c>32||a[1]!==String(c))&&s.throwArgumentError("invalid bytes width","type",e),function(a){return(0,b.lE)(a).length!==c&&s.throwArgumentError(`invalid length for ${e}`,"value",a),function(e){const a=(0,b.lE)(e),c=a.length%32;return c?(0,b.xs)([a,l.slice(c)]):(0,b.Dv)(a)}(a)}}}switch(e){case"address":return function(e){return(0,b.$m)((0,d.Kn)(e),32)};case"bool":return function(e){return e?m:g};case"bytes":return function(e){return(0,t.w)(e)};case"string":return function(e){return(0,i.id)(e)}}return null}function E(e,a){return`${e}(${a.map((({name:e,type:a})=>a+" "+e)).join(",")})`}class A{constructor(e){(0,r.zG)(this,"types",Object.freeze((0,r.p$)(e))),(0,r.zG)(this,"_encoderCache",{}),(0,r.zG)(this,"_types",{});const a={},c={},d={};Object.keys(e).forEach((e=>{a[e]={},c[e]=[],d[e]={}}));for(const b in e){const d={};e[b].forEach((f=>{d[f.name]&&s.throwArgumentError(`duplicate variable name ${JSON.stringify(f.name)} in ${JSON.stringify(b)}`,"types",e),d[f.name]=!0;const t=f.type.match(/^([^\x5b]*)(\x5b|$)/)[1];t===b&&s.throwArgumentError(`circular type reference to ${JSON.stringify(t)}`,"types",e);S(t)||(c[t]||s.throwArgumentError(`unknown type ${JSON.stringify(t)}`,"types",e),c[t].push(b),a[b][t]=!0)}))}const f=Object.keys(c).filter((e=>0===c[e].length));0===f.length?s.throwArgumentError("missing primary type","types",e):f.length>1&&s.throwArgumentError(`ambiguous primary types or unused types: ${f.map((e=>JSON.stringify(e))).join(", ")}`,"types",e),(0,r.zG)(this,"primaryType",f[0]),function f(b,t){t[b]&&s.throwArgumentError(`circular type reference to ${JSON.stringify(b)}`,"types",e),t[b]=!0,Object.keys(a[b]).forEach((e=>{c[e]&&(f(e,t),Object.keys(t).forEach((a=>{d[a][e]=!0})))})),delete t[b]}(this.primaryType,{});for(const b in d){const a=Object.keys(d[b]);a.sort(),this._types[b]=E(b,e[b])+a.map((a=>E(a,e[a]))).join("")}}getEncoder(e){let a=this._encoderCache[e];return a||(a=this._encoderCache[e]=this._getEncoder(e)),a}_getEncoder(e){{const a=S(e);if(a)return a}const a=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(a){const e=a[1],c=this.getEncoder(e),d=parseInt(a[3]);return a=>{d>=0&&a.length!==d&&s.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",a);let f=a.map(c);return this._types[e]&&(f=f.map(t.w)),(0,t.w)((0,b.xs)(f))}}const c=this.types[e];if(c){const a=(0,i.id)(this._types[e]);return e=>{const d=c.map((({name:a,type:c})=>{const d=this.getEncoder(c)(e[a]);return this._types[c]?(0,t.w)(d):d}));return d.unshift(a),(0,b.xs)(d)}}return s.throwArgumentError(`unknown type: ${e}`,"type",e)}encodeType(e){const a=this._types[e];return a||s.throwArgumentError(`unknown type: ${JSON.stringify(e)}`,"name",e),a}encodeData(e,a){return this.getEncoder(e)(a)}hashStruct(e,a){return(0,t.w)(this.encodeData(e,a))}encode(e){return this.encodeData(this.primaryType,e)}hash(e){return this.hashStruct(this.primaryType,e)}_visit(e,a,c){if(S(e))return c(e,a);const d=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(d){const e=d[1],f=parseInt(d[3]);return f>=0&&a.length!==f&&s.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",a),a.map((a=>this._visit(e,a,c)))}const f=this.types[e];return f?f.reduce(((e,{name:d,type:f})=>(e[d]=this._visit(f,a[d],c),e)),{}):s.throwArgumentError(`unknown type: ${e}`,"type",e)}visit(e,a){return this._visit(this.primaryType,e,a)}static from(e){return new A(e)}static getPrimaryType(e){return A.from(e).primaryType}static hashStruct(e,a,c){return A.from(a).hashStruct(e,c)}static hashDomain(e){const a=[];for(const c in e){const d=y[c];d||s.throwArgumentError(`invalid typed-data domain key: ${JSON.stringify(c)}`,"domain",e),a.push({name:c,type:d})}return a.sort(((e,a)=>v.indexOf(e.name)-v.indexOf(a.name))),A.hashStruct("EIP712Domain",{EIP712Domain:a},e)}static encode(e,a,c){return(0,b.xs)(["0x1901",A.hashDomain(e),A.from(a).hash(c)])}static hash(e,a,c){return(0,t.w)(A.encode(e,a,c))}static resolveNames(e,a,c,d){return o(this,void 0,void 0,(function*(){e=(0,r.DC)(e);const f={};e.verifyingContract&&!(0,b.A7)(e.verifyingContract,20)&&(f[e.verifyingContract]="0x");const t=A.from(a);t.visit(c,((e,a)=>("address"!==e||(0,b.A7)(a,20)||(f[a]="0x"),a)));for(const e in f)f[e]=yield d(e);return e.verifyingContract&&f[e.verifyingContract]&&(e.verifyingContract=f[e.verifyingContract]),c=t.visit(c,((e,a)=>"address"===e&&f[a]?f[a]:a)),{domain:e,value:c}}))}static getPayload(e,a,c){A.hashDomain(e);const d={},t=[];v.forEach((a=>{const c=e[a];null!=c&&(d[a]=w[a](c),t.push({name:a,type:y[a]}))}));const n=A.from(a),i=(0,r.DC)(a);return i.EIP712Domain?s.throwArgumentError("types must not contain EIP712Domain type","types.EIP712Domain",a):i.EIP712Domain=t,n.encode(c),{types:i,domain:d,primaryType:n.primaryType,message:n.visit(c,((e,a)=>{if(e.match(/^bytes(\d*)/))return(0,b.Dv)((0,b.lE)(a));if(e.match(/^u?int/))return f.O$.from(a).toString();switch(e){case"address":return a.toLowerCase();case"bool":return!!a;case"string":return"string"!=typeof a&&s.throwArgumentError("invalid string","value",a),a}return s.throwArgumentError("unsupported type","type",e)}))}}}},38197:(e,a,c)=>{"use strict";c.d(a,{w:()=>t});var d=c(91094),f=c.n(d),b=c(16441);function t(e){return"0x"+f().keccak_256((0,b.lE)(e))}},1581:(e,a,c)=>{"use strict";c.d(a,{Yd:()=>l});let d=!1,f=!1;const b={debug:1,default:2,info:2,warning:3,error:4,off:5};let t=b.default,r=null;const n=function(){try{const e=[];if(["NFD","NFC","NFKD","NFKC"].forEach((a=>{try{if("test"!=="test".normalize(a))throw new Error("bad normalize")}catch(c){e.push(a)}})),e.length)throw new Error("missing "+e.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(e){return e.message}return null}();var i,o;!function(e){e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.OFF="OFF"}(i||(i={})),function(e){e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.NOT_IMPLEMENTED="NOT_IMPLEMENTED",e.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",e.NETWORK_ERROR="NETWORK_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT="TIMEOUT",e.BUFFER_OVERRUN="BUFFER_OVERRUN",e.NUMERIC_FAULT="NUMERIC_FAULT",e.MISSING_NEW="MISSING_NEW",e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.MISSING_ARGUMENT="MISSING_ARGUMENT",e.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",e.CALL_EXCEPTION="CALL_EXCEPTION",e.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",e.NONCE_EXPIRED="NONCE_EXPIRED",e.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",e.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",e.TRANSACTION_REPLACED="TRANSACTION_REPLACED",e.ACTION_REJECTED="ACTION_REJECTED"}(o||(o={}));const s="0123456789abcdef";class l{constructor(e){Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}_log(e,a){const c=e.toLowerCase();null==b[c]&&this.throwArgumentError("invalid log level name","logLevel",e),t>b[c]||console.log.apply(console,a)}debug(...e){this._log(l.levels.DEBUG,e)}info(...e){this._log(l.levels.INFO,e)}warn(...e){this._log(l.levels.WARNING,e)}makeError(e,a,c){if(f)return this.makeError("censored error",a,{});a||(a=l.errors.UNKNOWN_ERROR),c||(c={});const d=[];Object.keys(c).forEach((e=>{const a=c[e];try{if(a instanceof Uint8Array){let c="";for(let e=0;e>4],c+=s[15&a[e]];d.push(e+"=Uint8Array(0x"+c+")")}else d.push(e+"="+JSON.stringify(a))}catch(r){d.push(e+"="+JSON.stringify(c[e].toString()))}})),d.push(`code=${a}`),d.push(`version=${this.version}`);const b=e;let t="";switch(a){case o.NUMERIC_FAULT:{t="NUMERIC_FAULT";const a=e;switch(a){case"overflow":case"underflow":case"division-by-zero":t+="-"+a;break;case"negative-power":case"negative-width":t+="-unsupported";break;case"unbound-bitwise-result":t+="-unbound-result"}break}case o.CALL_EXCEPTION:case o.INSUFFICIENT_FUNDS:case o.MISSING_NEW:case o.NONCE_EXPIRED:case o.REPLACEMENT_UNDERPRICED:case o.TRANSACTION_REPLACED:case o.UNPREDICTABLE_GAS_LIMIT:t=a}t&&(e+=" [ See: https://links.ethers.org/v5-errors-"+t+" ]"),d.length&&(e+=" ("+d.join(", ")+")");const r=new Error(e);return r.reason=b,r.code=a,Object.keys(c).forEach((function(e){r[e]=c[e]})),r}throwError(e,a,c){throw this.makeError(e,a,c)}throwArgumentError(e,a,c){return this.throwError(e,l.errors.INVALID_ARGUMENT,{argument:a,value:c})}assert(e,a,c,d){e||this.throwError(a,c,d)}assertArgument(e,a,c,d){e||this.throwArgumentError(a,c,d)}checkNormalize(e){null==e&&(e="platform missing String.prototype.normalize"),n&&this.throwError("platform missing String.prototype.normalize",l.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:n})}checkSafeUint53(e,a){"number"==typeof e&&(null==a&&(a="value not safe"),(e<0||e>=9007199254740991)&&this.throwError(a,l.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:e}),e%1&&this.throwError(a,l.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:e}))}checkArgumentCount(e,a,c){c=c?": "+c:"",ea&&this.throwError("too many arguments"+c,l.errors.UNEXPECTED_ARGUMENT,{count:e,expectedCount:a})}checkNew(e,a){e!==Object&&null!=e||this.throwError("missing new",l.errors.MISSING_NEW,{name:a.name})}checkAbstract(e,a){e===a?this.throwError("cannot instantiate abstract class "+JSON.stringify(a.name)+" directly; use a sub-class",l.errors.UNSUPPORTED_OPERATION,{name:e.name,operation:"new"}):e!==Object&&null!=e||this.throwError("missing new",l.errors.MISSING_NEW,{name:a.name})}static globalLogger(){return r||(r=new l("logger/5.7.0")),r}static setCensorship(e,a){if(!e&&a&&this.globalLogger().throwError("cannot permanently disable censorship",l.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),d){if(!e)return;this.globalLogger().throwError("error censorship permanent",l.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}f=!!e,d=!!a}static setLogLevel(e){const a=b[e.toLowerCase()];null!=a?t=a:l.globalLogger().warn("invalid log level - "+e)}static from(e){return new l(e)}}l.errors=o,l.levels=i},6881:(e,a,c)=>{"use strict";c.d(a,{dk:()=>u,uj:()=>n,p$:()=>x,zG:()=>t,mE:()=>r,DC:()=>i});var d=c(1581);var f=function(e,a,c,d){return new(c||(c=Promise))((function(f,b){function t(e){try{n(d.next(e))}catch(a){b(a)}}function r(e){try{n(d.throw(e))}catch(a){b(a)}}function n(e){var a;e.done?f(e.value):(a=e.value,a instanceof c?a:new c((function(e){e(a)}))).then(t,r)}n((d=d.apply(e,a||[])).next())}))};const b=new d.Yd("properties/5.7.0");function t(e,a,c){Object.defineProperty(e,a,{enumerable:!0,value:c,writable:!1})}function r(e){return f(this,void 0,void 0,(function*(){const a=Object.keys(e).map((a=>{const c=e[a];return Promise.resolve(c).then((e=>({key:a,value:e})))}));return(yield Promise.all(a)).reduce(((e,a)=>(e[a.key]=a.value,e)),{})}))}function n(e,a){e&&"object"==typeof e||b.throwArgumentError("invalid object","object",e),Object.keys(e).forEach((c=>{a[c]||b.throwArgumentError("invalid object key - "+c,"transaction:"+c,e)}))}function i(e){const a={};for(const c in e)a[c]=e[c];return a}const o={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function s(e){if(null==e||o[typeof e])return!0;if(Array.isArray(e)||"object"==typeof e){if(!Object.isFrozen(e))return!1;const c=Object.keys(e);for(let d=0;dx(e))));if("object"==typeof e){const a={};for(const c in e){const d=e[c];void 0!==d&&t(a,c,x(d))}return a}return b.throwArgumentError("Cannot deepCopy "+typeof e,"object",e)}function x(e){return l(e)}class u{constructor(e){for(const a in e)this[a]=x(e[a])}}},29251:(e,a,c)=>{"use strict";c.d(a,{Uj:()=>b,Y0:()=>n});var d=c(16441);const f=new(c(1581).Yd)("strings/5.7.0");var b,t;function r(e,a,c,d,f){if(e===t.BAD_PREFIX||e===t.UNEXPECTED_CONTINUE){let e=0;for(let d=a+1;d>6==2;d++)e++;return e}return e===t.OVERRUN?c.length-a-1:0}!function(e){e.current="",e.NFC="NFC",e.NFD="NFD",e.NFKC="NFKC",e.NFKD="NFKD"}(b||(b={})),function(e){e.UNEXPECTED_CONTINUE="unexpected continuation byte",e.BAD_PREFIX="bad codepoint prefix",e.OVERRUN="string overrun",e.MISSING_CONTINUE="missing continuation byte",e.OUT_OF_RANGE="out of UTF-8 range",e.UTF16_SURROGATE="UTF-16 surrogate",e.OVERLONG="overlong representation"}(t||(t={}));Object.freeze({error:function(e,a,c,d,b){return f.throwArgumentError(`invalid codepoint at offset ${a}; ${e}`,"bytes",c)},ignore:r,replace:function(e,a,c,d,f){return e===t.OVERLONG?(d.push(f),0):(d.push(65533),r(e,a,c))}});function n(e,a=b.current){a!=b.current&&(f.checkNormalize(),e=e.normalize(a));let c=[];for(let d=0;d>6|192),c.push(63&a|128);else if(55296==(64512&a)){d++;const f=e.charCodeAt(d);if(d>=e.length||56320!=(64512&f))throw new Error("invalid utf-8 string");const b=65536+((1023&a)<<10)+(1023&f);c.push(b>>18|240),c.push(b>>12&63|128),c.push(b>>6&63|128),c.push(63&b|128)}else c.push(a>>12|224),c.push(a>>6&63|128),c.push(63&a|128)}return(0,d.lE)(c)}},16824:(e,a,c)=>{"use strict";c.d(a,{w5:()=>ka});var d=c(19485),f=c(2593),b=c(6881),t=c(1581);var r=function(e,a,c,d){return new(c||(c=Promise))((function(f,b){function t(e){try{n(d.next(e))}catch(a){b(a)}}function r(e){try{n(d.throw(e))}catch(a){b(a)}}function n(e){var a;e.done?f(e.value):(a=e.value,a instanceof c?a:new c((function(e){e(a)}))).then(t,r)}n((d=d.apply(e,a||[])).next())}))};const n=new t.Yd("abstract-provider/5.7.0");class i{constructor(){n.checkAbstract(new.target,i),(0,b.zG)(this,"_isProvider",!0)}getFeeData(){return r(this,void 0,void 0,(function*(){const{block:e,gasPrice:a}=yield(0,b.mE)({block:this.getBlock("latest"),gasPrice:this.getGasPrice().catch((e=>null))});let c=null,d=null,t=null;return e&&e.baseFeePerGas&&(c=e.baseFeePerGas,t=f.O$.from("1500000000"),d=e.baseFeePerGas.mul(2).add(t)),{lastBaseFeePerGas:c,maxFeePerGas:d,maxPriorityFeePerGas:t,gasPrice:a}}))}addListener(e,a){return this.on(e,a)}removeListener(e,a){return this.off(e,a)}static isProvider(e){return!(!e||!e._isProvider)}}var o=c(48088),s=c(16441),l=c(38197),x=c(29251);var u=c(73392);class h{constructor(e){(0,b.zG)(this,"alphabet",e),(0,b.zG)(this,"base",e.length),(0,b.zG)(this,"_alphabetMap",{}),(0,b.zG)(this,"_leader",e.charAt(0));for(let a=0;a0;)c.push(e%this.base),e=e/this.base|0}let d="";for(let f=0;0===a[f]&&f=0;--f)d+=this.alphabet[c[f]];return d}decode(e){if("string"!=typeof e)throw new TypeError("Expected String");let a=[];if(0===e.length)return new Uint8Array(a);a.push(0);for(let c=0;c>=8;for(;f>0;)a.push(255&f),f>>=8}for(let c=0;e[c]===this._leader&&c>24&255,n[a.length+1]=l>>16&255,n[a.length+2]=l>>8&255,n[a.length+3]=255&l;let x=(0,s.lE)(w(f,e,n));b||(b=x.length,o=new Uint8Array(b),t=Math.ceil(d/b),i=d-(t-1)*b),o.set(x);for(let a=1;a>8,t=255&f;b?c.push(b,t):c.push(t)}return c},c.zero2=d,c.toHex=f,c.encode=function(e,a){return"hex"===a?f(e):e}})),T=k((function(e,a){var c=a;c.assert=I,c.toArray=L.toArray,c.zero2=L.zero2,c.toHex=L.toHex,c.encode=L.encode,c.getNAF=function(e,a,c){var d=new Array(Math.max(e.bitLength(),c)+1);d.fill(0);for(var f=1<(f>>1)-1?(f>>1)-n:n,b.isubn(r)):r=0,d[t]=r,b.iushrn(1)}return d},c.getJSF=function(e,a){var c=[[],[]];e=e.clone(),a=a.clone();for(var d,f=0,b=0;e.cmpn(-f)>0||a.cmpn(-b)>0;){var t,r,n=e.andln(3)+f&3,i=a.andln(3)+b&3;3===n&&(n=-1),3===i&&(i=-1),t=0==(1&n)?0:3!==(d=e.andln(7)+f&7)&&5!==d||2!==i?n:-n,c[0].push(t),r=0==(1&i)?0:3!==(d=a.andln(7)+b&7)&&5!==d||2!==n?i:-i,c[1].push(r),2*f===t+1&&(f=1-f),2*b===r+1&&(b=1-b),e.iushrn(1),a.iushrn(1)}return c},c.cachedProperty=function(e,a,c){var d="_"+a;e.prototype[a]=function(){return void 0!==this[d]?this[d]:this[d]=c.call(this)}},c.parseBytes=function(e){return"string"==typeof e?c.toArray(e,"hex"):e},c.intFromLE=function(e){return new(A())(e,"hex","le")}})),P=T.getNAF,R=T.getJSF,M=T.assert;function B(e,a){this.type=e,this.p=new(A())(a.p,16),this.red=a.prime?A().red(a.prime):A().mont(this.p),this.zero=new(A())(0).toRed(this.red),this.one=new(A())(1).toRed(this.red),this.two=new(A())(2).toRed(this.red),this.n=a.n&&new(A())(a.n,16),this.g=a.g&&this.pointFromJSON(a.g,a.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var c=this.n&&this.p.div(this.n);!c||c.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var O=B;function N(e,a){this.curve=e,this.type=a,this.precomputed=null}B.prototype.point=function(){throw new Error("Not implemented")},B.prototype.validate=function(){throw new Error("Not implemented")},B.prototype._fixedNafMul=function(e,a){M(e.precomputed);var c=e._getDoubles(),d=P(a,1,this._bitLength),f=(1<=b;n--)t=(t<<1)+d[n];r.push(t)}for(var i=this.jpoint(null,null,null),o=this.jpoint(null,null,null),s=f;s>0;s--){for(b=0;b=0;r--){for(var n=0;r>=0&&0===b[r];r--)n++;if(r>=0&&n++,t=t.dblp(n),r<0)break;var i=b[r];M(0!==i),t="affine"===e.type?i>0?t.mixedAdd(f[i-1>>1]):t.mixedAdd(f[-i-1>>1].neg()):i>0?t.add(f[i-1>>1]):t.add(f[-i-1>>1].neg())}return"affine"===e.type?t.toP():t},B.prototype._wnafMulAdd=function(e,a,c,d,f){var b,t,r,n=this._wnafT1,i=this._wnafT2,o=this._wnafT3,s=0;for(b=0;b=1;b-=2){var x=b-1,u=b;if(1===n[x]&&1===n[u]){var h=[a[x],null,null,a[u]];0===a[x].y.cmp(a[u].y)?(h[1]=a[x].add(a[u]),h[2]=a[x].toJ().mixedAdd(a[u].neg())):0===a[x].y.cmp(a[u].y.redNeg())?(h[1]=a[x].toJ().mixedAdd(a[u]),h[2]=a[x].add(a[u].neg())):(h[1]=a[x].toJ().mixedAdd(a[u]),h[2]=a[x].toJ().mixedAdd(a[u].neg()));var p=[-3,-1,-5,-7,0,7,5,1,3],m=R(c[x],c[u]);for(s=Math.max(m[0].length,s),o[x]=new Array(s),o[u]=new Array(s),t=0;t=0;b--){for(var w=0;b>=0;){var S=!0;for(t=0;t=0&&w++,v=v.dblp(w),b<0)break;for(t=0;t0?r=i[t][E-1>>1]:E<0&&(r=i[t][-E-1>>1].neg()),v="affine"===r.type?v.mixedAdd(r):v.add(r))}}for(b=0;b=Math.ceil((e.bitLength()+1)/a.step)},N.prototype._getDoubles=function(e,a){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var c=[this],d=this,f=0;f=0&&(b=a,t=c),d.negative&&(d=d.neg(),f=f.neg()),b.negative&&(b=b.neg(),t=t.neg()),[{a:d,b:f},{a:b,b:t}]},U.prototype._endoSplit=function(e){var a=this.endo.basis,c=a[0],d=a[1],f=d.b.mul(e).divRound(this.n),b=c.b.neg().mul(e).divRound(this.n),t=f.mul(c.a),r=b.mul(d.a),n=f.mul(c.b),i=b.mul(d.b);return{k1:e.sub(t).sub(r),k2:n.add(i).neg()}},U.prototype.pointFromX=function(e,a){(e=new(A())(e,16)).red||(e=e.toRed(this.red));var c=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),d=c.redSqrt();if(0!==d.redSqr().redSub(c).cmp(this.zero))throw new Error("invalid point");var f=d.fromRed().isOdd();return(a&&!f||!a&&f)&&(d=d.redNeg()),this.point(e,d)},U.prototype.validate=function(e){if(e.inf)return!0;var a=e.x,c=e.y,d=this.a.redMul(a),f=a.redSqr().redMul(a).redIAdd(d).redIAdd(this.b);return 0===c.redSqr().redISub(f).cmpn(0)},U.prototype._endoWnafMulAdd=function(e,a,c){for(var d=this._endoWnafT1,f=this._endoWnafT2,b=0;b":""},z.prototype.isInfinity=function(){return this.inf},z.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var a=this.y.redSub(e.y);0!==a.cmpn(0)&&(a=a.redMul(this.x.redSub(e.x).redInvm()));var c=a.redSqr().redISub(this.x).redISub(e.x),d=a.redMul(this.x.redSub(c)).redISub(this.y);return this.curve.point(c,d)},z.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var a=this.curve.a,c=this.x.redSqr(),d=e.redInvm(),f=c.redAdd(c).redIAdd(c).redIAdd(a).redMul(d),b=f.redSqr().redISub(this.x.redAdd(this.x)),t=f.redMul(this.x.redSub(b)).redISub(this.y);return this.curve.point(b,t)},z.prototype.getX=function(){return this.x.fromRed()},z.prototype.getY=function(){return this.y.fromRed()},z.prototype.mul=function(e){return e=new(A())(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},z.prototype.mulAdd=function(e,a,c){var d=[this,a],f=[e,c];return this.curve.endo?this.curve._endoWnafMulAdd(d,f):this.curve._wnafMulAdd(1,d,f,2)},z.prototype.jmulAdd=function(e,a,c){var d=[this,a],f=[e,c];return this.curve.endo?this.curve._endoWnafMulAdd(d,f,!0):this.curve._wnafMulAdd(1,d,f,2,!0)},z.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},z.prototype.neg=function(e){if(this.inf)return this;var a=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var c=this.precomputed,d=function(e){return e.neg()};a.precomputed={naf:c.naf&&{wnd:c.naf.wnd,points:c.naf.points.map(d)},doubles:c.doubles&&{step:c.doubles.step,points:c.doubles.points.map(d)}}}return a},z.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},F(q,O.BasePoint),U.prototype.jpoint=function(e,a,c){return new q(this,e,a,c)},q.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),a=e.redSqr(),c=this.x.redMul(a),d=this.y.redMul(a).redMul(e);return this.curve.point(c,d)},q.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},q.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var a=e.z.redSqr(),c=this.z.redSqr(),d=this.x.redMul(a),f=e.x.redMul(c),b=this.y.redMul(a.redMul(e.z)),t=e.y.redMul(c.redMul(this.z)),r=d.redSub(f),n=b.redSub(t);if(0===r.cmpn(0))return 0!==n.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var i=r.redSqr(),o=i.redMul(r),s=d.redMul(i),l=n.redSqr().redIAdd(o).redISub(s).redISub(s),x=n.redMul(s.redISub(l)).redISub(b.redMul(o)),u=this.z.redMul(e.z).redMul(r);return this.curve.jpoint(l,x,u)},q.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var a=this.z.redSqr(),c=this.x,d=e.x.redMul(a),f=this.y,b=e.y.redMul(a).redMul(this.z),t=c.redSub(d),r=f.redSub(b);if(0===t.cmpn(0))return 0!==r.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var n=t.redSqr(),i=n.redMul(t),o=c.redMul(n),s=r.redSqr().redIAdd(i).redISub(o).redISub(o),l=r.redMul(o.redISub(s)).redISub(f.redMul(i)),x=this.z.redMul(t);return this.curve.jpoint(s,l,x)},q.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var a;if(this.curve.zeroA||this.curve.threeA){var c=this;for(a=0;a=0)return!1;if(c.redIAdd(f),0===this.x.cmp(c))return!0}},q.prototype.inspect=function(){return this.isInfinity()?"":""},q.prototype.isInfinity=function(){return 0===this.z.cmpn(0)};var K=k((function(e,a){var c=a;c.base=O,c.short=j,c.mont=null,c.edwards=null})),V=k((function(e,a){var c,d=a,f=T.assert;function b(e){"short"===e.type?this.curve=new K.short(e):"edwards"===e.type?this.curve=new K.edwards(e):this.curve=new K.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,f(this.g.validate(),"Invalid curve"),f(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function t(e,a){Object.defineProperty(d,e,{configurable:!0,enumerable:!0,get:function(){var c=new b(a);return Object.defineProperty(d,e,{configurable:!0,enumerable:!0,value:c}),c}})}d.PresetCurve=b,t("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:y().sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),t("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:y().sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),t("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:y().sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),t("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:y().sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),t("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:y().sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),t("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:y().sha256,gRed:!1,g:["9"]}),t("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:y().sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{c=null.crash()}catch(r){c=void 0}t("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:y().sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",c]})}));function $(e){if(!(this instanceof $))return new $(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var a=L.toArray(e.entropy,e.entropyEnc||"hex"),c=L.toArray(e.nonce,e.nonceEnc||"hex"),d=L.toArray(e.pers,e.persEnc||"hex");I(a.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(a,c,d)}var H=$;$.prototype._init=function(e,a,c){var d=e.concat(a).concat(c);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var f=0;f=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(c||[])),this._reseed=1},$.prototype.generate=function(e,a,c,d){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof a&&(d=c,c=a,a=null),c&&(c=L.toArray(c,d||"hex"),this._update(c));for(var f=[];f.length"};var Q=T.assert;function Y(e,a){if(e instanceof Y)return e;this._importDER(e,a)||(Q(e.r&&e.s,"Signature without r or s"),this.r=new(A())(e.r,16),this.s=new(A())(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}var J=Y;function X(){this.place=0}function ee(e,a){var c=e[a.place++];if(!(128&c))return c;var d=15&c;if(0===d||d>4)return!1;for(var f=0,b=0,t=a.place;b>>=0;return!(f<=127)&&(a.place=t,f)}function ae(e){for(var a=0,c=e.length-1;!e[a]&&!(128&e[a+1])&&a>>3);for(e.push(128|c);--c;)e.push(a>>>(c<<3)&255);e.push(a)}}Y.prototype._importDER=function(e,a){e=T.toArray(e,a);var c=new X;if(48!==e[c.place++])return!1;var d=ee(e,c);if(!1===d)return!1;if(d+c.place!==e.length)return!1;if(2!==e[c.place++])return!1;var f=ee(e,c);if(!1===f)return!1;var b=e.slice(c.place,f+c.place);if(c.place+=f,2!==e[c.place++])return!1;var t=ee(e,c);if(!1===t)return!1;if(e.length!==t+c.place)return!1;var r=e.slice(c.place,t+c.place);if(0===b[0]){if(!(128&b[1]))return!1;b=b.slice(1)}if(0===r[0]){if(!(128&r[1]))return!1;r=r.slice(1)}return this.r=new(A())(b),this.s=new(A())(r),this.recoveryParam=null,!0},Y.prototype.toDER=function(e){var a=this.r.toArray(),c=this.s.toArray();for(128&a[0]&&(a=[0].concat(a)),128&c[0]&&(c=[0].concat(c)),a=ae(a),c=ae(c);!(c[0]||128&c[1]);)c=c.slice(1);var d=[2];ce(d,a.length),(d=d.concat(a)).push(2),ce(d,c.length);var f=d.concat(c),b=[48];return ce(b,f.length),b=b.concat(f),T.encode(b,e)};var de=function(){throw new Error("unsupported")},fe=T.assert;function be(e){if(!(this instanceof be))return new be(e);"string"==typeof e&&(fe(Object.prototype.hasOwnProperty.call(V,e),"Unknown curve "+e),e=V[e]),e instanceof V.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}var te=be;be.prototype.keyPair=function(e){return new Z(this,e)},be.prototype.keyFromPrivate=function(e,a){return Z.fromPrivate(this,e,a)},be.prototype.keyFromPublic=function(e,a){return Z.fromPublic(this,e,a)},be.prototype.genKeyPair=function(e){e||(e={});for(var a=new H({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||de(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),c=this.n.byteLength(),d=this.n.sub(new(A())(2));;){var f=new(A())(a.generate(c));if(!(f.cmp(d)>0))return f.iaddn(1),this.keyFromPrivate(f)}},be.prototype._truncateToN=function(e,a){var c=8*e.byteLength()-this.n.bitLength();return c>0&&(e=e.ushrn(c)),!a&&e.cmp(this.n)>=0?e.sub(this.n):e},be.prototype.sign=function(e,a,c,d){"object"==typeof c&&(d=c,c=null),d||(d={}),a=this.keyFromPrivate(a,c),e=this._truncateToN(new(A())(e,16));for(var f=this.n.byteLength(),b=a.getPrivate().toArray("be",f),t=e.toArray("be",f),r=new H({hash:this.hash,entropy:b,nonce:t,pers:d.pers,persEnc:d.persEnc||"utf8"}),n=this.n.sub(new(A())(1)),i=0;;i++){var o=d.k?d.k(i):new(A())(r.generate(this.n.byteLength()));if(!((o=this._truncateToN(o,!0)).cmpn(1)<=0||o.cmp(n)>=0)){var s=this.g.mul(o);if(!s.isInfinity()){var l=s.getX(),x=l.umod(this.n);if(0!==x.cmpn(0)){var u=o.invm(this.n).mul(x.mul(a.getPrivate()).iadd(e));if(0!==(u=u.umod(this.n)).cmpn(0)){var h=(s.getY().isOdd()?1:0)|(0!==l.cmp(x)?2:0);return d.canonical&&u.cmp(this.nh)>0&&(u=this.n.sub(u),h^=1),new J({r:x,s:u,recoveryParam:h})}}}}}},be.prototype.verify=function(e,a,c,d){e=this._truncateToN(new(A())(e,16)),c=this.keyFromPublic(c,d);var f=(a=new J(a,"hex")).r,b=a.s;if(f.cmpn(1)<0||f.cmp(this.n)>=0)return!1;if(b.cmpn(1)<0||b.cmp(this.n)>=0)return!1;var t,r=b.invm(this.n),n=r.mul(e).umod(this.n),i=r.mul(f).umod(this.n);return this.curve._maxwellTrick?!(t=this.g.jmulAdd(n,c.getPublic(),i)).isInfinity()&&t.eqXToP(f):!(t=this.g.mulAdd(n,c.getPublic(),i)).isInfinity()&&0===t.getX().umod(this.n).cmp(f)},be.prototype.recoverPubKey=function(e,a,c,d){fe((3&c)===c,"The recovery param is more than two bits"),a=new J(a,d);var f=this.n,b=new(A())(e),t=a.r,r=a.s,n=1&c,i=c>>1;if(t.cmp(this.curve.p.umod(this.curve.n))>=0&&i)throw new Error("Unable to find sencond key candinate");t=i?this.curve.pointFromX(t.add(this.curve.n),n):this.curve.pointFromX(t,n);var o=a.r.invm(f),s=f.sub(b).mul(o).umod(f),l=r.mul(o).umod(f);return this.g.mulAdd(s,t,l)},be.prototype.getKeyRecoveryParam=function(e,a,c,d){if(null!==(a=new J(a,d)).recoveryParam)return a.recoveryParam;for(var f=0;f<4;f++){var b;try{b=this.recoverPubKey(e,a,f)}catch(e){continue}if(b.eq(c))return f}throw new Error("Unable to find valid recovery factor")};var re=k((function(e,a){var c=a;c.version="6.5.4",c.utils=T,c.rand=function(){throw new Error("unsupported")},c.curve=K,c.curves=V,c.ec=te,c.eddsa=null})).ec;const ne=new t.Yd("signing-key/5.7.0");let ie=null;function oe(){return ie||(ie=new re("secp256k1")),ie}class se{constructor(e){(0,b.zG)(this,"curve","secp256k1"),(0,b.zG)(this,"privateKey",(0,s.Dv)(e)),32!==(0,s.E1)(this.privateKey)&&ne.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");const a=oe().keyFromPrivate((0,s.lE)(this.privateKey));(0,b.zG)(this,"publicKey","0x"+a.getPublic(!1,"hex")),(0,b.zG)(this,"compressedPublicKey","0x"+a.getPublic(!0,"hex")),(0,b.zG)(this,"_isSigningKey",!0)}_addPoint(e){const a=oe().keyFromPublic((0,s.lE)(this.publicKey)),c=oe().keyFromPublic((0,s.lE)(e));return"0x"+a.pub.add(c.pub).encodeCompressed("hex")}signDigest(e){const a=oe().keyFromPrivate((0,s.lE)(this.privateKey)),c=(0,s.lE)(e);32!==c.length&&ne.throwArgumentError("bad digest length","digest",e);const d=a.sign(c,{canonical:!0});return(0,s.N)({recoveryParam:d.recoveryParam,r:(0,s.$m)("0x"+d.r.toString(16),32),s:(0,s.$m)("0x"+d.s.toString(16),32)})}computeSharedSecret(e){const a=oe().keyFromPrivate((0,s.lE)(this.privateKey)),c=oe().keyFromPublic((0,s.lE)(le(e)));return(0,s.$m)("0x"+a.derive(c.getPublic()).toString(16),32)}static isSigningKey(e){return!(!e||!e._isSigningKey)}}function le(e,a){const c=(0,s.lE)(e);if(32===c.length){const e=new se(c);return a?"0x"+oe().keyFromPrivate(c).getPublic(!0,"hex"):e.publicKey}return 33===c.length?a?(0,s.Dv)(c):"0x"+oe().keyFromPublic(c).getPublic(!1,"hex"):65===c.length?a?"0x"+oe().keyFromPublic(c).getPublic(!0,"hex"):(0,s.Dv)(c):ne.throwArgumentError("invalid public or private key","key","[REDACTED]")}const xe=new t.Yd("rlp/5.7.0");function ue(e){const a=[];for(;e;)a.unshift(255&e),e>>=8;return a}function he(e){if(Array.isArray(e)){let a=[];if(e.forEach((function(e){a=a.concat(he(e))})),a.length<=55)return a.unshift(192+a.length),a;const c=ue(a.length);return c.unshift(247+c.length),c.concat(a)}(0,s.Zq)(e)||xe.throwArgumentError("RLP object must be BytesLike","object",e);const a=Array.prototype.slice.call((0,s.lE)(e));if(1===a.length&&a[0]<=127)return a;if(a.length<=55)return a.unshift(128+a.length),a;const c=ue(a.length);return c.unshift(183+c.length),c.concat(a)}function pe(e){return(0,s.Dv)(he(e))}const me=new t.Yd("transactions/5.7.0");var ge;!function(e){e[e.legacy=0]="legacy",e[e.eip2930=1]="eip2930",e[e.eip1559=2]="eip1559"}(ge||(ge={}));const ye=[{name:"nonce",maxLength:32,numeric:!0},{name:"gasPrice",maxLength:32,numeric:!0},{name:"gasLimit",maxLength:32,numeric:!0},{name:"to",length:20},{name:"value",maxLength:32,numeric:!0},{name:"data"}],ve={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,type:!0,value:!0};function _e(e){const a=le(e);return(0,d.Kn)((0,s.p3)((0,l.w)((0,s.p3)(a,1)),12))}function we(e,a){const c=(0,s.G1)(f.O$.from(e).toHexString());return c.length>32&&me.throwArgumentError("invalid length for "+a,"transaction:"+a,e),c}function Se(e,a){return{address:(0,d.Kn)(e),storageKeys:(a||[]).map(((a,c)=>(32!==(0,s.E1)(a)&&me.throwArgumentError("invalid access list storageKey",`accessList[${e}:${c}]`,a),a.toLowerCase())))}}function Ee(e){if(Array.isArray(e))return e.map(((e,a)=>Array.isArray(e)?(e.length>2&&me.throwArgumentError("access list expected to be [ address, storageKeys[] ]",`value[${a}]`,e),Se(e[0],e[1])):Se(e.address,e.storageKeys)));const a=Object.keys(e).map((a=>{const c=e[a].reduce(((e,a)=>(e[a]=!0,e)),{});return Se(a,Object.keys(c).sort())}));return a.sort(((e,a)=>e.address.localeCompare(a.address))),a}function Ae(e){return Ee(e).map((e=>[e.address,e.storageKeys]))}function ke(e,a){if(null!=e.gasPrice){const a=f.O$.from(e.gasPrice),c=f.O$.from(e.maxFeePerGas||0);a.eq(c)||me.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:a,maxFeePerGas:c})}const c=[we(e.chainId||0,"chainId"),we(e.nonce||0,"nonce"),we(e.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),we(e.maxFeePerGas||0,"maxFeePerGas"),we(e.gasLimit||0,"gasLimit"),null!=e.to?(0,d.Kn)(e.to):"0x",we(e.value||0,"value"),e.data||"0x",Ae(e.accessList||[])];if(a){const e=(0,s.N)(a);c.push(we(e.recoveryParam,"recoveryParam")),c.push((0,s.G1)(e.r)),c.push((0,s.G1)(e.s))}return(0,s.xs)(["0x02",pe(c)])}function Ie(e,a){const c=[we(e.chainId||0,"chainId"),we(e.nonce||0,"nonce"),we(e.gasPrice||0,"gasPrice"),we(e.gasLimit||0,"gasLimit"),null!=e.to?(0,d.Kn)(e.to):"0x",we(e.value||0,"value"),e.data||"0x",Ae(e.accessList||[])];if(a){const e=(0,s.N)(a);c.push(we(e.recoveryParam,"recoveryParam")),c.push((0,s.G1)(e.r)),c.push((0,s.G1)(e.s))}return(0,s.xs)(["0x01",pe(c)])}function Ce(e,a){if(null==e.type||0===e.type)return null!=e.accessList&&me.throwArgumentError("untyped transactions do not support accessList; include type: 1","transaction",e),function(e,a){(0,b.uj)(e,ve);const c=[];ye.forEach((function(a){let d=e[a.name]||[];const f={};a.numeric&&(f.hexPad="left"),d=(0,s.lE)((0,s.Dv)(d,f)),a.length&&d.length!==a.length&&d.length>0&&me.throwArgumentError("invalid length for "+a.name,"transaction:"+a.name,d),a.maxLength&&(d=(0,s.G1)(d),d.length>a.maxLength&&me.throwArgumentError("invalid length for "+a.name,"transaction:"+a.name,d)),c.push((0,s.Dv)(d))}));let d=0;if(null!=e.chainId?(d=e.chainId,"number"!=typeof d&&me.throwArgumentError("invalid transaction.chainId","transaction",e)):a&&!(0,s.Zq)(a)&&a.v>28&&(d=Math.floor((a.v-35)/2)),0!==d&&(c.push((0,s.Dv)(d)),c.push("0x"),c.push("0x")),!a)return pe(c);const f=(0,s.N)(a);let t=27+f.recoveryParam;return 0!==d?(c.pop(),c.pop(),c.pop(),t+=2*d+8,f.v>28&&f.v!==t&&me.throwArgumentError("transaction.chainId/signature.v mismatch","signature",a)):f.v!==t&&me.throwArgumentError("transaction.chainId/signature.v mismatch","signature",a),c.push((0,s.Dv)(t)),c.push((0,s.G1)((0,s.lE)(f.r))),c.push((0,s.G1)((0,s.lE)(f.s))),pe(c)}(e,a);switch(e.type){case 1:return Ie(e,a);case 2:return ke(e,a)}return me.throwError(`unsupported transaction type: ${e.type}`,t.Yd.errors.UNSUPPORTED_OPERATION,{operation:"serializeTransaction",transactionType:e.type})}var Le=c(32046);const Te=new t.Yd("wordlists/5.7.0");class Pe{constructor(e){Te.checkAbstract(new.target,Pe),(0,b.zG)(this,"locale",e)}split(e){return e.toLowerCase().split(/ +/g)}join(e){return e.join(" ")}static check(e){const a=[];for(let c=0;c<2048;c++){const d=e.getWord(c);if(c!==e.getWordIndex(d))return"0x";a.push(d)}return(0,Le.id)(a.join("\n")+"\n")}static register(e,a){a||(a=e.locale)}}let Re=null;function Me(e){if(null==Re&&(Re="AbandonAbilityAbleAboutAboveAbsentAbsorbAbstractAbsurdAbuseAccessAccidentAccountAccuseAchieveAcidAcousticAcquireAcrossActActionActorActressActualAdaptAddAddictAddressAdjustAdmitAdultAdvanceAdviceAerobicAffairAffordAfraidAgainAgeAgentAgreeAheadAimAirAirportAisleAlarmAlbumAlcoholAlertAlienAllAlleyAllowAlmostAloneAlphaAlreadyAlsoAlterAlwaysAmateurAmazingAmongAmountAmusedAnalystAnchorAncientAngerAngleAngryAnimalAnkleAnnounceAnnualAnotherAnswerAntennaAntiqueAnxietyAnyApartApologyAppearAppleApproveAprilArchArcticAreaArenaArgueArmArmedArmorArmyAroundArrangeArrestArriveArrowArtArtefactArtistArtworkAskAspectAssaultAssetAssistAssumeAsthmaAthleteAtomAttackAttendAttitudeAttractAuctionAuditAugustAuntAuthorAutoAutumnAverageAvocadoAvoidAwakeAwareAwayAwesomeAwfulAwkwardAxisBabyBachelorBaconBadgeBagBalanceBalconyBallBambooBananaBannerBarBarelyBargainBarrelBaseBasicBasketBattleBeachBeanBeautyBecauseBecomeBeefBeforeBeginBehaveBehindBelieveBelowBeltBenchBenefitBestBetrayBetterBetweenBeyondBicycleBidBikeBindBiologyBirdBirthBitterBlackBladeBlameBlanketBlastBleakBlessBlindBloodBlossomBlouseBlueBlurBlushBoardBoatBodyBoilBombBoneBonusBookBoostBorderBoringBorrowBossBottomBounceBoxBoyBracketBrainBrandBrassBraveBreadBreezeBrickBridgeBriefBrightBringBriskBroccoliBrokenBronzeBroomBrotherBrownBrushBubbleBuddyBudgetBuffaloBuildBulbBulkBulletBundleBunkerBurdenBurgerBurstBusBusinessBusyButterBuyerBuzzCabbageCabinCableCactusCageCakeCallCalmCameraCampCanCanalCancelCandyCannonCanoeCanvasCanyonCapableCapitalCaptainCarCarbonCardCargoCarpetCarryCartCaseCashCasinoCastleCasualCatCatalogCatchCategoryCattleCaughtCauseCautionCaveCeilingCeleryCementCensusCenturyCerealCertainChairChalkChampionChangeChaosChapterChargeChaseChatCheapCheckCheeseChefCherryChestChickenChiefChildChimneyChoiceChooseChronicChuckleChunkChurnCigarCinnamonCircleCitizenCityCivilClaimClapClarifyClawClayCleanClerkCleverClickClientCliffClimbClinicClipClockClogCloseClothCloudClownClubClumpClusterClutchCoachCoastCoconutCodeCoffeeCoilCoinCollectColorColumnCombineComeComfortComicCommonCompanyConcertConductConfirmCongressConnectConsiderControlConvinceCookCoolCopperCopyCoralCoreCornCorrectCostCottonCouchCountryCoupleCourseCousinCoverCoyoteCrackCradleCraftCramCraneCrashCraterCrawlCrazyCreamCreditCreekCrewCricketCrimeCrispCriticCropCrossCrouchCrowdCrucialCruelCruiseCrumbleCrunchCrushCryCrystalCubeCultureCupCupboardCuriousCurrentCurtainCurveCushionCustomCuteCycleDadDamageDampDanceDangerDaringDashDaughterDawnDayDealDebateDebrisDecadeDecemberDecideDeclineDecorateDecreaseDeerDefenseDefineDefyDegreeDelayDeliverDemandDemiseDenialDentistDenyDepartDependDepositDepthDeputyDeriveDescribeDesertDesignDeskDespairDestroyDetailDetectDevelopDeviceDevoteDiagramDialDiamondDiaryDiceDieselDietDifferDigitalDignityDilemmaDinnerDinosaurDirectDirtDisagreeDiscoverDiseaseDishDismissDisorderDisplayDistanceDivertDivideDivorceDizzyDoctorDocumentDogDollDolphinDomainDonateDonkeyDonorDoorDoseDoubleDoveDraftDragonDramaDrasticDrawDreamDressDriftDrillDrinkDripDriveDropDrumDryDuckDumbDuneDuringDustDutchDutyDwarfDynamicEagerEagleEarlyEarnEarthEasilyEastEasyEchoEcologyEconomyEdgeEditEducateEffortEggEightEitherElbowElderElectricElegantElementElephantElevatorEliteElseEmbarkEmbodyEmbraceEmergeEmotionEmployEmpowerEmptyEnableEnactEndEndlessEndorseEnemyEnergyEnforceEngageEngineEnhanceEnjoyEnlistEnoughEnrichEnrollEnsureEnterEntireEntryEnvelopeEpisodeEqualEquipEraEraseErodeErosionErrorEruptEscapeEssayEssenceEstateEternalEthicsEvidenceEvilEvokeEvolveExactExampleExcessExchangeExciteExcludeExcuseExecuteExerciseExhaustExhibitExileExistExitExoticExpandExpectExpireExplainExposeExpressExtendExtraEyeEyebrowFabricFaceFacultyFadeFaintFaithFallFalseFameFamilyFamousFanFancyFantasyFarmFashionFatFatalFatherFatigueFaultFavoriteFeatureFebruaryFederalFeeFeedFeelFemaleFenceFestivalFetchFeverFewFiberFictionFieldFigureFileFilmFilterFinalFindFineFingerFinishFireFirmFirstFiscalFishFitFitnessFixFlagFlameFlashFlatFlavorFleeFlightFlipFloatFlockFloorFlowerFluidFlushFlyFoamFocusFogFoilFoldFollowFoodFootForceForestForgetForkFortuneForumForwardFossilFosterFoundFoxFragileFrameFrequentFreshFriendFringeFrogFrontFrostFrownFrozenFruitFuelFunFunnyFurnaceFuryFutureGadgetGainGalaxyGalleryGameGapGarageGarbageGardenGarlicGarmentGasGaspGateGatherGaugeGazeGeneralGeniusGenreGentleGenuineGestureGhostGiantGiftGiggleGingerGiraffeGirlGiveGladGlanceGlareGlassGlideGlimpseGlobeGloomGloryGloveGlowGlueGoatGoddessGoldGoodGooseGorillaGospelGossipGovernGownGrabGraceGrainGrantGrapeGrassGravityGreatGreenGridGriefGritGroceryGroupGrowGruntGuardGuessGuideGuiltGuitarGunGymHabitHairHalfHammerHamsterHandHappyHarborHardHarshHarvestHatHaveHawkHazardHeadHealthHeartHeavyHedgehogHeightHelloHelmetHelpHenHeroHiddenHighHillHintHipHireHistoryHobbyHockeyHoldHoleHolidayHollowHomeHoneyHoodHopeHornHorrorHorseHospitalHostHotelHourHoverHubHugeHumanHumbleHumorHundredHungryHuntHurdleHurryHurtHusbandHybridIceIconIdeaIdentifyIdleIgnoreIllIllegalIllnessImageImitateImmenseImmuneImpactImposeImproveImpulseInchIncludeIncomeIncreaseIndexIndicateIndoorIndustryInfantInflictInformInhaleInheritInitialInjectInjuryInmateInnerInnocentInputInquiryInsaneInsectInsideInspireInstallIntactInterestIntoInvestInviteInvolveIronIslandIsolateIssueItemIvoryJacketJaguarJarJazzJealousJeansJellyJewelJobJoinJokeJourneyJoyJudgeJuiceJumpJungleJuniorJunkJustKangarooKeenKeepKetchupKeyKickKidKidneyKindKingdomKissKitKitchenKiteKittenKiwiKneeKnifeKnockKnowLabLabelLaborLadderLadyLakeLampLanguageLaptopLargeLaterLatinLaughLaundryLavaLawLawnLawsuitLayerLazyLeaderLeafLearnLeaveLectureLeftLegLegalLegendLeisureLemonLendLengthLensLeopardLessonLetterLevelLiarLibertyLibraryLicenseLifeLiftLightLikeLimbLimitLinkLionLiquidListLittleLiveLizardLoadLoanLobsterLocalLockLogicLonelyLongLoopLotteryLoudLoungeLoveLoyalLuckyLuggageLumberLunarLunchLuxuryLyricsMachineMadMagicMagnetMaidMailMainMajorMakeMammalManManageMandateMangoMansionManualMapleMarbleMarchMarginMarineMarketMarriageMaskMassMasterMatchMaterialMathMatrixMatterMaximumMazeMeadowMeanMeasureMeatMechanicMedalMediaMelodyMeltMemberMemoryMentionMenuMercyMergeMeritMerryMeshMessageMetalMethodMiddleMidnightMilkMillionMimicMindMinimumMinorMinuteMiracleMirrorMiseryMissMistakeMixMixedMixtureMobileModelModifyMomMomentMonitorMonkeyMonsterMonthMoonMoralMoreMorningMosquitoMotherMotionMotorMountainMouseMoveMovieMuchMuffinMuleMultiplyMuscleMuseumMushroomMusicMustMutualMyselfMysteryMythNaiveNameNapkinNarrowNastyNationNatureNearNeckNeedNegativeNeglectNeitherNephewNerveNestNetNetworkNeutralNeverNewsNextNiceNightNobleNoiseNomineeNoodleNormalNorthNoseNotableNoteNothingNoticeNovelNowNuclearNumberNurseNutOakObeyObjectObligeObscureObserveObtainObviousOccurOceanOctoberOdorOffOfferOfficeOftenOilOkayOldOliveOlympicOmitOnceOneOnionOnlineOnlyOpenOperaOpinionOpposeOptionOrangeOrbitOrchardOrderOrdinaryOrganOrientOriginalOrphanOstrichOtherOutdoorOuterOutputOutsideOvalOvenOverOwnOwnerOxygenOysterOzonePactPaddlePagePairPalacePalmPandaPanelPanicPantherPaperParadeParentParkParrotPartyPassPatchPathPatientPatrolPatternPausePavePaymentPeacePeanutPearPeasantPelicanPenPenaltyPencilPeoplePepperPerfectPermitPersonPetPhonePhotoPhrasePhysicalPianoPicnicPicturePiecePigPigeonPillPilotPinkPioneerPipePistolPitchPizzaPlacePlanetPlasticPlatePlayPleasePledgePluckPlugPlungePoemPoetPointPolarPolePolicePondPonyPoolPopularPortionPositionPossiblePostPotatoPotteryPovertyPowderPowerPracticePraisePredictPreferPreparePresentPrettyPreventPricePridePrimaryPrintPriorityPrisonPrivatePrizeProblemProcessProduceProfitProgramProjectPromoteProofPropertyProsperProtectProudProvidePublicPuddingPullPulpPulsePumpkinPunchPupilPuppyPurchasePurityPurposePursePushPutPuzzlePyramidQualityQuantumQuarterQuestionQuickQuitQuizQuoteRabbitRaccoonRaceRackRadarRadioRailRainRaiseRallyRampRanchRandomRangeRapidRareRateRatherRavenRawRazorReadyRealReasonRebelRebuildRecallReceiveRecipeRecordRecycleReduceReflectReformRefuseRegionRegretRegularRejectRelaxReleaseReliefRelyRemainRememberRemindRemoveRenderRenewRentReopenRepairRepeatReplaceReportRequireRescueResembleResistResourceResponseResultRetireRetreatReturnReunionRevealReviewRewardRhythmRibRibbonRiceRichRideRidgeRifleRightRigidRingRiotRippleRiskRitualRivalRiverRoadRoastRobotRobustRocketRomanceRoofRookieRoomRoseRotateRoughRoundRouteRoyalRubberRudeRugRuleRunRunwayRuralSadSaddleSadnessSafeSailSaladSalmonSalonSaltSaluteSameSampleSandSatisfySatoshiSauceSausageSaveSayScaleScanScareScatterSceneSchemeSchoolScienceScissorsScorpionScoutScrapScreenScriptScrubSeaSearchSeasonSeatSecondSecretSectionSecuritySeedSeekSegmentSelectSellSeminarSeniorSenseSentenceSeriesServiceSessionSettleSetupSevenShadowShaftShallowShareShedShellSheriffShieldShiftShineShipShiverShockShoeShootShopShortShoulderShoveShrimpShrugShuffleShySiblingSickSideSiegeSightSignSilentSilkSillySilverSimilarSimpleSinceSingSirenSisterSituateSixSizeSkateSketchSkiSkillSkinSkirtSkullSlabSlamSleepSlenderSliceSlideSlightSlimSloganSlotSlowSlushSmallSmartSmileSmokeSmoothSnackSnakeSnapSniffSnowSoapSoccerSocialSockSodaSoftSolarSoldierSolidSolutionSolveSomeoneSongSoonSorrySortSoulSoundSoupSourceSouthSpaceSpareSpatialSpawnSpeakSpecialSpeedSpellSpendSphereSpiceSpiderSpikeSpinSpiritSplitSpoilSponsorSpoonSportSpotSpraySpreadSpringSpySquareSqueezeSquirrelStableStadiumStaffStageStairsStampStandStartStateStaySteakSteelStemStepStereoStickStillStingStockStomachStoneStoolStoryStoveStrategyStreetStrikeStrongStruggleStudentStuffStumbleStyleSubjectSubmitSubwaySuccessSuchSuddenSufferSugarSuggestSuitSummerSunSunnySunsetSuperSupplySupremeSureSurfaceSurgeSurpriseSurroundSurveySuspectSustainSwallowSwampSwapSwarmSwearSweetSwiftSwimSwingSwitchSwordSymbolSymptomSyrupSystemTableTackleTagTailTalentTalkTankTapeTargetTaskTasteTattooTaxiTeachTeamTellTenTenantTennisTentTermTestTextThankThatThemeThenTheoryThereTheyThingThisThoughtThreeThriveThrowThumbThunderTicketTideTigerTiltTimberTimeTinyTipTiredTissueTitleToastTobaccoTodayToddlerToeTogetherToiletTokenTomatoTomorrowToneTongueTonightToolToothTopTopicToppleTorchTornadoTortoiseTossTotalTouristTowardTowerTownToyTrackTradeTrafficTragicTrainTransferTrapTrashTravelTrayTreatTreeTrendTrialTribeTrickTriggerTrimTripTrophyTroubleTruckTrueTrulyTrumpetTrustTruthTryTubeTuitionTumbleTunaTunnelTurkeyTurnTurtleTwelveTwentyTwiceTwinTwistTwoTypeTypicalUglyUmbrellaUnableUnawareUncleUncoverUnderUndoUnfairUnfoldUnhappyUniformUniqueUnitUniverseUnknownUnlockUntilUnusualUnveilUpdateUpgradeUpholdUponUpperUpsetUrbanUrgeUsageUseUsedUsefulUselessUsualUtilityVacantVacuumVagueValidValleyValveVanVanishVaporVariousVastVaultVehicleVelvetVendorVentureVenueVerbVerifyVersionVeryVesselVeteranViableVibrantViciousVictoryVideoViewVillageVintageViolinVirtualVirusVisaVisitVisualVitalVividVocalVoiceVoidVolcanoVolumeVoteVoyageWageWagonWaitWalkWallWalnutWantWarfareWarmWarriorWashWaspWasteWaterWaveWayWealthWeaponWearWeaselWeatherWebWeddingWeekendWeirdWelcomeWestWetWhaleWhatWheatWheelWhenWhereWhipWhisperWideWidthWifeWildWillWinWindowWineWingWinkWinnerWinterWireWisdomWiseWishWitnessWolfWomanWonderWoodWoolWordWorkWorldWorryWorthWrapWreckWrestleWristWriteWrongYardYearYellowYouYoungYouthZebraZeroZoneZoo".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),"0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60"!==Pe.check(e)))throw Re=null,new Error("BIP39 Wordlist for en (English) FAILED")}const Be=new class extends Pe{constructor(){super("en")}getWord(e){return Me(this),Re[e]}getWordIndex(e){return Me(this),Re.indexOf(e)}};Pe.register(Be);const Oe={en:Be},Ne=new t.Yd("hdnode/5.7.0"),Fe=f.O$.from("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),De=(0,x.Y0)("Bitcoin seed"),Ue=2147483648;function je(e){return(1<=256)throw new Error("Depth too large!");return qe((0,s.zo)([null!=this.privateKey?"0x0488ADE4":"0x0488B21E",(0,s.Dv)(this.depth),this.parentFingerprint,(0,s.$m)((0,s.Dv)(this.index),4),this.chainCode,null!=this.privateKey?(0,s.zo)(["0x00",this.privateKey]):this.publicKey]))}neuter(){return new He(Ve,null,this.publicKey,this.parentFingerprint,this.chainCode,this.index,this.depth,this.path)}_derive(e){if(e>4294967295)throw new Error("invalid index - "+String(e));let a=this.path;a&&(a+="/"+(2147483647&e));const c=new Uint8Array(37);if(e&Ue){if(!this.privateKey)throw new Error("cannot derive child of neutered node");c.set((0,s.lE)(this.privateKey),1),a&&(a+="'")}else c.set((0,s.lE)(this.publicKey));for(let f=24;f>=0;f-=8)c[33+(f>>3)]=e>>24-f&255;const d=(0,s.lE)(w(m.sha512,this.chainCode,c)),b=d.slice(0,32),t=d.slice(32);let r=null,n=null;if(this.privateKey)r=ze(f.O$.from(b).add(this.privateKey).mod(Fe));else{n=new se((0,s.Dv)(b))._addPoint(this.publicKey)}let i=a;const o=this.mnemonic;return o&&(i=Object.freeze({phrase:o.phrase,path:a,locale:o.locale||"en"})),new He(Ve,r,n,this.fingerprint,ze(t),e,this.depth+1,i)}derivePath(e){const a=e.split("/");if(0===a.length||"m"===a[0]&&0!==this.depth)throw new Error("invalid path - "+e);"m"===a[0]&&a.shift();let c=this;for(let d=0;d=Ue)throw new Error("invalid path index - "+e);c=c._derive(Ue+a)}else{if(!e.match(/^[0-9]+$/))throw new Error("invalid path component - "+e);{const a=parseInt(e);if(a>=Ue)throw new Error("invalid path index - "+e);c=c._derive(a)}}}return c}static _fromSeed(e,a){const c=(0,s.lE)(e);if(c.length<16||c.length>64)throw new Error("invalid seed");const d=(0,s.lE)(w(m.sha512,De,c));return new He(Ve,ze(d.slice(0,32)),null,"0x00000000",ze(d.slice(32)),0,0,a)}static fromMnemonic(e,a,c){return e=We(Ge(e,c=Ke(c)),c),He._fromSeed(function(e,a){a||(a="");const c=(0,x.Y0)("mnemonic"+a,x.Uj.NFKD);return S((0,x.Y0)(e,x.Uj.NFKD),c,2048,64,"sha512")}(e,a),{phrase:e,path:"m",locale:c.locale})}static fromSeed(e){return He._fromSeed(e,null)}static fromExtendedKey(e){const a=p.decode(e);82===a.length&&qe(a.slice(0,78))===e||Ne.throwArgumentError("invalid extended key","extendedKey","[REDACTED]");const c=a[4],d=(0,s.Dv)(a.slice(5,9)),f=parseInt((0,s.Dv)(a.slice(9,13)).substring(2),16),b=(0,s.Dv)(a.slice(13,45)),t=a.slice(45,78);switch((0,s.Dv)(a.slice(0,4))){case"0x0488b21e":case"0x043587cf":return new He(Ve,null,(0,s.Dv)(t),d,b,f,c,null);case"0x0488ade4":case"0x04358394 ":if(0!==t[0])break;return new He(Ve,(0,s.Dv)(t.slice(1)),null,d,b,f,c,null)}return Ne.throwArgumentError("invalid extended key","extendedKey","[REDACTED]")}}function Ge(e,a){a=Ke(a),Ne.checkNormalize();const c=a.split(e);if(c.length%3!=0)throw new Error("invalid mnemonic");const d=(0,s.lE)(new Uint8Array(Math.ceil(11*c.length/8)));let f=0;for(let r=0;r>3]|=1<<7-f%8),f++}const b=32*c.length/3,t=je(c.length/3);if(((0,s.lE)(_(d.slice(0,b/8)))[0]&t)!==(d[d.length-1]&t))throw new Error("invalid checksum");return(0,s.Dv)(d.slice(0,b/8))}function We(e,a){if(a=Ke(a),(e=(0,s.lE)(e)).length%4!=0||e.length<16||e.length>32)throw new Error("invalid entropy");const c=[0];let d=11;for(let t=0;t8?(c[c.length-1]<<=8,c[c.length-1]|=e[t],d-=8):(c[c.length-1]<<=d,c[c.length-1]|=e[t]>>8-d,c.push(e[t]&(1<<8-d)-1),d+=3);const f=e.length/4,b=(0,s.lE)(_(e))[0]&je(f);return c[c.length-1]<<=f,c[c.length-1]|=b>>8-f,a.join(c.map((e=>a.getWord(e))))}const Ze=new t.Yd("random/5.7.0");const Qe=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==c.g)return c.g;throw new Error("unable to locate global object")}();let Ye=Qe.crypto||Qe.msCrypto;function Je(e){(e<=0||e>1024||e%1||e!=e)&&Ze.throwArgumentError("invalid length","length",e);const a=new Uint8Array(e);return Ye.getRandomValues(a),(0,s.lE)(a)}Ye&&Ye.getRandomValues||(Ze.warn("WARNING: Missing strong random number source"),Ye={getRandomValues:function(e){return Ze.throwError("no secure random source avaialble",t.Yd.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}});var Xe=c(78826),ea=c.n(Xe),aa=c(17635),ca=c.n(aa);function da(e){return"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),(0,s.lE)(e)}function fa(e,a){for(e=String(e);e.lengtha)),(0,b.zG)(this,"address",_e(this.publicKey)),this.address!==(0,d.Kn)(e.address)&&Aa.throwArgumentError("privateKey/address mismatch","privateKey","[REDACTED]"),function(e){const a=e.mnemonic;return a&&a.phrase}(e)){const a=e.mnemonic;(0,b.zG)(this,"_mnemonic",(()=>({phrase:a.phrase,path:a.path||$e,locale:a.locale||"en"})));const c=this.mnemonic;_e(He.fromMnemonic(c.phrase,null,c.locale).derivePath(c.path).privateKey)!==this.address&&Aa.throwArgumentError("mnemonic/address mismatch","privateKey","[REDACTED]")}else(0,b.zG)(this,"_mnemonic",(()=>null))}else{if(se.isSigningKey(e))"secp256k1"!==e.curve&&Aa.throwArgumentError("unsupported curve; must be secp256k1","privateKey","[REDACTED]"),(0,b.zG)(this,"_signingKey",(()=>e));else{"string"==typeof e&&e.match(/^[0-9a-f]*$/i)&&64===e.length&&(e="0x"+e);const a=new se(e);(0,b.zG)(this,"_signingKey",(()=>a))}(0,b.zG)(this,"_mnemonic",(()=>null)),(0,b.zG)(this,"address",_e(this.publicKey))}var c;a&&!i.isProvider(a)&&Aa.throwArgumentError("invalid provider","provider",a),(0,b.zG)(this,"provider",a||null)}get mnemonic(){return this._mnemonic()}get privateKey(){return this._signingKey().privateKey}get publicKey(){return this._signingKey().publicKey}getAddress(){return Promise.resolve(this.address)}connect(e){return new ka(this,e)}signTransaction(e){return(0,b.mE)(e).then((a=>{null!=a.from&&((0,d.Kn)(a.from)!==this.address&&Aa.throwArgumentError("transaction from address mismatch","transaction.from",e.from),delete a.from);const c=this._signingKey().signDigest((0,l.w)(Ce(a)));return Ce(a,c)}))}signMessage(e){return Ea(this,void 0,void 0,(function*(){return(0,s.gV)(this._signingKey().signDigest(function(e){return"string"==typeof e&&(e=(0,x.Y0)(e)),(0,l.w)((0,s.zo)([(0,x.Y0)("\x19Ethereum Signed Message:\n"),(0,x.Y0)(String(e.length)),e]))}(e)))}))}_signTypedData(e,a,c){return Ea(this,void 0,void 0,(function*(){const d=yield u.E.resolveNames(e,a,c,(e=>(null==this.provider&&Aa.throwError("cannot resolve ENS names without a provider",t.Yd.errors.UNSUPPORTED_OPERATION,{operation:"resolveName",value:e}),this.provider.resolveName(e))));return(0,s.gV)(this._signingKey().signDigest(u.E.hash(d.domain,a,d.value)))}))}encrypt(e,a,c){if("function"!=typeof a||c||(c=a,a={}),c&&"function"!=typeof c)throw new Error("invalid callback");return a||(a={}),function(e,a,c,f){try{if((0,d.Kn)(e.address)!==_e(e.privateKey))throw new Error("address/privateKey mismatch");if(sa(e)){const a=e.mnemonic;if(He.fromMnemonic(a.phrase,null,a.locale).derivePath(a.path||$e).privateKey!=e.privateKey)throw new Error("mnemonic mismatch")}}catch(y){return Promise.reject(y)}"function"!=typeof c||f||(f=c,c={}),c||(c={});const b=(0,s.lE)(e.privateKey),t=ba(a);let r=null,n=null,i=null;if(sa(e)){const a=e.mnemonic;r=(0,s.lE)(Ge(a.phrase,a.locale||"en")),n=a.path||$e,i=a.locale||"en"}let o=c.client;o||(o="ethers.js");let x=null;x=c.salt?(0,s.lE)(c.salt):Je(32);let u=null;if(c.iv){if(u=(0,s.lE)(c.iv),16!==u.length)throw new Error("invalid iv")}else u=Je(16);let h=null;if(c.uuid){if(h=(0,s.lE)(c.uuid),16!==h.length)throw new Error("invalid uuid")}else h=Je(16);let p=1<<17,m=8,g=1;return c.scrypt&&(c.scrypt.N&&(p=c.scrypt.N),c.scrypt.r&&(m=c.scrypt.r),c.scrypt.p&&(g=c.scrypt.p)),ca().scrypt(t,x,p,m,g,64,f).then((a=>{const c=(a=(0,s.lE)(a)).slice(0,16),d=a.slice(16,32),f=a.slice(32,64),t=new(ea().Counter)(u),y=new(ea().ModeOfOperation.ctr)(c,t),v=(0,s.lE)(y.encrypt(b)),_=(0,l.w)((0,s.zo)([d,v])),w={address:e.address.substring(2).toLowerCase(),id:ra(h),version:3,crypto:{cipher:"aes-128-ctr",cipherparams:{iv:(0,s.Dv)(u).substring(2)},ciphertext:(0,s.Dv)(v).substring(2),kdf:"scrypt",kdfparams:{salt:(0,s.Dv)(x).substring(2),n:p,dklen:32,p:g,r:m},mac:_.substring(2)}};if(r){const e=Je(16),a=new(ea().Counter)(e),c=new(ea().ModeOfOperation.ctr)(f,a),d=(0,s.lE)(c.encrypt(r)),b=new Date,t=b.getUTCFullYear()+"-"+fa(b.getUTCMonth()+1,2)+"-"+fa(b.getUTCDate(),2)+"T"+fa(b.getUTCHours(),2)+"-"+fa(b.getUTCMinutes(),2)+"-"+fa(b.getUTCSeconds(),2)+".0Z";w["x-ethers"]={client:o,gethFilename:"UTC--"+t+"--"+w.address,mnemonicCounter:(0,s.Dv)(e).substring(2),mnemonicCiphertext:(0,s.Dv)(d).substring(2),path:n,locale:i,version:"0.1"}}return JSON.stringify(w)}))}(this,e,a,c)}static createRandom(e){let a=Je(16);e||(e={}),e.extraEntropy&&(a=(0,s.lE)((0,s.p3)((0,l.w)((0,s.zo)([a,e.extraEntropy])),0,16)));const c=We(a,e.locale);return ka.fromMnemonic(c,e.path,e.locale)}static fromEncryptedJson(e,a,c){return wa(e,a,c).then((e=>new ka(e)))}static fromEncryptedJsonSync(e,a){return new ka(Sa(e,a))}static fromMnemonic(e,a,c){return a||(a=$e),new ka(He.fromMnemonic(e,null,c).derivePath(a))}}},83377:(e,a,c)=>{"use strict";const{SymbolDispose:d}=c(97684),{AbortError:f,codes:b}=c(16e3),{isNodeStream:t,isWebStream:r,kControllerErrorFunction:n}=c(43437),i=c(24466),{ERR_INVALID_ARG_TYPE:o}=b;let s;e.exports.addAbortSignal=function(a,c){if(((e,a)=>{if("object"!=typeof e||!("aborted"in e))throw new o(a,"AbortSignal",e)})(a,"signal"),!t(c)&&!r(c))throw new o("stream",["ReadableStream","WritableStream","Stream"],c);return e.exports.addAbortSignalNoValidate(a,c)},e.exports.addAbortSignalNoValidate=function(e,a){if("object"!=typeof e||!("aborted"in e))return a;const b=t(a)?()=>{a.destroy(new f(void 0,{cause:e.reason}))}:()=>{a[n](new f(void 0,{cause:e.reason}))};if(e.aborted)b();else{s=s||c(20753).addAbortListener;const f=s(e,b);i(a,f[d])}return a}},15197:(e,a,c)=>{"use strict";const{StringPrototypeSlice:d,SymbolIterator:f,TypedArrayPrototypeSet:b,Uint8Array:t}=c(97684),{Buffer:r}=c(48764),{inspect:n}=c(20753);e.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(e){const a={data:e,next:null};this.length>0?this.tail.next=a:this.head=a,this.tail=a,++this.length}unshift(e){const a={data:e,next:this.head};0===this.length&&(this.tail=a),this.head=a,++this.length}shift(){if(0===this.length)return;const e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(0===this.length)return"";let a=this.head,c=""+a.data;for(;null!==(a=a.next);)c+=e+a.data;return c}concat(e){if(0===this.length)return r.alloc(0);const a=r.allocUnsafe(e>>>0);let c=this.head,d=0;for(;c;)b(a,c.data,d),d+=c.data.length,c=c.next;return a}consume(e,a){const c=this.head.data;if(eb.length)){e===b.length?(a+=b,++f,c.next?this.head=c.next:this.head=this.tail=null):(a+=d(b,0,e),this.head=c,c.data=d(b,e));break}a+=b,e-=b.length,++f}while(null!==(c=c.next));return this.length-=f,a}_getBuffer(e){const a=r.allocUnsafe(e),c=e;let d=this.head,f=0;do{const r=d.data;if(!(e>r.length)){e===r.length?(b(a,r,c-e),++f,d.next?this.head=d.next:this.head=this.tail=null):(b(a,new t(r.buffer,r.byteOffset,e),c-e),this.head=d,d.data=r.slice(e));break}b(a,r,c-e),e-=r.length,++f}while(null!==(d=d.next));return this.length-=f,a}[Symbol.for("nodejs.util.inspect.custom")](e,a){return n(this,{...a,depth:0,customInspect:!1})}}},21650:(e,a,c)=>{"use strict";const{pipeline:d}=c(3232),f=c(3323),{destroyer:b}=c(54501),{isNodeStream:t,isReadable:r,isWritable:n,isWebStream:i,isTransformStream:o,isWritableStream:s,isReadableStream:l}=c(43437),{AbortError:x,codes:{ERR_INVALID_ARG_VALUE:u,ERR_MISSING_ARGS:h}}=c(16e3),p=c(24466);e.exports=function(...e){if(0===e.length)throw new h("streams");if(1===e.length)return f.from(e[0]);const a=[...e];if("function"==typeof e[0]&&(e[0]=f.from(e[0])),"function"==typeof e[e.length-1]){const a=e.length-1;e[a]=f.from(e[a])}for(let d=0;d0&&!(n(e[d])||s(e[d])||o(e[d])))throw new u(`streams[${d}]`,a[d],"must be writable")}let c,m,g,y,v;const _=e[0],w=d(e,(function(e){const a=y;y=null,a?a(e):e?v.destroy(e):E||S||v.destroy()})),S=!!(n(_)||s(_)||o(_)),E=!!(r(w)||l(w)||o(w));if(v=new f({writableObjectMode:!(null==_||!_.writableObjectMode),readableObjectMode:!(null==w||!w.readableObjectMode),writable:S,readable:E}),S){if(t(_))v._write=function(e,a,d){_.write(e,a)?d():c=d},v._final=function(e){_.end(),m=e},_.on("drain",(function(){if(c){const e=c;c=null,e()}}));else if(i(_)){const e=(o(_)?_.writable:_).getWriter();v._write=async function(a,c,d){try{await e.ready,e.write(a).catch((()=>{})),d()}catch(f){d(f)}},v._final=async function(a){try{await e.ready,e.close().catch((()=>{})),m=a}catch(c){a(c)}}}const e=o(w)?w.readable:w;p(e,(()=>{if(m){const e=m;m=null,e()}}))}if(E)if(t(w))w.on("readable",(function(){if(g){const e=g;g=null,e()}})),w.on("end",(function(){v.push(null)})),v._read=function(){for(;;){const e=w.read();if(null===e)return void(g=v._read);if(!v.push(e))return}};else if(i(w)){const e=(o(w)?w.readable:w).getReader();v._read=async function(){for(;;)try{const{value:a,done:c}=await e.read();if(!v.push(a))return;if(c)return void v.push(null)}catch{return}}}return v._destroy=function(e,a){e||null===y||(e=new x),g=null,c=null,m=null,null===y?a(e):(y=a,t(w)&&b(w,e))},v}},54501:(e,a,c)=>{"use strict";const d=c(34155),{aggregateTwoErrors:f,codes:{ERR_MULTIPLE_CALLBACK:b},AbortError:t}=c(16e3),{Symbol:r}=c(97684),{kIsDestroyed:n,isDestroyed:i,isFinished:o,isServerRequest:s}=c(43437),l=r("kDestroy"),x=r("kConstruct");function u(e,a,c){e&&(e.stack,a&&!a.errored&&(a.errored=e),c&&!c.errored&&(c.errored=e))}function h(e,a,c){let f=!1;function b(a){if(f)return;f=!0;const b=e._readableState,t=e._writableState;u(a,t,b),t&&(t.closed=!0),b&&(b.closed=!0),"function"==typeof c&&c(a),a?d.nextTick(p,e,a):d.nextTick(m,e)}try{e._destroy(a||null,b)}catch(a){b(a)}}function p(e,a){g(e,a),m(e)}function m(e){const a=e._readableState,c=e._writableState;c&&(c.closeEmitted=!0),a&&(a.closeEmitted=!0),(null!=c&&c.emitClose||null!=a&&a.emitClose)&&e.emit("close")}function g(e,a){const c=e._readableState,d=e._writableState;null!=d&&d.errorEmitted||null!=c&&c.errorEmitted||(d&&(d.errorEmitted=!0),c&&(c.errorEmitted=!0),e.emit("error",a))}function y(e,a,c){const f=e._readableState,b=e._writableState;if(null!=b&&b.destroyed||null!=f&&f.destroyed)return this;null!=f&&f.autoDestroy||null!=b&&b.autoDestroy?e.destroy(a):a&&(a.stack,b&&!b.errored&&(b.errored=a),f&&!f.errored&&(f.errored=a),c?d.nextTick(g,e,a):g(e,a))}function v(e){let a=!1;function c(c){if(a)return void y(e,null!=c?c:new b);a=!0;const f=e._readableState,t=e._writableState,r=t||f;f&&(f.constructed=!0),t&&(t.constructed=!0),r.destroyed?e.emit(l,c):c?y(e,c,!0):d.nextTick(_,e)}try{e._construct((e=>{d.nextTick(c,e)}))}catch(f){d.nextTick(c,f)}}function _(e){e.emit(x)}function w(e){return(null==e?void 0:e.setHeader)&&"function"==typeof e.abort}function S(e){e.emit("close")}function E(e,a){e.emit("error",a),d.nextTick(S,e)}e.exports={construct:function(e,a){if("function"!=typeof e._construct)return;const c=e._readableState,f=e._writableState;c&&(c.constructed=!1),f&&(f.constructed=!1),e.once(x,a),e.listenerCount(x)>1||d.nextTick(v,e)},destroyer:function(e,a){e&&!i(e)&&(a||o(e)||(a=new t),s(e)?(e.socket=null,e.destroy(a)):w(e)?e.abort():w(e.req)?e.req.abort():"function"==typeof e.destroy?e.destroy(a):"function"==typeof e.close?e.close():a?d.nextTick(E,e,a):d.nextTick(S,e),e.destroyed||(e[n]=!0))},destroy:function(e,a){const c=this._readableState,d=this._writableState,b=d||c;return null!=d&&d.destroyed||null!=c&&c.destroyed?("function"==typeof a&&a(),this):(u(e,d,c),d&&(d.destroyed=!0),c&&(c.destroyed=!0),b.constructed?h(this,e,a):this.once(l,(function(c){h(this,f(c,e),a)})),this)},undestroy:function(){const e=this._readableState,a=this._writableState;e&&(e.constructed=!0,e.closed=!1,e.closeEmitted=!1,e.destroyed=!1,e.errored=null,e.errorEmitted=!1,e.reading=!1,e.ended=!1===e.readable,e.endEmitted=!1===e.readable),a&&(a.constructed=!0,a.destroyed=!1,a.closed=!1,a.closeEmitted=!1,a.errored=null,a.errorEmitted=!1,a.finalCalled=!1,a.prefinished=!1,a.ended=!1===a.writable,a.ending=!1===a.writable,a.finished=!1===a.writable)},errorOrDestroy:y}},3323:(e,a,c)=>{"use strict";const{ObjectDefineProperties:d,ObjectGetOwnPropertyDescriptor:f,ObjectKeys:b,ObjectSetPrototypeOf:t}=c(97684);e.exports=i;const r=c(65870),n=c(34370);t(i.prototype,r.prototype),t(i,r);{const e=b(n.prototype);for(let a=0;a{const d=c(34155),f=c(48764),{isReadable:b,isWritable:t,isIterable:r,isNodeStream:n,isReadableNodeStream:i,isWritableNodeStream:o,isDuplexNodeStream:s,isReadableStream:l,isWritableStream:x}=c(43437),u=c(24466),{AbortError:h,codes:{ERR_INVALID_ARG_TYPE:p,ERR_INVALID_RETURN_VALUE:m}}=c(16e3),{destroyer:g}=c(54501),y=c(3323),v=c(65870),_=c(34370),{createDeferredPromise:w}=c(20753),S=c(10571),E=globalThis.Blob||f.Blob,A=void 0!==E?function(e){return e instanceof E}:function(e){return!1},k=globalThis.AbortController||c(28599).AbortController,{FunctionPrototypeCall:I}=c(97684);class C extends y{constructor(e){super(e),!1===(null==e?void 0:e.readable)&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===(null==e?void 0:e.writable)&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}}function L(e){const a=e.readable&&"function"!=typeof e.readable.read?v.wrap(e.readable):e.readable,c=e.writable;let d,f,r,n,i,o=!!b(a),s=!!t(c);function l(e){const a=n;n=null,a?a(e):e&&i.destroy(e)}return i=new C({readableObjectMode:!(null==a||!a.readableObjectMode),writableObjectMode:!(null==c||!c.writableObjectMode),readable:o,writable:s}),s&&(u(c,(e=>{s=!1,e&&g(a,e),l(e)})),i._write=function(e,a,f){c.write(e,a)?f():d=f},i._final=function(e){c.end(),f=e},c.on("drain",(function(){if(d){const e=d;d=null,e()}})),c.on("finish",(function(){if(f){const e=f;f=null,e()}}))),o&&(u(a,(e=>{o=!1,e&&g(a,e),l(e)})),a.on("readable",(function(){if(r){const e=r;r=null,e()}})),a.on("end",(function(){i.push(null)})),i._read=function(){for(;;){const e=a.read();if(null===e)return void(r=i._read);if(!i.push(e))return}}),i._destroy=function(e,b){e||null===n||(e=new h),r=null,d=null,f=null,null===n?b(e):(n=b,g(c,e),g(a,e))},i}e.exports=function e(a,c){if(s(a))return a;if(i(a))return L({readable:a});if(o(a))return L({writable:a});if(n(a))return L({writable:!1,readable:!1});if(l(a))return L({readable:v.fromWeb(a)});if(x(a))return L({writable:_.fromWeb(a)});if("function"==typeof a){const{value:e,write:f,final:b,destroy:t}=function(e){let{promise:a,resolve:c}=w();const f=new k,b=f.signal;return{value:e(async function*(){for(;;){const e=a;a=null;const{chunk:f,done:t,cb:r}=await e;if(d.nextTick(r),t)return;if(b.aborted)throw new h(void 0,{cause:b.reason});({promise:a,resolve:c}=w()),yield f}}(),{signal:b}),write(e,a,d){const f=c;c=null,f({chunk:e,done:!1,cb:d})},final(e){const a=c;c=null,a({done:!0,cb:e})},destroy(e,a){f.abort(),a(e)}}}(a);if(r(e))return S(C,e,{objectMode:!0,write:f,final:b,destroy:t});const n=null==e?void 0:e.then;if("function"==typeof n){let a;const c=I(n,e,(e=>{if(null!=e)throw new m("nully","body",e)}),(e=>{g(a,e)}));return a=new C({objectMode:!0,readable:!1,write:f,final(e){b((async()=>{try{await c,d.nextTick(e,null)}catch(a){d.nextTick(e,a)}}))},destroy:t})}throw new m("Iterable, AsyncIterable or AsyncFunction",c,e)}if(A(a))return e(a.arrayBuffer());if(r(a))return S(C,a,{objectMode:!0,writable:!1});if(l(null==a?void 0:a.readable)&&x(null==a?void 0:a.writable))return C.fromWeb(a);if("object"==typeof(null==a?void 0:a.writable)||"object"==typeof(null==a?void 0:a.readable)){return L({readable:null!=a&&a.readable?i(null==a?void 0:a.readable)?null==a?void 0:a.readable:e(a.readable):void 0,writable:null!=a&&a.writable?o(null==a?void 0:a.writable)?null==a?void 0:a.writable:e(a.writable):void 0})}const f=null==a?void 0:a.then;if("function"==typeof f){let e;return I(f,a,(a=>{null!=a&&e.push(a),e.push(null)}),(a=>{g(e,a)})),e=new C({objectMode:!0,writable:!1,read(){}})}throw new p(c,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],a)}},24466:(e,a,c)=>{const d=c(34155),{AbortError:f,codes:b}=c(16e3),{ERR_INVALID_ARG_TYPE:t,ERR_STREAM_PREMATURE_CLOSE:r}=b,{kEmptyObject:n,once:i}=c(20753),{validateAbortSignal:o,validateFunction:s,validateObject:l,validateBoolean:x}=c(92661),{Promise:u,PromisePrototypeThen:h,SymbolDispose:p}=c(97684),{isClosed:m,isReadable:g,isReadableNodeStream:y,isReadableStream:v,isReadableFinished:_,isReadableErrored:w,isWritable:S,isWritableNodeStream:E,isWritableStream:A,isWritableFinished:k,isWritableErrored:I,isNodeStream:C,willEmitClose:L,kIsClosedPromise:T}=c(43437);let P;function R(e){return e.setHeader&&"function"==typeof e.abort}const M=()=>{};function B(e,a,b){var x,u;if(2===arguments.length?(b=a,a=n):null==a?a=n:l(a,"options"),s(b,"callback"),o(a.signal,"options.signal"),b=i(b),v(e)||A(e))return O(e,a,b);if(!C(e))throw new t("stream",["ReadableStream","WritableStream","Stream"],e);const h=null!==(x=a.readable)&&void 0!==x?x:y(e),T=null!==(u=a.writable)&&void 0!==u?u:E(e),B=e._writableState,N=e._readableState,F=()=>{e.writable||j()};let D=L(e)&&y(e)===h&&E(e)===T,U=k(e,!1);const j=()=>{U=!0,e.destroyed&&(D=!1),(!D||e.readable&&!h)&&(h&&!z||b.call(e))};let z=_(e,!1);const q=()=>{z=!0,e.destroyed&&(D=!1),(!D||e.writable&&!T)&&(T&&!U||b.call(e))},K=a=>{b.call(e,a)};let V=m(e);const $=()=>{V=!0;const a=I(e)||w(e);return a&&"boolean"!=typeof a?b.call(e,a):h&&!z&&y(e,!0)&&!_(e,!1)?b.call(e,new r):!T||U||k(e,!1)?void b.call(e):b.call(e,new r)},H=()=>{V=!0;const a=I(e)||w(e);if(a&&"boolean"!=typeof a)return b.call(e,a);b.call(e)},G=()=>{e.req.on("finish",j)};R(e)?(e.on("complete",j),D||e.on("abort",$),e.req?G():e.on("request",G)):T&&!B&&(e.on("end",F),e.on("close",F)),D||"boolean"!=typeof e.aborted||e.on("aborted",$),e.on("end",q),e.on("finish",j),!1!==a.error&&e.on("error",K),e.on("close",$),V?d.nextTick($):null!=B&&B.errorEmitted||null!=N&&N.errorEmitted?D||d.nextTick(H):(h||D&&!g(e)||!U&&!1!==S(e))&&(T||D&&!S(e)||!z&&!1!==g(e))?N&&e.req&&e.aborted&&d.nextTick(H):d.nextTick(H);const W=()=>{b=M,e.removeListener("aborted",$),e.removeListener("complete",j),e.removeListener("abort",$),e.removeListener("request",G),e.req&&e.req.removeListener("finish",j),e.removeListener("end",F),e.removeListener("close",F),e.removeListener("finish",j),e.removeListener("end",q),e.removeListener("error",K),e.removeListener("close",$)};if(a.signal&&!V){const t=()=>{const c=b;W(),c.call(e,new f(void 0,{cause:a.signal.reason}))};if(a.signal.aborted)d.nextTick(t);else{P=P||c(20753).addAbortListener;const d=P(a.signal,t),f=b;b=i(((...a)=>{d[p](),f.apply(e,a)}))}}return W}function O(e,a,b){let t=!1,r=M;if(a.signal)if(r=()=>{t=!0,b.call(e,new f(void 0,{cause:a.signal.reason}))},a.signal.aborted)d.nextTick(r);else{P=P||c(20753).addAbortListener;const d=P(a.signal,r),f=b;b=i(((...a)=>{d[p](),f.apply(e,a)}))}const n=(...a)=>{t||d.nextTick((()=>b.apply(e,a)))};return h(e[T].promise,n,n),M}e.exports=B,e.exports.finished=function(e,a){var c;let d=!1;return null===a&&(a=n),null!==(c=a)&&void 0!==c&&c.cleanup&&(x(a.cleanup,"cleanup"),d=a.cleanup),new u(((c,f)=>{const b=B(e,a,(e=>{d&&b(),e?f(e):c()}))}))}},10571:(e,a,c)=>{"use strict";const d=c(34155),{PromisePrototypeThen:f,SymbolAsyncIterator:b,SymbolIterator:t}=c(97684),{Buffer:r}=c(48764),{ERR_INVALID_ARG_TYPE:n,ERR_STREAM_NULL_VALUES:i}=c(16e3).codes;e.exports=function(e,a,c){let o,s;if("string"==typeof a||a instanceof r)return new e({objectMode:!0,...c,read(){this.push(a),this.push(null)}});if(a&&a[b])s=!0,o=a[b]();else{if(!a||!a[t])throw new n("iterable",["Iterable"],a);s=!1,o=a[t]()}const l=new e({objectMode:!0,highWaterMark:1,...c});let x=!1;return l._read=function(){x||(x=!0,async function(){for(;;){try{const{value:e,done:a}=s?await o.next():o.next();if(a)l.push(null);else{const a=e&&"function"==typeof e.then?await e:e;if(null===a)throw x=!1,new i;if(l.push(a))continue;x=!1}}catch(e){l.destroy(e)}break}}())},l._destroy=function(e,a){f(async function(e){const a=null!=e,c="function"==typeof o.throw;if(a&&c){const{value:a,done:c}=await o.throw(e);if(await a,c)return}if("function"==typeof o.return){const{value:e}=await o.return();await e}}(e),(()=>d.nextTick(a,e)),(c=>d.nextTick(a,c||e)))},l}},89496:(e,a,c)=>{"use strict";const{ArrayIsArray:d,ObjectSetPrototypeOf:f}=c(97684),{EventEmitter:b}=c(17187);function t(e){b.call(this,e)}function r(e,a,c){if("function"==typeof e.prependListener)return e.prependListener(a,c);e._events&&e._events[a]?d(e._events[a])?e._events[a].unshift(c):e._events[a]=[c,e._events[a]]:e.on(a,c)}f(t.prototype,b.prototype),f(t,b),t.prototype.pipe=function(e,a){const c=this;function d(a){e.writable&&!1===e.write(a)&&c.pause&&c.pause()}function f(){c.readable&&c.resume&&c.resume()}c.on("data",d),e.on("drain",f),e._isStdio||a&&!1===a.end||(c.on("end",n),c.on("close",i));let t=!1;function n(){t||(t=!0,e.end())}function i(){t||(t=!0,"function"==typeof e.destroy&&e.destroy())}function o(e){s(),0===b.listenerCount(this,"error")&&this.emit("error",e)}function s(){c.removeListener("data",d),e.removeListener("drain",f),c.removeListener("end",n),c.removeListener("close",i),c.removeListener("error",o),e.removeListener("error",o),c.removeListener("end",s),c.removeListener("close",s),e.removeListener("close",s)}return r(c,"error",o),r(e,"error",o),c.on("end",s),c.on("close",s),e.on("close",s),e.emit("pipe",c),e},e.exports={Stream:t,prependListener:r}},14964:(e,a,c)=>{"use strict";const d=globalThis.AbortController||c(28599).AbortController,{codes:{ERR_INVALID_ARG_VALUE:f,ERR_INVALID_ARG_TYPE:b,ERR_MISSING_ARGS:t,ERR_OUT_OF_RANGE:r},AbortError:n}=c(16e3),{validateAbortSignal:i,validateInteger:o,validateObject:s}=c(92661),l=c(97684).Symbol("kWeak"),x=c(97684).Symbol("kResistStopPropagation"),{finished:u}=c(24466),h=c(21650),{addAbortSignalNoValidate:p}=c(83377),{isWritable:m,isNodeStream:g}=c(43437),{deprecate:y}=c(20753),{ArrayPrototypePush:v,Boolean:_,MathFloor:w,Number:S,NumberIsNaN:E,Promise:A,PromiseReject:k,PromiseResolve:I,PromisePrototypeThen:C,Symbol:L}=c(97684),T=L("kEmpty"),P=L("kEof");function R(e,a){if("function"!=typeof e)throw new b("fn",["Function","AsyncFunction"],e);null!=a&&s(a,"options"),null!=(null==a?void 0:a.signal)&&i(a.signal,"options.signal");let d=1;null!=(null==a?void 0:a.concurrency)&&(d=w(a.concurrency));let f=d-1;return null!=(null==a?void 0:a.highWaterMark)&&(f=w(a.highWaterMark)),o(d,"options.concurrency",1),o(f,"options.highWaterMark",0),f+=d,async function*(){const b=c(20753).AbortSignalAny([null==a?void 0:a.signal].filter(_)),t=this,r=[],i={signal:b};let o,s,l=!1,x=0;function u(){l=!0,h()}function h(){x-=1,p()}function p(){s&&!l&&x=f||x>=d)&&await new A((e=>{s=e}))}r.push(P)}catch(a){const e=k(a);C(e,h,u),r.push(e)}finally{l=!0,o&&(o(),o=null)}}();try{for(;;){for(;r.length>0;){const e=await r[0];if(e===P)return;if(b.aborted)throw new n;e!==T&&(yield e),r.shift(),p()}await new A((e=>{o=e}))}}finally{l=!0,s&&(s(),s=null)}}.call(this)}async function M(e,a){for await(const c of B.call(this,e,a))return!0;return!1}function B(e,a){if("function"!=typeof e)throw new b("fn",["Function","AsyncFunction"],e);return R.call(this,(async function(a,c){return await e(a,c)?a:T}),a)}class O extends t{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}function N(e){if(e=S(e),E(e))return 0;if(e<0)throw new r("number",">= 0",e);return e}e.exports.streamReturningOperators={asIndexedPairs:y((function(e){return null!=e&&s(e,"options"),null!=(null==e?void 0:e.signal)&&i(e.signal,"options.signal"),async function*(){let a=0;for await(const d of this){var c;if(null!=e&&null!==(c=e.signal)&&void 0!==c&&c.aborted)throw new n({cause:e.signal.reason});yield[a++,d]}}.call(this)}),"readable.asIndexedPairs will be removed in a future version."),drop:function(e,a){return null!=a&&s(a,"options"),null!=(null==a?void 0:a.signal)&&i(a.signal,"options.signal"),e=N(e),async function*(){var c;if(null!=a&&null!==(c=a.signal)&&void 0!==c&&c.aborted)throw new n;for await(const f of this){var d;if(null!=a&&null!==(d=a.signal)&&void 0!==d&&d.aborted)throw new n;e--<=0&&(yield f)}}.call(this)},filter:B,flatMap:function(e,a){const c=R.call(this,e,a);return async function*(){for await(const e of c)yield*e}.call(this)},map:R,take:function(e,a){return null!=a&&s(a,"options"),null!=(null==a?void 0:a.signal)&&i(a.signal,"options.signal"),e=N(e),async function*(){var c;if(null!=a&&null!==(c=a.signal)&&void 0!==c&&c.aborted)throw new n;for await(const f of this){var d;if(null!=a&&null!==(d=a.signal)&&void 0!==d&&d.aborted)throw new n;if(e-- >0&&(yield f),e<=0)return}}.call(this)},compose:function(e,a){if(null!=a&&s(a,"options"),null!=(null==a?void 0:a.signal)&&i(a.signal,"options.signal"),g(e)&&!m(e))throw new f("stream",e,"must be writable");const c=h(this,e);return null!=a&&a.signal&&p(a.signal,c),c}},e.exports.promiseReturningOperators={every:async function(e,a){if("function"!=typeof e)throw new b("fn",["Function","AsyncFunction"],e);return!await M.call(this,(async(...a)=>!await e(...a)),a)},forEach:async function(e,a){if("function"!=typeof e)throw new b("fn",["Function","AsyncFunction"],e);for await(const c of R.call(this,(async function(a,c){return await e(a,c),T}),a));},reduce:async function(e,a,c){var f;if("function"!=typeof e)throw new b("reducer",["Function","AsyncFunction"],e);null!=c&&s(c,"options"),null!=(null==c?void 0:c.signal)&&i(c.signal,"options.signal");let t=arguments.length>1;if(null!=c&&null!==(f=c.signal)&&void 0!==f&&f.aborted){const e=new n(void 0,{cause:c.signal.reason});throw this.once("error",(()=>{})),await u(this.destroy(e)),e}const r=new d,o=r.signal;if(null!=c&&c.signal){const e={once:!0,[l]:this,[x]:!0};c.signal.addEventListener("abort",(()=>r.abort()),e)}let h=!1;try{for await(const d of this){var p;if(h=!0,null!=c&&null!==(p=c.signal)&&void 0!==p&&p.aborted)throw new n;t?a=await e(a,d,{signal:o}):(a=d,t=!0)}if(!h&&!t)throw new O}finally{r.abort()}return a},toArray:async function(e){null!=e&&s(e,"options"),null!=(null==e?void 0:e.signal)&&i(e.signal,"options.signal");const a=[];for await(const d of this){var c;if(null!=e&&null!==(c=e.signal)&&void 0!==c&&c.aborted)throw new n(void 0,{cause:e.signal.reason});v(a,d)}return a},some:M,find:async function(e,a){for await(const c of B.call(this,e,a))return c}}},36804:(e,a,c)=>{"use strict";const{ObjectSetPrototypeOf:d}=c(97684);e.exports=b;const f=c(72176);function b(e){if(!(this instanceof b))return new b(e);f.call(this,e)}d(b.prototype,f.prototype),d(b,f),b.prototype._transform=function(e,a,c){c(null,e)}},3232:(e,a,c)=>{const d=c(34155),{ArrayIsArray:f,Promise:b,SymbolAsyncIterator:t,SymbolDispose:r}=c(97684),n=c(24466),{once:i}=c(20753),o=c(54501),s=c(3323),{aggregateTwoErrors:l,codes:{ERR_INVALID_ARG_TYPE:x,ERR_INVALID_RETURN_VALUE:u,ERR_MISSING_ARGS:h,ERR_STREAM_DESTROYED:p,ERR_STREAM_PREMATURE_CLOSE:m},AbortError:g}=c(16e3),{validateFunction:y,validateAbortSignal:v}=c(92661),{isIterable:_,isReadable:w,isReadableNodeStream:S,isNodeStream:E,isTransformStream:A,isWebStream:k,isReadableStream:I,isReadableFinished:C}=c(43437),L=globalThis.AbortController||c(28599).AbortController;let T,P,R;function M(e,a,c){let d=!1;e.on("close",(()=>{d=!0}));return{destroy:a=>{d||(d=!0,o.destroyer(e,a||new p("pipe")))},cleanup:n(e,{readable:a,writable:c},(e=>{d=!e}))}}function B(e){if(_(e))return e;if(S(e))return async function*(e){P||(P=c(65870));yield*P.prototype[t].call(e)}(e);throw new x("val",["Readable","Iterable","AsyncIterable"],e)}async function O(e,a,c,{end:d}){let f,t=null;const r=e=>{if(e&&(f=e),t){const e=t;t=null,e()}},i=()=>new b(((e,a)=>{f?a(f):t=()=>{f?a(f):e()}}));a.on("drain",r);const o=n(a,{readable:!1},r);try{a.writableNeedDrain&&await i();for await(const c of e)a.write(c)||await i();d&&(a.end(),await i()),c()}catch(s){c(f!==s?l(f,s):s)}finally{o(),a.off("drain",r)}}async function N(e,a,c,{end:d}){A(a)&&(a=a.writable);const f=a.getWriter();try{for await(const a of e)await f.ready,f.write(a).catch((()=>{}));await f.ready,d&&await f.close(),c()}catch(b){try{await f.abort(b),c(b)}catch(b){c(b)}}}function F(e,a,b){if(1===e.length&&f(e[0])&&(e=e[0]),e.length<2)throw new h("streams");const t=new L,n=t.signal,i=null==b?void 0:b.signal,o=[];function l(){j(new g)}let p,m,y;v(i,"options.signal"),R=R||c(20753).addAbortListener,i&&(p=R(i,l));const C=[];let P,F=0;function U(e){j(e,0==--F)}function j(e,c){var f;if(!e||m&&"ERR_STREAM_PREMATURE_CLOSE"!==m.code||(m=e),m||c){for(;C.length;)C.shift()(m);null===(f=p)||void 0===f||f[r](),t.abort(),c&&(m||o.forEach((e=>e())),d.nextTick(a,m,y))}}for(let V=0;V0,W=H||!1!==(null==b?void 0:b.end),Z=V===e.length-1;if(E($)){if(W){const{destroy:Q,cleanup:Y}=M($,H,G);C.push(Q),w($)&&Z&&o.push(Y)}function z(e){e&&"AbortError"!==e.name&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code&&U(e)}$.on("error",z),w($)&&Z&&o.push((()=>{$.removeListener("error",z)}))}if(0===V)if("function"==typeof $){if(P=$({signal:n}),!_(P))throw new u("Iterable, AsyncIterable or Stream","source",P)}else P=_($)||S($)||A($)?$:s.from($);else if("function"==typeof $){var q;if(A(P))P=B(null===(q=P)||void 0===q?void 0:q.readable);else P=B(P);if(P=$(P,{signal:n}),H){if(!_(P,!0))throw new u("AsyncIterable",`transform[${V-1}]`,P)}else{var K;T||(T=c(36804));const J=new T({objectMode:!0}),X=null===(K=P)||void 0===K?void 0:K.then;if("function"==typeof X)F++,X.call(P,(e=>{y=e,null!=e&&J.write(e),W&&J.end(),d.nextTick(U)}),(e=>{J.destroy(e),d.nextTick(U,e)}));else if(_(P,!0))F++,O(P,J,U,{end:W});else{if(!I(P)&&!A(P))throw new u("AsyncIterable or Promise","destination",P);{const ce=P.readable||P;F++,O(ce,J,U,{end:W})}}P=J;const{destroy:ee,cleanup:ae}=M(P,!1,!0);C.push(ee),Z&&o.push(ae)}}else if(E($)){if(S(P)){F+=2;const de=D(P,$,U,{end:W});w($)&&Z&&o.push(de)}else if(A(P)||I(P)){const fe=P.readable||P;F++,O(fe,$,U,{end:W})}else{if(!_(P))throw new x("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],P);F++,O(P,$,U,{end:W})}P=$}else if(k($)){if(S(P))F++,N(B(P),$,U,{end:W});else if(I(P)||_(P))F++,N(P,$,U,{end:W});else{if(!A(P))throw new x("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],P);F++,N(P.readable,$,U,{end:W})}P=$}else P=s.from($)}return(null!=n&&n.aborted||null!=i&&i.aborted)&&d.nextTick(l),P}function D(e,a,c,{end:f}){let b=!1;if(a.on("close",(()=>{b||c(new m)})),e.pipe(a,{end:!1}),f){function t(){b=!0,a.end()}C(e)?d.nextTick(t):e.once("end",t)}else c();return n(e,{readable:!0,writable:!1},(a=>{const d=e._readableState;a&&"ERR_STREAM_PREMATURE_CLOSE"===a.code&&d&&d.ended&&!d.errored&&!d.errorEmitted?e.once("end",c).once("error",c):c(a)})),n(a,{readable:!1,writable:!0},c)}e.exports={pipelineImpl:F,pipeline:function(...e){return F(e,i(function(e){return y(e[e.length-1],"streams[stream.length - 1]"),e.pop()}(e)))}}},65870:(e,a,c)=>{const d=c(34155),{ArrayPrototypeIndexOf:f,NumberIsInteger:b,NumberIsNaN:t,NumberParseInt:r,ObjectDefineProperties:n,ObjectKeys:i,ObjectSetPrototypeOf:o,Promise:s,SafeSet:l,SymbolAsyncDispose:x,SymbolAsyncIterator:u,Symbol:h}=c(97684);e.exports=V,V.ReadableState=K;const{EventEmitter:p}=c(17187),{Stream:m,prependListener:g}=c(89496),{Buffer:y}=c(48764),{addAbortSignal:v}=c(83377),_=c(24466);let w=c(20753).debuglog("stream",(e=>{w=e}));const S=c(15197),E=c(54501),{getHighWaterMark:A,getDefaultHighWaterMark:k}=c(72254),{aggregateTwoErrors:I,codes:{ERR_INVALID_ARG_TYPE:C,ERR_METHOD_NOT_IMPLEMENTED:L,ERR_OUT_OF_RANGE:T,ERR_STREAM_PUSH_AFTER_EOF:P,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:R},AbortError:M}=c(16e3),{validateObject:B}=c(92661),O=h("kPaused"),{StringDecoder:N}=c(32553),F=c(10571);o(V.prototype,m.prototype),o(V,m);const D=()=>{},{errorOrDestroy:U}=E,j=2048,z=4096;function q(e){return{enumerable:!1,get(){return 0!=(this.state&e)},set(a){a?this.state|=e:this.state&=~e}}}function K(e,a,d){"boolean"!=typeof d&&(d=a instanceof c(3323)),this.state=6192,e&&e.objectMode&&(this.state|=1),d&&e&&e.readableObjectMode&&(this.state|=1),this.highWaterMark=e?A(this,e,"readableHighWaterMark",d):k(!1),this.buffer=new S,this.length=0,this.pipes=[],this.flowing=null,this[O]=null,e&&!1===e.emitClose&&(this.state&=-2049),e&&!1===e.autoDestroy&&(this.state&=-4097),this.errored=null,this.defaultEncoding=e&&e.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,e&&e.encoding&&(this.decoder=new N(e.encoding),this.encoding=e.encoding)}function V(e){if(!(this instanceof V))return new V(e);const a=this instanceof c(3323);this._readableState=new K(e,this,a),e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.construct&&(this._construct=e.construct),e.signal&&!a&&v(e.signal,this)),m.call(this,e),E.construct(this,(()=>{this._readableState.needReadable&&Q(this,this._readableState)}))}function $(e,a,c,d){w("readableAddChunk",a);const f=e._readableState;let b;if(0==(1&f.state)&&("string"==typeof a?(c=c||f.defaultEncoding,f.encoding!==c&&(d&&f.encoding?a=y.from(a,c).toString(f.encoding):(a=y.from(a,c),c=""))):a instanceof y?c="":m._isUint8Array(a)?(a=m._uint8ArrayToBuffer(a),c=""):null!=a&&(b=new C("chunk",["string","Buffer","Uint8Array"],a))),b)U(e,b);else if(null===a)f.state&=-9,function(e,a){if(w("onEofChunk"),a.ended)return;if(a.decoder){const e=a.decoder.end();e&&e.length&&(a.buffer.push(e),a.length+=a.objectMode?1:e.length)}a.ended=!0,a.sync?W(e):(a.needReadable=!1,a.emittedReadable=!0,Z(e))}(e,f);else if(0!=(1&f.state)||a&&a.length>0)if(d)if(0!=(4&f.state))U(e,new R);else{if(f.destroyed||f.errored)return!1;H(e,f,a,!0)}else if(f.ended)U(e,new P);else{if(f.destroyed||f.errored)return!1;f.state&=-9,f.decoder&&!c?(a=f.decoder.write(a),f.objectMode||0!==a.length?H(e,f,a,!1):Q(e,f)):H(e,f,a,!1)}else d||(f.state&=-9,Q(e,f));return!f.ended&&(f.length0?(0!=(65536&a.state)?a.awaitDrainWriters.clear():a.awaitDrainWriters=null,a.dataEmitted=!0,e.emit("data",c)):(a.length+=a.objectMode?1:c.length,d?a.buffer.unshift(c):a.buffer.push(c),0!=(64&a.state)&&W(e)),Q(e,a)}n(K.prototype,{objectMode:q(1),ended:q(2),endEmitted:q(4),reading:q(8),constructed:q(16),sync:q(32),needReadable:q(64),emittedReadable:q(128),readableListening:q(256),resumeScheduled:q(512),errorEmitted:q(1024),emitClose:q(j),autoDestroy:q(z),destroyed:q(8192),closed:q(16384),closeEmitted:q(32768),multiAwaitDrain:q(65536),readingMore:q(1<<17),dataEmitted:q(1<<18)}),V.prototype.destroy=E.destroy,V.prototype._undestroy=E.undestroy,V.prototype._destroy=function(e,a){a(e)},V.prototype[p.captureRejectionSymbol]=function(e){this.destroy(e)},V.prototype[x]=function(){let e;return this.destroyed||(e=this.readableEnded?null:new M,this.destroy(e)),new s(((a,c)=>_(this,(d=>d&&d!==e?c(d):a(null)))))},V.prototype.push=function(e,a){return $(this,e,a,!1)},V.prototype.unshift=function(e,a){return $(this,e,a,!0)},V.prototype.isPaused=function(){const e=this._readableState;return!0===e[O]||!1===e.flowing},V.prototype.setEncoding=function(e){const a=new N(e);this._readableState.decoder=a,this._readableState.encoding=this._readableState.decoder.encoding;const c=this._readableState.buffer;let d="";for(const f of c)d+=a.write(f);return c.clear(),""!==d&&c.push(d),this._readableState.length=d.length,this};function G(e,a){return e<=0||0===a.length&&a.ended?0:0!=(1&a.state)?1:t(e)?a.flowing&&a.length?a.buffer.first().length:a.length:e<=a.length?e:a.ended?a.length:0}function W(e){const a=e._readableState;w("emitReadable",a.needReadable,a.emittedReadable),a.needReadable=!1,a.emittedReadable||(w("emitReadable",a.flowing),a.emittedReadable=!0,d.nextTick(Z,e))}function Z(e){const a=e._readableState;w("emitReadable_",a.destroyed,a.length,a.ended),a.destroyed||a.errored||!a.length&&!a.ended||(e.emit("readable"),a.emittedReadable=!1),a.needReadable=!a.flowing&&!a.ended&&a.length<=a.highWaterMark,ae(e)}function Q(e,a){!a.readingMore&&a.constructed&&(a.readingMore=!0,d.nextTick(Y,e,a))}function Y(e,a){for(;!a.reading&&!a.ended&&(a.length0,a.resumeScheduled&&!1===a[O]?a.flowing=!0:e.listenerCount("data")>0?e.resume():a.readableListening||(a.flowing=null)}function X(e){w("readable nexttick read 0"),e.read(0)}function ee(e,a){w("resume",a.reading),a.reading||e.read(0),a.resumeScheduled=!1,e.emit("resume"),ae(e),a.flowing&&!a.reading&&e.read(0)}function ae(e){const a=e._readableState;for(w("flow",a.flowing);a.flowing&&null!==e.read(););}function ce(e,a){"function"!=typeof e.read&&(e=V.wrap(e,{objectMode:!0}));const c=async function*(e,a){let c,d=D;function f(a){this===e?(d(),d=D):d=a}e.on("readable",f);const b=_(e,{writable:!1},(e=>{c=e?I(c,e):null,d(),d=D}));try{for(;;){const a=e.destroyed?null:e.read();if(null!==a)yield a;else{if(c)throw c;if(null===c)return;await new s(f)}}}catch(t){throw c=I(c,t),c}finally{!c&&!1===(null==a?void 0:a.destroyOnReturn)||void 0!==c&&!e._readableState.autoDestroy?(e.off("readable",f),b()):E.destroyer(e,null)}}(e,a);return c.stream=e,c}function de(e,a){if(0===a.length)return null;let c;return a.objectMode?c=a.buffer.shift():!e||e>=a.length?(c=a.decoder?a.buffer.join(""):1===a.buffer.length?a.buffer.first():a.buffer.concat(a.length),a.buffer.clear()):c=a.buffer.consume(e,a.decoder),c}function fe(e){const a=e._readableState;w("endReadable",a.endEmitted),a.endEmitted||(a.ended=!0,d.nextTick(be,a,e))}function be(e,a){if(w("endReadableNT",e.endEmitted,e.length),!e.errored&&!e.closeEmitted&&!e.endEmitted&&0===e.length)if(e.endEmitted=!0,a.emit("end"),a.writable&&!1===a.allowHalfOpen)d.nextTick(te,a);else if(e.autoDestroy){const e=a._writableState;(!e||e.autoDestroy&&(e.finished||!1===e.writable))&&a.destroy()}}function te(e){e.writable&&!e.writableEnded&&!e.destroyed&&e.end()}let re;function ne(){return void 0===re&&(re={}),re}V.prototype.read=function(e){w("read",e),void 0===e?e=NaN:b(e)||(e=r(e,10));const a=this._readableState,c=e;if(e>a.highWaterMark&&(a.highWaterMark=function(e){if(e>1073741824)throw new T("size","<= 1GiB",e);return e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,++e}(e)),0!==e&&(a.state&=-129),0===e&&a.needReadable&&((0!==a.highWaterMark?a.length>=a.highWaterMark:a.length>0)||a.ended))return w("read: emitReadable",a.length,a.ended),0===a.length&&a.ended?fe(this):W(this),null;if(0===(e=G(e,a))&&a.ended)return 0===a.length&&fe(this),null;let d,f=0!=(64&a.state);if(w("need readable",f),(0===a.length||a.length-e0?de(e,a):null,null===d?(a.needReadable=a.length<=a.highWaterMark,e=0):(a.length-=e,a.multiAwaitDrain?a.awaitDrainWriters.clear():a.awaitDrainWriters=null),0===a.length&&(a.ended||(a.needReadable=!0),c!==e&&a.ended&&fe(this)),null===d||a.errorEmitted||a.closeEmitted||(a.dataEmitted=!0,this.emit("data",d)),d},V.prototype._read=function(e){throw new L("_read()")},V.prototype.pipe=function(e,a){const c=this,f=this._readableState;1===f.pipes.length&&(f.multiAwaitDrain||(f.multiAwaitDrain=!0,f.awaitDrainWriters=new l(f.awaitDrainWriters?[f.awaitDrainWriters]:[]))),f.pipes.push(e),w("pipe count=%d opts=%j",f.pipes.length,a);const b=(!a||!1!==a.end)&&e!==d.stdout&&e!==d.stderr?r:p;function t(a,d){w("onunpipe"),a===c&&d&&!1===d.hasUnpiped&&(d.hasUnpiped=!0,function(){w("cleanup"),e.removeListener("close",u),e.removeListener("finish",h),n&&e.removeListener("drain",n);e.removeListener("error",x),e.removeListener("unpipe",t),c.removeListener("end",r),c.removeListener("end",p),c.removeListener("data",s),i=!0,n&&f.awaitDrainWriters&&(!e._writableState||e._writableState.needDrain)&&n()}())}function r(){w("onend"),e.end()}let n;f.endEmitted?d.nextTick(b):c.once("end",b),e.on("unpipe",t);let i=!1;function o(){i||(1===f.pipes.length&&f.pipes[0]===e?(w("false write response, pause",0),f.awaitDrainWriters=e,f.multiAwaitDrain=!1):f.pipes.length>1&&f.pipes.includes(e)&&(w("false write response, pause",f.awaitDrainWriters.size),f.awaitDrainWriters.add(e)),c.pause()),n||(n=function(e,a){return function(){const c=e._readableState;c.awaitDrainWriters===a?(w("pipeOnDrain",1),c.awaitDrainWriters=null):c.multiAwaitDrain&&(w("pipeOnDrain",c.awaitDrainWriters.size),c.awaitDrainWriters.delete(a)),c.awaitDrainWriters&&0!==c.awaitDrainWriters.size||!e.listenerCount("data")||e.resume()}}(c,e),e.on("drain",n))}function s(a){w("ondata");const c=e.write(a);w("dest.write",c),!1===c&&o()}function x(a){if(w("onerror",a),p(),e.removeListener("error",x),0===e.listenerCount("error")){const c=e._writableState||e._readableState;c&&!c.errorEmitted?U(e,a):e.emit("error",a)}}function u(){e.removeListener("finish",h),p()}function h(){w("onfinish"),e.removeListener("close",u),p()}function p(){w("unpipe"),c.unpipe(e)}return c.on("data",s),g(e,"error",x),e.once("close",u),e.once("finish",h),e.emit("pipe",c),!0===e.writableNeedDrain?o():f.flowing||(w("pipe resume"),c.resume()),e},V.prototype.unpipe=function(e){const a=this._readableState;if(0===a.pipes.length)return this;if(!e){const e=a.pipes;a.pipes=[],this.pause();for(let a=0;a0,!1!==f.flowing&&this.resume()):"readable"===e&&(f.endEmitted||f.readableListening||(f.readableListening=f.needReadable=!0,f.flowing=!1,f.emittedReadable=!1,w("on readable",f.length,f.reading),f.length?W(this):f.reading||d.nextTick(X,this))),c},V.prototype.addListener=V.prototype.on,V.prototype.removeListener=function(e,a){const c=m.prototype.removeListener.call(this,e,a);return"readable"===e&&d.nextTick(J,this),c},V.prototype.off=V.prototype.removeListener,V.prototype.removeAllListeners=function(e){const a=m.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||d.nextTick(J,this),a},V.prototype.resume=function(){const e=this._readableState;return e.flowing||(w("resume"),e.flowing=!e.readableListening,function(e,a){a.resumeScheduled||(a.resumeScheduled=!0,d.nextTick(ee,e,a))}(this,e)),e[O]=!1,this},V.prototype.pause=function(){return w("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(w("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[O]=!0,this},V.prototype.wrap=function(e){let a=!1;e.on("data",(c=>{!this.push(c)&&e.pause&&(a=!0,e.pause())})),e.on("end",(()=>{this.push(null)})),e.on("error",(e=>{U(this,e)})),e.on("close",(()=>{this.destroy()})),e.on("destroy",(()=>{this.destroy()})),this._read=()=>{a&&e.resume&&(a=!1,e.resume())};const c=i(e);for(let d=1;d{"use strict";const{MathFloor:d,NumberIsInteger:f}=c(97684),{validateInteger:b}=c(92661),{ERR_INVALID_ARG_VALUE:t}=c(16e3).codes;let r=16384,n=16;function i(e){return e?n:r}e.exports={getHighWaterMark:function(e,a,c,b){const r=function(e,a,c){return null!=e.highWaterMark?e.highWaterMark:a?e[c]:null}(a,b,c);if(null!=r){if(!f(r)||r<0){throw new t(b?`options.${c}`:"options.highWaterMark",r)}return d(r)}return i(e.objectMode)},getDefaultHighWaterMark:i,setDefaultHighWaterMark:function(e,a){b(a,"value",0),e?n=a:r=a}}},72176:(e,a,c)=>{"use strict";const{ObjectSetPrototypeOf:d,Symbol:f}=c(97684);e.exports=i;const{ERR_METHOD_NOT_IMPLEMENTED:b}=c(16e3).codes,t=c(3323),{getHighWaterMark:r}=c(72254);d(i.prototype,t.prototype),d(i,t);const n=f("kCallback");function i(e){if(!(this instanceof i))return new i(e);const a=e?r(this,e,"readableHighWaterMark",!0):null;0===a&&(e={...e,highWaterMark:null,readableHighWaterMark:a,writableHighWaterMark:e.writableHighWaterMark||0}),t.call(this,e),this._readableState.sync=!1,this[n]=null,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function o(e){"function"!=typeof this._flush||this.destroyed?(this.push(null),e&&e()):this._flush(((a,c)=>{a?e?e(a):this.destroy(a):(null!=c&&this.push(c),this.push(null),e&&e())}))}function s(){this._final!==o&&o.call(this)}i.prototype._final=o,i.prototype._transform=function(e,a,c){throw new b("_transform()")},i.prototype._write=function(e,a,c){const d=this._readableState,f=this._writableState,b=d.length;this._transform(e,a,((e,a)=>{e?c(e):(null!=a&&this.push(a),f.ended||b===d.length||d.length{"use strict";const{SymbolAsyncIterator:d,SymbolIterator:f,SymbolFor:b}=c(97684),t=b("nodejs.stream.destroyed"),r=b("nodejs.stream.errored"),n=b("nodejs.stream.readable"),i=b("nodejs.stream.writable"),o=b("nodejs.stream.disturbed"),s=b("nodejs.webstream.isClosedPromise"),l=b("nodejs.webstream.controllerErrorFunction");function x(e,a=!1){var c;return!(!e||"function"!=typeof e.pipe||"function"!=typeof e.on||a&&("function"!=typeof e.pause||"function"!=typeof e.resume)||e._writableState&&!1===(null===(c=e._readableState)||void 0===c?void 0:c.readable)||e._writableState&&!e._readableState)}function u(e){var a;return!(!e||"function"!=typeof e.write||"function"!=typeof e.on||e._readableState&&!1===(null===(a=e._writableState)||void 0===a?void 0:a.writable))}function h(e){return e&&(e._readableState||e._writableState||"function"==typeof e.write&&"function"==typeof e.on||"function"==typeof e.pipe&&"function"==typeof e.on)}function p(e){return!(!e||h(e)||"function"!=typeof e.pipeThrough||"function"!=typeof e.getReader||"function"!=typeof e.cancel)}function m(e){return!(!e||h(e)||"function"!=typeof e.getWriter||"function"!=typeof e.abort)}function g(e){return!(!e||h(e)||"object"!=typeof e.readable||"object"!=typeof e.writable)}function y(e){if(!h(e))return null;const a=e._writableState,c=e._readableState,d=a||c;return!!(e.destroyed||e[t]||null!=d&&d.destroyed)}function v(e){if(!u(e))return null;if(!0===e.writableEnded)return!0;const a=e._writableState;return(null==a||!a.errored)&&("boolean"!=typeof(null==a?void 0:a.ended)?null:a.ended)}function _(e,a){if(!x(e))return null;const c=e._readableState;return(null==c||!c.errored)&&("boolean"!=typeof(null==c?void 0:c.endEmitted)?null:!!(c.endEmitted||!1===a&&!0===c.ended&&0===c.length))}function w(e){return e&&null!=e[n]?e[n]:"boolean"!=typeof(null==e?void 0:e.readable)?null:!y(e)&&(x(e)&&e.readable&&!_(e))}function S(e){return e&&null!=e[i]?e[i]:"boolean"!=typeof(null==e?void 0:e.writable)?null:!y(e)&&(u(e)&&e.writable&&!v(e))}function E(e){return"boolean"==typeof e._closed&&"boolean"==typeof e._defaultKeepAlive&&"boolean"==typeof e._removedConnection&&"boolean"==typeof e._removedContLen}function A(e){return"boolean"==typeof e._sent100&&E(e)}e.exports={isDestroyed:y,kIsDestroyed:t,isDisturbed:function(e){var a;return!(!e||!(null!==(a=e[o])&&void 0!==a?a:e.readableDidRead||e.readableAborted))},kIsDisturbed:o,isErrored:function(e){var a,c,d,f,b,t,n,i,o,s;return!(!e||!(null!==(a=null!==(c=null!==(d=null!==(f=null!==(b=null!==(t=e[r])&&void 0!==t?t:e.readableErrored)&&void 0!==b?b:e.writableErrored)&&void 0!==f?f:null===(n=e._readableState)||void 0===n?void 0:n.errorEmitted)&&void 0!==d?d:null===(i=e._writableState)||void 0===i?void 0:i.errorEmitted)&&void 0!==c?c:null===(o=e._readableState)||void 0===o?void 0:o.errored)&&void 0!==a?a:null===(s=e._writableState)||void 0===s?void 0:s.errored))},kIsErrored:r,isReadable:w,kIsReadable:n,kIsClosedPromise:s,kControllerErrorFunction:l,kIsWritable:i,isClosed:function(e){if(!h(e))return null;if("boolean"==typeof e.closed)return e.closed;const a=e._writableState,c=e._readableState;return"boolean"==typeof(null==a?void 0:a.closed)||"boolean"==typeof(null==c?void 0:c.closed)?(null==a?void 0:a.closed)||(null==c?void 0:c.closed):"boolean"==typeof e._closed&&E(e)?e._closed:null},isDuplexNodeStream:function(e){return!(!e||"function"!=typeof e.pipe||!e._readableState||"function"!=typeof e.on||"function"!=typeof e.write)},isFinished:function(e,a){return h(e)?!!y(e)||(!1===(null==a?void 0:a.readable)||!w(e))&&(!1===(null==a?void 0:a.writable)||!S(e)):null},isIterable:function(e,a){return null!=e&&(!0===a?"function"==typeof e[d]:!1===a?"function"==typeof e[f]:"function"==typeof e[d]||"function"==typeof e[f])},isReadableNodeStream:x,isReadableStream:p,isReadableEnded:function(e){if(!x(e))return null;if(!0===e.readableEnded)return!0;const a=e._readableState;return!(!a||a.errored)&&("boolean"!=typeof(null==a?void 0:a.ended)?null:a.ended)},isReadableFinished:_,isReadableErrored:function(e){var a,c;return h(e)?e.readableErrored?e.readableErrored:null!==(a=null===(c=e._readableState)||void 0===c?void 0:c.errored)&&void 0!==a?a:null:null},isNodeStream:h,isWebStream:function(e){return p(e)||m(e)||g(e)},isWritable:S,isWritableNodeStream:u,isWritableStream:m,isWritableEnded:v,isWritableFinished:function(e,a){if(!u(e))return null;if(!0===e.writableFinished)return!0;const c=e._writableState;return(null==c||!c.errored)&&("boolean"!=typeof(null==c?void 0:c.finished)?null:!!(c.finished||!1===a&&!0===c.ended&&0===c.length))},isWritableErrored:function(e){var a,c;return h(e)?e.writableErrored?e.writableErrored:null!==(a=null===(c=e._writableState)||void 0===c?void 0:c.errored)&&void 0!==a?a:null:null},isServerRequest:function(e){var a;return"boolean"==typeof e._consuming&&"boolean"==typeof e._dumped&&void 0===(null===(a=e.req)||void 0===a?void 0:a.upgradeOrConnect)},isServerResponse:A,willEmitClose:function(e){if(!h(e))return null;const a=e._writableState,c=e._readableState,d=a||c;return!d&&A(e)||!!(d&&d.autoDestroy&&d.emitClose&&!1===d.closed)},isTransformStream:g}},34370:(e,a,c)=>{const d=c(34155),{ArrayPrototypeSlice:f,Error:b,FunctionPrototypeSymbolHasInstance:t,ObjectDefineProperty:r,ObjectDefineProperties:n,ObjectSetPrototypeOf:i,StringPrototypeToLowerCase:o,Symbol:s,SymbolHasInstance:l}=c(97684);e.exports=B,B.WritableState=R;const{EventEmitter:x}=c(17187),u=c(89496).Stream,{Buffer:h}=c(48764),p=c(54501),{addAbortSignal:m}=c(83377),{getHighWaterMark:g,getDefaultHighWaterMark:y}=c(72254),{ERR_INVALID_ARG_TYPE:v,ERR_METHOD_NOT_IMPLEMENTED:_,ERR_MULTIPLE_CALLBACK:w,ERR_STREAM_CANNOT_PIPE:S,ERR_STREAM_DESTROYED:E,ERR_STREAM_ALREADY_FINISHED:A,ERR_STREAM_NULL_VALUES:k,ERR_STREAM_WRITE_AFTER_END:I,ERR_UNKNOWN_ENCODING:C}=c(16e3).codes,{errorOrDestroy:L}=p;function T(){}i(B.prototype,u.prototype),i(B,u);const P=s("kOnFinished");function R(e,a,d){"boolean"!=typeof d&&(d=a instanceof c(3323)),this.objectMode=!(!e||!e.objectMode),d&&(this.objectMode=this.objectMode||!(!e||!e.writableObjectMode)),this.highWaterMark=e?g(this,e,"writableHighWaterMark",d):y(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const f=!(!e||!1!==e.decodeStrings);this.decodeStrings=!f,this.defaultEncoding=e&&e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=D.bind(void 0,a),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,M(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!e||!1!==e.emitClose,this.autoDestroy=!e||!1!==e.autoDestroy,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[P]=[]}function M(e){e.buffered=[],e.bufferedIndex=0,e.allBuffers=!0,e.allNoop=!0}function B(e){const a=this instanceof c(3323);if(!a&&!t(B,this))return new B(e);this._writableState=new R(e,this,a),e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final),"function"==typeof e.construct&&(this._construct=e.construct),e.signal&&m(e.signal,this)),u.call(this,e),p.construct(this,(()=>{const e=this._writableState;e.writing||q(this,e),$(this,e)}))}function O(e,a,c,f){const b=e._writableState;if("function"==typeof c)f=c,c=b.defaultEncoding;else{if(c){if("buffer"!==c&&!h.isEncoding(c))throw new C(c)}else c=b.defaultEncoding;"function"!=typeof f&&(f=T)}if(null===a)throw new k;if(!b.objectMode)if("string"==typeof a)!1!==b.decodeStrings&&(a=h.from(a,c),c="buffer");else if(a instanceof h)c="buffer";else{if(!u._isUint8Array(a))throw new v("chunk",["string","Buffer","Uint8Array"],a);a=u._uint8ArrayToBuffer(a),c="buffer"}let t;return b.ending?t=new I:b.destroyed&&(t=new E("write")),t?(d.nextTick(f,t),L(e,t,!0),t):(b.pendingcb++,function(e,a,c,d,f){const b=a.objectMode?1:c.length;a.length+=b;const t=a.lengthc.bufferedIndex&&q(e,c),f?null!==c.afterWriteTickInfo&&c.afterWriteTickInfo.cb===b?c.afterWriteTickInfo.count++:(c.afterWriteTickInfo={count:1,cb:b,stream:e,state:c},d.nextTick(U,c.afterWriteTickInfo)):j(e,c,1,b))):L(e,new w)}function U({stream:e,state:a,count:c,cb:d}){return a.afterWriteTickInfo=null,j(e,a,c,d)}function j(e,a,c,d){for(!a.ending&&!e.destroyed&&0===a.length&&a.needDrain&&(a.needDrain=!1,e.emit("drain"));c-- >0;)a.pendingcb--,d();a.destroyed&&z(a),$(e,a)}function z(e){if(e.writing)return;for(let f=e.bufferedIndex;f1&&e._writev){a.pendingcb-=t-1;const d=a.allNoop?T:e=>{for(let a=r;a256?(c.splice(0,r),a.bufferedIndex=0):a.bufferedIndex=r}a.bufferProcessing=!1}function K(e){return e.ending&&!e.destroyed&&e.constructed&&0===e.length&&!e.errored&&0===e.buffered.length&&!e.finished&&!e.writing&&!e.errorEmitted&&!e.closeEmitted}function V(e,a){a.prefinished||a.finalCalled||("function"!=typeof e._final||a.destroyed?(a.prefinished=!0,e.emit("prefinish")):(a.finalCalled=!0,function(e,a){let c=!1;function f(f){if(c)L(e,null!=f?f:w());else if(c=!0,a.pendingcb--,f){const c=a[P].splice(0);for(let e=0;e{K(a)?H(e,a):a.pendingcb--}),e,a)):K(a)&&(a.pendingcb++,H(e,a))))}function H(e,a){a.pendingcb--,a.finished=!0;const c=a[P].splice(0);for(let d=0;d{"use strict";const{ArrayIsArray:d,ArrayPrototypeIncludes:f,ArrayPrototypeJoin:b,ArrayPrototypeMap:t,NumberIsInteger:r,NumberIsNaN:n,NumberMAX_SAFE_INTEGER:i,NumberMIN_SAFE_INTEGER:o,NumberParseInt:s,ObjectPrototypeHasOwnProperty:l,RegExpPrototypeExec:x,String:u,StringPrototypeToUpperCase:h,StringPrototypeTrim:p}=c(97684),{hideStackFrames:m,codes:{ERR_SOCKET_BAD_PORT:g,ERR_INVALID_ARG_TYPE:y,ERR_INVALID_ARG_VALUE:v,ERR_OUT_OF_RANGE:_,ERR_UNKNOWN_SIGNAL:w}}=c(16e3),{normalizeEncoding:S}=c(20753),{isAsyncFunction:E,isArrayBufferView:A}=c(20753).types,k={};const I=/^[0-7]+$/;const C=m(((e,a,c=o,d=i)=>{if("number"!=typeof e)throw new y(a,"number",e);if(!r(e))throw new _(a,"an integer",e);if(ed)throw new _(a,`>= ${c} && <= ${d}`,e)})),L=m(((e,a,c=-2147483648,d=2147483647)=>{if("number"!=typeof e)throw new y(a,"number",e);if(!r(e))throw new _(a,"an integer",e);if(ed)throw new _(a,`>= ${c} && <= ${d}`,e)})),T=m(((e,a,c=!1)=>{if("number"!=typeof e)throw new y(a,"number",e);if(!r(e))throw new _(a,"an integer",e);const d=c?1:0,f=4294967295;if(ef)throw new _(a,`>= ${d} && <= ${f}`,e)}));function P(e,a){if("string"!=typeof e)throw new y(a,"string",e)}const R=m(((e,a,c)=>{if(!f(c,e)){const d=b(t(c,(e=>"string"==typeof e?`'${e}'`:u(e))),", ");throw new v(a,e,"must be one of: "+d)}}));function M(e,a){if("boolean"!=typeof e)throw new y(a,"boolean",e)}function B(e,a,c){return null!=e&&l(e,a)?e[a]:c}const O=m(((e,a,c=null)=>{const f=B(c,"allowArray",!1),b=B(c,"allowFunction",!1);if(!B(c,"nullable",!1)&&null===e||!f&&d(e)||"object"!=typeof e&&(!b||"function"!=typeof e))throw new y(a,"Object",e)})),N=m(((e,a)=>{if(null!=e&&"object"!=typeof e&&"function"!=typeof e)throw new y(a,"a dictionary",e)})),F=m(((e,a,c=0)=>{if(!d(e))throw new y(a,"Array",e);if(e.length{if(!A(e))throw new y(a,["Buffer","TypedArray","DataView"],e)}));const U=m(((e,a)=>{if(void 0!==e&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new y(a,"AbortSignal",e)})),j=m(((e,a)=>{if("function"!=typeof e)throw new y(a,"Function",e)})),z=m(((e,a)=>{if("function"!=typeof e||E(e))throw new y(a,"Function",e)})),q=m(((e,a)=>{if(void 0!==e)throw new y(a,"undefined",e)}));const K=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function V(e,a){if(void 0===e||!x(K,e))throw new v(a,e,'must be an array or string of format "; rel=preload; as=style"')}e.exports={isInt32:function(e){return e===(0|e)},isUint32:function(e){return e===e>>>0},parseFileMode:function(e,a,c){if(void 0===e&&(e=c),"string"==typeof e){if(null===x(I,e))throw new v(a,e,"must be a 32-bit unsigned integer or an octal string");e=s(e,8)}return T(e,a),e},validateArray:F,validateStringArray:function(e,a){F(e,a);for(let c=0;cd||(null!=c||null!=d)&&n(e))throw new _(a,`${null!=c?`>= ${c}`:""}${null!=c&&null!=d?" && ":""}${null!=d?`<= ${d}`:""}`,e)},validateObject:O,validateOneOf:R,validatePlainFunction:z,validatePort:function(e,a="Port",c=!0){if("number"!=typeof e&&"string"!=typeof e||"string"==typeof e&&0===p(e).length||+e!=+e>>>0||e>65535||0===e&&!c)throw new g(a,e,c);return 0|e},validateSignalName:function(e,a="signal"){if(P(e,a),void 0===k[e]){if(void 0!==k[h(e)])throw new w(e+" (signals must use all capital letters)");throw new w(e)}},validateString:P,validateUint32:T,validateUndefined:q,validateUnion:function(e,a,c){if(!f(c,e))throw new y(a,`('${b(c,"|")}')`,e)},validateAbortSignal:U,validateLinkHeaderValue:function(e){if("string"==typeof e)return V(e,"hints"),e;if(d(e)){const a=e.length;let c="";if(0===a)return c;for(let d=0;d; rel=preload; as=style"')}}},35171:(e,a,c)=>{"use strict";const d=c(38064),f=c(49369),b=d.Readable.destroy;e.exports=d.Readable,e.exports._uint8ArrayToBuffer=d._uint8ArrayToBuffer,e.exports._isUint8Array=d._isUint8Array,e.exports.isDisturbed=d.isDisturbed,e.exports.isErrored=d.isErrored,e.exports.isReadable=d.isReadable,e.exports.Readable=d.Readable,e.exports.Writable=d.Writable,e.exports.Duplex=d.Duplex,e.exports.Transform=d.Transform,e.exports.PassThrough=d.PassThrough,e.exports.addAbortSignal=d.addAbortSignal,e.exports.finished=d.finished,e.exports.destroy=d.destroy,e.exports.destroy=b,e.exports.pipeline=d.pipeline,e.exports.compose=d.compose,Object.defineProperty(d,"promises",{configurable:!0,enumerable:!0,get:()=>f}),e.exports.Stream=d.Stream,e.exports.default=e.exports},16e3:(e,a,c)=>{"use strict";const{format:d,inspect:f,AggregateError:b}=c(20753),t=globalThis.AggregateError||b,r=Symbol("kIsNodeError"),n=["string","function","number","object","Function","Object","boolean","bigint","symbol"],i=/^([A-Z][a-z0-9]*)+$/,o={};function s(e,a){if(!e)throw new o.ERR_INTERNAL_ASSERTION(a)}function l(e){let a="",c=e.length;const d="-"===e[0]?1:0;for(;c>=d+4;c-=3)a=`_${e.slice(c-3,c)}${a}`;return`${e.slice(0,c)}${a}`}function x(e,a,c){c||(c=Error);class f extends c{constructor(...c){super(function(e,a,c){if("function"==typeof a)return s(a.length<=c.length,`Code: ${e}; The provided arguments length (${c.length}) does not match the required ones (${a.length}).`),a(...c);const f=(a.match(/%[dfijoOs]/g)||[]).length;return s(f===c.length,`Code: ${e}; The provided arguments length (${c.length}) does not match the required ones (${f}).`),0===c.length?a:d(a,...c)}(e,a,c))}toString(){return`${this.name} [${e}]: ${this.message}`}}Object.defineProperties(f.prototype,{name:{value:c.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),f.prototype.code=e,f.prototype[r]=!0,o[e]=f}function u(e){const a="__node_internal_"+e.name;return Object.defineProperty(e,"name",{value:a}),e}class h extends Error{constructor(e="The operation was aborted",a){if(void 0!==a&&"object"!=typeof a)throw new o.ERR_INVALID_ARG_TYPE("options","Object",a);super(e,a),this.code="ABORT_ERR",this.name="AbortError"}}x("ERR_ASSERTION","%s",Error),x("ERR_INVALID_ARG_TYPE",((e,a,c)=>{s("string"==typeof e,"'name' must be a string"),Array.isArray(a)||(a=[a]);let d="The ";e.endsWith(" argument")?d+=`${e} `:d+=`"${e}" ${e.includes(".")?"property":"argument"} `,d+="must be ";const b=[],t=[],r=[];for(const f of a)s("string"==typeof f,"All expected entries have to be of type string"),n.includes(f)?b.push(f.toLowerCase()):i.test(f)?t.push(f):(s("object"!==f,'The value "object" should be written as "Object"'),r.push(f));if(t.length>0){const e=b.indexOf("object");-1!==e&&(b.splice(b,e,1),t.push("Object"))}if(b.length>0){switch(b.length){case 1:d+=`of type ${b[0]}`;break;case 2:d+=`one of type ${b[0]} or ${b[1]}`;break;default:{const e=b.pop();d+=`one of type ${b.join(", ")}, or ${e}`}}(t.length>0||r.length>0)&&(d+=" or ")}if(t.length>0){switch(t.length){case 1:d+=`an instance of ${t[0]}`;break;case 2:d+=`an instance of ${t[0]} or ${t[1]}`;break;default:{const e=t.pop();d+=`an instance of ${t.join(", ")}, or ${e}`}}r.length>0&&(d+=" or ")}switch(r.length){case 0:break;case 1:r[0].toLowerCase()!==r[0]&&(d+="an "),d+=`${r[0]}`;break;case 2:d+=`one of ${r[0]} or ${r[1]}`;break;default:{const e=r.pop();d+=`one of ${r.join(", ")}, or ${e}`}}if(null==c)d+=`. Received ${c}`;else if("function"==typeof c&&c.name)d+=`. Received function ${c.name}`;else if("object"==typeof c){var o;if(null!==(o=c.constructor)&&void 0!==o&&o.name)d+=`. Received an instance of ${c.constructor.name}`;else{d+=`. Received ${f(c,{depth:-1})}`}}else{let e=f(c,{colors:!1});e.length>25&&(e=`${e.slice(0,25)}...`),d+=`. Received type ${typeof c} (${e})`}return d}),TypeError),x("ERR_INVALID_ARG_VALUE",((e,a,c="is invalid")=>{let d=f(a);d.length>128&&(d=d.slice(0,128)+"...");return`The ${e.includes(".")?"property":"argument"} '${e}' ${c}. Received ${d}`}),TypeError),x("ERR_INVALID_RETURN_VALUE",((e,a,c)=>{var d;return`Expected ${e} to be returned from the "${a}" function but got ${null!=c&&null!==(d=c.constructor)&&void 0!==d&&d.name?`instance of ${c.constructor.name}`:"type "+typeof c}.`}),TypeError),x("ERR_MISSING_ARGS",((...e)=>{let a;s(e.length>0,"At least one arg needs to be specified");const c=e.length;switch(e=(Array.isArray(e)?e:[e]).map((e=>`"${e}"`)).join(" or "),c){case 1:a+=`The ${e[0]} argument`;break;case 2:a+=`The ${e[0]} and ${e[1]} arguments`;break;default:{const c=e.pop();a+=`The ${e.join(", ")}, and ${c} arguments`}}return`${a} must be specified`}),TypeError),x("ERR_OUT_OF_RANGE",((e,a,c)=>{let d;return s(a,'Missing "range" argument'),Number.isInteger(c)&&Math.abs(c)>2**32?d=l(String(c)):"bigint"==typeof c?(d=String(c),(c>2n**32n||c<-(2n**32n))&&(d=l(d)),d+="n"):d=f(c),`The value of "${e}" is out of range. It must be ${a}. Received ${d}`}),RangeError),x("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),x("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),x("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),x("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),x("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),x("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),x("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),x("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),x("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),x("ERR_STREAM_WRITE_AFTER_END","write after end",Error),x("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),e.exports={AbortError:h,aggregateTwoErrors:u((function(e,a){if(e&&a&&e!==a){if(Array.isArray(a.errors))return a.errors.push(e),a;const c=new t([a,e],a.message);return c.code=a.code,c}return e||a})),hideStackFrames:u,codes:o}},97684:e=>{"use strict";e.exports={ArrayIsArray:e=>Array.isArray(e),ArrayPrototypeIncludes:(e,a)=>e.includes(a),ArrayPrototypeIndexOf:(e,a)=>e.indexOf(a),ArrayPrototypeJoin:(e,a)=>e.join(a),ArrayPrototypeMap:(e,a)=>e.map(a),ArrayPrototypePop:(e,a)=>e.pop(a),ArrayPrototypePush:(e,a)=>e.push(a),ArrayPrototypeSlice:(e,a,c)=>e.slice(a,c),Error:Error,FunctionPrototypeCall:(e,a,...c)=>e.call(a,...c),FunctionPrototypeSymbolHasInstance:(e,a)=>Function.prototype[Symbol.hasInstance].call(e,a),MathFloor:Math.floor,Number:Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties:(e,a)=>Object.defineProperties(e,a),ObjectDefineProperty:(e,a,c)=>Object.defineProperty(e,a,c),ObjectGetOwnPropertyDescriptor:(e,a)=>Object.getOwnPropertyDescriptor(e,a),ObjectKeys:e=>Object.keys(e),ObjectSetPrototypeOf:(e,a)=>Object.setPrototypeOf(e,a),Promise:Promise,PromisePrototypeCatch:(e,a)=>e.catch(a),PromisePrototypeThen:(e,a,c)=>e.then(a,c),PromiseReject:e=>Promise.reject(e),PromiseResolve:e=>Promise.resolve(e),ReflectApply:Reflect.apply,RegExpPrototypeTest:(e,a)=>e.test(a),SafeSet:Set,String:String,StringPrototypeSlice:(e,a,c)=>e.slice(a,c),StringPrototypeToLowerCase:e=>e.toLowerCase(),StringPrototypeToUpperCase:e=>e.toUpperCase(),StringPrototypeTrim:e=>e.trim(),Symbol:Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet:(e,a,c)=>e.set(a,c),Boolean:Boolean,Uint8Array:Uint8Array}},20753:(e,a,c)=>{"use strict";const d=c(48764),{kResistStopPropagation:f,SymbolDispose:b}=c(97684),t=globalThis.AbortSignal||c(28599).AbortSignal,r=globalThis.AbortController||c(28599).AbortController,n=Object.getPrototypeOf((async function(){})).constructor,i=globalThis.Blob||d.Blob,o=void 0!==i?function(e){return e instanceof i}:function(e){return!1},s=(e,a)=>{if(void 0!==e&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new ERR_INVALID_ARG_TYPE(a,"AbortSignal",e)};class l extends Error{constructor(e){if(!Array.isArray(e))throw new TypeError("Expected input to be an Array, got "+typeof e);let a="";for(let c=0;c{e=c,a=d})),resolve:e,reject:a}},promisify:e=>new Promise(((a,c)=>{e(((e,...d)=>e?c(e):a(...d)))})),debuglog:()=>function(){},format:(e,...a)=>e.replace(/%([sdifj])/g,(function(...[e,c]){const d=a.shift();if("f"===c)return d.toFixed(6);if("j"===c)return JSON.stringify(d);if("s"===c&&"object"==typeof d){return`${d.constructor!==Object?d.constructor.name:""} {}`.trim()}return d.toString()})),inspect(e){switch(typeof e){case"string":if(e.includes("'")){if(!e.includes('"'))return`"${e}"`;if(!e.includes("`")&&!e.includes("${"))return`\`${e}\``}return`'${e}'`;case"number":return isNaN(e)?"NaN":Object.is(e,-0)?String(e):e;case"bigint":return`${String(e)}n`;case"boolean":case"undefined":return String(e);case"object":return"{}"}},types:{isAsyncFunction:e=>e instanceof n,isArrayBufferView:e=>ArrayBuffer.isView(e)},isBlob:o,deprecate:(e,a)=>e,addAbortListener:c(17187).addAbortListener||function(e,a){if(void 0===e)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",e);let c;return s(e,"signal"),((e,a)=>{if("function"!=typeof e)throw new ERR_INVALID_ARG_TYPE(a,"Function",e)})(a,"listener"),e.aborted?queueMicrotask((()=>a())):(e.addEventListener("abort",a,{__proto__:null,once:!0,[f]:!0}),c=()=>{e.removeEventListener("abort",a)}),{__proto__:null,[b](){var e;null===(e=c)||void 0===e||e()}}},AbortSignalAny:t.any||function(e){if(1===e.length)return e[0];const a=new r,c=()=>a.abort();return e.forEach((e=>{s(e,"signals"),e.addEventListener("abort",c,{once:!0})})),a.signal.addEventListener("abort",(()=>{e.forEach((e=>e.removeEventListener("abort",c)))}),{once:!0}),a.signal}},e.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")},38064:(e,a,c)=>{const{Buffer:d}=c(48764),{ObjectDefineProperty:f,ObjectKeys:b,ReflectApply:t}=c(97684),{promisify:{custom:r}}=c(20753),{streamReturningOperators:n,promiseReturningOperators:i}=c(14964),{codes:{ERR_ILLEGAL_CONSTRUCTOR:o}}=c(16e3),s=c(21650),{setDefaultHighWaterMark:l,getDefaultHighWaterMark:x}=c(72254),{pipeline:u}=c(3232),{destroyer:h}=c(54501),p=c(24466),m=c(49369),g=c(43437),y=e.exports=c(89496).Stream;y.isDestroyed=g.isDestroyed,y.isDisturbed=g.isDisturbed,y.isErrored=g.isErrored,y.isReadable=g.isReadable,y.isWritable=g.isWritable,y.Readable=c(65870);for(const w of b(n)){const S=n[w];function v(...e){if(new.target)throw o();return y.Readable.from(t(S,this,e))}f(v,"name",{__proto__:null,value:S.name}),f(v,"length",{__proto__:null,value:S.length}),f(y.Readable.prototype,w,{__proto__:null,value:v,enumerable:!1,configurable:!0,writable:!0})}for(const E of b(i)){const A=i[E];function v(...e){if(new.target)throw o();return t(A,this,e)}f(v,"name",{__proto__:null,value:A.name}),f(v,"length",{__proto__:null,value:A.length}),f(y.Readable.prototype,E,{__proto__:null,value:v,enumerable:!1,configurable:!0,writable:!0})}y.Writable=c(34370),y.Duplex=c(3323),y.Transform=c(72176),y.PassThrough=c(36804),y.pipeline=u;const{addAbortSignal:_}=c(83377);y.addAbortSignal=_,y.finished=p,y.destroy=h,y.compose=s,y.setDefaultHighWaterMark=l,y.getDefaultHighWaterMark=x,f(y,"promises",{__proto__:null,configurable:!0,enumerable:!0,get:()=>m}),f(u,r,{__proto__:null,enumerable:!0,get:()=>m.pipeline}),f(p,r,{__proto__:null,enumerable:!0,get:()=>m.finished}),y.Stream=y,y._isUint8Array=function(e){return e instanceof Uint8Array},y._uint8ArrayToBuffer=function(e){return d.from(e.buffer,e.byteOffset,e.byteLength)}},49369:(e,a,c)=>{"use strict";const{ArrayPrototypePop:d,Promise:f}=c(97684),{isIterable:b,isNodeStream:t,isWebStream:r}=c(43437),{pipelineImpl:n}=c(3232),{finished:i}=c(24466);c(38064),e.exports={finished:i,pipeline:function(...e){return new f(((a,c)=>{let f,i;const o=e[e.length-1];if(o&&"object"==typeof o&&!t(o)&&!b(o)&&!r(o)){const a=d(e);f=a.signal,i=a.end}n(e,((e,d)=>{e?c(e):a(d)}),{signal:f,end:i})}))}}},28599:e=>{"use strict";const{AbortController:a,AbortSignal:c}="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0;e.exports=a,e.exports.AbortSignal=c,e.exports.default=a},78826:function(e){"use strict";!function(a){function c(e){return parseInt(e)===e}function d(e){if(!c(e.length))return!1;for(var a=0;a255)return!1;return!0}function f(e,a){if(e.buffer&&ArrayBuffer.isView(e)&&"Uint8Array"===e.name)return a&&(e=e.slice?e.slice():Array.prototype.slice.call(e)),e;if(Array.isArray(e)){if(!d(e))throw new Error("Array contains invalid value: "+e);return new Uint8Array(e)}if(c(e.length)&&d(e))return new Uint8Array(e);throw new Error("unsupported array-like object")}function b(e){return new Uint8Array(e)}function t(e,a,c,d,f){null==d&&null==f||(e=e.slice?e.slice(d,f):Array.prototype.slice.call(e,d,f)),a.set(e,c)}var r,n={toBytes:function(e){var a=[],c=0;for(e=encodeURI(e);c191&&d<224?(a.push(String.fromCharCode((31&d)<<6|63&e[c+1])),c+=2):(a.push(String.fromCharCode((15&d)<<12|(63&e[c+1])<<6|63&e[c+2])),c+=3)}return a.join("")}},i=(r="0123456789abcdef",{toBytes:function(e){for(var a=[],c=0;c>4]+r[15&d])}return a.join("")}}),o={16:10,24:12,32:14},s=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],l=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],x=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],u=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],h=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],p=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],m=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],g=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],y=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],v=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],_=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],w=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],S=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],E=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],A=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function k(e){for(var a=[],c=0;c>2,this._Ke[c][a%4]=b[a],this._Kd[e-c][a%4]=b[a];for(var t,r=0,n=f;n>16&255]<<24^l[t>>8&255]<<16^l[255&t]<<8^l[t>>24&255]^s[r]<<24,r+=1,8!=f)for(a=1;a>8&255]<<8^l[t>>16&255]<<16^l[t>>24&255]<<24;for(a=f/2+1;a>2,x=n%4,this._Ke[i][x]=b[a],this._Kd[e-i][x]=b[a++],n++}for(var i=1;i>24&255]^S[t>>16&255]^E[t>>8&255]^A[255&t]},I.prototype.encrypt=function(e){if(16!=e.length)throw new Error("invalid plaintext size (must be 16 bytes)");for(var a=this._Ke.length-1,c=[0,0,0,0],d=k(e),f=0;f<4;f++)d[f]^=this._Ke[0][f];for(var t=1;t>24&255]^h[d[(f+1)%4]>>16&255]^p[d[(f+2)%4]>>8&255]^m[255&d[(f+3)%4]]^this._Ke[t][f];d=c.slice()}var r,n=b(16);for(f=0;f<4;f++)r=this._Ke[a][f],n[4*f]=255&(l[d[f]>>24&255]^r>>24),n[4*f+1]=255&(l[d[(f+1)%4]>>16&255]^r>>16),n[4*f+2]=255&(l[d[(f+2)%4]>>8&255]^r>>8),n[4*f+3]=255&(l[255&d[(f+3)%4]]^r);return n},I.prototype.decrypt=function(e){if(16!=e.length)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var a=this._Kd.length-1,c=[0,0,0,0],d=k(e),f=0;f<4;f++)d[f]^=this._Kd[0][f];for(var t=1;t>24&255]^y[d[(f+3)%4]>>16&255]^v[d[(f+2)%4]>>8&255]^_[255&d[(f+1)%4]]^this._Kd[t][f];d=c.slice()}var r,n=b(16);for(f=0;f<4;f++)r=this._Kd[a][f],n[4*f]=255&(x[d[f]>>24&255]^r>>24),n[4*f+1]=255&(x[d[(f+3)%4]>>16&255]^r>>16),n[4*f+2]=255&(x[d[(f+2)%4]>>8&255]^r>>8),n[4*f+3]=255&(x[255&d[(f+1)%4]]^r);return n};var C=function(e){if(!(this instanceof C))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new I(e)};C.prototype.encrypt=function(e){if((e=f(e)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var a=b(e.length),c=b(16),d=0;d=0;--a)this._counter[a]=e%256,e>>=8},R.prototype.setBytes=function(e){if(16!=(e=f(e,!0)).length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=e},R.prototype.increment=function(){for(var e=15;e>=0;e--){if(255!==this._counter[e]){this._counter[e]++;break}this._counter[e]=0}};var M=function(e,a){if(!(this instanceof M))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",a instanceof R||(a=new R(a)),this._counter=a,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new I(e)};M.prototype.encrypt=function(e){for(var a=f(e,!0),c=0;c16)throw new Error("PKCS#7 padding byte out of range");for(var c=e.length-a,d=0;d{e.exports=c(51609)},55448:(e,a,c)=>{"use strict";var d=c(64867),f=c(36026),b=c(4372),t=c(15327),r=c(94097),n=c(84109),i=c(67985),o=c(77874),s=c(82648),l=c(60644),x=c(90205);e.exports=function(e){return new Promise((function(a,c){var u,h=e.data,p=e.headers,m=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(u),e.signal&&e.signal.removeEventListener("abort",u)}d.isFormData(h)&&d.isStandardBrowserEnv()&&delete p["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var v=e.auth.username||"",_=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(v+":"+_)}var w=r(e.baseURL,e.url);function S(){if(y){var d="getAllResponseHeaders"in y?n(y.getAllResponseHeaders()):null,b={data:m&&"text"!==m&&"json"!==m?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:d,config:e,request:y};f((function(e){a(e),g()}),(function(e){c(e),g()}),b),y=null}}if(y.open(e.method.toUpperCase(),t(w,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=S:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(S)},y.onabort=function(){y&&(c(new s("Request aborted",s.ECONNABORTED,e,y)),y=null)},y.onerror=function(){c(new s("Network Error",s.ERR_NETWORK,e,y,y)),y=null},y.ontimeout=function(){var a=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",d=e.transitional||o;e.timeoutErrorMessage&&(a=e.timeoutErrorMessage),c(new s(a,d.clarifyTimeoutError?s.ETIMEDOUT:s.ECONNABORTED,e,y)),y=null},d.isStandardBrowserEnv()){var E=(e.withCredentials||i(w))&&e.xsrfCookieName?b.read(e.xsrfCookieName):void 0;E&&(p[e.xsrfHeaderName]=E)}"setRequestHeader"in y&&d.forEach(p,(function(e,a){void 0===h&&"content-type"===a.toLowerCase()?delete p[a]:y.setRequestHeader(a,e)})),d.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),m&&"json"!==m&&(y.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(u=function(e){y&&(c(!e||e&&e.type?new l:e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(u),e.signal&&(e.signal.aborted?u():e.signal.addEventListener("abort",u))),h||(h=null);var A=x(w);A&&-1===["http","https","file"].indexOf(A)?c(new s("Unsupported protocol "+A+":",s.ERR_BAD_REQUEST,e)):y.send(h)}))}},51609:(e,a,c)=>{"use strict";var d=c(64867),f=c(91849),b=c(30321),t=c(47185);var r=function e(a){var c=new b(a),r=f(b.prototype.request,c);return d.extend(r,b.prototype,c),d.extend(r,c),r.create=function(c){return e(t(a,c))},r}(c(45546));r.Axios=b,r.CanceledError=c(60644),r.CancelToken=c(14972),r.isCancel=c(26502),r.VERSION=c(97288).version,r.toFormData=c(47675),r.AxiosError=c(82648),r.Cancel=r.CanceledError,r.all=function(e){return Promise.all(e)},r.spread=c(8713),r.isAxiosError=c(16268),e.exports=r,e.exports.default=r},14972:(e,a,c)=>{"use strict";var d=c(60644);function f(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var a;this.promise=new Promise((function(e){a=e}));var c=this;this.promise.then((function(e){if(c._listeners){var a,d=c._listeners.length;for(a=0;a{"use strict";var d=c(82648);function f(e){d.call(this,null==e?"canceled":e,d.ERR_CANCELED),this.name="CanceledError"}c(64867).inherits(f,d,{__CANCEL__:!0}),e.exports=f},26502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},30321:(e,a,c)=>{"use strict";var d=c(64867),f=c(15327),b=c(80782),t=c(13572),r=c(47185),n=c(94097),i=c(54875),o=i.validators;function s(e){this.defaults=e,this.interceptors={request:new b,response:new b}}s.prototype.request=function(e,a){"string"==typeof e?(a=a||{}).url=e:a=e||{},(a=r(this.defaults,a)).method?a.method=a.method.toLowerCase():this.defaults.method?a.method=this.defaults.method.toLowerCase():a.method="get";var c=a.transitional;void 0!==c&&i.assertOptions(c,{silentJSONParsing:o.transitional(o.boolean),forcedJSONParsing:o.transitional(o.boolean),clarifyTimeoutError:o.transitional(o.boolean)},!1);var d=[],f=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(a)||(f=f&&e.synchronous,d.unshift(e.fulfilled,e.rejected))}));var b,n=[];if(this.interceptors.response.forEach((function(e){n.push(e.fulfilled,e.rejected)})),!f){var s=[t,void 0];for(Array.prototype.unshift.apply(s,d),s=s.concat(n),b=Promise.resolve(a);s.length;)b=b.then(s.shift(),s.shift());return b}for(var l=a;d.length;){var x=d.shift(),u=d.shift();try{l=x(l)}catch(h){u(h);break}}try{b=t(l)}catch(h){return Promise.reject(h)}for(;n.length;)b=b.then(n.shift(),n.shift());return b},s.prototype.getUri=function(e){e=r(this.defaults,e);var a=n(e.baseURL,e.url);return f(a,e.params,e.paramsSerializer)},d.forEach(["delete","get","head","options"],(function(e){s.prototype[e]=function(a,c){return this.request(r(c||{},{method:e,url:a,data:(c||{}).data}))}})),d.forEach(["post","put","patch"],(function(e){function a(a){return function(c,d,f){return this.request(r(f||{},{method:e,headers:a?{"Content-Type":"multipart/form-data"}:{},url:c,data:d}))}}s.prototype[e]=a(),s.prototype[e+"Form"]=a(!0)})),e.exports=s},82648:(e,a,c)=>{"use strict";var d=c(64867);function f(e,a,c,d,f){Error.call(this),this.message=e,this.name="AxiosError",a&&(this.code=a),c&&(this.config=c),d&&(this.request=d),f&&(this.response=f)}d.inherits(f,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var b=f.prototype,t={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){t[e]={value:e}})),Object.defineProperties(f,t),Object.defineProperty(b,"isAxiosError",{value:!0}),f.from=function(e,a,c,t,r,n){var i=Object.create(b);return d.toFlatObject(e,i,(function(e){return e!==Error.prototype})),f.call(i,e.message,a,c,t,r),i.name=e.name,n&&Object.assign(i,n),i},e.exports=f},80782:(e,a,c)=>{"use strict";var d=c(64867);function f(){this.handlers=[]}f.prototype.use=function(e,a,c){return this.handlers.push({fulfilled:e,rejected:a,synchronous:!!c&&c.synchronous,runWhen:c?c.runWhen:null}),this.handlers.length-1},f.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},f.prototype.forEach=function(e){d.forEach(this.handlers,(function(a){null!==a&&e(a)}))},e.exports=f},94097:(e,a,c)=>{"use strict";var d=c(91793),f=c(7303);e.exports=function(e,a){return e&&!d(a)?f(e,a):a}},13572:(e,a,c)=>{"use strict";var d=c(64867),f=c(18527),b=c(26502),t=c(45546),r=c(60644);function n(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new r}e.exports=function(e){return n(e),e.headers=e.headers||{},e.data=f.call(e,e.data,e.headers,e.transformRequest),e.headers=d.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),d.forEach(["delete","get","head","post","put","patch","common"],(function(a){delete e.headers[a]})),(e.adapter||t.adapter)(e).then((function(a){return n(e),a.data=f.call(e,a.data,a.headers,e.transformResponse),a}),(function(a){return b(a)||(n(e),a&&a.response&&(a.response.data=f.call(e,a.response.data,a.response.headers,e.transformResponse))),Promise.reject(a)}))}},47185:(e,a,c)=>{"use strict";var d=c(64867);e.exports=function(e,a){a=a||{};var c={};function f(e,a){return d.isPlainObject(e)&&d.isPlainObject(a)?d.merge(e,a):d.isPlainObject(a)?d.merge({},a):d.isArray(a)?a.slice():a}function b(c){return d.isUndefined(a[c])?d.isUndefined(e[c])?void 0:f(void 0,e[c]):f(e[c],a[c])}function t(e){if(!d.isUndefined(a[e]))return f(void 0,a[e])}function r(c){return d.isUndefined(a[c])?d.isUndefined(e[c])?void 0:f(void 0,e[c]):f(void 0,a[c])}function n(c){return c in a?f(e[c],a[c]):c in e?f(void 0,e[c]):void 0}var i={url:t,method:t,data:t,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:n};return d.forEach(Object.keys(e).concat(Object.keys(a)),(function(e){var a=i[e]||b,f=a(e);d.isUndefined(f)&&a!==n||(c[e]=f)})),c}},36026:(e,a,c)=>{"use strict";var d=c(82648);e.exports=function(e,a,c){var f=c.config.validateStatus;c.status&&f&&!f(c.status)?a(new d("Request failed with status code "+c.status,[d.ERR_BAD_REQUEST,d.ERR_BAD_RESPONSE][Math.floor(c.status/100)-4],c.config,c.request,c)):e(c)}},18527:(e,a,c)=>{"use strict";var d=c(64867),f=c(45546);e.exports=function(e,a,c){var b=this||f;return d.forEach(c,(function(c){e=c.call(b,e,a)})),e}},45546:(e,a,c)=>{"use strict";var d=c(34155),f=c(64867),b=c(16016),t=c(82648),r=c(77874),n=c(47675),i={"Content-Type":"application/x-www-form-urlencoded"};function o(e,a){!f.isUndefined(e)&&f.isUndefined(e["Content-Type"])&&(e["Content-Type"]=a)}var s,l={transitional:r,adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==d&&"[object process]"===Object.prototype.toString.call(d))&&(s=c(55448)),s),transformRequest:[function(e,a){if(b(a,"Accept"),b(a,"Content-Type"),f.isFormData(e)||f.isArrayBuffer(e)||f.isBuffer(e)||f.isStream(e)||f.isFile(e)||f.isBlob(e))return e;if(f.isArrayBufferView(e))return e.buffer;if(f.isURLSearchParams(e))return o(a,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var c,d=f.isObject(e),t=a&&a["Content-Type"];if((c=f.isFileList(e))||d&&"multipart/form-data"===t){var r=this.env&&this.env.FormData;return n(c?{"files[]":e}:e,r&&new r)}return d||"application/json"===t?(o(a,"application/json"),function(e,a,c){if(f.isString(e))try{return(a||JSON.parse)(e),f.trim(e)}catch(d){if("SyntaxError"!==d.name)throw d}return(c||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var a=this.transitional||l.transitional,c=a&&a.silentJSONParsing,d=a&&a.forcedJSONParsing,b=!c&&"json"===this.responseType;if(b||d&&f.isString(e)&&e.length)try{return JSON.parse(e)}catch(r){if(b){if("SyntaxError"===r.name)throw t.from(r,t.ERR_BAD_RESPONSE,this,null,this.response);throw r}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:c(91623)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};f.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),f.forEach(["post","put","patch"],(function(e){l.headers[e]=f.merge(i)})),e.exports=l},77874:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},97288:e=>{e.exports={version:"0.27.2"}},91849:e=>{"use strict";e.exports=function(e,a){return function(){for(var c=new Array(arguments.length),d=0;d{"use strict";var d=c(64867);function f(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,a,c){if(!a)return e;var b;if(c)b=c(a);else if(d.isURLSearchParams(a))b=a.toString();else{var t=[];d.forEach(a,(function(e,a){null!=e&&(d.isArray(e)?a+="[]":e=[e],d.forEach(e,(function(e){d.isDate(e)?e=e.toISOString():d.isObject(e)&&(e=JSON.stringify(e)),t.push(f(a)+"="+f(e))})))})),b=t.join("&")}if(b){var r=e.indexOf("#");-1!==r&&(e=e.slice(0,r)),e+=(-1===e.indexOf("?")?"?":"&")+b}return e}},7303:e=>{"use strict";e.exports=function(e,a){return a?e.replace(/\/+$/,"")+"/"+a.replace(/^\/+/,""):e}},4372:(e,a,c)=>{"use strict";var d=c(64867);e.exports=d.isStandardBrowserEnv()?{write:function(e,a,c,f,b,t){var r=[];r.push(e+"="+encodeURIComponent(a)),d.isNumber(c)&&r.push("expires="+new Date(c).toGMTString()),d.isString(f)&&r.push("path="+f),d.isString(b)&&r.push("domain="+b),!0===t&&r.push("secure"),document.cookie=r.join("; ")},read:function(e){var a=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},91793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},16268:(e,a,c)=>{"use strict";var d=c(64867);e.exports=function(e){return d.isObject(e)&&!0===e.isAxiosError}},67985:(e,a,c)=>{"use strict";var d=c(64867);e.exports=d.isStandardBrowserEnv()?function(){var e,a=/(msie|trident)/i.test(navigator.userAgent),c=document.createElement("a");function f(e){var d=e;return a&&(c.setAttribute("href",d),d=c.href),c.setAttribute("href",d),{href:c.href,protocol:c.protocol?c.protocol.replace(/:$/,""):"",host:c.host,search:c.search?c.search.replace(/^\?/,""):"",hash:c.hash?c.hash.replace(/^#/,""):"",hostname:c.hostname,port:c.port,pathname:"/"===c.pathname.charAt(0)?c.pathname:"/"+c.pathname}}return e=f(window.location.href),function(a){var c=d.isString(a)?f(a):a;return c.protocol===e.protocol&&c.host===e.host}}():function(){return!0}},16016:(e,a,c)=>{"use strict";var d=c(64867);e.exports=function(e,a){d.forEach(e,(function(c,d){d!==a&&d.toUpperCase()===a.toUpperCase()&&(e[a]=c,delete e[d])}))}},91623:e=>{e.exports=null},84109:(e,a,c)=>{"use strict";var d=c(64867),f=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var a,c,b,t={};return e?(d.forEach(e.split("\n"),(function(e){if(b=e.indexOf(":"),a=d.trim(e.substr(0,b)).toLowerCase(),c=d.trim(e.substr(b+1)),a){if(t[a]&&f.indexOf(a)>=0)return;t[a]="set-cookie"===a?(t[a]?t[a]:[]).concat([c]):t[a]?t[a]+", "+c:c}})),t):t}},90205:e=>{"use strict";e.exports=function(e){var a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}},8713:e=>{"use strict";e.exports=function(e){return function(a){return e.apply(null,a)}}},47675:(e,a,c)=>{"use strict";var d=c(48764).Buffer,f=c(64867);e.exports=function(e,a){a=a||new FormData;var c=[];function b(e){return null===e?"":f.isDate(e)?e.toISOString():f.isArrayBuffer(e)||f.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):d.from(e):e}return function e(d,t){if(f.isPlainObject(d)||f.isArray(d)){if(-1!==c.indexOf(d))throw Error("Circular reference detected in "+t);c.push(d),f.forEach(d,(function(c,d){if(!f.isUndefined(c)){var r,n=t?t+"."+d:d;if(c&&!t&&"object"==typeof c)if(f.endsWith(d,"{}"))c=JSON.stringify(c);else if(f.endsWith(d,"[]")&&(r=f.toArray(c)))return void r.forEach((function(e){!f.isUndefined(e)&&a.append(n,b(e))}));e(c,n)}})),c.pop()}else a.append(t,b(d))}(e),a}},54875:(e,a,c)=>{"use strict";var d=c(97288).version,f=c(82648),b={};["object","boolean","number","function","string","symbol"].forEach((function(e,a){b[e]=function(c){return typeof c===e||"a"+(a<1?"n ":" ")+e}}));var t={};b.transitional=function(e,a,c){function b(e,a){return"[Axios v"+d+"] Transitional option '"+e+"'"+a+(c?". "+c:"")}return function(c,d,r){if(!1===e)throw new f(b(d," has been removed"+(a?" in "+a:"")),f.ERR_DEPRECATED);return a&&!t[d]&&(t[d]=!0,console.warn(b(d," has been deprecated since v"+a+" and will be removed in the near future"))),!e||e(c,d,r)}},e.exports={assertOptions:function(e,a,c){if("object"!=typeof e)throw new f("options must be an object",f.ERR_BAD_OPTION_VALUE);for(var d=Object.keys(e),b=d.length;b-- >0;){var t=d[b],r=a[t];if(r){var n=e[t],i=void 0===n||r(n,t,e);if(!0!==i)throw new f("option "+t+" must be "+i,f.ERR_BAD_OPTION_VALUE)}else if(!0!==c)throw new f("Unknown option "+t,f.ERR_BAD_OPTION)}},validators:b}},64867:(e,a,c)=>{"use strict";var d,f=c(91849),b=Object.prototype.toString,t=(d=Object.create(null),function(e){var a=b.call(e);return d[a]||(d[a]=a.slice(8,-1).toLowerCase())});function r(e){return e=e.toLowerCase(),function(a){return t(a)===e}}function n(e){return Array.isArray(e)}function i(e){return void 0===e}var o=r("ArrayBuffer");function s(e){return null!==e&&"object"==typeof e}function l(e){if("object"!==t(e))return!1;var a=Object.getPrototypeOf(e);return null===a||a===Object.prototype}var x=r("Date"),u=r("File"),h=r("Blob"),p=r("FileList");function m(e){return"[object Function]"===b.call(e)}var g=r("URLSearchParams");function y(e,a){if(null!=e)if("object"!=typeof e&&(e=[e]),n(e))for(var c=0,d=e.length;c0;)t[b=d[f]]||(a[b]=e[b],t[b]=!0);e=Object.getPrototypeOf(e)}while(e&&(!c||c(e,a))&&e!==Object.prototype);return a},kindOf:t,kindOfTest:r,endsWith:function(e,a,c){e=String(e),(void 0===c||c>e.length)&&(c=e.length),c-=a.length;var d=e.indexOf(a,c);return-1!==d&&d===c},toArray:function(e){if(!e)return null;var a=e.length;if(i(a))return null;for(var c=new Array(a);a-- >0;)c[a]=e[a];return c},isTypedArray:_,isFileList:p}},10130:(e,a,c)=>{const d=c(69480),f=c(93195),b=c(39819),t=c(30412),r=c(6157),n=255===new Uint8Array(Uint16Array.of(255).buffer)[0];function i(e){switch(e){case"ascii":return d;case"base64":return f;case"hex":return b;case"utf8":case"utf-8":case void 0:return t;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r;default:throw new Error(`Unknown encoding: ${e}`)}}function o(e){return e instanceof Uint8Array}function s(e,a,c){return"string"==typeof e?function(e,a){const c=i(a),d=new Uint8Array(c.byteLength(e));return c.write(d,e,0,d.byteLength),d}(e,a):Array.isArray(e)?function(e){const a=new Uint8Array(e.length);return a.set(e),a}(e):ArrayBuffer.isView(e)?function(e){const a=new Uint8Array(e.byteLength);return a.set(e),a}(e):function(e,a,c){return new Uint8Array(e,a,c)}(e,a,c)}function l(e,a,c,d,f){if(0===e.byteLength)return-1;if("string"==typeof c?(d=c,c=0):void 0===c?c=f?0:e.length-1:c<0&&(c+=e.byteLength),c>=e.byteLength){if(f)return-1;c=e.byteLength-1}else if(c<0){if(!f)return-1;c=0}if("string"==typeof a)a=s(a,d);else if("number"==typeof a)return a&=255,f?e.indexOf(a,c):e.lastIndexOf(a,c);if(0===a.byteLength)return-1;if(f){let d=-1;for(let f=c;fe.byteLength&&(c=e.byteLength-a.byteLength);for(let d=c;d>=0;d--){let c=!0;for(let f=0;ff)return 1}return e.byteLength>a.byteLength?1:e.byteLengthe+a.byteLength),0));const c=new Uint8Array(a);let d=0;for(const f of e){if(d+f.byteLength>c.byteLength){const e=f.subarray(0,c.byteLength-d);return c.set(e,d),c}c.set(f,d),d+=f.byteLength}return c},copy:function(e,a,c=0,d=0,f=e.byteLength){if(f>0&&f=e.byteLength)throw new RangeError("sourceStart is out of range");if(f<0)throw new RangeError("sourceEnd is out of range");c>=a.byteLength&&(c=a.byteLength),f>e.byteLength&&(f=e.byteLength),a.byteLength-c=f||d<=c?"":(c<0&&(c=0),d>f&&(d=f),(0!==c||d{function a(e){return e.length}e.exports={byteLength:a,toString:function(e){const a=e.byteLength;let c="";for(let d=0;d{const a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=new Uint8Array(256);for(let f=0;f1&&61===e.charCodeAt(a-1)&&a--,3*a>>>2}c[45]=62,c[95]=63,e.exports={byteLength:d,toString:function(e){const c=e.byteLength;let d="";for(let f=0;f>2]+a[(3&e[f])<<4|e[f+1]>>4]+a[(15&e[f+1])<<2|e[f+2]>>6]+a[63&e[f+2]];return c%3==2?d=d.substring(0,d.length-1)+"=":c%3==1&&(d=d.substring(0,d.length-2)+"=="),d},write:function(e,a,f=0,b=d(a)){const t=Math.min(b,e.byteLength-f);for(let d=0,r=0;r>4,e[r++]=(15&b)<<4|t>>2,e[r++]=(3&t)<<6|63&n}return t}}},39819:e=>{function a(e){return e.length>>>1}function c(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:void 0}e.exports={byteLength:a,toString:function(e){const a=e.byteLength;e=new DataView(e.buffer,e.byteOffset,a);let c="",d=0;for(let f=a-a%4;d{function a(e){return 2*e.length}e.exports={byteLength:a,toString:function(e){const a=e.byteLength;let c="";for(let d=0;d>8,t=f%256;e[d+2*a]=t,e[d+2*a+1]=b}return b}}},30412:e=>{function a(e){let a=0;for(let c=0,d=e.length;c=55296&&f<=56319&&c+1=56320&&d<=57343){a+=4,c++;continue}}a+=f<=127?1:f<=2047?2:3}return a}let c,d;if("undefined"!=typeof TextDecoder){const e=new TextDecoder;c=function(a){return e.decode(a)}}else c=function(e){const a=e.byteLength;let c="",d=0;for(;d0){let a=0;for(;a>d,d-=6;d>=0;)e[r++]=128|a>>d&63,d-=6;t+=a>=65536?2:1}return b};e.exports={byteLength:a,toString:c,write:d}},723:(e,a,c)=>{"use strict";c.d(a,{Z:()=>x});var d=c(67294),f=c(87462),b=c(68356),t=c.n(b),r=c(16887);const n={"0032f96f":[()=>c.e(100).then(c.bind(c,71659)),"@site/docs/sdk/reference/enums/EnvOptions.md",71659],"00ff508f":[()=>c.e(6811).then(c.bind(c,49589)),"@site/docs/protocol/data-schemes/vote.md",49589],"0128e05f":[()=>c.e(2636).then(c.bind(c,58146)),"@site/docs/sdk/reference/classes/FileAPI.md",58146],"01f4109f":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(6781)]).then(c.bind(c,84522)),"@site/docs/vocdoni-api/list-account-received-and-sent-token-transfers.api.mdx",84522],"03c6674d":[()=>c.e(4720).then(c.bind(c,56675)),"@site/docs/sdk/reference/classes/MultiChoiceElection.md",56675],"03d8c746":[()=>c.e(9967).then(c.bind(c,69109)),"@site/docs/sdk/reference/classes/FileService.md",69109],"041c568b":[()=>c.e(9366).then(c.bind(c,92978)),"@site/docs/sdk/reference/interfaces/IVoteEncryptedPackage.md",92978],"080a9ee7":[()=>c.e(3913).then(c.bind(c,62998)),"@site/docs/sdk/reference/enums/CensusTypeEnum.md",62998],"08636a24":[()=>c.e(374).then(c.bind(c,21054)),"@site/docs/sdk/reference/classes/ElectionService.md",21054],"09cca914":[()=>c.e(9410).then(c.bind(c,94455)),"@site/docs/sdk/reference/interfaces/ITallyMode.md",94455],"0a3f3d31":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(5122)]).then(c.bind(c,61890)),"@site/docs/vocdoni-api/list-election-votes.api.mdx",61890],"0af2e8f6":[()=>c.e(2756).then(c.bind(c,48458)),"@site/docs/sdk/reference/interfaces/ICspAuthStep.md",48458],"0bcfcae9":[()=>c.e(6891).then(c.bind(c,36502)),"@site/docs/sdk/reference/classes/Election.md",36502],"0ce9971d":[()=>c.e(6133).then(c.bind(c,76637)),"@site/docs/sdk/reference/classes/StrategyCensus.md",76637],"0f556ffa":[()=>c.e(2467).then(c.bind(c,8207)),"@site/docs/sdk/reference/interfaces/ICensus3TokenTypesResponse.md",8207],"0fa69d70":[()=>c.e(1371).then(c.bind(c,13302)),"@site/docs/sdk/reference/interfaces/ICensusPublishResponse.md",13302],"0fc92a72":[()=>c.e(5253).then(c.bind(c,27084)),"@site/docs/sdk/reference/interfaces/ICensus3ValidatePredicateChild.md",27084],"109756a8":[()=>c.e(2870).then(c.bind(c,88064)),"@site/docs/sdk/reference/classes/ApprovalElection.md",88064],"10dce6d4":[()=>c.e(7493).then(c.bind(c,71333)),"@site/docs/sdk/reference/interfaces/IAccountsListResponse.md",71333],"11667d91":[()=>c.e(1425).then(c.bind(c,50052)),"@site/docs/sdk/reference/interfaces/IMultiChoiceElectionParameters.md",50052],"11bcc7e5":[()=>c.e(534).then(c.bind(c,50514)),"@site/docs/sdk/reference/classes/CspAPI.md",50514],"11d03c56":[()=>c.e(8759).then(c.bind(c,78989)),"@site/docs/protocol/anonymity/on-chain.md",78989],"123fab3b":[()=>Promise.all([c.e(532),c.e(2284),c.e(1739)]).then(c.bind(c,9003)),"@site/docs/vocdoni-api/votes.tag.mdx",9003],"1302233f":[()=>c.e(7926).then(c.bind(c,39845)),"@site/docs/sdk/reference/interfaces/ICspFinalStepResponse.md",39845],"134f4ebc":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(738)]).then(c.bind(c,6002)),"@site/docs/vocdoni-api/set-wallet-account.api.mdx",6002],"13df6360":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(6499)]).then(c.bind(c,11349)),"@site/docs/vocdoni-api/price-factors-information.api.mdx",11349],"15bb616c":[()=>c.e(830).then(c.bind(c,92234)),"@site/docs/protocol/data-schemes/election.md",92234],"16c4bb07":[()=>c.e(7533).then(c.bind(c,21852)),"@site/docs/sdk/reference/interfaces/ICensus3StrategyHoldersResponse.md",21852],"16e8ae75":[()=>c.e(6418).then(c.bind(c,61593)),"@site/docs/sdk/reference/interfaces/IElectionListFilter.md",61593],"1821d9d7":[()=>c.e(1510).then(c.bind(c,3253)),"@site/docs/sdk/reference/interfaces/ICensus3StrategyEstimationQueueResponse.md",3253],"1a4e3797":[()=>Promise.all([c.e(532),c.e(7920)]).then(c.bind(c,39172)),"@theme/SearchPage",39172],"1be78505":[()=>Promise.all([c.e(532),c.e(9514)]).then(c.bind(c,40683)),"@theme/DocPage",40683],"1c3bce93":[()=>c.e(1414).then(c.bind(c,89396)),"@site/docs/sdk/reference/classes/PublishedCensus.md",89396],"1c471216":[()=>c.e(8355).then(c.bind(c,28432)),"@site/docs/development-guidelines/how-we-work.md",28432],"1cd58b57":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(8545)]).then(c.bind(c,9594)),"@site/docs/vocdoni-api/import-census-database.api.mdx",9594],"1cf70006":[()=>c.e(5267).then(c.bind(c,89355)),"@site/docs/ui-components/layout.mdx",89355],"1d5be7b1":[()=>c.e(2428).then(c.bind(c,49986)),"@site/docs/protocol/census/on-chain/on-chain.md",49986],"1dbfd172":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(180)]).then(c.bind(c,74470)),"@site/docs/vocdoni-api/list-all-token-transfers.api.mdx",74470],"1df93b7f":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(3750),c.e(3237)]).then(c.bind(c,39884)),"@site/src/pages/index.tsx",39884],"1e6527e1":[()=>c.e(4719).then(c.bind(c,7490)),"@site/docs/sdk/reference/interfaces/Tx.md",7490],"1e8e5e9a":[()=>c.e(4881).then(c.bind(c,94067)),"@site/docs/sdk/reference/classes/ElectionAPI.md",94067],"1ed63671":[()=>c.e(7998).then(c.bind(c,92064)),"@site/docs/sdk/reference/enums/TransactionType.md",92064],"1edcfddb":[()=>c.e(5288).then(c.bind(c,88593)),"@site/docs/sdk/reference/interfaces/ServiceProperties.md",88593],"21fe5cbf":[()=>c.e(7454).then(c.bind(c,78679)),"@site/docs/sdk/reference/interfaces/IZkProofResponse.md",78679],22155637:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(5268)]).then(c.bind(c,95321)),"@site/docs/vocdoni-api/list-validators.api.mdx",95321],"2340828a":[()=>c.e(4376).then(c.bind(c,20137)),"@site/docs/sdk/reference/classes/FaucetService.md",20137],"23e9e137":[()=>c.e(8016).then(c.bind(c,59841)),"@site/docs/sdk/reference/interfaces/ICensusExportResponse.md",59841],"24ee6be4":[()=>c.e(5326).then(c.bind(c,72109)),"@site/docs/sdk/reference/interfaces/ICensusParticipant.md",72109],"25c97383":[()=>c.e(5673).then(c.bind(c,44073)),"@site/docs/sdk/reference/classes/ZkAPI.md",44073],"260b3d09":[()=>c.e(5214).then(c.bind(c,8077)),"@site/docs/sdk/reference/classes/Service.md",8077],"26fdd686":[()=>c.e(2677).then(c.bind(c,90212)),"@site/docs/development-guidelines/readme-template.md",90212],"2730d8e4":[()=>c.e(8597).then(c.bind(c,81169)),"@site/docs/sdk/reference/interfaces/SetProcessTx.md",81169],"29c8ca5d":[()=>c.e(4463).then(c.bind(c,84677)),"@site/docs/sdk/reference/classes/VoteAPI.md",84677],"2a79697e":[()=>c.e(265).then(c.bind(c,28578)),"@site/docs/sdk/reference/interfaces/IChainFeesListResponse.md",28578],"2dbb09aa":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(5378)]).then(c.bind(c,14010)),"@site/docs/vocdoni-api/count-election-votes.api.mdx",14010],"2eb5a7fb":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(2360)]).then(c.bind(c,17728)),"@site/docs/vocdoni-api/census-merkle-root.api.mdx",17728],"2f59b2ef":[()=>c.e(274).then(c.bind(c,14386)),"@site/docs/sdk/reference/interfaces/ICensus3ValidatePredicateResponse.md",14386],"335f69d6":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(4540)]).then(c.bind(c,37888)),"@site/docs/vocdoni-api/census-total-weight.api.mdx",37888],"377fc202":[()=>c.e(3516).then(c.bind(c,40552)),"@site/docs/sdk/reference/classes/AccountService.md",40552],"388546f3":[()=>Promise.all([c.e(532),c.e(2284),c.e(8999)]).then(c.bind(c,31545)),"@site/docs/vocdoni-api/elections.tag.mdx",31545],"3930cc8a":[()=>Promise.all([c.e(532),c.e(2284),c.e(3168)]).then(c.bind(c,99098)),"@site/docs/vocdoni-api/sik.tag.mdx",99098],"39a96d3a":[()=>c.e(306).then(c.bind(c,66038)),"@site/docs/sdk/reference/interfaces/ElectionMetadata.md",66038],"3aefc2b6":[()=>c.e(3868).then(c.bind(c,43924)),"@site/docs/sdk/reference/classes/TokenCensus.md",43924],"3b56eb8e":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(5978)]).then(c.bind(c,20863)),"@site/docs/vocdoni-api/create-a-new-census.api.mdx",20863],"3b8a1714":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(8740)]).then(c.bind(c,42045)),"@site/docs/vocdoni-api/create-election-for-wallet.api.mdx",42045],"3bea8dc0":[()=>c.e(2645).then(c.bind(c,8727)),"@site/docs/protocol/census/off-chain-csp/api.md",8727],"3c152c78":[()=>c.e(3625).then(c.bind(c,30194)),"@site/docs/sdk/reference/interfaces/ICensus3ValidatePredicateToken.md",30194],"3da0b0fe":[()=>Promise.all([c.e(532),c.e(2284),c.e(656)]).then(c.bind(c,47215)),"@site/docs/vocdoni-api/accounts.tag.mdx",47215],"3fa72254":[()=>c.e(9217).then(c.bind(c,3553)),"@site/docs/sdk/reference/interfaces/IChainOrganizationResponse.md",3553],"404eb028":[()=>c.e(2827).then(c.bind(c,14196)),"@site/docs/sdk/integration-details/voting-types/quadratic.md",14196],"427be892":[()=>c.e(8913).then(c.bind(c,28068)),"@site/docs/protocol/data-schemes/data-schemes.md",28068],"42a7db00":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(1551)]).then(c.bind(c,82085)),"@site/docs/vocdoni-api/build-an-election-id.api.mdx",82085],"437ed742":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(3796)]).then(c.bind(c,7786)),"@site/docs/vocdoni-api/transaction-by-hash.api.mdx",7786],"445f6f2d":[()=>c.e(7456).then(c.bind(c,67006)),"@site/docs/sdk/reference/interfaces/SetAccountTx.md",67006],"467b2519":[()=>c.e(3158).then(c.bind(c,33391)),"@site/docs/sdk/reference/classes/CensusAPI.md",33391],"46b36dc0":[()=>c.e(3082).then(c.bind(c,6815)),"@site/docs/sdk/integration-details/voting-types/weighted.md",6815],"47d20a96":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(1591)]).then(c.bind(c,53190)),"@site/docs/vocdoni-api/compute-ipfs-ci-dv-1-of-file.api.mdx",53190],"47d37469":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(4013)]).then(c.bind(c,44768)),"@site/docs/vocdoni-api/census-size.api.mdx",44768],"491af8ad":[()=>c.e(135).then(c.bind(c,13471)),"@site/docs/sdk/reference/interfaces/IVoteMode.md",13471],"49b14676":[()=>c.e(7583).then(c.bind(c,43127)),"@site/docs/sdk/reference/classes/CspService.md",43127],"4a1ec646":[()=>c.e(5909).then(c.bind(c,23218)),"@site/docs/sdk/integration-details/census-types/off-chain-csp.md",23218],"4adb919a":[()=>c.e(8033).then(c.bind(c,89541)),"@site/docs/sdk/reference/enums/TxType.md",89541],"4b742bf9":[()=>c.e(5882).then(c.bind(c,94266)),"@site/docs/sdk/reference/interfaces/VoteEnvelope.md",94266],"4bef2fb3":[()=>c.e(5277).then(c.bind(c,19662)),"@site/docs/sdk/reference/interfaces/IVoteInfoResponse.md",19662],"4c5e977b":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(3849),c.e(1893)]).then(c.bind(c,46261)),"@theme/ApiItem",46261],"4d61d27d":[()=>c.e(4253).then(c.bind(c,18672)),"@site/docs/sdk/reference/interfaces/ICensus3ServiceInfoResponse.md",18672],"4d66e9ad":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(9202)]).then(c.bind(c,24401)),"@site/docs/vocdoni-api/delete-census.api.mdx",24401],"4e2de210":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(9057)]).then(c.bind(c,13366)),"@site/docs/vocdoni-api/create-election.api.mdx",13366],"4f32f676":[()=>c.e(1187).then(c.bind(c,27888)),"@site/docs/protocol/ballot-protocol.md",27888],"4f59b7e9":[()=>c.e(674).then(c.bind(c,81791)),"@site/docs/sdk/reference/sdk-reference.md",81791],"4f61726b":[()=>c.e(8882).then(c.bind(c,65124)),"@site/docs/sdk/integration-details/vocdoni-tokens.md",65124],"5125b704":[()=>c.e(1205).then(c.bind(c,72906)),"@site/docs/sdk/reference/interfaces/MintTokensTx.md",72906],"5146c3f9":[()=>c.e(9807).then(c.bind(c,25115)),"@site/docs/ui-components/organization.mdx",25115],"515de0d7":[()=>c.e(7136).then(c.bind(c,65073)),"@site/docs/sdk/reference/interfaces/CollectFaucetTx.md",65073],"518b90c0":[()=>c.e(7037).then(c.bind(c,21993)),"@site/docs/protocol/data-schemes/organization.md",21993],"5344dd0e":[()=>c.e(4519).then(c.bind(c,12726)),"@site/docs/sdk/reference/interfaces/IChainOrganizationListResponse.md",12726],"5383e2bf":[()=>c.e(2323).then(c.bind(c,11550)),"@site/docs/sdk/reference/interfaces/SendTokensTx.md",11550],"540d97a1":[()=>c.e(8038).then(c.bind(c,52246)),"@site/docs/protocol/census/off-chain-csp/off-chain-csp.md",52246],"545dbd82":[()=>c.e(8119).then(c.bind(c,23087)),"@site/docs/sdk/reference/classes/Census.md",23087],"54a4f78f":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(2116)]).then(c.bind(c,20249)),"@site/docs/vocdoni-api/submit-a-vote.api.mdx",20249],"54bc495f":[()=>c.e(3706).then(c.bind(c,22110)),"@site/docs/sdk/integration-details/voting-types/single-choice.md",22110],"5708b463":[()=>c.e(5861).then(c.bind(c,97041)),"@site/docs/sdk/reference/interfaces/IChainGetCircuitResponse.md",97041],57136864:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(2192)]).then(c.bind(c,24856)),"@site/docs/vocdoni-api/transactions-count.api.mdx",24856],"576aa68d":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(891)]).then(c.bind(c,32133)),"@site/docs/vocdoni-api/add-participants-to-census.api.mdx",32133],"58674d3c":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(8363)]).then(c.bind(c,87492)),"@site/docs/vocdoni-api/list-all-blocks.api.mdx",87492],"5945b6f4":[()=>c.e(689).then(c.t.bind(c,83769,19)),"/home/runner/work/developer-portal/developer-portal/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",83769],"5954c450":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(4539)]).then(c.bind(c,51077)),"@site/docs/vocdoni-api/get-vote.api.mdx",51077],"5977a97c":[()=>c.e(9209).then(c.bind(c,8970)),"@site/docs/sdk/reference/interfaces/ICensus3CensusQueueResponse.md",8970],"599fce44":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(4105)]).then(c.bind(c,12300)),"@site/docs/vocdoni-api/list-votes.api.mdx",12300],"59d5b983":[()=>c.e(1557).then(c.bind(c,23791)),"@site/docs/sdk/reference/classes/Account.md",23791],"59e232ee":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(6204)]).then(c.bind(c,50443)),"@site/docs/vocdoni-api/total-number-of-accounts.api.mdx",50443],"5c98d4ea":[()=>c.e(4182).then(c.bind(c,60218)),"@site/docs/sdk/reference/interfaces/IVoteType.md",60218],"5ddc4d53":[()=>c.e(6990).then(c.bind(c,72552)),"@site/docs/sdk/reference/classes/FaucetAPI.md",72552],"5e9f5e1a":[()=>Promise.resolve().then(c.bind(c,36809)),"@generated/docusaurus.config",36809],"5f8415ed":[()=>c.e(9347).then(c.bind(c,76123)),"@site/docs/protocol/anonymity/anonymity.md",76123],"63e7154e":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(2609)]).then(c.bind(c,47852)),"@site/docs/vocdoni-api/list-organizations-filtered.api.mdx",47852],"64aa0b9a":[()=>c.e(3038).then(c.bind(c,73543)),"@site/docs/sdk/reference/interfaces/IChainGetCostsResponse.md",73543],"64c2e320":[()=>c.e(4246).then(c.bind(c,35534)),"@site/docs/sdk/reference/classes/AnonymousService.md",35534],"65d7ebf2":[()=>c.e(3802).then(c.bind(c,76482)),"@site/docs/sdk/reference/interfaces/ICensus3TokenListResponse.md",76482],"65e31fed":[()=>c.e(1871).then(c.t.bind(c,15745,19)),"/home/runner/work/developer-portal/developer-portal/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",15745],"6846a7ba":[()=>c.e(3021).then(c.bind(c,13597)),"@site/docs/sdk/reference/interfaces/IZkSIKResponse.md",13597],"6a011cfc":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(6956)]).then(c.bind(c,35091)),"@site/docs/vocdoni-api/list-all-census-references.api.mdx",35091],"6a02f24e":[()=>c.e(5596).then(c.bind(c,85509)),"@site/docs/sdk/reference/interfaces/IChainTxCountResponse.md",85509],"6aeb5732":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(2277)]).then(c.bind(c,69102)),"@site/docs/vocdoni-api/total-number-of-sent-and-received-transactions.api.mdx",69102],"6b41ffc9":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(6563)]).then(c.bind(c,14701)),"@site/docs/vocdoni-api/compute-election-price.api.mdx",14701],"6b697fd9":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(7813)]).then(c.bind(c,82643)),"@site/docs/vocdoni-api/submit-transaction.api.mdx",82643],"6b74149a":[()=>c.e(9470).then(c.bind(c,47527)),"@site/docs/sdk/reference/interfaces/Process.md",47527],"6b798853":[()=>c.e(8168).then(c.bind(c,38382)),"@site/docs/sdk/reference/interfaces/ICensus3StrategyHoldersResponsePaginated.md",38382],"6bf5cd43":[()=>c.e(6906).then(c.bind(c,81311)),"@site/docs/sdk/reference/interfaces/IElectionCreateResponse.md",81311],"6d3dfbcd":[()=>c.e(7082).then(c.bind(c,29021)),"@site/docs/sdk/reference/interfaces/IChainGetInfoResponse.md",29021],"6e45b099":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(677)]).then(c.bind(c,53947)),"@site/docs/vocdoni-api/check-census-publish-status.api.mdx",53947],"6f005603":[()=>c.e(8901).then(c.bind(c,23173)),"@site/docs/ui-components/react-providers.md",23173],"705711d3":[()=>c.e(8883).then(c.bind(c,85533)),"@site/docs/sdk/reference/interfaces/IAccountTransfersCountResponse.md",85533],"70e3ad0d":[()=>c.e(8930).then(c.bind(c,18157)),"@site/docs/sdk/reference/interfaces/IChainSubmitTxResponse.md",18157],"71f8faad":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(1655)]).then(c.bind(c,9242)),"@site/docs/vocdoni-api/election-information.api.mdx",9242],"725284f7":[()=>c.e(9942).then(c.bind(c,27947)),"@site/docs/sdk/reference/interfaces/FetchElectionsParameters.md",27947],"72dfaf41":[()=>c.e(3215).then(c.bind(c,65846)),"@site/docs/ui-components/index.mdx",65846],"7365c198":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(2079)]).then(c.bind(c,10797)),"@site/docs/vocdoni-api/transaction-by-index.api.mdx",10797],"74b5ba26":[()=>c.e(3773).then(c.bind(c,55317)),"@site/docs/protocol/anonymity/blind-signatures.md",55317],"7603dd20":[()=>c.e(1765).then(c.bind(c,20524)),"@site/docs/protocol/census/on-chain/eth-storage-proofs.md",20524],"7644a8b6":[()=>c.e(5421).then(c.bind(c,52077)),"@site/docs/sdk/reference/interfaces/IElectionListResponse.md",52077],"783013b2":[()=>c.e(7374).then(c.bind(c,46269)),"@site/docs/sdk/reference/classes/CensusService.md",46269],"787465aa":[()=>c.e(7673).then(c.bind(c,96659)),"@site/docs/sdk/reference/classes/AccountAPI.md",96659],"78bbaf06":[()=>c.e(5995).then(c.bind(c,66512)),"@site/docs/sdk/integration-details/voting-types/voting-types.md",66512],"79e28b2f":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(9184)]).then(c.bind(c,1903)),"@site/docs/vocdoni-api/count-organizations.api.mdx",1903],"7acd0d27":[()=>c.e(522).then(c.bind(c,84546)),"@site/docs/sdk/reference/interfaces/CircuitInputs.md",84546],"7b4f5a52":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(8389)]).then(c.bind(c,1175)),"@site/docs/vocdoni-api/transaction-by-block-height-and-index.api.mdx",1175],"7c0d6738":[()=>c.e(1573).then(c.bind(c,40202)),"@site/docs/sdk/reference/classes/Census3StrategyAPI.md",40202],"7ccdd76e":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(2956)]).then(c.bind(c,77437)),"@site/docs/vocdoni-api/publish-census.api.mdx",77437],"80975cc5":[()=>c.e(8004).then(c.t.bind(c,7085,19)),"/home/runner/work/developer-portal/developer-portal/.docusaurus/docusaurus-theme-search-algolia/default/plugin-route-context-module-100.json",7085],"835897f5":[()=>c.e(3227).then(c.bind(c,8223)),"@site/docs/sdk/integration-details/voting-types/ranked.md",8223],"8a23d602":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(2551)]).then(c.bind(c,47241)),"@site/docs/vocdoni-api/export-census-database.api.mdx",47241],"8a92166d":[()=>c.e(6689).then(c.bind(c,61287)),"@site/docs/sdk/reference/interfaces/IEncryptionKey.md",61287],"8b196d05":[()=>c.e(1806).then(c.bind(c,90210)),"@site/docs/sdk/reference/interfaces/ICensus3CensusResponse.md",90210],"8b5652a7":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(2184)]).then(c.bind(c,40765)),"@site/docs/vocdoni-api/list-of-valid-sik-roots.api.mdx",40765],"8d68bc4a":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(8976)]).then(c.bind(c,65697)),"@site/docs/vocdoni-api/transaction-costs.api.mdx",65697],"8d8eb18d":[()=>c.e(5487).then(c.bind(c,24288)),"@site/docs/protocol/census/census.md",24288],"8db7ed3c":[()=>c.e(5210).then(c.bind(c,83373)),"@site/docs/sdk/reference/interfaces/ICspInfoResponse.md",83373],"8e01bad3":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(6135)]).then(c.bind(c,24895)),"@site/docs/vocdoni-api/election-results.api.mdx",24895],"8ec8cf1f":[()=>c.e(8399).then(c.bind(c,6274)),"@site/docs/sdk/reference/interfaces/ICensusImportResponse.md",6274],"8ed7db60":[()=>c.e(2931).then(c.bind(c,39979)),"@site/docs/sdk/reference/interfaces/NewProcessTx.md",39979],"9029ef47":[()=>c.e(1126).then(c.bind(c,61400)),"@site/docs/sdk/reference/interfaces/IElectionKeysResponse.md",61400],92348782:[()=>c.e(9940).then(c.bind(c,52437)),"@site/docs/sdk/reference/interfaces/ICensus3TokenListResponsePaginated.md",52437],"935f2afb":[()=>c.e(53).then(c.t.bind(c,1109,19)),"~docs/default/version-current-metadata-prop-751.json",1109],93908748:[()=>c.e(4805).then(c.bind(c,20951)),"@site/docs/sdk/reference/interfaces/ICensus3TokenHolderResponse.md",20951],"94050a54":[()=>c.e(8180).then(c.bind(c,18967)),"@site/docs/sdk/reference/interfaces/ICensus3StrategiesOperatorsResponse.md",18967],"945f0be5":[()=>c.e(5104).then(c.bind(c,57462)),"@site/docs/sdk/reference/classes/Census3TokenAPI.md",57462],"9611c1ba":[()=>c.e(6567).then(c.bind(c,36543)),"@site/docs/sdk/reference/enums/ElectionResultsTypeNames.md",36543],"9728e091":[()=>c.e(5470).then(c.bind(c,30775)),"@site/docs/sdk/integration-details/census-types/off-chain-tree.md",30775],"999cbc12":[()=>c.e(2600).then(c.bind(c,93106)),"@site/docs/sdk/reference/interfaces/IElectionVote.md",93106],"99a9ad46":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(1290)]).then(c.bind(c,3762)),"@site/docs/vocdoni-api/verify-merkle-proof.api.mdx",3762],"99ffa32d":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(5698)]).then(c.bind(c,69667)),"@site/docs/vocdoni-api/verify-vote.api.mdx",69667],"9b026235":[()=>c.e(9694).then(c.bind(c,98342)),"@site/docs/sdk/reference/interfaces/ICspIntermediateStepResponse.md",98342],"9e4ccdce":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(9128)]).then(c.bind(c,18918)),"@site/docs/vocdoni-api/estimate-block-to-date.api.mdx",18918],"9ea3e4a5":[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(4820)]).then(c.bind(c,94369)),"@site/docs/vocdoni-api/export-census.api.mdx",94369],"9f384d53":[()=>c.e(5058).then(c.bind(c,56697)),"@site/docs/sdk/reference/interfaces/IChainValidator.md",56697],"9f9eec24":[()=>c.e(1094).then(c.bind(c,55218)),"@site/docs/sdk/reference/interfaces/IChainValidatorsListResponse.md",55218],a10fd229:[()=>c.e(2720).then(c.bind(c,63966)),"@site/docs/ui-components/election.mdx",63966],a21738db:[()=>c.e(3334).then(c.bind(c,90591)),"@site/docs/protocol/index.md",90591],a217fb3c:[()=>c.e(6386).then(c.bind(c,15079)),"@site/docs/sdk/reference/classes/WeightedCensus.md",15079],a2cbb706:[()=>c.e(1966).then(c.bind(c,5130)),"@site/docs/sdk/reference/classes/ChainService.md",5130],a674c74b:[()=>c.e(6412).then(c.bind(c,22006)),"@site/docs/sdk/reference/classes/PlainCensus.md",22006],a7835d3e:[()=>c.e(6723).then(c.bind(c,46887)),"@site/docs/sdk/reference/classes/AnonymousVote.md",46887],a7c28e13:[()=>c.e(7862).then(c.bind(c,51659)),"@site/docs/sdk/integration-details/census-types/census-types.md",51659],a87232fc:[()=>c.e(7347).then(c.bind(c,43556)),"@site/docs/sdk/reference/interfaces/ICensus3SupportedChain.md",43556],aa9e799f:[()=>c.e(4183).then(c.bind(c,95618)),"@site/docs/sdk/integration-details/census-types/on-chain/on-chain.md",95618],aab6ad66:[()=>c.e(260).then(c.bind(c,9034)),"@site/docs/sdk/reference/classes/ArchivedElection.md",9034],ac57e32f:[()=>c.e(848).then(c.bind(c,25280)),"@site/docs/sdk/reference/enums/CspProofType.md",25280],ace89945:[()=>c.e(7612).then(c.bind(c,45613)),"@site/docs/sdk/reference/interfaces/IAccount.md",45613],ad99c2e7:[()=>c.e(4600).then(c.bind(c,28794)),"@site/docs/sdk/reference/interfaces/AdminTx.md",28794],ae74964d:[()=>c.e(297).then(c.bind(c,887)),"@site/docs/sdk/reference/classes/CspVote.md",887],ae785ce1:[()=>c.e(3496).then(c.bind(c,85877)),"@site/docs/sdk/reference/interfaces/IPublishedElectionParameters.md",85877],af3402af:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(6425)]).then(c.bind(c,23761)),"@site/docs/vocdoni-api/circuit-info.api.mdx",23761],af55f10e:[()=>c.e(5580).then(c.bind(c,26224)),"@site/docs/sdk/reference/classes/VocdoniCensus3Client.md",26224],af663d33:[()=>c.e(4721).then(c.bind(c,14063)),"@site/docs/sdk/reference/interfaces/IAccountsCountResponse.md",14063],b0b03425:[()=>Promise.all([c.e(532),c.e(2284),c.e(3023)]).then(c.bind(c,40062)),"@site/docs/vocdoni-api/chain.tag.mdx",40062],b0d01e95:[()=>c.e(1968).then(c.bind(c,29542)),"@site/docs/sdk/reference/interfaces/IElectionInfoResponse.md",29542],b157c9db:[()=>c.e(6861).then(c.bind(c,7850)),"@site/docs/ui-components/account.mdx",7850],b16aadd2:[()=>c.e(7055).then(c.bind(c,23237)),"@site/docs/sdk/01-tutorial.md",23237],b212ee85:[()=>c.e(9232).then(c.bind(c,66962)),"@site/docs/protocol/census/on-chain/census3.md",66962],b2b5a0c0:[()=>c.e(1270).then(c.bind(c,90002)),"@site/docs/sdk/reference/interfaces/IChainOrganizationCountResponse.md",90002],b3153972:[()=>c.e(7631).then(c.bind(c,28493)),"@site/docs/sdk/reference/interfaces/ICensus3StrategiesListResponse.md",28493],b491e6b8:[()=>c.e(2859).then(c.bind(c,77122)),"@site/docs/sdk/reference/interfaces/IChoice.md",77122],b5881b04:[()=>c.e(9589).then(c.bind(c,27382)),"@site/docs/sdk/reference/interfaces/IElectionMode.md",27382],b7cc9ed0:[()=>c.e(9097).then(c.bind(c,31233)),"@site/docs/sdk/reference/enums/ElectionStatus.md",31233],b7def961:[()=>c.e(1011).then(c.bind(c,96350)),"@site/docs/sdk/integration-details/integration-details.md",96350],b80cad64:[()=>c.e(8149).then(c.bind(c,38254)),"@site/docs/sdk/reference/interfaces/IBlockTransactionsResponse.md",38254],b83e4bd7:[()=>c.e(9229).then(c.bind(c,14484)),"@site/docs/sdk/reference/interfaces/IVoteSubmitResponse.md",14484],b862b811:[()=>c.e(9756).then(c.bind(c,7453)),"@site/docs/sdk/reference/interfaces/ICensus3StrategiesListResponsePaginated.md",7453],b8b370b8:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(7592)]).then(c.bind(c,56721)),"@site/docs/vocdoni-api/list-account-token-fees.api.mdx",56721],bddc6002:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(47)]).then(c.bind(c,53982)),"@site/docs/vocdoni-api/transactions-in-a-block.api.mdx",53982],bec6d9ae:[()=>c.e(211).then(c.bind(c,64793)),"@site/docs/sdk/reference/interfaces/AccountMetadata.md",64793],bfbab14f:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(7799)]).then(c.bind(c,52438)),"@site/docs/vocdoni-api/prove-key-to-census.api.mdx",52438],c121c8d5:[()=>c.e(3195).then(c.bind(c,73535)),"@site/docs/sdk/reference/interfaces/Proof.md",73535],c12940ed:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(182)]).then(c.bind(c,46275)),"@site/docs/vocdoni-api/list-encryption-keys.api.mdx",46275],c2c73492:[()=>c.e(1865).then(c.bind(c,20788)),"@site/docs/sdk/reference/interfaces/IElectionVoteListResponse.md",20788],c4573554:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(4259)]).then(c.bind(c,15980)),"@site/docs/vocdoni-api/list-organization-elections.api.mdx",15980],c5434c58:[()=>c.e(7694).then(c.bind(c,19216)),"@site/docs/sdk/reference/interfaces/RegisterKeyTx.md",19216],c626f2cc:[()=>c.e(422).then(c.bind(c,41300)),"@site/docs/sdk/reference/classes/VocdoniSDKClient.md",41300],c84aae18:[()=>c.e(4324).then(c.bind(c,13083)),"@site/docs/sdk/reference/classes/BudgetElection.md",13083],c87cc133:[()=>c.e(4674).then(c.bind(c,33392)),"@site/docs/sdk/reference/classes/Census3ServiceAPI.md",33392],c8cd88a5:[()=>Promise.all([c.e(532),c.e(1597)]).then(c.bind(c,51910)),"@site/docs/vocdoni-api/vocdoni-api.info.mdx",51910],caece487:[()=>c.e(8161).then(c.bind(c,72227)),"@site/docs/sdk/reference/interfaces/SetTransactionCostsTx.md",72227],cb94bb2a:[()=>c.e(6165).then(c.bind(c,5313)),"@site/docs/sdk/reference/interfaces/IVotePackage.md",5313],cce83bc5:[()=>c.e(6686).then(c.bind(c,49466)),"@site/docs/sdk/reference/interfaces/IElectionSummary.md",49466],d234883f:[()=>c.e(8277).then(c.bind(c,19574)),"@site/docs/protocol/anonymity/zk-census-proof.md",19574],d250e750:[()=>c.e(5677).then(c.bind(c,96405)),"@site/docs/sdk/reference/interfaces/IQuestion.md",96405],d28adde9:[()=>c.e(4201).then(c.bind(c,92701)),"@site/docs/sdk/reference/interfaces/ICensus.md",92701],d2ab4b32:[()=>c.e(1935).then(c.bind(c,86894)),"@site/docs/sdk/reference/enums/ElectionCreationSteps.md",86894],d46fdf20:[()=>c.e(3044).then(c.bind(c,11260)),"@site/docs/sdk/reference/interfaces/IBudgetElectionParametersInfo.md",11260],d4ce7faf:[()=>c.e(3754).then(c.bind(c,49993)),"@site/docs/sdk/reference/classes/PublishedElection.md",49993],d4d2d783:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(7071)]).then(c.bind(c,48652)),"@site/docs/vocdoni-api/get-block-by-hash.api.mdx",48652],d5851cb1:[()=>c.e(3013).then(c.bind(c,39768)),"@site/docs/sdk/reference/interfaces/ICensusProofResponse.md",39768],d6b477f2:[()=>c.e(1378).then(c.bind(c,16193)),"@site/docs/sdk/reference/interfaces/IElectionParameters.md",16193],d6e648af:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(3086)]).then(c.bind(c,76676)),"@site/docs/vocdoni-api/transfer-tokens.api.mdx",76676],d7045d55:[()=>c.e(649).then(c.bind(c,2126)),"@site/docs/development-guidelines/index.md",2126],d71b54cc:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(1786)]).then(c.bind(c,71824)),"@site/docs/vocdoni-api/get-type-of-census.api.mdx",71824],d79e07b2:[()=>c.e(1054).then(c.bind(c,79581)),"@site/docs/sdk/reference/interfaces/ICensus3StrategyToken.md",79581],d7d13fd1:[()=>c.e(2005).then(c.bind(c,56065)),"@site/docs/sdk/reference/interfaces/IBudgetElectionParametersWithCensusWeight.md",56065],d8c91af8:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(1528)]).then(c.bind(c,76382)),"@site/docs/vocdoni-api/returns-if-the-address-provided-has-a-valid-sik.api.mdx",76382],d8c992a6:[()=>c.e(2175).then(c.bind(c,87512)),"@site/docs/sdk/reference/interfaces/ICensus3CensusListResponse.md",87512],d94ccd67:[()=>c.e(67).then(c.bind(c,11021)),"@site/docs/sdk/reference/classes/ChainAPI.md",11021],d95cd4ff:[()=>c.e(4019).then(c.bind(c,44474)),"@site/docs/sdk/integration-details/voting-types/approval.md",44474],d970501b:[()=>c.e(1357).then(c.bind(c,73846)),"@site/docs/sdk/reference/interfaces/IInvalidElectionParameters.md",73846],d9f2d88a:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(6142)]).then(c.bind(c,88773)),"@site/docs/vocdoni-api/list-of-the-existing-accounts.api.mdx",88773],dae27e03:[()=>c.e(1738).then(c.bind(c,10146)),"@site/docs/sdk/reference/interfaces/IChainTxReference.md",10146],db5a5176:[()=>c.e(1173).then(c.bind(c,79677)),"@site/docs/sdk/reference/classes/OffchainCensus.md",79677],dcb8c93b:[()=>c.e(8048).then(c.bind(c,38059)),"@site/docs/protocol/census/off-chain-tree.md",38059],ddb99459:[()=>c.e(9379).then(c.bind(c,72221)),"@site/docs/sdk/reference/interfaces/IApprovalElectionParameters.md",72221],dded7333:[()=>c.e(2329).then(c.bind(c,96274)),"@site/docs/sdk/reference/classes/UnpublishedElection.md",96274],de66f94a:[()=>c.e(2691).then(c.bind(c,1306)),"@site/docs/sdk/reference/interfaces/ICensus3StrategyCreateResponse.md",1306],df5c78e6:[()=>Promise.all([c.e(532),c.e(2284),c.e(173)]).then(c.bind(c,96072)),"@site/docs/vocdoni-api/wallet.tag.mdx",96072],dfccb580:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(1142)]).then(c.bind(c,20597)),"@site/docs/vocdoni-api/vochain-information.api.mdx",20597],dffc9575:[()=>c.e(6873).then(c.bind(c,97971)),"@site/docs/sdk/reference/interfaces/IChainTxListResponse.md",97971],e0557e97:[()=>c.e(9203).then(c.bind(c,57047)),"@site/docs/sdk/index.md",57047],e07651bc:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(1084)]).then(c.bind(c,77257)),"@site/docs/vocdoni-api/list-transactions.api.mdx",77257],e1594dfa:[()=>c.e(8257).then(c.bind(c,48021)),"@site/docs/sdk/reference/interfaces/IElectionNextIdResponse.md",48021],e20b99b5:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(6220)]).then(c.bind(c,21848)),"@site/docs/vocdoni-api/get-block-by-height.api.mdx",21848],e24c431f:[()=>c.e(2872).then(c.bind(c,67864)),"@site/docs/sdk/integration-details/census-types/on-chain/complex-census.md",67864],e3461e1c:[()=>c.e(9849).then(c.bind(c,81870)),"@site/docs/sdk/reference/classes/CspCensus.md",81870],e6e6cd34:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(469)]).then(c.bind(c,9373)),"@site/docs/vocdoni-api/list-organization-elections-by-status.api.mdx",9373],e7df0fec:[()=>c.e(248).then(c.bind(c,74554)),"@site/docs/sdk/reference/interfaces/ICensus3StrategyImportQueueResponse.md",74554],e964279c:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(9875)]).then(c.bind(c,95845)),"@site/docs/vocdoni-api/list-elections.api.mdx",95845],e9c5307c:[()=>Promise.all([c.e(532),c.e(2284),c.e(2470)]).then(c.bind(c,84416)),"@site/docs/vocdoni-api/censuses.tag.mdx",84416],ea27d690:[()=>c.e(4108).then(c.bind(c,52653)),"@site/docs/sdk/reference/interfaces/IChainBlockInfoResponse.md",52653],ea74a8a9:[()=>c.e(2832).then(c.bind(c,21047)),"@site/docs/sdk/reference/interfaces/ICensus3StrategiesOperator.md",21047],ec0516f7:[()=>c.e(2050).then(c.bind(c,14510)),"@site/docs/sdk/reference/classes/Vote.md",14510],ed25d525:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(5347)]).then(c.bind(c,7615)),"@site/docs/vocdoni-api/get-account.api.mdx",7615],ed5700b4:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(8493)]).then(c.bind(c,2364)),"@site/docs/vocdoni-api/count-organization-elections.api.mdx",2364],ed887fb8:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(7165)]).then(c.bind(c,43970)),"@site/docs/vocdoni-api/set-account.api.mdx",43970],ee2798c9:[()=>c.e(4635).then(c.bind(c,98272)),"@site/docs/sdk/reference/enums/VoteSteps.md",98272],ef46077c:[()=>c.e(3786).then(c.bind(c,53869)),"@site/docs/sdk/reference/interfaces/ICspSignResponse.md",53869],efcaecf7:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(4792)]).then(c.bind(c,19243)),"@site/docs/vocdoni-api/list-organizations.api.mdx",19243],effdce5d:[()=>c.e(6483).then(c.bind(c,16938)),"@site/docs/sdk/reference/classes/InvalidElection.md",16938],f116289e:[()=>c.e(6349).then(c.bind(c,5431)),"@site/docs/sdk/reference/interfaces/IBudgetElectionParametersWithBudget.md",5431],f50a63d5:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(3987)]).then(c.bind(c,85089)),"@site/docs/vocdoni-api/list-elections-filtered.api.mdx",85089],f601f941:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(3665)]).then(c.bind(c,59872)),"@site/docs/vocdoni-api/list-all-token-fees-by-reference.api.mdx",59872],f64e1fa2:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(1317)]).then(c.bind(c,54975)),"@site/docs/vocdoni-api/list-all-token-fees.api.mdx",54975],f77e462c:[()=>c.e(2975).then(c.bind(c,59186)),"@site/docs/sdk/reference/enums/CensusType.md",59186],f8409a7e:[()=>c.e(3206).then(c.bind(c,37199)),"@site/docs/intro.mdx",37199],f8d5f1d3:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(8756)]).then(c.bind(c,284)),"@site/docs/vocdoni-api/estimate-date-to-block.api.mdx",284],f9b740ff:[()=>c.e(4243).then(c.bind(c,86548)),"@site/docs/sdk/reference/enums/ElectionStatusReady.md",86548],fc158ac8:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(5642)]).then(c.bind(c,41937)),"@site/docs/vocdoni-api/list-all-token-fees-by-type.api.mdx",41937],fc1a6383:[()=>c.e(5220).then(c.bind(c,92751)),"@site/docs/sdk/reference/interfaces/IElectionType.md",92751],fc441bf1:[()=>c.e(9192).then(c.bind(c,90821)),"@site/docs/sdk/reference/enums/CensusOrigin.md",90821],fcca6750:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(5913)]).then(c.bind(c,55364)),"@site/docs/vocdoni-api/exports-the-indexer-database.api.mdx",55364],fd8596db:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(1117)]).then(c.bind(c,19227)),"@site/docs/vocdoni-api/add-account.api.mdx",19227],fe008fee:[()=>c.e(2733).then(c.bind(c,38222)),"@site/docs/sdk/reference/classes/Census3CensusAPI.md",38222],fe83dea5:[()=>Promise.all([c.e(532),c.e(2284),c.e(9675),c.e(6057),c.e(6882),c.e(8253)]).then(c.bind(c,12592)),"@site/docs/vocdoni-api/import-census.api.mdx",12592],fe9260cd:[()=>c.e(1132).then(c.bind(c,50031)),"@site/docs/sdk/reference/changelog.md",50031],ff7cb792:[()=>c.e(2241).then(c.bind(c,61292)),"@site/docs/sdk/reference/classes/WalletAPI.md",61292],ffeeb722:[()=>c.e(992).then(c.bind(c,94100)),"@site/docs/sdk/reference/classes/VoteService.md",94100]};function i(e){let{error:a,retry:c,pastDelay:f}=e;return a?d.createElement("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"}},d.createElement("p",null,String(a)),d.createElement("div",null,d.createElement("button",{type:"button",onClick:c},"Retry"))):f?d.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"}},d.createElement("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb"},d.createElement("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2"},d.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},d.createElement("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),d.createElement("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),d.createElement("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),d.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},d.createElement("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),d.createElement("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),d.createElement("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),d.createElement("circle",{cx:"22",cy:"22",r:"8"},d.createElement("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"}))))):null}var o=c(99670),s=c(30226);function l(e,a){if("*"===e)return t()({loading:i,loader:()=>c.e(4972).then(c.bind(c,4972)),modules:["@theme/NotFound"],webpack:()=>[4972],render(e,a){const c=e.default;return d.createElement(s.z,{value:{plugin:{name:"native",id:"default"}}},d.createElement(c,a))}});const b=r[`${e}-${a}`],l={},x=[],u=[],h=(0,o.Z)(b);return Object.entries(h).forEach((e=>{let[a,c]=e;const d=n[c];d&&(l[a]=d[0],x.push(d[1]),u.push(d[2]))})),t().Map({loading:i,loader:l,modules:x,webpack:()=>u,render(a,c){const t=JSON.parse(JSON.stringify(b));Object.entries(a).forEach((a=>{let[c,d]=a;const f=d.default;if(!f)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof f&&"function"!=typeof f||Object.keys(d).filter((e=>"default"!==e)).forEach((e=>{f[e]=d[e]}));let b=t;const r=c.split(".");r.slice(0,-1).forEach((e=>{b=b[e]})),b[r[r.length-1]]=f}));const r=t.__comp;delete t.__comp;const n=t.__context;return delete t.__context,d.createElement(s.z,{value:n},d.createElement(r,(0,f.Z)({},t,c)))}})}const x=[{path:"/search",component:l("/search","171"),exact:!0},{path:"/",component:l("/","70b"),exact:!0},{path:"/",component:l("/","0f5"),routes:[{path:"/development-guidelines",component:l("/development-guidelines","dc0"),exact:!0,sidebar:"defaultSidebar"},{path:"/development-guidelines/how-we-work",component:l("/development-guidelines/how-we-work","bdf"),exact:!0,sidebar:"defaultSidebar"},{path:"/development-guidelines/readme-template",component:l("/development-guidelines/readme-template","46a"),exact:!0,sidebar:"defaultSidebar"},{path:"/intro",component:l("/intro","ca9"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol",component:l("/protocol","4f3"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/anonymity",component:l("/protocol/anonymity","286"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/anonymity/blind-signatures",component:l("/protocol/anonymity/blind-signatures","6c6"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/anonymity/on-chain",component:l("/protocol/anonymity/on-chain","746"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/anonymity/zk-census-proof",component:l("/protocol/anonymity/zk-census-proof","0dd"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/ballot-protocol",component:l("/protocol/ballot-protocol","9e7"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/census",component:l("/protocol/census","f2b"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/census/off-chain-csp",component:l("/protocol/census/off-chain-csp","4e0"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/census/off-chain-csp/api",component:l("/protocol/census/off-chain-csp/api","72b"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/census/off-chain-tree",component:l("/protocol/census/off-chain-tree","add"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/census/on-chain",component:l("/protocol/census/on-chain","a41"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/census/on-chain/census3",component:l("/protocol/census/on-chain/census3","3c0"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/census/on-chain/eth-storage-proofs",component:l("/protocol/census/on-chain/eth-storage-proofs","314"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/data-schemes",component:l("/protocol/data-schemes","684"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/data-schemes/election",component:l("/protocol/data-schemes/election","8b1"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/data-schemes/organization",component:l("/protocol/data-schemes/organization","38b"),exact:!0,sidebar:"defaultSidebar"},{path:"/protocol/data-schemes/vote",component:l("/protocol/data-schemes/vote","252"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk",component:l("/sdk","857"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details",component:l("/sdk/integration-details","e26"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/census-types",component:l("/sdk/integration-details/census-types","bf5"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/census-types/off-chain-csp",component:l("/sdk/integration-details/census-types/off-chain-csp","3b8"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/census-types/off-chain-tree",component:l("/sdk/integration-details/census-types/off-chain-tree","a5e"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/census-types/on-chain",component:l("/sdk/integration-details/census-types/on-chain","5e4"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/census-types/on-chain/complex-census",component:l("/sdk/integration-details/census-types/on-chain/complex-census","dee"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/vocdoni-tokens",component:l("/sdk/integration-details/vocdoni-tokens","806"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/voting-types",component:l("/sdk/integration-details/voting-types","ffb"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/voting-types/approval",component:l("/sdk/integration-details/voting-types/approval","7cd"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/voting-types/quadratic",component:l("/sdk/integration-details/voting-types/quadratic","6e8"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/voting-types/ranked",component:l("/sdk/integration-details/voting-types/ranked","639"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/voting-types/single-choice",component:l("/sdk/integration-details/voting-types/single-choice","60e"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/integration-details/voting-types/weighted",component:l("/sdk/integration-details/voting-types/weighted","3e1"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/changelog",component:l("/sdk/reference/changelog","092"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/Account",component:l("/sdk/reference/classes/Account","4b7"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/AccountAPI",component:l("/sdk/reference/classes/AccountAPI","c96"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/AccountService",component:l("/sdk/reference/classes/AccountService","3d2"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/AnonymousService",component:l("/sdk/reference/classes/AnonymousService","459"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/AnonymousVote",component:l("/sdk/reference/classes/AnonymousVote","873"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/ApprovalElection",component:l("/sdk/reference/classes/ApprovalElection","f04"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/ArchivedElection",component:l("/sdk/reference/classes/ArchivedElection","00d"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/BudgetElection",component:l("/sdk/reference/classes/BudgetElection","0b6"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/Census",component:l("/sdk/reference/classes/Census","a71"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/Census3CensusAPI",component:l("/sdk/reference/classes/Census3CensusAPI","c3a"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/Census3ServiceAPI",component:l("/sdk/reference/classes/Census3ServiceAPI","7b6"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/Census3StrategyAPI",component:l("/sdk/reference/classes/Census3StrategyAPI","056"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/Census3TokenAPI",component:l("/sdk/reference/classes/Census3TokenAPI","a0e"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/CensusAPI",component:l("/sdk/reference/classes/CensusAPI","1e8"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/CensusService",component:l("/sdk/reference/classes/CensusService","5f2"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/ChainAPI",component:l("/sdk/reference/classes/ChainAPI","08b"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/ChainService",component:l("/sdk/reference/classes/ChainService","424"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/CspAPI",component:l("/sdk/reference/classes/CspAPI","e80"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/CspCensus",component:l("/sdk/reference/classes/CspCensus","66e"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/CspService",component:l("/sdk/reference/classes/CspService","3dc"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/CspVote",component:l("/sdk/reference/classes/CspVote","c3c"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/Election",component:l("/sdk/reference/classes/Election","c48"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/ElectionAPI",component:l("/sdk/reference/classes/ElectionAPI","441"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/ElectionService",component:l("/sdk/reference/classes/ElectionService","533"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/FaucetAPI",component:l("/sdk/reference/classes/FaucetAPI","420"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/FaucetService",component:l("/sdk/reference/classes/FaucetService","32f"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/FileAPI",component:l("/sdk/reference/classes/FileAPI","f1e"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/FileService",component:l("/sdk/reference/classes/FileService","93c"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/InvalidElection",component:l("/sdk/reference/classes/InvalidElection","9cf"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/MultiChoiceElection",component:l("/sdk/reference/classes/MultiChoiceElection","0b1"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/OffchainCensus",component:l("/sdk/reference/classes/OffchainCensus","d39"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/PlainCensus",component:l("/sdk/reference/classes/PlainCensus","858"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/PublishedCensus",component:l("/sdk/reference/classes/PublishedCensus","902"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/PublishedElection",component:l("/sdk/reference/classes/PublishedElection","f5c"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/Service",component:l("/sdk/reference/classes/Service","6cc"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/StrategyCensus",component:l("/sdk/reference/classes/StrategyCensus","b1b"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/TokenCensus",component:l("/sdk/reference/classes/TokenCensus","27f"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/UnpublishedElection",component:l("/sdk/reference/classes/UnpublishedElection","664"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/VocdoniCensus3Client",component:l("/sdk/reference/classes/VocdoniCensus3Client","be3"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/VocdoniSDKClient",component:l("/sdk/reference/classes/VocdoniSDKClient","5c3"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/Vote",component:l("/sdk/reference/classes/Vote","9e7"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/VoteAPI",component:l("/sdk/reference/classes/VoteAPI","649"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/VoteService",component:l("/sdk/reference/classes/VoteService","dea"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/WalletAPI",component:l("/sdk/reference/classes/WalletAPI","448"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/WeightedCensus",component:l("/sdk/reference/classes/WeightedCensus","746"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/classes/ZkAPI",component:l("/sdk/reference/classes/ZkAPI","44a"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/CensusOrigin",component:l("/sdk/reference/enums/CensusOrigin","58f"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/CensusType",component:l("/sdk/reference/enums/CensusType","e40"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/CensusTypeEnum",component:l("/sdk/reference/enums/CensusTypeEnum","1e7"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/CspProofType",component:l("/sdk/reference/enums/CspProofType","163"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/ElectionCreationSteps",component:l("/sdk/reference/enums/ElectionCreationSteps","b5f"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/ElectionResultsTypeNames",component:l("/sdk/reference/enums/ElectionResultsTypeNames","852"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/ElectionStatus",component:l("/sdk/reference/enums/ElectionStatus","db7"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/ElectionStatusReady",component:l("/sdk/reference/enums/ElectionStatusReady","d13"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/EnvOptions",component:l("/sdk/reference/enums/EnvOptions","81f"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/TransactionType",component:l("/sdk/reference/enums/TransactionType","bf2"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/TxType",component:l("/sdk/reference/enums/TxType","c44"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/enums/VoteSteps",component:l("/sdk/reference/enums/VoteSteps","36c"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/AccountMetadata",component:l("/sdk/reference/interfaces/AccountMetadata","eca"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/AdminTx",component:l("/sdk/reference/interfaces/AdminTx","fc2"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/CircuitInputs",component:l("/sdk/reference/interfaces/CircuitInputs","823"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/CollectFaucetTx",component:l("/sdk/reference/interfaces/CollectFaucetTx","7d0"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ElectionMetadata",component:l("/sdk/reference/interfaces/ElectionMetadata","5c6"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/FetchElectionsParameters",component:l("/sdk/reference/interfaces/FetchElectionsParameters","30b"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IAccount",component:l("/sdk/reference/interfaces/IAccount","a20"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IAccountsCountResponse",component:l("/sdk/reference/interfaces/IAccountsCountResponse","d77"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IAccountsListResponse",component:l("/sdk/reference/interfaces/IAccountsListResponse","2ef"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IAccountTransfersCountResponse",component:l("/sdk/reference/interfaces/IAccountTransfersCountResponse","236"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IApprovalElectionParameters",component:l("/sdk/reference/interfaces/IApprovalElectionParameters","73c"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IBlockTransactionsResponse",component:l("/sdk/reference/interfaces/IBlockTransactionsResponse","c5b"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IBudgetElectionParametersInfo",component:l("/sdk/reference/interfaces/IBudgetElectionParametersInfo","6d4"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IBudgetElectionParametersWithBudget",component:l("/sdk/reference/interfaces/IBudgetElectionParametersWithBudget","c2f"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IBudgetElectionParametersWithCensusWeight",component:l("/sdk/reference/interfaces/IBudgetElectionParametersWithCensusWeight","1a7"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus",component:l("/sdk/reference/interfaces/ICensus","565"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3CensusListResponse",component:l("/sdk/reference/interfaces/ICensus3CensusListResponse","e3e"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3CensusQueueResponse",component:l("/sdk/reference/interfaces/ICensus3CensusQueueResponse","858"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3CensusResponse",component:l("/sdk/reference/interfaces/ICensus3CensusResponse","4be"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3ServiceInfoResponse",component:l("/sdk/reference/interfaces/ICensus3ServiceInfoResponse","b0b"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3StrategiesListResponse",component:l("/sdk/reference/interfaces/ICensus3StrategiesListResponse","f71"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3StrategiesListResponsePaginated",component:l("/sdk/reference/interfaces/ICensus3StrategiesListResponsePaginated","ba4"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3StrategiesOperator",component:l("/sdk/reference/interfaces/ICensus3StrategiesOperator","661"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3StrategiesOperatorsResponse",component:l("/sdk/reference/interfaces/ICensus3StrategiesOperatorsResponse","a61"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3StrategyCreateResponse",component:l("/sdk/reference/interfaces/ICensus3StrategyCreateResponse","0ec"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3StrategyEstimationQueueResponse",component:l("/sdk/reference/interfaces/ICensus3StrategyEstimationQueueResponse","e02"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3StrategyHoldersResponse",component:l("/sdk/reference/interfaces/ICensus3StrategyHoldersResponse","445"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3StrategyHoldersResponsePaginated",component:l("/sdk/reference/interfaces/ICensus3StrategyHoldersResponsePaginated","240"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3StrategyImportQueueResponse",component:l("/sdk/reference/interfaces/ICensus3StrategyImportQueueResponse","197"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3StrategyToken",component:l("/sdk/reference/interfaces/ICensus3StrategyToken","844"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3SupportedChain",component:l("/sdk/reference/interfaces/ICensus3SupportedChain","cbd"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3TokenHolderResponse",component:l("/sdk/reference/interfaces/ICensus3TokenHolderResponse","c9f"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3TokenListResponse",component:l("/sdk/reference/interfaces/ICensus3TokenListResponse","5af"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3TokenListResponsePaginated",component:l("/sdk/reference/interfaces/ICensus3TokenListResponsePaginated","b69"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3TokenTypesResponse",component:l("/sdk/reference/interfaces/ICensus3TokenTypesResponse","13c"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3ValidatePredicateChild",component:l("/sdk/reference/interfaces/ICensus3ValidatePredicateChild","ed2"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3ValidatePredicateResponse",component:l("/sdk/reference/interfaces/ICensus3ValidatePredicateResponse","d24"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensus3ValidatePredicateToken",component:l("/sdk/reference/interfaces/ICensus3ValidatePredicateToken","4cd"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensusExportResponse",component:l("/sdk/reference/interfaces/ICensusExportResponse","a9a"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensusImportResponse",component:l("/sdk/reference/interfaces/ICensusImportResponse","77c"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensusParticipant",component:l("/sdk/reference/interfaces/ICensusParticipant","9b0"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensusProofResponse",component:l("/sdk/reference/interfaces/ICensusProofResponse","dfb"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICensusPublishResponse",component:l("/sdk/reference/interfaces/ICensusPublishResponse","3a7"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainBlockInfoResponse",component:l("/sdk/reference/interfaces/IChainBlockInfoResponse","bfc"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainFeesListResponse",component:l("/sdk/reference/interfaces/IChainFeesListResponse","a01"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainGetCircuitResponse",component:l("/sdk/reference/interfaces/IChainGetCircuitResponse","dfd"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainGetCostsResponse",component:l("/sdk/reference/interfaces/IChainGetCostsResponse","9b1"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainGetInfoResponse",component:l("/sdk/reference/interfaces/IChainGetInfoResponse","1cd"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainOrganizationCountResponse",component:l("/sdk/reference/interfaces/IChainOrganizationCountResponse","53f"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainOrganizationListResponse",component:l("/sdk/reference/interfaces/IChainOrganizationListResponse","e0c"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainOrganizationResponse",component:l("/sdk/reference/interfaces/IChainOrganizationResponse","663"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainSubmitTxResponse",component:l("/sdk/reference/interfaces/IChainSubmitTxResponse","cfa"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainTxCountResponse",component:l("/sdk/reference/interfaces/IChainTxCountResponse","526"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainTxListResponse",component:l("/sdk/reference/interfaces/IChainTxListResponse","c57"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainTxReference",component:l("/sdk/reference/interfaces/IChainTxReference","804"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainValidator",component:l("/sdk/reference/interfaces/IChainValidator","932"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChainValidatorsListResponse",component:l("/sdk/reference/interfaces/IChainValidatorsListResponse","bdb"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IChoice",component:l("/sdk/reference/interfaces/IChoice","21d"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICspAuthStep",component:l("/sdk/reference/interfaces/ICspAuthStep","9aa"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICspFinalStepResponse",component:l("/sdk/reference/interfaces/ICspFinalStepResponse","c96"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICspInfoResponse",component:l("/sdk/reference/interfaces/ICspInfoResponse","580"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICspIntermediateStepResponse",component:l("/sdk/reference/interfaces/ICspIntermediateStepResponse","895"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ICspSignResponse",component:l("/sdk/reference/interfaces/ICspSignResponse","9e5"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionCreateResponse",component:l("/sdk/reference/interfaces/IElectionCreateResponse","f95"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionInfoResponse",component:l("/sdk/reference/interfaces/IElectionInfoResponse","bcf"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionKeysResponse",component:l("/sdk/reference/interfaces/IElectionKeysResponse","db8"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionListFilter",component:l("/sdk/reference/interfaces/IElectionListFilter","f8b"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionListResponse",component:l("/sdk/reference/interfaces/IElectionListResponse","acd"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionMode",component:l("/sdk/reference/interfaces/IElectionMode","fbb"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionNextIdResponse",component:l("/sdk/reference/interfaces/IElectionNextIdResponse","107"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionParameters",component:l("/sdk/reference/interfaces/IElectionParameters","077"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionSummary",component:l("/sdk/reference/interfaces/IElectionSummary","cc4"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionType",component:l("/sdk/reference/interfaces/IElectionType","77e"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionVote",component:l("/sdk/reference/interfaces/IElectionVote","0c5"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IElectionVoteListResponse",component:l("/sdk/reference/interfaces/IElectionVoteListResponse","300"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IEncryptionKey",component:l("/sdk/reference/interfaces/IEncryptionKey","4e6"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IInvalidElectionParameters",component:l("/sdk/reference/interfaces/IInvalidElectionParameters","861"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IMultiChoiceElectionParameters",component:l("/sdk/reference/interfaces/IMultiChoiceElectionParameters","b37"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IPublishedElectionParameters",component:l("/sdk/reference/interfaces/IPublishedElectionParameters","a41"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IQuestion",component:l("/sdk/reference/interfaces/IQuestion","8bd"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ITallyMode",component:l("/sdk/reference/interfaces/ITallyMode","2fd"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IVoteEncryptedPackage",component:l("/sdk/reference/interfaces/IVoteEncryptedPackage","ddb"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IVoteInfoResponse",component:l("/sdk/reference/interfaces/IVoteInfoResponse","d2d"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IVoteMode",component:l("/sdk/reference/interfaces/IVoteMode","f25"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IVotePackage",component:l("/sdk/reference/interfaces/IVotePackage","88a"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IVoteSubmitResponse",component:l("/sdk/reference/interfaces/IVoteSubmitResponse","db7"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IVoteType",component:l("/sdk/reference/interfaces/IVoteType","7bb"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IZkProofResponse",component:l("/sdk/reference/interfaces/IZkProofResponse","5e0"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/IZkSIKResponse",component:l("/sdk/reference/interfaces/IZkSIKResponse","372"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/MintTokensTx",component:l("/sdk/reference/interfaces/MintTokensTx","2f2"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/NewProcessTx",component:l("/sdk/reference/interfaces/NewProcessTx","4ae"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/Process",component:l("/sdk/reference/interfaces/Process","0e8"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/Proof",component:l("/sdk/reference/interfaces/Proof","b2c"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/RegisterKeyTx",component:l("/sdk/reference/interfaces/RegisterKeyTx","ad2"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/SendTokensTx",component:l("/sdk/reference/interfaces/SendTokensTx","5ac"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/ServiceProperties",component:l("/sdk/reference/interfaces/ServiceProperties","05a"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/SetAccountTx",component:l("/sdk/reference/interfaces/SetAccountTx","8bd"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/SetProcessTx",component:l("/sdk/reference/interfaces/SetProcessTx","2cc"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/SetTransactionCostsTx",component:l("/sdk/reference/interfaces/SetTransactionCostsTx","3e1"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/Tx",component:l("/sdk/reference/interfaces/Tx","bdf"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/interfaces/VoteEnvelope",component:l("/sdk/reference/interfaces/VoteEnvelope","a38"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/reference/sdk-reference",component:l("/sdk/reference/sdk-reference","07a"),exact:!0,sidebar:"defaultSidebar"},{path:"/sdk/tutorial",component:l("/sdk/tutorial","0b4"),exact:!0,sidebar:"defaultSidebar"},{path:"/ui-components",component:l("/ui-components","cf1"),exact:!0,sidebar:"defaultSidebar"},{path:"/ui-components/account",component:l("/ui-components/account","653"),exact:!0,sidebar:"defaultSidebar"},{path:"/ui-components/election",component:l("/ui-components/election","f8b"),exact:!0,sidebar:"defaultSidebar"},{path:"/ui-components/layout",component:l("/ui-components/layout","2fd"),exact:!0,sidebar:"defaultSidebar"},{path:"/ui-components/organization",component:l("/ui-components/organization","a35"),exact:!0,sidebar:"defaultSidebar"},{path:"/ui-components/react-providers",component:l("/ui-components/react-providers","667"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/accounts",component:l("/vocdoni-api/accounts","2d1"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/add-account",component:l("/vocdoni-api/add-account","3a5"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/add-participants-to-census",component:l("/vocdoni-api/add-participants-to-census","9e3"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/build-an-election-id",component:l("/vocdoni-api/build-an-election-id","8e7"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/census-merkle-root",component:l("/vocdoni-api/census-merkle-root","863"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/census-size",component:l("/vocdoni-api/census-size","2da"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/census-total-weight",component:l("/vocdoni-api/census-total-weight","0da"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/censuses",component:l("/vocdoni-api/censuses","23b"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/chain",component:l("/vocdoni-api/chain","179"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/check-census-publish-status",component:l("/vocdoni-api/check-census-publish-status","4e7"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/circuit-info",component:l("/vocdoni-api/circuit-info","b04"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/compute-election-price",component:l("/vocdoni-api/compute-election-price","2b3"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/compute-ipfs-ci-dv-1-of-file",component:l("/vocdoni-api/compute-ipfs-ci-dv-1-of-file","77c"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/count-election-votes",component:l("/vocdoni-api/count-election-votes","47e"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/count-organization-elections",component:l("/vocdoni-api/count-organization-elections","e48"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/count-organizations",component:l("/vocdoni-api/count-organizations","e64"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/create-a-new-census",component:l("/vocdoni-api/create-a-new-census","3dd"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/create-election",component:l("/vocdoni-api/create-election","af1"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/create-election-for-wallet",component:l("/vocdoni-api/create-election-for-wallet","350"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/delete-census",component:l("/vocdoni-api/delete-census","6fa"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/election-information",component:l("/vocdoni-api/election-information","45d"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/election-results",component:l("/vocdoni-api/election-results","fef"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/elections",component:l("/vocdoni-api/elections","35c"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/estimate-block-to-date",component:l("/vocdoni-api/estimate-block-to-date","de0"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/estimate-date-to-block",component:l("/vocdoni-api/estimate-date-to-block","a33"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/export-census",component:l("/vocdoni-api/export-census","5de"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/export-census-database",component:l("/vocdoni-api/export-census-database","755"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/exports-the-indexer-database",component:l("/vocdoni-api/exports-the-indexer-database","b29"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/get-account",component:l("/vocdoni-api/get-account","358"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/get-block-by-hash",component:l("/vocdoni-api/get-block-by-hash","e3b"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/get-block-by-height",component:l("/vocdoni-api/get-block-by-height","196"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/get-type-of-census",component:l("/vocdoni-api/get-type-of-census","e28"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/get-vote",component:l("/vocdoni-api/get-vote","f8b"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/import-census",component:l("/vocdoni-api/import-census","f56"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/import-census-database",component:l("/vocdoni-api/import-census-database","e4d"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-account-received-and-sent-token-transfers",component:l("/vocdoni-api/list-account-received-and-sent-token-transfers","ec6"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-account-token-fees",component:l("/vocdoni-api/list-account-token-fees","218"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-all-blocks",component:l("/vocdoni-api/list-all-blocks","eaf"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-all-census-references",component:l("/vocdoni-api/list-all-census-references","f26"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-all-token-fees",component:l("/vocdoni-api/list-all-token-fees","c3b"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-all-token-fees-by-reference",component:l("/vocdoni-api/list-all-token-fees-by-reference","c03"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-all-token-fees-by-type",component:l("/vocdoni-api/list-all-token-fees-by-type","e34"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-all-token-transfers",component:l("/vocdoni-api/list-all-token-transfers","d3b"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-election-votes",component:l("/vocdoni-api/list-election-votes","7df"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-elections",component:l("/vocdoni-api/list-elections","a7c"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-elections-filtered",component:l("/vocdoni-api/list-elections-filtered","70c"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-encryption-keys",component:l("/vocdoni-api/list-encryption-keys","b8d"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-of-the-existing-accounts",component:l("/vocdoni-api/list-of-the-existing-accounts","a3d"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-of-valid-sik-roots",component:l("/vocdoni-api/list-of-valid-sik-roots","c85"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-organization-elections",component:l("/vocdoni-api/list-organization-elections","ce8"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-organization-elections-by-status",component:l("/vocdoni-api/list-organization-elections-by-status","6f8"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-organizations",component:l("/vocdoni-api/list-organizations","8b0"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-organizations-filtered",component:l("/vocdoni-api/list-organizations-filtered","554"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-transactions",component:l("/vocdoni-api/list-transactions","541"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-validators",component:l("/vocdoni-api/list-validators","66d"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/list-votes",component:l("/vocdoni-api/list-votes","ba8"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/price-factors-information",component:l("/vocdoni-api/price-factors-information","093"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/prove-key-to-census",component:l("/vocdoni-api/prove-key-to-census","af9"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/publish-census",component:l("/vocdoni-api/publish-census","a10"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/returns-if-the-address-provided-has-a-valid-sik",component:l("/vocdoni-api/returns-if-the-address-provided-has-a-valid-sik","1e5"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/set-account",component:l("/vocdoni-api/set-account","df9"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/set-wallet-account",component:l("/vocdoni-api/set-wallet-account","97c"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/sik",component:l("/vocdoni-api/sik","f12"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/submit-a-vote",component:l("/vocdoni-api/submit-a-vote","8a0"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/submit-transaction",component:l("/vocdoni-api/submit-transaction","6cd"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/total-number-of-accounts",component:l("/vocdoni-api/total-number-of-accounts","cfa"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/total-number-of-sent-and-received-transactions",component:l("/vocdoni-api/total-number-of-sent-and-received-transactions","118"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/transaction-by-block-height-and-index",component:l("/vocdoni-api/transaction-by-block-height-and-index","b15"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/transaction-by-hash",component:l("/vocdoni-api/transaction-by-hash","0d9"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/transaction-by-index",component:l("/vocdoni-api/transaction-by-index","ddf"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/transaction-costs",component:l("/vocdoni-api/transaction-costs","99d"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/transactions-count",component:l("/vocdoni-api/transactions-count","2b2"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/transactions-in-a-block",component:l("/vocdoni-api/transactions-in-a-block","9d9"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/transfer-tokens",component:l("/vocdoni-api/transfer-tokens","ebf"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/verify-merkle-proof",component:l("/vocdoni-api/verify-merkle-proof","642"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/verify-vote",component:l("/vocdoni-api/verify-vote","d94"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/vocdoni-api",component:l("/vocdoni-api/vocdoni-api","2b0"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/vochain-information",component:l("/vocdoni-api/vochain-information","9f5"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/votes",component:l("/vocdoni-api/votes","541"),exact:!0,sidebar:"defaultSidebar"},{path:"/vocdoni-api/wallet",component:l("/vocdoni-api/wallet","c13"),exact:!0,sidebar:"defaultSidebar"}]},{path:"*",component:l("*")}]},98934:(e,a,c)=>{"use strict";c.d(a,{_:()=>f,t:()=>b});var d=c(67294);const f=d.createContext(!1);function b(e){let{children:a}=e;const[c,b]=(0,d.useState)(!1);return(0,d.useEffect)((()=>{b(!0)}),[]),d.createElement(f.Provider,{value:c},a)}},49383:(e,a,c)=>{"use strict";var d=c(67294),f=c(73935),b=c(73727),t=c(70405),r=c(10412);const n=[c(32497),c(3310),c(18320),c(52295),c(93524),c(79362),c(87406),c(86199),c(56748)];var i=c(723),o=c(16550),s=c(18790);function l(e){let{children:a}=e;return d.createElement(d.Fragment,null,a)}var x=c(87462),u=c(35742),h=c(52263),p=c(44996),m=c(86668),g=c(10833),y=c(94711),v=c(19727),_=c(43320),w=c(90197);function S(){const{i18n:{defaultLocale:e,localeConfigs:a}}=(0,h.Z)(),c=(0,y.l)();return d.createElement(u.Z,null,Object.entries(a).map((e=>{let[a,{htmlLang:f}]=e;return d.createElement("link",{key:a,rel:"alternate",href:c.createUrl({locale:a,fullyQualified:!0}),hrefLang:f})})),d.createElement("link",{rel:"alternate",href:c.createUrl({locale:e,fullyQualified:!0}),hrefLang:"x-default"}))}function E(e){let{permalink:a}=e;const{siteConfig:{url:c}}=(0,h.Z)(),f=function(){const{siteConfig:{url:e}}=(0,h.Z)(),{pathname:a}=(0,o.TH)();return e+(0,p.Z)(a)}(),b=a?`${c}${a}`:f;return d.createElement(u.Z,null,d.createElement("meta",{property:"og:url",content:b}),d.createElement("link",{rel:"canonical",href:b}))}function A(){const{i18n:{currentLocale:e}}=(0,h.Z)(),{metadata:a,image:c}=(0,m.L)();return d.createElement(d.Fragment,null,d.createElement(u.Z,null,d.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),d.createElement("body",{className:v.h})),c&&d.createElement(g.d,{image:c}),d.createElement(E,null),d.createElement(S,null),d.createElement(w.Z,{tag:_.HX,locale:e}),d.createElement(u.Z,null,a.map(((e,a)=>d.createElement("meta",(0,x.Z)({key:a},e))))))}const k=new Map;function I(e){if(k.has(e.pathname))return{...e,pathname:k.get(e.pathname)};if((0,s.f)(i.Z,e.pathname).some((e=>{let{route:a}=e;return!0===a.exact})))return k.set(e.pathname,e.pathname),e;const a=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return k.set(e.pathname,a),{...e,pathname:a}}var C=c(98934),L=c(58940);function T(e){for(var a=arguments.length,c=new Array(a>1?a-1:0),d=1;d(a.default?.[e]??a[e])?.(...c)));return()=>f.forEach((e=>e?.()))}const P=function(e){let{children:a,location:c,previousLocation:f}=e;return(0,d.useLayoutEffect)((()=>{f!==c&&(f&&function(e){const{hash:a}=e;if(a){const e=decodeURIComponent(a.substring(1));document.getElementById(e)?.scrollIntoView()}else window.scrollTo(0,0)}(c),T("onRouteDidUpdate",{previousLocation:f,location:c}))}),[f,c]),a};function R(e){const a=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,s.f)(i.Z,e))).flat();return Promise.all(a.map((e=>e.route.component.preload?.())))}class M extends d.Component{constructor(e){super(e),this.previousLocation=void 0,this.routeUpdateCleanupCb=void 0,this.previousLocation=null,this.routeUpdateCleanupCb=r.Z.canUseDOM?T("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,a){if(e.location===this.props.location)return a.nextRouteHasLoaded;const c=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=T("onRouteUpdate",{previousLocation:this.previousLocation,location:c}),R(c.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:a}=this.props;return d.createElement(P,{previousLocation:this.previousLocation,location:a},d.createElement(o.AW,{location:a,render:()=>e}))}}const B=M,O="docusaurus-base-url-issue-banner-container",N="docusaurus-base-url-issue-banner-suggestion-container",F="__DOCUSAURUS_INSERT_BASEURL_BANNER";function D(e){return`\nwindow['${F}'] = true;\n\ndocument.addEventListener('DOMContentLoaded', maybeInsertBanner);\n\nfunction maybeInsertBanner() {\n var shouldInsert = window['${F}'];\n shouldInsert && insertBanner();\n}\n\nfunction insertBanner() {\n var bannerContainer = document.getElementById('${O}');\n if (!bannerContainer) {\n return;\n }\n var bannerHtml = ${JSON.stringify(function(e){return`\n
\n

Your Docusaurus site did not load properly.

\n

A very common reason is a wrong site baseUrl configuration.

\n

Current configured baseUrl = ${e} ${"/"===e?" (default value)":""}

\n

We suggest trying baseUrl =

\n
\n`}(e)).replace(/{window[F]=!1}),[]),d.createElement(d.Fragment,null,!r.Z.canUseDOM&&d.createElement(u.Z,null,d.createElement("script",null,D(e))),d.createElement("div",{id:O}))}function j(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:a}}=(0,h.Z)(),{pathname:c}=(0,o.TH)();return a&&c===e?d.createElement(U,null):null}function z(){const{siteConfig:{favicon:e,title:a,noIndex:c},i18n:{currentLocale:f,localeConfigs:b}}=(0,h.Z)(),t=(0,p.Z)(e),{htmlLang:r,direction:n}=b[f];return d.createElement(u.Z,null,d.createElement("html",{lang:r,dir:n}),d.createElement("title",null,a),d.createElement("meta",{property:"og:title",content:a}),d.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),c&&d.createElement("meta",{name:"robots",content:"noindex, nofollow"}),e&&d.createElement("link",{rel:"icon",href:t}))}var q=c(44763);function K(){const e=(0,s.H)(i.Z),a=(0,o.TH)();return d.createElement(q.Z,null,d.createElement(L.M,null,d.createElement(C.t,null,d.createElement(l,null,d.createElement(z,null),d.createElement(A,null),d.createElement(j,null),d.createElement(B,{location:I(a)},e)))))}var V=c(16887);const $=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((a,c)=>{if("undefined"==typeof document)return void c();const d=document.createElement("link");d.setAttribute("rel","prefetch"),d.setAttribute("href",e),d.onload=()=>a(),d.onerror=()=>c();(document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode)?.appendChild(d)}))}:function(e){return new Promise(((a,c)=>{const d=new XMLHttpRequest;d.open("GET",e,!0),d.withCredentials=!0,d.onload=()=>{200===d.status?a():c()},d.send(null)}))};var H=c(99670);const G=new Set,W=new Set,Z=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,Q={prefetch(e){if(!(e=>!Z()&&!W.has(e)&&!G.has(e))(e))return!1;G.add(e);const a=(0,s.f)(i.Z,e).flatMap((e=>{return a=e.route.path,Object.entries(V).filter((e=>{let[c]=e;return c.replace(/-[^-]+$/,"")===a})).flatMap((e=>{let[,a]=e;return Object.values((0,H.Z)(a))}));var a}));return Promise.all(a.map((e=>{const a=c.gca(e);return a&&!a.includes("undefined")?$(a).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!Z()&&!W.has(e))(e)&&(W.add(e),R(e))},Y=Object.freeze(Q);if(r.Z.canUseDOM){window.docusaurus=Y;const e=f.hydrate;R(window.location.pathname).then((()=>{e(d.createElement(t.B6,null,d.createElement(b.VK,null,d.createElement(K,null))),document.getElementById("__docusaurus"))}))}},58940:(e,a,c)=>{"use strict";c.d(a,{_:()=>o,M:()=>s});var d=c(67294),f=c(36809);const b=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/","versions":[{"name":"current","label":"Next","isLast":true,"path":"/","mainDocId":"intro","docs":[{"id":"development-guidelines/how-we-work","path":"/development-guidelines/how-we-work","sidebar":"defaultSidebar"},{"id":"development-guidelines/index","path":"/development-guidelines/","sidebar":"defaultSidebar"},{"id":"development-guidelines/readme-template","path":"/development-guidelines/readme-template","sidebar":"defaultSidebar"},{"id":"intro","path":"/intro","sidebar":"defaultSidebar"},{"id":"protocol/anonymity/anonymity","path":"/protocol/anonymity/","sidebar":"defaultSidebar"},{"id":"protocol/anonymity/blind-signatures","path":"/protocol/anonymity/blind-signatures","sidebar":"defaultSidebar"},{"id":"protocol/anonymity/on-chain","path":"/protocol/anonymity/on-chain","sidebar":"defaultSidebar"},{"id":"protocol/anonymity/zk-census-proof","path":"/protocol/anonymity/zk-census-proof","sidebar":"defaultSidebar"},{"id":"protocol/ballot-protocol","path":"/protocol/ballot-protocol","sidebar":"defaultSidebar"},{"id":"protocol/census/census","path":"/protocol/census/","sidebar":"defaultSidebar"},{"id":"protocol/census/off-chain-csp/api","path":"/protocol/census/off-chain-csp/api","sidebar":"defaultSidebar"},{"id":"protocol/census/off-chain-csp/off-chain-csp","path":"/protocol/census/off-chain-csp/","sidebar":"defaultSidebar"},{"id":"protocol/census/off-chain-tree","path":"/protocol/census/off-chain-tree","sidebar":"defaultSidebar"},{"id":"protocol/census/on-chain/census3","path":"/protocol/census/on-chain/census3","sidebar":"defaultSidebar"},{"id":"protocol/census/on-chain/eth-storage-proofs","path":"/protocol/census/on-chain/eth-storage-proofs","sidebar":"defaultSidebar"},{"id":"protocol/census/on-chain/on-chain","path":"/protocol/census/on-chain/","sidebar":"defaultSidebar"},{"id":"protocol/data-schemes/data-schemes","path":"/protocol/data-schemes/","sidebar":"defaultSidebar"},{"id":"protocol/data-schemes/election","path":"/protocol/data-schemes/election","sidebar":"defaultSidebar"},{"id":"protocol/data-schemes/organization","path":"/protocol/data-schemes/organization","sidebar":"defaultSidebar"},{"id":"protocol/data-schemes/vote","path":"/protocol/data-schemes/vote","sidebar":"defaultSidebar"},{"id":"protocol/index","path":"/protocol/","sidebar":"defaultSidebar"},{"id":"sdk/index","path":"/sdk/","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/census-types/census-types","path":"/sdk/integration-details/census-types/","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/census-types/off-chain-csp","path":"/sdk/integration-details/census-types/off-chain-csp","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/census-types/off-chain-tree","path":"/sdk/integration-details/census-types/off-chain-tree","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/census-types/on-chain/complex-census","path":"/sdk/integration-details/census-types/on-chain/complex-census","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/census-types/on-chain/on-chain","path":"/sdk/integration-details/census-types/on-chain/","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/integration-details","path":"/sdk/integration-details/","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/vocdoni-tokens","path":"/sdk/integration-details/vocdoni-tokens","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/voting-types/approval","path":"/sdk/integration-details/voting-types/approval","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/voting-types/quadratic","path":"/sdk/integration-details/voting-types/quadratic","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/voting-types/ranked","path":"/sdk/integration-details/voting-types/ranked","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/voting-types/single-choice","path":"/sdk/integration-details/voting-types/single-choice","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/voting-types/voting-types","path":"/sdk/integration-details/voting-types/","sidebar":"defaultSidebar"},{"id":"sdk/integration-details/voting-types/weighted","path":"/sdk/integration-details/voting-types/weighted","sidebar":"defaultSidebar"},{"id":"sdk/reference/changelog","path":"/sdk/reference/changelog","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/Account","path":"/sdk/reference/classes/Account","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/AccountAPI","path":"/sdk/reference/classes/AccountAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/AccountService","path":"/sdk/reference/classes/AccountService","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/AnonymousService","path":"/sdk/reference/classes/AnonymousService","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/AnonymousVote","path":"/sdk/reference/classes/AnonymousVote","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/ApprovalElection","path":"/sdk/reference/classes/ApprovalElection","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/ArchivedElection","path":"/sdk/reference/classes/ArchivedElection","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/BudgetElection","path":"/sdk/reference/classes/BudgetElection","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/Census","path":"/sdk/reference/classes/Census","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/Census3CensusAPI","path":"/sdk/reference/classes/Census3CensusAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/Census3ServiceAPI","path":"/sdk/reference/classes/Census3ServiceAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/Census3StrategyAPI","path":"/sdk/reference/classes/Census3StrategyAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/Census3TokenAPI","path":"/sdk/reference/classes/Census3TokenAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/CensusAPI","path":"/sdk/reference/classes/CensusAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/CensusService","path":"/sdk/reference/classes/CensusService","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/ChainAPI","path":"/sdk/reference/classes/ChainAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/ChainService","path":"/sdk/reference/classes/ChainService","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/CspAPI","path":"/sdk/reference/classes/CspAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/CspCensus","path":"/sdk/reference/classes/CspCensus","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/CspService","path":"/sdk/reference/classes/CspService","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/CspVote","path":"/sdk/reference/classes/CspVote","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/Election","path":"/sdk/reference/classes/Election","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/ElectionAPI","path":"/sdk/reference/classes/ElectionAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/ElectionService","path":"/sdk/reference/classes/ElectionService","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/FaucetAPI","path":"/sdk/reference/classes/FaucetAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/FaucetService","path":"/sdk/reference/classes/FaucetService","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/FileAPI","path":"/sdk/reference/classes/FileAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/FileService","path":"/sdk/reference/classes/FileService","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/InvalidElection","path":"/sdk/reference/classes/InvalidElection","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/MultiChoiceElection","path":"/sdk/reference/classes/MultiChoiceElection","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/OffchainCensus","path":"/sdk/reference/classes/OffchainCensus","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/PlainCensus","path":"/sdk/reference/classes/PlainCensus","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/PublishedCensus","path":"/sdk/reference/classes/PublishedCensus","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/PublishedElection","path":"/sdk/reference/classes/PublishedElection","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/Service","path":"/sdk/reference/classes/Service","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/StrategyCensus","path":"/sdk/reference/classes/StrategyCensus","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/TokenCensus","path":"/sdk/reference/classes/TokenCensus","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/UnpublishedElection","path":"/sdk/reference/classes/UnpublishedElection","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/VocdoniCensus3Client","path":"/sdk/reference/classes/VocdoniCensus3Client","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/VocdoniSDKClient","path":"/sdk/reference/classes/VocdoniSDKClient","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/Vote","path":"/sdk/reference/classes/Vote","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/VoteAPI","path":"/sdk/reference/classes/VoteAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/VoteService","path":"/sdk/reference/classes/VoteService","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/WalletAPI","path":"/sdk/reference/classes/WalletAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/WeightedCensus","path":"/sdk/reference/classes/WeightedCensus","sidebar":"defaultSidebar"},{"id":"sdk/reference/classes/ZkAPI","path":"/sdk/reference/classes/ZkAPI","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/CensusOrigin","path":"/sdk/reference/enums/CensusOrigin","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/CensusType","path":"/sdk/reference/enums/CensusType","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/CensusTypeEnum","path":"/sdk/reference/enums/CensusTypeEnum","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/CspProofType","path":"/sdk/reference/enums/CspProofType","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/ElectionCreationSteps","path":"/sdk/reference/enums/ElectionCreationSteps","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/ElectionResultsTypeNames","path":"/sdk/reference/enums/ElectionResultsTypeNames","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/ElectionStatus","path":"/sdk/reference/enums/ElectionStatus","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/ElectionStatusReady","path":"/sdk/reference/enums/ElectionStatusReady","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/EnvOptions","path":"/sdk/reference/enums/EnvOptions","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/TransactionType","path":"/sdk/reference/enums/TransactionType","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/TxType","path":"/sdk/reference/enums/TxType","sidebar":"defaultSidebar"},{"id":"sdk/reference/enums/VoteSteps","path":"/sdk/reference/enums/VoteSteps","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/AccountMetadata","path":"/sdk/reference/interfaces/AccountMetadata","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/AdminTx","path":"/sdk/reference/interfaces/AdminTx","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/CircuitInputs","path":"/sdk/reference/interfaces/CircuitInputs","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/CollectFaucetTx","path":"/sdk/reference/interfaces/CollectFaucetTx","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ElectionMetadata","path":"/sdk/reference/interfaces/ElectionMetadata","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/FetchElectionsParameters","path":"/sdk/reference/interfaces/FetchElectionsParameters","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IAccount","path":"/sdk/reference/interfaces/IAccount","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IAccountsCountResponse","path":"/sdk/reference/interfaces/IAccountsCountResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IAccountsListResponse","path":"/sdk/reference/interfaces/IAccountsListResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IAccountTransfersCountResponse","path":"/sdk/reference/interfaces/IAccountTransfersCountResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IApprovalElectionParameters","path":"/sdk/reference/interfaces/IApprovalElectionParameters","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IBlockTransactionsResponse","path":"/sdk/reference/interfaces/IBlockTransactionsResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IBudgetElectionParametersInfo","path":"/sdk/reference/interfaces/IBudgetElectionParametersInfo","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IBudgetElectionParametersWithBudget","path":"/sdk/reference/interfaces/IBudgetElectionParametersWithBudget","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IBudgetElectionParametersWithCensusWeight","path":"/sdk/reference/interfaces/IBudgetElectionParametersWithCensusWeight","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus","path":"/sdk/reference/interfaces/ICensus","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3CensusListResponse","path":"/sdk/reference/interfaces/ICensus3CensusListResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3CensusQueueResponse","path":"/sdk/reference/interfaces/ICensus3CensusQueueResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3CensusResponse","path":"/sdk/reference/interfaces/ICensus3CensusResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3ServiceInfoResponse","path":"/sdk/reference/interfaces/ICensus3ServiceInfoResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3StrategiesListResponse","path":"/sdk/reference/interfaces/ICensus3StrategiesListResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3StrategiesListResponsePaginated","path":"/sdk/reference/interfaces/ICensus3StrategiesListResponsePaginated","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3StrategiesOperator","path":"/sdk/reference/interfaces/ICensus3StrategiesOperator","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3StrategiesOperatorsResponse","path":"/sdk/reference/interfaces/ICensus3StrategiesOperatorsResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3StrategyCreateResponse","path":"/sdk/reference/interfaces/ICensus3StrategyCreateResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3StrategyEstimationQueueResponse","path":"/sdk/reference/interfaces/ICensus3StrategyEstimationQueueResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3StrategyHoldersResponse","path":"/sdk/reference/interfaces/ICensus3StrategyHoldersResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3StrategyHoldersResponsePaginated","path":"/sdk/reference/interfaces/ICensus3StrategyHoldersResponsePaginated","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3StrategyImportQueueResponse","path":"/sdk/reference/interfaces/ICensus3StrategyImportQueueResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3StrategyToken","path":"/sdk/reference/interfaces/ICensus3StrategyToken","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3SupportedChain","path":"/sdk/reference/interfaces/ICensus3SupportedChain","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3TokenHolderResponse","path":"/sdk/reference/interfaces/ICensus3TokenHolderResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3TokenListResponse","path":"/sdk/reference/interfaces/ICensus3TokenListResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3TokenListResponsePaginated","path":"/sdk/reference/interfaces/ICensus3TokenListResponsePaginated","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3TokenTypesResponse","path":"/sdk/reference/interfaces/ICensus3TokenTypesResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3ValidatePredicateChild","path":"/sdk/reference/interfaces/ICensus3ValidatePredicateChild","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3ValidatePredicateResponse","path":"/sdk/reference/interfaces/ICensus3ValidatePredicateResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensus3ValidatePredicateToken","path":"/sdk/reference/interfaces/ICensus3ValidatePredicateToken","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensusExportResponse","path":"/sdk/reference/interfaces/ICensusExportResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensusImportResponse","path":"/sdk/reference/interfaces/ICensusImportResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensusParticipant","path":"/sdk/reference/interfaces/ICensusParticipant","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensusProofResponse","path":"/sdk/reference/interfaces/ICensusProofResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICensusPublishResponse","path":"/sdk/reference/interfaces/ICensusPublishResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainBlockInfoResponse","path":"/sdk/reference/interfaces/IChainBlockInfoResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainFeesListResponse","path":"/sdk/reference/interfaces/IChainFeesListResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainGetCircuitResponse","path":"/sdk/reference/interfaces/IChainGetCircuitResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainGetCostsResponse","path":"/sdk/reference/interfaces/IChainGetCostsResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainGetInfoResponse","path":"/sdk/reference/interfaces/IChainGetInfoResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainOrganizationCountResponse","path":"/sdk/reference/interfaces/IChainOrganizationCountResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainOrganizationListResponse","path":"/sdk/reference/interfaces/IChainOrganizationListResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainOrganizationResponse","path":"/sdk/reference/interfaces/IChainOrganizationResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainSubmitTxResponse","path":"/sdk/reference/interfaces/IChainSubmitTxResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainTxCountResponse","path":"/sdk/reference/interfaces/IChainTxCountResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainTxListResponse","path":"/sdk/reference/interfaces/IChainTxListResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainTxReference","path":"/sdk/reference/interfaces/IChainTxReference","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainValidator","path":"/sdk/reference/interfaces/IChainValidator","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChainValidatorsListResponse","path":"/sdk/reference/interfaces/IChainValidatorsListResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IChoice","path":"/sdk/reference/interfaces/IChoice","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICspAuthStep","path":"/sdk/reference/interfaces/ICspAuthStep","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICspFinalStepResponse","path":"/sdk/reference/interfaces/ICspFinalStepResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICspInfoResponse","path":"/sdk/reference/interfaces/ICspInfoResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICspIntermediateStepResponse","path":"/sdk/reference/interfaces/ICspIntermediateStepResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ICspSignResponse","path":"/sdk/reference/interfaces/ICspSignResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionCreateResponse","path":"/sdk/reference/interfaces/IElectionCreateResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionInfoResponse","path":"/sdk/reference/interfaces/IElectionInfoResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionKeysResponse","path":"/sdk/reference/interfaces/IElectionKeysResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionListFilter","path":"/sdk/reference/interfaces/IElectionListFilter","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionListResponse","path":"/sdk/reference/interfaces/IElectionListResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionMode","path":"/sdk/reference/interfaces/IElectionMode","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionNextIdResponse","path":"/sdk/reference/interfaces/IElectionNextIdResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionParameters","path":"/sdk/reference/interfaces/IElectionParameters","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionSummary","path":"/sdk/reference/interfaces/IElectionSummary","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionType","path":"/sdk/reference/interfaces/IElectionType","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionVote","path":"/sdk/reference/interfaces/IElectionVote","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IElectionVoteListResponse","path":"/sdk/reference/interfaces/IElectionVoteListResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IEncryptionKey","path":"/sdk/reference/interfaces/IEncryptionKey","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IInvalidElectionParameters","path":"/sdk/reference/interfaces/IInvalidElectionParameters","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IMultiChoiceElectionParameters","path":"/sdk/reference/interfaces/IMultiChoiceElectionParameters","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IPublishedElectionParameters","path":"/sdk/reference/interfaces/IPublishedElectionParameters","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IQuestion","path":"/sdk/reference/interfaces/IQuestion","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ITallyMode","path":"/sdk/reference/interfaces/ITallyMode","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IVoteEncryptedPackage","path":"/sdk/reference/interfaces/IVoteEncryptedPackage","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IVoteInfoResponse","path":"/sdk/reference/interfaces/IVoteInfoResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IVoteMode","path":"/sdk/reference/interfaces/IVoteMode","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IVotePackage","path":"/sdk/reference/interfaces/IVotePackage","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IVoteSubmitResponse","path":"/sdk/reference/interfaces/IVoteSubmitResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IVoteType","path":"/sdk/reference/interfaces/IVoteType","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IZkProofResponse","path":"/sdk/reference/interfaces/IZkProofResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/IZkSIKResponse","path":"/sdk/reference/interfaces/IZkSIKResponse","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/MintTokensTx","path":"/sdk/reference/interfaces/MintTokensTx","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/NewProcessTx","path":"/sdk/reference/interfaces/NewProcessTx","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/Process","path":"/sdk/reference/interfaces/Process","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/Proof","path":"/sdk/reference/interfaces/Proof","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/RegisterKeyTx","path":"/sdk/reference/interfaces/RegisterKeyTx","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/SendTokensTx","path":"/sdk/reference/interfaces/SendTokensTx","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/ServiceProperties","path":"/sdk/reference/interfaces/ServiceProperties","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/SetAccountTx","path":"/sdk/reference/interfaces/SetAccountTx","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/SetProcessTx","path":"/sdk/reference/interfaces/SetProcessTx","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/SetTransactionCostsTx","path":"/sdk/reference/interfaces/SetTransactionCostsTx","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/Tx","path":"/sdk/reference/interfaces/Tx","sidebar":"defaultSidebar"},{"id":"sdk/reference/interfaces/VoteEnvelope","path":"/sdk/reference/interfaces/VoteEnvelope","sidebar":"defaultSidebar"},{"id":"sdk/reference/sdk-reference","path":"/sdk/reference/sdk-reference","sidebar":"defaultSidebar"},{"id":"sdk/tutorial","path":"/sdk/tutorial","sidebar":"defaultSidebar"},{"id":"ui-components/account","path":"/ui-components/account","sidebar":"defaultSidebar"},{"id":"ui-components/election","path":"/ui-components/election","sidebar":"defaultSidebar"},{"id":"ui-components/index","path":"/ui-components/","sidebar":"defaultSidebar"},{"id":"ui-components/layout","path":"/ui-components/layout","sidebar":"defaultSidebar"},{"id":"ui-components/organization","path":"/ui-components/organization","sidebar":"defaultSidebar"},{"id":"ui-components/react-providers","path":"/ui-components/react-providers","sidebar":"defaultSidebar"},{"id":"vocdoni-api/accounts","path":"/vocdoni-api/accounts","sidebar":"defaultSidebar"},{"id":"vocdoni-api/add-account","path":"/vocdoni-api/add-account","sidebar":"defaultSidebar"},{"id":"vocdoni-api/add-participants-to-census","path":"/vocdoni-api/add-participants-to-census","sidebar":"defaultSidebar"},{"id":"vocdoni-api/build-an-election-id","path":"/vocdoni-api/build-an-election-id","sidebar":"defaultSidebar"},{"id":"vocdoni-api/census-merkle-root","path":"/vocdoni-api/census-merkle-root","sidebar":"defaultSidebar"},{"id":"vocdoni-api/census-size","path":"/vocdoni-api/census-size","sidebar":"defaultSidebar"},{"id":"vocdoni-api/census-total-weight","path":"/vocdoni-api/census-total-weight","sidebar":"defaultSidebar"},{"id":"vocdoni-api/censuses","path":"/vocdoni-api/censuses","sidebar":"defaultSidebar"},{"id":"vocdoni-api/chain","path":"/vocdoni-api/chain","sidebar":"defaultSidebar"},{"id":"vocdoni-api/check-census-publish-status","path":"/vocdoni-api/check-census-publish-status","sidebar":"defaultSidebar"},{"id":"vocdoni-api/circuit-info","path":"/vocdoni-api/circuit-info","sidebar":"defaultSidebar"},{"id":"vocdoni-api/compute-election-price","path":"/vocdoni-api/compute-election-price","sidebar":"defaultSidebar"},{"id":"vocdoni-api/compute-ipfs-ci-dv-1-of-file","path":"/vocdoni-api/compute-ipfs-ci-dv-1-of-file","sidebar":"defaultSidebar"},{"id":"vocdoni-api/count-election-votes","path":"/vocdoni-api/count-election-votes","sidebar":"defaultSidebar"},{"id":"vocdoni-api/count-organization-elections","path":"/vocdoni-api/count-organization-elections","sidebar":"defaultSidebar"},{"id":"vocdoni-api/count-organizations","path":"/vocdoni-api/count-organizations","sidebar":"defaultSidebar"},{"id":"vocdoni-api/create-a-new-census","path":"/vocdoni-api/create-a-new-census","sidebar":"defaultSidebar"},{"id":"vocdoni-api/create-election","path":"/vocdoni-api/create-election","sidebar":"defaultSidebar"},{"id":"vocdoni-api/create-election-for-wallet","path":"/vocdoni-api/create-election-for-wallet","sidebar":"defaultSidebar"},{"id":"vocdoni-api/delete-census","path":"/vocdoni-api/delete-census","sidebar":"defaultSidebar"},{"id":"vocdoni-api/election-information","path":"/vocdoni-api/election-information","sidebar":"defaultSidebar"},{"id":"vocdoni-api/election-results","path":"/vocdoni-api/election-results","sidebar":"defaultSidebar"},{"id":"vocdoni-api/elections","path":"/vocdoni-api/elections","sidebar":"defaultSidebar"},{"id":"vocdoni-api/estimate-block-to-date","path":"/vocdoni-api/estimate-block-to-date","sidebar":"defaultSidebar"},{"id":"vocdoni-api/estimate-date-to-block","path":"/vocdoni-api/estimate-date-to-block","sidebar":"defaultSidebar"},{"id":"vocdoni-api/export-census","path":"/vocdoni-api/export-census","sidebar":"defaultSidebar"},{"id":"vocdoni-api/export-census-database","path":"/vocdoni-api/export-census-database","sidebar":"defaultSidebar"},{"id":"vocdoni-api/exports-the-indexer-database","path":"/vocdoni-api/exports-the-indexer-database","sidebar":"defaultSidebar"},{"id":"vocdoni-api/get-account","path":"/vocdoni-api/get-account","sidebar":"defaultSidebar"},{"id":"vocdoni-api/get-block-by-hash","path":"/vocdoni-api/get-block-by-hash","sidebar":"defaultSidebar"},{"id":"vocdoni-api/get-block-by-height","path":"/vocdoni-api/get-block-by-height","sidebar":"defaultSidebar"},{"id":"vocdoni-api/get-type-of-census","path":"/vocdoni-api/get-type-of-census","sidebar":"defaultSidebar"},{"id":"vocdoni-api/get-vote","path":"/vocdoni-api/get-vote","sidebar":"defaultSidebar"},{"id":"vocdoni-api/import-census","path":"/vocdoni-api/import-census","sidebar":"defaultSidebar"},{"id":"vocdoni-api/import-census-database","path":"/vocdoni-api/import-census-database","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-account-received-and-sent-token-transfers","path":"/vocdoni-api/list-account-received-and-sent-token-transfers","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-account-token-fees","path":"/vocdoni-api/list-account-token-fees","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-all-blocks","path":"/vocdoni-api/list-all-blocks","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-all-census-references","path":"/vocdoni-api/list-all-census-references","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-all-token-fees","path":"/vocdoni-api/list-all-token-fees","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-all-token-fees-by-reference","path":"/vocdoni-api/list-all-token-fees-by-reference","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-all-token-fees-by-type","path":"/vocdoni-api/list-all-token-fees-by-type","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-all-token-transfers","path":"/vocdoni-api/list-all-token-transfers","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-election-votes","path":"/vocdoni-api/list-election-votes","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-elections","path":"/vocdoni-api/list-elections","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-elections-filtered","path":"/vocdoni-api/list-elections-filtered","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-encryption-keys","path":"/vocdoni-api/list-encryption-keys","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-of-the-existing-accounts","path":"/vocdoni-api/list-of-the-existing-accounts","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-of-valid-sik-roots","path":"/vocdoni-api/list-of-valid-sik-roots","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-organization-elections","path":"/vocdoni-api/list-organization-elections","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-organization-elections-by-status","path":"/vocdoni-api/list-organization-elections-by-status","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-organizations","path":"/vocdoni-api/list-organizations","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-organizations-filtered","path":"/vocdoni-api/list-organizations-filtered","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-transactions","path":"/vocdoni-api/list-transactions","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-validators","path":"/vocdoni-api/list-validators","sidebar":"defaultSidebar"},{"id":"vocdoni-api/list-votes","path":"/vocdoni-api/list-votes","sidebar":"defaultSidebar"},{"id":"vocdoni-api/price-factors-information","path":"/vocdoni-api/price-factors-information","sidebar":"defaultSidebar"},{"id":"vocdoni-api/prove-key-to-census","path":"/vocdoni-api/prove-key-to-census","sidebar":"defaultSidebar"},{"id":"vocdoni-api/publish-census","path":"/vocdoni-api/publish-census","sidebar":"defaultSidebar"},{"id":"vocdoni-api/returns-if-the-address-provided-has-a-valid-sik","path":"/vocdoni-api/returns-if-the-address-provided-has-a-valid-sik","sidebar":"defaultSidebar"},{"id":"vocdoni-api/set-account","path":"/vocdoni-api/set-account","sidebar":"defaultSidebar"},{"id":"vocdoni-api/set-wallet-account","path":"/vocdoni-api/set-wallet-account","sidebar":"defaultSidebar"},{"id":"vocdoni-api/sik","path":"/vocdoni-api/sik","sidebar":"defaultSidebar"},{"id":"vocdoni-api/submit-a-vote","path":"/vocdoni-api/submit-a-vote","sidebar":"defaultSidebar"},{"id":"vocdoni-api/submit-transaction","path":"/vocdoni-api/submit-transaction","sidebar":"defaultSidebar"},{"id":"vocdoni-api/total-number-of-accounts","path":"/vocdoni-api/total-number-of-accounts","sidebar":"defaultSidebar"},{"id":"vocdoni-api/total-number-of-sent-and-received-transactions","path":"/vocdoni-api/total-number-of-sent-and-received-transactions","sidebar":"defaultSidebar"},{"id":"vocdoni-api/transaction-by-block-height-and-index","path":"/vocdoni-api/transaction-by-block-height-and-index","sidebar":"defaultSidebar"},{"id":"vocdoni-api/transaction-by-hash","path":"/vocdoni-api/transaction-by-hash","sidebar":"defaultSidebar"},{"id":"vocdoni-api/transaction-by-index","path":"/vocdoni-api/transaction-by-index","sidebar":"defaultSidebar"},{"id":"vocdoni-api/transaction-costs","path":"/vocdoni-api/transaction-costs","sidebar":"defaultSidebar"},{"id":"vocdoni-api/transactions-count","path":"/vocdoni-api/transactions-count","sidebar":"defaultSidebar"},{"id":"vocdoni-api/transactions-in-a-block","path":"/vocdoni-api/transactions-in-a-block","sidebar":"defaultSidebar"},{"id":"vocdoni-api/transfer-tokens","path":"/vocdoni-api/transfer-tokens","sidebar":"defaultSidebar"},{"id":"vocdoni-api/verify-merkle-proof","path":"/vocdoni-api/verify-merkle-proof","sidebar":"defaultSidebar"},{"id":"vocdoni-api/verify-vote","path":"/vocdoni-api/verify-vote","sidebar":"defaultSidebar"},{"id":"vocdoni-api/vocdoni-api","path":"/vocdoni-api/vocdoni-api","sidebar":"defaultSidebar"},{"id":"vocdoni-api/vochain-information","path":"/vocdoni-api/vochain-information","sidebar":"defaultSidebar"},{"id":"vocdoni-api/votes","path":"/vocdoni-api/votes","sidebar":"defaultSidebar"},{"id":"vocdoni-api/wallet","path":"/vocdoni-api/wallet","sidebar":"defaultSidebar"}],"draftIds":[],"sidebars":{"defaultSidebar":{"link":{"path":"/intro","label":"intro"}}}}],"breadcrumbs":true}}}'),t=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"En","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var r=c(57529);const n=JSON.parse('{"docusaurusVersion":"2.2.0","siteVersion":"1.4.1","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"2.2.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"2.2.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"2.2.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"2.2.0"},"docusaurus-theme-search-algolia":{"type":"package","name":"@docusaurus/theme-search-algolia","version":"2.2.0"},"webpack-loader":{"type":"package","name":"webpack-loader","version":"0.0.0"},"docusaurus-plugin-openapi-docs":{"type":"package","name":"docusaurus-plugin-openapi-docs","version":"1.5.0"},"docusaurus-tailwindcss":{"type":"local"},"docusaurus-theme-live-codeblock":{"type":"package","name":"@docusaurus/theme-live-codeblock","version":"2.2.0"},"docusaurus-theme-openapi":{"type":"package","name":"docusaurus-theme-openapi-docs","version":"1.5.0"},"docusaurus-theme-mermaid":{"type":"package","name":"@docusaurus/theme-mermaid","version":"2.2.0"}}}'),i={siteConfig:f.default,siteMetadata:n,globalData:b,i18n:t,codeTranslations:r},o=d.createContext(i);function s(e){let{children:a}=e;return d.createElement(o.Provider,{value:i},a)}},44763:(e,a,c)=>{"use strict";c.d(a,{Z:()=>o});var d=c(67294),f=c(10412),b=c(35742),t=c(31719);function r(e){let{error:a,tryAgain:c}=e;return d.createElement("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",height:"50vh",width:"100%",fontSize:"20px"}},d.createElement("h1",null,"This page crashed."),d.createElement("p",null,a.message),d.createElement("button",{type:"button",onClick:c},"Try again"))}function n(e){let{error:a,tryAgain:c}=e;return d.createElement(o,{fallback:()=>d.createElement(r,{error:a,tryAgain:c})},d.createElement(b.Z,null,d.createElement("title",null,"Page Error")),d.createElement(t.Z,null,d.createElement(r,{error:a,tryAgain:c})))}const i=e=>d.createElement(n,e);class o extends d.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){f.Z.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:a}=this.state;if(a){const e={error:a,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??i)(e)}return e??null}}},10412:(e,a,c)=>{"use strict";c.d(a,{Z:()=>f});const d="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,f={canUseDOM:d,canUseEventListeners:d&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:d&&"IntersectionObserver"in window,canUseViewport:d&&"screen"in window}},35742:(e,a,c)=>{"use strict";c.d(a,{Z:()=>b});var d=c(67294),f=c(70405);function b(e){return d.createElement(f.ql,e)}},39960:(e,a,c)=>{"use strict";c.d(a,{Z:()=>x});var d=c(87462),f=c(67294),b=c(73727),t=c(18780),r=c(52263),n=c(13919),i=c(10412);const o=f.createContext({collectLink:()=>{}});var s=c(44996);function l(e,a){let{isNavLink:c,to:l,href:x,activeClassName:u,isActive:h,"data-noBrokenLinkCheck":p,autoAddBaseUrl:m=!0,...g}=e;const{siteConfig:{trailingSlash:y,baseUrl:v}}=(0,r.Z)(),{withBaseUrl:_}=(0,s.C)(),w=(0,f.useContext)(o),S=(0,f.useRef)(null);(0,f.useImperativeHandle)(a,(()=>S.current));const E=l||x;const A=(0,n.Z)(E),k=E?.replace("pathname://","");let I=void 0!==k?(C=k,m&&(e=>e.startsWith("/"))(C)?_(C):C):void 0;var C;I&&A&&(I=(0,t.applyTrailingSlash)(I,{trailingSlash:y,baseUrl:v}));const L=(0,f.useRef)(!1),T=c?b.OL:b.rU,P=i.Z.canUseIntersectionObserver,R=(0,f.useRef)(),M=()=>{L.current||null==I||(window.docusaurus.preload(I),L.current=!0)};(0,f.useEffect)((()=>(!P&&A&&null!=I&&window.docusaurus.prefetch(I),()=>{P&&R.current&&R.current.disconnect()})),[R,I,P,A]);const B=I?.startsWith("#")??!1,O=!I||!A||B;return O||p||w.collectLink(I),O?f.createElement("a",(0,d.Z)({ref:S,href:I},E&&!A&&{target:"_blank",rel:"noopener noreferrer"},g)):f.createElement(T,(0,d.Z)({},g,{onMouseEnter:M,onTouchStart:M,innerRef:e=>{S.current=e,P&&e&&A&&(R.current=new window.IntersectionObserver((a=>{a.forEach((a=>{e===a.target&&(a.isIntersecting||a.intersectionRatio>0)&&(R.current.unobserve(e),R.current.disconnect(),null!=I&&window.docusaurus.prefetch(I))}))})),R.current.observe(e))},to:I},c&&{isActive:h,activeClassName:u}))}const x=f.forwardRef(l)},95999:(e,a,c)=>{"use strict";c.d(a,{Z:()=>n,I:()=>r});var d=c(67294);function f(e,a){const c=e.split(/(\{\w+\})/).map(((e,c)=>{if(c%2==1){const c=a?.[e.slice(1,-1)];if(void 0!==c)return c}return e}));return c.some((e=>(0,d.isValidElement)(e)))?c.map(((e,a)=>(0,d.isValidElement)(e)?d.cloneElement(e,{key:a}):e)).filter((e=>""!==e)):c.join("")}var b=c(57529);function t(e){let{id:a,message:c}=e;if(void 0===a&&void 0===c)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return b[a??c]??c??a}function r(e,a){let{message:c,id:d}=e;return f(t({message:c,id:d}),a)}function n(e){let{children:a,id:c,values:b}=e;if(a&&"string"!=typeof a)throw console.warn("Illegal children",a),new Error("The Docusaurus component only accept simple string values");const r=t({message:a,id:c});return d.createElement(d.Fragment,null,f(r,b))}},29935:(e,a,c)=>{"use strict";c.d(a,{m:()=>d});const d="default"},13919:(e,a,c)=>{"use strict";function d(e){return/^(?:\w*:|\/\/)/.test(e)}function f(e){return void 0!==e&&!d(e)}c.d(a,{Z:()=>f,b:()=>d})},44996:(e,a,c)=>{"use strict";c.d(a,{C:()=>b,Z:()=>t});var d=c(52263),f=c(13919);function b(){const{siteConfig:{baseUrl:e,url:a}}=(0,d.Z)();return{withBaseUrl:(c,d)=>function(e,a,c,d){let{forcePrependBaseUrl:b=!1,absolute:t=!1}=void 0===d?{}:d;if(!c||c.startsWith("#")||(0,f.b)(c))return c;if(b)return a+c.replace(/^\//,"");if(c===a.replace(/\/$/,""))return a;const r=c.startsWith(a)?c:a+c.replace(/^\//,"");return t?e+r:r}(a,e,c,d)}}function t(e,a){void 0===a&&(a={});const{withBaseUrl:c}=b();return c(e,a)}},52263:(e,a,c)=>{"use strict";c.d(a,{Z:()=>b});var d=c(67294),f=c(58940);function b(){return(0,d.useContext)(f._)}},72389:(e,a,c)=>{"use strict";c.d(a,{Z:()=>b});var d=c(67294),f=c(98934);function b(){return(0,d.useContext)(f._)}},99670:(e,a,c)=>{"use strict";c.d(a,{Z:()=>d});function d(e){const a={};return function e(c,d){Object.entries(c).forEach((c=>{let[f,b]=c;const t=d?`${d}.${f}`:f;var r;"object"==typeof(r=b)&&r&&Object.keys(r).length>0?e(b,t):a[t]=b}))}(e),a}},30226:(e,a,c)=>{"use strict";c.d(a,{_:()=>f,z:()=>b});var d=c(67294);const f=d.createContext(null);function b(e){let{children:a,value:c}=e;const b=d.useContext(f),t=(0,d.useMemo)((()=>function(e){let{parent:a,value:c}=e;if(!a){if(!c)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in c))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return c}const d={...a.data,...c?.data};return{plugin:a.plugin,data:d}}({parent:b,value:c})),[b,c]);return d.createElement(f.Provider,{value:t},a)}},80143:(e,a,c)=>{"use strict";c.d(a,{Iw:()=>m,gA:()=>x,WS:()=>u,_r:()=>s,Jo:()=>g,zh:()=>l,yW:()=>p,gB:()=>h});var d=c(16550),f=c(52263),b=c(29935);function t(e,a){void 0===a&&(a={});const c=function(){const{globalData:e}=(0,f.Z)();return e}()[e];if(!c&&a.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return c}const r=e=>e.versions.find((e=>e.isLast));function n(e,a){const c=r(e);return[...e.versions.filter((e=>e!==c)),c].find((e=>!!(0,d.LX)(a,{path:e.path,exact:!1,strict:!1})))}function i(e,a){const c=n(e,a),f=c?.docs.find((e=>!!(0,d.LX)(a,{path:e.path,exact:!0,strict:!1})));return{activeVersion:c,activeDoc:f,alternateDocVersions:f?function(a){const c={};return e.versions.forEach((e=>{e.docs.forEach((d=>{d.id===a&&(c[e.name]=d)}))})),c}(f.id):{}}}const o={},s=()=>t("docusaurus-plugin-content-docs")??o,l=e=>function(e,a,c){void 0===a&&(a=b.m),void 0===c&&(c={});const d=t(e)?.[a];if(!d&&c.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${a}".`);return d}("docusaurus-plugin-content-docs",e,{failfast:!0});function x(e){void 0===e&&(e={});const a=s(),{pathname:c}=(0,d.TH)();return function(e,a,c){void 0===c&&(c={});const f=Object.entries(e).sort(((e,a)=>a[1].path.localeCompare(e[1].path))).find((e=>{let[,c]=e;return!!(0,d.LX)(a,{path:c.path,exact:!1,strict:!1})})),b=f?{pluginId:f[0],pluginData:f[1]}:void 0;if(!b&&c.failfast)throw new Error(`Can't find active docs plugin for "${a}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return b}(a,c,e)}function u(e){void 0===e&&(e={});const a=x(e),{pathname:c}=(0,d.TH)();if(!a)return;return{activePlugin:a,activeVersion:n(a.pluginData,c)}}function h(e){return l(e).versions}function p(e){const a=l(e);return r(a)}function m(e){const a=l(e),{pathname:c}=(0,d.TH)();return i(a,c)}function g(e){const a=l(e),{pathname:c}=(0,d.TH)();return function(e,a){const c=r(e);return{latestDocSuggestion:i(e,a).alternateDocVersions[c.name],latestVersionSuggestion:c}}(a,c)}},18320:(e,a,c)=>{"use strict";c.r(a),c.d(a,{default:()=>b});var d=c(74865),f=c.n(d);f().configure({showSpinner:!1});const b={onRouteUpdate(e){let{location:a,previousLocation:c}=e;if(c&&a.pathname!==c.pathname){const e=window.setTimeout((()=>{f().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){f().done()}}},3310:(e,a,c)=>{"use strict";c.r(a);var d=c(87410),f=c(36809);!function(e){const{themeConfig:{prism:a}}=f.default,{additionalLanguages:d}=a;globalThis.Prism=e,d.forEach((e=>{c(99768)(`./prism-${e}`)})),delete globalThis.Prism}(d.Z)},21327:(e,a,c)=>{"use strict";c.d(a,{Z:()=>s});var d=c(87462),f=c(67294),b=c(39960),t=c(44996),r=c(52263),n=c(86668),i=c(50941);function o(e){let{logo:a,alt:c,imageClassName:d}=e;const b={light:(0,t.Z)(a.src),dark:(0,t.Z)(a.srcDark||a.src)},r=f.createElement(i.Z,{className:a.className,sources:b,height:a.height,width:a.width,alt:c,style:a.style});return d?f.createElement("div",{className:d},r):r}function s(e){const{siteConfig:{title:a}}=(0,r.Z)(),{navbar:{title:c,logo:i}}=(0,n.L)(),{imageClassName:s,titleClassName:l,...x}=e,u=(0,t.Z)(i?.href||"/"),h=c?"":a,p=i?.alt??h;return f.createElement(b.Z,(0,d.Z)({to:u},x,i?.target&&{target:i.target}),i&&f.createElement(o,{logo:i,alt:p,imageClassName:s}),null!=c&&f.createElement("b",{className:l},c))}},90197:(e,a,c)=>{"use strict";c.d(a,{Z:()=>b});var d=c(67294),f=c(35742);function b(e){let{locale:a,version:c,tag:b}=e;const t=a;return d.createElement(f.Z,null,a&&d.createElement("meta",{name:"docusaurus_locale",content:a}),c&&d.createElement("meta",{name:"docusaurus_version",content:c}),b&&d.createElement("meta",{name:"docusaurus_tag",content:b}),t&&d.createElement("meta",{name:"docsearch:language",content:t}),c&&d.createElement("meta",{name:"docsearch:version",content:c}),b&&d.createElement("meta",{name:"docsearch:docusaurus_tag",content:b}))}},50941:(e,a,c)=>{"use strict";c.d(a,{Z:()=>i});var d=c(87462),f=c(67294),b=c(86010),t=c(72389),r=c(92949);const n={themedImage:"themedImage_ToTc","themedImage--light":"themedImage--light_HNdA","themedImage--dark":"themedImage--dark_i4oU"};function i(e){const a=(0,t.Z)(),{colorMode:c}=(0,r.I)(),{sources:i,className:o,alt:s,...l}=e,x=a?"dark"===c?["dark"]:["light"]:["light","dark"];return f.createElement(f.Fragment,null,x.map((e=>f.createElement("img",(0,d.Z)({key:e,src:i[e],alt:s,className:(0,b.Z)(n.themedImage,n[`themedImage--${e}`],o)},l)))))}},86043:(e,a,c)=>{"use strict";c.d(a,{u:()=>t,z:()=>u});var d=c(87462),f=c(67294),b=c(10412);function t(e){let{initialState:a}=e;const[c,d]=(0,f.useState)(a??!1),b=(0,f.useCallback)((()=>{d((e=>!e))}),[]);return{collapsed:c,setCollapsed:d,toggleCollapsed:b}}const r={display:"none",overflow:"hidden",height:"0px"},n={display:"block",overflow:"visible",height:"auto"};function i(e,a){const c=a?r:n;e.style.display=c.display,e.style.overflow=c.overflow,e.style.height=c.height}function o(e){let{collapsibleRef:a,collapsed:c,animation:d}=e;const b=(0,f.useRef)(!1);(0,f.useEffect)((()=>{const e=a.current;function f(){const a=e.scrollHeight,c=d?.duration??function(e){const a=e/36;return Math.round(10*(4+15*a**.25+a/5))}(a);return{transition:`height ${c}ms ${d?.easing??"ease-in-out"}`,height:`${a}px`}}function t(){const a=f();e.style.transition=a.transition,e.style.height=a.height}if(!b.current)return i(e,c),void(b.current=!0);return e.style.willChange="height",function(){const a=requestAnimationFrame((()=>{c?(t(),requestAnimationFrame((()=>{e.style.height=r.height,e.style.overflow=r.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{t()})))}));return()=>cancelAnimationFrame(a)}()}),[a,c,d])}function s(e){if(!b.Z.canUseDOM)return e?r:n}function l(e){let{as:a="div",collapsed:c,children:d,animation:b,onCollapseTransitionEnd:t,className:r,disableSSRStyle:n}=e;const l=(0,f.useRef)(null);return o({collapsibleRef:l,collapsed:c,animation:b}),f.createElement(a,{ref:l,style:n?void 0:s(c),onTransitionEnd:e=>{"height"===e.propertyName&&(i(l.current,c),t?.(c))},className:r},d)}function x(e){let{collapsed:a,...c}=e;const[b,t]=(0,f.useState)(!a),[r,n]=(0,f.useState)(a);return(0,f.useLayoutEffect)((()=>{a||t(!0)}),[a]),(0,f.useLayoutEffect)((()=>{b&&n(a)}),[b,a]),b?f.createElement(l,(0,d.Z)({},c,{collapsed:r})):null}function u(e){let{lazy:a,...c}=e;const d=a?x:l;return f.createElement(d,c)}},59689:(e,a,c)=>{"use strict";c.d(a,{nT:()=>u,pl:()=>x});var d=c(67294),f=c(72389),b=c(50012),t=c(902),r=c(86668);const n=(0,b.W)("docusaurus.announcement.dismiss"),i=(0,b.W)("docusaurus.announcement.id"),o=()=>"true"===n.get(),s=e=>n.set(String(e)),l=d.createContext(null);function x(e){let{children:a}=e;const c=function(){const{announcementBar:e}=(0,r.L)(),a=(0,f.Z)(),[c,b]=(0,d.useState)((()=>!!a&&o()));(0,d.useEffect)((()=>{b(o())}),[]);const t=(0,d.useCallback)((()=>{s(!0),b(!0)}),[]);return(0,d.useEffect)((()=>{if(!e)return;const{id:a}=e;let c=i.get();"annoucement-bar"===c&&(c="announcement-bar");const d=a!==c;i.set(a),d&&s(!1),!d&&o()||b(!1)}),[e]),(0,d.useMemo)((()=>({isActive:!!e&&!c,close:t})),[e,c,t])}();return d.createElement(l.Provider,{value:c},a)}function u(){const e=(0,d.useContext)(l);if(!e)throw new t.i6("AnnouncementBarProvider");return e}},92949:(e,a,c)=>{"use strict";c.d(a,{I:()=>p,S:()=>h});var d=c(67294),f=c(10412),b=c(902),t=c(50012),r=c(86668);const n=d.createContext(void 0),i="theme",o=(0,t.W)(i),s="light",l="dark",x=e=>e===l?l:s;function u(){const{colorMode:{defaultMode:e,disableSwitch:a,respectPrefersColorScheme:c}}=(0,r.L)(),[b,t]=(0,d.useState)((e=>f.Z.canUseDOM?x(document.documentElement.getAttribute("data-theme")):x(e))(e));(0,d.useEffect)((()=>{a&&o.del()}),[a]);const n=(0,d.useCallback)((function(a,d){void 0===d&&(d={});const{persist:f=!0}=d;a?(t(a),f&&(e=>{o.set(x(e))})(a)):(t(c?window.matchMedia("(prefers-color-scheme: dark)").matches?l:s:e),o.del())}),[c,e]);(0,d.useEffect)((()=>{document.documentElement.setAttribute("data-theme",x(b))}),[b]),(0,d.useEffect)((()=>{if(a)return;const e=e=>{if(e.key!==i)return;const a=o.get();null!==a&&n(x(a))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[a,n]);const u=(0,d.useRef)(!1);return(0,d.useEffect)((()=>{if(a&&!c)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),d=()=>{window.matchMedia("print").matches||u.current?u.current=window.matchMedia("print").matches:n(null)};return e.addListener(d),()=>e.removeListener(d)}),[n,a,c]),(0,d.useMemo)((()=>({colorMode:b,setColorMode:n,get isDarkTheme(){return b===l},setLightTheme(){n(s)},setDarkTheme(){n(l)}})),[b,n])}function h(e){let{children:a}=e;const c=u();return d.createElement(n.Provider,{value:c},a)}function p(){const e=(0,d.useContext)(n);if(null==e)throw new b.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},60373:(e,a,c)=>{"use strict";c.d(a,{J:()=>y,L5:()=>m,Oh:()=>v});var d=c(67294),f=c(80143),b=c(29935),t=c(86668),r=c(53438),n=c(902),i=c(50012);const o=e=>`docs-preferred-version-${e}`,s=(e,a,c)=>{(0,i.W)(o(e),{persistence:a}).set(c)},l=(e,a)=>(0,i.W)(o(e),{persistence:a}).get(),x=(e,a)=>{(0,i.W)(o(e),{persistence:a}).del()};const u=d.createContext(null);function h(){const e=(0,f._r)(),a=(0,t.L)().docs.versionPersistence,c=(0,d.useMemo)((()=>Object.keys(e)),[e]),[b,r]=(0,d.useState)((()=>(e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}]))))(c)));(0,d.useEffect)((()=>{r(function(e){let{pluginIds:a,versionPersistence:c,allDocsData:d}=e;function f(e){const a=l(e,c);return d[e].versions.some((e=>e.name===a))?{preferredVersionName:a}:(x(e,c),{preferredVersionName:null})}return Object.fromEntries(a.map((e=>[e,f(e)])))}({allDocsData:e,versionPersistence:a,pluginIds:c}))}),[e,a,c]);return[b,(0,d.useMemo)((()=>({savePreferredVersion:function(e,c){s(e,a,c),r((a=>({...a,[e]:{preferredVersionName:c}})))}})),[a])]}function p(e){let{children:a}=e;const c=h();return d.createElement(u.Provider,{value:c},a)}function m(e){let{children:a}=e;return r.cE?d.createElement(p,null,a):d.createElement(d.Fragment,null,a)}function g(){const e=(0,d.useContext)(u);if(!e)throw new n.i6("DocsPreferredVersionContextProvider");return e}function y(e){void 0===e&&(e=b.m);const a=(0,f.zh)(e),[c,t]=g(),{preferredVersionName:r}=c[e];return{preferredVersion:a.versions.find((e=>e.name===r))??null,savePreferredVersionName:(0,d.useCallback)((a=>{t.savePreferredVersion(e,a)}),[t,e])}}function v(){const e=(0,f._r)(),[a]=g();function c(c){const d=e[c],{preferredVersionName:f}=a[c];return d.versions.find((e=>e.name===f))??null}const d=Object.keys(e);return Object.fromEntries(d.map((e=>[e,c(e)])))}},1116:(e,a,c)=>{"use strict";c.d(a,{V:()=>n,b:()=>r});var d=c(67294),f=c(902);const b=Symbol("EmptyContext"),t=d.createContext(b);function r(e){let{children:a,name:c,items:f}=e;const b=(0,d.useMemo)((()=>c&&f?{name:c,items:f}:null),[c,f]);return d.createElement(t.Provider,{value:b},a)}function n(){const e=(0,d.useContext)(t);if(e===b)throw new f.i6("DocsSidebarProvider");return e}},74477:(e,a,c)=>{"use strict";c.d(a,{E:()=>r,q:()=>t});var d=c(67294),f=c(902);const b=d.createContext(null);function t(e){let{children:a,version:c}=e;return d.createElement(b.Provider,{value:c},a)}function r(){const e=(0,d.useContext)(b);if(null===e)throw new f.i6("DocsVersionProvider");return e}},93163:(e,a,c)=>{"use strict";c.d(a,{M:()=>s,e:()=>l});var d=c(67294),f=c(13102),b=c(87524),t=c(91980),r=c(86668),n=c(902);const i=d.createContext(void 0);function o(){const e=function(){const e=(0,f.HY)(),{items:a}=(0,r.L)().navbar;return 0===a.length&&!e.component}(),a=(0,b.i)(),c=!e&&"mobile"===a,[n,i]=(0,d.useState)(!1);(0,t.R)((()=>{if(n)return i(!1),!1}));const o=(0,d.useCallback)((()=>{i((e=>!e))}),[]);return(0,d.useEffect)((()=>{"desktop"===a&&i(!1)}),[a]),(0,d.useMemo)((()=>({disabled:e,shouldRender:c,toggle:o,shown:n})),[e,c,o,n])}function s(e){let{children:a}=e;const c=o();return d.createElement(i.Provider,{value:c},a)}function l(){const e=d.useContext(i);if(void 0===e)throw new n.i6("NavbarMobileSidebarProvider");return e}},13102:(e,a,c)=>{"use strict";c.d(a,{HY:()=>r,Zo:()=>n,n2:()=>t});var d=c(67294),f=c(902);const b=d.createContext(null);function t(e){let{children:a}=e;const c=(0,d.useState)({component:null,props:null});return d.createElement(b.Provider,{value:c},a)}function r(){const e=(0,d.useContext)(b);if(!e)throw new f.i6("NavbarSecondaryMenuContentProvider");return e[0]}function n(e){let{component:a,props:c}=e;const t=(0,d.useContext)(b);if(!t)throw new f.i6("NavbarSecondaryMenuContentProvider");const[,r]=t,n=(0,f.Ql)(c);return(0,d.useEffect)((()=>{r({component:a,props:n})}),[r,a,n]),(0,d.useEffect)((()=>()=>r({component:null,props:null})),[r]),null}},76857:(e,a,c)=>{"use strict";c.d(a,{P:()=>n,Y:()=>o});var d=c(67294),f=c(902),b=c(93163),t=c(13102);const r=d.createContext(null);function n(e){let{children:a}=e;const c=function(){const e=(0,b.e)(),a=(0,t.HY)(),[c,r]=(0,d.useState)(!1),n=null!==a.component,i=(0,f.D9)(n);return(0,d.useEffect)((()=>{n&&!i&&r(!0)}),[n,i]),(0,d.useEffect)((()=>{n?e.shown||r(!0):r(!1)}),[e.shown,n]),(0,d.useMemo)((()=>[c,r]),[c])}();return d.createElement(r.Provider,{value:c},a)}function i(e){if(e.component){const a=e.component;return d.createElement(a,e.props)}}function o(){const e=(0,d.useContext)(r);if(!e)throw new f.i6("NavbarSecondaryMenuDisplayProvider");const[a,c]=e,b=(0,d.useCallback)((()=>c(!1)),[c]),n=(0,t.HY)();return(0,d.useMemo)((()=>({shown:a,hide:b,content:i(n)})),[b,n,a])}},7094:(e,a,c)=>{"use strict";c.d(a,{U:()=>i,z:()=>n});var d=c(67294),f=c(50012),b=c(902);const t="docusaurus.tab.",r=d.createContext(void 0);function n(e){let{children:a}=e;const c=function(){const[e,a]=(0,d.useState)({}),c=(0,d.useCallback)(((e,a)=>{(0,f.W)(`docusaurus.tab.${e}`).set(a)}),[]);(0,d.useEffect)((()=>{try{const e={};(0,f._)().forEach((a=>{if(a.startsWith(t)){const c=a.substring(t.length);e[c]=(0,f.W)(a).get()}})),a(e)}catch(e){console.error(e)}}),[]);const b=(0,d.useCallback)(((e,d)=>{a((a=>({...a,[e]:d}))),c(e,d)}),[c]);return(0,d.useMemo)((()=>({tabGroupChoices:e,setTabGroupChoices:b})),[e,b])}();return d.createElement(r.Provider,{value:c},a)}function i(){const e=(0,d.useContext)(r);if(null==e)throw new b.i6("TabGroupChoiceProvider");return e}},99445:(e,a,c)=>{"use strict";c.d(a,{c:()=>t});var d=c(67294),f=c(85936),b=c(12466);function t(e){const[a,c]=(0,d.useState)(e),t=(0,d.useRef)(!1),r=(0,d.useRef)(0),n=(0,d.useCallback)((e=>{null!==e&&(r.current=e.getBoundingClientRect().height)}),[]);return(0,b.RF)(((a,d)=>{let{scrollY:f}=a;if(!e)return;if(f=b?c(!1):f+i{if(!e)return;const d=a.location.hash;if(d?document.getElementById(d.substring(1)):void 0)return t.current=!0,void c(!1);c(!0)})),{navbarRef:n,isNavbarVisible:a}}},19727:(e,a,c)=>{"use strict";c.d(a,{h:()=>f,t:()=>b});var d=c(67294);const f="navigation-with-keyboard";function b(){(0,d.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(f),"mousedown"===e.type&&document.body.classList.remove(f)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(f),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},69800:(e,a,c)=>{"use strict";c.d(a,{N:()=>f});var d=c(67294);function f(e){void 0===e&&(e=!0),(0,d.useEffect)((()=>(document.body.style.overflow=e?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[e])}},66177:(e,a,c)=>{"use strict";c.d(a,{O:()=>r});var d=c(67294),f=c(16550),b=c(52263);const t="q";function r(){const e=(0,f.k6)(),{siteConfig:{baseUrl:a}}=(0,b.Z)(),[c,r]=(0,d.useState)("");(0,d.useEffect)((()=>{const e=new URLSearchParams(window.location.search).get(t)??"";r(e)}),[]);return{searchQuery:c,setSearchQuery:(0,d.useCallback)((a=>{const c=new URLSearchParams(window.location.search);a?c.set(t,a):c.delete(t),e.replace({search:c.toString()}),r(a)}),[e]),generateSearchPageLink:(0,d.useCallback)((e=>`${a}search?q=${encodeURIComponent(e)}`),[a])}}},87524:(e,a,c)=>{"use strict";c.d(a,{i:()=>i});var d=c(67294),f=c(10412);const b="desktop",t="mobile",r="ssr";function n(){return f.Z.canUseDOM?window.innerWidth>996?b:t:r}function i(){const[e,a]=(0,d.useState)((()=>n()));return(0,d.useEffect)((()=>{function e(){a(n())}return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e),clearTimeout(undefined)}}),[]),e}},35281:(e,a,c)=>{"use strict";c.d(a,{k:()=>d});const d={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},53438:(e,a,c)=>{"use strict";c.d(a,{MN:()=>A,Wl:()=>h,_F:()=>g,cE:()=>l,em:()=>u,hI:()=>E,jA:()=>p,lO:()=>_,oz:()=>w,s1:()=>v,vY:()=>S,xz:()=>x});var d=c(67294),f=c(16550),b=c(18790),t=c(80143),r=c(60373),n=c(74477),i=c(1116),o=c(67392),s=c(48596);const l=!!t._r;function x(e){const a=(0,n.E)();if(!e)return;const c=a.docs[e];if(!c)throw new Error(`no version doc found by id=${e}`);return c}function u(e,a){for(const c of e)if("category"===c.type){if(a(c))return c;const e=u(c.items,a);if(e)return e}}function h(e){if(e.href)return e.href;for(const a of e.items){if("link"===a.type)return a.href;if("category"===a.type){const e=h(a);if(e)return e}}}function p(){const{pathname:e}=(0,f.TH)(),a=(0,i.V)();if(!a)throw new Error("Unexpected: cant find current sidebar in context");const c=y({sidebarItems:a.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!c)throw new Error(`${e} is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.`);return c}const m=(e,a)=>void 0!==e&&(0,s.Mg)(e,a);function g(e,a){return"link"===e.type?m(e.href,a):"category"===e.type&&(m(e.href,a)||((e,a)=>e.some((e=>g(e,a))))(e.items,a))}function y(e){let{sidebarItems:a,pathname:c,onlyCategories:d=!1}=e;const f=[];return function e(a){for(const b of a)if("category"===b.type&&((0,s.Mg)(b.href,c)||e(b.items))||"link"===b.type&&(0,s.Mg)(b.href,c)){return d&&"category"!==b.type||f.unshift(b),!0}return!1}(a),f}function v(){const e=(0,i.V)(),{pathname:a}=(0,f.TH)(),c=(0,t.gA)()?.pluginData.breadcrumbs;return!1!==c&&e?y({sidebarItems:e.items,pathname:a}):null}function _(e){const{activeVersion:a}=(0,t.Iw)(e),{preferredVersion:c}=(0,r.J)(e),f=(0,t.yW)(e);return(0,d.useMemo)((()=>(0,o.j)([a,c,f].filter(Boolean))),[a,c,f])}function w(e,a){const c=_(a);return(0,d.useMemo)((()=>{const a=c.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),d=a.find((a=>a[0]===e));if(!d)throw new Error(`Can't find any sidebar with id "${e}" in version${c.length>1?"s":""} ${c.map((e=>e.name)).join(", ")}".\n Available sidebar ids are:\n - ${Object.keys(a).join("\n- ")}`);return d[1]}),[e,c])}function S(e,a){const c=_(a);return(0,d.useMemo)((()=>{const a=c.flatMap((e=>e.docs)),d=a.find((a=>a.id===e));if(!d){if(c.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`DocNavbarItem: couldn't find any doc with id "${e}" in version${c.length>1?"s":""} ${c.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${(0,o.j)(a.map((e=>e.id))).join("\n- ")}`)}return d}),[e,c])}function E(e){let{route:a,versionMetadata:c}=e;const d=(0,f.TH)(),t=a.routes,r=t.find((e=>(0,f.LX)(d.pathname,e)));if(!r)return null;const n=r.sidebar,i=n?c.docsSidebars[n]:void 0;return{docElement:(0,b.H)(t),sidebarName:n,sidebarItems:i}}function A(e){return e.filter((e=>"category"!==e.type||!!h(e)))}},42489:(e,a,c)=>{"use strict";function d(e){return"title"in e[0]}c.d(a,{a:()=>d})},82128:(e,a,c)=>{"use strict";c.d(a,{p:()=>f});var d=c(52263);function f(e){const{siteConfig:a}=(0,d.Z)(),{title:c,titleDelimiter:f}=a;return e?.trim().length?`${e.trim()} ${f} ${c}`:c}},91980:(e,a,c)=>{"use strict";c.d(a,{R:()=>t});var d=c(67294),f=c(16550),b=c(902);function t(e){!function(e){const a=(0,f.k6)(),c=(0,b.zX)(e);(0,d.useEffect)((()=>a.block(((e,a)=>c(e,a)))),[a,c])}(((a,c)=>{if("POP"===c)return e(a,c)}))}},67392:(e,a,c)=>{"use strict";function d(e,a){return void 0===a&&(a=(e,a)=>e===a),e.filter(((c,d)=>e.findIndex((e=>a(e,c)))!==d))}function f(e){return Array.from(new Set(e))}c.d(a,{j:()=>f,l:()=>d})},10833:(e,a,c)=>{"use strict";c.d(a,{FG:()=>l,d:()=>o,VC:()=>x});var d=c(67294),f=c(86010),b=c(35742),t=c(30226);function r(){const e=d.useContext(t._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var n=c(44996),i=c(82128);function o(e){let{title:a,description:c,keywords:f,image:t,children:r}=e;const o=(0,i.p)(a),{withBaseUrl:s}=(0,n.C)(),l=t?s(t,{absolute:!0}):void 0;return d.createElement(b.Z,null,a&&d.createElement("title",null,o),a&&d.createElement("meta",{property:"og:title",content:o}),c&&d.createElement("meta",{name:"description",content:c}),c&&d.createElement("meta",{property:"og:description",content:c}),f&&d.createElement("meta",{name:"keywords",content:Array.isArray(f)?f.join(","):f}),l&&d.createElement("meta",{property:"og:image",content:l}),l&&d.createElement("meta",{name:"twitter:image",content:l}),r)}const s=d.createContext(void 0);function l(e){let{className:a,children:c}=e;const t=d.useContext(s),r=(0,f.Z)(t,a);return d.createElement(s.Provider,{value:r},d.createElement(b.Z,null,d.createElement("html",{className:r})),c)}function x(e){let{children:a}=e;const c=r(),b=`plugin-${c.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const t=`plugin-id-${c.plugin.id}`;return d.createElement(l,{className:(0,f.Z)(b,t)},a)}},58978:(e,a,c)=>{"use strict";c.d(a,{A:()=>r,V:()=>n});var d=c(67294),f=c(93163),b=c(13102),t=c(76857);function r(e){function a(e){return"left"===(e.position??"right")}return[e.filter(a),e.filter((e=>!a(e)))]}function n(e){let{children:a}=e;return d.createElement(b.n2,null,d.createElement(f.M,null,d.createElement(t.P,null,a)))}},902:(e,a,c)=>{"use strict";c.d(a,{D9:()=>t,LI:()=>f,Qc:()=>i,Ql:()=>n,i6:()=>r,zX:()=>b});var d=c(67294);const f=c(10412).Z.canUseDOM?d.useLayoutEffect:d.useEffect;function b(e){const a=(0,d.useRef)(e);return f((()=>{a.current=e}),[e]),(0,d.useCallback)((function(){return a.current(...arguments)}),[])}function t(e){const a=(0,d.useRef)();return f((()=>{a.current=e})),a.current}class r extends Error{constructor(e,a){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?\w+)/)?.groups.name??""} is called outside the <${e}>. ${a??""}`}}function n(e){const a=Object.entries(e);return a.sort(((e,a)=>e[0].localeCompare(a[0]))),(0,d.useMemo)((()=>e),a.flat())}function i(e){return a=>{let{children:c}=a;return d.createElement(d.Fragment,null,e.reduceRight(((e,a)=>d.createElement(a,null,e)),c))}}},98022:(e,a,c)=>{"use strict";function d(e,a){return void 0!==e&&void 0!==a&&new RegExp(e,"gi").test(a)}c.d(a,{F:()=>d})},48596:(e,a,c)=>{"use strict";c.d(a,{Mg:()=>t,Ns:()=>r});var d=c(67294),f=c(723),b=c(52263);function t(e,a){const c=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return c(e)===c(a)}function r(){const{baseUrl:e}=(0,b.Z)().siteConfig;return(0,d.useMemo)((()=>function(e){let{baseUrl:a,routes:c}=e;function d(e){return e.path===a&&!0===e.exact}function f(e){return e.path===a&&!e.exact}return function e(a){if(0===a.length)return;return a.find(d)||e(a.filter(f).flatMap((e=>e.routes??[])))}(c)}({routes:f.Z,baseUrl:e})),[e])}},12466:(e,a,c)=>{"use strict";c.d(a,{Ct:()=>x,OC:()=>n,RF:()=>s,o5:()=>l,sG:()=>i});var d=c(67294),f=c(10412),b=c(72389),t=c(902);const r=d.createContext(void 0);function n(e){let{children:a}=e;const c=function(){const e=(0,d.useRef)(!0);return(0,d.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return d.createElement(r.Provider,{value:c},a)}function i(){const e=(0,d.useContext)(r);if(null==e)throw new t.i6("ScrollControllerProvider");return e}const o=()=>f.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function s(e,a){void 0===a&&(a=[]);const{scrollEventsEnabledRef:c}=i(),f=(0,d.useRef)(o()),b=(0,t.zX)(e);(0,d.useEffect)((()=>{const e=()=>{if(!c.current)return;const e=o();b(e,f.current),f.current=e},a={passive:!0};return e(),window.addEventListener("scroll",e,a),()=>window.removeEventListener("scroll",e,a)}),[b,c,...a])}function l(){const e=i(),a=function(){const e=(0,d.useRef)({elem:null,top:0}),a=(0,d.useCallback)((a=>{e.current={elem:a,top:a.getBoundingClientRect().top}}),[]),c=(0,d.useCallback)((()=>{const{current:{elem:a,top:c}}=e;if(!a)return{restored:!1};const d=a.getBoundingClientRect().top-c;return d&&window.scrollBy({left:0,top:d}),e.current={elem:null,top:0},{restored:0!==d}}),[]);return(0,d.useMemo)((()=>({save:a,restore:c})),[c,a])}(),c=(0,d.useRef)(void 0),f=(0,d.useCallback)((d=>{a.save(d),e.disableScrollEvents(),c.current=()=>{const{restored:d}=a.restore();if(c.current=void 0,d){const a=()=>{e.enableScrollEvents(),window.removeEventListener("scroll",a)};window.addEventListener("scroll",a)}else e.enableScrollEvents()}}),[e,a]);return(0,d.useLayoutEffect)((()=>{c.current?.()})),{blockElementScrollPositionUntilNextRender:f}}function x(){const e=(0,d.useRef)(null),a=(0,b.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:c=>{e.current=a?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(c):function(e){let a=null;const c=document.documentElement.scrollTop>e;return function d(){const f=document.documentElement.scrollTop;(c&&f>e||!c&&fa&&cancelAnimationFrame(a)}(c)},cancelScroll:()=>e.current?.()}}},43320:(e,a,c)=>{"use strict";c.d(a,{HX:()=>t,_q:()=>n,os:()=>r});var d=c(80143),f=c(52263),b=c(60373);const t="default";function r(e,a){return`docs-${e}-${a}`}function n(){const{i18n:e}=(0,f.Z)(),a=(0,d._r)(),c=(0,d.WS)(),n=(0,b.Oh)();const i=[t,...Object.keys(a).map((function(e){const d=c?.activePlugin.pluginId===e?c.activeVersion:void 0,f=n[e],b=a[e].versions.find((e=>e.isLast));return r(e,(d??f??b).name)}))];return{locale:e.currentLocale,tags:i}}},55225:(e,a,c)=>{"use strict";c.d(a,{l:()=>l,u:()=>n});var d=c(87462),f=c(67294),b=c(16550),t=c(95999),r=c(85936);const n="docusaurus_skipToContent_fallback";function i(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function o(){const e=(0,f.useRef)(null),{action:a}=(0,b.k6)(),c=(0,f.useCallback)((e=>{e.preventDefault();const a=document.querySelector("main:first-of-type")??document.getElementById(n);a&&i(a)}),[]);return(0,r.S)((c=>{let{location:d}=c;e.current&&!d.hash&&"PUSH"===a&&i(e.current)})),{containerRef:e,onClick:c}}const s=(0,t.I)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function l(e){const a=e.children??s,{containerRef:c,onClick:b}=o();return f.createElement("div",{ref:c,role:"region","aria-label":s},f.createElement("a",(0,d.Z)({},e,{href:`#${n}`,onClick:b}),a))}},50012:(e,a,c)=>{"use strict";c.d(a,{W:()=>r,_:()=>n});const d="localStorage";function f(e){if(void 0===e&&(e=d),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(c){return a=c,b||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",a),b=!0),null}var a}let b=!1;const t={get:()=>null,set:()=>{},del:()=>{}};function r(e,a){if("undefined"==typeof window)return function(e){function a(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:a,set:a,del:a}}(e);const c=f(a?.persistence);return null===c?t:{get:()=>{try{return c.getItem(e)}catch(a){return console.error(`Docusaurus storage error, can't get key=${e}`,a),null}},set:a=>{try{c.setItem(e,a)}catch(d){console.error(`Docusaurus storage error, can't set ${e}=${a}`,d)}},del:()=>{try{c.removeItem(e)}catch(a){console.error(`Docusaurus storage error, can't delete key=${e}`,a)}}}}function n(e){void 0===e&&(e=d);const a=f(e);if(!a)return[];const c=[];for(let d=0;d{"use strict";c.d(a,{l:()=>b});var d=c(52263),f=c(16550);function b(){const{siteConfig:{baseUrl:e,url:a},i18n:{defaultLocale:c,currentLocale:b}}=(0,d.Z)(),{pathname:t}=(0,f.TH)(),r=b===c?e:e.replace(`/${b}/`,"/"),n=t.replace(e,"");return{createUrl:function(e){let{locale:d,fullyQualified:f}=e;return`${f?a:""}${function(e){return e===c?`${r}`:`${r}${e}/`}(d)}${n}`}}}},51753:(e,a,c)=>{"use strict";c.d(a,{b:()=>b});var d=c(16550),f=c(52263);function b(){const{siteConfig:{baseUrl:e}}=(0,f.Z)(),{pathname:a}=(0,d.TH)();return a.replace(e,"/")}},85936:(e,a,c)=>{"use strict";c.d(a,{S:()=>t});var d=c(67294),f=c(16550),b=c(902);function t(e){const a=(0,f.TH)(),c=(0,b.D9)(a),t=(0,b.zX)(e);(0,d.useEffect)((()=>{c&&a!==c&&t({location:a,previousLocation:c})}),[t,a,c])}},86668:(e,a,c)=>{"use strict";c.d(a,{L:()=>f});var d=c(52263);function f(){return(0,d.Z)().siteConfig.themeConfig}},8802:(e,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=function(e,a){const{trailingSlash:c,baseUrl:d}=a;if(e.startsWith("#"))return e;if(void 0===c)return e;const[f]=e.split(/[#?]/),b="/"===f||f===d?f:(t=f,c?function(e){return e.endsWith("/")?e:`${e}/`}(t):function(e){return e.endsWith("/")?e.slice(0,-1):e}(t));var t;return e.replace(f,b)}},18780:function(e,a,c){"use strict";var d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0}),a.applyTrailingSlash=a.blogPostContainerID=void 0,a.blogPostContainerID="post-content";var f=c(8802);Object.defineProperty(a,"applyTrailingSlash",{enumerable:!0,get:function(){return d(f).default}})},37489:(e,a,c)=>{"use strict";c.d(a,{Lp:()=>Pe,G:()=>Ie,By:()=>Be,JR:()=>De,do:()=>je,XK:()=>Ue,KU:()=>ze,xN:()=>Oe,gB:()=>Fe,fV:()=>Ne,J1:()=>qe,fD:()=>Le,IS:()=>Ce});var d=c(16824),f=c(22457),b=c(80912);var t,r,n,i=Object.create,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,x=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,h=(e,a)=>function(){return a||(0,e[l(e)[0]])((a={exports:{}}).exports,a),a.exports},p=h({"node_modules/statuses/codes.json"(e,a){a.exports={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a Teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}}}),m=h({"node_modules/statuses/index.js"(e,a){var c,d,f=p();function b(e){if(!Object.prototype.hasOwnProperty.call(t.message,e))throw new Error("invalid status code: "+e);return t.message[e]}function t(e){if("number"==typeof e)return b(e);if("string"!=typeof e)throw new TypeError("code must be a number or string");var a=parseInt(e,10);return isNaN(a)?function(e){var a=e.toLowerCase();if(!Object.prototype.hasOwnProperty.call(t.code,a))throw new Error('invalid status message: "'+e+'"');return t.code[a]}(e):b(a)}a.exports=t,t.message=f,t.code=(c=f,d={},Object.keys(c).forEach((function(e){var a=c[e],f=Number(e);d[a.toLowerCase()]=f})),d),t.codes=function(e){return Object.keys(e).map((function(e){return Number(e)}))}(f),t.redirect={300:!0,301:!0,302:!0,303:!0,305:!0,307:!0,308:!0},t.empty={204:!0,205:!0,304:!0},t.retry={502:!0,503:!0,504:!0}}}),g=(t=m(),r=1,n=null!=t?i(x(t)):{},((e,a,c,d)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let f of l(a))u.call(e,f)||f===c||o(e,f,{get:()=>a[f],enumerable:!(d=s(a,f))||d.enumerable});return e})(!r&&t&&t.__esModule?n:o(n,"default",{value:t,enumerable:!0}),t)).default;const{message:y}=g;function v(e,a){void 0===a&&(a={});for(var c=function(e){for(var a=[],c=0;c=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122||95===n))break;t+=e[r++]}if(!t)throw new TypeError("Missing parameter name at ".concat(c));a.push({type:"NAME",index:c,value:t}),c=r}else a.push({type:"CLOSE",index:c,value:e[c++]});else a.push({type:"OPEN",index:c,value:e[c++]});else a.push({type:"ESCAPED_CHAR",index:c++,value:e[c++]});else a.push({type:"MODIFIER",index:c,value:e[c++]})}return a.push({type:"END",index:c,value:""}),a}(e),d=a.prefixes,f=void 0===d?"./":d,b="[^".concat(w(a.delimiter||"/#?"),"]+?"),t=[],r=0,n=0,i="",o=function(e){if(n-1:void 0===A;f||(p+="(?:".concat(h,"(?=").concat(u,"))?")),k||(p+="(?=".concat(h,"|").concat(u,")"))}return new RegExp(p,S(c))}(v(e,c),a,c)}function A(e,a,c){return e instanceof RegExp?function(e,a){if(!a)return e;for(var c=/\((?:\?<(.*?)>)?(?!\?)/g,d=0,f=c.exec(e.source);f;)a.push({name:f[1]||d++,prefix:"",suffix:"",modifier:"",pattern:""}),f=c.exec(e.source);return e}(e,a):Array.isArray(e)?function(e,a,c){var d=e.map((function(e){return A(e,a,c).source}));return new RegExp("(?:".concat(d.join("|"),")"),S(c))}(e,a,c):E(e,a,c)}new TextEncoder;Symbol("isPatchedModule");var k=c(34155);c(95002),c(34155);var I=Object.defineProperty,C={};function L(e){return`\x1b[33m${e}\x1b[0m`}function T(e){return`\x1b[34m${e}\x1b[0m`}function P(e){return`\x1b[90m${e}\x1b[0m`}function R(e){return`\x1b[31m${e}\x1b[0m`}function M(e){return`\x1b[32m${e}\x1b[0m`}((e,a)=>{for(var c in a)I(e,c,{get:a[c],enumerable:!0})})(C,{blue:()=>T,gray:()=>P,green:()=>M,red:()=>R,yellow:()=>L});!function(){if("undefined"!=typeof navigator&&"ReactNative"===navigator.product)return!0;if(void 0!==k){const e=k.type;return"renderer"!==e&&"worker"!==e&&!(!k.versions||!k.versions.node)}}();c(36726);const B=/[\?|#].*$/g;function O(e){return e.replace(B,"")}function N(e,a){if(e instanceof RegExp)return e;const c=function(e,a){if(/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e))return e;if(e.startsWith("*"))return e;const c=a||"undefined"!=typeof document&&document.baseURI;return c?decodeURI(new URL(encodeURI(e),c).href):e}(e,a);return O(c)}function F(e,a,c){const d=N(a,c),f="string"==typeof d?function(e){return e.replace(/([:a-zA-Z_-]*)(\*{1,2})+/g,((e,a,c)=>{const d="(.*)";return a?a.startsWith(":")?`${a}${c}`:`${a}(.*)`:d})).replace(/([^\/])(:)(?=\d+)/,"$1\\$2").replace(/^([^\/]+)(:)(?=\/\/)/,"$1\\$2")}(d):d,b=function(e,a=!0){return[a&&e.origin,e.pathname].filter(Boolean).join("")}(e),t=_(f,{decode:decodeURIComponent})(b);return{matches:!1!==t,params:t&&t.params||{}}}var D=c(786),U=Object.create,j=Object.defineProperty,z=Object.getOwnPropertyDescriptor,q=Object.getOwnPropertyNames,K=Object.getPrototypeOf,V=Object.prototype.hasOwnProperty,$=((e,a)=>function(){return a||(0,e[q(e)[0]])((a={exports:{}}).exports,a),a.exports})({"node_modules/cookie/index.js"(e){e.parse=function(e,a){if("string"!=typeof e)throw new TypeError("argument str must be a string");var c={},f=(a||{}).decode||d,t=0;for(;t(c=null!=e?U(K(e)):{},((e,a,c,d)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let f of q(a))V.call(e,f)||f===c||j(e,f,{get:()=>a[f],enumerable:!(d=z(a,f))||d.enumerable});return e})(!a&&e&&e.__esModule?c:j(c,"default",{value:e,enumerable:!0}),e)))($(),1),G=H.default,W=c(6700);function Z(){return G.parse(document.cookie)}function Q(e){const a=e.headers.get("cookie"),c=a?G.parse(a):{};W.h.hydrate();const d=Array.from(W.h.get(e)?.entries()).reduce(((e,[a,{value:c}])=>Object.assign(e,{[a.trim()]:c})),{}),f=function(e){if("undefined"==typeof document||"undefined"==typeof location)return{};switch(e.credentials){case"same-origin":{const a=new URL(e.url);return location.origin===a.origin?Z():{}}case"include":return Z();default:return{}}}(e),b={...f,...d};for(const[t,r]of Object.entries(b))e.headers.append("cookie",G.serialize(t,r));return{...b,...c}}var Y=c(59336),J=(e=>(e.HEAD="HEAD",e.GET="GET",e.POST="POST",e.PUT="PUT",e.PATCH="PATCH",e.OPTIONS="OPTIONS",e.DELETE="DELETE",e))(J||{});class X extends Y.Z{constructor(e,a,c,d){super({info:{header:`${e} ${a}`,path:a,method:e},resolver:c,options:d}),this.checkRedundantQueryParameters()}checkRedundantQueryParameters(){const{method:e,path:a}=this.info;if(a instanceof RegExp)return;if(O(a)===a)return;const c=function(e){return new URL(`/${e}`,"http://localhost").searchParams}(a),d=[];c.forEach(((e,a)=>{d.push(a)})),b.e.warn(`Found a redundant usage of query parameters in the request handler URL for "${e} ${a}". Please match against a path instead and access query parameters using "new URL(request.url).searchParams" instead. Learn more: https://mswjs.io/docs/recipes/query-parameters`)}async parse(e){return{match:F(new URL(e.request.url),this.info.path,e.resolutionContext?.baseUrl),cookies:Q(e.request)}}predicate(e){const a=this.matchMethod(e.request.method),c=e.parsedResult.match.matches;return a&&c}matchMethod(e){return this.info.method instanceof RegExp?this.info.method.test(e):(a=this.info.method,c=e,a.toLowerCase()===c.toLowerCase());var a,c}extendResolverArgs(e){return{params:e.parsedResult.match?.params||{},cookies:e.parsedResult.cookies}}async log(e){const a=(0,D.F)(e.request.url),c=await async function(e){const a=e.clone(),c=await a.text();return{url:new URL(e.url),method:e.method,headers:Object.fromEntries(e.headers.entries()),body:c}}(e.request),d=await async function(e){const a=e.clone(),c=await a.text(),d=a.status||200;return{status:d,statusText:a.statusText||y[d]||"OK",headers:Object.fromEntries(a.headers.entries()),body:c}}(e.response),f=(t=d.status)<300?"#69AB32":t<400?"#F0BB4B":"#E95F5D";var t;console.groupCollapsed(b.e.formatMessage(`${function(){const e=new Date;return[e.getHours(),e.getMinutes(),e.getSeconds()].map(String).map((e=>e.slice(0,2))).map((e=>e.padStart(2,"0"))).join(":")}()} ${e.request.method} ${a} (%c${d.status} ${d.statusText}%c)`),`color:${f}`,"color:inherit"),console.log("Request",c),console.log("Handler:",this),console.log("Response",d),console.groupEnd()}}function ee(e){return(a,c,d={})=>new X(e,a,c,d)}const ae={all:ee(/.+/),head:ee(J.HEAD),get:ee(J.GET),post:ee(J.POST),put:ee(J.PUT),delete:ee(J.DELETE),patch:ee(J.PATCH),options:ee(J.OPTIONS)};var ce=Object.create,de=Object.defineProperty,fe=Object.getOwnPropertyDescriptor,be=Object.getOwnPropertyNames,te=Object.getPrototypeOf,re=Object.prototype.hasOwnProperty,ne=((e,a)=>function(){return a||(0,e[be(e)[0]])((a={exports:{}}).exports,a),a.exports})({"node_modules/set-cookie-parser/lib/set-cookie.js"(e,a){var c={decodeValues:!0,map:!1,silent:!1};function d(e){return"string"==typeof e&&!!e.trim()}function f(e,a){var f=e.split(";").filter(d),b=function(e){var a="",c="",d=e.split("=");d.length>1?(a=d.shift(),c=d.join("=")):c=e;return{name:a,value:c}}(f.shift()),t=b.name,r=b.value;a=a?Object.assign({},c,a):c;try{r=a.decodeValues?decodeURIComponent(r):r}catch(i){console.error("set-cookie-parser encountered an error while decoding a cookie with value '"+r+"'. Set options.decodeValues to false to disable this feature.",i)}var n={name:t,value:r};return f.forEach((function(e){var a=e.split("="),c=a.shift().trimLeft().toLowerCase(),d=a.join("=");"expires"===c?n.expires=new Date(d):"max-age"===c?n.maxAge=parseInt(d,10):"secure"===c?n.secure=!0:"httponly"===c?n.httpOnly=!0:"samesite"===c?n.sameSite=d:n[c]=d})),n}function b(e,a){if(a=a?Object.assign({},c,a):c,!e)return a.map?{}:[];if(e.headers)if("function"==typeof e.headers.getSetCookie)e=e.headers.getSetCookie();else if(e.headers["set-cookie"])e=e.headers["set-cookie"];else{var b=e.headers[Object.keys(e.headers).find((function(e){return"set-cookie"===e.toLowerCase()}))];b||!e.headers.cookie||a.silent||console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."),e=b}if(Array.isArray(e)||(e=[e]),(a=a?Object.assign({},c,a):c).map){return e.filter(d).reduce((function(e,c){var d=f(c,a);return e[d.name]=d,e}),{})}return e.filter(d).map((function(e){return f(e,a)}))}a.exports=b,a.exports.parse=b,a.exports.parseString=f,a.exports.splitCookiesString=function(e){if(Array.isArray(e))return e;if("string"!=typeof e)return[];var a,c,d,f,b,t=[],r=0;function n(){for(;r=e.length)&&t.push(e.substring(a,e.length))}return t}}}),ie=((e,a,c)=>(c=null!=e?ce(te(e)):{},((e,a,c,d)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let f of be(a))re.call(e,f)||f===c||de(e,f,{get:()=>a[f],enumerable:!(d=fe(a,f))||d.enumerable});return e})(!a&&e&&e.__esModule?c:de(c,"default",{value:e,enumerable:!0}),e)))(ne()),oe=/[^a-z0-9\-#$%&'*+.^_`|~]/i;function se(e){if(oe.test(e)||""===e.trim())throw new TypeError("Invalid character in header field name");return e.trim().toLowerCase()}var le=[String.fromCharCode(10),String.fromCharCode(13),String.fromCharCode(9),String.fromCharCode(32)],xe=new RegExp(`(^[${le.join("")}]|$[${le.join("")}])`,"g");function ue(e){return e.replace(xe,"")}function he(e){if("string"!=typeof e)return!1;if(0===e.length)return!1;for(let a=0;a127||!pe(c))return!1}return!0}function pe(e){return![127,32,"(",")","<",">","@",",",";",":","\\",'"',"/","[","]","?","=","{","}"].includes(e)}function me(e){if("string"!=typeof e)return!1;if(e.trim()!==e)return!1;for(let a=0;a{this.append(a,e)}),this)}else Array.isArray(a)?a.forEach((([e,a])=>{this.append(e,Array.isArray(a)?a.join(", "):a)})):a&&Object.getOwnPropertyNames(a).forEach((e=>{const c=a[e];this.append(e,Array.isArray(c)?c.join(", "):c)}))}[(ge=_e,ye=we,ve=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}*keys(){for(const[e]of this.entries())yield e}*values(){for(const[,e]of this.entries())yield e}*entries(){let e=Object.keys(this[_e]).sort(((e,a)=>e.localeCompare(a)));for(const a of e)if("set-cookie"===a)for(const e of this.getSetCookie())yield[a,e];else yield[a,this.get(a)]}has(e){if(!he(e))throw new TypeError(`Invalid header name "${e}"`);return this[_e].hasOwnProperty(se(e))}get(e){if(!he(e))throw TypeError(`Invalid header name "${e}"`);return this[_e][se(e)]??null}set(e,a){if(!he(e)||!me(a))return;const c=se(e),d=ue(a);this[_e][c]=ue(d),this[we].set(c,e)}append(e,a){if(!he(e)||!me(a))return;const c=se(e),d=ue(a);let f=this.has(c)?`${this.get(c)}, ${d}`:d;this.set(e,f)}delete(e){if(!he(e))return;if(!this.has(e))return;const a=se(e);delete this[_e][a],this[we].delete(a)}forEach(e,a){for(const[c,d]of this.entries())e.call(a,d,c,this)}getSetCookie(){const e=this.get("set-cookie");return null===e?[]:""===e?[""]:(0,ie.splitCookiesString)(e)}};const{message:Ee}=g;function Ae(e={}){const a=e?.status||200,c=e?.statusText||Ee[a]||"",d=new Headers(e?.headers);return{...e,headers:d,status:a,statusText:c}}class ke extends Response{constructor(e,a){const c=Ae(a);super(e,c),function(e,a){if(a.type&&Object.defineProperty(e,"type",{value:a.type,enumerable:!0,writable:!1}),"undefined"!=typeof document){const e=Se.prototype.getSetCookie.call(a.headers);for(const a of e)document.cookie=a}}(this,c)}static text(e,a){const c=Ae(a);return c.headers.has("Content-Type")||c.headers.set("Content-Type","text/plain"),c.headers.has("Content-Length")||c.headers.set("Content-Length",e?new Blob([e]).size.toString():"0"),new ke(e,c)}static json(e,a){const c=Ae(a);c.headers.has("Content-Type")||c.headers.set("Content-Type","application/json");const d=JSON.stringify(e);return c.headers.has("Content-Length")||c.headers.set("Content-Length",d?new Blob([d]).size.toString():"0"),new ke(d,c)}static xml(e,a){const c=Ae(a);return c.headers.has("Content-Type")||c.headers.set("Content-Type","text/xml"),new ke(e,c)}static arrayBuffer(e,a){const c=Ae(a);return e&&c.headers.set("Content-Length",e.byteLength.toString()),new ke(e,c)}static formData(e,a){return new ke(e,Ae(a))}}const Ie="4be20a8eb4caa2f2508be2538decb9648bd9fab41f1d5a549a42020000000000",Ce="6be20a8eb4ca923f171c6502a404112ad06c05491f859949633e020000000003",Le="a2f2508be2538decb9648bd9fab41f1d5a549a42",Te=new d.w5("0x51129d8e9e17f740997687a7e15d60642cb2fe33565e17823859fae5fd72d3cb"),Pe=new f.KB({env:f.yG.STG,wallet:Te,electionId:Ie}),Re={censusOrigin:"OFF_CHAIN_CA",censusRoot:"025de8cb8de1005aa939c1403e37e1fa165ebc758da49cb37215c6237d01591104",postRegisterCensusRoot:"",censusURL:"https://csp-dev-simplemath.vocdoni.net/v1",maxCensusSize:2e3,size:1},Me=function(e,a){let{census:c=null,metaCensus:d=null}=void 0===a?{}:a;return{electionId:e,organizationId:Le,status:f.fc.READY,startDate:"2024-04-12T15:18:09Z",endDate:"2027-04-12T15:19:44Z",voteCount:0,finalResults:!1,result:[["23","300"]],manuallyEnded:!1,fromArchive:!1,chainId:"vocdoni/STAGE/11",census:c??{censusOrigin:"OFF_CHAIN_TREE_WEIGHTED",censusRoot:"7412677fec3de360c31899b5204a76b95f05d93131320e829376312bacbb6a14",postRegisterCensusRoot:"",censusURL:"ipfs://bafybeihj4hjmdmgxdcdmplnfm7gnhvlcpyphr3pgcchnhpz4emnmls5br4",maxCensusSize:1,size:1},metadataURL:"ipfs://bafybeia6vwrynwrkkkw2zhozchvxxobblk3mipquann37ztzijnvzagi2m",creationTime:"2024-04-12T15:17:59Z",voteMode:{serial:!1,anonymous:!1,encryptedVotes:!1,uniqueValues:!1,costFromWeight:!1},electionMode:{autoStart:!0,interruptible:!0,dynamicCensus:!1,encryptedMetaData:!1,preRegister:!1},tallyMode:{maxCount:1,maxValue:1,maxVoteOverwrites:0,maxTotalCost:0,costExponent:1},metadata:{title:{default:"Election title"},version:"1.2",description:{default:"Election description"},media:{header:"https://source.unsplash.com/random/800x400"},meta:{sdk:{version:"0.7.5"},census:null===d?void 0:d},questions:[{choices:[{title:{default:"Option 1"},value:0},{title:{default:"Option 2"},value:1}],description:{default:"This is a description"},title:{default:"This is a title"}}],type:{name:f.W.SINGLE_CHOICE_MULTIQUESTION,properties:{}}}}},Be=ae.get(Pe.url+"/accounts/:id",(e=>{let{params:a}=e;const c=a.id;return ke.json({address:c,nonce:0,balance:9999,electionIndex:0,infoURL:"ipfs://bafybeif5mbhhwuju2pyd54bxhn3tdsj6m5cukx6f5xvchqfh2wvzkpbjpy",metadata:{version:"1.0",languages:["en"],name:{default:"Account name"},description:{default:"Description of the account"},newsFeed:{default:""},media:{logo:"https://source.unsplash.com/random/400x400",header:"https://source.unsplash.com/random/800x400"},meta:{}},sik:"d5f382daca25f43ca46f629e6fa7b0a448f1c69c48fcb2031feee0bf439d502c"})})),Oe=ae.get(Pe.url+"/elections/:id",(e=>{let{params:a}=e;const c=a.id;if(c===Ce){const e={fields:["firstname","lastname","email"],type:"spreadsheet"};return ke.json(Me(c,{census:Re,metaCensus:e}))}return ke.json(Me(c))})),Ne=ae.post(Pe.url+"/chain/transactions",(()=>ke.json({hash:"d59c08ef32a57e2fd18041dd6d4a871d06ebe4fe91449be9f034269d80cc9de8",code:0}))),Fe=ae.get(Pe.url+"/chain/transactions/reference/:id",(e=>{let{params:a}=e;return ke.json({transactionNumber:13615,transactionHash:a.id,blockHeight:489898,transactionIndex:1,transactionType:"setProcess"})})),De=ae.get(Pe.url+"/censuses/:id/proof/:proof",(e=>{let{params:a}=e;return ke.json({type:"weighted",weight:"1",censusRoot:a.id,censusProof:"04000000",value:"0100000000000000000000000000000000000000000000000000000000000000"})})),Ue=ae.get(Pe.url+"/censuses/:id/type",(()=>ke.json({type:"weighted"}))),je=ae.get(Pe.url+"/censuses/:id/size",(()=>ke.json({size:"10"}))),ze=ae.get(Pe.url+"/censuses/:id/weight",(()=>ke.json({weight:"10"}))),qe=ae.get(Pe.url+"/votes/:id",(e=>{let{params:a}=e;return new ke("No vote cast",{status:404})}))},19548:(e,a,c)=>{"use strict";c.d(a,{Z:()=>b});var d=c(67294);const f="iconExternalLink_2l9O";function b(e){let{width:a=13.5,height:c=13.5}=e;return d.createElement("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0","aria-hidden":"true",viewBox:"0 0 15 15",height:c,width:a,xmlns:"http://www.w3.org/2000/svg",className:f},d.createElement("path",{fillRule:"evenodd",d:"M14 2.5a.5.5 0 0 0-.5-.5h-6a.5.5 0 0 0 0 1h4.793L2.146 13.146a.5.5 0 0 0 .708.708L13 3.707V8.5a.5.5 0 0 0 1 0v-6z"}))}},31719:(e,a,c)=>{"use strict";c.d(a,{Z:()=>bc});var d=c(87249),f=c(35059),b=c(85893),t=(0,d.m)("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});t.displayName="Center";var r={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}},n=((0,f.G)((function(e,a){const{axis:c="both",...f}=e;return(0,b.jsx)(d.m.div,{ref:a,__css:r[c],...f,position:"absolute"})})),c(67294)),i=c(86010),o=c(44763),s=c(10833),l=c(55225),x=c(35281),u=c(19727);const h="skipToContent_fXgn";function p(){return n.createElement(l.l,{className:h})}var m=c(86668),g=c(59689),y=c(87462),v=c(95999);function _(e){let{width:a=21,height:c=21,color:d="currentColor",strokeWidth:f=1.2,className:b,...t}=e;return n.createElement("svg",(0,y.Z)({viewBox:"0 0 15 15",width:a,height:c},t),n.createElement("g",{stroke:d,strokeWidth:f},n.createElement("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})))}const w="closeButton_CVFx";function S(e){return n.createElement("button",(0,y.Z)({type:"button","aria-label":(0,v.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"})},e,{className:(0,i.Z)("clean-btn close",w,e.className)}),n.createElement(_,{width:14,height:14,strokeWidth:3.1}))}const E="content_knG7";function A(e){const{announcementBar:a}=(0,m.L)(),{content:c}=a;return n.createElement("div",(0,y.Z)({},e,{className:(0,i.Z)(E,e.className),dangerouslySetInnerHTML:{__html:c}}))}const k="announcementBar_mb4j",I="announcementBarPlaceholder_vyr4",C="announcementBarClose_gvF7",L="announcementBarContent_xLdY";function T(){const{announcementBar:e}=(0,m.L)(),{isActive:a,close:c}=(0,g.nT)();if(!a)return null;const{backgroundColor:d,textColor:f,isCloseable:b}=e;return n.createElement("div",{className:k,style:{backgroundColor:d,color:f},role:"banner"},b&&n.createElement("div",{className:I}),n.createElement(A,{className:L}),b&&n.createElement(S,{onClick:c,className:C}))}var P=c(93163),R=c(99445),M=c(69800),B=c(76857);function O(e){let{header:a,primaryMenu:c,secondaryMenu:d}=e;const{shown:f}=(0,B.Y)();return n.createElement("div",{className:"navbar-sidebar"},a,n.createElement("div",{className:(0,i.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":f})},n.createElement("div",{className:"navbar-sidebar__item menu"},c),n.createElement("div",{className:"navbar-sidebar__item menu"},d)))}var N=c(92949),F=c(72389);function D(e){return n.createElement("svg",(0,y.Z)({viewBox:"0 0 24 24",width:24,height:24},e),n.createElement("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"}))}function U(e){return n.createElement("svg",(0,y.Z)({viewBox:"0 0 24 24",width:24,height:24},e),n.createElement("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"}))}const j={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function z(e){let{className:a,value:c,onChange:d}=e;const f=(0,F.Z)(),b=(0,v.I)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===c?(0,v.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,v.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return n.createElement("div",{className:(0,i.Z)(j.toggle,a)},n.createElement("button",{className:(0,i.Z)("clean-btn",j.toggleButton,!f&&j.toggleButtonDisabled),type:"button",onClick:()=>d("dark"===c?"light":"dark"),disabled:!f,title:b,"aria-label":b,"aria-live":"polite"},n.createElement(D,{className:(0,i.Z)(j.toggleIcon,j.lightToggleIcon)}),n.createElement(U,{className:(0,i.Z)(j.toggleIcon,j.darkToggleIcon)})))}const q=n.memo(z);function K(e){let{className:a}=e;const c=(0,m.L)().colorMode.disableSwitch,{colorMode:d,setColorMode:f}=(0,N.I)();return c?null:n.createElement(q,{className:a,value:d,onChange:f})}var V=c(21327);function $(){return n.createElement(V.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function H(){const e=(0,P.e)();return n.createElement("button",{type:"button","aria-label":(0,v.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle()},n.createElement(_,{color:"var(--ifm-color-emphasis-600)"}))}function G(){return n.createElement("div",{className:"navbar-sidebar__brand"},n.createElement($,null),n.createElement(K,{className:"margin-right--md"}),n.createElement(H,null))}var W=c(39960),Z=c(44996),Q=c(13919),Y=c(98022),J=c(19548);function X(e){let{activeBasePath:a,activeBaseRegex:c,to:d,href:f,label:b,html:t,isDropdownLink:r,prependBaseUrlToHref:i,...o}=e;const s=(0,Z.Z)(d),l=(0,Z.Z)(a),x=(0,Z.Z)(f,{forcePrependBaseUrl:!0}),u=b&&f&&!(0,Q.Z)(f),h=t?{dangerouslySetInnerHTML:{__html:t}}:{children:n.createElement(n.Fragment,null,b,u&&n.createElement(J.Z,r&&{width:12,height:12}))};return f?n.createElement(W.Z,(0,y.Z)({href:i?x:f},o,h)):n.createElement(W.Z,(0,y.Z)({to:s,isNavLink:!0},(a||c)&&{isActive:(e,a)=>c?(0,Y.F)(c,a.pathname):a.pathname.startsWith(l)},o,h))}function ee(e){let{className:a,isDropdownItem:c=!1,...d}=e;const f=n.createElement(X,(0,y.Z)({className:(0,i.Z)(c?"dropdown__link":"navbar__item navbar__link",a),isDropdownLink:c},d));return c?n.createElement("li",null,f):f}function ae(e){let{className:a,isDropdownItem:c,...d}=e;return n.createElement("li",{className:"menu__list-item"},n.createElement(X,(0,y.Z)({className:(0,i.Z)("menu__link",a)},d)))}function ce(e){let{mobile:a=!1,position:c,...d}=e;const f=a?ae:ee;return n.createElement(f,(0,y.Z)({},d,{activeClassName:d.activeClassName??(a?"menu__link--active":"navbar__link--active")}))}var de=c(86043),fe=c(48596),be=c(51753);function te(e,a){return e.some((e=>function(e,a){return!!(0,fe.Mg)(e.to,a)||!!(0,Y.F)(e.activeBaseRegex,a)||!(!e.activeBasePath||!a.startsWith(e.activeBasePath))}(e,a)))}function re(e){let{items:a,position:c,className:d,onClick:f,...b}=e;const t=(0,n.useRef)(null),[r,o]=(0,n.useState)(!1);return(0,n.useEffect)((()=>{const e=e=>{t.current&&!t.current.contains(e.target)&&o(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}}),[t]),n.createElement("div",{ref:t,className:(0,i.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===c,"dropdown--show":r})},n.createElement(X,(0,y.Z)({"aria-haspopup":"true","aria-expanded":r,role:"button",href:b.to?void 0:"#",className:(0,i.Z)("navbar__link",d)},b,{onClick:b.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),o(!r))}}),b.children??b.label),n.createElement("ul",{className:"dropdown__menu"},a.map(((e,c)=>n.createElement(ze,(0,y.Z)({isDropdownItem:!0,onKeyDown:e=>{if(c===a.length-1&&"Tab"===e.key){e.preventDefault(),o(!1);const a=t.current.nextElementSibling;if(a){(a instanceof HTMLAnchorElement?a:a.querySelector("a")).focus()}}},activeClassName:"dropdown__link--active"},e,{key:c}))))))}function ne(e){let{items:a,className:c,position:d,onClick:f,...b}=e;const t=(0,be.b)(),r=te(a,t),{collapsed:o,toggleCollapsed:s,setCollapsed:l}=(0,de.u)({initialState:()=>!r});return(0,n.useEffect)((()=>{r&&l(!r)}),[t,r,l]),n.createElement("li",{className:(0,i.Z)("menu__list-item",{"menu__list-item--collapsed":o})},n.createElement(X,(0,y.Z)({role:"button",className:(0,i.Z)("menu__link menu__link--sublist menu__link--sublist-caret",c)},b,{onClick:e=>{e.preventDefault(),s()}}),b.children??b.label),n.createElement(de.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:o},a.map(((e,a)=>n.createElement(ze,(0,y.Z)({mobile:!0,isDropdownItem:!0,onClick:f,activeClassName:"menu__link--active"},e,{key:a}))))))}function ie(e){let{mobile:a=!1,...c}=e;const d=a?ne:re;return n.createElement(d,c)}var oe=c(52263),se=c(94711),le=c(16550);function xe(e){let{width:a=20,height:c=20,...d}=e;return n.createElement("svg",(0,y.Z)({viewBox:"0 0 24 24",width:a,height:c,"aria-hidden":!0},d),n.createElement("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"}))}const ue="iconLanguage_nlXk";var he=c(73935),pe=c(35742),me=c(66177);function ge(){return n.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},n.createElement("path",{d:"M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",strokeWidth:"1.2",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))}var ye=c(20830),ve=["translations"];function _e(){return _e=Object.assign||function(e){for(var a=1;ae.length)&&(a=e.length);for(var c=0,d=new Array(a);c=0||(f[c]=e[c]);return f}(e,a);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(e);for(d=0;d=0||Object.prototype.propertyIsEnumerable.call(e,c)&&(f[c]=e[c])}return f}var Ae="Ctrl";var ke=n.forwardRef((function(e,a){var c=e.translations,d=void 0===c?{}:c,f=Ee(e,ve),b=d.buttonText,t=void 0===b?"Search":b,r=d.buttonAriaLabel,i=void 0===r?"Search":r,o=we((0,n.useState)(null),2),s=o[0],l=o[1];return(0,n.useEffect)((function(){"undefined"!=typeof navigator&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?l("\u2318"):l(Ae))}),[]),n.createElement("button",_e({type:"button",className:"DocSearch DocSearch-Button","aria-label":i},f,{ref:a}),n.createElement("span",{className:"DocSearch-Button-Container"},n.createElement(ye.W,null),n.createElement("span",{className:"DocSearch-Button-Placeholder"},t)),n.createElement("span",{className:"DocSearch-Button-Keys"},null!==s&&n.createElement(n.Fragment,null,n.createElement("kbd",{className:"DocSearch-Button-Key"},s===Ae?n.createElement(ge,null):s),n.createElement("kbd",{className:"DocSearch-Button-Key"},"K"))))})),Ie=c(43320);const Ce={button:{buttonText:(0,v.I)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"}),buttonAriaLabel:(0,v.I)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"})},modal:{searchBox:{resetButtonTitle:(0,v.I)({id:"theme.SearchModal.searchBox.resetButtonTitle",message:"Clear the query",description:"The label and ARIA label for search box reset button"}),resetButtonAriaLabel:(0,v.I)({id:"theme.SearchModal.searchBox.resetButtonTitle",message:"Clear the query",description:"The label and ARIA label for search box reset button"}),cancelButtonText:(0,v.I)({id:"theme.SearchModal.searchBox.cancelButtonText",message:"Cancel",description:"The label and ARIA label for search box cancel button"}),cancelButtonAriaLabel:(0,v.I)({id:"theme.SearchModal.searchBox.cancelButtonText",message:"Cancel",description:"The label and ARIA label for search box cancel button"})},startScreen:{recentSearchesTitle:(0,v.I)({id:"theme.SearchModal.startScreen.recentSearchesTitle",message:"Recent",description:"The title for recent searches"}),noRecentSearchesText:(0,v.I)({id:"theme.SearchModal.startScreen.noRecentSearchesText",message:"No recent searches",description:"The text when no recent searches"}),saveRecentSearchButtonTitle:(0,v.I)({id:"theme.SearchModal.startScreen.saveRecentSearchButtonTitle",message:"Save this search",description:"The label for save recent search button"}),removeRecentSearchButtonTitle:(0,v.I)({id:"theme.SearchModal.startScreen.removeRecentSearchButtonTitle",message:"Remove this search from history",description:"The label for remove recent search button"}),favoriteSearchesTitle:(0,v.I)({id:"theme.SearchModal.startScreen.favoriteSearchesTitle",message:"Favorite",description:"The title for favorite searches"}),removeFavoriteSearchButtonTitle:(0,v.I)({id:"theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle",message:"Remove this search from favorites",description:"The label for remove favorite search button"})},errorScreen:{titleText:(0,v.I)({id:"theme.SearchModal.errorScreen.titleText",message:"Unable to fetch results",description:"The title for error screen of search modal"}),helpText:(0,v.I)({id:"theme.SearchModal.errorScreen.helpText",message:"You might want to check your network connection.",description:"The help text for error screen of search modal"})},footer:{selectText:(0,v.I)({id:"theme.SearchModal.footer.selectText",message:"to select",description:"The explanatory text of the action for the enter key"}),selectKeyAriaLabel:(0,v.I)({id:"theme.SearchModal.footer.selectKeyAriaLabel",message:"Enter key",description:"The ARIA label for the Enter key button that makes the selection"}),navigateText:(0,v.I)({id:"theme.SearchModal.footer.navigateText",message:"to navigate",description:"The explanatory text of the action for the Arrow up and Arrow down key"}),navigateUpKeyAriaLabel:(0,v.I)({id:"theme.SearchModal.footer.navigateUpKeyAriaLabel",message:"Arrow up",description:"The ARIA label for the Arrow up key button that makes the navigation"}),navigateDownKeyAriaLabel:(0,v.I)({id:"theme.SearchModal.footer.navigateDownKeyAriaLabel",message:"Arrow down",description:"The ARIA label for the Arrow down key button that makes the navigation"}),closeText:(0,v.I)({id:"theme.SearchModal.footer.closeText",message:"to close",description:"The explanatory text of the action for Escape key"}),closeKeyAriaLabel:(0,v.I)({id:"theme.SearchModal.footer.closeKeyAriaLabel",message:"Escape key",description:"The ARIA label for the Escape key button that close the modal"}),searchByText:(0,v.I)({id:"theme.SearchModal.footer.searchByText",message:"Search by",description:"The text explain that the search is making by Algolia"})},noResultsScreen:{noResultsText:(0,v.I)({id:"theme.SearchModal.noResultsScreen.noResultsText",message:"No results for",description:"The text explains that there are no results for the following search"}),suggestedQueryText:(0,v.I)({id:"theme.SearchModal.noResultsScreen.suggestedQueryText",message:"Try searching for",description:"The text for the suggested query when no results are found for the following search"}),reportMissingResultsText:(0,v.I)({id:"theme.SearchModal.noResultsScreen.reportMissingResultsText",message:"Believe this query should return results?",description:"The text for the question where the user thinks there are missing results"}),reportMissingResultsLinkText:(0,v.I)({id:"theme.SearchModal.noResultsScreen.reportMissingResultsLinkText",message:"Let us know.",description:"The text for the link to report missing results"})}},placeholder:(0,v.I)({id:"theme.SearchModal.placeholder",message:"Search docs",description:"The placeholder of the input of the DocSearch pop-up modal"})};let Le=null;function Te(e){let{hit:a,children:c}=e;return n.createElement(W.Z,{to:a.url},c)}function Pe(e){let{state:a,onClose:c}=e;const{generateSearchPageLink:d}=(0,me.O)();return n.createElement(W.Z,{to:d(a.query),onClick:c},n.createElement(v.Z,{id:"theme.SearchBar.seeAll",values:{count:a.context.nbHits}},"See all {count} results"))}function Re(e){let{contextualSearch:a,externalUrlRegex:d,...f}=e;const{siteMetadata:b}=(0,oe.Z)(),t=function(){const{locale:e,tags:a}=(0,Ie._q)();return[`language:${e}`,a.map((e=>`docusaurus_tag:${e}`))]}(),r=f.searchParameters?.facetFilters??[],i=a?function(e,a){const c=e=>"string"==typeof e?[e]:e;return[...c(e),...c(a)]}(t,r):r,o={...f.searchParameters,facetFilters:i},{withBaseUrl:s}=(0,Z.C)(),l=(0,le.k6)(),x=(0,n.useRef)(null),u=(0,n.useRef)(null),[h,p]=(0,n.useState)(!1),[m,g]=(0,n.useState)(void 0),v=(0,n.useCallback)((()=>Le?Promise.resolve():Promise.all([c.e(6780).then(c.bind(c,76780)),Promise.all([c.e(532),c.e(6945)]).then(c.bind(c,46945)),Promise.all([c.e(532),c.e(8894)]).then(c.bind(c,18894))]).then((e=>{let[{DocSearchModal:a}]=e;Le=a}))),[]),_=(0,n.useCallback)((()=>{v().then((()=>{x.current=document.createElement("div"),document.body.insertBefore(x.current,document.body.firstChild),p(!0)}))}),[v,p]),w=(0,n.useCallback)((()=>{p(!1),x.current?.remove()}),[p]),S=(0,n.useCallback)((e=>{v().then((()=>{p(!0),g(e.key)}))}),[v,p,g]),E=(0,n.useRef)({navigate(e){let{itemUrl:a}=e;(0,Y.F)(d,a)?window.location.href=a:l.push(a)}}).current,A=(0,n.useRef)((e=>e.map((e=>{if((0,Y.F)(d,e.url))return e;const a=new URL(e.url);return{...e,url:s(`${a.pathname}${a.hash}`)}})))).current,k=(0,n.useMemo)((()=>e=>n.createElement(Pe,(0,y.Z)({},e,{onClose:w}))),[w]),I=(0,n.useCallback)((e=>(e.addAlgoliaAgent("docusaurus",b.docusaurusVersion),e)),[b.docusaurusVersion]);return function(e){var a=e.isOpen,c=e.onOpen,d=e.onClose,f=e.onInput,b=e.searchButtonRef;n.useEffect((function(){function e(e){(27===e.keyCode&&a||"k"===e.key.toLowerCase()&&(e.metaKey||e.ctrlKey)||!function(e){var a=e.target,c=a.tagName;return a.isContentEditable||"INPUT"===c||"SELECT"===c||"TEXTAREA"===c}(e)&&"/"===e.key&&!a)&&(e.preventDefault(),a?d():document.body.classList.contains("DocSearch--active")||document.body.classList.contains("DocSearch--active")||c()),b&&b.current===document.activeElement&&f&&/[a-zA-Z0-9]/.test(String.fromCharCode(e.keyCode))&&f(e)}return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[a,c,d,f,b])}({isOpen:h,onOpen:_,onClose:w,onInput:S,searchButtonRef:u}),n.createElement(n.Fragment,null,n.createElement(pe.Z,null,n.createElement("link",{rel:"preconnect",href:`https://${f.appId}-dsn.algolia.net`,crossOrigin:"anonymous"})),n.createElement(ke,{onTouchStart:v,onFocus:v,onMouseOver:v,onClick:_,ref:u,translations:Ce.button}),h&&Le&&x.current&&(0,he.createPortal)(n.createElement(Le,(0,y.Z)({onClose:w,initialScrollY:window.scrollY,initialQuery:m,navigator:E,transformItems:A,hitComponent:Te,transformSearchClient:I},f.searchPagePath&&{resultsFooterComponent:k},f,{searchParameters:o,placeholder:Ce.placeholder,translations:Ce.modal})),x.current))}function Me(){const{siteConfig:e}=(0,oe.Z)();return n.createElement(Re,e.themeConfig.algolia)}const Be="searchBox_ZlJk";function Oe(e){let{children:a,className:c}=e;return n.createElement("div",{className:(0,i.Z)(c,Be)},a)}var Ne=c(80143),Fe=c(53438);var De=c(60373);const Ue=e=>e.docs.find((a=>a.id===e.mainDocId));const je={default:ce,localeDropdown:function(e){let{mobile:a,dropdownItemsBefore:c,dropdownItemsAfter:d,...f}=e;const{i18n:{currentLocale:b,locales:t,localeConfigs:r}}=(0,oe.Z)(),i=(0,se.l)(),{search:o,hash:s}=(0,le.TH)(),l=[...c,...t.map((e=>{const c=`${`pathname://${i.createUrl({locale:e,fullyQualified:!1})}`}${o}${s}`;return{label:r[e].label,lang:r[e].htmlLang,to:c,target:"_self",autoAddBaseUrl:!1,className:e===b?a?"menu__link--active":"dropdown__link--active":""}})),...d],x=a?(0,v.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):r[b].label;return n.createElement(ie,(0,y.Z)({},f,{mobile:a,label:n.createElement(n.Fragment,null,n.createElement(xe,{className:ue}),x),items:l}))},search:function(e){let{mobile:a,className:c}=e;return a?null:n.createElement(Oe,{className:c},n.createElement(Me,null))},dropdown:ie,html:function(e){let{value:a,className:c,mobile:d=!1,isDropdownItem:f=!1}=e;const b=f?"li":"div";return n.createElement(b,{className:(0,i.Z)({navbar__item:!d&&!f,"menu__list-item":d},c),dangerouslySetInnerHTML:{__html:a}})},doc:function(e){let{docId:a,label:c,docsPluginId:d,...f}=e;const{activeDoc:b}=(0,Ne.Iw)(d),t=(0,Fe.vY)(a,d);return null===t?null:n.createElement(ce,(0,y.Z)({exact:!0},f,{isActive:()=>b?.path===t.path||!!b?.sidebar&&b.sidebar===t.sidebar,label:c??t.id,to:t.path}))},docSidebar:function(e){let{sidebarId:a,label:c,docsPluginId:d,...f}=e;const{activeDoc:b}=(0,Ne.Iw)(d),t=(0,Fe.oz)(a,d).link;if(!t)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${a}" doesn't have anything to be linked to.`);return n.createElement(ce,(0,y.Z)({exact:!0},f,{isActive:()=>b?.sidebar===a,label:c??t.label,to:t.path}))},docsVersion:function(e){let{label:a,to:c,docsPluginId:d,...f}=e;const b=(0,Fe.lO)(d)[0],t=a??b.label,r=c??(e=>e.docs.find((a=>a.id===e.mainDocId)))(b).path;return n.createElement(ce,(0,y.Z)({},f,{label:t,to:r}))},docsVersionDropdown:function(e){let{mobile:a,docsPluginId:c,dropdownActiveClassDisabled:d,dropdownItemsBefore:f,dropdownItemsAfter:b,...t}=e;const{search:r,hash:i}=(0,le.TH)(),o=(0,Ne.Iw)(c),s=(0,Ne.gB)(c),{savePreferredVersionName:l}=(0,De.J)(c),x=[...f,...s.map((e=>{const a=o.alternateDocVersions[e.name]??Ue(e);return{label:e.label,to:`${a.path}${r}${i}`,isActive:()=>e===o.activeVersion,onClick:()=>l(e.name)}})),...b],u=(0,Fe.lO)(c)[0],h=a&&x.length>1?(0,v.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):u.label,p=a&&x.length>1?void 0:Ue(u).path;return x.length<=1?n.createElement(ce,(0,y.Z)({},t,{mobile:a,label:h,to:p,isActive:d?()=>!1:void 0})):n.createElement(ie,(0,y.Z)({},t,{mobile:a,label:h,to:p,items:x,isActive:d?()=>!1:void 0}))}};function ze(e){let{type:a,...c}=e;const d=function(e,a){return e&&"default"!==e?e:"items"in a?"dropdown":"default"}(a,c),f=je[d];if(!f)throw new Error(`No NavbarItem component found for type "${a}".`);return n.createElement(f,c)}function qe(){const e=(0,P.e)(),a=(0,m.L)().navbar.items;return n.createElement("ul",{className:"menu__list"},a.map(((a,c)=>n.createElement(ze,(0,y.Z)({mobile:!0},a,{onClick:()=>e.toggle(),key:c})))))}function Ke(e){return n.createElement("button",(0,y.Z)({},e,{type:"button",className:"clean-btn navbar-sidebar__back"}),n.createElement(v.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"},"\u2190 Back to main menu"))}function Ve(){const e=0===(0,m.L)().navbar.items.length,a=(0,B.Y)();return n.createElement(n.Fragment,null,!e&&n.createElement(Ke,{onClick:()=>a.hide()}),a.content)}function $e(){const e=(0,P.e)();return(0,M.N)(e.shown),e.shouldRender?n.createElement(O,{header:n.createElement(G,null),primaryMenu:n.createElement(qe,null),secondaryMenu:n.createElement(Ve,null)}):null}const He="navbarHideable_m1mJ",Ge="navbarHidden_jGov";function We(e){return n.createElement("div",(0,y.Z)({role:"presentation"},e,{className:(0,i.Z)("navbar-sidebar__backdrop",e.className)}))}function Ze(e){let{children:a}=e;const{navbar:{hideOnScroll:c,style:d}}=(0,m.L)(),f=(0,P.e)(),{navbarRef:b,isNavbarVisible:t}=(0,R.c)(c);return n.createElement("nav",{ref:b,className:(0,i.Z)("navbar","navbar--fixed-top",c&&[He,!t&&Ge],{"navbar--dark":"dark"===d,"navbar--primary":"primary"===d,"navbar-sidebar--show":f.shown})},a,n.createElement(We,{onClick:f.toggle}),n.createElement($e,null))}var Qe=c(58978);function Ye(e){let{width:a=30,height:c=30,className:d,...f}=e;return n.createElement("svg",(0,y.Z)({className:d,width:a,height:c,viewBox:"0 0 30 30","aria-hidden":"true"},f),n.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"}))}function Je(){const{toggle:e,shown:a}=(0,P.e)();return n.createElement("button",{onClick:e,"aria-label":(0,v.I)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":a,className:"navbar__toggle clean-btn",type:"button"},n.createElement(Ye,null))}const Xe="colorModeToggle_x44X";var ea=c(14141);function aa(e){let{items:a,isMobile:c}=e;const[d,f]=function(e){function a(e){return e.href?.length>0??!1}return[e.filter((e=>!a(e))),e.filter(a)]}(a);return n.createElement(n.Fragment,null,d.map(((e,a)=>n.createElement(ze,(0,y.Z)({},e,{key:a})))),!c&&n.createElement(ca,null),f.map(((e,a)=>n.createElement(ze,(0,y.Z)({},e,{key:a})))))}const ca=ea.ZP.div` width: 1px; height: 80%; background-color: black; `;function da(e){let{items:a}=e;return n.createElement(n.Fragment,null,a.map(((e,a)=>n.createElement(ze,(0,y.Z)({},e,{key:a})))))}function fa(e){let{left:a,center:c,right:d}=e;return n.createElement("div",{className:"navbar__inner"},n.createElement("div",{className:"navbar__items"},a),n.createElement("div",{className:"navbar__items navbar__items--center"},c),n.createElement("div",{className:"navbar__items navbar__items--right"},d))}function ba(){const e=(0,P.e)(),a=(0,m.L)().navbar.items,[c,d]=(0,Qe.A)(a),f=a.find((e=>"search"===e.type));return n.createElement(fa,{left:n.createElement(n.Fragment,null,!e.disabled&&n.createElement(Je,null),n.createElement($,null)),center:n.createElement(n.Fragment,null,n.createElement(aa,{items:c,isMobile:e.shouldRender})),right:n.createElement(n.Fragment,null,!f&&n.createElement(Oe,null,n.createElement(Me,null)),n.createElement(da,{items:d}),n.createElement(K,{className:Xe}))})}function ta(){return n.createElement(Ze,null,n.createElement(ba,null))}var ra=c(42489);function na(e){let{item:a}=e;const{to:c,href:d,label:f,prependBaseUrlToHref:b,...t}=a,r=(0,Z.Z)(c),i=(0,Z.Z)(d,{forcePrependBaseUrl:!0});return n.createElement(W.Z,(0,y.Z)({className:"footer__link-item"},d?{href:b?i:d}:{to:r},t),f,d&&!(0,Q.Z)(d)&&n.createElement(J.Z,null))}function ia(e){let{item:a}=e;return a.html?n.createElement("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:a.html}}):n.createElement("li",{key:a.href??a.to,className:"footer__item"},n.createElement(na,{item:a}))}function oa(e){let{column:a}=e;return n.createElement("div",{className:"col footer__col"},n.createElement("div",{className:"footer__title"},a.title),n.createElement("ul",{className:"footer__items clean-list"},a.items.map(((e,a)=>n.createElement(ia,{key:a,item:e})))))}function sa(e){let{columns:a}=e;return n.createElement("div",{className:"row footer__links"},a.map(((e,a)=>n.createElement(oa,{key:a,column:e}))))}function la(){return n.createElement("span",{className:"footer__link-separator"},"\xb7")}function xa(e){let{item:a}=e;return a.html?n.createElement("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:a.html}}):n.createElement(na,{item:a})}function ua(e){let{links:a}=e;return n.createElement("div",{className:"footer__links text--center"},n.createElement("div",{className:"footer__links"},a.map(((e,c)=>n.createElement(n.Fragment,{key:c},n.createElement(xa,{item:e}),a.length!==c+1&&n.createElement(la,null))))))}function ha(e){let{links:a}=e;return(0,ra.a)(a)?n.createElement(sa,{columns:a}):n.createElement(ua,{links:a})}var pa=c(50941);const ma="footerLogoLink_BH7S";function ga(e){let{logo:a}=e;const{withBaseUrl:c}=(0,Z.C)(),d={light:c(a.src),dark:c(a.srcDark??a.src)};return n.createElement(pa.Z,{className:(0,i.Z)("footer__logo",a.className),alt:a.alt,sources:d,width:a.width,height:a.height,style:a.style})}function ya(e){let{logo:a}=e;return a.href?n.createElement(W.Z,{href:a.href,className:ma,target:a.target},n.createElement(ga,{logo:a})):n.createElement(ga,{logo:a})}function va(e){let{copyright:a}=e;return n.createElement("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:a}})}var _a,wa;function Sa(){return Sa=Object.assign?Object.assign.bind():function(e){for(var a=1;a{let{title:a,titleId:c,...d}=e;return n.createElement("svg",Sa({width:170,height:64,viewBox:"0 0 170 64",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":c},d),a?n.createElement("title",{id:c},a):null,_a||(_a=n.createElement("path",{d:"M86.658 0h3.686v13.151h7.469v3.3H86.658V0ZM98.633 10.307c0-3.473 2.021-6.363 6.013-6.363 3.756 0 5.87 2.653 5.87 5.989v1.339h-8.195c.022 1.431.753 2.444 2.396 2.444 1.339 0 1.926-.657 2.137-1.22h3.499c-.329 2.206-2.279 4.156-5.636 4.156-3.876-.003-6.084-2.822-6.084-6.345Zm8.197-1.314c-.071-1.173-.752-2.089-2.173-2.089-1.551 0-2.232.916-2.303 2.089h4.476ZM113.568 12.515V7.233h-1.985V4.156h2.173V.94h3.452v3.216h2.936v3.077h-2.936v4.413c0 1.152.491 1.646 1.572 1.646h1.41v3.159h-2.491c-2.857 0-4.131-1.703-4.131-3.936ZM122.175 2.887V0h3.664v2.887l-.611 3.689h-2.444l-.609-3.689ZM127.355 12.282h3.615c0 .681.543 1.358 1.833 1.358s1.736-.47 1.736-.891c0-.543-.4-.799-1.244-.964l-1.809-.35c-1.972-.378-3.756-1.389-3.756-3.852 0-1.996 1.76-3.642 5.049-3.642 3.194 0 5.119 1.833 5.119 4.11h-3.568c.021-.563-.4-1.266-1.63-1.266-.894 0-1.431.374-1.431.844s.328.728.915.845l2.347.445c1.879.353 3.639 1.223 3.639 3.803 0 2.537-2.254 3.922-5.375 3.922-3.83.005-5.37-1.85-5.44-4.362ZM90.38 36.278h-.093l-.375 1.173h-3.243V20.07h3.618v6.271h.092c.59-.706 1.526-1.385 3.26-1.385 3.101 0 4.978 2.675 4.978 6.34 0 3.663-1.877 6.363-4.979 6.363-1.733-.006-2.67-.687-3.259-1.38Zm4.578-4.978c0-1.714-.586-3.17-2.417-3.17-1.83 0-2.415 1.445-2.415 3.159 0 1.714.636 3.194 2.42 3.194 1.785 0 2.412-1.48 2.412-3.194v.01ZM100.385 33.238v-8.08H104v6.953c0 1.407.635 2.255 2.067 2.255 1.293 0 2.232-.916 2.232-2.396v-6.812h3.615V37.44h-3.24l-.271-1.173h-.093c-.682.798-1.763 1.385-3.36 1.385-2.735 0-4.565-1.714-4.565-4.414ZM113.864 20.041h3.852v3.662h-3.852V20.04Zm.117 5.117h3.615V37.44h-3.615V25.158ZM119.709 20.063h3.618v17.383h-3.618V20.063ZM124.853 31.289c0-3.664 1.88-6.34 4.979-6.34 1.738 0 2.675.68 3.259 1.386h.092v-6.272h3.618v17.383h-3.24l-.378-1.173h-.092c-.589.703-1.526 1.385-3.259 1.385-3.099-.006-4.979-2.681-4.979-6.37Zm8.502 0c0-1.714-.587-3.17-2.42-3.17-1.834 0-2.418 1.456-2.418 3.17 0 1.713.633 3.194 2.418 3.194 1.784 0 2.42-1.48 2.42-3.194ZM85.928 52.259c0-3.713 2.172-6.342 6.083-6.342 3.64 0 5.52 2.208 5.682 5.049h-3.64c-.116-1.087-.868-1.88-2.042-1.88-1.526 0-2.395.965-2.395 3.173s.869 3.191 2.395 3.191a1.982 1.982 0 0 0 2.043-1.877h3.64c-.164 2.841-2.021 5.05-5.59 5.05-3.922 0-6.176-2.633-6.176-6.364ZM99.453 41.034h3.618v6.268h.095c.679-.798 1.76-1.385 3.357-1.385 2.716 0 4.555 1.692 4.555 4.416v8.078h-3.615v-6.95c0-1.41-.636-2.258-2.067-2.258-1.293 0-2.325.918-2.325 2.396v6.812h-3.618V41.034ZM112.604 54.771c0-2.279 1.551-3.78 4.932-3.78h2.629v-.658c0-.847-.543-1.504-1.876-1.504-1.127 0-1.785.61-1.785 1.358h-3.384c0-2.304 1.668-4.275 5.286-4.275 3.356 0 5.377 1.855 5.377 4.416v8.077h-3.237l-.272-1.105h-.095c-.682.777-1.76 1.317-3.289 1.317-2.759.006-4.286-1.662-4.286-3.846Zm7.561-.839v-.516h-2.335c-1.149 0-1.668.516-1.668 1.173 0 .706.565 1.223 1.646 1.223 1.488-.009 2.357-.878 2.357-1.88ZM125.896 46.129h3.241l.271 1.173h.093c.681-.798 1.762-1.385 3.359-1.385 2.716 0 4.555 1.714 4.555 4.416v8.077H133.8v-6.95c0-1.41-.636-2.257-2.067-2.257-1.293 0-2.232.918-2.232 2.396v6.811h-3.605V46.13ZM139.305 59.467h3.531c.095.815.918 1.431 2.045 1.431 1.597 0 2.393-.844 2.393-1.947v-1.717h-.092c-.587.707-1.527 1.388-3.26 1.388-3.099 0-4.978-2.678-4.978-6.342 0-3.663 1.879-6.363 4.978-6.363 1.739 0 2.678.681 3.26 1.385h.092l.378-1.173h3.24v12.868c0 3.077-2.583 5.003-6.011 5.003-3.3 0-5.505-1.763-5.576-4.533Zm8.148-7.187c0-1.713-.633-3.194-2.42-3.194s-2.417 1.48-2.417 3.194.587 3.17 2.417 3.17c1.831 0 2.42-1.456 2.42-3.17ZM152.432 52.28c0-3.473 2.018-6.363 6.01-6.363 3.759 0 5.872 2.653 5.872 5.975v1.339h-8.188c.024 1.431.752 2.444 2.395 2.444 1.339 0 1.926-.657 2.138-1.222h3.498c-.329 2.208-2.276 4.158-5.636 4.158-3.881.011-6.089-2.808-6.089-6.33Zm8.194-1.314c-.071-1.173-.75-2.092-2.173-2.092-1.548 0-2.23.919-2.3 2.092h4.473ZM165.841 54.747h3.864v3.664h-3.851l-.013-3.664ZM34.135 41.327 0 21.617v17.07l34.135 19.707 34.137-19.707v-17.07l-34.137 19.71Z",fill:"#000"})),wa||(wa=n.createElement("path",{d:"M41.87 0 24.803 9.854v17.07l17.067-9.857V0Z",fill:"#000"})))},Aa=[{title:"Company",links:[{title:"About",href:"https://docs.vocdoni.io/about-us/vision.html"},{title:"How we work",href:"https://docs.vocdoni.io/about-us/how-we-work.html"},{title:"Blog",href:"https://blog.vocdoni.io/vocdoni/"}]},{title:"Developer",links:[{title:"Developer Portal",href:"https://developer.vocdoni.io/"},{title:"Vocdoni API",href:"https://vocdoni.io/api"},{title:"Vocdoni APP",href:"https://vocdoni.app/"}]},{title:"Resources",links:[{title:"Guides",href:"#",soon:!0},{title:"Tutorials",href:"#",soon:!0}]},{title:"Contact",links:[{title:"info@vocdoni.io",href:"mailto:info@vocdoni.io"}]}],ka=e=>{let{children:a}=e;return n.createElement(Ma,null,n.createElement("div",null,a),n.createElement(Ba,null,"Soon"))},Ia=e=>{let{title:a,links:c}=e;return n.createElement(La,null,n.createElement("h4",null,a),n.createElement("div",null,c.map(((e,a)=>n.createElement("div",{key:a},e.soon?n.createElement(ka,null,e.title):n.createElement(Ra,{href:e.href},e.title),n.createElement("br",null))))))},Ca=()=>n.createElement(Pa,null,n.createElement(Ta,null,n.createElement(Ea,null)),Aa.map(((e,a)=>n.createElement(Ia,{key:a,title:e.title,links:e.links})))),La=ea.ZP.div.attrs({className:"flex flex-col align-center gap-2 "})``,Ta=(0,ea.ZP)(La).attrs({className:"gap-1 justify-center items-center"})``,Pa=ea.ZP.div.attrs({className:"flex flex-wrap justify-between my-6 py-8 px-8 md:px-4 gap-8"})``,Ra=ea.ZP.a.attrs({className:"text-sm text-black"})``,Ma=ea.ZP.div.attrs({className:"text-sm text-gray-600 cursor-wait flex"})``,Ba=ea.ZP.div.attrs({className:"-mt-1 ml-1 text-gray-600 text-xs"})``;var Oa=c(88357);function Na(e){return(0,Oa.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{fillRule:"nonzero",d:"M10.076 11c.6 0 1.086.45 1.075 1 0 .55-.474 1-1.075 1C9.486 13 9 12.55 9 12s.475-1 1.076-1zm3.848 0c.601 0 1.076.45 1.076 1s-.475 1-1.076 1c-.59 0-1.075-.45-1.075-1s.474-1 1.075-1zm4.967-9C20.054 2 21 2.966 21 4.163V23l-2.211-1.995-1.245-1.176-1.317-1.25.546 1.943H5.109C3.946 20.522 3 19.556 3 18.359V4.163C3 2.966 3.946 2 5.109 2H18.89zm-3.97 13.713c2.273-.073 3.148-1.596 3.148-1.596 0-3.381-1.482-6.122-1.482-6.122-1.48-1.133-2.89-1.102-2.89-1.102l-.144.168c1.749.546 2.561 1.334 2.561 1.334a8.263 8.263 0 0 0-3.096-1.008 8.527 8.527 0 0 0-2.077.02c-.062 0-.114.011-.175.021-.36.032-1.235.168-2.335.662-.38.178-.607.305-.607.305s.854-.83 2.705-1.376l-.103-.126s-1.409-.031-2.89 1.103c0 0-1.481 2.74-1.481 6.121 0 0 .864 1.522 3.137 1.596 0 0 .38-.472.69-.871-1.307-.4-1.8-1.24-1.8-1.24s.102.074.287.179c.01.01.02.021.041.031.031.022.062.032.093.053.257.147.514.262.75.357.422.168.926.336 1.513.452a7.06 7.06 0 0 0 2.664.01 6.666 6.666 0 0 0 1.491-.451c.36-.137.761-.337 1.183-.62 0 0-.514.861-1.862 1.25.309.399.68.85.68.85z"}}]}]})(e)}function Fa(e){return(0,Oa.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M22.162 5.656a8.384 8.384 0 0 1-2.402.658A4.196 4.196 0 0 0 21.6 4c-.82.488-1.719.83-2.656 1.015a4.182 4.182 0 0 0-7.126 3.814 11.874 11.874 0 0 1-8.62-4.37 4.168 4.168 0 0 0-.566 2.103c0 1.45.738 2.731 1.86 3.481a4.168 4.168 0 0 1-1.894-.523v.052a4.185 4.185 0 0 0 3.355 4.101 4.21 4.21 0 0 1-1.89.072A4.185 4.185 0 0 0 7.97 16.65a8.394 8.394 0 0 1-6.191 1.732 11.83 11.83 0 0 0 6.41 1.88c7.693 0 11.9-6.373 11.9-11.9 0-.18-.005-.362-.013-.54a8.496 8.496 0 0 0 2.087-2.165z"}}]}]})(e)}const Da=(new Date).getFullYear(),Ua=()=>n.createElement(ja,null,n.createElement("div",null,"Copyright \xa9 ",Da," Vocdoni, Inc. All rights reserved."),n.createElement(za,null,n.createElement(Na,{href:"https://t.co/1JrIv5eVPF",size:"1.75em"}),n.createElement(Fa,{href:"https://twitter.com/vocdoni",size:"1.75em"}))),ja=ea.ZP.div.attrs({className:"pt-5 pb-3 px-3 text-xs text-monospace items-center content-center flex sm:flex-row justify-between flex-col"})` `,za=ea.ZP.div.attrs({className:"flex gap-3 flex-row"})` -`,qa=()=>n.createElement(Va,null,n.createElement(Ca,null),n.createElement(Ka,null),n.createElement(Ua,null)),Ka=ea.ZP.div.attrs({className:"border-b w-full border-black"})``,Va=ea.ZP.div.attrs({className:"bg-white md:px-10"})``;function $a(e){let{style:a,links:c,logo:d,copyright:f}=e;return n.createElement(qa,null)}function Ha(){const{footer:e}=(0,m.L)();if(!e)return null;const{copyright:a,links:c,logo:d,style:f}=e;return n.createElement($a,{style:f,links:c&&c.length>0&&n.createElement(ha,{links:c}),logo:d&&n.createElement(ya,{logo:d}),copyright:a&&n.createElement(va,{copyright:a})})}const Ga=n.memo(Ha);var Wa=c(902),Za=c(7094),Qa=c(12466);const Ya=(0,Wa.Qc)([N.S,g.pl,Za.z,Qa.OC,De.L5,s.VC,Qe.V]);function Ja(e){let{children:a}=e;return n.createElement(Ya,null,a)}function Xa(e){let{error:a,tryAgain:c}=e;return n.createElement("main",{className:"container margin-vert--xl"},n.createElement("div",{className:"row"},n.createElement("div",{className:"col col--6 col--offset-3"},n.createElement("h1",{className:"hero__title"},n.createElement(v.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed"},"This page crashed.")),n.createElement("p",null,a.message),n.createElement("div",null,n.createElement("button",{type:"button",onClick:c},n.createElement(v.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again when the page crashed"},"Try again"))))))}const ec="mainWrapper_z2l0";function ac(e){const{children:a,noFooter:c,wrapperClassName:d,title:f,description:b}=e;return(0,u.t)(),n.createElement(Ja,null,n.createElement(s.d,{title:f,description:b}),n.createElement(p,null),n.createElement(T,null),n.createElement(ta,null),n.createElement("div",{id:l.u,className:(0,i.Z)(x.k.wrapper.main,ec,d)},n.createElement(o.Z,{fallback:e=>n.createElement(Xa,e)},a)),!c&&n.createElement(Ga,null))}var cc=c(73380),dc=c.n(cc),fc=c(37489);function bc(e){const[a,d]=(0,n.useState)(!1);return(0,n.useEffect)((()=>{"undefined"!=typeof window&&c.e(2816).then(c.bind(c,2816)).then((e=>{let{setupWorker:a}=e;const c=a(fc.By,fc.xN,fc.fV,fc.gB,fc.JR,fc.do,fc.XK,fc.KU,fc.J1);c.start({onUnhandledRequest:"bypass"}).then((()=>(d(!0),()=>()=>{c.stop()})))})).catch((e=>{console.error("Failed to start the MSW worker:",e)}))}),[]),a?n.createElement(ac,e):n.createElement(tc,null)}const tc=()=>n.createElement(t,{size:"full",minHeight:"100vh"},n.createElement(dc(),{loading:!0,size:15,cssOverride:{margin:"0 5px"}}),"loading...")},79742:(e,a)=>{"use strict";a.byteLength=function(e){var a=n(e),c=a[0],d=a[1];return 3*(c+d)/4-d},a.toByteArray=function(e){var a,c,b=n(e),t=b[0],r=b[1],i=new f(function(e,a,c){return 3*(a+c)/4-c}(0,t,r)),o=0,s=r>0?t-4:t;for(c=0;c>16&255,i[o++]=a>>8&255,i[o++]=255&a;2===r&&(a=d[e.charCodeAt(c)]<<2|d[e.charCodeAt(c+1)]>>4,i[o++]=255&a);1===r&&(a=d[e.charCodeAt(c)]<<10|d[e.charCodeAt(c+1)]<<4|d[e.charCodeAt(c+2)]>>2,i[o++]=a>>8&255,i[o++]=255&a);return i},a.fromByteArray=function(e){for(var a,d=e.length,f=d%3,b=[],t=16383,r=0,n=d-f;rn?n:r+t));1===f?(a=e[d-1],b.push(c[a>>2]+c[a<<4&63]+"==")):2===f&&(a=(e[d-2]<<8)+e[d-1],b.push(c[a>>10]+c[a>>4&63]+c[a<<2&63]+"="));return b.join("")};for(var c=[],d=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,r=b.length;t0)throw new Error("Invalid string. Length must be a multiple of 4");var c=e.indexOf("=");return-1===c&&(c=a),[c,c===a?0:4-c%4]}function i(e,a,d){for(var f,b,t=[],r=a;r>18&63]+c[b>>12&63]+c[b>>6&63]+c[63&b]);return t.join("")}d["-".charCodeAt(0)]=62,d["_".charCodeAt(0)]=63},66053:e=>{var a,c,d=(()=>{for(var e=new Uint8Array(128),a=0;a<64;a++)e[a<26?a+65:a<52?a+71:a<62?a-4:4*a-205]=a;return a=>{for(var c=a.length,d=new Uint8Array(3*(c-("="==a[c-1])-("="==a[c-2]))/4|0),f=0,b=0;f>4,d[b++]=r<<4|n>>2,d[b++]=n<<6|i}return d}})(),f=(a={"wasm-binary:./blake2b.wat"(e,a){a.exports=d("AGFzbQEAAAABEANgAn9/AGADf39/AGABfwADBQQAAQICBQUBAQroBwdNBQZtZW1vcnkCAAxibGFrZTJiX2luaXQAAA5ibGFrZTJiX3VwZGF0ZQABDWJsYWtlMmJfZmluYWwAAhBibGFrZTJiX2NvbXByZXNzAAMKvz8EwAIAIABCADcDACAAQgA3AwggAEIANwMQIABCADcDGCAAQgA3AyAgAEIANwMoIABCADcDMCAAQgA3AzggAEIANwNAIABCADcDSCAAQgA3A1AgAEIANwNYIABCADcDYCAAQgA3A2ggAEIANwNwIABCADcDeCAAQoiS853/zPmE6gBBACkDAIU3A4ABIABCu86qptjQ67O7f0EIKQMAhTcDiAEgAEKr8NP0r+68tzxBECkDAIU3A5ABIABC8e30+KWn/aelf0EYKQMAhTcDmAEgAELRhZrv+s+Uh9EAQSApAwCFNwOgASAAQp/Y+dnCkdqCm39BKCkDAIU3A6gBIABC6/qG2r+19sEfQTApAwCFNwOwASAAQvnC+JuRo7Pw2wBBOCkDAIU3A7gBIABCADcDwAEgAEIANwPIASAAQgA3A9ABC20BA38gAEHAAWohAyAAQcgBaiEEIAQpAwCnIQUCQANAIAEgAkYNASAFQYABRgRAIAMgAykDACAFrXw3AwBBACEFIAAQAwsgACAFaiABLQAAOgAAIAVBAWohBSABQQFqIQEMAAsLIAQgBa03AwALYQEDfyAAQcABaiEBIABByAFqIQIgASABKQMAIAIpAwB8NwMAIABCfzcD0AEgAikDAKchAwJAA0AgA0GAAUYNASAAIANqQQA6AAAgA0EBaiEDDAALCyACIAOtNwMAIAAQAwuqOwIgfgl/IABBgAFqISEgAEGIAWohIiAAQZABaiEjIABBmAFqISQgAEGgAWohJSAAQagBaiEmIABBsAFqIScgAEG4AWohKCAhKQMAIQEgIikDACECICMpAwAhAyAkKQMAIQQgJSkDACEFICYpAwAhBiAnKQMAIQcgKCkDACEIQoiS853/zPmE6gAhCUK7zqqm2NDrs7t/IQpCq/DT9K/uvLc8IQtC8e30+KWn/aelfyEMQtGFmu/6z5SH0QAhDUKf2PnZwpHagpt/IQ5C6/qG2r+19sEfIQ9C+cL4m5Gjs/DbACEQIAApAwAhESAAKQMIIRIgACkDECETIAApAxghFCAAKQMgIRUgACkDKCEWIAApAzAhFyAAKQM4IRggACkDQCEZIAApA0ghGiAAKQNQIRsgACkDWCEcIAApA2AhHSAAKQNoIR4gACkDcCEfIAApA3ghICANIAApA8ABhSENIA8gACkD0AGFIQ8gASAFIBF8fCEBIA0gAYVCIIohDSAJIA18IQkgBSAJhUIYiiEFIAEgBSASfHwhASANIAGFQhCKIQ0gCSANfCEJIAUgCYVCP4ohBSACIAYgE3x8IQIgDiAChUIgiiEOIAogDnwhCiAGIAqFQhiKIQYgAiAGIBR8fCECIA4gAoVCEIohDiAKIA58IQogBiAKhUI/iiEGIAMgByAVfHwhAyAPIAOFQiCKIQ8gCyAPfCELIAcgC4VCGIohByADIAcgFnx8IQMgDyADhUIQiiEPIAsgD3whCyAHIAuFQj+KIQcgBCAIIBd8fCEEIBAgBIVCIIohECAMIBB8IQwgCCAMhUIYiiEIIAQgCCAYfHwhBCAQIASFQhCKIRAgDCAQfCEMIAggDIVCP4ohCCABIAYgGXx8IQEgECABhUIgiiEQIAsgEHwhCyAGIAuFQhiKIQYgASAGIBp8fCEBIBAgAYVCEIohECALIBB8IQsgBiALhUI/iiEGIAIgByAbfHwhAiANIAKFQiCKIQ0gDCANfCEMIAcgDIVCGIohByACIAcgHHx8IQIgDSAChUIQiiENIAwgDXwhDCAHIAyFQj+KIQcgAyAIIB18fCEDIA4gA4VCIIohDiAJIA58IQkgCCAJhUIYiiEIIAMgCCAefHwhAyAOIAOFQhCKIQ4gCSAOfCEJIAggCYVCP4ohCCAEIAUgH3x8IQQgDyAEhUIgiiEPIAogD3whCiAFIAqFQhiKIQUgBCAFICB8fCEEIA8gBIVCEIohDyAKIA98IQogBSAKhUI/iiEFIAEgBSAffHwhASANIAGFQiCKIQ0gCSANfCEJIAUgCYVCGIohBSABIAUgG3x8IQEgDSABhUIQiiENIAkgDXwhCSAFIAmFQj+KIQUgAiAGIBV8fCECIA4gAoVCIIohDiAKIA58IQogBiAKhUIYiiEGIAIgBiAZfHwhAiAOIAKFQhCKIQ4gCiAOfCEKIAYgCoVCP4ohBiADIAcgGnx8IQMgDyADhUIgiiEPIAsgD3whCyAHIAuFQhiKIQcgAyAHICB8fCEDIA8gA4VCEIohDyALIA98IQsgByALhUI/iiEHIAQgCCAefHwhBCAQIASFQiCKIRAgDCAQfCEMIAggDIVCGIohCCAEIAggF3x8IQQgECAEhUIQiiEQIAwgEHwhDCAIIAyFQj+KIQggASAGIBJ8fCEBIBAgAYVCIIohECALIBB8IQsgBiALhUIYiiEGIAEgBiAdfHwhASAQIAGFQhCKIRAgCyAQfCELIAYgC4VCP4ohBiACIAcgEXx8IQIgDSAChUIgiiENIAwgDXwhDCAHIAyFQhiKIQcgAiAHIBN8fCECIA0gAoVCEIohDSAMIA18IQwgByAMhUI/iiEHIAMgCCAcfHwhAyAOIAOFQiCKIQ4gCSAOfCEJIAggCYVCGIohCCADIAggGHx8IQMgDiADhUIQiiEOIAkgDnwhCSAIIAmFQj+KIQggBCAFIBZ8fCEEIA8gBIVCIIohDyAKIA98IQogBSAKhUIYiiEFIAQgBSAUfHwhBCAPIASFQhCKIQ8gCiAPfCEKIAUgCoVCP4ohBSABIAUgHHx8IQEgDSABhUIgiiENIAkgDXwhCSAFIAmFQhiKIQUgASAFIBl8fCEBIA0gAYVCEIohDSAJIA18IQkgBSAJhUI/iiEFIAIgBiAdfHwhAiAOIAKFQiCKIQ4gCiAOfCEKIAYgCoVCGIohBiACIAYgEXx8IQIgDiAChUIQiiEOIAogDnwhCiAGIAqFQj+KIQYgAyAHIBZ8fCEDIA8gA4VCIIohDyALIA98IQsgByALhUIYiiEHIAMgByATfHwhAyAPIAOFQhCKIQ8gCyAPfCELIAcgC4VCP4ohByAEIAggIHx8IQQgECAEhUIgiiEQIAwgEHwhDCAIIAyFQhiKIQggBCAIIB58fCEEIBAgBIVCEIohECAMIBB8IQwgCCAMhUI/iiEIIAEgBiAbfHwhASAQIAGFQiCKIRAgCyAQfCELIAYgC4VCGIohBiABIAYgH3x8IQEgECABhUIQiiEQIAsgEHwhCyAGIAuFQj+KIQYgAiAHIBR8fCECIA0gAoVCIIohDSAMIA18IQwgByAMhUIYiiEHIAIgByAXfHwhAiANIAKFQhCKIQ0gDCANfCEMIAcgDIVCP4ohByADIAggGHx8IQMgDiADhUIgiiEOIAkgDnwhCSAIIAmFQhiKIQggAyAIIBJ8fCEDIA4gA4VCEIohDiAJIA58IQkgCCAJhUI/iiEIIAQgBSAafHwhBCAPIASFQiCKIQ8gCiAPfCEKIAUgCoVCGIohBSAEIAUgFXx8IQQgDyAEhUIQiiEPIAogD3whCiAFIAqFQj+KIQUgASAFIBh8fCEBIA0gAYVCIIohDSAJIA18IQkgBSAJhUIYiiEFIAEgBSAafHwhASANIAGFQhCKIQ0gCSANfCEJIAUgCYVCP4ohBSACIAYgFHx8IQIgDiAChUIgiiEOIAogDnwhCiAGIAqFQhiKIQYgAiAGIBJ8fCECIA4gAoVCEIohDiAKIA58IQogBiAKhUI/iiEGIAMgByAefHwhAyAPIAOFQiCKIQ8gCyAPfCELIAcgC4VCGIohByADIAcgHXx8IQMgDyADhUIQiiEPIAsgD3whCyAHIAuFQj+KIQcgBCAIIBx8fCEEIBAgBIVCIIohECAMIBB8IQwgCCAMhUIYiiEIIAQgCCAffHwhBCAQIASFQhCKIRAgDCAQfCEMIAggDIVCP4ohCCABIAYgE3x8IQEgECABhUIgiiEQIAsgEHwhCyAGIAuFQhiKIQYgASAGIBd8fCEBIBAgAYVCEIohECALIBB8IQsgBiALhUI/iiEGIAIgByAWfHwhAiANIAKFQiCKIQ0gDCANfCEMIAcgDIVCGIohByACIAcgG3x8IQIgDSAChUIQiiENIAwgDXwhDCAHIAyFQj+KIQcgAyAIIBV8fCEDIA4gA4VCIIohDiAJIA58IQkgCCAJhUIYiiEIIAMgCCARfHwhAyAOIAOFQhCKIQ4gCSAOfCEJIAggCYVCP4ohCCAEIAUgIHx8IQQgDyAEhUIgiiEPIAogD3whCiAFIAqFQhiKIQUgBCAFIBl8fCEEIA8gBIVCEIohDyAKIA98IQogBSAKhUI/iiEFIAEgBSAafHwhASANIAGFQiCKIQ0gCSANfCEJIAUgCYVCGIohBSABIAUgEXx8IQEgDSABhUIQiiENIAkgDXwhCSAFIAmFQj+KIQUgAiAGIBZ8fCECIA4gAoVCIIohDiAKIA58IQogBiAKhUIYiiEGIAIgBiAYfHwhAiAOIAKFQhCKIQ4gCiAOfCEKIAYgCoVCP4ohBiADIAcgE3x8IQMgDyADhUIgiiEPIAsgD3whCyAHIAuFQhiKIQcgAyAHIBV8fCEDIA8gA4VCEIohDyALIA98IQsgByALhUI/iiEHIAQgCCAbfHwhBCAQIASFQiCKIRAgDCAQfCEMIAggDIVCGIohCCAEIAggIHx8IQQgECAEhUIQiiEQIAwgEHwhDCAIIAyFQj+KIQggASAGIB98fCEBIBAgAYVCIIohECALIBB8IQsgBiALhUIYiiEGIAEgBiASfHwhASAQIAGFQhCKIRAgCyAQfCELIAYgC4VCP4ohBiACIAcgHHx8IQIgDSAChUIgiiENIAwgDXwhDCAHIAyFQhiKIQcgAiAHIB18fCECIA0gAoVCEIohDSAMIA18IQwgByAMhUI/iiEHIAMgCCAXfHwhAyAOIAOFQiCKIQ4gCSAOfCEJIAggCYVCGIohCCADIAggGXx8IQMgDiADhUIQiiEOIAkgDnwhCSAIIAmFQj+KIQggBCAFIBR8fCEEIA8gBIVCIIohDyAKIA98IQogBSAKhUIYiiEFIAQgBSAefHwhBCAPIASFQhCKIQ8gCiAPfCEKIAUgCoVCP4ohBSABIAUgE3x8IQEgDSABhUIgiiENIAkgDXwhCSAFIAmFQhiKIQUgASAFIB18fCEBIA0gAYVCEIohDSAJIA18IQkgBSAJhUI/iiEFIAIgBiAXfHwhAiAOIAKFQiCKIQ4gCiAOfCEKIAYgCoVCGIohBiACIAYgG3x8IQIgDiAChUIQiiEOIAogDnwhCiAGIAqFQj+KIQYgAyAHIBF8fCEDIA8gA4VCIIohDyALIA98IQsgByALhUIYiiEHIAMgByAcfHwhAyAPIAOFQhCKIQ8gCyAPfCELIAcgC4VCP4ohByAEIAggGXx8IQQgECAEhUIgiiEQIAwgEHwhDCAIIAyFQhiKIQggBCAIIBR8fCEEIBAgBIVCEIohECAMIBB8IQwgCCAMhUI/iiEIIAEgBiAVfHwhASAQIAGFQiCKIRAgCyAQfCELIAYgC4VCGIohBiABIAYgHnx8IQEgECABhUIQiiEQIAsgEHwhCyAGIAuFQj+KIQYgAiAHIBh8fCECIA0gAoVCIIohDSAMIA18IQwgByAMhUIYiiEHIAIgByAWfHwhAiANIAKFQhCKIQ0gDCANfCEMIAcgDIVCP4ohByADIAggIHx8IQMgDiADhUIgiiEOIAkgDnwhCSAIIAmFQhiKIQggAyAIIB98fCEDIA4gA4VCEIohDiAJIA58IQkgCCAJhUI/iiEIIAQgBSASfHwhBCAPIASFQiCKIQ8gCiAPfCEKIAUgCoVCGIohBSAEIAUgGnx8IQQgDyAEhUIQiiEPIAogD3whCiAFIAqFQj+KIQUgASAFIB18fCEBIA0gAYVCIIohDSAJIA18IQkgBSAJhUIYiiEFIAEgBSAWfHwhASANIAGFQhCKIQ0gCSANfCEJIAUgCYVCP4ohBSACIAYgEnx8IQIgDiAChUIgiiEOIAogDnwhCiAGIAqFQhiKIQYgAiAGICB8fCECIA4gAoVCEIohDiAKIA58IQogBiAKhUI/iiEGIAMgByAffHwhAyAPIAOFQiCKIQ8gCyAPfCELIAcgC4VCGIohByADIAcgHnx8IQMgDyADhUIQiiEPIAsgD3whCyAHIAuFQj+KIQcgBCAIIBV8fCEEIBAgBIVCIIohECAMIBB8IQwgCCAMhUIYiiEIIAQgCCAbfHwhBCAQIASFQhCKIRAgDCAQfCEMIAggDIVCP4ohCCABIAYgEXx8IQEgECABhUIgiiEQIAsgEHwhCyAGIAuFQhiKIQYgASAGIBh8fCEBIBAgAYVCEIohECALIBB8IQsgBiALhUI/iiEGIAIgByAXfHwhAiANIAKFQiCKIQ0gDCANfCEMIAcgDIVCGIohByACIAcgFHx8IQIgDSAChUIQiiENIAwgDXwhDCAHIAyFQj+KIQcgAyAIIBp8fCEDIA4gA4VCIIohDiAJIA58IQkgCCAJhUIYiiEIIAMgCCATfHwhAyAOIAOFQhCKIQ4gCSAOfCEJIAggCYVCP4ohCCAEIAUgGXx8IQQgDyAEhUIgiiEPIAogD3whCiAFIAqFQhiKIQUgBCAFIBx8fCEEIA8gBIVCEIohDyAKIA98IQogBSAKhUI/iiEFIAEgBSAefHwhASANIAGFQiCKIQ0gCSANfCEJIAUgCYVCGIohBSABIAUgHHx8IQEgDSABhUIQiiENIAkgDXwhCSAFIAmFQj+KIQUgAiAGIBh8fCECIA4gAoVCIIohDiAKIA58IQogBiAKhUIYiiEGIAIgBiAffHwhAiAOIAKFQhCKIQ4gCiAOfCEKIAYgCoVCP4ohBiADIAcgHXx8IQMgDyADhUIgiiEPIAsgD3whCyAHIAuFQhiKIQcgAyAHIBJ8fCEDIA8gA4VCEIohDyALIA98IQsgByALhUI/iiEHIAQgCCAUfHwhBCAQIASFQiCKIRAgDCAQfCEMIAggDIVCGIohCCAEIAggGnx8IQQgECAEhUIQiiEQIAwgEHwhDCAIIAyFQj+KIQggASAGIBZ8fCEBIBAgAYVCIIohECALIBB8IQsgBiALhUIYiiEGIAEgBiARfHwhASAQIAGFQhCKIRAgCyAQfCELIAYgC4VCP4ohBiACIAcgIHx8IQIgDSAChUIgiiENIAwgDXwhDCAHIAyFQhiKIQcgAiAHIBV8fCECIA0gAoVCEIohDSAMIA18IQwgByAMhUI/iiEHIAMgCCAZfHwhAyAOIAOFQiCKIQ4gCSAOfCEJIAggCYVCGIohCCADIAggF3x8IQMgDiADhUIQiiEOIAkgDnwhCSAIIAmFQj+KIQggBCAFIBN8fCEEIA8gBIVCIIohDyAKIA98IQogBSAKhUIYiiEFIAQgBSAbfHwhBCAPIASFQhCKIQ8gCiAPfCEKIAUgCoVCP4ohBSABIAUgF3x8IQEgDSABhUIgiiENIAkgDXwhCSAFIAmFQhiKIQUgASAFICB8fCEBIA0gAYVCEIohDSAJIA18IQkgBSAJhUI/iiEFIAIgBiAffHwhAiAOIAKFQiCKIQ4gCiAOfCEKIAYgCoVCGIohBiACIAYgGnx8IQIgDiAChUIQiiEOIAogDnwhCiAGIAqFQj+KIQYgAyAHIBx8fCEDIA8gA4VCIIohDyALIA98IQsgByALhUIYiiEHIAMgByAUfHwhAyAPIAOFQhCKIQ8gCyAPfCELIAcgC4VCP4ohByAEIAggEXx8IQQgECAEhUIgiiEQIAwgEHwhDCAIIAyFQhiKIQggBCAIIBl8fCEEIBAgBIVCEIohECAMIBB8IQwgCCAMhUI/iiEIIAEgBiAdfHwhASAQIAGFQiCKIRAgCyAQfCELIAYgC4VCGIohBiABIAYgE3x8IQEgECABhUIQiiEQIAsgEHwhCyAGIAuFQj+KIQYgAiAHIB58fCECIA0gAoVCIIohDSAMIA18IQwgByAMhUIYiiEHIAIgByAYfHwhAiANIAKFQhCKIQ0gDCANfCEMIAcgDIVCP4ohByADIAggEnx8IQMgDiADhUIgiiEOIAkgDnwhCSAIIAmFQhiKIQggAyAIIBV8fCEDIA4gA4VCEIohDiAJIA58IQkgCCAJhUI/iiEIIAQgBSAbfHwhBCAPIASFQiCKIQ8gCiAPfCEKIAUgCoVCGIohBSAEIAUgFnx8IQQgDyAEhUIQiiEPIAogD3whCiAFIAqFQj+KIQUgASAFIBt8fCEBIA0gAYVCIIohDSAJIA18IQkgBSAJhUIYiiEFIAEgBSATfHwhASANIAGFQhCKIQ0gCSANfCEJIAUgCYVCP4ohBSACIAYgGXx8IQIgDiAChUIgiiEOIAogDnwhCiAGIAqFQhiKIQYgAiAGIBV8fCECIA4gAoVCEIohDiAKIA58IQogBiAKhUI/iiEGIAMgByAYfHwhAyAPIAOFQiCKIQ8gCyAPfCELIAcgC4VCGIohByADIAcgF3x8IQMgDyADhUIQiiEPIAsgD3whCyAHIAuFQj+KIQcgBCAIIBJ8fCEEIBAgBIVCIIohECAMIBB8IQwgCCAMhUIYiiEIIAQgCCAWfHwhBCAQIASFQhCKIRAgDCAQfCEMIAggDIVCP4ohCCABIAYgIHx8IQEgECABhUIgiiEQIAsgEHwhCyAGIAuFQhiKIQYgASAGIBx8fCEBIBAgAYVCEIohECALIBB8IQsgBiALhUI/iiEGIAIgByAafHwhAiANIAKFQiCKIQ0gDCANfCEMIAcgDIVCGIohByACIAcgH3x8IQIgDSAChUIQiiENIAwgDXwhDCAHIAyFQj+KIQcgAyAIIBR8fCEDIA4gA4VCIIohDiAJIA58IQkgCCAJhUIYiiEIIAMgCCAdfHwhAyAOIAOFQhCKIQ4gCSAOfCEJIAggCYVCP4ohCCAEIAUgHnx8IQQgDyAEhUIgiiEPIAogD3whCiAFIAqFQhiKIQUgBCAFIBF8fCEEIA8gBIVCEIohDyAKIA98IQogBSAKhUI/iiEFIAEgBSARfHwhASANIAGFQiCKIQ0gCSANfCEJIAUgCYVCGIohBSABIAUgEnx8IQEgDSABhUIQiiENIAkgDXwhCSAFIAmFQj+KIQUgAiAGIBN8fCECIA4gAoVCIIohDiAKIA58IQogBiAKhUIYiiEGIAIgBiAUfHwhAiAOIAKFQhCKIQ4gCiAOfCEKIAYgCoVCP4ohBiADIAcgFXx8IQMgDyADhUIgiiEPIAsgD3whCyAHIAuFQhiKIQcgAyAHIBZ8fCEDIA8gA4VCEIohDyALIA98IQsgByALhUI/iiEHIAQgCCAXfHwhBCAQIASFQiCKIRAgDCAQfCEMIAggDIVCGIohCCAEIAggGHx8IQQgECAEhUIQiiEQIAwgEHwhDCAIIAyFQj+KIQggASAGIBl8fCEBIBAgAYVCIIohECALIBB8IQsgBiALhUIYiiEGIAEgBiAafHwhASAQIAGFQhCKIRAgCyAQfCELIAYgC4VCP4ohBiACIAcgG3x8IQIgDSAChUIgiiENIAwgDXwhDCAHIAyFQhiKIQcgAiAHIBx8fCECIA0gAoVCEIohDSAMIA18IQwgByAMhUI/iiEHIAMgCCAdfHwhAyAOIAOFQiCKIQ4gCSAOfCEJIAggCYVCGIohCCADIAggHnx8IQMgDiADhUIQiiEOIAkgDnwhCSAIIAmFQj+KIQggBCAFIB98fCEEIA8gBIVCIIohDyAKIA98IQogBSAKhUIYiiEFIAQgBSAgfHwhBCAPIASFQhCKIQ8gCiAPfCEKIAUgCoVCP4ohBSABIAUgH3x8IQEgDSABhUIgiiENIAkgDXwhCSAFIAmFQhiKIQUgASAFIBt8fCEBIA0gAYVCEIohDSAJIA18IQkgBSAJhUI/iiEFIAIgBiAVfHwhAiAOIAKFQiCKIQ4gCiAOfCEKIAYgCoVCGIohBiACIAYgGXx8IQIgDiAChUIQiiEOIAogDnwhCiAGIAqFQj+KIQYgAyAHIBp8fCEDIA8gA4VCIIohDyALIA98IQsgByALhUIYiiEHIAMgByAgfHwhAyAPIAOFQhCKIQ8gCyAPfCELIAcgC4VCP4ohByAEIAggHnx8IQQgECAEhUIgiiEQIAwgEHwhDCAIIAyFQhiKIQggBCAIIBd8fCEEIBAgBIVCEIohECAMIBB8IQwgCCAMhUI/iiEIIAEgBiASfHwhASAQIAGFQiCKIRAgCyAQfCELIAYgC4VCGIohBiABIAYgHXx8IQEgECABhUIQiiEQIAsgEHwhCyAGIAuFQj+KIQYgAiAHIBF8fCECIA0gAoVCIIohDSAMIA18IQwgByAMhUIYiiEHIAIgByATfHwhAiANIAKFQhCKIQ0gDCANfCEMIAcgDIVCP4ohByADIAggHHx8IQMgDiADhUIgiiEOIAkgDnwhCSAIIAmFQhiKIQggAyAIIBh8fCEDIA4gA4VCEIohDiAJIA58IQkgCCAJhUI/iiEIIAQgBSAWfHwhBCAPIASFQiCKIQ8gCiAPfCEKIAUgCoVCGIohBSAEIAUgFHx8IQQgDyAEhUIQiiEPIAogD3whCiAFIAqFQj+KIQUgISAhKQMAIAEgCYWFNwMAICIgIikDACACIAqFhTcDACAjICMpAwAgAyALhYU3AwAgJCAkKQMAIAQgDIWFNwMAICUgJSkDACAFIA2FhTcDACAmICYpAwAgBiAOhYU3AwAgJyAnKQMAIAcgD4WFNwMAICggKCkDACAIIBCFhTcDAAs=")}},function(){return c||(0,a[Object.keys(a)[0]])((c={exports:{}}).exports,c),c.exports})(),b=WebAssembly.compile(f);e.exports=async e=>(await WebAssembly.instantiate(await b,e)).exports},67060:(e,a,c)=>{var d=c(29204),f=c(10130),b=null,t="undefined"!=typeof WebAssembly&&c(66053)().then((e=>{b=e})),r=64,n=[];e.exports=h;var i=e.exports.BYTES_MIN=16,o=e.exports.BYTES_MAX=64,s=(e.exports.BYTES=32,e.exports.KEYBYTES_MIN=16),l=e.exports.KEYBYTES_MAX=64,x=(e.exports.KEYBYTES=32,e.exports.SALTBYTES=16),u=e.exports.PERSONALBYTES=16;function h(e,a,c,f,t){if(!(this instanceof h))return new h(e,a,c,f,t);if(!b)throw new Error("WASM not loaded. Wait for Blake2b.ready(cb)");e||(e=32),!0!==t&&(d(e>=i,"digestLength must be at least "+i+", was given "+e),d(e<=o,"digestLength must be at most "+o+", was given "+e),null!=a&&(d(a instanceof Uint8Array,"key must be Uint8Array or Buffer"),d(a.length>=s,"key must be at least "+s+", was given "+a.length),d(a.length<=l,"key must be at least "+l+", was given "+a.length)),null!=c&&(d(c instanceof Uint8Array,"salt must be Uint8Array or Buffer"),d(c.length===x,"salt must be exactly "+x+", was given "+c.length)),null!=f&&(d(f instanceof Uint8Array,"personal must be Uint8Array or Buffer"),d(f.length===u,"personal must be exactly "+u+", was given "+f.length))),n.length||(n.push(r),r+=216),this.digestLength=e,this.finalized=!1,this.pointer=n.pop(),this._memory=new Uint8Array(b.memory.buffer),this._memory.fill(0,0,64),this._memory[0]=this.digestLength,this._memory[1]=a?a.length:0,this._memory[2]=1,this._memory[3]=1,c&&this._memory.set(c,32),f&&this._memory.set(f,48),this.pointer+216>this._memory.length&&this._realloc(this.pointer+216),b.blake2b_init(this.pointer,this.digestLength),a&&(this.update(a),this._memory.fill(0,r,r+a.length),this._memory[this.pointer+200]=128)}function p(){}h.prototype._realloc=function(e){b.memory.grow(Math.max(0,Math.ceil(Math.abs(e-this._memory.length)/65536))),this._memory=new Uint8Array(b.memory.buffer)},h.prototype.update=function(e){return d(!1===this.finalized,"Hash instance finalized"),d(e instanceof Uint8Array,"input must be Uint8Array or Buffer"),r+e.length>this._memory.length&&this._realloc(r+e.length),this._memory.set(e,r),b.blake2b_update(this.pointer,r,r+e.length),this},h.prototype.digest=function(e){if(d(!1===this.finalized,"Hash instance finalized"),this.finalized=!0,n.push(this.pointer),b.blake2b_final(this.pointer),!e||"binary"===e)return this._memory.slice(this.pointer+128,this.pointer+128+this.digestLength);if("string"==typeof e)return f.toString(this._memory,e,this.pointer+128,this.pointer+128+this.digestLength);d(e instanceof Uint8Array&&e.length>=this.digestLength,"input must be Uint8Array or Buffer");for(var a=0;ae()),e):e(new Error("WebAssembly not supported"))},h.prototype.ready=h.ready,h.prototype.getPartialHash=function(){return this._memory.slice(this.pointer,this.pointer+216)},h.prototype.setPartialHash=function(e){this._memory.set(e,this.pointer)}},17462:(e,a,c)=>{var d=c(29204),f=c(67060);function b(e,a,c){var d=e[a]+e[c],f=e[a+1]+e[c+1];d>=4294967296&&f++,e[a]=d,e[a+1]=f}function t(e,a,c,d){var f=e[a]+c;c<0&&(f+=4294967296);var b=e[a+1]+d;f>=4294967296&&b++,e[a]=f,e[a+1]=b}function r(e,a){return e[a]^e[a+1]<<8^e[a+2]<<16^e[a+3]<<24}function n(e,a,c,d,f,r){var n=l[f],i=l[f+1],o=l[r],x=l[r+1];b(s,e,a),t(s,e,n,i);var u=s[d]^s[e],h=s[d+1]^s[e+1];s[d]=h,s[d+1]=u,b(s,c,d),u=s[a]^s[c],h=s[a+1]^s[c+1],s[a]=u>>>24^h<<8,s[a+1]=h>>>24^u<<8,b(s,e,a),t(s,e,o,x),u=s[d]^s[e],h=s[d+1]^s[e+1],s[d]=u>>>16^h<<16,s[d+1]=h>>>16^u<<16,b(s,c,d),u=s[a]^s[c],h=s[a+1]^s[c+1],s[a]=h>>>31^u<<1,s[a+1]=u>>>31^h<<1}var i=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),o=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3].map((function(e){return 2*e}))),s=new Uint32Array(32),l=new Uint32Array(32);function x(e,a){var c=0;for(c=0;c<16;c++)s[c]=e.h[c],s[c+16]=i[c];for(s[24]=s[24]^e.t,s[25]=s[25]^e.t/4294967296,a&&(s[28]=~s[28],s[29]=~s[29]),c=0;c<32;c++)l[c]=r(e.b,4*c);for(c=0;c<12;c++)n(0,8,16,24,o[16*c+0],o[16*c+1]),n(2,10,18,26,o[16*c+2],o[16*c+3]),n(4,12,20,28,o[16*c+4],o[16*c+5]),n(6,14,22,30,o[16*c+6],o[16*c+7]),n(0,10,20,30,o[16*c+8],o[16*c+9]),n(2,12,22,24,o[16*c+10],o[16*c+11]),n(4,14,16,26,o[16*c+12],o[16*c+13]),n(6,8,18,28,o[16*c+14],o[16*c+15]);for(c=0;c<16;c++)e.h[c]=e.h[c]^s[c]^s[c+16]}var u=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function h(e,a,c,d){u.fill(0),this.b=new Uint8Array(128),this.h=new Uint32Array(16),this.t=0,this.c=0,this.outlen=e,u[0]=e,a&&(u[1]=a.length),u[2]=1,u[3]=1,c&&u.set(c,32),d&&u.set(d,48);for(var f=0;f<16;f++)this.h[f]=i[f]^r(u,4*f);a&&(p(this,a),this.c=128)}function p(e,a){for(var c=0;c=this.outlen,"out must have at least outlen bytes of space"),function(e,a){e.t+=e.c;for(;e.c<128;)e.b[e.c++]=0;x(e,!0);for(var c=0;c>2]>>8*(3&c)}(this,a),"hex"===e?function(e){for(var a="",c=0;c=y,"outlen must be at least "+y+", was given "+e),d(e<=v,"outlen must be at most "+v+", was given "+e),null!=a&&(d(a instanceof Uint8Array,"key must be Uint8Array or Buffer"),d(a.length>=_,"key must be at least "+_+", was given "+a.length),d(a.length<=w,"key must be at most "+w+", was given "+a.length)),null!=c&&(d(c instanceof Uint8Array,"salt must be Uint8Array or Buffer"),d(c.length===S,"salt must be exactly "+S+", was given "+c.length)),null!=f&&(d(f instanceof Uint8Array,"personal must be Uint8Array or Buffer"),d(f.length===E,"personal must be exactly "+E+", was given "+f.length))),new g(e,a,c,f)},e.exports.ready=function(e){f.ready((function(){e()}))},e.exports.WASM_SUPPORTED=f.SUPPORTED,e.exports.WASM_LOADED=!1;var y=e.exports.BYTES_MIN=16,v=e.exports.BYTES_MAX=64,_=(e.exports.BYTES=32,e.exports.KEYBYTES_MIN=16),w=e.exports.KEYBYTES_MAX=64,S=(e.exports.KEYBYTES=32,e.exports.SALTBYTES=16),E=e.exports.PERSONALBYTES=16;f.ready((function(a){a||(e.exports.WASM_LOADED=!0,e.exports=f)}))},13550:function(e,a,c){!function(e,a){"use strict";function d(e,a){if(!e)throw new Error(a||"Assertion failed")}function f(e,a){e.super_=a;var c=function(){};c.prototype=a.prototype,e.prototype=new c,e.prototype.constructor=e}function b(e,a,c){if(b.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==a&&"be"!==a||(c=a,a=10),this._init(e||0,a||10,c||"be"))}var t;"object"==typeof e?e.exports=b:a.BN=b,b.BN=b,b.wordSize=26;try{t="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:c(46601).Buffer}catch(C){}function r(e,a){var c=e.charCodeAt(a);return c>=48&&c<=57?c-48:c>=65&&c<=70?c-55:c>=97&&c<=102?c-87:void d(!1,"Invalid character in "+e)}function n(e,a,c){var d=r(e,c);return c-1>=a&&(d|=r(e,c-1)<<4),d}function i(e,a,c,f){for(var b=0,t=0,r=Math.min(e.length,c),n=a;n=49?i-49+10:i>=17?i-17+10:i,d(i>=0&&t0?e:a},b.min=function(e,a){return e.cmp(a)<0?e:a},b.prototype._init=function(e,a,c){if("number"==typeof e)return this._initNumber(e,a,c);if("object"==typeof e)return this._initArray(e,a,c);"hex"===a&&(a=16),d(a===(0|a)&&a>=2&&a<=36);var f=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(f++,this.negative=1),f=0;f-=3)t=e[f]|e[f-1]<<8|e[f-2]<<16,this.words[b]|=t<>>26-r&67108863,(r+=24)>=26&&(r-=26,b++);else if("le"===c)for(f=0,b=0;f>>26-r&67108863,(r+=24)>=26&&(r-=26,b++);return this._strip()},b.prototype._parseHex=function(e,a,c){this.length=Math.ceil((e.length-a)/6),this.words=new Array(this.length);for(var d=0;d=a;d-=2)f=n(e,a,d)<=18?(b-=18,t+=1,this.words[t]|=f>>>26):b+=8;else for(d=(e.length-a)%2==0?a+1:a;d=18?(b-=18,t+=1,this.words[t]|=f>>>26):b+=8;this._strip()},b.prototype._parseBase=function(e,a,c){this.words=[0],this.length=1;for(var d=0,f=1;f<=67108863;f*=a)d++;d--,f=f/a|0;for(var b=e.length-c,t=b%d,r=Math.min(b,b-t)+c,n=0,o=c;o1&&0===this.words[this.length-1];)this.length--;return this._normSign()},b.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{b.prototype[Symbol.for("nodejs.util.inspect.custom")]=s}catch(C){b.prototype.inspect=s}else b.prototype.inspect=s;function s(){return(this.red?""}var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],x=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],u=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];b.prototype.toString=function(e,a){var c;if(a=0|a||1,16===(e=e||10)||"hex"===e){c="";for(var f=0,b=0,t=0;t>>24-f&16777215,(f+=2)>=26&&(f-=26,t--),c=0!==b||t!==this.length-1?l[6-n.length]+n+c:n+c}for(0!==b&&(c=b.toString(16)+c);c.length%a!=0;)c="0"+c;return 0!==this.negative&&(c="-"+c),c}if(e===(0|e)&&e>=2&&e<=36){var i=x[e],o=u[e];c="";var s=this.clone();for(s.negative=0;!s.isZero();){var h=s.modrn(o).toString(e);c=(s=s.idivn(o)).isZero()?h+c:l[i-h.length]+h+c}for(this.isZero()&&(c="0"+c);c.length%a!=0;)c="0"+c;return 0!==this.negative&&(c="-"+c),c}d(!1,"Base should be between 2 and 36")},b.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&d(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},b.prototype.toJSON=function(){return this.toString(16,2)},t&&(b.prototype.toBuffer=function(e,a){return this.toArrayLike(t,e,a)}),b.prototype.toArray=function(e,a){return this.toArrayLike(Array,e,a)};function h(e,a,c){c.negative=a.negative^e.negative;var d=e.length+a.length|0;c.length=d,d=d-1|0;var f=0|e.words[0],b=0|a.words[0],t=f*b,r=67108863&t,n=t/67108864|0;c.words[0]=r;for(var i=1;i>>26,s=67108863&n,l=Math.min(i,a.length-1),x=Math.max(0,i-e.length+1);x<=l;x++){var u=i-x|0;o+=(t=(f=0|e.words[u])*(b=0|a.words[x])+s)/67108864|0,s=67108863&t}c.words[i]=0|s,n=0|o}return 0!==n?c.words[i]=0|n:c.length--,c._strip()}b.prototype.toArrayLike=function(e,a,c){this._strip();var f=this.byteLength(),b=c||Math.max(1,f);d(f<=b,"byte array longer than desired length"),d(b>0,"Requested array length <= 0");var t=function(e,a){return e.allocUnsafe?e.allocUnsafe(a):new e(a)}(e,b);return this["_toArrayLike"+("le"===a?"LE":"BE")](t,f),t},b.prototype._toArrayLikeLE=function(e,a){for(var c=0,d=0,f=0,b=0;f>8&255),c>16&255),6===b?(c>24&255),d=0,b=0):(d=t>>>24,b+=2)}if(c=0&&(e[c--]=t>>8&255),c>=0&&(e[c--]=t>>16&255),6===b?(c>=0&&(e[c--]=t>>24&255),d=0,b=0):(d=t>>>24,b+=2)}if(c>=0)for(e[c--]=d;c>=0;)e[c--]=0},Math.clz32?b.prototype._countBits=function(e){return 32-Math.clz32(e)}:b.prototype._countBits=function(e){var a=e,c=0;return a>=4096&&(c+=13,a>>>=13),a>=64&&(c+=7,a>>>=7),a>=8&&(c+=4,a>>>=4),a>=2&&(c+=2,a>>>=2),c+a},b.prototype._zeroBits=function(e){if(0===e)return 26;var a=e,c=0;return 0==(8191&a)&&(c+=13,a>>>=13),0==(127&a)&&(c+=7,a>>>=7),0==(15&a)&&(c+=4,a>>>=4),0==(3&a)&&(c+=2,a>>>=2),0==(1&a)&&c++,c},b.prototype.bitLength=function(){var e=this.words[this.length-1],a=this._countBits(e);return 26*(this.length-1)+a},b.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,a=0;ae.length?this.clone().ior(e):e.clone().ior(this)},b.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},b.prototype.iuand=function(e){var a;a=this.length>e.length?e:this;for(var c=0;ce.length?this.clone().iand(e):e.clone().iand(this)},b.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},b.prototype.iuxor=function(e){var a,c;this.length>e.length?(a=this,c=e):(a=e,c=this);for(var d=0;de.length?this.clone().ixor(e):e.clone().ixor(this)},b.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},b.prototype.inotn=function(e){d("number"==typeof e&&e>=0);var a=0|Math.ceil(e/26),c=e%26;this._expand(a),c>0&&a--;for(var f=0;f0&&(this.words[f]=~this.words[f]&67108863>>26-c),this._strip()},b.prototype.notn=function(e){return this.clone().inotn(e)},b.prototype.setn=function(e,a){d("number"==typeof e&&e>=0);var c=e/26|0,f=e%26;return this._expand(c+1),this.words[c]=a?this.words[c]|1<e.length?(c=this,d=e):(c=e,d=this);for(var f=0,b=0;b>>26;for(;0!==f&&b>>26;if(this.length=c.length,0!==f)this.words[this.length]=f,this.length++;else if(c!==this)for(;be.length?this.clone().iadd(e):e.clone().iadd(this)},b.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var a=this.iadd(e);return e.negative=1,a._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var c,d,f=this.cmp(e);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(c=this,d=e):(c=e,d=this);for(var b=0,t=0;t>26,this.words[t]=67108863&a;for(;0!==b&&t>26,this.words[t]=67108863&a;if(0===b&&t>>13,x=0|t[1],u=8191&x,h=x>>>13,p=0|t[2],m=8191&p,g=p>>>13,y=0|t[3],v=8191&y,_=y>>>13,w=0|t[4],S=8191&w,E=w>>>13,A=0|t[5],k=8191&A,I=A>>>13,C=0|t[6],L=8191&C,T=C>>>13,P=0|t[7],R=8191&P,M=P>>>13,B=0|t[8],O=8191&B,N=B>>>13,F=0|t[9],D=8191&F,U=F>>>13,j=0|r[0],z=8191&j,q=j>>>13,K=0|r[1],V=8191&K,$=K>>>13,H=0|r[2],G=8191&H,W=H>>>13,Z=0|r[3],Q=8191&Z,Y=Z>>>13,J=0|r[4],X=8191&J,ee=J>>>13,ae=0|r[5],ce=8191&ae,de=ae>>>13,fe=0|r[6],be=8191&fe,te=fe>>>13,re=0|r[7],ne=8191&re,ie=re>>>13,oe=0|r[8],se=8191&oe,le=oe>>>13,xe=0|r[9],ue=8191&xe,he=xe>>>13;c.negative=e.negative^a.negative,c.length=19;var pe=(i+(d=Math.imul(s,z))|0)+((8191&(f=(f=Math.imul(s,q))+Math.imul(l,z)|0))<<13)|0;i=((b=Math.imul(l,q))+(f>>>13)|0)+(pe>>>26)|0,pe&=67108863,d=Math.imul(u,z),f=(f=Math.imul(u,q))+Math.imul(h,z)|0,b=Math.imul(h,q);var me=(i+(d=d+Math.imul(s,V)|0)|0)+((8191&(f=(f=f+Math.imul(s,$)|0)+Math.imul(l,V)|0))<<13)|0;i=((b=b+Math.imul(l,$)|0)+(f>>>13)|0)+(me>>>26)|0,me&=67108863,d=Math.imul(m,z),f=(f=Math.imul(m,q))+Math.imul(g,z)|0,b=Math.imul(g,q),d=d+Math.imul(u,V)|0,f=(f=f+Math.imul(u,$)|0)+Math.imul(h,V)|0,b=b+Math.imul(h,$)|0;var ge=(i+(d=d+Math.imul(s,G)|0)|0)+((8191&(f=(f=f+Math.imul(s,W)|0)+Math.imul(l,G)|0))<<13)|0;i=((b=b+Math.imul(l,W)|0)+(f>>>13)|0)+(ge>>>26)|0,ge&=67108863,d=Math.imul(v,z),f=(f=Math.imul(v,q))+Math.imul(_,z)|0,b=Math.imul(_,q),d=d+Math.imul(m,V)|0,f=(f=f+Math.imul(m,$)|0)+Math.imul(g,V)|0,b=b+Math.imul(g,$)|0,d=d+Math.imul(u,G)|0,f=(f=f+Math.imul(u,W)|0)+Math.imul(h,G)|0,b=b+Math.imul(h,W)|0;var ye=(i+(d=d+Math.imul(s,Q)|0)|0)+((8191&(f=(f=f+Math.imul(s,Y)|0)+Math.imul(l,Q)|0))<<13)|0;i=((b=b+Math.imul(l,Y)|0)+(f>>>13)|0)+(ye>>>26)|0,ye&=67108863,d=Math.imul(S,z),f=(f=Math.imul(S,q))+Math.imul(E,z)|0,b=Math.imul(E,q),d=d+Math.imul(v,V)|0,f=(f=f+Math.imul(v,$)|0)+Math.imul(_,V)|0,b=b+Math.imul(_,$)|0,d=d+Math.imul(m,G)|0,f=(f=f+Math.imul(m,W)|0)+Math.imul(g,G)|0,b=b+Math.imul(g,W)|0,d=d+Math.imul(u,Q)|0,f=(f=f+Math.imul(u,Y)|0)+Math.imul(h,Q)|0,b=b+Math.imul(h,Y)|0;var ve=(i+(d=d+Math.imul(s,X)|0)|0)+((8191&(f=(f=f+Math.imul(s,ee)|0)+Math.imul(l,X)|0))<<13)|0;i=((b=b+Math.imul(l,ee)|0)+(f>>>13)|0)+(ve>>>26)|0,ve&=67108863,d=Math.imul(k,z),f=(f=Math.imul(k,q))+Math.imul(I,z)|0,b=Math.imul(I,q),d=d+Math.imul(S,V)|0,f=(f=f+Math.imul(S,$)|0)+Math.imul(E,V)|0,b=b+Math.imul(E,$)|0,d=d+Math.imul(v,G)|0,f=(f=f+Math.imul(v,W)|0)+Math.imul(_,G)|0,b=b+Math.imul(_,W)|0,d=d+Math.imul(m,Q)|0,f=(f=f+Math.imul(m,Y)|0)+Math.imul(g,Q)|0,b=b+Math.imul(g,Y)|0,d=d+Math.imul(u,X)|0,f=(f=f+Math.imul(u,ee)|0)+Math.imul(h,X)|0,b=b+Math.imul(h,ee)|0;var _e=(i+(d=d+Math.imul(s,ce)|0)|0)+((8191&(f=(f=f+Math.imul(s,de)|0)+Math.imul(l,ce)|0))<<13)|0;i=((b=b+Math.imul(l,de)|0)+(f>>>13)|0)+(_e>>>26)|0,_e&=67108863,d=Math.imul(L,z),f=(f=Math.imul(L,q))+Math.imul(T,z)|0,b=Math.imul(T,q),d=d+Math.imul(k,V)|0,f=(f=f+Math.imul(k,$)|0)+Math.imul(I,V)|0,b=b+Math.imul(I,$)|0,d=d+Math.imul(S,G)|0,f=(f=f+Math.imul(S,W)|0)+Math.imul(E,G)|0,b=b+Math.imul(E,W)|0,d=d+Math.imul(v,Q)|0,f=(f=f+Math.imul(v,Y)|0)+Math.imul(_,Q)|0,b=b+Math.imul(_,Y)|0,d=d+Math.imul(m,X)|0,f=(f=f+Math.imul(m,ee)|0)+Math.imul(g,X)|0,b=b+Math.imul(g,ee)|0,d=d+Math.imul(u,ce)|0,f=(f=f+Math.imul(u,de)|0)+Math.imul(h,ce)|0,b=b+Math.imul(h,de)|0;var we=(i+(d=d+Math.imul(s,be)|0)|0)+((8191&(f=(f=f+Math.imul(s,te)|0)+Math.imul(l,be)|0))<<13)|0;i=((b=b+Math.imul(l,te)|0)+(f>>>13)|0)+(we>>>26)|0,we&=67108863,d=Math.imul(R,z),f=(f=Math.imul(R,q))+Math.imul(M,z)|0,b=Math.imul(M,q),d=d+Math.imul(L,V)|0,f=(f=f+Math.imul(L,$)|0)+Math.imul(T,V)|0,b=b+Math.imul(T,$)|0,d=d+Math.imul(k,G)|0,f=(f=f+Math.imul(k,W)|0)+Math.imul(I,G)|0,b=b+Math.imul(I,W)|0,d=d+Math.imul(S,Q)|0,f=(f=f+Math.imul(S,Y)|0)+Math.imul(E,Q)|0,b=b+Math.imul(E,Y)|0,d=d+Math.imul(v,X)|0,f=(f=f+Math.imul(v,ee)|0)+Math.imul(_,X)|0,b=b+Math.imul(_,ee)|0,d=d+Math.imul(m,ce)|0,f=(f=f+Math.imul(m,de)|0)+Math.imul(g,ce)|0,b=b+Math.imul(g,de)|0,d=d+Math.imul(u,be)|0,f=(f=f+Math.imul(u,te)|0)+Math.imul(h,be)|0,b=b+Math.imul(h,te)|0;var Se=(i+(d=d+Math.imul(s,ne)|0)|0)+((8191&(f=(f=f+Math.imul(s,ie)|0)+Math.imul(l,ne)|0))<<13)|0;i=((b=b+Math.imul(l,ie)|0)+(f>>>13)|0)+(Se>>>26)|0,Se&=67108863,d=Math.imul(O,z),f=(f=Math.imul(O,q))+Math.imul(N,z)|0,b=Math.imul(N,q),d=d+Math.imul(R,V)|0,f=(f=f+Math.imul(R,$)|0)+Math.imul(M,V)|0,b=b+Math.imul(M,$)|0,d=d+Math.imul(L,G)|0,f=(f=f+Math.imul(L,W)|0)+Math.imul(T,G)|0,b=b+Math.imul(T,W)|0,d=d+Math.imul(k,Q)|0,f=(f=f+Math.imul(k,Y)|0)+Math.imul(I,Q)|0,b=b+Math.imul(I,Y)|0,d=d+Math.imul(S,X)|0,f=(f=f+Math.imul(S,ee)|0)+Math.imul(E,X)|0,b=b+Math.imul(E,ee)|0,d=d+Math.imul(v,ce)|0,f=(f=f+Math.imul(v,de)|0)+Math.imul(_,ce)|0,b=b+Math.imul(_,de)|0,d=d+Math.imul(m,be)|0,f=(f=f+Math.imul(m,te)|0)+Math.imul(g,be)|0,b=b+Math.imul(g,te)|0,d=d+Math.imul(u,ne)|0,f=(f=f+Math.imul(u,ie)|0)+Math.imul(h,ne)|0,b=b+Math.imul(h,ie)|0;var Ee=(i+(d=d+Math.imul(s,se)|0)|0)+((8191&(f=(f=f+Math.imul(s,le)|0)+Math.imul(l,se)|0))<<13)|0;i=((b=b+Math.imul(l,le)|0)+(f>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,d=Math.imul(D,z),f=(f=Math.imul(D,q))+Math.imul(U,z)|0,b=Math.imul(U,q),d=d+Math.imul(O,V)|0,f=(f=f+Math.imul(O,$)|0)+Math.imul(N,V)|0,b=b+Math.imul(N,$)|0,d=d+Math.imul(R,G)|0,f=(f=f+Math.imul(R,W)|0)+Math.imul(M,G)|0,b=b+Math.imul(M,W)|0,d=d+Math.imul(L,Q)|0,f=(f=f+Math.imul(L,Y)|0)+Math.imul(T,Q)|0,b=b+Math.imul(T,Y)|0,d=d+Math.imul(k,X)|0,f=(f=f+Math.imul(k,ee)|0)+Math.imul(I,X)|0,b=b+Math.imul(I,ee)|0,d=d+Math.imul(S,ce)|0,f=(f=f+Math.imul(S,de)|0)+Math.imul(E,ce)|0,b=b+Math.imul(E,de)|0,d=d+Math.imul(v,be)|0,f=(f=f+Math.imul(v,te)|0)+Math.imul(_,be)|0,b=b+Math.imul(_,te)|0,d=d+Math.imul(m,ne)|0,f=(f=f+Math.imul(m,ie)|0)+Math.imul(g,ne)|0,b=b+Math.imul(g,ie)|0,d=d+Math.imul(u,se)|0,f=(f=f+Math.imul(u,le)|0)+Math.imul(h,se)|0,b=b+Math.imul(h,le)|0;var Ae=(i+(d=d+Math.imul(s,ue)|0)|0)+((8191&(f=(f=f+Math.imul(s,he)|0)+Math.imul(l,ue)|0))<<13)|0;i=((b=b+Math.imul(l,he)|0)+(f>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,d=Math.imul(D,V),f=(f=Math.imul(D,$))+Math.imul(U,V)|0,b=Math.imul(U,$),d=d+Math.imul(O,G)|0,f=(f=f+Math.imul(O,W)|0)+Math.imul(N,G)|0,b=b+Math.imul(N,W)|0,d=d+Math.imul(R,Q)|0,f=(f=f+Math.imul(R,Y)|0)+Math.imul(M,Q)|0,b=b+Math.imul(M,Y)|0,d=d+Math.imul(L,X)|0,f=(f=f+Math.imul(L,ee)|0)+Math.imul(T,X)|0,b=b+Math.imul(T,ee)|0,d=d+Math.imul(k,ce)|0,f=(f=f+Math.imul(k,de)|0)+Math.imul(I,ce)|0,b=b+Math.imul(I,de)|0,d=d+Math.imul(S,be)|0,f=(f=f+Math.imul(S,te)|0)+Math.imul(E,be)|0,b=b+Math.imul(E,te)|0,d=d+Math.imul(v,ne)|0,f=(f=f+Math.imul(v,ie)|0)+Math.imul(_,ne)|0,b=b+Math.imul(_,ie)|0,d=d+Math.imul(m,se)|0,f=(f=f+Math.imul(m,le)|0)+Math.imul(g,se)|0,b=b+Math.imul(g,le)|0;var ke=(i+(d=d+Math.imul(u,ue)|0)|0)+((8191&(f=(f=f+Math.imul(u,he)|0)+Math.imul(h,ue)|0))<<13)|0;i=((b=b+Math.imul(h,he)|0)+(f>>>13)|0)+(ke>>>26)|0,ke&=67108863,d=Math.imul(D,G),f=(f=Math.imul(D,W))+Math.imul(U,G)|0,b=Math.imul(U,W),d=d+Math.imul(O,Q)|0,f=(f=f+Math.imul(O,Y)|0)+Math.imul(N,Q)|0,b=b+Math.imul(N,Y)|0,d=d+Math.imul(R,X)|0,f=(f=f+Math.imul(R,ee)|0)+Math.imul(M,X)|0,b=b+Math.imul(M,ee)|0,d=d+Math.imul(L,ce)|0,f=(f=f+Math.imul(L,de)|0)+Math.imul(T,ce)|0,b=b+Math.imul(T,de)|0,d=d+Math.imul(k,be)|0,f=(f=f+Math.imul(k,te)|0)+Math.imul(I,be)|0,b=b+Math.imul(I,te)|0,d=d+Math.imul(S,ne)|0,f=(f=f+Math.imul(S,ie)|0)+Math.imul(E,ne)|0,b=b+Math.imul(E,ie)|0,d=d+Math.imul(v,se)|0,f=(f=f+Math.imul(v,le)|0)+Math.imul(_,se)|0,b=b+Math.imul(_,le)|0;var Ie=(i+(d=d+Math.imul(m,ue)|0)|0)+((8191&(f=(f=f+Math.imul(m,he)|0)+Math.imul(g,ue)|0))<<13)|0;i=((b=b+Math.imul(g,he)|0)+(f>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,d=Math.imul(D,Q),f=(f=Math.imul(D,Y))+Math.imul(U,Q)|0,b=Math.imul(U,Y),d=d+Math.imul(O,X)|0,f=(f=f+Math.imul(O,ee)|0)+Math.imul(N,X)|0,b=b+Math.imul(N,ee)|0,d=d+Math.imul(R,ce)|0,f=(f=f+Math.imul(R,de)|0)+Math.imul(M,ce)|0,b=b+Math.imul(M,de)|0,d=d+Math.imul(L,be)|0,f=(f=f+Math.imul(L,te)|0)+Math.imul(T,be)|0,b=b+Math.imul(T,te)|0,d=d+Math.imul(k,ne)|0,f=(f=f+Math.imul(k,ie)|0)+Math.imul(I,ne)|0,b=b+Math.imul(I,ie)|0,d=d+Math.imul(S,se)|0,f=(f=f+Math.imul(S,le)|0)+Math.imul(E,se)|0,b=b+Math.imul(E,le)|0;var Ce=(i+(d=d+Math.imul(v,ue)|0)|0)+((8191&(f=(f=f+Math.imul(v,he)|0)+Math.imul(_,ue)|0))<<13)|0;i=((b=b+Math.imul(_,he)|0)+(f>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,d=Math.imul(D,X),f=(f=Math.imul(D,ee))+Math.imul(U,X)|0,b=Math.imul(U,ee),d=d+Math.imul(O,ce)|0,f=(f=f+Math.imul(O,de)|0)+Math.imul(N,ce)|0,b=b+Math.imul(N,de)|0,d=d+Math.imul(R,be)|0,f=(f=f+Math.imul(R,te)|0)+Math.imul(M,be)|0,b=b+Math.imul(M,te)|0,d=d+Math.imul(L,ne)|0,f=(f=f+Math.imul(L,ie)|0)+Math.imul(T,ne)|0,b=b+Math.imul(T,ie)|0,d=d+Math.imul(k,se)|0,f=(f=f+Math.imul(k,le)|0)+Math.imul(I,se)|0,b=b+Math.imul(I,le)|0;var Le=(i+(d=d+Math.imul(S,ue)|0)|0)+((8191&(f=(f=f+Math.imul(S,he)|0)+Math.imul(E,ue)|0))<<13)|0;i=((b=b+Math.imul(E,he)|0)+(f>>>13)|0)+(Le>>>26)|0,Le&=67108863,d=Math.imul(D,ce),f=(f=Math.imul(D,de))+Math.imul(U,ce)|0,b=Math.imul(U,de),d=d+Math.imul(O,be)|0,f=(f=f+Math.imul(O,te)|0)+Math.imul(N,be)|0,b=b+Math.imul(N,te)|0,d=d+Math.imul(R,ne)|0,f=(f=f+Math.imul(R,ie)|0)+Math.imul(M,ne)|0,b=b+Math.imul(M,ie)|0,d=d+Math.imul(L,se)|0,f=(f=f+Math.imul(L,le)|0)+Math.imul(T,se)|0,b=b+Math.imul(T,le)|0;var Te=(i+(d=d+Math.imul(k,ue)|0)|0)+((8191&(f=(f=f+Math.imul(k,he)|0)+Math.imul(I,ue)|0))<<13)|0;i=((b=b+Math.imul(I,he)|0)+(f>>>13)|0)+(Te>>>26)|0,Te&=67108863,d=Math.imul(D,be),f=(f=Math.imul(D,te))+Math.imul(U,be)|0,b=Math.imul(U,te),d=d+Math.imul(O,ne)|0,f=(f=f+Math.imul(O,ie)|0)+Math.imul(N,ne)|0,b=b+Math.imul(N,ie)|0,d=d+Math.imul(R,se)|0,f=(f=f+Math.imul(R,le)|0)+Math.imul(M,se)|0,b=b+Math.imul(M,le)|0;var Pe=(i+(d=d+Math.imul(L,ue)|0)|0)+((8191&(f=(f=f+Math.imul(L,he)|0)+Math.imul(T,ue)|0))<<13)|0;i=((b=b+Math.imul(T,he)|0)+(f>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,d=Math.imul(D,ne),f=(f=Math.imul(D,ie))+Math.imul(U,ne)|0,b=Math.imul(U,ie),d=d+Math.imul(O,se)|0,f=(f=f+Math.imul(O,le)|0)+Math.imul(N,se)|0,b=b+Math.imul(N,le)|0;var Re=(i+(d=d+Math.imul(R,ue)|0)|0)+((8191&(f=(f=f+Math.imul(R,he)|0)+Math.imul(M,ue)|0))<<13)|0;i=((b=b+Math.imul(M,he)|0)+(f>>>13)|0)+(Re>>>26)|0,Re&=67108863,d=Math.imul(D,se),f=(f=Math.imul(D,le))+Math.imul(U,se)|0,b=Math.imul(U,le);var Me=(i+(d=d+Math.imul(O,ue)|0)|0)+((8191&(f=(f=f+Math.imul(O,he)|0)+Math.imul(N,ue)|0))<<13)|0;i=((b=b+Math.imul(N,he)|0)+(f>>>13)|0)+(Me>>>26)|0,Me&=67108863;var Be=(i+(d=Math.imul(D,ue))|0)+((8191&(f=(f=Math.imul(D,he))+Math.imul(U,ue)|0))<<13)|0;return i=((b=Math.imul(U,he))+(f>>>13)|0)+(Be>>>26)|0,Be&=67108863,n[0]=pe,n[1]=me,n[2]=ge,n[3]=ye,n[4]=ve,n[5]=_e,n[6]=we,n[7]=Se,n[8]=Ee,n[9]=Ae,n[10]=ke,n[11]=Ie,n[12]=Ce,n[13]=Le,n[14]=Te,n[15]=Pe,n[16]=Re,n[17]=Me,n[18]=Be,0!==i&&(n[19]=i,c.length++),c};function m(e,a,c){c.negative=a.negative^e.negative,c.length=e.length+a.length;for(var d=0,f=0,b=0;b>>26)|0)>>>26,t&=67108863}c.words[b]=r,d=t,t=f}return 0!==d?c.words[b]=d:c.length--,c._strip()}function g(e,a,c){return m(e,a,c)}function y(e,a){this.x=e,this.y=a}Math.imul||(p=h),b.prototype.mulTo=function(e,a){var c=this.length+e.length;return 10===this.length&&10===e.length?p(this,e,a):c<63?h(this,e,a):c<1024?m(this,e,a):g(this,e,a)},y.prototype.makeRBT=function(e){for(var a=new Array(e),c=b.prototype._countBits(e)-1,d=0;d>=1;return d},y.prototype.permute=function(e,a,c,d,f,b){for(var t=0;t>>=1)f++;return 1<>>=13,c[2*t+1]=8191&b,b>>>=13;for(t=2*a;t>=26,c+=b/67108864|0,c+=t>>>26,this.words[f]=67108863&t}return 0!==c&&(this.words[f]=c,this.length++),a?this.ineg():this},b.prototype.muln=function(e){return this.clone().imuln(e)},b.prototype.sqr=function(){return this.mul(this)},b.prototype.isqr=function(){return this.imul(this.clone())},b.prototype.pow=function(e){var a=function(e){for(var a=new Array(e.bitLength()),c=0;c>>f&1}return a}(e);if(0===a.length)return new b(1);for(var c=this,d=0;d=0);var a,c=e%26,f=(e-c)/26,b=67108863>>>26-c<<26-c;if(0!==c){var t=0;for(a=0;a>>26-c}t&&(this.words[a]=t,this.length++)}if(0!==f){for(a=this.length-1;a>=0;a--)this.words[a+f]=this.words[a];for(a=0;a=0),f=a?(a-a%26)/26:0;var b=e%26,t=Math.min((e-b)/26,this.length),r=67108863^67108863>>>b<t)for(this.length-=t,i=0;i=0&&(0!==o||i>=f);i--){var s=0|this.words[i];this.words[i]=o<<26-b|s>>>b,o=s&r}return n&&0!==o&&(n.words[n.length++]=o),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},b.prototype.ishrn=function(e,a,c){return d(0===this.negative),this.iushrn(e,a,c)},b.prototype.shln=function(e){return this.clone().ishln(e)},b.prototype.ushln=function(e){return this.clone().iushln(e)},b.prototype.shrn=function(e){return this.clone().ishrn(e)},b.prototype.ushrn=function(e){return this.clone().iushrn(e)},b.prototype.testn=function(e){d("number"==typeof e&&e>=0);var a=e%26,c=(e-a)/26,f=1<=0);var a=e%26,c=(e-a)/26;if(d(0===this.negative,"imaskn works only with positive numbers"),this.length<=c)return this;if(0!==a&&c++,this.length=Math.min(c,this.length),0!==a){var f=67108863^67108863>>>a<=67108864;a++)this.words[a]-=67108864,a===this.length-1?this.words[a+1]=1:this.words[a+1]++;return this.length=Math.max(this.length,a+1),this},b.prototype.isubn=function(e){if(d("number"==typeof e),d(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var a=0;a>26)-(n/67108864|0),this.words[f+c]=67108863&b}for(;f>26,this.words[f+c]=67108863&b;if(0===r)return this._strip();for(d(-1===r),r=0,f=0;f>26,this.words[f]=67108863&b;return this.negative=1,this._strip()},b.prototype._wordDiv=function(e,a){var c=(this.length,e.length),d=this.clone(),f=e,t=0|f.words[f.length-1];0!==(c=26-this._countBits(t))&&(f=f.ushln(c),d.iushln(c),t=0|f.words[f.length-1]);var r,n=d.length-f.length;if("mod"!==a){(r=new b(null)).length=n+1,r.words=new Array(r.length);for(var i=0;i=0;s--){var l=67108864*(0|d.words[f.length+s])+(0|d.words[f.length+s-1]);for(l=Math.min(l/t|0,67108863),d._ishlnsubmul(f,l,s);0!==d.negative;)l--,d.negative=0,d._ishlnsubmul(f,1,s),d.isZero()||(d.negative^=1);r&&(r.words[s]=l)}return r&&r._strip(),d._strip(),"div"!==a&&0!==c&&d.iushrn(c),{div:r||null,mod:d}},b.prototype.divmod=function(e,a,c){return d(!e.isZero()),this.isZero()?{div:new b(0),mod:new b(0)}:0!==this.negative&&0===e.negative?(r=this.neg().divmod(e,a),"mod"!==a&&(f=r.div.neg()),"div"!==a&&(t=r.mod.neg(),c&&0!==t.negative&&t.iadd(e)),{div:f,mod:t}):0===this.negative&&0!==e.negative?(r=this.divmod(e.neg(),a),"mod"!==a&&(f=r.div.neg()),{div:f,mod:r.mod}):0!=(this.negative&e.negative)?(r=this.neg().divmod(e.neg(),a),"div"!==a&&(t=r.mod.neg(),c&&0!==t.negative&&t.isub(e)),{div:r.div,mod:t}):e.length>this.length||this.cmp(e)<0?{div:new b(0),mod:this}:1===e.length?"div"===a?{div:this.divn(e.words[0]),mod:null}:"mod"===a?{div:null,mod:new b(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new b(this.modrn(e.words[0]))}:this._wordDiv(e,a);var f,t,r},b.prototype.div=function(e){return this.divmod(e,"div",!1).div},b.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},b.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},b.prototype.divRound=function(e){var a=this.divmod(e);if(a.mod.isZero())return a.div;var c=0!==a.div.negative?a.mod.isub(e):a.mod,d=e.ushrn(1),f=e.andln(1),b=c.cmp(d);return b<0||1===f&&0===b?a.div:0!==a.div.negative?a.div.isubn(1):a.div.iaddn(1)},b.prototype.modrn=function(e){var a=e<0;a&&(e=-e),d(e<=67108863);for(var c=(1<<26)%e,f=0,b=this.length-1;b>=0;b--)f=(c*f+(0|this.words[b]))%e;return a?-f:f},b.prototype.modn=function(e){return this.modrn(e)},b.prototype.idivn=function(e){var a=e<0;a&&(e=-e),d(e<=67108863);for(var c=0,f=this.length-1;f>=0;f--){var b=(0|this.words[f])+67108864*c;this.words[f]=b/e|0,c=b%e}return this._strip(),a?this.ineg():this},b.prototype.divn=function(e){return this.clone().idivn(e)},b.prototype.egcd=function(e){d(0===e.negative),d(!e.isZero());var a=this,c=e.clone();a=0!==a.negative?a.umod(e):a.clone();for(var f=new b(1),t=new b(0),r=new b(0),n=new b(1),i=0;a.isEven()&&c.isEven();)a.iushrn(1),c.iushrn(1),++i;for(var o=c.clone(),s=a.clone();!a.isZero();){for(var l=0,x=1;0==(a.words[0]&x)&&l<26;++l,x<<=1);if(l>0)for(a.iushrn(l);l-- >0;)(f.isOdd()||t.isOdd())&&(f.iadd(o),t.isub(s)),f.iushrn(1),t.iushrn(1);for(var u=0,h=1;0==(c.words[0]&h)&&u<26;++u,h<<=1);if(u>0)for(c.iushrn(u);u-- >0;)(r.isOdd()||n.isOdd())&&(r.iadd(o),n.isub(s)),r.iushrn(1),n.iushrn(1);a.cmp(c)>=0?(a.isub(c),f.isub(r),t.isub(n)):(c.isub(a),r.isub(f),n.isub(t))}return{a:r,b:n,gcd:c.iushln(i)}},b.prototype._invmp=function(e){d(0===e.negative),d(!e.isZero());var a=this,c=e.clone();a=0!==a.negative?a.umod(e):a.clone();for(var f,t=new b(1),r=new b(0),n=c.clone();a.cmpn(1)>0&&c.cmpn(1)>0;){for(var i=0,o=1;0==(a.words[0]&o)&&i<26;++i,o<<=1);if(i>0)for(a.iushrn(i);i-- >0;)t.isOdd()&&t.iadd(n),t.iushrn(1);for(var s=0,l=1;0==(c.words[0]&l)&&s<26;++s,l<<=1);if(s>0)for(c.iushrn(s);s-- >0;)r.isOdd()&&r.iadd(n),r.iushrn(1);a.cmp(c)>=0?(a.isub(c),t.isub(r)):(c.isub(a),r.isub(t))}return(f=0===a.cmpn(1)?t:r).cmpn(0)<0&&f.iadd(e),f},b.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var a=this.clone(),c=e.clone();a.negative=0,c.negative=0;for(var d=0;a.isEven()&&c.isEven();d++)a.iushrn(1),c.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;c.isEven();)c.iushrn(1);var f=a.cmp(c);if(f<0){var b=a;a=c,c=b}else if(0===f||0===c.cmpn(1))break;a.isub(c)}return c.iushln(d)},b.prototype.invm=function(e){return this.egcd(e).a.umod(e)},b.prototype.isEven=function(){return 0==(1&this.words[0])},b.prototype.isOdd=function(){return 1==(1&this.words[0])},b.prototype.andln=function(e){return this.words[0]&e},b.prototype.bincn=function(e){d("number"==typeof e);var a=e%26,c=(e-a)/26,f=1<>>26,r&=67108863,this.words[t]=r}return 0!==b&&(this.words[t]=b,this.length++),this},b.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},b.prototype.cmpn=function(e){var a,c=e<0;if(0!==this.negative&&!c)return-1;if(0===this.negative&&c)return 1;if(this._strip(),this.length>1)a=1;else{c&&(e=-e),d(e<=67108863,"Number is too big");var f=0|this.words[0];a=f===e?0:fe.length)return 1;if(this.length=0;c--){var d=0|this.words[c],f=0|e.words[c];if(d!==f){df&&(a=1);break}}return a},b.prototype.gtn=function(e){return 1===this.cmpn(e)},b.prototype.gt=function(e){return 1===this.cmp(e)},b.prototype.gten=function(e){return this.cmpn(e)>=0},b.prototype.gte=function(e){return this.cmp(e)>=0},b.prototype.ltn=function(e){return-1===this.cmpn(e)},b.prototype.lt=function(e){return-1===this.cmp(e)},b.prototype.lten=function(e){return this.cmpn(e)<=0},b.prototype.lte=function(e){return this.cmp(e)<=0},b.prototype.eqn=function(e){return 0===this.cmpn(e)},b.prototype.eq=function(e){return 0===this.cmp(e)},b.red=function(e){return new k(e)},b.prototype.toRed=function(e){return d(!this.red,"Already a number in reduction context"),d(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},b.prototype.fromRed=function(){return d(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},b.prototype._forceRed=function(e){return this.red=e,this},b.prototype.forceRed=function(e){return d(!this.red,"Already a number in reduction context"),this._forceRed(e)},b.prototype.redAdd=function(e){return d(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},b.prototype.redIAdd=function(e){return d(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},b.prototype.redSub=function(e){return d(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},b.prototype.redISub=function(e){return d(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},b.prototype.redShl=function(e){return d(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},b.prototype.redMul=function(e){return d(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},b.prototype.redIMul=function(e){return d(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},b.prototype.redSqr=function(){return d(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},b.prototype.redISqr=function(){return d(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},b.prototype.redSqrt=function(){return d(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},b.prototype.redInvm=function(){return d(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},b.prototype.redNeg=function(){return d(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},b.prototype.redPow=function(e){return d(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var v={k256:null,p224:null,p192:null,p25519:null};function _(e,a){this.name=e,this.p=new b(a,16),this.n=this.p.bitLength(),this.k=new b(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){_.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function S(){_.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){_.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function A(){_.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(e){if("string"==typeof e){var a=b._prime(e);this.m=a.p,this.prime=a}else d(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function I(e){k.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new b(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}_.prototype._tmp=function(){var e=new b(null);return e.words=new Array(Math.ceil(this.n/13)),e},_.prototype.ireduce=function(e){var a,c=e;do{this.split(c,this.tmp),a=(c=(c=this.imulK(c)).iadd(this.tmp)).bitLength()}while(a>this.n);var d=a0?c.isub(this.p):void 0!==c.strip?c.strip():c._strip(),c},_.prototype.split=function(e,a){e.iushrn(this.n,0,a)},_.prototype.imulK=function(e){return e.imul(this.k)},f(w,_),w.prototype.split=function(e,a){for(var c=4194303,d=Math.min(e.length,9),f=0;f>>22,b=t}b>>>=22,e.words[f-10]=b,0===b&&e.length>10?e.length-=10:e.length-=9},w.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var a=0,c=0;c>>=26,e.words[c]=f,a=d}return 0!==a&&(e.words[e.length++]=a),e},b._prime=function(e){if(v[e])return v[e];var a;if("k256"===e)a=new w;else if("p224"===e)a=new S;else if("p192"===e)a=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);a=new A}return v[e]=a,a},k.prototype._verify1=function(e){d(0===e.negative,"red works only with positives"),d(e.red,"red works only with red numbers")},k.prototype._verify2=function(e,a){d(0==(e.negative|a.negative),"red works only with positives"),d(e.red&&e.red===a.red,"red works only with red numbers")},k.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(o(e,e.umod(this.m)._forceRed(this)),e)},k.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},k.prototype.add=function(e,a){this._verify2(e,a);var c=e.add(a);return c.cmp(this.m)>=0&&c.isub(this.m),c._forceRed(this)},k.prototype.iadd=function(e,a){this._verify2(e,a);var c=e.iadd(a);return c.cmp(this.m)>=0&&c.isub(this.m),c},k.prototype.sub=function(e,a){this._verify2(e,a);var c=e.sub(a);return c.cmpn(0)<0&&c.iadd(this.m),c._forceRed(this)},k.prototype.isub=function(e,a){this._verify2(e,a);var c=e.isub(a);return c.cmpn(0)<0&&c.iadd(this.m),c},k.prototype.shl=function(e,a){return this._verify1(e),this.imod(e.ushln(a))},k.prototype.imul=function(e,a){return this._verify2(e,a),this.imod(e.imul(a))},k.prototype.mul=function(e,a){return this._verify2(e,a),this.imod(e.mul(a))},k.prototype.isqr=function(e){return this.imul(e,e.clone())},k.prototype.sqr=function(e){return this.mul(e,e)},k.prototype.sqrt=function(e){if(e.isZero())return e.clone();var a=this.m.andln(3);if(d(a%2==1),3===a){var c=this.m.add(new b(1)).iushrn(2);return this.pow(e,c)}for(var f=this.m.subn(1),t=0;!f.isZero()&&0===f.andln(1);)t++,f.iushrn(1);d(!f.isZero());var r=new b(1).toRed(this),n=r.redNeg(),i=this.m.subn(1).iushrn(1),o=this.m.bitLength();for(o=new b(2*o*o).toRed(this);0!==this.pow(o,i).cmp(n);)o.redIAdd(n);for(var s=this.pow(o,f),l=this.pow(e,f.addn(1).iushrn(1)),x=this.pow(e,f),u=t;0!==x.cmp(r);){for(var h=x,p=0;0!==h.cmp(r);p++)h=h.redSqr();d(p=0;d--){for(var i=a.words[d],o=n-1;o>=0;o--){var s=i>>o&1;f!==c[0]&&(f=this.sqr(f)),0!==s||0!==t?(t<<=1,t|=s,(4===++r||0===d&&0===o)&&(f=this.mul(f,c[t]),r=0,t=0)):r=0}n=26}return f},k.prototype.convertTo=function(e){var a=e.umod(this.m);return a===e?a.clone():a},k.prototype.convertFrom=function(e){var a=e.clone();return a.red=null,a},b.mont=function(e){return new I(e)},f(I,k),I.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},I.prototype.convertFrom=function(e){var a=this.imod(e.mul(this.rinv));return a.red=null,a},I.prototype.imul=function(e,a){if(e.isZero()||a.isZero())return e.words[0]=0,e.length=1,e;var c=e.imul(a),d=c.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),f=c.isub(d).iushrn(this.shift),b=f;return f.cmp(this.m)>=0?b=f.isub(this.m):f.cmpn(0)<0&&(b=f.iadd(this.m)),b._forceRed(this)},I.prototype.mul=function(e,a){if(e.isZero()||a.isZero())return new b(0)._forceRed(this);var c=e.mul(a),d=c.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),f=c.isub(d).iushrn(this.shift),t=f;return f.cmp(this.m)>=0?t=f.isub(this.m):f.cmpn(0)<0&&(t=f.iadd(this.m)),t._forceRed(this)},I.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=c.nmd(e),this)},48764:(e,a,c)=>{"use strict";const d=c(79742),f=c(80645),b="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;a.Buffer=n,a.SlowBuffer=function(e){+e!=e&&(e=0);return n.alloc(+e)},a.INSPECT_MAX_BYTES=50;const t=2147483647;function r(e){if(e>t)throw new RangeError('The value "'+e+'" is invalid for option "size"');const a=new Uint8Array(e);return Object.setPrototypeOf(a,n.prototype),a}function n(e,a,c){if("number"==typeof e){if("string"==typeof a)throw new TypeError('The "string" argument must be of type string. Received type number');return s(e)}return i(e,a,c)}function i(e,a,c){if("string"==typeof e)return function(e,a){"string"==typeof a&&""!==a||(a="utf8");if(!n.isEncoding(a))throw new TypeError("Unknown encoding: "+a);const c=0|h(e,a);let d=r(c);const f=d.write(e,a);f!==c&&(d=d.slice(0,f));return d}(e,a);if(ArrayBuffer.isView(e))return function(e){if(Z(e,Uint8Array)){const a=new Uint8Array(e);return x(a.buffer,a.byteOffset,a.byteLength)}return l(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Z(e,ArrayBuffer)||e&&Z(e.buffer,ArrayBuffer))return x(e,a,c);if("undefined"!=typeof SharedArrayBuffer&&(Z(e,SharedArrayBuffer)||e&&Z(e.buffer,SharedArrayBuffer)))return x(e,a,c);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const d=e.valueOf&&e.valueOf();if(null!=d&&d!==e)return n.from(d,a,c);const f=function(e){if(n.isBuffer(e)){const a=0|u(e.length),c=r(a);return 0===c.length||e.copy(c,0,0,a),c}if(void 0!==e.length)return"number"!=typeof e.length||Q(e.length)?r(0):l(e);if("Buffer"===e.type&&Array.isArray(e.data))return l(e.data)}(e);if(f)return f;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return n.from(e[Symbol.toPrimitive]("string"),a,c);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function o(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function s(e){return o(e),r(e<0?0:0|u(e))}function l(e){const a=e.length<0?0:0|u(e.length),c=r(a);for(let d=0;d=t)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+t.toString(16)+" bytes");return 0|e}function h(e,a){if(n.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Z(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const c=e.length,d=arguments.length>2&&!0===arguments[2];if(!d&&0===c)return 0;let f=!1;for(;;)switch(a){case"ascii":case"latin1":case"binary":return c;case"utf8":case"utf-8":return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*c;case"hex":return c>>>1;case"base64":return G(e).length;default:if(f)return d?-1:H(e).length;a=(""+a).toLowerCase(),f=!0}}function p(e,a,c){let d=!1;if((void 0===a||a<0)&&(a=0),a>this.length)return"";if((void 0===c||c>this.length)&&(c=this.length),c<=0)return"";if((c>>>=0)<=(a>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,a,c);case"utf8":case"utf-8":return k(this,a,c);case"ascii":return C(this,a,c);case"latin1":case"binary":return L(this,a,c);case"base64":return A(this,a,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,a,c);default:if(d)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),d=!0}}function m(e,a,c){const d=e[a];e[a]=e[c],e[c]=d}function g(e,a,c,d,f){if(0===e.length)return-1;if("string"==typeof c?(d=c,c=0):c>2147483647?c=2147483647:c<-2147483648&&(c=-2147483648),Q(c=+c)&&(c=f?0:e.length-1),c<0&&(c=e.length+c),c>=e.length){if(f)return-1;c=e.length-1}else if(c<0){if(!f)return-1;c=0}if("string"==typeof a&&(a=n.from(a,d)),n.isBuffer(a))return 0===a.length?-1:y(e,a,c,d,f);if("number"==typeof a)return a&=255,"function"==typeof Uint8Array.prototype.indexOf?f?Uint8Array.prototype.indexOf.call(e,a,c):Uint8Array.prototype.lastIndexOf.call(e,a,c):y(e,[a],c,d,f);throw new TypeError("val must be string, number or Buffer")}function y(e,a,c,d,f){let b,t=1,r=e.length,n=a.length;if(void 0!==d&&("ucs2"===(d=String(d).toLowerCase())||"ucs-2"===d||"utf16le"===d||"utf-16le"===d)){if(e.length<2||a.length<2)return-1;t=2,r/=2,n/=2,c/=2}function i(e,a){return 1===t?e[a]:e.readUInt16BE(a*t)}if(f){let d=-1;for(b=c;br&&(c=r-n),b=c;b>=0;b--){let c=!0;for(let d=0;df&&(d=f):d=f;const b=a.length;let t;for(d>b/2&&(d=b/2),t=0;t>8,f=c%256,b.push(f),b.push(d);return b}(a,e.length-c),e,c,d)}function A(e,a,c){return 0===a&&c===e.length?d.fromByteArray(e):d.fromByteArray(e.slice(a,c))}function k(e,a,c){c=Math.min(e.length,c);const d=[];let f=a;for(;f239?4:a>223?3:a>191?2:1;if(f+t<=c){let c,d,r,n;switch(t){case 1:a<128&&(b=a);break;case 2:c=e[f+1],128==(192&c)&&(n=(31&a)<<6|63&c,n>127&&(b=n));break;case 3:c=e[f+1],d=e[f+2],128==(192&c)&&128==(192&d)&&(n=(15&a)<<12|(63&c)<<6|63&d,n>2047&&(n<55296||n>57343)&&(b=n));break;case 4:c=e[f+1],d=e[f+2],r=e[f+3],128==(192&c)&&128==(192&d)&&128==(192&r)&&(n=(15&a)<<18|(63&c)<<12|(63&d)<<6|63&r,n>65535&&n<1114112&&(b=n))}}null===b?(b=65533,t=1):b>65535&&(b-=65536,d.push(b>>>10&1023|55296),b=56320|1023&b),d.push(b),f+=t}return function(e){const a=e.length;if(a<=I)return String.fromCharCode.apply(String,e);let c="",d=0;for(;dd.length?(n.isBuffer(a)||(a=n.from(a)),a.copy(d,f)):Uint8Array.prototype.set.call(d,a,f);else{if(!n.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(d,f)}f+=a.length}return d},n.byteLength=h,n.prototype._isBuffer=!0,n.prototype.swap16=function(){const e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let a=0;ac&&(e+=" ... "),""},b&&(n.prototype[b]=n.prototype.inspect),n.prototype.compare=function(e,a,c,d,f){if(Z(e,Uint8Array)&&(e=n.from(e,e.offset,e.byteLength)),!n.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===a&&(a=0),void 0===c&&(c=e?e.length:0),void 0===d&&(d=0),void 0===f&&(f=this.length),a<0||c>e.length||d<0||f>this.length)throw new RangeError("out of range index");if(d>=f&&a>=c)return 0;if(d>=f)return-1;if(a>=c)return 1;if(this===e)return 0;let b=(f>>>=0)-(d>>>=0),t=(c>>>=0)-(a>>>=0);const r=Math.min(b,t),i=this.slice(d,f),o=e.slice(a,c);for(let n=0;n>>=0,isFinite(c)?(c>>>=0,void 0===d&&(d="utf8")):(d=c,c=void 0)}const f=this.length-a;if((void 0===c||c>f)&&(c=f),e.length>0&&(c<0||a<0)||a>this.length)throw new RangeError("Attempt to write outside buffer bounds");d||(d="utf8");let b=!1;for(;;)switch(d){case"hex":return v(this,e,a,c);case"utf8":case"utf-8":return _(this,e,a,c);case"ascii":case"latin1":case"binary":return w(this,e,a,c);case"base64":return S(this,e,a,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,a,c);default:if(b)throw new TypeError("Unknown encoding: "+d);d=(""+d).toLowerCase(),b=!0}},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const I=4096;function C(e,a,c){let d="";c=Math.min(e.length,c);for(let f=a;fd)&&(c=d);let f="";for(let b=a;bc)throw new RangeError("Trying to access beyond buffer length")}function M(e,a,c,d,f,b){if(!n.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(a>f||ae.length)throw new RangeError("Index out of range")}function B(e,a,c,d,f){q(a,d,f,e,c,7);let b=Number(a&BigInt(4294967295));e[c++]=b,b>>=8,e[c++]=b,b>>=8,e[c++]=b,b>>=8,e[c++]=b;let t=Number(a>>BigInt(32)&BigInt(4294967295));return e[c++]=t,t>>=8,e[c++]=t,t>>=8,e[c++]=t,t>>=8,e[c++]=t,c}function O(e,a,c,d,f){q(a,d,f,e,c,7);let b=Number(a&BigInt(4294967295));e[c+7]=b,b>>=8,e[c+6]=b,b>>=8,e[c+5]=b,b>>=8,e[c+4]=b;let t=Number(a>>BigInt(32)&BigInt(4294967295));return e[c+3]=t,t>>=8,e[c+2]=t,t>>=8,e[c+1]=t,t>>=8,e[c]=t,c+8}function N(e,a,c,d,f,b){if(c+d>e.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("Index out of range")}function F(e,a,c,d,b){return a=+a,c>>>=0,b||N(e,0,c,4),f.write(e,a,c,d,23,4),c+4}function D(e,a,c,d,b){return a=+a,c>>>=0,b||N(e,0,c,8),f.write(e,a,c,d,52,8),c+8}n.prototype.slice=function(e,a){const c=this.length;(e=~~e)<0?(e+=c)<0&&(e=0):e>c&&(e=c),(a=void 0===a?c:~~a)<0?(a+=c)<0&&(a=0):a>c&&(a=c),a>>=0,a>>>=0,c||R(e,a,this.length);let d=this[e],f=1,b=0;for(;++b>>=0,a>>>=0,c||R(e,a,this.length);let d=this[e+--a],f=1;for(;a>0&&(f*=256);)d+=this[e+--a]*f;return d},n.prototype.readUint8=n.prototype.readUInt8=function(e,a){return e>>>=0,a||R(e,1,this.length),this[e]},n.prototype.readUint16LE=n.prototype.readUInt16LE=function(e,a){return e>>>=0,a||R(e,2,this.length),this[e]|this[e+1]<<8},n.prototype.readUint16BE=n.prototype.readUInt16BE=function(e,a){return e>>>=0,a||R(e,2,this.length),this[e]<<8|this[e+1]},n.prototype.readUint32LE=n.prototype.readUInt32LE=function(e,a){return e>>>=0,a||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},n.prototype.readUint32BE=n.prototype.readUInt32BE=function(e,a){return e>>>=0,a||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},n.prototype.readBigUInt64LE=J((function(e){K(e>>>=0,"offset");const a=this[e],c=this[e+7];void 0!==a&&void 0!==c||V(e,this.length-8);const d=a+256*this[++e]+65536*this[++e]+this[++e]*2**24,f=this[++e]+256*this[++e]+65536*this[++e]+c*2**24;return BigInt(d)+(BigInt(f)<>>=0,"offset");const a=this[e],c=this[e+7];void 0!==a&&void 0!==c||V(e,this.length-8);const d=a*2**24+65536*this[++e]+256*this[++e]+this[++e],f=this[++e]*2**24+65536*this[++e]+256*this[++e]+c;return(BigInt(d)<>>=0,a>>>=0,c||R(e,a,this.length);let d=this[e],f=1,b=0;for(;++b=f&&(d-=Math.pow(2,8*a)),d},n.prototype.readIntBE=function(e,a,c){e>>>=0,a>>>=0,c||R(e,a,this.length);let d=a,f=1,b=this[e+--d];for(;d>0&&(f*=256);)b+=this[e+--d]*f;return f*=128,b>=f&&(b-=Math.pow(2,8*a)),b},n.prototype.readInt8=function(e,a){return e>>>=0,a||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},n.prototype.readInt16LE=function(e,a){e>>>=0,a||R(e,2,this.length);const c=this[e]|this[e+1]<<8;return 32768&c?4294901760|c:c},n.prototype.readInt16BE=function(e,a){e>>>=0,a||R(e,2,this.length);const c=this[e+1]|this[e]<<8;return 32768&c?4294901760|c:c},n.prototype.readInt32LE=function(e,a){return e>>>=0,a||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},n.prototype.readInt32BE=function(e,a){return e>>>=0,a||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},n.prototype.readBigInt64LE=J((function(e){K(e>>>=0,"offset");const a=this[e],c=this[e+7];void 0!==a&&void 0!==c||V(e,this.length-8);const d=this[e+4]+256*this[e+5]+65536*this[e+6]+(c<<24);return(BigInt(d)<>>=0,"offset");const a=this[e],c=this[e+7];void 0!==a&&void 0!==c||V(e,this.length-8);const d=(a<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(d)<>>=0,a||R(e,4,this.length),f.read(this,e,!0,23,4)},n.prototype.readFloatBE=function(e,a){return e>>>=0,a||R(e,4,this.length),f.read(this,e,!1,23,4)},n.prototype.readDoubleLE=function(e,a){return e>>>=0,a||R(e,8,this.length),f.read(this,e,!0,52,8)},n.prototype.readDoubleBE=function(e,a){return e>>>=0,a||R(e,8,this.length),f.read(this,e,!1,52,8)},n.prototype.writeUintLE=n.prototype.writeUIntLE=function(e,a,c,d){if(e=+e,a>>>=0,c>>>=0,!d){M(this,e,a,c,Math.pow(2,8*c)-1,0)}let f=1,b=0;for(this[a]=255&e;++b>>=0,c>>>=0,!d){M(this,e,a,c,Math.pow(2,8*c)-1,0)}let f=c-1,b=1;for(this[a+f]=255&e;--f>=0&&(b*=256);)this[a+f]=e/b&255;return a+c},n.prototype.writeUint8=n.prototype.writeUInt8=function(e,a,c){return e=+e,a>>>=0,c||M(this,e,a,1,255,0),this[a]=255&e,a+1},n.prototype.writeUint16LE=n.prototype.writeUInt16LE=function(e,a,c){return e=+e,a>>>=0,c||M(this,e,a,2,65535,0),this[a]=255&e,this[a+1]=e>>>8,a+2},n.prototype.writeUint16BE=n.prototype.writeUInt16BE=function(e,a,c){return e=+e,a>>>=0,c||M(this,e,a,2,65535,0),this[a]=e>>>8,this[a+1]=255&e,a+2},n.prototype.writeUint32LE=n.prototype.writeUInt32LE=function(e,a,c){return e=+e,a>>>=0,c||M(this,e,a,4,4294967295,0),this[a+3]=e>>>24,this[a+2]=e>>>16,this[a+1]=e>>>8,this[a]=255&e,a+4},n.prototype.writeUint32BE=n.prototype.writeUInt32BE=function(e,a,c){return e=+e,a>>>=0,c||M(this,e,a,4,4294967295,0),this[a]=e>>>24,this[a+1]=e>>>16,this[a+2]=e>>>8,this[a+3]=255&e,a+4},n.prototype.writeBigUInt64LE=J((function(e,a=0){return B(this,e,a,BigInt(0),BigInt("0xffffffffffffffff"))})),n.prototype.writeBigUInt64BE=J((function(e,a=0){return O(this,e,a,BigInt(0),BigInt("0xffffffffffffffff"))})),n.prototype.writeIntLE=function(e,a,c,d){if(e=+e,a>>>=0,!d){const d=Math.pow(2,8*c-1);M(this,e,a,c,d-1,-d)}let f=0,b=1,t=0;for(this[a]=255&e;++f>0)-t&255;return a+c},n.prototype.writeIntBE=function(e,a,c,d){if(e=+e,a>>>=0,!d){const d=Math.pow(2,8*c-1);M(this,e,a,c,d-1,-d)}let f=c-1,b=1,t=0;for(this[a+f]=255&e;--f>=0&&(b*=256);)e<0&&0===t&&0!==this[a+f+1]&&(t=1),this[a+f]=(e/b>>0)-t&255;return a+c},n.prototype.writeInt8=function(e,a,c){return e=+e,a>>>=0,c||M(this,e,a,1,127,-128),e<0&&(e=255+e+1),this[a]=255&e,a+1},n.prototype.writeInt16LE=function(e,a,c){return e=+e,a>>>=0,c||M(this,e,a,2,32767,-32768),this[a]=255&e,this[a+1]=e>>>8,a+2},n.prototype.writeInt16BE=function(e,a,c){return e=+e,a>>>=0,c||M(this,e,a,2,32767,-32768),this[a]=e>>>8,this[a+1]=255&e,a+2},n.prototype.writeInt32LE=function(e,a,c){return e=+e,a>>>=0,c||M(this,e,a,4,2147483647,-2147483648),this[a]=255&e,this[a+1]=e>>>8,this[a+2]=e>>>16,this[a+3]=e>>>24,a+4},n.prototype.writeInt32BE=function(e,a,c){return e=+e,a>>>=0,c||M(this,e,a,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[a]=e>>>24,this[a+1]=e>>>16,this[a+2]=e>>>8,this[a+3]=255&e,a+4},n.prototype.writeBigInt64LE=J((function(e,a=0){return B(this,e,a,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),n.prototype.writeBigInt64BE=J((function(e,a=0){return O(this,e,a,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),n.prototype.writeFloatLE=function(e,a,c){return F(this,e,a,!0,c)},n.prototype.writeFloatBE=function(e,a,c){return F(this,e,a,!1,c)},n.prototype.writeDoubleLE=function(e,a,c){return D(this,e,a,!0,c)},n.prototype.writeDoubleBE=function(e,a,c){return D(this,e,a,!1,c)},n.prototype.copy=function(e,a,c,d){if(!n.isBuffer(e))throw new TypeError("argument should be a Buffer");if(c||(c=0),d||0===d||(d=this.length),a>=e.length&&(a=e.length),a||(a=0),d>0&&d=this.length)throw new RangeError("Index out of range");if(d<0)throw new RangeError("sourceEnd out of bounds");d>this.length&&(d=this.length),e.length-a>>=0,c=void 0===c?this.length:c>>>0,e||(e=0),"number"==typeof e)for(f=a;f=d+4;c-=3)a=`_${e.slice(c-3,c)}${a}`;return`${e.slice(0,c)}${a}`}function q(e,a,c,d,f,b){if(e>c||e3?0===a||a===BigInt(0)?`>= 0${d} and < 2${d} ** ${8*(b+1)}${d}`:`>= -(2${d} ** ${8*(b+1)-1}${d}) and < 2 ** ${8*(b+1)-1}${d}`:`>= ${a}${d} and <= ${c}${d}`,new U.ERR_OUT_OF_RANGE("value",f,e)}!function(e,a,c){K(a,"offset"),void 0!==e[a]&&void 0!==e[a+c]||V(a,e.length-(c+1))}(d,f,b)}function K(e,a){if("number"!=typeof e)throw new U.ERR_INVALID_ARG_TYPE(a,"number",e)}function V(e,a,c){if(Math.floor(e)!==e)throw K(e,c),new U.ERR_OUT_OF_RANGE(c||"offset","an integer",e);if(a<0)throw new U.ERR_BUFFER_OUT_OF_BOUNDS;throw new U.ERR_OUT_OF_RANGE(c||"offset",`>= ${c?1:0} and <= ${a}`,e)}j("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),j("ERR_INVALID_ARG_TYPE",(function(e,a){return`The "${e}" argument must be of type number. Received type ${typeof a}`}),TypeError),j("ERR_OUT_OF_RANGE",(function(e,a,c){let d=`The value of "${e}" is out of range.`,f=c;return Number.isInteger(c)&&Math.abs(c)>2**32?f=z(String(c)):"bigint"==typeof c&&(f=String(c),(c>BigInt(2)**BigInt(32)||c<-(BigInt(2)**BigInt(32)))&&(f=z(f)),f+="n"),d+=` It must be ${a}. Received ${f}`,d}),RangeError);const $=/[^+/0-9A-Za-z-_]/g;function H(e,a){let c;a=a||1/0;const d=e.length;let f=null;const b=[];for(let t=0;t55295&&c<57344){if(!f){if(c>56319){(a-=3)>-1&&b.push(239,191,189);continue}if(t+1===d){(a-=3)>-1&&b.push(239,191,189);continue}f=c;continue}if(c<56320){(a-=3)>-1&&b.push(239,191,189),f=c;continue}c=65536+(f-55296<<10|c-56320)}else f&&(a-=3)>-1&&b.push(239,191,189);if(f=null,c<128){if((a-=1)<0)break;b.push(c)}else if(c<2048){if((a-=2)<0)break;b.push(c>>6|192,63&c|128)}else if(c<65536){if((a-=3)<0)break;b.push(c>>12|224,c>>6&63|128,63&c|128)}else{if(!(c<1114112))throw new Error("Invalid code point");if((a-=4)<0)break;b.push(c>>18|240,c>>12&63|128,c>>6&63|128,63&c|128)}}return b}function G(e){return d.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace($,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function W(e,a,c,d){let f;for(f=0;f=a.length||f>=e.length);++f)a[f+c]=e[f];return f}function Z(e,a){return e instanceof a||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===a.name}function Q(e){return e!=e}const Y=function(){const e="0123456789abcdef",a=new Array(256);for(let c=0;c<16;++c){const d=16*c;for(let f=0;f<16;++f)a[d+f]=e[c]+e[f]}return a}();function J(e){return"undefined"==typeof BigInt?X:e}function X(){throw new Error("BigInt not supported")}},86010:(e,a,c)=>{"use strict";function d(e){var a,c,f="";if("string"==typeof e||"number"==typeof e)f+=e;else if("object"==typeof e)if(Array.isArray(e))for(a=0;af});const f=function(){for(var e,a,c=0,f="";c{"use strict";var a,c="object"==typeof Reflect?Reflect:null,d=c&&"function"==typeof c.apply?c.apply:function(e,a,c){return Function.prototype.apply.call(e,a,c)};a=c&&"function"==typeof c.ownKeys?c.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var f=Number.isNaN||function(e){return e!=e};function b(){b.init.call(this)}e.exports=b,e.exports.once=function(e,a){return new Promise((function(c,d){function f(c){e.removeListener(a,b),d(c)}function b(){"function"==typeof e.removeListener&&e.removeListener("error",f),c([].slice.call(arguments))}h(e,a,b,{once:!0}),"error"!==a&&function(e,a,c){"function"==typeof e.on&&h(e,"error",a,c)}(e,f,{once:!0})}))},b.EventEmitter=b,b.prototype._events=void 0,b.prototype._eventsCount=0,b.prototype._maxListeners=void 0;var t=10;function r(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function n(e){return void 0===e._maxListeners?b.defaultMaxListeners:e._maxListeners}function i(e,a,c,d){var f,b,t,i;if(r(c),void 0===(b=e._events)?(b=e._events=Object.create(null),e._eventsCount=0):(void 0!==b.newListener&&(e.emit("newListener",a,c.listener?c.listener:c),b=e._events),t=b[a]),void 0===t)t=b[a]=c,++e._eventsCount;else if("function"==typeof t?t=b[a]=d?[c,t]:[t,c]:d?t.unshift(c):t.push(c),(f=n(e))>0&&t.length>f&&!t.warned){t.warned=!0;var o=new Error("Possible EventEmitter memory leak detected. "+t.length+" "+String(a)+" listeners added. Use emitter.setMaxListeners() to increase limit");o.name="MaxListenersExceededWarning",o.emitter=e,o.type=a,o.count=t.length,i=o,console&&console.warn&&console.warn(i)}return e}function o(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function s(e,a,c){var d={fired:!1,wrapFn:void 0,target:e,type:a,listener:c},f=o.bind(d);return f.listener=c,d.wrapFn=f,f}function l(e,a,c){var d=e._events;if(void 0===d)return[];var f=d[a];return void 0===f?[]:"function"==typeof f?c?[f.listener||f]:[f]:c?function(e){for(var a=new Array(e.length),c=0;c0&&(t=a[0]),t instanceof Error)throw t;var r=new Error("Unhandled error."+(t?" ("+t.message+")":""));throw r.context=t,r}var n=b[e];if(void 0===n)return!1;if("function"==typeof n)d(n,this,a);else{var i=n.length,o=u(n,i);for(c=0;c=0;b--)if(c[b]===a||c[b].listener===a){t=c[b].listener,f=b;break}if(f<0)return this;0===f?c.shift():function(e,a){for(;a+1=0;d--)this.removeListener(e,a[d]);return this},b.prototype.listeners=function(e){return l(this,e,!0)},b.prototype.rawListeners=function(e){return l(this,e,!1)},b.listenerCount=function(e,a){return"function"==typeof e.listenerCount?e.listenerCount(a):x.call(e,a)},b.prototype.listenerCount=x,b.prototype.eventNames=function(){return this._eventsCount>0?a(this._events):[]}},33715:(e,a,c)=>{var d=a;d.utils=c(26436),d.common=c(95772),d.sha=c(89041),d.ripemd=c(12949),d.hmac=c(52344),d.sha1=d.sha.sha1,d.sha256=d.sha.sha256,d.sha224=d.sha.sha224,d.sha384=d.sha.sha384,d.sha512=d.sha.sha512,d.ripemd160=d.ripemd.ripemd160},95772:(e,a,c)=>{"use strict";var d=c(26436),f=c(79746);function b(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}a.BlockHash=b,b.prototype.update=function(e,a){if(e=d.toArray(e,a),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var c=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-c,e.length),0===this.pending.length&&(this.pending=null),e=d.join32(e,0,e.length-c,this.endian);for(var f=0;f>>24&255,d[f++]=e>>>16&255,d[f++]=e>>>8&255,d[f++]=255&e}else for(d[f++]=255&e,d[f++]=e>>>8&255,d[f++]=e>>>16&255,d[f++]=e>>>24&255,d[f++]=0,d[f++]=0,d[f++]=0,d[f++]=0,b=8;b{"use strict";var d=c(26436),f=c(79746);function b(e,a,c){if(!(this instanceof b))return new b(e,a,c);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(d.toArray(a,c))}e.exports=b,b.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),f(e.length<=this.blockSize);for(var a=e.length;a{"use strict";var d=c(26436),f=c(95772),b=d.rotl32,t=d.sum32,r=d.sum32_3,n=d.sum32_4,i=f.BlockHash;function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function s(e,a,c,d){return e<=15?a^c^d:e<=31?a&c|~a&d:e<=47?(a|~c)^d:e<=63?a&d|c&~d:a^(c|~d)}function l(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function x(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}d.inherits(o,i),a.ripemd160=o,o.blockSize=512,o.outSize=160,o.hmacStrength=192,o.padLength=64,o.prototype._update=function(e,a){for(var c=this.h[0],d=this.h[1],f=this.h[2],i=this.h[3],o=this.h[4],g=c,y=d,v=f,_=i,w=o,S=0;S<80;S++){var E=t(b(n(c,s(S,d,f,i),e[u[S]+a],l(S)),p[S]),o);c=o,o=i,i=b(f,10),f=d,d=E,E=t(b(n(g,s(79-S,y,v,_),e[h[S]+a],x(S)),m[S]),w),g=w,w=_,_=b(v,10),v=y,y=E}E=r(this.h[1],f,_),this.h[1]=r(this.h[2],i,w),this.h[2]=r(this.h[3],o,g),this.h[3]=r(this.h[4],c,y),this.h[4]=r(this.h[0],d,v),this.h[0]=E},o.prototype._digest=function(e){return"hex"===e?d.toHex32(this.h,"little"):d.split32(this.h,"little")};var u=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],h=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],p=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],m=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},89041:(e,a,c)=>{"use strict";a.sha1=c(84761),a.sha224=c(10799),a.sha256=c(89344),a.sha384=c(80772),a.sha512=c(45900)},84761:(e,a,c)=>{"use strict";var d=c(26436),f=c(95772),b=c(37038),t=d.rotl32,r=d.sum32,n=d.sum32_5,i=b.ft_1,o=f.BlockHash,s=[1518500249,1859775393,2400959708,3395469782];function l(){if(!(this instanceof l))return new l;o.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}d.inherits(l,o),e.exports=l,l.blockSize=512,l.outSize=160,l.hmacStrength=80,l.padLength=64,l.prototype._update=function(e,a){for(var c=this.W,d=0;d<16;d++)c[d]=e[a+d];for(;d{"use strict";var d=c(26436),f=c(89344);function b(){if(!(this instanceof b))return new b;f.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}d.inherits(b,f),e.exports=b,b.blockSize=512,b.outSize=224,b.hmacStrength=192,b.padLength=64,b.prototype._digest=function(e){return"hex"===e?d.toHex32(this.h.slice(0,7),"big"):d.split32(this.h.slice(0,7),"big")}},89344:(e,a,c)=>{"use strict";var d=c(26436),f=c(95772),b=c(37038),t=c(79746),r=d.sum32,n=d.sum32_4,i=d.sum32_5,o=b.ch32,s=b.maj32,l=b.s0_256,x=b.s1_256,u=b.g0_256,h=b.g1_256,p=f.BlockHash,m=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function g(){if(!(this instanceof g))return new g;p.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=m,this.W=new Array(64)}d.inherits(g,p),e.exports=g,g.blockSize=512,g.outSize=256,g.hmacStrength=192,g.padLength=64,g.prototype._update=function(e,a){for(var c=this.W,d=0;d<16;d++)c[d]=e[a+d];for(;d{"use strict";var d=c(26436),f=c(45900);function b(){if(!(this instanceof b))return new b;f.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}d.inherits(b,f),e.exports=b,b.blockSize=1024,b.outSize=384,b.hmacStrength=192,b.padLength=128,b.prototype._digest=function(e){return"hex"===e?d.toHex32(this.h.slice(0,12),"big"):d.split32(this.h.slice(0,12),"big")}},45900:(e,a,c)=>{"use strict";var d=c(26436),f=c(95772),b=c(79746),t=d.rotr64_hi,r=d.rotr64_lo,n=d.shr64_hi,i=d.shr64_lo,o=d.sum64,s=d.sum64_hi,l=d.sum64_lo,x=d.sum64_4_hi,u=d.sum64_4_lo,h=d.sum64_5_hi,p=d.sum64_5_lo,m=f.BlockHash,g=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function y(){if(!(this instanceof y))return new y;m.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=g,this.W=new Array(160)}function v(e,a,c,d,f){var b=e&c^~e&f;return b<0&&(b+=4294967296),b}function _(e,a,c,d,f,b){var t=a&d^~a&b;return t<0&&(t+=4294967296),t}function w(e,a,c,d,f){var b=e&c^e&f^c&f;return b<0&&(b+=4294967296),b}function S(e,a,c,d,f,b){var t=a&d^a&b^d&b;return t<0&&(t+=4294967296),t}function E(e,a){var c=t(e,a,28)^t(a,e,2)^t(a,e,7);return c<0&&(c+=4294967296),c}function A(e,a){var c=r(e,a,28)^r(a,e,2)^r(a,e,7);return c<0&&(c+=4294967296),c}function k(e,a){var c=t(e,a,14)^t(e,a,18)^t(a,e,9);return c<0&&(c+=4294967296),c}function I(e,a){var c=r(e,a,14)^r(e,a,18)^r(a,e,9);return c<0&&(c+=4294967296),c}function C(e,a){var c=t(e,a,1)^t(e,a,8)^n(e,a,7);return c<0&&(c+=4294967296),c}function L(e,a){var c=r(e,a,1)^r(e,a,8)^i(e,a,7);return c<0&&(c+=4294967296),c}function T(e,a){var c=t(e,a,19)^t(a,e,29)^n(e,a,6);return c<0&&(c+=4294967296),c}function P(e,a){var c=r(e,a,19)^r(a,e,29)^i(e,a,6);return c<0&&(c+=4294967296),c}d.inherits(y,m),e.exports=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(e,a){for(var c=this.W,d=0;d<32;d++)c[d]=e[a+d];for(;d{"use strict";var d=c(26436).rotr32;function f(e,a,c){return e&a^~e&c}function b(e,a,c){return e&a^e&c^a&c}function t(e,a,c){return e^a^c}a.ft_1=function(e,a,c,d){return 0===e?f(a,c,d):1===e||3===e?t(a,c,d):2===e?b(a,c,d):void 0},a.ch32=f,a.maj32=b,a.p32=t,a.s0_256=function(e){return d(e,2)^d(e,13)^d(e,22)},a.s1_256=function(e){return d(e,6)^d(e,11)^d(e,25)},a.g0_256=function(e){return d(e,7)^d(e,18)^e>>>3},a.g1_256=function(e){return d(e,17)^d(e,19)^e>>>10}},26436:(e,a,c)=>{"use strict";var d=c(79746),f=c(35717);function b(e,a){return 55296==(64512&e.charCodeAt(a))&&(!(a<0||a+1>=e.length)&&56320==(64512&e.charCodeAt(a+1)))}function t(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function r(e){return 1===e.length?"0"+e:e}function n(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}a.inherits=f,a.toArray=function(e,a){if(Array.isArray(e))return e.slice();if(!e)return[];var c=[];if("string"==typeof e)if(a){if("hex"===a)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),f=0;f>6|192,c[d++]=63&t|128):b(e,f)?(t=65536+((1023&t)<<10)+(1023&e.charCodeAt(++f)),c[d++]=t>>18|240,c[d++]=t>>12&63|128,c[d++]=t>>6&63|128,c[d++]=63&t|128):(c[d++]=t>>12|224,c[d++]=t>>6&63|128,c[d++]=63&t|128)}else for(f=0;f>>0}return t},a.split32=function(e,a){for(var c=new Array(4*e.length),d=0,f=0;d>>24,c[f+1]=b>>>16&255,c[f+2]=b>>>8&255,c[f+3]=255&b):(c[f+3]=b>>>24,c[f+2]=b>>>16&255,c[f+1]=b>>>8&255,c[f]=255&b)}return c},a.rotr32=function(e,a){return e>>>a|e<<32-a},a.rotl32=function(e,a){return e<>>32-a},a.sum32=function(e,a){return e+a>>>0},a.sum32_3=function(e,a,c){return e+a+c>>>0},a.sum32_4=function(e,a,c,d){return e+a+c+d>>>0},a.sum32_5=function(e,a,c,d,f){return e+a+c+d+f>>>0},a.sum64=function(e,a,c,d){var f=e[a],b=d+e[a+1]>>>0,t=(b>>0,e[a+1]=b},a.sum64_hi=function(e,a,c,d){return(a+d>>>0>>0},a.sum64_lo=function(e,a,c,d){return a+d>>>0},a.sum64_4_hi=function(e,a,c,d,f,b,t,r){var n=0,i=a;return n+=(i=i+d>>>0)>>0)>>0)>>0},a.sum64_4_lo=function(e,a,c,d,f,b,t,r){return a+d+b+r>>>0},a.sum64_5_hi=function(e,a,c,d,f,b,t,r,n,i){var o=0,s=a;return o+=(s=s+d>>>0)>>0)>>0)>>0)>>0},a.sum64_5_lo=function(e,a,c,d,f,b,t,r,n,i){return a+d+b+r+i>>>0},a.rotr64_hi=function(e,a,c){return(a<<32-c|e>>>c)>>>0},a.rotr64_lo=function(e,a,c){return(e<<32-c|a>>>c)>>>0},a.shr64_hi=function(e,a,c){return e>>>c},a.shr64_lo=function(e,a,c){return(e<<32-c|a>>>c)>>>0}},99318:(e,a,c)=>{"use strict";c.d(a,{lX:()=>v,q_:()=>k,ob:()=>x,PP:()=>C,Ep:()=>l});var d=c(87462);function f(e){return"/"===e.charAt(0)}function b(e,a){for(var c=a,d=c+1,f=e.length;d=0;l--){var x=t[l];"."===x?b(t,l):".."===x?(b(t,l),s++):s&&(b(t,l),s--)}if(!i)for(;s--;s)t.unshift("..");!i||""===t[0]||t[0]&&f(t[0])||t.unshift("");var u=t.join("/");return c&&"/"!==u.substr(-1)&&(u+="/"),u};var r=c(38776);function n(e){return"/"===e.charAt(0)?e:"/"+e}function i(e){return"/"===e.charAt(0)?e.substr(1):e}function o(e,a){return function(e,a){return 0===e.toLowerCase().indexOf(a.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(a.length))}(e,a)?e.substr(a.length):e}function s(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function l(e){var a=e.pathname,c=e.search,d=e.hash,f=a||"/";return c&&"?"!==c&&(f+="?"===c.charAt(0)?c:"?"+c),d&&"#"!==d&&(f+="#"===d.charAt(0)?d:"#"+d),f}function x(e,a,c,f){var b;"string"==typeof e?(b=function(e){var a=e||"/",c="",d="",f=a.indexOf("#");-1!==f&&(d=a.substr(f),a=a.substr(0,f));var b=a.indexOf("?");return-1!==b&&(c=a.substr(b),a=a.substr(0,b)),{pathname:a,search:"?"===c?"":c,hash:"#"===d?"":d}}(e),b.state=a):(void 0===(b=(0,d.Z)({},e)).pathname&&(b.pathname=""),b.search?"?"!==b.search.charAt(0)&&(b.search="?"+b.search):b.search="",b.hash?"#"!==b.hash.charAt(0)&&(b.hash="#"+b.hash):b.hash="",void 0!==a&&void 0===b.state&&(b.state=a));try{b.pathname=decodeURI(b.pathname)}catch(r){throw r instanceof URIError?new URIError('Pathname "'+b.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):r}return c&&(b.key=c),f?b.pathname?"/"!==b.pathname.charAt(0)&&(b.pathname=t(b.pathname,f.pathname)):b.pathname=f.pathname:b.pathname||(b.pathname="/"),b}function u(){var e=null;var a=[];return{setPrompt:function(a){return e=a,function(){e===a&&(e=null)}},confirmTransitionTo:function(a,c,d,f){if(null!=e){var b="function"==typeof e?e(a,c):e;"string"==typeof b?"function"==typeof d?d(b,f):f(!0):f(!1!==b)}else f(!0)},appendListener:function(e){var c=!0;function d(){c&&e.apply(void 0,arguments)}return a.push(d),function(){c=!1,a=a.filter((function(e){return e!==d}))}},notifyListeners:function(){for(var e=arguments.length,c=new Array(e),d=0;da?c.splice(a,c.length-a,f):c.push(f),s({action:d,location:f,index:a,entries:c})}}))},replace:function(e,a){var d="REPLACE",f=x(e,a,h(),v.location);o.confirmTransitionTo(f,d,c,(function(e){e&&(v.entries[v.index]=f,s({action:d,location:f}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var a=v.index+e;return a>=0&&a{"use strict";var d=c(59864),f={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},b={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},t={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},r={};function n(e){return d.isMemo(e)?t:r[e.$$typeof]||f}r[d.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r[d.Memo]=t;var i=Object.defineProperty,o=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,x=Object.getPrototypeOf,u=Object.prototype;e.exports=function e(a,c,d){if("string"!=typeof c){if(u){var f=x(c);f&&f!==u&&e(a,f,d)}var t=o(c);s&&(t=t.concat(s(c)));for(var r=n(a),h=n(c),p=0;p{a.read=function(e,a,c,d,f){var b,t,r=8*f-d-1,n=(1<>1,o=-7,s=c?f-1:0,l=c?-1:1,x=e[a+s];for(s+=l,b=x&(1<<-o)-1,x>>=-o,o+=r;o>0;b=256*b+e[a+s],s+=l,o-=8);for(t=b&(1<<-o)-1,b>>=-o,o+=d;o>0;t=256*t+e[a+s],s+=l,o-=8);if(0===b)b=1-i;else{if(b===n)return t?NaN:1/0*(x?-1:1);t+=Math.pow(2,d),b-=i}return(x?-1:1)*t*Math.pow(2,b-d)},a.write=function(e,a,c,d,f,b){var t,r,n,i=8*b-f-1,o=(1<>1,l=23===f?Math.pow(2,-24)-Math.pow(2,-77):0,x=d?0:b-1,u=d?1:-1,h=a<0||0===a&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(r=isNaN(a)?1:0,t=o):(t=Math.floor(Math.log(a)/Math.LN2),a*(n=Math.pow(2,-t))<1&&(t--,n*=2),(a+=t+s>=1?l/n:l*Math.pow(2,1-s))*n>=2&&(t++,n/=2),t+s>=o?(r=0,t=o):t+s>=1?(r=(a*n-1)*Math.pow(2,f),t+=s):(r=a*Math.pow(2,s-1)*Math.pow(2,f),t=0));f>=8;e[c+x]=255&r,x+=u,r/=256,f-=8);for(t=t<0;e[c+x]=255&t,x+=u,t/=256,i-=8);e[c+x-u]|=128*h}},35717:e=>{"function"==typeof Object.create?e.exports=function(e,a){a&&(e.super_=a,e.prototype=Object.create(a.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,a){if(a){e.super_=a;var c=function(){};c.prototype=a.prototype,e.prototype=new c,e.prototype.constructor=e}}},41143:e=>{"use strict";e.exports=function(e,a,c,d,f,b,t,r){if(!e){var n;if(void 0===a)n=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var i=[c,d,f,b,t,r],o=0;(n=new Error(a.replace(/%s/g,(function(){return i[o++]})))).name="Invariant Violation"}throw n.framesToPop=1,n}}},5826:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},21030:(e,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;a.default=[["Serbian","\u0441\u0440\u043f\u0441\u043a\u0438 \u0458\u0435\u0437\u0438\u043a","sr","srp","srp"],["Romanian, Moldavian, Moldovan","Rom\xe2n\u0103","ro","ron","rum"],["Sichuan Yi, Nuosu","\ua188\ua320\ua4bf Nuosuhxop","ii","iii","iii"],["Tahitian","Reo Tahiti","ty","tah","tah"],["Tagalog","Wikang Tagalog","tl","tgl","tgl"],["Yiddish","\u05d9\u05d9\u05b4\u05d3\u05d9\u05e9","yi","yid","yid"],["Akan","Akan","ak","aka","aka"],["Malay","Bahasa Melayu, \u0628\u0647\u0627\u0633 \u0645\u0644\u0627\u064a\u0648\u200e","ms","msa","may"],["Arabic","\u0627\u0644\u0639\u0631\u0628\u064a\u0629","ar","ara","ara"],["Norwegian","Norsk","no","nor","nor"],["Ojibwa","\u140a\u14c2\u1511\u14c8\u142f\u14a7\u140e\u14d0","oj","oji","oji"],["Fulah","Fulfulde, Pulaar, Pular","ff","ful","ful"],["Persian","\u0641\u0627\u0631\u0633\u06cc","fa","fas","per"],["Albanian","Shqip","sq","sqi","alb"],["Aymara","aymar aru","ay","aym","aym"],["Azerbaijani","az\u0259rbaycan dili","az","aze","aze"],["Chinese","\u4e2d\u6587 (Zh\u014dngw\xe9n), \u6c49\u8bed, \u6f22\u8a9e","zh","zho","chi"],["Cree","\u14c0\u1426\u1403\u152d\u140d\u140f\u1423","cr","cre","cre"],["Estonian","eesti, eesti keel","et","est","est"],["Guaran\xed","Ava\xf1e'\u1ebd","gn","grn","grn"],["Inupiaq","I\xf1upiaq, I\xf1upiatun","ik","ipk","ipk"],["Inuktitut","\u1403\u14c4\u1483\u144e\u1450\u1466","iu","iku","iku"],["Kanuri","Kanuri","kr","kau","kau"],["Komi","\u043a\u043e\u043c\u0438 \u043a\u044b\u0432","kv","kom","kom"],["Kongo","Kikongo","kg","kon","kon"],["Kurdish","Kurd\xee, \u06a9\u0648\u0631\u062f\u06cc\u200e","ku","kur","kur"],["Latvian","latvie\u0161u valoda","lv","lav","lav"],["Malagasy","fiteny malagasy","mg","mlg","mlg"],["Mongolian","\u041c\u043e\u043d\u0433\u043e\u043b \u0445\u044d\u043b","mn","mon","mon"],["Oromo","Afaan Oromoo","om","orm","orm"],["Pashto, Pushto","\u067e\u069a\u062a\u0648","ps","pus","pus"],["Quechua","Runa Simi, Kichwa","qu","que","que"],["Sardinian","sardu","sc","srd","srd"],["Swahili","Kiswahili","sw","swa","swa"],["Uzbek","O\u02bbzbek, \u040e\u0437\u0431\u0435\u043a, \u0623\u06c7\u0632\u0628\u06d0\u0643\u200e","uz","uzb","uzb"],["Zhuang, Chuang","Sa\u026f cue\u014b\u0185, Saw cuengh","za","zha","zha"],["Bislama","Bislama","bi","bis","bis"],["Norwegian Bokm\xe5l","Norsk Bokm\xe5l","nb","nob","nob"],["Norwegian Nynorsk","Norsk Nynorsk","nn","nno","nno"],["Indonesian","Bahasa Indonesia","id","ind","ind"],["Twi","Twi","tw","twi","twi"],["Esperanto","Esperanto","eo","epo","epo"],["Interlingua","Interlingua","ia","ina","ina"],["Interlingue","Originally called Occidental; then Interlingue after WWII","ie","ile","ile"],["Ido","Ido","io","ido","ido"],["Volap\xfck","Volap\xfck","vo","vol","vol"],["Bihari languages","\u092d\u094b\u091c\u092a\u0941\u0930\u0940","bh","bih","bih"],["Hebrew (modern)","\u05e2\u05d1\u05e8\u05d9\u05ea","he","heb","heb"],["Sanskrit","\u0938\u0902\u0938\u094d\u0915\u0943\u0924\u092e\u094d","sa","san","san"],["Church Slavic, Church Slavonic, Old Church Slavonic, Old Slavonic, Old Bulgarian","\u0469\u0437\u044b\u043a\u044a \u0441\u043b\u043e\u0432\u0463\u043d\u044c\u0441\u043a\u044a","cu","chu","chu"],["Pali","\u092a\u093e\u0934\u093f","pi","pli","pli"],["Avestan","avesta","ae","ave","ave"],["Latin","latine, lingua latina","la","lat","lat"],["Armenian","\u0540\u0561\u0575\u0565\u0580\u0565\u0576","hy","hye","arm"],["Swati","SiSwati","ss","ssw","ssw"],["Tibetan","\u0f56\u0f7c\u0f51\u0f0b\u0f61\u0f72\u0f42","bo","bod","tib"],["South Ndebele","isiNdebele","nr","nbl","nbl"],["Slovene","Slovenski Jezik, Sloven\u0161\u010dina","sl","slv","slv"],["Oriya","\u0b13\u0b21\u0b3c\u0b3f\u0b06","or","ori","ori"],["North Ndebele","isiNdebele","nd","nde","nde"],["Nauru","Dorerin Naoero","na","nau","nau"],["Maori","te reo M\u0101ori","mi","mri","mao"],["Marathi","\u092e\u0930\u093e\u0920\u0940","mr","mar","mar"],["Luba-Katanga","Kiluba","lu","lub","lub"],["Rundi","Ikirundi","rn","run","run"],["Central Khmer","\u1781\u17d2\u1798\u17c2\u179a, \u1781\u17c1\u1798\u179a\u1797\u17b6\u179f\u17b6, \u1797\u17b6\u179f\u17b6\u1781\u17d2\u1798\u17c2\u179a","km","khm","khm"],["Western Frisian","Frysk","fy","fry","fry"],["Bengali","\u09ac\u09be\u0982\u09b2\u09be","bn","ben","ben"],["Avaric","\u0430\u0432\u0430\u0440 \u043c\u0430\u0446\u04c0, \u043c\u0430\u0433\u04c0\u0430\u0440\u0443\u043b \u043c\u0430\u0446\u04c0","av","ava","ava"],["Abkhazian","\u0430\u04a7\u0441\u0443\u0430 \u0431\u044b\u0437\u0448\u04d9\u0430, \u0430\u04a7\u0441\u0448\u04d9\u0430","ab","abk","abk"],["Afar","Afaraf","aa","aar","aar"],["Afrikaans","Afrikaans","af","afr","afr"],["Amharic","\u12a0\u121b\u122d\u129b","am","amh","amh"],["Aragonese","aragon\xe9s","an","arg","arg"],["Assamese","\u0985\u09b8\u09ae\u09c0\u09af\u09bc\u09be","as","asm","asm"],["Bambara","bamanankan","bm","bam","bam"],["Bashkir","\u0431\u0430\u0448\u04a1\u043e\u0440\u0442 \u0442\u0435\u043b\u0435","ba","bak","bak"],["Basque","euskara, euskera","eu","eus","baq"],["Belarusian","\u0431\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0430\u044f \u043c\u043e\u0432\u0430","be","bel","bel"],["Bosnian","bosanski jezik","bs","bos","bos"],["Breton","brezhoneg","br","bre","bre"],["Bulgarian","\u0431\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438 \u0435\u0437\u0438\u043a","bg","bul","bul"],["Burmese","\u1017\u1019\u102c\u1005\u102c","my","mya","bur"],["Catalan, Valencian","catal\xe0, valenci\xe0","ca","cat","cat"],["Chamorro","Chamoru","ch","cha","cha"],["Chechen","\u043d\u043e\u0445\u0447\u0438\u0439\u043d \u043c\u043e\u0442\u0442","ce","che","che"],["Chichewa, Chewa, Nyanja","chiChe\u0175a, chinyanja","ny","nya","nya"],["Chuvash","\u0447\u04d1\u0432\u0430\u0448 \u0447\u04d7\u043b\u0445\u0438","cv","chv","chv"],["Cornish","Kernewek","kw","cor","cor"],["Corsican","corsu, lingua corsa","co","cos","cos"],["Croatian","hrvatski jezik","hr","hrv","hrv"],["Czech","\u010de\u0161tina, \u010desk\xfd jazyk","cs","ces","cze"],["Danish","dansk","da","dan","dan"],["Divehi, Dhivehi, Maldivian","\u078b\u07a8\u0788\u07ac\u0780\u07a8","dv","div","div"],["Dutch, Flemish","Nederlands, Vlaams","nl","nld","dut"],["Dzongkha","\u0f62\u0fab\u0f7c\u0f44\u0f0b\u0f41","dz","dzo","dzo"],["English","English","en","eng","eng"],["Ewe","E\u028begbe","ee","ewe","ewe"],["Faroese","f\xf8royskt","fo","fao","fao"],["Fijian","vosa Vakaviti","fj","fij","fij"],["Finnish","suomi, suomen kieli","fi","fin","fin"],["French","fran\xe7ais, langue fran\xe7aise","fr","fra","fre"],["Galician","Galego","gl","glg","glg"],["Georgian","\u10e5\u10d0\u10e0\u10d7\u10e3\u10da\u10d8","ka","kat","geo"],["German","Deutsch","de","deu","ger"],["Greek (modern)","\u03b5\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac","el","ell","gre"],["Gujarati","\u0a97\u0ac1\u0a9c\u0ab0\u0abe\u0aa4\u0ac0","gu","guj","guj"],["Haitian, Haitian Creole","Krey\xf2l ayisyen","ht","hat","hat"],["Hausa","(Hausa) \u0647\u064e\u0648\u064f\u0633\u064e","ha","hau","hau"],["Herero","Otjiherero","hz","her","her"],["Hindi","\u0939\u093f\u0928\u094d\u0926\u0940, \u0939\u093f\u0902\u0926\u0940","hi","hin","hin"],["Hiri Motu","Hiri Motu","ho","hmo","hmo"],["Hungarian","magyar","hu","hun","hun"],["Irish","Gaeilge","ga","gle","gle"],["Igbo","As\u1ee5s\u1ee5 Igbo","ig","ibo","ibo"],["Icelandic","\xcdslenska","is","isl","ice"],["Italian","Italiano","it","ita","ita"],["Japanese","\u65e5\u672c\u8a9e (\u306b\u307b\u3093\u3054)","ja","jpn","jpn"],["Javanese","\ua9a7\ua9b1\ua997\ua9ae, Basa Jawa","jv","jav","jav"],["Kalaallisut, Greenlandic","kalaallisut, kalaallit oqaasii","kl","kal","kal"],["Kannada","\u0c95\u0ca8\u0ccd\u0ca8\u0ca1","kn","kan","kan"],["Kashmiri","\u0915\u0936\u094d\u092e\u0940\u0930\u0940, \u0643\u0634\u0645\u064a\u0631\u064a\u200e","ks","kas","kas"],["Kazakh","\u049b\u0430\u0437\u0430\u049b \u0442\u0456\u043b\u0456","kk","kaz","kaz"],["Kikuyu, Gikuyu","G\u0129k\u0169y\u0169","ki","kik","kik"],["Kinyarwanda","Ikinyarwanda","rw","kin","kin"],["Kirghiz, Kyrgyz","\u041a\u044b\u0440\u0433\u044b\u0437\u0447\u0430, \u041a\u044b\u0440\u0433\u044b\u0437 \u0442\u0438\u043b\u0438","ky","kir","kir"],["Korean","\ud55c\uad6d\uc5b4","ko","kor","kor"],["Kuanyama, Kwanyama","Kuanyama","kj","kua","kua"],["Luxembourgish, Letzeburgesch","L\xebtzebuergesch","lb","ltz","ltz"],["Ganda","Luganda","lg","lug","lug"],["Limburgan, Limburger, Limburgish","Limburgs","li","lim","lim"],["Lingala","Ling\xe1la","ln","lin","lin"],["Lao","\u0e9e\u0eb2\u0eaa\u0eb2\u0ea5\u0eb2\u0ea7","lo","lao","lao"],["Lithuanian","lietuvi\u0173 kalba","lt","lit","lit"],["Manx","Gaelg, Gailck","gv","glv","glv"],["Macedonian","\u043c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438 \u0458\u0430\u0437\u0438\u043a","mk","mkd","mac"],["Malayalam","\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02","ml","mal","mal"],["Maltese","Malti","mt","mlt","mlt"],["Marshallese","Kajin M\u0327aje\u013c","mh","mah","mah"],["Navajo, Navaho","Din\xe9 bizaad","nv","nav","nav"],["Nepali","\u0928\u0947\u092a\u093e\u0932\u0940","ne","nep","nep"],["Ndonga","Owambo","ng","ndo","ndo"],["Occitan","occitan, lenga d'\xf2c","oc","oci","oci"],["Ossetian, Ossetic","\u0438\u0440\u043e\u043d \xe6\u0432\u0437\u0430\u0433","os","oss","oss"],["Panjabi, Punjabi","\u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40","pa","pan","pan"],["Polish","j\u0119zyk polski, polszczyzna","pl","pol","pol"],["Portuguese","Portugu\xeas","pt","por","por"],["Romansh","Rumantsch Grischun","rm","roh","roh"],["Russian","\u0440\u0443\u0441\u0441\u043a\u0438\u0439","ru","rus","rus"],["Sindhi","\u0938\u093f\u0928\u094d\u0927\u0940, \u0633\u0646\u068c\u064a\u060c \u0633\u0646\u062f\u06be\u06cc\u200e","sd","snd","snd"],["Northern Sami","Davvis\xe1megiella","se","sme","sme"],["Samoan","gagana fa'a Samoa","sm","smo","smo"],["Sango","y\xe2ng\xe2 t\xee s\xe4ng\xf6","sg","sag","sag"],["Gaelic, Scottish Gaelic","G\xe0idhlig","gd","gla","gla"],["Shona","chiShona","sn","sna","sna"],["Sinhala, Sinhalese","\u0dc3\u0dd2\u0d82\u0dc4\u0dbd","si","sin","sin"],["Slovak","Sloven\u010dina, Slovensk\xfd Jazyk","sk","slk","slo"],["Somali","Soomaaliga, af Soomaali","so","som","som"],["Southern Sotho","Sesotho","st","sot","sot"],["Spanish, Castilian","Espa\xf1ol","es","spa","spa"],["Sundanese","Basa Sunda","su","sun","sun"],["Swedish","Svenska","sv","swe","swe"],["Tamil","\u0ba4\u0bae\u0bbf\u0bb4\u0bcd","ta","tam","tam"],["Telugu","\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41","te","tel","tel"],["Tajik","\u0442\u043e\u04b7\u0438\u043a\u04e3, to\xe7ik\u012b, \u062a\u0627\u062c\u06cc\u06a9\u06cc\u200e","tg","tgk","tgk"],["Thai","\u0e44\u0e17\u0e22","th","tha","tha"],["Tigrinya","\u1275\u130d\u122d\u129b","ti","tir","tir"],["Turkmen","T\xfcrkmen, \u0422\u04af\u0440\u043a\u043c\u0435\u043d","tk","tuk","tuk"],["Tswana","Setswana","tn","tsn","tsn"],["Tongan (Tonga Islands)","Faka Tonga","to","ton","ton"],["Turkish","T\xfcrk\xe7e","tr","tur","tur"],["Tsonga","Xitsonga","ts","tso","tso"],["Tatar","\u0442\u0430\u0442\u0430\u0440 \u0442\u0435\u043b\u0435, tatar tele","tt","tat","tat"],["Uighur, Uyghur","\u0626\u06c7\u064a\u063a\u06c7\u0631\u0686\u06d5\u200e, Uyghurche","ug","uig","uig"],["Ukrainian","\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430","uk","ukr","ukr"],["Urdu","\u0627\u0631\u062f\u0648","ur","urd","urd"],["Venda","Tshiven\u1e13a","ve","ven","ven"],["Vietnamese","Ti\u1ebfng Vi\u1ec7t","vi","vie","vie"],["Walloon","Walon","wa","wln","wln"],["Welsh","Cymraeg","cy","cym","wel"],["Wolof","Wollof","wo","wol","wol"],["Xhosa","isiXhosa","xh","xho","xho"],["Yoruba","Yor\xf9b\xe1","yo","yor","yor"],["Zulu","isiZulu","zu","zul","zul"]]},5627:(e,a,c)=>{"use strict";a.M1=void 0;var d,f=(d=c(21030))&&d.__esModule?d:{default:d};var b=[],t={},r={},n={};a.M1=t,f.default.forEach((function(e){var a={name:e[0],nativeName:e[1],iso639_1:e[2],iso639_2T:e[3],iso639_2B:e[4]};t[e[2]]=r[e[3]]=n[e[4]]=a,b.push(a)}))},72023:(e,a,c)=>{var d,f=c(34155);!function(){"use strict";var a="input is invalid type",b="object"==typeof window,t=b?window:{};t.JS_SHA256_NO_WINDOW&&(b=!1);var r=!b&&"object"==typeof self,n=!t.JS_SHA256_NO_NODE_JS&&"object"==typeof f&&f.versions&&f.versions.node;n?t=c.g:r&&(t=self);var i=!t.JS_SHA256_NO_COMMON_JS&&e.exports,o=c.amdO,s=!t.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,l="0123456789abcdef".split(""),x=[-2147483648,8388608,32768,128],u=[24,16,8,0],h=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],p=["hex","array","digest","arrayBuffer"],m=[];!t.JS_SHA256_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!s||!t.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"==typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});var g=function(e,a){return function(c){return new S(a,!0).update(c)[e]()}},y=function(e){var a=g("hex",e);n&&(a=v(a,e)),a.create=function(){return new S(e)},a.update=function(e){return a.create().update(e)};for(var c=0;c>6,r[i++]=128|63&t):t<55296||t>=57344?(r[i++]=224|t>>12,r[i++]=128|t>>6&63,r[i++]=128|63&t):(t=65536+((1023&t)<<10|1023&e.charCodeAt(++f)),r[i++]=240|t>>18,r[i++]=128|t>>12&63,r[i++]=128|t>>6&63,r[i++]=128|63&t);e=r}else{if("object"!==b)throw new Error(a);if(null===e)throw new Error(a);if(s&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||s&&ArrayBuffer.isView(e)))throw new Error(a)}e.length>64&&(e=new S(c,!0).update(e).array());var o=[],l=[];for(f=0;f<64;++f){var x=e[f]||0;o[f]=92^x,l[f]=54^x}S.call(this,c,d),this.update(l),this.oKeyPad=o,this.inner=!0,this.sharedMemory=d}S.prototype.update=function(e){if(!this.finalized){var c,d=typeof e;if("string"!==d){if("object"!==d)throw new Error(a);if(null===e)throw new Error(a);if(s&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||s&&ArrayBuffer.isView(e)))throw new Error(a);c=!0}for(var f,b,t=0,r=e.length,n=this.blocks;t>2]|=e[t]<>2]|=f<>2]|=(192|f>>6)<>2]|=(128|63&f)<=57344?(n[b>>2]|=(224|f>>12)<>2]|=(128|f>>6&63)<>2]|=(128|63&f)<>2]|=(240|f>>18)<>2]|=(128|f>>12&63)<>2]|=(128|f>>6&63)<>2]|=(128|63&f)<=64?(this.block=n[16],this.start=b-64,this.hash(),this.hashed=!0):this.start=b}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},S.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,a=this.lastByteIndex;e[16]=this.block,e[a>>2]|=x[3&a],this.block=e[16],a>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},S.prototype.hash=function(){var e,a,c,d,f,b,t,r,n,i=this.h0,o=this.h1,s=this.h2,l=this.h3,x=this.h4,u=this.h5,p=this.h6,m=this.h7,g=this.blocks;for(e=16;e<64;++e)a=((f=g[e-15])>>>7|f<<25)^(f>>>18|f<<14)^f>>>3,c=((f=g[e-2])>>>17|f<<15)^(f>>>19|f<<13)^f>>>10,g[e]=g[e-16]+a+g[e-7]+c<<0;for(n=o&s,e=0;e<64;e+=4)this.first?(this.is224?(b=300032,m=(f=g[0]-1413257819)-150054599<<0,l=f+24177077<<0):(b=704751109,m=(f=g[0]-210244248)-1521486534<<0,l=f+143694565<<0),this.first=!1):(a=(i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10),d=(b=i&o)^i&s^n,m=l+(f=m+(c=(x>>>6|x<<26)^(x>>>11|x<<21)^(x>>>25|x<<7))+(x&u^~x&p)+h[e]+g[e])<<0,l=f+(a+d)<<0),a=(l>>>2|l<<30)^(l>>>13|l<<19)^(l>>>22|l<<10),d=(t=l&i)^l&o^b,p=s+(f=p+(c=(m>>>6|m<<26)^(m>>>11|m<<21)^(m>>>25|m<<7))+(m&x^~m&u)+h[e+1]+g[e+1])<<0,a=((s=f+(a+d)<<0)>>>2|s<<30)^(s>>>13|s<<19)^(s>>>22|s<<10),d=(r=s&l)^s&i^t,u=o+(f=u+(c=(p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7))+(p&m^~p&x)+h[e+2]+g[e+2])<<0,a=((o=f+(a+d)<<0)>>>2|o<<30)^(o>>>13|o<<19)^(o>>>22|o<<10),d=(n=o&s)^o&l^r,x=i+(f=x+(c=(u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&p^~u&m)+h[e+3]+g[e+3])<<0,i=f+(a+d)<<0,this.chromeBugWorkAround=!0;this.h0=this.h0+i<<0,this.h1=this.h1+o<<0,this.h2=this.h2+s<<0,this.h3=this.h3+l<<0,this.h4=this.h4+x<<0,this.h5=this.h5+u<<0,this.h6=this.h6+p<<0,this.h7=this.h7+m<<0},S.prototype.hex=function(){this.finalize();var e=this.h0,a=this.h1,c=this.h2,d=this.h3,f=this.h4,b=this.h5,t=this.h6,r=this.h7,n=l[e>>28&15]+l[e>>24&15]+l[e>>20&15]+l[e>>16&15]+l[e>>12&15]+l[e>>8&15]+l[e>>4&15]+l[15&e]+l[a>>28&15]+l[a>>24&15]+l[a>>20&15]+l[a>>16&15]+l[a>>12&15]+l[a>>8&15]+l[a>>4&15]+l[15&a]+l[c>>28&15]+l[c>>24&15]+l[c>>20&15]+l[c>>16&15]+l[c>>12&15]+l[c>>8&15]+l[c>>4&15]+l[15&c]+l[d>>28&15]+l[d>>24&15]+l[d>>20&15]+l[d>>16&15]+l[d>>12&15]+l[d>>8&15]+l[d>>4&15]+l[15&d]+l[f>>28&15]+l[f>>24&15]+l[f>>20&15]+l[f>>16&15]+l[f>>12&15]+l[f>>8&15]+l[f>>4&15]+l[15&f]+l[b>>28&15]+l[b>>24&15]+l[b>>20&15]+l[b>>16&15]+l[b>>12&15]+l[b>>8&15]+l[b>>4&15]+l[15&b]+l[t>>28&15]+l[t>>24&15]+l[t>>20&15]+l[t>>16&15]+l[t>>12&15]+l[t>>8&15]+l[t>>4&15]+l[15&t];return this.is224||(n+=l[r>>28&15]+l[r>>24&15]+l[r>>20&15]+l[r>>16&15]+l[r>>12&15]+l[r>>8&15]+l[r>>4&15]+l[15&r]),n},S.prototype.toString=S.prototype.hex,S.prototype.digest=function(){this.finalize();var e=this.h0,a=this.h1,c=this.h2,d=this.h3,f=this.h4,b=this.h5,t=this.h6,r=this.h7,n=[e>>24&255,e>>16&255,e>>8&255,255&e,a>>24&255,a>>16&255,a>>8&255,255&a,c>>24&255,c>>16&255,c>>8&255,255&c,d>>24&255,d>>16&255,d>>8&255,255&d,f>>24&255,f>>16&255,f>>8&255,255&f,b>>24&255,b>>16&255,b>>8&255,255&b,t>>24&255,t>>16&255,t>>8&255,255&t];return this.is224||n.push(r>>24&255,r>>16&255,r>>8&255,255&r),n},S.prototype.array=S.prototype.digest,S.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(this.is224?28:32),a=new DataView(e);return a.setUint32(0,this.h0),a.setUint32(4,this.h1),a.setUint32(8,this.h2),a.setUint32(12,this.h3),a.setUint32(16,this.h4),a.setUint32(20,this.h5),a.setUint32(24,this.h6),this.is224||a.setUint32(28,this.h7),e},E.prototype=new S,E.prototype.finalize=function(){if(S.prototype.finalize.call(this),this.inner){this.inner=!1;var e=this.array();S.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(e),S.prototype.finalize.call(this)}};var A=y();A.sha256=A,A.sha224=y(!0),A.sha256.hmac=w(),A.sha224.hmac=w(!0),i?e.exports=A:(t.sha256=A.sha256,t.sha224=A.sha224,o&&(void 0===(d=function(){return A}.call(A,c,A,e))||(e.exports=d)))}()},91094:(e,a,c)=>{var d,f=c(34155);!function(){"use strict";var b="input is invalid type",t="object"==typeof window,r=t?window:{};r.JS_SHA3_NO_WINDOW&&(t=!1);var n=!t&&"object"==typeof self;!r.JS_SHA3_NO_NODE_JS&&"object"==typeof f&&f.versions&&f.versions.node?r=c.g:n&&(r=self);var i=!r.JS_SHA3_NO_COMMON_JS&&e.exports,o=c.amdO,s=!r.JS_SHA3_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,l="0123456789abcdef".split(""),x=[4,1024,262144,67108864],u=[0,8,16,24],h=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],p=[224,256,384,512],m=[128,256],g=["hex","buffer","arrayBuffer","array","digest"],y={128:168,256:136};!r.JS_SHA3_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!s||!r.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"==typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});for(var v=function(e,a,c){return function(d){return new O(e,a,e).update(d)[c]()}},_=function(e,a,c){return function(d,f){return new O(e,a,f).update(d)[c]()}},w=function(e,a,c){return function(a,d,f,b){return I["cshake"+e].update(a,d,f,b)[c]()}},S=function(e,a,c){return function(a,d,f,b){return I["kmac"+e].update(a,d,f,b)[c]()}},E=function(e,a,c,d){for(var f=0;f>5,this.byteCount=this.blockCount<<2,this.outputBlocks=c>>5,this.extraBytes=(31&c)>>3;for(var d=0;d<50;++d)this.s[d]=0}function N(e,a,c){O.call(this,e,a,c)}O.prototype.update=function(e){if(this.finalized)throw new Error("finalize already called");var a,c=typeof e;if("string"!==c){if("object"!==c)throw new Error(b);if(null===e)throw new Error(b);if(s&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||s&&ArrayBuffer.isView(e)))throw new Error(b);a=!0}for(var d,f,t=this.blocks,r=this.byteCount,n=e.length,i=this.blockCount,o=0,l=this.s;o>2]|=e[o]<>2]|=f<>2]|=(192|f>>6)<>2]|=(128|63&f)<=57344?(t[d>>2]|=(224|f>>12)<>2]|=(128|f>>6&63)<>2]|=(128|63&f)<>2]|=(240|f>>18)<>2]|=(128|f>>12&63)<>2]|=(128|f>>6&63)<>2]|=(128|63&f)<=r){for(this.start=d-r,this.block=t[i],d=0;d>=8);c>0;)f.unshift(c),c=255&(e>>=8),++d;return a?f.push(d):f.unshift(d),this.update(f),f.length},O.prototype.encodeString=function(e){var a,c=typeof e;if("string"!==c){if("object"!==c)throw new Error(b);if(null===e)throw new Error(b);if(s&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!(Array.isArray(e)||s&&ArrayBuffer.isView(e)))throw new Error(b);a=!0}var d=0,f=e.length;if(a)d=f;else for(var t=0;t=57344?d+=3:(r=65536+((1023&r)<<10|1023&e.charCodeAt(++t)),d+=4)}return d+=this.encode(8*d),this.update(e),d},O.prototype.bytepad=function(e,a){for(var c=this.encode(a),d=0;d>2]|=this.padding[3&a],this.lastByteIndex===this.byteCount)for(e[0]=e[c],a=1;a>4&15]+l[15&e]+l[e>>12&15]+l[e>>8&15]+l[e>>20&15]+l[e>>16&15]+l[e>>28&15]+l[e>>24&15];t%a==0&&(F(c),b=0)}return f&&(e=c[b],r+=l[e>>4&15]+l[15&e],f>1&&(r+=l[e>>12&15]+l[e>>8&15]),f>2&&(r+=l[e>>20&15]+l[e>>16&15])),r},O.prototype.arrayBuffer=function(){this.finalize();var e,a=this.blockCount,c=this.s,d=this.outputBlocks,f=this.extraBytes,b=0,t=0,r=this.outputBits>>3;e=f?new ArrayBuffer(d+1<<2):new ArrayBuffer(r);for(var n=new Uint32Array(e);t>8&255,n[e+2]=a>>16&255,n[e+3]=a>>24&255;r%c==0&&F(d)}return b&&(e=r<<2,a=d[t],n[e]=255&a,b>1&&(n[e+1]=a>>8&255),b>2&&(n[e+2]=a>>16&255)),n},N.prototype=new O,N.prototype.finalize=function(){return this.encode(this.outputBits,!0),O.prototype.finalize.call(this)};var F=function(e){var a,c,d,f,b,t,r,n,i,o,s,l,x,u,p,m,g,y,v,_,w,S,E,A,k,I,C,L,T,P,R,M,B,O,N,F,D,U,j,z,q,K,V,$,H,G,W,Z,Q,Y,J,X,ee,ae,ce,de,fe,be,te,re,ne,ie,oe;for(d=0;d<48;d+=2)f=e[0]^e[10]^e[20]^e[30]^e[40],b=e[1]^e[11]^e[21]^e[31]^e[41],t=e[2]^e[12]^e[22]^e[32]^e[42],r=e[3]^e[13]^e[23]^e[33]^e[43],n=e[4]^e[14]^e[24]^e[34]^e[44],i=e[5]^e[15]^e[25]^e[35]^e[45],o=e[6]^e[16]^e[26]^e[36]^e[46],s=e[7]^e[17]^e[27]^e[37]^e[47],a=(l=e[8]^e[18]^e[28]^e[38]^e[48])^(t<<1|r>>>31),c=(x=e[9]^e[19]^e[29]^e[39]^e[49])^(r<<1|t>>>31),e[0]^=a,e[1]^=c,e[10]^=a,e[11]^=c,e[20]^=a,e[21]^=c,e[30]^=a,e[31]^=c,e[40]^=a,e[41]^=c,a=f^(n<<1|i>>>31),c=b^(i<<1|n>>>31),e[2]^=a,e[3]^=c,e[12]^=a,e[13]^=c,e[22]^=a,e[23]^=c,e[32]^=a,e[33]^=c,e[42]^=a,e[43]^=c,a=t^(o<<1|s>>>31),c=r^(s<<1|o>>>31),e[4]^=a,e[5]^=c,e[14]^=a,e[15]^=c,e[24]^=a,e[25]^=c,e[34]^=a,e[35]^=c,e[44]^=a,e[45]^=c,a=n^(l<<1|x>>>31),c=i^(x<<1|l>>>31),e[6]^=a,e[7]^=c,e[16]^=a,e[17]^=c,e[26]^=a,e[27]^=c,e[36]^=a,e[37]^=c,e[46]^=a,e[47]^=c,a=o^(f<<1|b>>>31),c=s^(b<<1|f>>>31),e[8]^=a,e[9]^=c,e[18]^=a,e[19]^=c,e[28]^=a,e[29]^=c,e[38]^=a,e[39]^=c,e[48]^=a,e[49]^=c,u=e[0],p=e[1],G=e[11]<<4|e[10]>>>28,W=e[10]<<4|e[11]>>>28,L=e[20]<<3|e[21]>>>29,T=e[21]<<3|e[20]>>>29,re=e[31]<<9|e[30]>>>23,ne=e[30]<<9|e[31]>>>23,K=e[40]<<18|e[41]>>>14,V=e[41]<<18|e[40]>>>14,O=e[2]<<1|e[3]>>>31,N=e[3]<<1|e[2]>>>31,m=e[13]<<12|e[12]>>>20,g=e[12]<<12|e[13]>>>20,Z=e[22]<<10|e[23]>>>22,Q=e[23]<<10|e[22]>>>22,P=e[33]<<13|e[32]>>>19,R=e[32]<<13|e[33]>>>19,ie=e[42]<<2|e[43]>>>30,oe=e[43]<<2|e[42]>>>30,ae=e[5]<<30|e[4]>>>2,ce=e[4]<<30|e[5]>>>2,F=e[14]<<6|e[15]>>>26,D=e[15]<<6|e[14]>>>26,y=e[25]<<11|e[24]>>>21,v=e[24]<<11|e[25]>>>21,Y=e[34]<<15|e[35]>>>17,J=e[35]<<15|e[34]>>>17,M=e[45]<<29|e[44]>>>3,B=e[44]<<29|e[45]>>>3,A=e[6]<<28|e[7]>>>4,k=e[7]<<28|e[6]>>>4,de=e[17]<<23|e[16]>>>9,fe=e[16]<<23|e[17]>>>9,U=e[26]<<25|e[27]>>>7,j=e[27]<<25|e[26]>>>7,_=e[36]<<21|e[37]>>>11,w=e[37]<<21|e[36]>>>11,X=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,$=e[8]<<27|e[9]>>>5,H=e[9]<<27|e[8]>>>5,I=e[18]<<20|e[19]>>>12,C=e[19]<<20|e[18]>>>12,be=e[29]<<7|e[28]>>>25,te=e[28]<<7|e[29]>>>25,z=e[38]<<8|e[39]>>>24,q=e[39]<<8|e[38]>>>24,S=e[48]<<14|e[49]>>>18,E=e[49]<<14|e[48]>>>18,e[0]=u^~m&y,e[1]=p^~g&v,e[10]=A^~I&L,e[11]=k^~C&T,e[20]=O^~F&U,e[21]=N^~D&j,e[30]=$^~G&Z,e[31]=H^~W&Q,e[40]=ae^~de&be,e[41]=ce^~fe&te,e[2]=m^~y&_,e[3]=g^~v&w,e[12]=I^~L&P,e[13]=C^~T&R,e[22]=F^~U&z,e[23]=D^~j&q,e[32]=G^~Z&Y,e[33]=W^~Q&J,e[42]=de^~be&re,e[43]=fe^~te&ne,e[4]=y^~_&S,e[5]=v^~w&E,e[14]=L^~P&M,e[15]=T^~R&B,e[24]=U^~z&K,e[25]=j^~q&V,e[34]=Z^~Y&X,e[35]=Q^~J&ee,e[44]=be^~re&ie,e[45]=te^~ne&oe,e[6]=_^~S&u,e[7]=w^~E&p,e[16]=P^~M&A,e[17]=R^~B&k,e[26]=z^~K&O,e[27]=q^~V&N,e[36]=Y^~X&$,e[37]=J^~ee&H,e[46]=re^~ie&ae,e[47]=ne^~oe&ce,e[8]=S^~u&m,e[9]=E^~p&g,e[18]=M^~A&I,e[19]=B^~k&C,e[28]=K^~O&F,e[29]=V^~N&D,e[38]=X^~$&G,e[39]=ee^~H&W,e[48]=ie^~ae&de,e[49]=oe^~ce&fe,e[0]^=h[d],e[1]^=h[d+1]};if(i)e.exports=I;else{for(L=0;L{e=c.nmd(e);var d="__lodash_hash_undefined__",f=9007199254740991,b="[object Arguments]",t="[object Function]",r="[object Object]",n=/^\[object .+?Constructor\]$/,i=/^(?:0|[1-9]\d*)$/,o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o[b]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o[t]=o["[object Map]"]=o["[object Number]"]=o[r]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1;var s="object"==typeof c.g&&c.g&&c.g.Object===Object&&c.g,l="object"==typeof self&&self&&self.Object===Object&&self,x=s||l||Function("return this")(),u=a&&!a.nodeType&&a,h=u&&e&&!e.nodeType&&e,p=h&&h.exports===u,m=p&&s.process,g=function(){try{var e=h&&h.require&&h.require("util").types;return e||m&&m.binding&&m.binding("util")}catch(a){}}(),y=g&&g.isTypedArray;function v(e,a,c){switch(c.length){case 0:return e.call(a);case 1:return e.call(a,c[0]);case 2:return e.call(a,c[0],c[1]);case 3:return e.call(a,c[0],c[1],c[2])}return e.apply(a,c)}var _,w,S,E=Array.prototype,A=Function.prototype,k=Object.prototype,I=x["__core-js_shared__"],C=A.toString,L=k.hasOwnProperty,T=(_=/[^.]+$/.exec(I&&I.keys&&I.keys.IE_PROTO||""))?"Symbol(src)_1."+_:"",P=k.toString,R=C.call(Object),M=RegExp("^"+C.call(L).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),B=p?x.Buffer:void 0,O=x.Symbol,N=x.Uint8Array,F=B?B.allocUnsafe:void 0,D=(w=Object.getPrototypeOf,S=Object,function(e){return w(S(e))}),U=Object.create,j=k.propertyIsEnumerable,z=E.splice,q=O?O.toStringTag:void 0,K=function(){try{var e=he(Object,"defineProperty");return e({},"",{}),e}catch(a){}}(),V=B?B.isBuffer:void 0,$=Math.max,H=Date.now,G=he(x,"Map"),W=he(Object,"create"),Z=function(){function e(){}return function(a){if(!Ie(a))return{};if(U)return U(a);e.prototype=a;var c=new e;return e.prototype=void 0,c}}();function Q(e){var a=-1,c=null==e?0:e.length;for(this.clear();++a-1},Y.prototype.set=function(e,a){var c=this.__data__,d=de(c,e);return d<0?(++this.size,c.push([e,a])):c[d][1]=a,this},J.prototype.clear=function(){this.size=0,this.__data__={hash:new Q,map:new(G||Y),string:new Q}},J.prototype.delete=function(e){var a=ue(this,e).delete(e);return this.size-=a?1:0,a},J.prototype.get=function(e){return ue(this,e).get(e)},J.prototype.has=function(e){return ue(this,e).has(e)},J.prototype.set=function(e,a){var c=ue(this,e),d=c.size;return c.set(e,a),this.size+=c.size==d?0:1,this},X.prototype.clear=function(){this.__data__=new Y,this.size=0},X.prototype.delete=function(e){var a=this.__data__,c=a.delete(e);return this.size=a.size,c},X.prototype.get=function(e){return this.__data__.get(e)},X.prototype.has=function(e){return this.__data__.has(e)},X.prototype.set=function(e,a){var c=this.__data__;if(c instanceof Y){var d=c.__data__;if(!G||d.length<199)return d.push([e,a]),this.size=++c.size,this;c=this.__data__=new J(d)}return c.set(e,a),this.size=c.size,this};var be,te=function(e,a,c){for(var d=-1,f=Object(e),b=c(e),t=b.length;t--;){var r=b[be?t:++d];if(!1===a(f[r],r,f))break}return e};function re(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":q&&q in Object(e)?function(e){var a=L.call(e,q),c=e[q];try{e[q]=void 0;var d=!0}catch(b){}var f=P.call(e);d&&(a?e[q]=c:delete e[q]);return f}(e):function(e){return P.call(e)}(e)}function ne(e){return Ce(e)&&re(e)==b}function ie(e){return!(!Ie(e)||function(e){return!!T&&T in e}(e))&&(Ae(e)?M:n).test(function(e){if(null!=e){try{return C.call(e)}catch(a){}try{return e+""}catch(a){}}return""}(e))}function oe(e){if(!Ie(e))return function(e){var a=[];if(null!=e)for(var c in Object(e))a.push(c);return a}(e);var a=me(e),c=[];for(var d in e)("constructor"!=d||!a&&L.call(e,d))&&c.push(d);return c}function se(e,a,c,d,f){e!==a&&te(a,(function(b,t){if(f||(f=new X),Ie(b))!function(e,a,c,d,f,b,t){var n=ge(e,c),i=ge(a,c),o=t.get(i);if(o)return void ae(e,c,o);var s=b?b(n,i,c+"",e,a,t):void 0,l=void 0===s;if(l){var x=we(i),u=!x&&Ee(i),h=!x&&!u&&Le(i);s=i,x||u||h?we(n)?s=n:Ce(v=n)&&Se(v)?s=function(e,a){var c=-1,d=e.length;a||(a=Array(d));for(;++c-1&&e%1==0&&e0){if(++a>=800)return arguments[0]}else a=0;return e.apply(void 0,arguments)}}(xe);function ve(e,a){return e===a||e!=e&&a!=a}var _e=ne(function(){return arguments}())?ne:function(e){return Ce(e)&&L.call(e,"callee")&&!j.call(e,"callee")},we=Array.isArray;function Se(e){return null!=e&&ke(e.length)&&!Ae(e)}var Ee=V||function(){return!1};function Ae(e){if(!Ie(e))return!1;var a=re(e);return a==t||"[object GeneratorFunction]"==a||"[object AsyncFunction]"==a||"[object Proxy]"==a}function ke(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=f}function Ie(e){var a=typeof e;return null!=e&&("object"==a||"function"==a)}function Ce(e){return null!=e&&"object"==typeof e}var Le=y?function(e){return function(a){return e(a)}}(y):function(e){return Ce(e)&&ke(e.length)&&!!o[re(e)]};function Te(e){return Se(e)?ee(e,!0):oe(e)}var Pe,Re=(Pe=function(e,a,c,d){se(e,a,c,d)},le((function(e,a){var c=-1,d=a.length,f=d>1?a[d-1]:void 0,b=d>2?a[2]:void 0;for(f=Pe.length>3&&"function"==typeof f?(d--,f):void 0,b&&function(e,a,c){if(!Ie(c))return!1;var d=typeof a;return!!("number"==d?Se(c)&&pe(a,c.length):"string"==d&&a in c)&&ve(c[a],e)}(a[0],a[1],b)&&(f=d<3?void 0:f,d=1),e=Object(e);++c{var d=c(10852)(c(55639),"DataView");e.exports=d},1989:(e,a,c)=>{var d=c(51789),f=c(80401),b=c(57667),t=c(59026),r=c(81866);function n(e){var a=-1,c=null==e?0:e.length;for(this.clear();++a{var d=c(27040),f=c(14125),b=c(82117),t=c(67518),r=c(54705);function n(e){var a=-1,c=null==e?0:e.length;for(this.clear();++a{var d=c(10852)(c(55639),"Map");e.exports=d},83369:(e,a,c)=>{var d=c(24785),f=c(11285),b=c(96e3),t=c(49916),r=c(95265);function n(e){var a=-1,c=null==e?0:e.length;for(this.clear();++a{var d=c(10852)(c(55639),"Promise");e.exports=d},58525:(e,a,c)=>{var d=c(10852)(c(55639),"Set");e.exports=d},88668:(e,a,c)=>{var d=c(83369),f=c(90619),b=c(72385);function t(e){var a=-1,c=null==e?0:e.length;for(this.__data__=new d;++a{var d=c(38407),f=c(37465),b=c(63779),t=c(67599),r=c(44758),n=c(34309);function i(e){var a=this.__data__=new d(e);this.size=a.size}i.prototype.clear=f,i.prototype.delete=b,i.prototype.get=t,i.prototype.has=r,i.prototype.set=n,e.exports=i},62705:(e,a,c)=>{var d=c(55639).Symbol;e.exports=d},11149:(e,a,c)=>{var d=c(55639).Uint8Array;e.exports=d},70577:(e,a,c)=>{var d=c(10852)(c(55639),"WeakMap");e.exports=d},34963:e=>{e.exports=function(e,a){for(var c=-1,d=null==e?0:e.length,f=0,b=[];++c{var d=c(22545),f=c(35694),b=c(1469),t=c(44144),r=c(65776),n=c(36719),i=Object.prototype.hasOwnProperty;e.exports=function(e,a){var c=b(e),o=!c&&f(e),s=!c&&!o&&t(e),l=!c&&!o&&!s&&n(e),x=c||o||s||l,u=x?d(e.length,String):[],h=u.length;for(var p in e)!a&&!i.call(e,p)||x&&("length"==p||s&&("offset"==p||"parent"==p)||l&&("buffer"==p||"byteLength"==p||"byteOffset"==p)||r(p,h))||u.push(p);return u}},29932:e=>{e.exports=function(e,a){for(var c=-1,d=null==e?0:e.length,f=Array(d);++c{e.exports=function(e,a){for(var c=-1,d=a.length,f=e.length;++c{e.exports=function(e,a,c,d){var f=-1,b=null==e?0:e.length;for(d&&b&&(c=e[++f]);++f{e.exports=function(e,a){for(var c=-1,d=null==e?0:e.length;++c{e.exports=function(e){return e.split("")}},49029:e=>{var a=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(a)||[]}},18470:(e,a,c)=>{var d=c(77813);e.exports=function(e,a){for(var c=e.length;c--;)if(d(e[c][0],a))return c;return-1}},89465:(e,a,c)=>{var d=c(38777);e.exports=function(e,a,c){"__proto__"==a&&d?d(e,a,{configurable:!0,enumerable:!0,value:c,writable:!0}):e[a]=c}},28483:(e,a,c)=>{var d=c(25063)();e.exports=d},47816:(e,a,c)=>{var d=c(28483),f=c(3674);e.exports=function(e,a){return e&&d(e,a,f)}},97786:(e,a,c)=>{var d=c(71811),f=c(40327);e.exports=function(e,a){for(var c=0,b=(a=d(a,e)).length;null!=e&&c{var d=c(62488),f=c(1469);e.exports=function(e,a,c){var b=a(e);return f(e)?b:d(b,c(e))}},44239:(e,a,c)=>{var d=c(62705),f=c(89607),b=c(2333),t=d?d.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":t&&t in Object(e)?f(e):b(e)}},78565:e=>{var a=Object.prototype.hasOwnProperty;e.exports=function(e,c){return null!=e&&a.call(e,c)}},13:e=>{e.exports=function(e,a){return null!=e&&a in Object(e)}},9454:(e,a,c)=>{var d=c(44239),f=c(37005);e.exports=function(e){return f(e)&&"[object Arguments]"==d(e)}},90939:(e,a,c)=>{var d=c(2492),f=c(37005);e.exports=function e(a,c,b,t,r){return a===c||(null==a||null==c||!f(a)&&!f(c)?a!=a&&c!=c:d(a,c,b,t,e,r))}},2492:(e,a,c)=>{var d=c(46384),f=c(67114),b=c(18351),t=c(16096),r=c(64160),n=c(1469),i=c(44144),o=c(36719),s="[object Arguments]",l="[object Array]",x="[object Object]",u=Object.prototype.hasOwnProperty;e.exports=function(e,a,c,h,p,m){var g=n(e),y=n(a),v=g?l:r(e),_=y?l:r(a),w=(v=v==s?x:v)==x,S=(_=_==s?x:_)==x,E=v==_;if(E&&i(e)){if(!i(a))return!1;g=!0,w=!1}if(E&&!w)return m||(m=new d),g||o(e)?f(e,a,c,h,p,m):b(e,a,v,c,h,p,m);if(!(1&c)){var A=w&&u.call(e,"__wrapped__"),k=S&&u.call(a,"__wrapped__");if(A||k){var I=A?e.value():e,C=k?a.value():a;return m||(m=new d),p(I,C,c,h,m)}}return!!E&&(m||(m=new d),t(e,a,c,h,p,m))}},2958:(e,a,c)=>{var d=c(46384),f=c(90939);e.exports=function(e,a,c,b){var t=c.length,r=t,n=!b;if(null==e)return!r;for(e=Object(e);t--;){var i=c[t];if(n&&i[2]?i[1]!==e[i[0]]:!(i[0]in e))return!1}for(;++t{var d=c(23560),f=c(15346),b=c(13218),t=c(80346),r=/^\[object .+?Constructor\]$/,n=Function.prototype,i=Object.prototype,o=n.toString,s=i.hasOwnProperty,l=RegExp("^"+o.call(s).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!b(e)||f(e))&&(d(e)?l:r).test(t(e))}},38749:(e,a,c)=>{var d=c(44239),f=c(41780),b=c(37005),t={};t["[object Float32Array]"]=t["[object Float64Array]"]=t["[object Int8Array]"]=t["[object Int16Array]"]=t["[object Int32Array]"]=t["[object Uint8Array]"]=t["[object Uint8ClampedArray]"]=t["[object Uint16Array]"]=t["[object Uint32Array]"]=!0,t["[object Arguments]"]=t["[object Array]"]=t["[object ArrayBuffer]"]=t["[object Boolean]"]=t["[object DataView]"]=t["[object Date]"]=t["[object Error]"]=t["[object Function]"]=t["[object Map]"]=t["[object Number]"]=t["[object Object]"]=t["[object RegExp]"]=t["[object Set]"]=t["[object String]"]=t["[object WeakMap]"]=!1,e.exports=function(e){return b(e)&&f(e.length)&&!!t[d(e)]}},67206:(e,a,c)=>{var d=c(91573),f=c(16432),b=c(6557),t=c(1469),r=c(39601);e.exports=function(e){return"function"==typeof e?e:null==e?b:"object"==typeof e?t(e)?f(e[0],e[1]):d(e):r(e)}},280:(e,a,c)=>{var d=c(25726),f=c(86916),b=Object.prototype.hasOwnProperty;e.exports=function(e){if(!d(e))return f(e);var a=[];for(var c in Object(e))b.call(e,c)&&"constructor"!=c&&a.push(c);return a}},91573:(e,a,c)=>{var d=c(2958),f=c(1499),b=c(42634);e.exports=function(e){var a=f(e);return 1==a.length&&a[0][2]?b(a[0][0],a[0][1]):function(c){return c===e||d(c,e,a)}}},16432:(e,a,c)=>{var d=c(90939),f=c(27361),b=c(79095),t=c(15403),r=c(89162),n=c(42634),i=c(40327);e.exports=function(e,a){return t(e)&&r(a)?n(i(e),a):function(c){var t=f(c,e);return void 0===t&&t===a?b(c,e):d(a,t,3)}}},40371:e=>{e.exports=function(e){return function(a){return null==a?void 0:a[e]}}},79152:(e,a,c)=>{var d=c(97786);e.exports=function(e){return function(a){return d(a,e)}}},18674:e=>{e.exports=function(e){return function(a){return null==e?void 0:e[a]}}},14259:e=>{e.exports=function(e,a,c){var d=-1,f=e.length;a<0&&(a=-a>f?0:f+a),(c=c>f?f:c)<0&&(c+=f),f=a>c?0:c-a>>>0,a>>>=0;for(var b=Array(f);++d{e.exports=function(e,a){for(var c=-1,d=Array(e);++c{var d=c(62705),f=c(29932),b=c(1469),t=c(33448),r=d?d.prototype:void 0,n=r?r.toString:void 0;e.exports=function e(a){if("string"==typeof a)return a;if(b(a))return f(a,e)+"";if(t(a))return n?n.call(a):"";var c=a+"";return"0"==c&&1/a==-Infinity?"-0":c}},7518:e=>{e.exports=function(e){return function(a){return e(a)}}},74757:e=>{e.exports=function(e,a){return e.has(a)}},71811:(e,a,c)=>{var d=c(1469),f=c(15403),b=c(55514),t=c(79833);e.exports=function(e,a){return d(e)?e:f(e,a)?[e]:b(t(e))}},40180:(e,a,c)=>{var d=c(14259);e.exports=function(e,a,c){var f=e.length;return c=void 0===c?f:c,!a&&c>=f?e:d(e,a,c)}},14429:(e,a,c)=>{var d=c(55639)["__core-js_shared__"];e.exports=d},25063:e=>{e.exports=function(e){return function(a,c,d){for(var f=-1,b=Object(a),t=d(a),r=t.length;r--;){var n=t[e?r:++f];if(!1===c(b[n],n,b))break}return a}}},98805:(e,a,c)=>{var d=c(40180),f=c(62689),b=c(83140),t=c(79833);e.exports=function(e){return function(a){a=t(a);var c=f(a)?b(a):void 0,r=c?c[0]:a.charAt(0),n=c?d(c,1).join(""):a.slice(1);return r[e]()+n}}},35393:(e,a,c)=>{var d=c(62663),f=c(53816),b=c(58748),t=RegExp("['\u2019]","g");e.exports=function(e){return function(a){return d(b(f(a).replace(t,"")),e,"")}}},69389:(e,a,c)=>{var d=c(18674)({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"});e.exports=d},38777:(e,a,c)=>{var d=c(10852),f=function(){try{var e=d(Object,"defineProperty");return e({},"",{}),e}catch(a){}}();e.exports=f},67114:(e,a,c)=>{var d=c(88668),f=c(82908),b=c(74757);e.exports=function(e,a,c,t,r,n){var i=1&c,o=e.length,s=a.length;if(o!=s&&!(i&&s>o))return!1;var l=n.get(e),x=n.get(a);if(l&&x)return l==a&&x==e;var u=-1,h=!0,p=2&c?new d:void 0;for(n.set(e,a),n.set(a,e);++u{var d=c(62705),f=c(11149),b=c(77813),t=c(67114),r=c(68776),n=c(21814),i=d?d.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e,a,c,d,i,s,l){switch(c){case"[object DataView]":if(e.byteLength!=a.byteLength||e.byteOffset!=a.byteOffset)return!1;e=e.buffer,a=a.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=a.byteLength||!s(new f(e),new f(a)));case"[object Boolean]":case"[object Date]":case"[object Number]":return b(+e,+a);case"[object Error]":return e.name==a.name&&e.message==a.message;case"[object RegExp]":case"[object String]":return e==a+"";case"[object Map]":var x=r;case"[object Set]":var u=1&d;if(x||(x=n),e.size!=a.size&&!u)return!1;var h=l.get(e);if(h)return h==a;d|=2,l.set(e,a);var p=t(x(e),x(a),d,i,s,l);return l.delete(e),p;case"[object Symbol]":if(o)return o.call(e)==o.call(a)}return!1}},16096:(e,a,c)=>{var d=c(58234),f=Object.prototype.hasOwnProperty;e.exports=function(e,a,c,b,t,r){var n=1&c,i=d(e),o=i.length;if(o!=d(a).length&&!n)return!1;for(var s=o;s--;){var l=i[s];if(!(n?l in a:f.call(a,l)))return!1}var x=r.get(e),u=r.get(a);if(x&&u)return x==a&&u==e;var h=!0;r.set(e,a),r.set(a,e);for(var p=n;++s{var d="object"==typeof c.g&&c.g&&c.g.Object===Object&&c.g;e.exports=d},58234:(e,a,c)=>{var d=c(68866),f=c(99551),b=c(3674);e.exports=function(e){return d(e,b,f)}},45050:(e,a,c)=>{var d=c(37019);e.exports=function(e,a){var c=e.__data__;return d(a)?c["string"==typeof a?"string":"hash"]:c.map}},1499:(e,a,c)=>{var d=c(89162),f=c(3674);e.exports=function(e){for(var a=f(e),c=a.length;c--;){var b=a[c],t=e[b];a[c]=[b,t,d(t)]}return a}},10852:(e,a,c)=>{var d=c(28458),f=c(47801);e.exports=function(e,a){var c=f(e,a);return d(c)?c:void 0}},89607:(e,a,c)=>{var d=c(62705),f=Object.prototype,b=f.hasOwnProperty,t=f.toString,r=d?d.toStringTag:void 0;e.exports=function(e){var a=b.call(e,r),c=e[r];try{e[r]=void 0;var d=!0}catch(n){}var f=t.call(e);return d&&(a?e[r]=c:delete e[r]),f}},99551:(e,a,c)=>{var d=c(34963),f=c(70479),b=Object.prototype.propertyIsEnumerable,t=Object.getOwnPropertySymbols,r=t?function(e){return null==e?[]:(e=Object(e),d(t(e),(function(a){return b.call(e,a)})))}:f;e.exports=r},64160:(e,a,c)=>{var d=c(18552),f=c(57071),b=c(53818),t=c(58525),r=c(70577),n=c(44239),i=c(80346),o="[object Map]",s="[object Promise]",l="[object Set]",x="[object WeakMap]",u="[object DataView]",h=i(d),p=i(f),m=i(b),g=i(t),y=i(r),v=n;(d&&v(new d(new ArrayBuffer(1)))!=u||f&&v(new f)!=o||b&&v(b.resolve())!=s||t&&v(new t)!=l||r&&v(new r)!=x)&&(v=function(e){var a=n(e),c="[object Object]"==a?e.constructor:void 0,d=c?i(c):"";if(d)switch(d){case h:return u;case p:return o;case m:return s;case g:return l;case y:return x}return a}),e.exports=v},47801:e=>{e.exports=function(e,a){return null==e?void 0:e[a]}},222:(e,a,c)=>{var d=c(71811),f=c(35694),b=c(1469),t=c(65776),r=c(41780),n=c(40327);e.exports=function(e,a,c){for(var i=-1,o=(a=d(a,e)).length,s=!1;++i{var a=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return a.test(e)}},93157:e=>{var a=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return a.test(e)}},51789:(e,a,c)=>{var d=c(94536);e.exports=function(){this.__data__=d?d(null):{},this.size=0}},80401:e=>{e.exports=function(e){var a=this.has(e)&&delete this.__data__[e];return this.size-=a?1:0,a}},57667:(e,a,c)=>{var d=c(94536),f=Object.prototype.hasOwnProperty;e.exports=function(e){var a=this.__data__;if(d){var c=a[e];return"__lodash_hash_undefined__"===c?void 0:c}return f.call(a,e)?a[e]:void 0}},59026:(e,a,c)=>{var d=c(94536),f=Object.prototype.hasOwnProperty;e.exports=function(e){var a=this.__data__;return d?void 0!==a[e]:f.call(a,e)}},81866:(e,a,c)=>{var d=c(94536);e.exports=function(e,a){var c=this.__data__;return this.size+=this.has(e)?0:1,c[e]=d&&void 0===a?"__lodash_hash_undefined__":a,this}},65776:e=>{var a=/^(?:0|[1-9]\d*)$/;e.exports=function(e,c){var d=typeof e;return!!(c=null==c?9007199254740991:c)&&("number"==d||"symbol"!=d&&a.test(e))&&e>-1&&e%1==0&&e{var d=c(1469),f=c(33448),b=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,t=/^\w*$/;e.exports=function(e,a){if(d(e))return!1;var c=typeof e;return!("number"!=c&&"symbol"!=c&&"boolean"!=c&&null!=e&&!f(e))||(t.test(e)||!b.test(e)||null!=a&&e in Object(a))}},37019:e=>{e.exports=function(e){var a=typeof e;return"string"==a||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==e:null===e}},15346:(e,a,c)=>{var d,f=c(14429),b=(d=/[^.]+$/.exec(f&&f.keys&&f.keys.IE_PROTO||""))?"Symbol(src)_1."+d:"";e.exports=function(e){return!!b&&b in e}},25726:e=>{var a=Object.prototype;e.exports=function(e){var c=e&&e.constructor;return e===("function"==typeof c&&c.prototype||a)}},89162:(e,a,c)=>{var d=c(13218);e.exports=function(e){return e==e&&!d(e)}},27040:e=>{e.exports=function(){this.__data__=[],this.size=0}},14125:(e,a,c)=>{var d=c(18470),f=Array.prototype.splice;e.exports=function(e){var a=this.__data__,c=d(a,e);return!(c<0)&&(c==a.length-1?a.pop():f.call(a,c,1),--this.size,!0)}},82117:(e,a,c)=>{var d=c(18470);e.exports=function(e){var a=this.__data__,c=d(a,e);return c<0?void 0:a[c][1]}},67518:(e,a,c)=>{var d=c(18470);e.exports=function(e){return d(this.__data__,e)>-1}},54705:(e,a,c)=>{var d=c(18470);e.exports=function(e,a){var c=this.__data__,f=d(c,e);return f<0?(++this.size,c.push([e,a])):c[f][1]=a,this}},24785:(e,a,c)=>{var d=c(1989),f=c(38407),b=c(57071);e.exports=function(){this.size=0,this.__data__={hash:new d,map:new(b||f),string:new d}}},11285:(e,a,c)=>{var d=c(45050);e.exports=function(e){var a=d(this,e).delete(e);return this.size-=a?1:0,a}},96e3:(e,a,c)=>{var d=c(45050);e.exports=function(e){return d(this,e).get(e)}},49916:(e,a,c)=>{var d=c(45050);e.exports=function(e){return d(this,e).has(e)}},95265:(e,a,c)=>{var d=c(45050);e.exports=function(e,a){var c=d(this,e),f=c.size;return c.set(e,a),this.size+=c.size==f?0:1,this}},68776:e=>{e.exports=function(e){var a=-1,c=Array(e.size);return e.forEach((function(e,d){c[++a]=[d,e]})),c}},42634:e=>{e.exports=function(e,a){return function(c){return null!=c&&(c[e]===a&&(void 0!==a||e in Object(c)))}}},24523:(e,a,c)=>{var d=c(88306);e.exports=function(e){var a=d(e,(function(e){return 500===c.size&&c.clear(),e})),c=a.cache;return a}},94536:(e,a,c)=>{var d=c(10852)(Object,"create");e.exports=d},86916:(e,a,c)=>{var d=c(5569)(Object.keys,Object);e.exports=d},31167:(e,a,c)=>{e=c.nmd(e);var d=c(31957),f=a&&!a.nodeType&&a,b=f&&e&&!e.nodeType&&e,t=b&&b.exports===f&&d.process,r=function(){try{var e=b&&b.require&&b.require("util").types;return e||t&&t.binding&&t.binding("util")}catch(a){}}();e.exports=r},2333:e=>{var a=Object.prototype.toString;e.exports=function(e){return a.call(e)}},5569:e=>{e.exports=function(e,a){return function(c){return e(a(c))}}},55639:(e,a,c)=>{var d=c(31957),f="object"==typeof self&&self&&self.Object===Object&&self,b=d||f||Function("return this")();e.exports=b},90619:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},72385:e=>{e.exports=function(e){return this.__data__.has(e)}},21814:e=>{e.exports=function(e){var a=-1,c=Array(e.size);return e.forEach((function(e){c[++a]=e})),c}},37465:(e,a,c)=>{var d=c(38407);e.exports=function(){this.__data__=new d,this.size=0}},63779:e=>{e.exports=function(e){var a=this.__data__,c=a.delete(e);return this.size=a.size,c}},67599:e=>{e.exports=function(e){return this.__data__.get(e)}},44758:e=>{e.exports=function(e){return this.__data__.has(e)}},34309:(e,a,c)=>{var d=c(38407),f=c(57071),b=c(83369);e.exports=function(e,a){var c=this.__data__;if(c instanceof d){var t=c.__data__;if(!f||t.length<199)return t.push([e,a]),this.size=++c.size,this;c=this.__data__=new b(t)}return c.set(e,a),this.size=c.size,this}},83140:(e,a,c)=>{var d=c(44286),f=c(62689),b=c(676);e.exports=function(e){return f(e)?b(e):d(e)}},55514:(e,a,c)=>{var d=c(24523),f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,b=/\\(\\)?/g,t=d((function(e){var a=[];return 46===e.charCodeAt(0)&&a.push(""),e.replace(f,(function(e,c,d,f){a.push(d?f.replace(b,"$1"):c||e)})),a}));e.exports=t},40327:(e,a,c)=>{var d=c(33448);e.exports=function(e){if("string"==typeof e||d(e))return e;var a=e+"";return"0"==a&&1/e==-Infinity?"-0":a}},80346:e=>{var a=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return a.call(e)}catch(c){}try{return e+""}catch(c){}}return""}},676:e=>{var a="[\\ud800-\\udfff]",c="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",d="\\ud83c[\\udffb-\\udfff]",f="[^\\ud800-\\udfff]",b="(?:\\ud83c[\\udde6-\\uddff]){2}",t="[\\ud800-\\udbff][\\udc00-\\udfff]",r="(?:"+c+"|"+d+")"+"?",n="[\\ufe0e\\ufe0f]?",i=n+r+("(?:\\u200d(?:"+[f,b,t].join("|")+")"+n+r+")*"),o="(?:"+[f+c+"?",c,b,t,a].join("|")+")",s=RegExp(d+"(?="+d+")|"+o+i,"g");e.exports=function(e){return e.match(s)||[]}},2757:e=>{var a="\\u2700-\\u27bf",c="a-z\\xdf-\\xf6\\xf8-\\xff",d="A-Z\\xc0-\\xd6\\xd8-\\xde",f="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",b="["+f+"]",t="\\d+",r="[\\u2700-\\u27bf]",n="["+c+"]",i="[^\\ud800-\\udfff"+f+t+a+c+d+"]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="["+d+"]",x="(?:"+n+"|"+i+")",u="(?:"+l+"|"+i+")",h="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",p="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",m="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",g="[\\ufe0e\\ufe0f]?",y=g+m+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",o,s].join("|")+")"+g+m+")*"),v="(?:"+[r,o,s].join("|")+")"+y,_=RegExp([l+"?"+n+"+"+h+"(?="+[b,l,"$"].join("|")+")",u+"+"+p+"(?="+[b,l+x,"$"].join("|")+")",l+"?"+x+"+"+h,l+"+"+p,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",t,v].join("|"),"g");e.exports=function(e){return e.match(_)||[]}},68929:(e,a,c)=>{var d=c(48403),f=c(35393)((function(e,a,c){return a=a.toLowerCase(),e+(c?d(a):a)}));e.exports=f},48403:(e,a,c)=>{var d=c(79833),f=c(11700);e.exports=function(e){return f(d(e).toLowerCase())}},53816:(e,a,c)=>{var d=c(69389),f=c(79833),b=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,t=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=f(e))&&e.replace(b,d).replace(t,"")}},77813:e=>{e.exports=function(e,a){return e===a||e!=e&&a!=a}},27361:(e,a,c)=>{var d=c(97786);e.exports=function(e,a,c){var f=null==e?void 0:d(e,a);return void 0===f?c:f}},18721:(e,a,c)=>{var d=c(78565),f=c(222);e.exports=function(e,a){return null!=e&&f(e,a,d)}},79095:(e,a,c)=>{var d=c(13),f=c(222);e.exports=function(e,a){return null!=e&&f(e,a,d)}},6557:e=>{e.exports=function(e){return e}},35694:(e,a,c)=>{var d=c(9454),f=c(37005),b=Object.prototype,t=b.hasOwnProperty,r=b.propertyIsEnumerable,n=d(function(){return arguments}())?d:function(e){return f(e)&&t.call(e,"callee")&&!r.call(e,"callee")};e.exports=n},1469:e=>{var a=Array.isArray;e.exports=a},98612:(e,a,c)=>{var d=c(23560),f=c(41780);e.exports=function(e){return null!=e&&f(e.length)&&!d(e)}},44144:(e,a,c)=>{e=c.nmd(e);var d=c(55639),f=c(95062),b=a&&!a.nodeType&&a,t=b&&e&&!e.nodeType&&e,r=t&&t.exports===b?d.Buffer:void 0,n=(r?r.isBuffer:void 0)||f;e.exports=n},23560:(e,a,c)=>{var d=c(44239),f=c(13218);e.exports=function(e){if(!f(e))return!1;var a=d(e);return"[object Function]"==a||"[object GeneratorFunction]"==a||"[object AsyncFunction]"==a||"[object Proxy]"==a}},41780:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},13218:e=>{e.exports=function(e){var a=typeof e;return null!=e&&("object"==a||"function"==a)}},37005:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},33448:(e,a,c)=>{var d=c(44239),f=c(37005);e.exports=function(e){return"symbol"==typeof e||f(e)&&"[object Symbol]"==d(e)}},36719:(e,a,c)=>{var d=c(38749),f=c(7518),b=c(31167),t=b&&b.isTypedArray,r=t?f(t):d;e.exports=r},3674:(e,a,c)=>{var d=c(14636),f=c(280),b=c(98612);e.exports=function(e){return b(e)?d(e):f(e)}},67523:(e,a,c)=>{var d=c(89465),f=c(47816),b=c(67206);e.exports=function(e,a){var c={};return a=b(a,3),f(e,(function(e,f,b){d(c,a(e,f,b),e)})),c}},66604:(e,a,c)=>{var d=c(89465),f=c(47816),b=c(67206);e.exports=function(e,a){var c={};return a=b(a,3),f(e,(function(e,f,b){d(c,f,a(e,f,b))})),c}},88306:(e,a,c)=>{var d=c(83369);function f(e,a){if("function"!=typeof e||null!=a&&"function"!=typeof a)throw new TypeError("Expected a function");var c=function(){var d=arguments,f=a?a.apply(this,d):d[0],b=c.cache;if(b.has(f))return b.get(f);var t=e.apply(this,d);return c.cache=b.set(f,t)||b,t};return c.cache=new(f.Cache||d),c}f.Cache=d,e.exports=f},39601:(e,a,c)=>{var d=c(40371),f=c(79152),b=c(15403),t=c(40327);e.exports=function(e){return b(e)?d(t(e)):f(e)}},11865:(e,a,c)=>{var d=c(35393)((function(e,a,c){return e+(c?"_":"")+a.toLowerCase()}));e.exports=d},70479:e=>{e.exports=function(){return[]}},95062:e=>{e.exports=function(){return!1}},79833:(e,a,c)=>{var d=c(80531);e.exports=function(e){return null==e?"":d(e)}},11700:(e,a,c)=>{var d=c(98805)("toUpperCase");e.exports=d},58748:(e,a,c)=>{var d=c(49029),f=c(93157),b=c(79833),t=c(2757);e.exports=function(e,a,c){return e=b(e),void 0===(a=c?void 0:a)?f(e)?t(e):d(e):e.match(a)||[]}},56748:(e,a,c)=>{"use strict";c.r(a)},32497:(e,a,c)=>{"use strict";c.r(a)},87406:(e,a,c)=>{"use strict";c.r(a)},52295:(e,a,c)=>{"use strict";c.r(a)},86199:(e,a,c)=>{"use strict";c.r(a)},79362:(e,a,c)=>{"use strict";c.r(a)},93524:(e,a,c)=>{"use strict";c.r(a)},79746:e=>{function a(e,a){if(!e)throw new Error(a||"Assertion failed")}e.exports=a,a.equal=function(e,a,c){if(e!=a)throw new Error(c||"Assertion failed: "+e+" != "+a)}},29204:e=>{e.exports=function e(c,d){if(!c){var f=new a(d);throw Error.captureStackTrace&&Error.captureStackTrace(f,e),f}};class a extends Error{}a.prototype.name="AssertionError"},74865:function(e,a,c){var d,f;d=function(){var e,a,c={version:"0.2.0"},d=c.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function f(e,a,c){return ec?c:e}function b(e){return 100*(-1+e)}function t(e,a,c){var f;return(f="translate3d"===d.positionUsing?{transform:"translate3d("+b(e)+"%,0,0)"}:"translate"===d.positionUsing?{transform:"translate("+b(e)+"%,0)"}:{"margin-left":b(e)+"%"}).transition="all "+a+"ms "+c,f}c.configure=function(e){var a,c;for(a in e)void 0!==(c=e[a])&&e.hasOwnProperty(a)&&(d[a]=c);return this},c.status=null,c.set=function(e){var a=c.isStarted();e=f(e,d.minimum,1),c.status=1===e?null:e;var b=c.render(!a),i=b.querySelector(d.barSelector),o=d.speed,s=d.easing;return b.offsetWidth,r((function(a){""===d.positionUsing&&(d.positionUsing=c.getPositioningCSS()),n(i,t(e,o,s)),1===e?(n(b,{transition:"none",opacity:1}),b.offsetWidth,setTimeout((function(){n(b,{transition:"all "+o+"ms linear",opacity:0}),setTimeout((function(){c.remove(),a()}),o)}),o)):setTimeout(a,o)})),this},c.isStarted=function(){return"number"==typeof c.status},c.start=function(){c.status||c.set(0);var e=function(){setTimeout((function(){c.status&&(c.trickle(),e())}),d.trickleSpeed)};return d.trickle&&e(),this},c.done=function(e){return e||c.status?c.inc(.3+.5*Math.random()).set(1):this},c.inc=function(e){var a=c.status;return a?("number"!=typeof e&&(e=(1-a)*f(Math.random()*a,.1,.95)),a=f(a+e,0,.994),c.set(a)):c.start()},c.trickle=function(){return c.inc(Math.random()*d.trickleRate)},e=0,a=0,c.promise=function(d){return d&&"resolved"!==d.state()?(0===a&&c.start(),e++,a++,d.always((function(){0==--a?(e=0,c.done()):c.set((e-a)/e)})),this):this},c.render=function(e){if(c.isRendered())return document.getElementById("nprogress");o(document.documentElement,"nprogress-busy");var a=document.createElement("div");a.id="nprogress",a.innerHTML=d.template;var f,t=a.querySelector(d.barSelector),r=e?"-100":b(c.status||0),i=document.querySelector(d.parent);return n(t,{transition:"all 0 linear",transform:"translate3d("+r+"%,0,0)"}),d.showSpinner||(f=a.querySelector(d.spinnerSelector))&&x(f),i!=document.body&&o(i,"nprogress-custom-parent"),i.appendChild(a),a},c.remove=function(){s(document.documentElement,"nprogress-busy"),s(document.querySelector(d.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&x(e)},c.isRendered=function(){return!!document.getElementById("nprogress")},c.getPositioningCSS=function(){var e=document.body.style,a="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return a+"Perspective"in e?"translate3d":a+"Transform"in e?"translate":"margin"};var r=function(){var e=[];function a(){var c=e.shift();c&&c(a)}return function(c){e.push(c),1==e.length&&a()}}(),n=function(){var e=["Webkit","O","Moz","ms"],a={};function c(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,a){return a.toUpperCase()}))}function d(a){var c=document.body.style;if(a in c)return a;for(var d,f=e.length,b=a.charAt(0).toUpperCase()+a.slice(1);f--;)if((d=e[f]+b)in c)return d;return a}function f(e){return e=c(e),a[e]||(a[e]=d(e))}function b(e,a,c){a=f(a),e.style[a]=c}return function(e,a){var c,d,f=arguments;if(2==f.length)for(c in a)void 0!==(d=a[c])&&a.hasOwnProperty(c)&&b(e,c,d);else b(e,f[1],f[2])}}();function i(e,a){return("string"==typeof e?e:l(e)).indexOf(" "+a+" ")>=0}function o(e,a){var c=l(e),d=c+a;i(c,a)||(e.className=d.substring(1))}function s(e,a){var c,d=l(e);i(e,a)&&(c=d.replace(" "+a+" "," "),e.className=c.substring(1,c.length-1))}function l(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function x(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return c},void 0===(f="function"==typeof d?d.call(a,c,a,e):d)||(e.exports=f)},87410:(e,a,c)=>{"use strict";c.d(a,{Z:()=>b});var d=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,a=0,c={},d={util:{encode:function e(a){return a instanceof f?new f(a.type,e(a.content),a.alias):Array.isArray(a)?a.map(e):a.replace(/&/g,"&").replace(/=s.reach);S+=w.value.length,w=w.next){var E=w.value;if(a.length>e.length)return;if(!(E instanceof f)){var A,k=1;if(g){if(!(A=b(_,S,e,m))||A.index>=e.length)break;var I=A.index,C=A.index+A[0].length,L=S;for(L+=w.value.length;I>=L;)L+=(w=w.next).value.length;if(S=L-=w.value.length,w.value instanceof f)continue;for(var T=w;T!==a.tail&&(Ls.reach&&(s.reach=B);var O=w.prev;if(R&&(O=n(a,O,R),S+=R.length),i(a,O,k),w=n(a,O,new f(l,p?d.tokenize(P,p):P,y,P)),M&&n(a,w,M),k>1){var N={cause:l+","+u,reach:B};t(e,a,c,w.prev,S,N),s&&N.reach>s.reach&&(s.reach=N.reach)}}}}}}function r(){var e={value:null,prev:null,next:null},a={value:null,prev:e,next:null};e.next=a,this.head=e,this.tail=a,this.length=0}function n(e,a,c){var d=a.next,f={value:c,prev:a,next:d};return a.next=f,d.prev=f,e.length++,f}function i(e,a,c){for(var d=a.next,f=0;f"+b.content+""},d}(),f=d;d.default=d,f.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},f.languages.markup.tag.inside["attr-value"].inside.entity=f.languages.markup.entity,f.languages.markup.doctype.inside["internal-subset"].inside=f.languages.markup,f.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(f.languages.markup.tag,"addInlined",{value:function(e,a){var c={};c["language-"+a]={pattern:/(^$)/i,lookbehind:!0,inside:f.languages[a]},c.cdata=/^$/i;var d={"included-cdata":{pattern://i,inside:c}};d["language-"+a]={pattern:/[\s\S]+/,inside:f.languages[a]};var b={};b[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:d},f.languages.insertBefore("markup","cdata",b)}}),Object.defineProperty(f.languages.markup.tag,"addAttribute",{value:function(e,a){f.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[a,"language-"+a],inside:f.languages[a]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),f.languages.html=f.languages.markup,f.languages.mathml=f.languages.markup,f.languages.svg=f.languages.markup,f.languages.xml=f.languages.extend("markup",{}),f.languages.ssml=f.languages.xml,f.languages.atom=f.languages.xml,f.languages.rss=f.languages.xml,function(e){var a="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",c={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},d={bash:c,environment:{pattern:RegExp("\\$"+a),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+a),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+a),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:d},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:c}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:d},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:d.entity}}],environment:{pattern:RegExp("\\$?"+a),alias:"constant"},variable:d.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},c.inside=e.languages.bash;for(var f=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],b=d.variable[1].inside,t=0;t]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},f.languages.c=f.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),f.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),f.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},f.languages.c.string],char:f.languages.c.char,comment:f.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:f.languages.c}}}}),f.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete f.languages.c.boolean,function(e){var a=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,c=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,(function(){return a.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return a.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:a,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,(function(){return c}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(f),function(e){var a=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+a.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+a.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+a.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:a,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var c=e.languages.markup;c&&(c.tag.addInlined("style","css"),c.tag.addAttribute("style","css"))}(f),function(e){var a,c=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:a={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+c.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[c,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=a,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var d={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},f={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:d,number:f,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:d,number:f})}(f),f.languages.javascript=f.languages.extend("clike",{"class-name":[f.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),f.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,f.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:f.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:f.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:f.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:f.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:f.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),f.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:f.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),f.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),f.languages.markup&&(f.languages.markup.tag.addInlined("script","javascript"),f.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),f.languages.js=f.languages.javascript,function(e){var a=/#(?!\{).+/,c={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:a,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:c}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:a,interpolation:c}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:c}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(f),function(e){var a=/[*&][^\s[\]{},]+/,c=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,d="(?:"+c.source+"(?:[ \t]+"+a.source+")?|"+a.source+"(?:[ \t]+"+c.source+")?)",f=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),b=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function t(e,a){a=(a||"").replace(/m/g,"")+"m";var c=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return d})).replace(/<>/g,(function(){return e}));return RegExp(c,a)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return d}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return d})).replace(/<>/g,(function(){return"(?:"+f+"|"+b+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:t(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:t(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:t(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:t(b),lookbehind:!0,greedy:!0},number:{pattern:t(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:c,important:a,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(f),function(e){var a=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function c(e){return e=e.replace(//g,(function(){return a})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var d=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,f=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return d})),b=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+f+b+"(?:"+f+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+f+b+")(?:"+f+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(d),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+f+")"+b+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+f+"$"),inside:{"table-header":{pattern:RegExp(d),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:c(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:c(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:c(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:c(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(a){["url","bold","italic","strike","code-snippet"].forEach((function(c){a!==c&&(e.languages.markdown[a].inside.content.inside[c]=e.languages.markdown[c])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(a){if(a&&"string"!=typeof a)for(var c=0,d=a.length;c",quot:'"'},n=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(f),f.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:f.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},f.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var a=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),c=0;c0)){var r=l(/^\{$/,/^\}$/);if(-1===r)continue;for(var n=c;n=0&&x(i,"variable-input")}}}}function o(e){return a[c+e]}function s(e,a){a=a||0;for(var c=0;c?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var a=e.languages.javascript["template-string"],c=a.pattern.source,d=a.inside.interpolation,f=d.inside["interpolation-punctuation"],b=d.pattern.source;function t(a,d){if(e.languages[a])return{pattern:RegExp("((?:"+d+")\\s*)"+c),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:a}}}}function r(e,a){return"___"+a.toUpperCase()+"_"+e+"___"}function n(a,c,d){var f={code:a,grammar:c,language:d};return e.hooks.run("before-tokenize",f),f.tokens=e.tokenize(f.code,f.grammar),e.hooks.run("after-tokenize",f),f.tokens}function i(a){var c={};c["interpolation-punctuation"]=f;var b=e.tokenize(a,c);if(3===b.length){var t=[1,1];t.push.apply(t,n(b[1],e.languages.javascript,"javascript")),b.splice.apply(b,t)}return new e.Token("interpolation",b,d.alias,a)}function o(a,c,d){var f=e.tokenize(a,{interpolation:{pattern:RegExp(b),lookbehind:!0}}),t=0,o={},s=n(f.map((function(e){if("string"==typeof e)return e;for(var c,f=e.content;-1!==a.indexOf(c=r(t++,d)););return o[c]=f,c})).join(""),c,d),l=Object.keys(o);return t=0,function e(a){for(var c=0;c=l.length)return;var d=a[c];if("string"==typeof d||"string"==typeof d.content){var f=l[t],b="string"==typeof d?d:d.content,r=b.indexOf(f);if(-1!==r){++t;var n=b.substring(0,r),s=i(o[f]),x=b.substring(r+f.length),u=[];if(n&&u.push(n),u.push(s),x){var h=[x];e(h),u.push.apply(u,h)}"string"==typeof d?(a.splice.apply(a,[c,1].concat(u)),c+=u.length-1):d.content=u}}else{var p=d.content;Array.isArray(p)?e(p):e([p])}}}(s),new e.Token(d,s,"language-"+d,a)}e.languages.javascript["template-string"]=[t("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),t("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),t("svg",/\bsvg/.source),t("markdown",/\b(?:markdown|md)/.source),t("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),t("sql",/\bsql/.source),a].filter(Boolean);var s={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function l(e){return"string"==typeof e?e:Array.isArray(e)?e.map(l).join(""):l(e.content)}e.hooks.add("after-tokenize",(function(a){a.language in s&&function a(c){for(var d=0,f=c.length;d]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var a=e.languages.extend("typescript",{});delete a["class-name"],e.languages.typescript["class-name"].inside=a,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:a}}}}),e.languages.ts=e.languages.typescript}(f),function(e){function a(e,a){return RegExp(e.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),a)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:a(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:a(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:a(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var c=["function","function-variable","method","method-variable","property-access"],d=0;d*\.{3}(?:[^{}]|)*\})/.source;function b(e,a){return e=e.replace(//g,(function(){return c})).replace(//g,(function(){return d})).replace(//g,(function(){return f})),RegExp(e,a)}f=b(f).source,e.languages.jsx=e.languages.extend("markup",a),e.languages.jsx.tag.pattern=b(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=a.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:b(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:b(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var t=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join(""):""},r=function(a){for(var c=[],d=0;d0&&c[c.length-1].tagName===t(f.content[0].content[1])&&c.pop():"/>"===f.content[f.content.length-1].content||c.push({tagName:t(f.content[0].content[1]),openedBraces:0}):c.length>0&&"punctuation"===f.type&&"{"===f.content?c[c.length-1].openedBraces++:c.length>0&&c[c.length-1].openedBraces>0&&"punctuation"===f.type&&"}"===f.content?c[c.length-1].openedBraces--:b=!0),(b||"string"==typeof f)&&c.length>0&&0===c[c.length-1].openedBraces){var n=t(f);d0&&("string"==typeof a[d-1]||"plain-text"===a[d-1].type)&&(n=t(a[d-1])+n,a.splice(d-1,1),d--),a[d]=new e.Token("plain-text",n,null,n)}f.content&&"string"!=typeof f.content&&r(f.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||r(e.tokens)}))}(f),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var a={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(a).forEach((function(c){var d=a[c],f=[];/^\w+$/.test(c)||f.push(/\w+/.exec(c)[0]),"diff"===c&&f.push("bold"),e.languages.diff[c]={pattern:RegExp("^(?:["+d+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:f,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(c)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:a})}(f),f.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},f.languages.go=f.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),f.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete f.languages.go["class-name"],function(e){function a(e,a){return"___"+e.toUpperCase()+a+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(c,d,f,b){if(c.language===d){var t=c.tokenStack=[];c.code=c.code.replace(f,(function(e){if("function"==typeof b&&!b(e))return e;for(var f,r=t.length;-1!==c.code.indexOf(f=a(d,r));)++r;return t[r]=e,f})),c.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(c,d){if(c.language===d&&c.tokenStack){c.grammar=e.languages[d];var f=0,b=Object.keys(c.tokenStack);!function t(r){for(var n=0;n=b.length);n++){var i=r[n];if("string"==typeof i||i.content&&"string"==typeof i.content){var o=b[f],s=c.tokenStack[o],l="string"==typeof i?i:i.content,x=a(d,o),u=l.indexOf(x);if(u>-1){++f;var h=l.substring(0,u),p=new e.Token(d,e.tokenize(s,c.grammar),"language-"+d,s),m=l.substring(u+x.length),g=[];h&&g.push.apply(g,t([h])),g.push(p),m&&g.push.apply(g,t([m])),"string"==typeof i?r.splice.apply(r,[n,1].concat(g)):i.content=g}}else i.content&&t(i.content)}return r}(c.tokens)}}}})}(f),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(a){e.languages["markup-templating"].buildPlaceholders(a,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(a){e.languages["markup-templating"].tokenizePlaceholders(a,"handlebars")})),e.languages.hbs=e.languages.handlebars}(f),f.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},f.languages.webmanifest=f.languages.json,f.languages.less=f.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),f.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),f.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},f.languages.objectivec=f.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete f.languages.objectivec["class-name"],f.languages.objc=f.languages.objectivec,f.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},f.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},f.languages.python["string-interpolation"].inside.interpolation.inside.rest=f.languages.python,f.languages.py=f.languages.python,f.languages.reason=f.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),f.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete f.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var a=/\$[-\w]+|#\{\$[-\w]+\}/,c=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:a,operator:c}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:a,operator:c,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(f),f.languages.scss=f.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),f.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),f.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),f.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),f.languages.scss.atrule.inside.rest=f.languages.scss,function(e){var a={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},c={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},d={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:a,number:c,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:a,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:c,punctuation:/[{}()\[\];:,]/};d.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:d}},d.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:d}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:d}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:d}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:d}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:d.interpolation}},rest:d}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:d.interpolation,comment:d.comment,punctuation:/[{},]/}},func:d.func,string:d.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:d.interpolation,punctuation:/[{}()\[\];:.]/}}(f),function(e){var a=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",a),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var c=e.languages.tsx.tag;c.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+c.pattern.source+")",c.pattern.flags),c.lookbehind=!0}(f),f.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};const b=f},79016:()=>{!function(e){function a(e,a){return e.replace(/<<(\d+)>>/g,(function(e,c){return"(?:"+a[+c]+")"}))}function c(e,c,d){return RegExp(a(e,c),d||"")}function d(e,a){for(var c=0;c>/g,(function(){return"(?:"+e+")"}));return e.replace(/<>/g,"[^\\s\\S]")}var f="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",b="class enum interface record struct",t="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",r="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function n(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var i=n(b),o=RegExp(n(f+" "+b+" "+t+" "+r)),s=n(b+" "+t+" "+r),l=n(f+" "+b+" "+r),x=d(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),u=d(/\((?:[^()]|<>)*\)/.source,2),h=/@?\b[A-Za-z_]\w*\b/.source,p=a(/<<0>>(?:\s*<<1>>)?/.source,[h,x]),m=a(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[s,p]),g=/\[\s*(?:,\s*)*\]/.source,y=a(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[m,g]),v=a(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[x,u,g]),_=a(/\(<<0>>+(?:,<<0>>+)+\)/.source,[v]),w=a(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[_,m,g]),S={keyword:o,punctuation:/[<>()?,.:[\]]/},E=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,A=/"(?:\\.|[^\\"\r\n])*"/.source,k=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:c(/(^|[^$\\])<<0>>/.source,[k]),lookbehind:!0,greedy:!0},{pattern:c(/(^|[^@$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:c(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[m]),lookbehind:!0,inside:S},{pattern:c(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[h,w]),lookbehind:!0,inside:S},{pattern:c(/(\busing\s+)<<0>>(?=\s*=)/.source,[h]),lookbehind:!0},{pattern:c(/(\b<<0>>\s+)<<1>>/.source,[i,p]),lookbehind:!0,inside:S},{pattern:c(/(\bcatch\s*\(\s*)<<0>>/.source,[m]),lookbehind:!0,inside:S},{pattern:c(/(\bwhere\s+)<<0>>/.source,[h]),lookbehind:!0},{pattern:c(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[y]),lookbehind:!0,inside:S},{pattern:c(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[w,l,h]),inside:S}],keyword:o,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:c(/([(,]\s*)<<0>>(?=\s*:)/.source,[h]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:c(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[h]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:c(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[u]),lookbehind:!0,alias:"class-name",inside:S},"return-type":{pattern:c(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[w,m]),inside:S,alias:"class-name"},"constructor-invocation":{pattern:c(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[w]),lookbehind:!0,inside:S,alias:"class-name"},"generic-method":{pattern:c(/<<0>>\s*<<1>>(?=\s*\()/.source,[h,x]),inside:{function:c(/^<<0>>/.source,[h]),generic:{pattern:RegExp(x),alias:"class-name",inside:S}}},"type-list":{pattern:c(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[i,p,h,w,o.source,u,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:c(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[p,u]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:o,"class-name":{pattern:RegExp(w),greedy:!0,inside:S},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var I=A+"|"+E,C=a(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[I]),L=d(a(/[^"'/()]|<<0>>|\(<>*\)/.source,[C]),2),T=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,P=a(/<<0>>(?:\s*\(<<1>>*\))?/.source,[m,L]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:c(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[T,P]),lookbehind:!0,greedy:!0,inside:{target:{pattern:c(/^<<0>>(?=\s*:)/.source,[T]),alias:"keyword"},"attribute-arguments":{pattern:c(/\(<<0>>*\)/.source,[L]),inside:e.languages.csharp},"class-name":{pattern:RegExp(m),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var R=/:[^}\r\n]+/.source,M=d(a(/[^"'/()]|<<0>>|\(<>*\)/.source,[C]),2),B=a(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[M,R]),O=d(a(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[I]),2),N=a(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[O,R]);function F(a,d){return{interpolation:{pattern:c(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[a]),lookbehind:!0,inside:{"format-string":{pattern:c(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[d,R]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:c(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[B]),lookbehind:!0,greedy:!0,inside:F(B,M)},{pattern:c(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[N]),lookbehind:!0,greedy:!0,inside:F(N,O)}],char:{pattern:RegExp(E),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(Prism)},99945:()=>{!function(e){var a=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,c=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],d=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,f=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,b=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:a,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:c,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:d,operator:f,punctuation:b};var t={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},r=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:t}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:t}}];e.languages.insertBefore("php","variable",{string:r,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:a,string:r,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:c,number:d,operator:f,punctuation:b}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",(function(a){if(/<\?/.test(a.code)){e.languages["markup-templating"].buildPlaceholders(a,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}})),e.hooks.add("after-tokenize",(function(a){e.languages["markup-templating"].tokenizePlaceholders(a,"php")}))}(Prism)},37345:()=>{!function(e){var a=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;e.languages.protobuf=e.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),e.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:a}},builtin:a,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}(Prism)},59385:()=>{!function(e){e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var a={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var c="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",d=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+c+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:a,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:a,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+d),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+d+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+c),greedy:!0,inside:{interpolation:a,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:a,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:a,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+c),greedy:!0,inside:{interpolation:a,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:a,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}(Prism)},99768:(e,a,c)=>{var d={"./prism-csharp":79016,"./prism-php":99945,"./prism-protobuf":37345,"./prism-ruby":59385};function f(e){var a=b(e);return c(a)}function b(e){if(!c.o(d,e)){var a=new Error("Cannot find module '"+e+"'");throw a.code="MODULE_NOT_FOUND",a}return d[e]}f.keys=function(){return Object.keys(d)},f.resolve=b,e.exports=f,f.id=99768},34155:e=>{var a,c,d=e.exports={};function f(){throw new Error("setTimeout has not been defined")}function b(){throw new Error("clearTimeout has not been defined")}function t(e){if(a===setTimeout)return setTimeout(e,0);if((a===f||!a)&&setTimeout)return a=setTimeout,setTimeout(e,0);try{return a(e,0)}catch(c){try{return a.call(null,e,0)}catch(c){return a.call(this,e,0)}}}!function(){try{a="function"==typeof setTimeout?setTimeout:f}catch(e){a=f}try{c="function"==typeof clearTimeout?clearTimeout:b}catch(e){c=b}}();var r,n=[],i=!1,o=-1;function s(){i&&r&&(i=!1,r.length?n=r.concat(n):o=-1,n.length&&l())}function l(){if(!i){var e=t(s);i=!0;for(var a=n.length;a;){for(r=n,n=[];++o1)for(var c=1;c{"use strict";var d=c(50414);function f(){}function b(){}b.resetWarningCache=f,e.exports=function(){function e(e,a,c,f,b,t){if(t!==d){var r=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw r.name="Invariant Violation",r}}function a(){return e}e.isRequired=e;var c={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:a,element:e,elementType:e,instanceOf:a,node:e,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:b,resetWarningCache:f};return c.PropTypes=c,c}},45697:(e,a,c)=>{e.exports=c(92703)()},50414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},55760:e=>{"use strict";function a(e){this._maxSize=e,this.clear()}a.prototype.clear=function(){this._size=0,this._values=Object.create(null)},a.prototype.get=function(e){return this._values[e]},a.prototype.set=function(e,a){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=a};var c=/[^.^\]^[]+|(?=\[\]|\.\.)/g,d=/^\d+$/,f=/^\d/,b=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,t=/^\s*(['"]?)(.*?)(\1)\s*$/,r=new a(512),n=new a(512),i=new a(512);function o(e){return r.get(e)||r.set(e,s(e).map((function(e){return e.replace(t,"$2")})))}function s(e){return e.match(c)||[""]}function l(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function x(e){return!l(e)&&(function(e){return e.match(f)&&!e.match(d)}(e)||function(e){return b.test(e)}(e))}e.exports={Cache:a,split:s,normalizePath:o,setter:function(e){var a=o(e);return n.get(e)||n.set(e,(function(e,c){for(var d=0,f=a.length,b=e;d{"use strict";var d=c(67294),f=c(63840);function b(e){for(var a="https://reactjs.org/docs/error-decoder.html?invariant="+e,c=1;c