From 6bec1e37483c426fcd2b12ec86222bb95f337b82 Mon Sep 17 00:00:00 2001 From: djmbritt Date: Fri, 31 May 2024 17:49:37 +0000 Subject: [PATCH] deploy: 426fa3bfe22bf1b3d5a03b3a029f09f19fc4582b --- ...-154ff564.json => search-index-8e93f437.json} | 2 +- ...asks-Dm6NhO6p.js => adding-tasks-CxnhmQ6S.js} | 2 +- ...on-4ay9bc6L.js => authentication-DzMjV0PM.js} | 2 +- assets/{claim-HC569VK4.js => claim-DvsqMTpc.js} | 2 +- ...ho_IYGu.js => collecting-results-CptDcOPs.js} | 2 +- ...ity-BiRlFBfx.js => compatibility-ikUH7VSu.js} | 2 +- ...BWd2Ad2h.js => create-a-campaign-CbeoJhhs.js} | 4 ++-- ...BW3pgVao.js => create-a-template-Bb99gWNu.js} | 2 +- ...nt-CyO0hT89.js => create-account-Dsn1Wd4H.js} | 2 +- ...atch-BwHIKDuc.js => create-batch-AWOv63Q7.js} | 2 +- ...n-DPuP_dVS.js => create-campaign-3GAhCXEZ.js} | 4 ++-- .../{deposit-cjK7hbl4.js => deposit-DtjAgOIh.js} | 2 +- assets/{faq-BhJEZw3n.js => faq-CxeC-4XY.js} | 2 +- ...-Due6Wi4q.js => get-acc-task-idx-CcfoMfIC.js} | 2 +- ...unts-BRfzjl1R.js => get-accounts-CiIr3hSO.js} | 2 +- ...qHakvsdd.js => get-all-campaigns-Cv7w94N_.js} | 2 +- assets/get-avatar-5f4fyhxs.js | 1 - assets/get-avatar-_KtthGZi.js | 1 + ...lance-ph5vilub.js => get-balance-DW72rr-n.js} | 2 +- assets/get-batch-AWOv63Q7.js | 1 + assets/get-batch-BwHIKDuc.js | 1 - ...lh1-6-h.js => get-campaign-by-id-D0kosoj_.js} | 2 +- ...gns-DCqHNVnp.js => get-campaigns-DVUiEkOB.js} | 2 +- assets/get-or-create-5f4fyhxs.js | 1 - assets/get-or-create-_KtthGZi.js | 1 + ...Jmu14.js => get-pending-payments-DQD4bVJi.js} | 2 +- ...t-price-DCleG9QA.js => get-price-BJVCclnK.js} | 2 +- assets/get-repetions-CcfoMfIC.js | 1 + assets/get-repetions-Due6Wi4q.js | 1 - assets/get-reservations-CGGXR8ns.js | 1 - assets/get-reservations-m00rYVov.js | 1 + assets/get-submissions-CcfoMfIC.js | 1 + assets/get-submissions-Due6Wi4q.js | 1 - assets/get-task-CcfoMfIC.js | 1 + assets/get-task-Due6Wi4q.js | 1 - ...d-DjfdpUqq.js => getting-started-CHX41jdV.js} | 2 +- assets/{index-DxjPKUrw.js => index-BTxi3UaB.js} | 16 ++++++++-------- assets/{index-BhFkPhY_.js => index-dGVxWMdP.js} | 2 +- ...tion-C9oaz1wo.js => introduction-CQaVpgJM.js} | 2 +- ...tion-kUGjGDtY.js => introduction-CY0XrFzt.js} | 2 +- ...tion-C3Z5lqDn.js => introduction-DnGY0G7i.js} | 2 +- ...tudio-cifO2D5V.js => labelstudio-CKEaF1LS.js} | 4 ++-- ...DAdIxJWM.js => local-development-BbDw4hG7.js} | 2 +- .../{payout-B6oZg56b.js => payout-RyMb6rmY.js} | 2 +- assets/placeholders-ABHgRcwq.js | 1 + assets/placeholders-jzHg2ErV.js | 1 - assets/reserve-task-CGGXR8ns.js | 1 - assets/reserve-task-m00rYVov.js | 1 + assets/submit-task-CcfoMfIC.js | 1 + assets/submit-task-Due6Wi4q.js | 1 - assets/{swap-Dz287hUA.js => swap-DWuyHSv6.js} | 2 +- ...ology-ClXVlQBb.js => terminology-9WcsP1Qa.js} | 2 +- assets/transfer-D3r-1EC6.js | 1 + ...transfer-CHEWxACI.js => transfer-GkLLVaeQ.js} | 2 +- assets/transfer-ke5453AR.js | 1 - assets/{types-DZSS5pFr.js => types-mcce6rHw.js} | 2 +- ...withdraw-GxKREANf.js => withdraw-DYZpYlrM.js} | 2 +- docs/authentication/index.html | 2 +- docs/collecting-data/adding-tasks/index.html | 2 +- .../collecting-results/index.html | 2 +- .../collecting-data/create-a-campaign/index.html | 2 +- .../collecting-data/create-a-template/index.html | 2 +- docs/collecting-data/introduction/index.html | 2 +- docs/compatibility/index.html | 2 +- docs/faq/index.html | 2 +- docs/getting-started/index.html | 2 +- docs/glossary/terminology/index.html | 2 +- docs/glossary/types/index.html | 2 +- docs/introduction/index.html | 2 +- docs/local-development/index.html | 2 +- docs/tasks/batches/create-batch/index.html | 2 +- docs/tasks/batches/get-batch/index.html | 2 +- docs/tasks/campaigns/create-campaign/index.html | 2 +- .../tasks/campaigns/get-all-campaigns/index.html | 2 +- .../campaigns/get-campaign-by-id/index.html | 2 +- docs/tasks/campaigns/get-campaigns/index.html | 2 +- docs/tasks/get-acc-task-idx/index.html | 2 +- docs/tasks/get-repetions/index.html | 2 +- docs/tasks/get-submissions/index.html | 2 +- docs/tasks/get-task/index.html | 2 +- .../reservations/get-reservations/index.html | 2 +- docs/tasks/reservations/reserve-task/index.html | 2 +- docs/tasks/submit-task/index.html | 2 +- docs/templates/introduction/index.html | 2 +- docs/templates/labelstudio/index.html | 4 ++-- docs/templates/placeholders/index.html | 2 +- docs/token/get-balance/index.html | 2 +- docs/token/get-price/index.html | 2 +- docs/token/swap/index.html | 2 +- docs/token/transfer/index.html | 2 +- docs/vaccount/claim/index.html | 2 +- docs/vaccount/create-account/index.html | 2 +- docs/vaccount/deposit/index.html | 2 +- docs/vaccount/get-accounts/index.html | 2 +- docs/vaccount/get-avatar/index.html | 2 +- docs/vaccount/get-or-create/index.html | 2 +- docs/vaccount/get-pending-payments/index.html | 2 +- docs/vaccount/payout/index.html | 2 +- docs/vaccount/transfer/index.html | 2 +- docs/vaccount/withdraw/index.html | 2 +- index.html | 2 +- 101 files changed, 101 insertions(+), 101 deletions(-) rename .vocs/{search-index-154ff564.json => search-index-8e93f437.json} (99%) rename assets/{adding-tasks-Dm6NhO6p.js => adding-tasks-CxnhmQ6S.js} (99%) rename assets/{authentication-4ay9bc6L.js => authentication-DzMjV0PM.js} (99%) rename assets/{claim-HC569VK4.js => claim-DvsqMTpc.js} (99%) rename assets/{collecting-results-Bho_IYGu.js => collecting-results-CptDcOPs.js} (88%) rename assets/{compatibility-BiRlFBfx.js => compatibility-ikUH7VSu.js} (92%) rename assets/{create-a-campaign-BWd2Ad2h.js => create-a-campaign-CbeoJhhs.js} (99%) rename assets/{create-a-template-BW3pgVao.js => create-a-template-Bb99gWNu.js} (99%) rename assets/{create-account-CyO0hT89.js => create-account-Dsn1Wd4H.js} (99%) rename assets/{create-batch-BwHIKDuc.js => create-batch-AWOv63Q7.js} (75%) rename assets/{create-campaign-DPuP_dVS.js => create-campaign-3GAhCXEZ.js} (99%) rename assets/{deposit-cjK7hbl4.js => deposit-DtjAgOIh.js} (99%) rename assets/{faq-BhJEZw3n.js => faq-CxeC-4XY.js} (75%) rename assets/{get-acc-task-idx-Due6Wi4q.js => get-acc-task-idx-CcfoMfIC.js} (75%) rename assets/{get-accounts-BRfzjl1R.js => get-accounts-CiIr3hSO.js} (99%) rename assets/{get-all-campaigns-qHakvsdd.js => get-all-campaigns-Cv7w94N_.js} (75%) delete mode 100644 assets/get-avatar-5f4fyhxs.js create mode 100644 assets/get-avatar-_KtthGZi.js rename assets/{get-balance-ph5vilub.js => get-balance-DW72rr-n.js} (99%) create mode 100644 assets/get-batch-AWOv63Q7.js delete mode 100644 assets/get-batch-BwHIKDuc.js rename assets/{get-campaign-by-id-Dlh1-6-h.js => get-campaign-by-id-D0kosoj_.js} (99%) rename assets/{get-campaigns-DCqHNVnp.js => get-campaigns-DVUiEkOB.js} (99%) delete mode 100644 assets/get-or-create-5f4fyhxs.js create mode 100644 assets/get-or-create-_KtthGZi.js rename assets/{get-pending-payments-JunJmu14.js => get-pending-payments-DQD4bVJi.js} (99%) rename assets/{get-price-DCleG9QA.js => get-price-BJVCclnK.js} (99%) create mode 100644 assets/get-repetions-CcfoMfIC.js delete mode 100644 assets/get-repetions-Due6Wi4q.js delete mode 100644 assets/get-reservations-CGGXR8ns.js create mode 100644 assets/get-reservations-m00rYVov.js create mode 100644 assets/get-submissions-CcfoMfIC.js delete mode 100644 assets/get-submissions-Due6Wi4q.js create mode 100644 assets/get-task-CcfoMfIC.js delete mode 100644 assets/get-task-Due6Wi4q.js rename assets/{getting-started-DjfdpUqq.js => getting-started-CHX41jdV.js} (99%) rename assets/{index-DxjPKUrw.js => index-BTxi3UaB.js} (84%) rename assets/{index-BhFkPhY_.js => index-dGVxWMdP.js} (99%) rename assets/{introduction-C9oaz1wo.js => introduction-CQaVpgJM.js} (96%) rename assets/{introduction-kUGjGDtY.js => introduction-CY0XrFzt.js} (99%) rename assets/{introduction-C3Z5lqDn.js => introduction-DnGY0G7i.js} (97%) rename assets/{labelstudio-cifO2D5V.js => labelstudio-CKEaF1LS.js} (99%) rename assets/{local-development-DAdIxJWM.js => local-development-BbDw4hG7.js} (88%) rename assets/{payout-B6oZg56b.js => payout-RyMb6rmY.js} (99%) create mode 100644 assets/placeholders-ABHgRcwq.js delete mode 100644 assets/placeholders-jzHg2ErV.js delete mode 100644 assets/reserve-task-CGGXR8ns.js create mode 100644 assets/reserve-task-m00rYVov.js create mode 100644 assets/submit-task-CcfoMfIC.js delete mode 100644 assets/submit-task-Due6Wi4q.js rename assets/{swap-Dz287hUA.js => swap-DWuyHSv6.js} (99%) rename assets/{terminology-ClXVlQBb.js => terminology-9WcsP1Qa.js} (99%) create mode 100644 assets/transfer-D3r-1EC6.js rename assets/{transfer-CHEWxACI.js => transfer-GkLLVaeQ.js} (99%) delete mode 100644 assets/transfer-ke5453AR.js rename assets/{types-DZSS5pFr.js => types-mcce6rHw.js} (99%) rename assets/{withdraw-GxKREANf.js => withdraw-DYZpYlrM.js} (99%) diff --git a/.vocs/search-index-154ff564.json b/.vocs/search-index-8e93f437.json similarity index 99% rename from .vocs/search-index-154ff564.json rename to .vocs/search-index-8e93f437.json index 7b299d9b..3ef8a21b 100644 --- a/.vocs/search-index-154ff564.json +++ b/.vocs/search-index-8e93f437.json @@ -1 +1 @@ -{"documentCount":162,"nextId":162,"documentIds":{"0":"pages/docs/authentication.mdx#authentication","1":"pages/docs/authentication.mdx#private-key","2":"pages/docs/authentication.mdx#wallet-plugin","3":"pages/docs/compatibility.mdx#compatibility","4":"pages/docs/getting-started.mdx#getting-started","5":"pages/docs/getting-started.mdx#installation","6":"pages/docs/getting-started.mdx#quick-start","7":"pages/docs/getting-started.mdx#1-import-and-instantiate-the-effectai-client","8":"pages/docs/getting-started.mdx#2-using-the-client","9":"pages/docs/getting-started.mdx#3-authentication","10":"pages/docs/getting-started.mdx#whats-next-","11":"pages/docs/introduction.mdx#why-effect-ai","12":"pages/docs/introduction.mdx#problems","13":"pages/docs/introduction.mdx#solution","14":"pages/docs/local-development.mdx#local-development","15":"pages/docs/collecting-data/adding-tasks.mdx#adding-tasks","16":"pages/docs/collecting-data/collecting-results.mdx#collecting-results","17":"pages/docs/collecting-data/create-a-campaign.mdx#creating-your-first-campaign","18":"pages/docs/collecting-data/create-a-campaign.mdx#creating-a-campaign","19":"pages/docs/collecting-data/create-a-template.mdx#create-a-template","20":"pages/docs/collecting-data/introduction.mdx#data-collection","21":"pages/docs/collecting-data/introduction.mdx#image-annotation-for-ai-training","22":"pages/docs/glossary/terminology.mdx#terminology","23":"pages/docs/glossary/terminology.mdx#accounts","24":"pages/docs/glossary/terminology.mdx#wallets","25":"pages/docs/glossary/terminology.mdx#contracts","26":"pages/docs/glossary/types.mdx#types","27":"pages/docs/glossary/types.mdx#campaign","28":"pages/docs/glossary/types.mdx#client-options","29":"pages/docs/glossary/types.mdx#ipfscachedurationims","30":"pages/docs/glossary/types.mdx#fetchprovider","31":"pages/docs/glossary/types.mdx#cacheimplementation","32":"pages/docs/glossary/types.mdx#asset","33":"pages/docs/glossary/types.mdx#description","34":"pages/docs/glossary/types.mdx#transaction-result","35":"pages/docs/glossary/types.mdx#description-1","36":"pages/docs/templates/introduction.mdx#introduction","37":"pages/docs/templates/introduction.mdx#what-is-a-template","38":"pages/docs/templates/introduction.mdx#parameterizing-templates-placeholders","39":"pages/docs/templates/introduction.mdx#submitting-templates-and-retrieving-results","40":"pages/docs/templates/introduction.mdx#creating-your-own-template","41":"pages/docs/templates/labelstudio.mdx#label-studio-example","42":"pages/docs/templates/labelstudio.mdx#template","43":"pages/docs/templates/labelstudio.mdx#input-schema","44":"pages/docs/templates/labelstudio.mdx#example-output-data","45":"pages/docs/templates/labelstudio.mdx#script","46":"pages/docs/token/get-balance.mdx#getbalance","47":"pages/docs/token/get-balance.mdx#description","48":"pages/docs/token/get-balance.mdx#usage","49":"pages/docs/token/get-balance.mdx#output","50":"pages/docs/token/get-balance.mdx#parameters","51":"pages/docs/token/get-balance.mdx#client","52":"pages/docs/token/get-balance.mdx#actor","53":"pages/docs/token/get-balance.mdx#returns","54":"pages/docs/token/get-price.mdx#getprice","55":"pages/docs/token/get-price.mdx#description","56":"pages/docs/token/get-price.mdx#usage","57":"pages/docs/token/get-price.mdx#output","58":"pages/docs/token/get-price.mdx#parameters","59":"pages/docs/token/get-price.mdx#na","60":"pages/docs/token/get-price.mdx#returns","61":"pages/docs/token/swap.mdx#swap","62":"pages/docs/token/swap.mdx#description","63":"pages/docs/token/swap.mdx#walletplugin","64":"pages/docs/token/swap.mdx#usage","65":"pages/docs/token/swap.mdx#output","66":"pages/docs/token/swap.mdx#parameters","67":"pages/docs/token/swap.mdx#client","68":"pages/docs/token/swap.mdx#ammount","69":"pages/docs/token/swap.mdx#direction","70":"pages/docs/token/swap.mdx#returns","71":"pages/docs/token/transfer.mdx#vtransfer","72":"pages/docs/token/transfer.mdx#description","73":"pages/docs/token/transfer.mdx#usage","74":"pages/docs/token/transfer.mdx#returns","75":"pages/docs/token/transfer.mdx#parameters","76":"pages/docs/token/transfer.mdx#client","77":"pages/docs/token/transfer.mdx#limit-optional","78":"pages/docs/token/transfer.mdx#page-optional","79":"pages/docs/vaccount/claim.mdx#claim","80":"pages/docs/vaccount/claim.mdx#description","81":"pages/docs/vaccount/claim.mdx#usage","82":"pages/docs/vaccount/claim.mdx#output","83":"pages/docs/vaccount/claim.mdx#parameters","84":"pages/docs/vaccount/claim.mdx#client","85":"pages/docs/vaccount/claim.mdx#returns","86":"pages/docs/vaccount/create-account.mdx#createaccount","87":"pages/docs/vaccount/create-account.mdx#description","88":"pages/docs/vaccount/create-account.mdx#usage","89":"pages/docs/vaccount/create-account.mdx#output","90":"pages/docs/vaccount/create-account.mdx#parameters","91":"pages/docs/vaccount/create-account.mdx#client","92":"pages/docs/vaccount/create-account.mdx#actor","93":"pages/docs/vaccount/create-account.mdx#returns","94":"pages/docs/vaccount/deposit.mdx#deposit","95":"pages/docs/vaccount/deposit.mdx#description","96":"pages/docs/vaccount/deposit.mdx#usage","97":"pages/docs/vaccount/deposit.mdx#output","98":"pages/docs/vaccount/deposit.mdx#parameters","99":"pages/docs/vaccount/deposit.mdx#client","100":"pages/docs/vaccount/deposit.mdx#vaccountid","101":"pages/docs/vaccount/deposit.mdx#amount","102":"pages/docs/vaccount/deposit.mdx#returns","103":"pages/docs/vaccount/get-accounts.mdx#getvaccounts","104":"pages/docs/vaccount/get-accounts.mdx#description","105":"pages/docs/vaccount/get-accounts.mdx#usage","106":"pages/docs/vaccount/get-accounts.mdx#output","107":"pages/docs/vaccount/get-accounts.mdx#parameters","108":"pages/docs/vaccount/get-accounts.mdx#client","109":"pages/docs/vaccount/get-accounts.mdx#actor","110":"pages/docs/vaccount/get-accounts.mdx#returns","111":"pages/docs/vaccount/get-pending-payments.mdx#getpendinpayments","112":"pages/docs/vaccount/get-pending-payments.mdx#description","113":"pages/docs/vaccount/get-pending-payments.mdx#usage","114":"pages/docs/vaccount/get-pending-payments.mdx#output","115":"pages/docs/vaccount/get-pending-payments.mdx#parameters","116":"pages/docs/vaccount/get-pending-payments.mdx#client","117":"pages/docs/vaccount/get-pending-payments.mdx#vaccountid","118":"pages/docs/vaccount/get-pending-payments.mdx#returns","119":"pages/docs/vaccount/payout.mdx#payout","120":"pages/docs/vaccount/payout.mdx#description","121":"pages/docs/vaccount/payout.mdx#usage","122":"pages/docs/vaccount/payout.mdx#output","123":"pages/docs/vaccount/payout.mdx#parameters","124":"pages/docs/vaccount/payout.mdx#client","125":"pages/docs/vaccount/payout.mdx#actor","126":"pages/docs/vaccount/payout.mdx#returns","127":"pages/docs/vaccount/withdraw.mdx#withdraw","128":"pages/docs/vaccount/withdraw.mdx#description","129":"pages/docs/vaccount/withdraw.mdx#usage","130":"pages/docs/vaccount/withdraw.mdx#output","131":"pages/docs/vaccount/withdraw.mdx#parameters","132":"pages/docs/vaccount/withdraw.mdx#client","133":"pages/docs/vaccount/withdraw.mdx#actor","134":"pages/docs/vaccount/withdraw.mdx#returns","135":"pages/docs/tasks/campaigns/create-campaign.mdx#createcampaign","136":"pages/docs/tasks/campaigns/create-campaign.mdx#description","137":"pages/docs/tasks/campaigns/create-campaign.mdx#usage","138":"pages/docs/tasks/campaigns/create-campaign.mdx#output","139":"pages/docs/tasks/campaigns/create-campaign.mdx#parameters","140":"pages/docs/tasks/campaigns/create-campaign.mdx#client","141":"pages/docs/tasks/campaigns/create-campaign.mdx#createcampaignargscampaign","142":"pages/docs/tasks/campaigns/create-campaign.mdx#returns","143":"pages/docs/tasks/campaigns/get-campaign-by-id.mdx#getcampaignbyid","144":"pages/docs/tasks/campaigns/get-campaign-by-id.mdx#description","145":"pages/docs/tasks/campaigns/get-campaign-by-id.mdx#usage","146":"pages/docs/tasks/campaigns/get-campaign-by-id.mdx#output","147":"pages/docs/tasks/campaigns/get-campaign-by-id.mdx#parameters","148":"pages/docs/tasks/campaigns/get-campaign-by-id.mdx#client","149":"pages/docs/tasks/campaigns/get-campaign-by-id.mdx#id","150":"pages/docs/tasks/campaigns/get-campaign-by-id.mdx#returns","151":"pages/docs/tasks/campaigns/get-campaigns.mdx#getcampaigns","152":"pages/docs/tasks/campaigns/get-campaigns.mdx#description","153":"pages/docs/tasks/campaigns/get-campaigns.mdx#usage","154":"pages/docs/tasks/campaigns/get-campaigns.mdx#output","155":"pages/docs/tasks/campaigns/get-campaigns.mdx#parameters","156":"pages/docs/tasks/campaigns/get-campaigns.mdx#client","157":"pages/docs/tasks/campaigns/get-campaigns.mdx#page","158":"pages/docs/tasks/campaigns/get-campaigns.mdx#limit","159":"pages/docs/tasks/campaigns/get-campaigns.mdx#reverse","160":"pages/docs/tasks/campaigns/get-campaigns.mdx#ipfsfetch","161":"pages/docs/tasks/campaigns/get-campaigns.mdx#returns"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,34],"1":[2,2,39],"2":[2,2,68],"3":[1,1,29],"4":[2,1,13],"5":[1,2,20],"6":[2,2,1],"7":[7,4,17],"8":[4,4,19],"9":[2,4,32],"10":[5,2,31],"11":[3,1,1],"12":[1,3,56],"13":[1,3,51],"14":[2,1,1],"15":[2,1,122],"16":[2,1,2],"17":[4,1,56],"18":[3,5,131],"19":[3,1,171],"20":[2,1,57],"21":[5,2,86],"22":[1,1,1],"23":[1,1,121],"24":[1,1,32],"25":[1,1,58],"26":[1,1,8],"27":[1,1,3],"28":[2,1,32],"29":[1,1,21],"30":[1,1,65],"31":[1,1,48],"32":[1,1,1],"33":[1,2,48],"34":[2,1,1],"35":[1,3,57],"36":[1,1,76],"37":[5,1,87],"38":[3,1,60],"39":[5,1,74],"40":[4,1,19],"41":[3,1,44],"42":[1,3,222],"43":[2,3,73],"44":[3,3,109],"45":[1,3,102],"46":[1,1,1],"47":[1,1,39],"48":[1,1,25],"49":[1,1,10],"50":[1,1,1],"51":[1,2,13],"52":[1,2,25],"53":[1,1,42],"54":[1,1,1],"55":[1,1,43],"56":[1,1,13],"57":[1,1,3],"58":[1,1,1],"59":[3,2,8],"60":[1,1,16],"61":[1,1,1],"62":[1,1,30],"63":[1,2,32],"64":[1,1,68],"65":[1,1,105],"66":[1,1,1],"67":[1,2,19],"68":[1,2,11],"69":[1,2,17],"70":[1,1,24],"71":[1,1,1],"72":[1,1,36],"73":[1,1,30],"74":[1,1,34],"75":[1,1,1],"76":[1,2,3],"77":[3,2,5],"78":[3,2,103],"79":[1,1,1],"80":[1,1,48],"81":[1,1,67],"82":[1,1,36],"83":[1,1,1],"84":[1,2,21],"85":[1,1,25],"86":[1,1,1],"87":[1,1,55],"88":[1,1,57],"89":[1,1,36],"90":[1,1,1],"91":[1,2,11],"92":[1,2,15],"93":[1,1,25],"94":[1,1,1],"95":[1,1,30],"96":[1,1,31],"97":[1,1,36],"98":[1,1,1],"99":[1,2,11],"100":[1,2,11],"101":[1,2,9],"102":[1,1,25],"103":[1,1,1],"104":[1,1,57],"105":[1,1,31],"106":[1,1,16],"107":[1,1,1],"108":[1,2,11],"109":[1,2,15],"110":[1,1,25],"111":[1,1,1],"112":[1,1,37],"113":[1,1,37],"114":[1,1,6],"115":[1,1,1],"116":[1,2,11],"117":[1,2,7],"118":[1,1,27],"119":[1,1,1],"120":[1,1,51],"121":[1,1,86],"122":[1,1,36],"123":[1,1,1],"124":[1,2,11],"125":[1,2,15],"126":[1,1,25],"127":[1,1,1],"128":[1,1,32],"129":[1,1,65],"130":[1,1,36],"131":[1,1,1],"132":[1,2,11],"133":[1,2,15],"134":[1,1,25],"135":[1,1,1],"136":[1,1,35],"137":[1,1,108],"138":[1,1,36],"139":[1,1,1],"140":[1,2,10],"141":[4,2,52],"142":[1,1,25],"143":[1,1,1],"144":[1,1,13],"145":[1,1,23],"146":[1,1,66],"147":[1,1,1],"148":[1,2,10],"149":[1,2,11],"150":[1,1,53],"151":[1,1,1],"152":[1,1,18],"153":[1,1,18],"154":[1,1,34],"155":[1,1,1],"156":[1,2,10],"157":[1,2,14],"158":[1,2,15],"159":[1,2,15],"160":[1,2,17],"161":[1,1,77]},"averageFieldLength":[1.3950617283950617,1.4135802469135803,31.34567901234569],"storedFields":{"0":{"href":"/docs/authentication#authentication","html":"\n

Some functions in the Effect AI SDK require authentication with the EOS blockchain. This is done by passing a session object to the createClient function.\nA session can be established by either private key or wallet plugins.

\n","isPage":true,"text":"\nSome functions in the Effect AI SDK require authentication with the EOS blockchain. This is done by passing a session object to the createClient function.\nA session can be established by either private key or wallet plugins.\n","title":"Authentication","titles":[]},"1":{"href":"/docs/authentication#private-key","html":"\n

To authenticate using a private key we recommend using the wallet-plugin-privatekey\nAnd passing it through a session to the createClient function.

\n
import {\n    createClient,\n    eos,\n    Session\n} from "@effectai/sdk";\n \nimport { WalletPluginPrivateKey } from '@wharfkit/wallet-plugin-privatekey'\n \nconst session = new Session({\n    chain: eos,\n    walletPlugin: new WalletPluginPrivateKey(\n        '5Jtoxgny5tT7NiNFp1MLogviuPJ9NniWjnU4wKzaX4t7pL4kJ8s',\n    ),\n})\n \nconst client = await createClient({ session })
\n","isPage":false,"text":"\nTo authenticate using a private key we recommend using the wallet-plugin-privatekey\nAnd passing it through a session to the createClient function.\nimport {\n createClient,\n eos,\n Session\n} from "@effectai/sdk";\n \nimport { WalletPluginPrivateKey } from '@wharfkit/wallet-plugin-privatekey'\n \nconst session = new Session({\n chain: eos,\n walletPlugin: new WalletPluginPrivateKey(\n '5Jtoxgny5tT7NiNFp1MLogviuPJ9NniWjnU4wKzaX4t7pL4kJ8s',\n ),\n})\n \nconst client = await createClient({ session })\n","title":"Private Key","titles":["Authentication",null]},"2":{"href":"/docs/authentication#wallet-plugin","html":"\n

It's also possible to authenticate using a wallet plugin, for example using the wallet-plugin-anchor\nThis one is a bit more complicated and requires two additional packages: @wharfkit/session and @wharfkit/web-renderer

\n
import {\n    createClient,\n    eos,\n} from "@effectai/sdk";\n \nimport { SessionKit } from "@wharfkit/session";\nimport { WebRenderer } from "@wharfkit/web-renderer";\nimport { WalletPluginAnchor } from "@wharfkit/wallet-plugin-anchor";\n \nconst webRenderer = new WebRenderer();\n \nconst sessionKit = new SessionKit(\n\t\t{\n\t\t\tappName: "<YOUR APP NAME>",\n\t\t\tchains: [eos],\n\t\t\tui: webRenderer,\n\t\t\twalletPlugins: [\n\t\t\t\tnew WalletPluginAnchor(),\n\t\t\t],\n\t\t},\n\t)\n \nconst session = await sessionKit.restore();\n \nif(!session) {\n    throw new Error('Session not found')\n}\n \nconst client = await createClient({ session })
","isPage":false,"text":"\nIt's also possible to authenticate using a wallet plugin, for example using the wallet-plugin-anchor\nThis one is a bit more complicated and requires two additional packages: @wharfkit/session and @wharfkit/web-renderer\nimport {\n createClient,\n eos,\n} from "@effectai/sdk";\n \nimport { SessionKit } from "@wharfkit/session";\nimport { WebRenderer } from "@wharfkit/web-renderer";\nimport { WalletPluginAnchor } from "@wharfkit/wallet-plugin-anchor";\n \nconst webRenderer = new WebRenderer();\n \nconst sessionKit = new SessionKit(\n\t\t{\n\t\t\tappName: "<YOUR APP NAME>",\n\t\t\tchains: [eos],\n\t\t\tui: webRenderer,\n\t\t\twalletPlugins: [\n\t\t\t\tnew WalletPluginAnchor(),\n\t\t\t],\n\t\t},\n\t)\n \nconst session = await sessionKit.restore();\n \nif(!session) {\n throw new Error('Session not found')\n}\n \nconst client = await createClient({ session })","title":"Wallet Plugin","titles":["Authentication",null]},"3":{"href":"/docs/compatibility#compatibility","html":"\n

The Effect AI SDK is compatible with all Node.js environments, including browsers and React Native.\nIt might be necessary to use a particular fetch polyfill in some environments.

","isPage":true,"text":"\nThe Effect AI SDK is compatible with all Node.js environments, including browsers and React Native.\nIt might be necessary to use a particular fetch polyfill in some environments.","title":"Compatibility","titles":[]},"4":{"href":"/docs/getting-started#getting-started","html":"
Get started with the SDK in just a few lines of code.
\n","isPage":true,"text":"Get started with the SDK in just a few lines of code.\n","title":"Getting Started","titles":[]},"5":{"href":"/docs/getting-started#installation","html":"\n

Use your favorite package manager to install the SDK.\nThe sdk is available on npm

\n
npm i @effectai/sdk
bun i @effectai/sdk
pnpm i @effectai/sdk
\n","isPage":false,"text":"\nUse your favorite package manager to install the SDK.\nThe sdk is available on npm\nnpm i @effectai/sdkbun i @effectai/sdkpnpm i @effectai/sdk\n","title":"Installation","titles":["Getting Started"]},"6":{"href":"/docs/getting-started#quick-start","html":"\n","isPage":false,"text":"\n","title":"Quick Start","titles":["Getting Started"]},"7":{"href":"/docs/getting-started#1-import-and-instantiate-the-effectai-client","html":"\n
import {\n\tcreateClient,\n\tjungle4\n} from "@effectai/sdk";\n \nconst client = await createClient({ network: jungle4 });
import {\n\tcreateClient,\n\teos\n} from "@effectai/sdk";\n \nconst client = await createClient({ network: eos });
\n","isPage":false,"text":"\nimport {\n\tcreateClient,\n\tjungle4\n} from "@effectai/sdk";\n \nconst client = await createClient({ network: jungle4 });import {\n\tcreateClient,\n\teos\n} from "@effectai/sdk";\n \nconst client = await createClient({ network: eos });\n","title":"1. Import and Instantiate the EffectAI Client","titles":["Getting Started","Quick Start"]},"8":{"href":"/docs/getting-started#2-using-the-client","html":"\n
import {\n\tcreateClient,\n\teos\n} from "@effectai/sdk";\nconst client = await createClient({ network: eos });\n// ---cut---\nimport {\n\tgetCampaigns\n} from "@effectai/sdk";\n \nconst campaigns = await getCampaigns({ client });
\n","isPage":false,"text":"\nimport {\n\tcreateClient,\n\teos\n} from "@effectai/sdk";\nconst client = await createClient({ network: eos });\n// ---cut---\nimport {\n\tgetCampaigns\n} from "@effectai/sdk";\n \nconst campaigns = await getCampaigns({ client });\n","title":"2. Using the client","titles":["Getting Started","Quick Start"]},"9":{"href":"/docs/getting-started#3-authentication","html":"\n

Depending on your use case, you might need some sort of authentication with the EOS blockchain. Authentication is done through passing a Wharfkit Session. Read our guide on how authenticate depending on your environment.

\n","isPage":false,"text":"\nDepending on your use case, you might need some sort of authentication with the EOS blockchain. Authentication is done through passing a Wharfkit Session. Read our guide on how authenticate depending on your environment.\n","title":"3. Authentication","titles":["Getting Started","Quick Start"]},"10":{"href":"/docs/getting-started#whats-next-","html":"\n

Now that we have a basic understanding of how to set up the client, we can move on to more advanced topics, like creating our first data collection campaign.\nRead more on the following pages.

","isPage":false,"text":"\nNow that we have a basic understanding of how to set up the client, we can move on to more advanced topics, like creating our first data collection campaign.\nRead more on the following pages.","title":"What's next ?","titles":["Getting Started"]},"11":{"href":"/docs/introduction#why-effect-ai","html":"\n","isPage":true,"text":"\n","title":"Why Effect AI","titles":[]},"12":{"href":"/docs/introduction#problems","html":"\n

AI will be the pivotal technology of the future that will transcend us into a new era of efficiency and innovation.\nHowever, the development of AI models is contingent upon the availability of high-quality training data.\nThis poses a significant challenge, as the creation of such data is a labor-intensive and time-consuming process.\nMoreover, this data is often gathered & developed behind closed doors, leading to a lack of transparency and accountability.

\n","isPage":false,"text":"\nAI will be the pivotal technology of the future that will transcend us into a new era of efficiency and innovation.\nHowever, the development of AI models is contingent upon the availability of high-quality training data.\nThis poses a significant challenge, as the creation of such data is a labor-intensive and time-consuming process.\nMoreover, this data is often gathered & developed behind closed doors, leading to a lack of transparency and accountability.\n","title":"Problems","titles":["Why Effect AI"]},"13":{"href":"/docs/introduction#solution","html":"\n

The solution is Effect AI, a decentralized network that connects AI developers with a global workforce of AI trainers.\nLeading the charge in the democratization of AI, Effect AI enables developers to create high-quality training data through a transparent and collaborative process.\nBy leveraging the power of the crowd, Effect AI ensures that AI models are trained on diverse and reliable datasets, thereby enhancing their accuracy and performance.

","isPage":false,"text":"\nThe solution is Effect AI, a decentralized network that connects AI developers with a global workforce of AI trainers.\nLeading the charge in the democratization of AI, Effect AI enables developers to create high-quality training data through a transparent and collaborative process.\nBy leveraging the power of the crowd, Effect AI ensures that AI models are trained on diverse and reliable datasets, thereby enhancing their accuracy and performance.","title":"Solution","titles":["Why Effect AI"]},"14":{"href":"/docs/local-development#local-development","html":"","isPage":true,"text":"","title":"Local Development","titles":[]},"15":{"href":"/docs/collecting-data/adding-tasks#adding-tasks","html":"\n

Adding tasks to a campaign is done through adding batches.

\n

Batches are a collection of tasks that are added to a campaign. Each batch can contain multiple tasks.\nLet's start by creating a batch with 3 tasks to our newly created image classification campaign.

\n
import { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as network,\n\t// eos as network , // Use `eos` to use mainnet\n\tSession,\n\tcreateVAccount,\n} from "@effectai/sdk";\n \n// Set up session with wallet and chain\nconst session = new Session({\n\tactor: "account_name_here",\n\tpermission: "permission_here",\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key_here"),\n\tchain: network,\n});\n \n// Create client to make authenticated transactions\nconst client = await createClient({ session });\nif(!client.session) {\n  throw new Error('No session found')\n}\nconst { actor } = client.session\n \nif(!actor) {\n  throw new Error('No actor found')\n}\n//---cut---\nimport { createBatch } from '@effectai/sdk'\n \nconst batch = await createBatch({\n  client,\n  // The campaign id to which the batch should be added\n  campaignId : 1,\n  // The number of times each task in the batch should be repeated\n  repetitions: 1,\n  // The reward for each task in the batch\n  reward: 3,\n  // The template placeholders for each task in the batch\n  taskData : [\n    {\n      ipfs_url: 'https://example.com/image.jpg', //task 1 image placeholder\n    },\n    {\n      ipfs_url: 'https://example.com/image2.jpg', //task 2 image placeholder\n    },\n    {\n      ipfs_url: 'https://example.com/image3.jpg', // task 3 image placeholder\n    }\n  ],\n})\n 
","isPage":true,"text":"\nAdding tasks to a campaign is done through adding batches.\nBatches are a collection of tasks that are added to a campaign. Each batch can contain multiple tasks.\nLet's start by creating a batch with 3 tasks to our newly created image classification campaign.\nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as network,\n\t// eos as network , // Use `eos` to use mainnet\n\tSession,\n\tcreateVAccount,\n} from "@effectai/sdk";\n \n// Set up session with wallet and chain\nconst session = new Session({\n\tactor: "account_name_here",\n\tpermission: "permission_here",\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key_here"),\n\tchain: network,\n});\n \n// Create client to make authenticated transactions\nconst client = await createClient({ session });\nif(!client.session) {\n throw new Error('No session found')\n}\nconst { actor } = client.session\n \nif(!actor) {\n throw new Error('No actor found')\n}\n//---cut---\nimport { createBatch } from '@effectai/sdk'\n \nconst batch = await createBatch({\n client,\n // The campaign id to which the batch should be added\n campaignId : 1,\n // The number of times each task in the batch should be repeated\n repetitions: 1,\n // The reward for each task in the batch\n reward: 3,\n // The template placeholders for each task in the batch\n taskData : [\n {\n ipfs_url: 'https://example.com/image.jpg', //task 1 image placeholder\n },\n {\n ipfs_url: 'https://example.com/image2.jpg', //task 2 image placeholder\n },\n {\n ipfs_url: 'https://example.com/image3.jpg', // task 3 image placeholder\n }\n ],\n})\n ","title":"Adding tasks","titles":[null]},"16":{"href":"/docs/collecting-data/collecting-results#collecting-results","html":"\n

TODO::

","isPage":true,"text":"\nTODO::","title":"Collecting Results","titles":[null]},"17":{"href":"/docs/collecting-data/create-a-campaign#creating-your-first-campaign","html":"\n

Campaigns are the main way to collect data on Effect Network.\nA campaign is a collection of tasks that need to be completed by workers. Each task is a small piece of work that needs to be done. For example, a task could be to label an image, transcribe a piece of audio, or answer a question.\nThey are created by the data requester (you) and contain information like the reward for the workers, the template for the tasks, the instructions for the workers etc.

\n","isPage":true,"text":"\nCampaigns are the main way to collect data on Effect Network.\nA campaign is a collection of tasks that need to be completed by workers. Each task is a small piece of work that needs to be done. For example, a task could be to label an image, transcribe a piece of audio, or answer a question.\nThey are created by the data requester (you) and contain information like the reward for the workers, the template for the tasks, the instructions for the workers etc.\n","title":"Creating Your First Campaign","titles":[null]},"18":{"href":"/docs/collecting-data/create-a-campaign#creating-a-campaign","html":"\n
import { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport { Session, jungle4 as chain, createClient } from "@effectai/sdk";\n \nconst session = new Session({\n\tactor: "your-account",\n\tpermission: "permission-level",\n\tchain,\n\twalletPlugin: new WalletPluginPrivateKey("your-private-key"),\n});\n \nconst client = await createClient({ session });\n// ---cut---\nimport { createCampaign } from "@effectai/sdk";\n \nconst campaign = await createCampaign({\n\tclient,\n\tcampaign: {\n\t\t// Name of your campaign\n\t\ttitle: "My First Campaign!",\n\t\t// Description of the campaign\n\t\tdescription: "Description of the task here.",\n\t\t// Campaign version\n\t\tversion: 1.0,\n\t\t// Maximum time to complete a task in seconds\n\t\tmaxTaskTime: 100,\n\t\t// EFX reward per task\n\t\treward: 3.5,\n\t\t// Custom instructions for completing tasks in this campaign (Markdown supported)\n\t\tinstructions: "Some instructions here",\n\t\t// Template of the campaign see https://docs.effect.ai/docs/templates/introduction\n\t\ttemplate: "<h1>Template here</h1>",\n\t\t// Input schema to validate the task data.\n\t\tinput_schema: null,\n\t\t// TODO::\n\t\toutput_schema: null,\n\t\t// Image URL for the campaign\n\t\timage: "",\n\t\t// Category of the campaign\n\t\tcategory: "",\n\t\t// TODO::\n\t\texample_task: "",\n\t\t// TODO:: Estimated time to complete a task in this campaign\n\t\testimated_time: 10,\n\t},\n});\n 
\n

Wooooho! You have created your first campaign. You can now view the campaign on the Effect Network before you start collecting data, you need to add tasks to the campaign. You can do this by following the Adding Tasks guide.

","isPage":false,"text":"\nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport { Session, jungle4 as chain, createClient } from "@effectai/sdk";\n \nconst session = new Session({\n\tactor: "your-account",\n\tpermission: "permission-level",\n\tchain,\n\twalletPlugin: new WalletPluginPrivateKey("your-private-key"),\n});\n \nconst client = await createClient({ session });\n// ---cut---\nimport { createCampaign } from "@effectai/sdk";\n \nconst campaign = await createCampaign({\n\tclient,\n\tcampaign: {\n\t\t// Name of your campaign\n\t\ttitle: "My First Campaign!",\n\t\t// Description of the campaign\n\t\tdescription: "Description of the task here.",\n\t\t// Campaign version\n\t\tversion: 1.0,\n\t\t// Maximum time to complete a task in seconds\n\t\tmaxTaskTime: 100,\n\t\t// EFX reward per task\n\t\treward: 3.5,\n\t\t// Custom instructions for completing tasks in this campaign (Markdown supported)\n\t\tinstructions: "Some instructions here",\n\t\t// Template of the campaign see https://docs.effect.ai/docs/templates/introduction\n\t\ttemplate: "<h1>Template here</h1>",\n\t\t// Input schema to validate the task data.\n\t\tinput_schema: null,\n\t\t// TODO::\n\t\toutput_schema: null,\n\t\t// Image URL for the campaign\n\t\timage: "",\n\t\t// Category of the campaign\n\t\tcategory: "",\n\t\t// TODO::\n\t\texample_task: "",\n\t\t// TODO:: Estimated time to complete a task in this campaign\n\t\testimated_time: 10,\n\t},\n});\n \nWooooho! You have created your first campaign. You can now view the campaign on the Effect Network before you start collecting data, you need to add tasks to the campaign. You can do this by following the Adding Tasks guide.","title":"Creating a campaign","titles":[null,"Creating Your First Campaign"]},"19":{"href":"/docs/collecting-data/create-a-template#create-a-template","html":"\n

Before we can create a data collection campaign, we need to create a template.

\n

A template is a blueprint for the tasks in a campaign. It defines the structure of the tasks, the input and output data.\nTemplates are created by the data requester (you) and can be reused across multiple campaigns.

\n

A typical template will be a HTML file that contains the structure of the tasks. The template can contain placeholders for the input data, output data, and other dynamic content.\nIn this case, we aim to determine whether an image depicts a Chihuahua or a muffin.\nOur template should include the following:

\n\n
<html>\n  <head>\n    <title>Chihuahua or Muffin</title>\n  </head>\n  <body>\n    <form>\n        <div class="classify-image">\n            <h1 class="title">Chihuahua or Muffin ?</h1>\n              <!-- The image loaded from IPFS using a template variable -->\n            <img src='https://gateway.pinata.cloud/ipfs/${ipfs_url}'/>\n        </div>\n        <div class="question question-sentiment">\n              <!-- Our question to ask the workers-->\n            <h2 class="subtitle">Is this an image of a Chihuahua or a Muffin?</h2>\n \n              <!-- Input options for the workers-->\n            <div class="field">\n                <input class="is-checkradio" id="chihuahua" value="chihuahua" type="radio" name="resemblance" required>\n                <label for="full">Chihuahua</label>\n                <input class="is-checkradio" id="muffin" value="muffin" type="radio" name="resemblance">\n                <label for="half">Muffin</label>\n            </div>\n        </div>\n \n        <!-- Submit button so workers can submit their data -->\n        <button type="submit" class="is-large mt-6">Submit</button>\n      </form>\n  </body>\n</html>
\n

In the above template, we are making use of a placeholder ${ipfs_url}\nThis value will be filled with our images when we create the tasks.

\n

You can find examples for different types of templates on our github\nWe highly recommended to follow the template guide when you are creating your own template.

\n

Now that we have created a template for our campaign, we can move on to the next step: Creating a Campaign

","isPage":true,"text":"\nBefore we can create a data collection campaign, we need to create a template.\nA template is a blueprint for the tasks in a campaign. It defines the structure of the tasks, the input and output data.\nTemplates are created by the data requester (you) and can be reused across multiple campaigns.\nA typical template will be a HTML file that contains the structure of the tasks. The template can contain placeholders for the input data, output data, and other dynamic content.\nIn this case, we aim to determine whether an image depicts a Chihuahua or a muffin.\nOur template should include the following:\n\nLoad an Image: In order for our workers to distinguish between a Chihuahua or a Muffin, an image must be loaded and displayed to them.\nHTML Form: We must integrate an HTML form into the template so our users can fill in whether the loaded image is a Chihuahua or a Muffin.\n\n<html>\n <head>\n <title>Chihuahua or Muffin</title>\n </head>\n <body>\n <form>\n <div class="classify-image">\n <h1 class="title">Chihuahua or Muffin ?</h1>\n <!-- The image loaded from IPFS using a template variable -->\n <img src='https://gateway.pinata.cloud/ipfs/${ipfs_url}'/>\n </div>\n <div class="question question-sentiment">\n <!-- Our question to ask the workers-->\n <h2 class="subtitle">Is this an image of a Chihuahua or a Muffin?</h2>\n \n <!-- Input options for the workers-->\n <div class="field">\n <input class="is-checkradio" id="chihuahua" value="chihuahua" type="radio" name="resemblance" required>\n <label for="full">Chihuahua</label>\n <input class="is-checkradio" id="muffin" value="muffin" type="radio" name="resemblance">\n <label for="half">Muffin</label>\n </div>\n </div>\n \n <!-- Submit button so workers can submit their data -->\n <button type="submit" class="is-large mt-6">Submit</button>\n </form>\n </body>\n</html>\nIn the above template, we are making use of a placeholder ${ipfs_url}\nThis value will be filled with our images when we create the tasks.\nYou can find examples for different types of templates on our github\nWe highly recommended to follow the template guide when you are creating your own template.\nNow that we have created a template for our campaign, we can move on to the next step: Creating a Campaign","title":"Create a Template","titles":[]},"20":{"href":"/docs/collecting-data/introduction#data-collection","html":"\n

The primary use case of the Effect Network SDK revolves around leveraging its capabilities for data collection. In this section, we'll guide you through setting up your first data collection campaign.\nWhether you're building AI models, conducting surveys, or enhancing automated processes,\nthe Effect Network offers a robust infrastructure to support your needs in a completely open, decentralized an transparent way.

\n","isPage":true,"text":"\nThe primary use case of the Effect Network SDK revolves around leveraging its capabilities for data collection. In this section, we'll guide you through setting up your first data collection campaign.\nWhether you're building AI models, conducting surveys, or enhancing automated processes,\nthe Effect Network offers a robust infrastructure to support your needs in a completely open, decentralized an transparent way.\n","title":"Data Collection","titles":[]},"21":{"href":"/docs/collecting-data/introduction#image-annotation-for-ai-training","html":"\n

For this tutorial, let's dive into a practical example: utilizing the Effect AI Network to annotate images distinguishing between a chihuahua and a muffin.\nThis annotated data will serve as training material for our AI model.\nIt's important to note that this is just one of many potential applications. Other examples include:

\n\n

Please check out our example folder on github if you want to check out other examples or want to contribute!

","isPage":false,"text":"\nFor this tutorial, let's dive into a practical example: utilizing the Effect AI Network to annotate images distinguishing between a chihuahua and a muffin.\nThis annotated data will serve as training material for our AI model.\nIt's important to note that this is just one of many potential applications. Other examples include:\n\nGathering survey data from a specific target audience\nEmploying the Effect AI Network for final quality checks in a Language Model (LLM) pipeline for automated transcriptions\nPlaying chess against a random human\nMany more!\n\nPlease check out our example folder on github if you want to check out other examples or want to contribute!","title":"Image annotation for AI training","titles":["Data Collection"]},"22":{"href":"/docs/glossary/terminology#terminology","html":"\n","isPage":true,"text":"\n","title":"Terminology","titles":[]},"23":{"href":"/docs/glossary/terminology#accounts","html":"\n

Antelope accounts are different compared to other EVM blockchains, and other kinds of blockchains in the space.\nYou still will be working with a private key, but your private key can be linked to several accounts.

\n

Here's a quick synopsis from the (Antelope documentation)[https://docs.antelope.io/docs/latest/protocol/accounts_and_permissions/]:

\n
\n

An account identifies a participant in an Antelope blockchain. A participant can be an individual or a group depending on the assigned permissions within the account. Accounts also represent the smart contract actors that push and receive actions to and from other accounts in the blockchain. Actions are always contained within transactions. A transaction can be one or more atomic actions.\nPermissions associated with an account are used to authorize actions and transactions to other accounts. Each permission is linked to an authority table which contains a threshold that must be reached in order to allow the action associated with the given permission to be authorized for execution. The following diagram illustrates the relationship between accounts, permissions, and authorities.

\n
\n

Simply put, an account contains a collection of permissions, and each permission is linked to an authority table to allow certain actions to be exectued.\nAs mentioned above, a private key can be linked to several accounts, and each account can have different permissions.

\n

The anatomy of an antelope account is as follows:

\n\n","isPage":false,"text":"\nAntelope accounts are different compared to other EVM blockchains, and other kinds of blockchains in the space.\nYou still will be working with a private key, but your private key can be linked to several accounts.\nHere's a quick synopsis from the (Antelope documentation)[https://docs.antelope.io/docs/latest/protocol/accounts_and_permissions/]:\n\nAn account identifies a participant in an Antelope blockchain. A participant can be an individual or a group depending on the assigned permissions within the account. Accounts also represent the smart contract actors that push and receive actions to and from other accounts in the blockchain. Actions are always contained within transactions. A transaction can be one or more atomic actions.\nPermissions associated with an account are used to authorize actions and transactions to other accounts. Each permission is linked to an authority table which contains a threshold that must be reached in order to allow the action associated with the given permission to be authorized for execution. The following diagram illustrates the relationship between accounts, permissions, and authorities.\n\nSimply put, an account contains a collection of permissions, and each permission is linked to an authority table to allow certain actions to be exectued.\nAs mentioned above, a private key can be linked to several accounts, and each account can have different permissions.\nThe anatomy of an antelope account is as follows:\n\nname: The name of the account\npermissions: The permissions associated with the account\nkeys: The keys associated with the account (private and corresponding public keys)\n\n","title":"Accounts","titles":["Terminology"]},"24":{"href":"/docs/glossary/terminology#wallets","html":"\n

There are several wallets that you can use to interact with Antelope blockchains, some of them are:\nWe recomend using Unicove and Anchor Wallet, as they are the most user friendly wallets.

\n\n","isPage":false,"text":"\nThere are several wallets that you can use to interact with Antelope blockchains, some of them are:\nWe recomend using Unicove and Anchor Wallet, as they are the most user friendly wallets.\n\nUnicove\nAnchor Wallet\nTokenPocket\nWombat\n\n","title":"Wallets","titles":["Terminology"]},"25":{"href":"/docs/glossary/terminology#contracts","html":"\n

These are the important smart contracts that are used in the Effect Network.\nThe important contract for developing on Effect Network are:

\n\n

With these contracts you can create tasks, and retrieve virtual accounts.

\n

These are the contracts that are deployed on the Jungle4 testnet for the Effect Network.\nhttps://jungle4.eosq.eosnation.io/

\n\n

These are the contracts that are depoloyed on the EOS mainnet for the Effect Network.\nhttps://www.bloks.io/

\n","isPage":false,"text":"\nThese are the important smart contracts that are used in the Effect Network.\nThe important contract for developing on Effect Network are:\n\ntasks\ntoken\nvaccount\n\nWith these contracts you can create tasks, and retrieve virtual accounts.\nThese are the contracts that are deployed on the Jungle4 testnet for the Effect Network.\nhttps://jungle4.eosq.eosnation.io/\n\ntasks: effecttasks2\ntoken: efxtoken1112\nstake: efxstake1111\nfeepool: efxfeepool11\nproposals: efxproposals\nvaccount: efxaccount11\n\nThese are the contracts that are depoloyed on the EOS mainnet for the Effect Network.\nhttps://www.bloks.io/\n\ntasks: force.efx\ntoken: effecttokens\nstake: efxstakepool\nfeepool: feepool.efx\nproposals: daoproposals\nvaccount: vaccount.efx\ndao: theeffectdao\n","title":"Contracts","titles":["Terminology"]},"26":{"href":"/docs/glossary/types#types","html":"
Glossary of Types in the effect sdk.
\n","isPage":true,"text":"Glossary of Types in the effect sdk.\n","title":"Types","titles":[]},"27":{"href":"/docs/glossary/types#campaign","html":"\n

See Type

\n","isPage":false,"text":"\nSee Type\n","title":"Campaign","titles":["Types"]},"28":{"href":"/docs/glossary/types#client-options","html":"\n

The ClientOpts interface is used to define the options that can be passed to the EffectAI Client constructor.

\n
interface ClientOpts {\n  ipfsCacheDurationInMs?: number | null;\n  fetchProvider?: FetchProviderOptions;\n  cacheImplementation?: Cache;\n}
\n

As we can see, the ClientOpts interface has three optional properties:

\n","isPage":false,"text":"\nThe ClientOpts interface is used to define the options that can be passed to the EffectAI Client constructor.\ninterface ClientOpts {\n ipfsCacheDurationInMs?: number | null;\n fetchProvider?: FetchProviderOptions;\n cacheImplementation?: Cache;\n}\nAs we can see, the ClientOpts interface has three optional properties:\n","title":"Client Options","titles":["Types"]},"29":{"href":"/docs/glossary/types#ipfscachedurationims","html":"\n

This property is used to set the cache duration for the IPFS data.\nThe default value is 600_000 milliseconds; 10 minutes.

\n","isPage":false,"text":"\nThis property is used to set the cache duration for the IPFS data.\nThe default value is 600_000 milliseconds; 10 minutes.\n","title":"ipfsCacheDurationIMs","titles":["Types"]},"30":{"href":"/docs/glossary/types#fetchprovider","html":"\n

This property is used to set the fetch provider.\nThis is needed because of the different runtimes availalbe to Java Script.\nFor example, in older versions of Node.js, the fetch API is not available.\nFor older versions of Node.js, you can use the node-fetch package.

\n

Since Node.js v18.0.0, the fetch API is available by default.

\n

In the browser fetch is generally available, and is available on the window.fetch object.\nYou can read more about it here: MDN Fetch API

\n

Other serverside Java Script runtimes such as Bun and (Deno)[https://deno.com/] already have fetch available on the global fetch object.

\n","isPage":false,"text":"\nThis property is used to set the fetch provider.\nThis is needed because of the different runtimes availalbe to Java Script.\nFor example, in older versions of Node.js, the fetch API is not available.\nFor older versions of Node.js, you can use the node-fetch package.\nSince Node.js v18.0.0, the fetch API is available by default.\nIn the browser fetch is generally available, and is available on the window.fetch object.\nYou can read more about it here: MDN Fetch API\nOther serverside Java Script runtimes such as Bun and (Deno)[https://deno.com/] already have fetch available on the global fetch object.\n","title":"fetchProvider","titles":["Types"]},"31":{"href":"/docs/glossary/types#cacheimplementation","html":"\n

This property is used to set the cache implementation.\nThere are three different cache mechanigms abailable in the EffectAI SDK.\nFirst of all, "IDBCache", "LocalStorageCache", "MemoryCache".\nAny of these can be passed to the cacheImplementation property while instanlizing the EffectAI Client.

\n
import { createClient, IDBCache, LocalStorageCache, MemoryCache } from '@effectai/sdk'\nconst client = createClient({\n  cacheImplementation: new IDBCache() // or new LocalStorageCache() or new MemoryCache()\n})
\n

See Type

\n","isPage":false,"text":"\nThis property is used to set the cache implementation.\nThere are three different cache mechanigms abailable in the EffectAI SDK.\nFirst of all, "IDBCache", "LocalStorageCache", "MemoryCache".\nAny of these can be passed to the cacheImplementation property while instanlizing the EffectAI Client.\nimport { createClient, IDBCache, LocalStorageCache, MemoryCache } from '@effectai/sdk'\nconst client = createClient({\n cacheImplementation: new IDBCache() // or new LocalStorageCache() or new MemoryCache()\n})\nSee Type\n","title":"cacheImplementation","titles":["Types"]},"32":{"href":"/docs/glossary/types#asset","html":"\n","isPage":false,"text":"\n","title":"Asset","titles":["Types"]},"33":{"href":"/docs/glossary/types#description","html":"\n

Some functions with the @effectai/sdk package will return a Asset object.\nThis object contains information about tokens on the blockchain and contain information such as the symbol, precision, and amount.

\n

An example for the Asset object is as follows:

\n
{\n  "precision": 4,\n  "symbol": "EFX",\n  "units": 10000,\n  "value": 1\n}
\n

Read more about the Asset object here:\nhttps://wharfkit.com/docs/antelope/asset

\n","isPage":false,"text":"\nSome functions with the @effectai/sdk package will return a Asset object.\nThis object contains information about tokens on the blockchain and contain information such as the symbol, precision, and amount.\nAn example for the Asset object is as follows:\n{\n "precision": 4,\n "symbol": "EFX",\n "units": 10000,\n "value": 1\n}\nRead more about the Asset object here:\nhttps://wharfkit.com/docs/antelope/asset\n","title":"Description","titles":["Types","Asset"]},"34":{"href":"/docs/glossary/types#transaction-result","html":"\n","isPage":false,"text":"\n","title":"Transaction Result","titles":["Types"]},"35":{"href":"/docs/glossary/types#description-1","html":"\n

Some functions with the @effectai/sdk package will return a TransactionResult object.\nThis object contains the transaction hash and the transaction receipt.

\n

The interface for the TransactionResult object is as follows:

\n
interface TransactResult {\n  chain: ChainDefinition\n  request: SigningRequest\n  resolved: ResolvedSigningRequest | undefined\n  response?: { [key: string]: any }\n  revisions: TransactRevisions\n  signatures: Signature[]\n  signer: PermissionLevel\n  transaction: ResolvedTransaction | undefined\n}
\n

Read more about the TransactionResult object here:

\n

https://wharfkit.com/docs/session-kit/transact-result

","isPage":false,"text":"\nSome functions with the @effectai/sdk package will return a TransactionResult object.\nThis object contains the transaction hash and the transaction receipt.\nThe interface for the TransactionResult object is as follows:\ninterface TransactResult {\n chain: ChainDefinition\n request: SigningRequest\n resolved: ResolvedSigningRequest | undefined\n response?: { [key: string]: any }\n revisions: TransactRevisions\n signatures: Signature[]\n signer: PermissionLevel\n transaction: ResolvedTransaction | undefined\n}\nRead more about the TransactionResult object here:\nhttps://wharfkit.com/docs/session-kit/transact-result","title":"Description","titles":["Types","Transaction Result"]},"36":{"href":"/docs/templates/introduction#introduction","html":"\n

As described in the previous section, with campaigns, a template is a blueprint that allows you to input data and display it in a specific format. They are the interface used by the workers of EffectAI to interact with the data and perform the tasks required by the client.

\n

In this section, we will provide an overview of the template engine, explain the basic concepts and components of a template, and guide you through the process of creating your own template.

\n

We will be creating a simple template that lets users create bounding boxes around objects in an image. This will be done with the help of the open-source data annotation tool called Label Studio.

\n","isPage":true,"text":"\nAs described in the previous section, with campaigns, a template is a blueprint that allows you to input data and display it in a specific format. They are the interface used by the workers of EffectAI to interact with the data and perform the tasks required by the client.\nIn this section, we will provide an overview of the template engine, explain the basic concepts and components of a template, and guide you through the process of creating your own template.\nWe will be creating a simple template that lets users create bounding boxes around objects in an image. This will be done with the help of the open-source data annotation tool called Label Studio.\n","title":"Introduction","titles":[]},"37":{"href":"/docs/templates/introduction#what-is-a-template","html":"\n

A template is some HTML, CSS, and JavaScript code that defines the structure and layout of the data that is to be displayed. It's not a standard HTML5 template that uses the HTML specifications. The template engine is custom-built to handle the data that is to be displayed in the template.

\n

There is an existing HTML document, with a head and body tag defined with the requirements for EffectAI. What we need is to add what you would usually add in the body of the document.

\n

So the simplest template, which is just a text template, would look like this:

\n
<div>\n  <p>Hello World!</p>\n</div>
\n

This is a simple template that displays the text "Hello World!" in a paragraph tag. But the main issue here is that we still need to load in dynamic data from a data source so that each task is different.

\n","isPage":false,"text":"\nA template is some HTML, CSS, and JavaScript code that defines the structure and layout of the data that is to be displayed. It's not a standard HTML5 template that uses the HTML specifications. The template engine is custom-built to handle the data that is to be displayed in the template.\nThere is an existing HTML document, with a head and body tag defined with the requirements for EffectAI. What we need is to add what you would usually add in the body of the document.\nSo the simplest template, which is just a text template, would look like this:\n<div>\n <p>Hello World!</p>\n</div>\nThis is a simple template that displays the text "Hello World!" in a paragraph tag. But the main issue here is that we still need to load in dynamic data from a data source so that each task is different.\n","title":"What is a Template?","titles":["Introduction"]},"38":{"href":"/docs/templates/introduction#parameterizing-templates-placeholders","html":"\n

In order to be able to use the same template for different data, we need to parameterize the template. This means that we need to define placeholders in the template that will be replaced with the actual data when the template is rendered.

\n

The way this is done in EffectAI is by using the ${} syntax. This is similar to the way you would use template literals in JavaScript.

\n

For example, if we want to display the name of a person in the template, we would define a placeholder like this:

\n
<div>\n  <p>Hello ${name}!</p>\n</div>
\n

When the template is rendered, the ${name} placeholder will be replaced with the actual name of the person.

\n","isPage":false,"text":"\nIn order to be able to use the same template for different data, we need to parameterize the template. This means that we need to define placeholders in the template that will be replaced with the actual data when the template is rendered.\nThe way this is done in EffectAI is by using the ${} syntax. This is similar to the way you would use template literals in JavaScript.\nFor example, if we want to display the name of a person in the template, we would define a placeholder like this:\n<div>\n <p>Hello ${name}!</p>\n</div>\nWhen the template is rendered, the ${name} placeholder will be replaced with the actual name of the person.\n","title":"Parameterizing Templates: Placeholders","titles":["Introduction"]},"39":{"href":"/docs/templates/introduction#submitting-templates-and-retrieving-results","html":"\n

So now we understand how to input data into the template, but how do we get results back? Workers on EffectAI will get a rendered template with the data inputted into the template. The worker will then perform the task required by the client and submit the result.

\n

Submitting is a standard submit event in HTML, but the data is saved in the EffectAI smart contracts.

\n

Here's an example of a form with an input field and a submit button:

\n
<h2>Placeholder example: ${placeholder}</h2>\n<input type="text" required placeholder="'name' attribute is required on input fields" name="test" />\n<input type="submit" />
\n

When we input the text "World" into the text field and submit this, we get the following submission:

\n
{\n  "test": "World"\n}
\n","isPage":false,"text":"\nSo now we understand how to input data into the template, but how do we get results back? Workers on EffectAI will get a rendered template with the data inputted into the template. The worker will then perform the task required by the client and submit the result.\nSubmitting is a standard submit event in HTML, but the data is saved in the EffectAI smart contracts.\nHere's an example of a form with an input field and a submit button:\n<h2>Placeholder example: ${placeholder}</h2>\n<input type="text" required placeholder="'name' attribute is required on input fields" name="test" />\n<input type="submit" />\nWhen we input the text "World" into the text field and submit this, we get the following submission:\n{\n "test": "World"\n}\n","title":"Submitting Templates and Retrieving Results","titles":["Introduction"]},"40":{"href":"/docs/templates/introduction#creating-your-own-template","html":"\n

You can try out the templates for yourself by inputting them into EffectAI's template preview tool.

","isPage":false,"text":"\nYou can try out the templates for yourself by inputting them into EffectAI's template preview tool.","title":"Creating Your Own Template","titles":["Introduction"]},"41":{"href":"/docs/templates/labelstudio#label-studio-example","html":"\n

Here we will show an example of how to use Label Studio to label images for object detection.

\n

\"Example\"/

\n

As discussed before we will be using the Label Studio to create a labeling task for object detection.\nHere is an example of how to use Label Studio to create a labeling task for object detection.\nWe have some HTML tags, that contain style sheets, the div that will be the container for Label Studio, library and scripts to initialize Label Studio.

\n","isPage":true,"text":"\nHere we will show an example of how to use Label Studio to label images for object detection.\n\nAs discussed before we will be using the Label Studio to create a labeling task for object detection.\nHere is an example of how to use Label Studio to create a labeling task for object detection.\nWe have some HTML tags, that contain style sheets, the div that will be the container for Label Studio, library and scripts to initialize Label Studio.\n","title":"Label Studio example","titles":[]},"42":{"href":"/docs/templates/labelstudio#template","html":"\n
<!-- 📚 Load in resources: [Bulma, Effect Network Styling]  -->\n \n<!-- Include Label Studio stylesheet -->\n<link href="https://unpkg.com/label-studio@1.0.1/build/static/css/main.css" rel="stylesheet">\n \n<!-- Create the Label Studio container -->\n<div id="label-studio"></div>\n \n<!-- Include the Label Studio library -->\n<script src="https://unpkg.com/label-studio@1.0.1/build/static/js/main.js"></script>\n \n<script src="https://cdn.jsdelivr.net/npm/ipfs-http-client/dist/index.min.js"></script>\n \n<!-- Initialize Label Studio -->\n<script>\n// setInterval(() => { window.forceResize() }, 500);\nconst ipfs = window.IpfsHttpClient.create({ host: 'ipfs.effect.ai', port: 443, protocol: 'https' });\nconst ann = '${annotations}'.length === 0 ? '[]' : '${annotations}';\nconsole.log(ann);\nvar labelStudio = new LabelStudio('label-studio', {\n    config: `\n        <View>\n            <Header value="Please draw bounding boxes around each line of text and label it with its contained text."/>\n            <Image name="image" value="$ocr" zoom="true" zoomControl="true"/>\n            <Rectangle name="bbox" toName="image" strokeWidth="3"/>\n            <TextArea name="transcription" toName="image" editable="true" perRegion="true" required="true" maxSubmissions="1" rows="5" placeholder="Recognized Text" displayMode="region-list"/>\n        </View>\n    `,\n \n    interfaces: [\n        "panel",\n        "update",\n        "submit",\n        "controls",\n        "side-column",\n        "annotations:menu",\n        "annotations:current"\n    ],\n \n    user: {\n        pk: 1,\n        firstName: "Effect",\n        lastName: "Network"\n    },\n \n    task: {\n        annotations: JSON.parse(`${annotations}`.replace(/&quot;/g,'"')),\n        predictions: [],\n        id: ${id},\n        data: {\n        ocr: "${image}"\n        }\n    },\n \n \n    // task: {\n    //     annotations: JSON.parse('[]'),\n    //     predictions: [],\n    //     id: 1,\n    //     data: {\n    //         ocr: "https://ipfs.effect.ai/ipfs/QmX6FcAAfS9SL9KkKhiZumAUeaAyr4HsWp3rHopjzQSSg4"\n    //     }\n    // },\n \n    onSubmitAnnotation: function(ann) {\n        updateOrSubmitAction()\n    },\n \n    onUpdateAnnotation: async function(LS, ann) {\n        updateOrSubmitAction()\n    },\n \n    onLabelStudioLoad: function(LS) {\n        var c = LS.annotationStore.addAnnotation({ userGenerate: true });\n        LS.annotationStore.selectAnnotation(c.id);\n    }\n});\n \nfunction updateOrSubmitAction () {\n    if (window.confirm('Do you want to submit your annotations?')) {\n        submitResults()\n            .then(console.log)\n            .catch(console.error)\n    } else {\n        console.log('Submission cancelled')\n    }\n}\n \nfunction timeout(ms) {\n    return new Promise(resolve => setTimeout(resolve, ms));\n}\n \nconst submitResults = async function () {\n    let LS = labelStudio;\n    // let res = LS.annotationStore.annotations.filter(a => a.id == ann.id)[0].serializeAnnotation();\n    let res = LS.annotationStore.annotations[0].serializeAnnotation();\n \n    if (res && res.length === 0) {\n        const confirm = window.confirm('No annotations found. Are you sure you want to submit?')\n        if (!confirm) {\n            return\n        }\n    } else {\n        try {\n            let hash\n \n            const  uploadResult = {\n                id: `${id}`,\n                annotations: [{\n                    id: `${id}`,\n                    result: res\n                }],\n                data: {\n                    image: `${image}`\n                }\n            }\n \n            // console.log(res)\n            // console.log(uploadResult);\n \n            await Promise.all([\n                // post result to ipfs, and remove single quotes from answers.\n                hash = await ipfs.add(JSON.stringify(uploadResult)),\n                await parent.postMessage({'task': 'submit', 'values':  hash.path}, '*'),\n                await timeout(1000)\n            ])\n            console.log('uploading cid', hash);\n        } catch (error) {\n            alert("Something went wrong, please create a ticket in our Discord for help")\n            console.error('Failed to upload to IPFS', error)\n        }\n    }\n};\n</script>
\n","isPage":false,"text":"\n<!-- 📚 Load in resources: [Bulma, Effect Network Styling] -->\n \n<!-- Include Label Studio stylesheet -->\n<link href="https://unpkg.com/label-studio@1.0.1/build/static/css/main.css" rel="stylesheet">\n \n<!-- Create the Label Studio container -->\n<div id="label-studio"></div>\n \n<!-- Include the Label Studio library -->\n<script src="https://unpkg.com/label-studio@1.0.1/build/static/js/main.js"></script>\n \n<script src="https://cdn.jsdelivr.net/npm/ipfs-http-client/dist/index.min.js"></script>\n \n<!-- Initialize Label Studio -->\n<script>\n// setInterval(() => { window.forceResize() }, 500);\nconst ipfs = window.IpfsHttpClient.create({ host: 'ipfs.effect.ai', port: 443, protocol: 'https' });\nconst ann = '${annotations}'.length === 0 ? '[]' : '${annotations}';\nconsole.log(ann);\nvar labelStudio = new LabelStudio('label-studio', {\n config: `\n <View>\n <Header value="Please draw bounding boxes around each line of text and label it with its contained text."/>\n <Image name="image" value="$ocr" zoom="true" zoomControl="true"/>\n <Rectangle name="bbox" toName="image" strokeWidth="3"/>\n <TextArea name="transcription" toName="image" editable="true" perRegion="true" required="true" maxSubmissions="1" rows="5" placeholder="Recognized Text" displayMode="region-list"/>\n </View>\n `,\n \n interfaces: [\n "panel",\n "update",\n "submit",\n "controls",\n "side-column",\n "annotations:menu",\n "annotations:current"\n ],\n \n user: {\n pk: 1,\n firstName: "Effect",\n lastName: "Network"\n },\n \n task: {\n annotations: JSON.parse(`${annotations}`.replace(/&quot;/g,'"')),\n predictions: [],\n id: ${id},\n data: {\n ocr: "${image}"\n }\n },\n \n \n // task: {\n // annotations: JSON.parse('[]'),\n // predictions: [],\n // id: 1,\n // data: {\n // ocr: "https://ipfs.effect.ai/ipfs/QmX6FcAAfS9SL9KkKhiZumAUeaAyr4HsWp3rHopjzQSSg4"\n // }\n // },\n \n onSubmitAnnotation: function(ann) {\n updateOrSubmitAction()\n },\n \n onUpdateAnnotation: async function(LS, ann) {\n updateOrSubmitAction()\n },\n \n onLabelStudioLoad: function(LS) {\n var c = LS.annotationStore.addAnnotation({ userGenerate: true });\n LS.annotationStore.selectAnnotation(c.id);\n }\n});\n \nfunction updateOrSubmitAction () {\n if (window.confirm('Do you want to submit your annotations?')) {\n submitResults()\n .then(console.log)\n .catch(console.error)\n } else {\n console.log('Submission cancelled')\n }\n}\n \nfunction timeout(ms) {\n return new Promise(resolve => setTimeout(resolve, ms));\n}\n \nconst submitResults = async function () {\n let LS = labelStudio;\n // let res = LS.annotationStore.annotations.filter(a => a.id == ann.id)[0].serializeAnnotation();\n let res = LS.annotationStore.annotations[0].serializeAnnotation();\n \n if (res && res.length === 0) {\n const confirm = window.confirm('No annotations found. Are you sure you want to submit?')\n if (!confirm) {\n return\n }\n } else {\n try {\n let hash\n \n const uploadResult = {\n id: `${id}`,\n annotations: [{\n id: `${id}`,\n result: res\n }],\n data: {\n image: `${image}`\n }\n }\n \n // console.log(res)\n // console.log(uploadResult);\n \n await Promise.all([\n // post result to ipfs, and remove single quotes from answers.\n hash = await ipfs.add(JSON.stringify(uploadResult)),\n await parent.postMessage({'task': 'submit', 'values': hash.path}, '*'),\n await timeout(1000)\n ])\n console.log('uploading cid', hash);\n } catch (error) {\n alert("Something went wrong, please create a ticket in our Discord for help")\n console.error('Failed to upload to IPFS', error)\n }\n }\n};\n</script>\n","title":"Template","titles":["Label Studio example"]},"43":{"href":"/docs/templates/labelstudio#input-schema","html":"\n

Note that you can also define the input and output schema for a given template.\nThis will allow you to define the structure of the data that will be used in the labeling task and the output that will be generated by the annotators.

\n\n
{\n\t"$schema": "http://json-schema.org/draft-07/schema#",\n\t"type": "object",\n\t"properties": {\n\t\t"id": {\n\t\t\t"type": "string"\n\t\t},\n\t\t"annotations": {\n\t\t\t"type": "array",\n\t\t\t"items": {\n\t\t\t\t"type": "object",\n\t\t\t\t"properties": {\n\t\t\t\t\t"id": {\n\t\t\t\t\t\t"type": "string"\n\t\t\t\t\t},\n\t\t\t\t\t"result": {\n\t\t\t\t\t\t"type": "array",\n\t\t\t\t\t\t"items": {\n\t\t\t\t\t\t\t"type": "object",\n\t\t\t\t\t\t\t"properties": {\n\t\t\t\t\t\t\t\t"original_width": {\n\t\t\t\t\t\t\t\t\t"type": "integer"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"original_height": {\n\t\t\t\t\t\t\t\t\t"type": "integer"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"image_rotation": {\n\t\t\t\t\t\t\t\t\t"type": "integer"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"value": {\n\t\t\t\t\t\t\t\t\t"type": "object",\n\t\t\t\t\t\t\t\t\t"properties": {\n\t\t\t\t\t\t\t\t\t\t"x": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "number"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t"y": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "number"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t"width": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "number"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t"height": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "number"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t"rotation": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "integer"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t"text": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "array",\n\t\t\t\t\t\t\t\t\t\t\t"items": {\n\t\t\t\t\t\t\t\t\t\t\t\t"type": "string"\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t"required": ["x", "y", "width", "height", "rotation"]\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"from_name": {\n\t\t\t\t\t\t\t\t\t"type": "string"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"to_name": {\n\t\t\t\t\t\t\t\t\t"type": "string"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"type": {\n\t\t\t\t\t\t\t\t\t"type": "string"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t"required": [\n\t\t\t\t\t\t\t\t"original_width",\n\t\t\t\t\t\t\t\t"original_height",\n\t\t\t\t\t\t\t\t"image_rotation",\n\t\t\t\t\t\t\t\t"value",\n\t\t\t\t\t\t\t\t"from_name",\n\t\t\t\t\t\t\t\t"to_name",\n\t\t\t\t\t\t\t\t"type"\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t"required": ["id", "result"]\n\t\t\t}\n\t\t},\n\t\t"data": {\n\t\t\t"type": "object",\n\t\t\t"properties": {\n\t\t\t\t"image": {\n\t\t\t\t\t"type": "string"\n\t\t\t\t}\n\t\t\t},\n\t\t\t"required": ["image"]\n\t\t}\n\t},\n\t"required": ["id", "annotations", "data"]\n}
\n","isPage":false,"text":"\nNote that you can also define the input and output schema for a given template.\nThis will allow you to define the structure of the data that will be used in the labeling task and the output that will be generated by the annotators.\n\n{\n\t"$schema": "http://json-schema.org/draft-07/schema#",\n\t"type": "object",\n\t"properties": {\n\t\t"id": {\n\t\t\t"type": "string"\n\t\t},\n\t\t"annotations": {\n\t\t\t"type": "array",\n\t\t\t"items": {\n\t\t\t\t"type": "object",\n\t\t\t\t"properties": {\n\t\t\t\t\t"id": {\n\t\t\t\t\t\t"type": "string"\n\t\t\t\t\t},\n\t\t\t\t\t"result": {\n\t\t\t\t\t\t"type": "array",\n\t\t\t\t\t\t"items": {\n\t\t\t\t\t\t\t"type": "object",\n\t\t\t\t\t\t\t"properties": {\n\t\t\t\t\t\t\t\t"original_width": {\n\t\t\t\t\t\t\t\t\t"type": "integer"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"original_height": {\n\t\t\t\t\t\t\t\t\t"type": "integer"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"image_rotation": {\n\t\t\t\t\t\t\t\t\t"type": "integer"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"value": {\n\t\t\t\t\t\t\t\t\t"type": "object",\n\t\t\t\t\t\t\t\t\t"properties": {\n\t\t\t\t\t\t\t\t\t\t"x": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "number"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t"y": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "number"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t"width": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "number"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t"height": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "number"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t"rotation": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "integer"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t"text": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "array",\n\t\t\t\t\t\t\t\t\t\t\t"items": {\n\t\t\t\t\t\t\t\t\t\t\t\t"type": "string"\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t"required": ["x", "y", "width", "height", "rotation"]\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"from_name": {\n\t\t\t\t\t\t\t\t\t"type": "string"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"to_name": {\n\t\t\t\t\t\t\t\t\t"type": "string"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"type": {\n\t\t\t\t\t\t\t\t\t"type": "string"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t"required": [\n\t\t\t\t\t\t\t\t"original_width",\n\t\t\t\t\t\t\t\t"original_height",\n\t\t\t\t\t\t\t\t"image_rotation",\n\t\t\t\t\t\t\t\t"value",\n\t\t\t\t\t\t\t\t"from_name",\n\t\t\t\t\t\t\t\t"to_name",\n\t\t\t\t\t\t\t\t"type"\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t"required": ["id", "result"]\n\t\t\t}\n\t\t},\n\t\t"data": {\n\t\t\t"type": "object",\n\t\t\t"properties": {\n\t\t\t\t"image": {\n\t\t\t\t\t"type": "string"\n\t\t\t\t}\n\t\t\t},\n\t\t\t"required": ["image"]\n\t\t}\n\t},\n\t"required": ["id", "annotations", "data"]\n}\n","title":"Input Schema","titles":["Label Studio example"]},"44":{"href":"/docs/templates/labelstudio#example-output-data","html":"\n

This is what the output data will look like after the annotators have labeled the images.

\n\n
{\n\t"id": 1,\n\t"created_at": "2021-03-09T21:52:49.513742Z",\n\t"updated_at": "2021-03-09T22:16:08.746926Z",\n\t"project": 83,\n \n\t"data": {\n\t\t"image": "https://example.com/opensource/label-studio/1.jpg"\n\t},\n \n\t"annotations": [\n\t\t{\n\t\t\t"id": "1001",\n\t\t\t"result": [\n\t\t\t\t{\n\t\t\t\t\t"from_name": "tag",\n\t\t\t\t\t"id": "Dx_aB91ISN",\n\t\t\t\t\t"source": "$image",\n\t\t\t\t\t"to_name": "img",\n\t\t\t\t\t"type": "rectanglelabels",\n\t\t\t\t\t"value": {\n\t\t\t\t\t\t"height": 10.458911419423693,\n\t\t\t\t\t\t"rectanglelabels": ["Moonwalker"],\n\t\t\t\t\t\t"rotation": 0,\n\t\t\t\t\t\t"width": 12.4,\n\t\t\t\t\t\t"x": 50.8,\n\t\t\t\t\t\t"y": 5.869797225186766\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t],\n\t\t\t"was_cancelled": false,\n\t\t\t"ground_truth": false,\n\t\t\t"created_at": "2021-03-09T22:16:08.728353Z",\n\t\t\t"updated_at": "2021-03-09T22:16:08.728378Z",\n\t\t\t"lead_time": 4.288,\n\t\t\t"result_count": 0,\n\t\t\t"task": 1,\n\t\t\t"completed_by": 10\n\t\t}\n\t],\n \n\t"predictions": [\n\t\t{\n\t\t\t"created_ago": "3 hours",\n\t\t\t"model_version": "model 1",\n\t\t\t"result": [\n\t\t\t\t{\n\t\t\t\t\t"from_name": "tag",\n\t\t\t\t\t"id": "t5sp3TyXPo",\n\t\t\t\t\t"source": "$image",\n\t\t\t\t\t"to_name": "img",\n\t\t\t\t\t"type": "rectanglelabels",\n\t\t\t\t\t"value": {\n\t\t\t\t\t\t"height": 11.612284069097889,\n\t\t\t\t\t\t"rectanglelabels": ["Moonwalker"],\n\t\t\t\t\t\t"rotation": 0,\n\t\t\t\t\t\t"width": 39.6,\n\t\t\t\t\t\t"x": 13.2,\n\t\t\t\t\t\t"y": 34.702495201535505\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t{\n\t\t\t"created_ago": "4 hours",\n\t\t\t"model_version": "model 2",\n\t\t\t"result": [\n\t\t\t\t{\n\t\t\t\t\t"from_name": "tag",\n\t\t\t\t\t"id": "t5sp3TyXPo",\n\t\t\t\t\t"source": "$image",\n\t\t\t\t\t"to_name": "img",\n\t\t\t\t\t"type": "rectanglelabels",\n\t\t\t\t\t"value": {\n\t\t\t\t\t\t"height": 33.61228406909789,\n\t\t\t\t\t\t"rectanglelabels": ["Moonwalker"],\n\t\t\t\t\t\t"rotation": 0,\n\t\t\t\t\t\t"width": 39.6,\n\t\t\t\t\t\t"x": 13.2,\n\t\t\t\t\t\t"y": 54.702495201535505\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t]\n}
\n","isPage":false,"text":"\nThis is what the output data will look like after the annotators have labeled the images.\n\n{\n\t"id": 1,\n\t"created_at": "2021-03-09T21:52:49.513742Z",\n\t"updated_at": "2021-03-09T22:16:08.746926Z",\n\t"project": 83,\n \n\t"data": {\n\t\t"image": "https://example.com/opensource/label-studio/1.jpg"\n\t},\n \n\t"annotations": [\n\t\t{\n\t\t\t"id": "1001",\n\t\t\t"result": [\n\t\t\t\t{\n\t\t\t\t\t"from_name": "tag",\n\t\t\t\t\t"id": "Dx_aB91ISN",\n\t\t\t\t\t"source": "$image",\n\t\t\t\t\t"to_name": "img",\n\t\t\t\t\t"type": "rectanglelabels",\n\t\t\t\t\t"value": {\n\t\t\t\t\t\t"height": 10.458911419423693,\n\t\t\t\t\t\t"rectanglelabels": ["Moonwalker"],\n\t\t\t\t\t\t"rotation": 0,\n\t\t\t\t\t\t"width": 12.4,\n\t\t\t\t\t\t"x": 50.8,\n\t\t\t\t\t\t"y": 5.869797225186766\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t],\n\t\t\t"was_cancelled": false,\n\t\t\t"ground_truth": false,\n\t\t\t"created_at": "2021-03-09T22:16:08.728353Z",\n\t\t\t"updated_at": "2021-03-09T22:16:08.728378Z",\n\t\t\t"lead_time": 4.288,\n\t\t\t"result_count": 0,\n\t\t\t"task": 1,\n\t\t\t"completed_by": 10\n\t\t}\n\t],\n \n\t"predictions": [\n\t\t{\n\t\t\t"created_ago": "3 hours",\n\t\t\t"model_version": "model 1",\n\t\t\t"result": [\n\t\t\t\t{\n\t\t\t\t\t"from_name": "tag",\n\t\t\t\t\t"id": "t5sp3TyXPo",\n\t\t\t\t\t"source": "$image",\n\t\t\t\t\t"to_name": "img",\n\t\t\t\t\t"type": "rectanglelabels",\n\t\t\t\t\t"value": {\n\t\t\t\t\t\t"height": 11.612284069097889,\n\t\t\t\t\t\t"rectanglelabels": ["Moonwalker"],\n\t\t\t\t\t\t"rotation": 0,\n\t\t\t\t\t\t"width": 39.6,\n\t\t\t\t\t\t"x": 13.2,\n\t\t\t\t\t\t"y": 34.702495201535505\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t{\n\t\t\t"created_ago": "4 hours",\n\t\t\t"model_version": "model 2",\n\t\t\t"result": [\n\t\t\t\t{\n\t\t\t\t\t"from_name": "tag",\n\t\t\t\t\t"id": "t5sp3TyXPo",\n\t\t\t\t\t"source": "$image",\n\t\t\t\t\t"to_name": "img",\n\t\t\t\t\t"type": "rectanglelabels",\n\t\t\t\t\t"value": {\n\t\t\t\t\t\t"height": 33.61228406909789,\n\t\t\t\t\t\t"rectanglelabels": ["Moonwalker"],\n\t\t\t\t\t\t"rotation": 0,\n\t\t\t\t\t\t"width": 39.6,\n\t\t\t\t\t\t"x": 13.2,\n\t\t\t\t\t\t"y": 54.702495201535505\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t]\n}\n","title":"Example output data","titles":["Label Studio example"]},"45":{"href":"/docs/templates/labelstudio#script","html":"\n

You can use the following script to initialize Label Studio and create a labeling task for object detection.\nThis script uses bun.sh.

\n
import { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tcreateCampaign,\n\teos,\n\tSession,\n\ttype CreateCampaignArgs,\n} from "@effectai/sdk";\n \nconst campaignFile = Bun.file("index.html");\nconst inputSchema = Bun.file("input-schema.json");\nconst exampleTask = Bun.file("example.json");\n \nconst session = new Session({\n\tchain: eos,\n\tactor: "your_account",\n\tpermission: "your_permission",\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \nconst client = await createClient({ session });\n \nconst campaign: CreateCampaignArgs = {\n\tclient: client,\n\tcampaign: {\n\t\tcategory: "category",\n\t\tdescription: "Description for this Campaign",\n\t\testimated_time: 1,\n\t\texample_task: exampleTask.toString(),\n\t\timage: "image",\n\t\tinstructions: "Instructions for this Camapign",\n\t\tinput_schema: inputSchema.toString(),\n\t\toutput_schema: null,\n\t\ttemplate: campaignFile.toString(),\n\t\ttitle: "Title for this Campaign",\n\t\tversion: 1,\n\t\treward: 1,\n\t\tmaxTaskTime: 1,\n\t\tqualitications: [],\n\t},\n};\n \nconst response = createCampaign(campaign);\nconsole.debug(response);
","isPage":false,"text":"\nYou can use the following script to initialize Label Studio and create a labeling task for object detection.\nThis script uses bun.sh.\nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tcreateCampaign,\n\teos,\n\tSession,\n\ttype CreateCampaignArgs,\n} from "@effectai/sdk";\n \nconst campaignFile = Bun.file("index.html");\nconst inputSchema = Bun.file("input-schema.json");\nconst exampleTask = Bun.file("example.json");\n \nconst session = new Session({\n\tchain: eos,\n\tactor: "your_account",\n\tpermission: "your_permission",\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \nconst client = await createClient({ session });\n \nconst campaign: CreateCampaignArgs = {\n\tclient: client,\n\tcampaign: {\n\t\tcategory: "category",\n\t\tdescription: "Description for this Campaign",\n\t\testimated_time: 1,\n\t\texample_task: exampleTask.toString(),\n\t\timage: "image",\n\t\tinstructions: "Instructions for this Camapign",\n\t\tinput_schema: inputSchema.toString(),\n\t\toutput_schema: null,\n\t\ttemplate: campaignFile.toString(),\n\t\ttitle: "Title for this Campaign",\n\t\tversion: 1,\n\t\treward: 1,\n\t\tmaxTaskTime: 1,\n\t\tqualitications: [],\n\t},\n};\n \nconst response = createCampaign(campaign);\nconsole.debug(response);","title":"Script","titles":["Label Studio example"]},"46":{"href":"/docs/token/get-balance#getbalance","html":"\n","isPage":true,"text":"\n","title":"getBalance","titles":[]},"47":{"href":"/docs/token/get-balance#description","html":"\n

This function is used to return the blance of EFX, USDT, and EOS of an account on the EOS blockchain.\nNamely the balance is what is available in the wallet of the user.

\n

There is a difference between the balance of EFX of an account that is available in the wallet of the user and the balance of EFX that is available in an Effect Network Virtual Account.\nTo retrieve the EFX balance of a user in their Virtual Account, use the getVaccount

\n","isPage":false,"text":"\nThis function is used to return the blance of EFX, USDT, and EOS of an account on the EOS blockchain.\nNamely the balance is what is available in the wallet of the user.\nThere is a difference between the balance of EFX of an account that is available in the wallet of the user and the balance of EFX that is available in an Effect Network Virtual Account.\nTo retrieve the EFX balance of a user in their Virtual Account, use the getVaccount\n","title":"Description","titles":["getBalance"]},"48":{"href":"/docs/token/get-balance#usage","html":"\n
import { createClient, eos, getBalance, jungle4 } from "@effectai/sdk";\n \nconst client = await createClient({ network: eos });\nconst actor = "cryptonode42";\nconst balance = await getBalance({ client, actor });\nconsole.log(\n\tbalance.efxBalance.toString(),\n\tbalance.usdtBalance.toString(),\n\tbalance.eosBalance.toString(),\n);
\n","isPage":false,"text":"\nimport { createClient, eos, getBalance, jungle4 } from "@effectai/sdk";\n \nconst client = await createClient({ network: eos });\nconst actor = "cryptonode42";\nconst balance = await getBalance({ client, actor });\nconsole.log(\n\tbalance.efxBalance.toString(),\n\tbalance.usdtBalance.toString(),\n\tbalance.eosBalance.toString(),\n);\n","title":"Usage","titles":["getBalance"]},"49":{"href":"/docs/token/get-balance#output","html":"\n
378332.1630 EFX\n26.7212 USDT\n31.3322 EOS
\n","isPage":false,"text":"\n378332.1630 EFX\n26.7212 USDT\n31.3322 EOS\n","title":"Output","titles":["getBalance"]},"50":{"href":"/docs/token/get-balance#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["getBalance"]},"51":{"href":"/docs/token/get-balance#client","html":"\n\n","isPage":false,"text":"\n\nType: Client\nDescription: Client object that is used to interact with the blockchain.\n\n","title":"Client","titles":["getBalance","Parameters"]},"52":{"href":"/docs/token/get-balance#actor","html":"\n\n","isPage":false,"text":"\n\nType: Name\nDescription:\nThe account name of the user for which the balance is to be fetched.\nNote that the account name is a Name object that is created using the Name.from method.\n\n","title":"Actor","titles":["getBalance","Parameters"]},"53":{"href":"/docs/token/get-balance#returns","html":"\n

Type: { efxBalance: Asset; usdtBalance: Asset; eosBalance: Asset; }

\n

Description:\nReturn an object with three properties: efxBalance, usdtBalance, and eosBalance, each of which is an Asset object.\nThe asset object has properties that represent the amount and symbol of the balance of the user.\nNote that the Asset object has a toString method that can be used to convert the balance to a string.

\n

You can read more about the: Asset object

","isPage":false,"text":"\nType: { efxBalance: Asset; usdtBalance: Asset; eosBalance: Asset; }\nDescription:\nReturn an object with three properties: efxBalance, usdtBalance, and eosBalance, each of which is an Asset object.\nThe asset object has properties that represent the amount and symbol of the balance of the user.\nNote that the Asset object has a toString method that can be used to convert the balance to a string.\nYou can read more about the: Asset object","title":"Returns","titles":["getBalance"]},"54":{"href":"/docs/token/get-price#getprice","html":"\n","isPage":true,"text":"\n","title":"getPrice","titles":[]},"55":{"href":"/docs/token/get-price#description","html":"\n

By calling this function, you will get the current price of the EFX token according to DefiBox.\nThe price is in USDT. The contract can be viewed at the following link: https://www.bloks.io/account/tethertether\nIt is not needed for this function to connect a client or a session.

\n","isPage":false,"text":"\nBy calling this function, you will get the current price of the EFX token according to DefiBox.\nThe price is in USDT. The contract can be viewed at the following link: https://www.bloks.io/account/tethertether\nIt is not needed for this function to connect a client or a session.\n","title":"Description","titles":["getPrice"]},"56":{"href":"/docs/token/get-price#usage","html":"\n
 \nimport { getPrice } from "@effectai/sdk";\nconst price = await getPrice();\nconsole.log(price);
\n","isPage":false,"text":"\n \nimport { getPrice } from "@effectai/sdk";\nconst price = await getPrice();\nconsole.log(price);\n","title":"Usage","titles":["getPrice"]},"57":{"href":"/docs/token/get-price#output","html":"\n
0.023399935809187228
\n","isPage":false,"text":"\n0.023399935809187228\n","title":"Output","titles":["getPrice"]},"58":{"href":"/docs/token/get-price#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["getPrice"]},"59":{"href":"/docs/token/get-price#na","html":"\n\n","isPage":false,"text":"\n\nDescription: No parameters required for this function\n\n","title":"N.A.","titles":["getPrice","Parameters"]},"60":{"href":"/docs/token/get-price#returns","html":"\n

Type: Number

\n

Description: The current price of the EFX token according to DefiBox in USDT.

","isPage":false,"text":"\nType: Number\nDescription: The current price of the EFX token according to DefiBox in USDT.","title":"Returns","titles":["getPrice"]},"61":{"href":"/docs/token/swap#swap","html":"\n","isPage":true,"text":"\n","title":"swap","titles":[]},"62":{"href":"/docs/token/swap#description","html":"\n

This function is used to swap tokens from EFX to USDT or vice versa.\nNote that the function requires a client object that is used to interact with the blockchain.\nThe client object also needs a Session object that is used to sign the transactions.

\n","isPage":false,"text":"\nThis function is used to swap tokens from EFX to USDT or vice versa.\nNote that the function requires a client object that is used to interact with the blockchain.\nThe client object also needs a Session object that is used to sign the transactions.\n","title":"Description","titles":["swap"]},"63":{"href":"/docs/token/swap#walletplugin","html":"\n

Note that the walletPlugin object is used to sign the transactions.\nThe walletPlugin object is an instance of the WalletPluginPrivateKey class that is used to sign the transactions using the private key of the user.\nOther wallet plugins can be used to sign transactions and can be found at: https://wharfkit.com/plugins

\n","isPage":false,"text":"\nNote that the walletPlugin object is used to sign the transactions.\nThe walletPlugin object is an instance of the WalletPluginPrivateKey class that is used to sign the transactions using the private key of the user.\nOther wallet plugins can be used to sign transactions and can be found at: https://wharfkit.com/plugins\n","title":"WalletPlugin","titles":["swap","Description"]},"64":{"href":"/docs/token/swap#usage","html":"\n
import { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as chain,\n\t// eos as chain,\n\tSession,\n\tswap,\n\ttype SwapArgs,\n\tgetBalance,\n} from "@effectai/sdk";\n \nconst actor = "actor-name";\nconst permission = "permission-level";\n \n// Create a session\nconst session = new Session({\n\tchain,\n\tactor,\n\tpermission,\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \n// Create client and connect session\nconst client = await createClient({ session });\n \n// Define the swap arguments\nconst swapArgs: SwapArgs = {\n\tclient,\n\tamount: 4, // Define amount, up to 4 digits behind the decimal\n\tdirection: "UsdtToEfx", // or "EfxToUsdt"\n};\n \nconst preBalance = await getBalance({ client, actor });\n \n// Call the swap function\nconst response = await swap(swapArgs);
\n","isPage":false,"text":"\nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as chain,\n\t// eos as chain,\n\tSession,\n\tswap,\n\ttype SwapArgs,\n\tgetBalance,\n} from "@effectai/sdk";\n \nconst actor = "actor-name";\nconst permission = "permission-level";\n \n// Create a session\nconst session = new Session({\n\tchain,\n\tactor,\n\tpermission,\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \n// Create client and connect session\nconst client = await createClient({ session });\n \n// Define the swap arguments\nconst swapArgs: SwapArgs = {\n\tclient,\n\tamount: 4, // Define amount, up to 4 digits behind the decimal\n\tdirection: "UsdtToEfx", // or "EfxToUsdt"\n};\n \nconst preBalance = await getBalance({ client, actor });\n \n// Call the swap function\nconst response = await swap(swapArgs);\n","title":"Usage","titles":["swap"]},"65":{"href":"/docs/token/swap#output","html":"\n

Read more about the transaction response here: TransactionResponse

\n
 response: {\n    transaction_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n    processed: {\n      id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n      block_num: 137868012,\n      block_time: "2024-05-03T04:12:07.500",\n      producer_block_id: null,\n      receipt: {\n        status: "executed",\n        cpu_usage_us: 207,\n        net_usage_words: 16,\n      },\n      elapsed: 207,\n      net_usage: 128,\n      scheduled: false,\n      action_traces: [\n        {\n          action_ordinal: 1,\n          creator_action_ordinal: 0,\n          closest_unnotified_ancestor_action_ordinal: 0,\n          receipt: {\n            receiver: "efxaccount11",\n            act_digest: "d6f9be5af2565060d572a08f6e5f75498ea4c6a3d2cf77e26f3e3ffff4b6e244",\n            global_sequence: 196109234,\n            recv_sequence: 387,\n            auth_sequence: [\n              [ "forcedev1234", 32 ]\n            ],\n            code_sequence: 8,\n            abi_sequence: 15,\n          },\n          receiver: "efxaccount11",\n          act: {\n            account: "efxaccount11",\n            name: "vtransfer",\n            authorization: [\n              {\n                actor: "forcedev1234",\n                permission: "active",\n              }\n            ],\n            data: {\n              from_id: 24,\n              to_id: 3,\n              quantity: {\n                quantity: "0.0001 EFX",\n                contract: "efxtoken1112",\n              },\n              memo: "",\n              sig: null,\n              fee: null,\n            },\n            hex_data: "180000000000000003000000000000000100000000000000044546580000000020420853419afb52000000",\n          },\n          context_free: false,\n          elapsed: 76,\n          console: "",\n          trx_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n          block_num: 137868012,\n          block_time: "2024-05-03T04:12:07.500",\n          producer_block_id: null,\n          account_ram_deltas: [],\n          except: null,\n          error_code: null,\n          return_value_hex_data: "",\n        }, {\n          action_ordinal: 2,\n          creator_action_ordinal: 1,\n          closest_unnotified_ancestor_action_ordinal: 1,\n          receipt: {\n            receiver: "vibrantcacti",\n            act_digest: "d6f9be5af2565060d572a08f6e5f75498ea4c6a3d2cf77e26f3e3ffff4b6e244",\n            global_sequence: 196109235,\n            recv_sequence: 69,\n            auth_sequence: [\n              [ "forcedev1234", 33 ]\n            ],\n            code_sequence: 8,\n            abi_sequence: 15,\n          },\n          receiver: "vibrantcacti",\n          act: {\n            account: "efxaccount11",\n            name: "vtransfer",\n            authorization: [\n              {\n                actor: "forcedev1234",\n                permission: "active",\n              }\n            ],\n            data: {\n              from_id: 24,\n              to_id: 3,\n              quantity: {\n                quantity: "0.0001 EFX",\n                contract: "efxtoken1112",\n              },\n              memo: "",\n              sig: null,\n              fee: null,\n            },\n            hex_data: "180000000000000003000000000000000100000000000000044546580000000020420853419afb52000000",\n          },\n          context_free: false,\n          elapsed: 5,\n          console: "",\n          trx_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n          block_num: 137868012,\n          block_time: "2024-05-03T04:12:07.500",\n          producer_block_id: null,\n          account_ram_deltas: [],\n          except: null,\n          error_code: null,\n          return_value_hex_data: "",\n        }\n      ],\n      account_ram_delta: null,\n      except: null,\n      error_code: null,\n    },\n  },\n}
\n","isPage":false,"text":"\nRead more about the transaction response here: TransactionResponse\n response: {\n transaction_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n processed: {\n id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n block_num: 137868012,\n block_time: "2024-05-03T04:12:07.500",\n producer_block_id: null,\n receipt: {\n status: "executed",\n cpu_usage_us: 207,\n net_usage_words: 16,\n },\n elapsed: 207,\n net_usage: 128,\n scheduled: false,\n action_traces: [\n {\n action_ordinal: 1,\n creator_action_ordinal: 0,\n closest_unnotified_ancestor_action_ordinal: 0,\n receipt: {\n receiver: "efxaccount11",\n act_digest: "d6f9be5af2565060d572a08f6e5f75498ea4c6a3d2cf77e26f3e3ffff4b6e244",\n global_sequence: 196109234,\n recv_sequence: 387,\n auth_sequence: [\n [ "forcedev1234", 32 ]\n ],\n code_sequence: 8,\n abi_sequence: 15,\n },\n receiver: "efxaccount11",\n act: {\n account: "efxaccount11",\n name: "vtransfer",\n authorization: [\n {\n actor: "forcedev1234",\n permission: "active",\n }\n ],\n data: {\n from_id: 24,\n to_id: 3,\n quantity: {\n quantity: "0.0001 EFX",\n contract: "efxtoken1112",\n },\n memo: "",\n sig: null,\n fee: null,\n },\n hex_data: "180000000000000003000000000000000100000000000000044546580000000020420853419afb52000000",\n },\n context_free: false,\n elapsed: 76,\n console: "",\n trx_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n block_num: 137868012,\n block_time: "2024-05-03T04:12:07.500",\n producer_block_id: null,\n account_ram_deltas: [],\n except: null,\n error_code: null,\n return_value_hex_data: "",\n }, {\n action_ordinal: 2,\n creator_action_ordinal: 1,\n closest_unnotified_ancestor_action_ordinal: 1,\n receipt: {\n receiver: "vibrantcacti",\n act_digest: "d6f9be5af2565060d572a08f6e5f75498ea4c6a3d2cf77e26f3e3ffff4b6e244",\n global_sequence: 196109235,\n recv_sequence: 69,\n auth_sequence: [\n [ "forcedev1234", 33 ]\n ],\n code_sequence: 8,\n abi_sequence: 15,\n },\n receiver: "vibrantcacti",\n act: {\n account: "efxaccount11",\n name: "vtransfer",\n authorization: [\n {\n actor: "forcedev1234",\n permission: "active",\n }\n ],\n data: {\n from_id: 24,\n to_id: 3,\n quantity: {\n quantity: "0.0001 EFX",\n contract: "efxtoken1112",\n },\n memo: "",\n sig: null,\n fee: null,\n },\n hex_data: "180000000000000003000000000000000100000000000000044546580000000020420853419afb52000000",\n },\n context_free: false,\n elapsed: 5,\n console: "",\n trx_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n block_num: 137868012,\n block_time: "2024-05-03T04:12:07.500",\n producer_block_id: null,\n account_ram_deltas: [],\n except: null,\n error_code: null,\n return_value_hex_data: "",\n }\n ],\n account_ram_delta: null,\n except: null,\n error_code: null,\n },\n },\n}\n","title":"Output","titles":["swap"]},"66":{"href":"/docs/token/swap#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["swap"]},"67":{"href":"/docs/token/swap#client","html":"\n\n","isPage":false,"text":"\n\nType: Client\nDescription: Client object that is used to interact with the blockchain. Make sure that the client is connected with a Session.\n\n","title":"Client","titles":["swap","Parameters"]},"68":{"href":"/docs/token/swap#ammount","html":"\n\n","isPage":false,"text":"\n\nType: number\nDescription:\nThe amount of tokens to be swapped.\n\n","title":"Ammount","titles":["swap","Parameters"]},"69":{"href":"/docs/token/swap#direction","html":"\n\n","isPage":false,"text":"\n\nType: string\nDescription:\nThe direction of the swap. It can be either "UsdtToEfx" or "EfxToUsdt".\n\n","title":"Direction","titles":["swap","Parameters"]},"70":{"href":"/docs/token/swap#returns","html":"\n

Type: TransactionResponse

\n

Description:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse

","isPage":false,"text":"\nType: TransactionResponse\nDescription:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse","title":"Returns","titles":["swap"]},"71":{"href":"/docs/token/transfer#vtransfer","html":"\n","isPage":true,"text":"\n","title":"VTransfer","titles":[]},"72":{"href":"/docs/token/transfer#description","html":"\n

Transfer EFX tokens from one vAccount to another.\nEffect accounts are created so that users can interact with the Effect Network platform.\nThese accounts can be loaded with EFX tokens and used to pay for services on the platform.\nThis action allows users to transfer EFX tokens from one Effect account to another Effect account.

\n","isPage":false,"text":"\nTransfer EFX tokens from one vAccount to another.\nEffect accounts are created so that users can interact with the Effect Network platform.\nThese accounts can be loaded with EFX tokens and used to pay for services on the platform.\nThis action allows users to transfer EFX tokens from one Effect account to another Effect account.\n","title":"Description","titles":["VTransfer"]},"73":{"href":"/docs/token/transfer#usage","html":"\n
import {\n\tcreateClient,\n\tjungle4 as network,\n\tvTransfer,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \nconst client = await createClient({ network });\nconst receiver = "receiver-account-name";\n \nconst [vAccountReceiver] = await getVAccounts({\n\tclient,\n\tactor: receiver,\n});\n \nconst result = await vTransfer({\n\tclient,\n\tto_id: vAccountReceiver.id,\n\tquantity: 12,\n});
\n","isPage":false,"text":"\nimport {\n\tcreateClient,\n\tjungle4 as network,\n\tvTransfer,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \nconst client = await createClient({ network });\nconst receiver = "receiver-account-name";\n \nconst [vAccountReceiver] = await getVAccounts({\n\tclient,\n\tactor: receiver,\n});\n \nconst result = await vTransfer({\n\tclient,\n\tto_id: vAccountReceiver.id,\n\tquantity: 12,\n});\n","title":"Usage","titles":["VTransfer"]},"74":{"href":"/docs/token/transfer#returns","html":"\n\n","isPage":false,"text":"\n\nType: Promise<GetTableRowsResponse<UInt128, Campaign>>\nDescription: A list of campaigns.\n\nProperties:\n\nrows: An array of campaigns.\nmore: A boolean indicating if there are more campaigns to fetch.\nnext_key: A string that can be used to fetch the next page of campaigns.\n\n\n\n","title":"Returns","titles":["VTransfer"]},"75":{"href":"/docs/token/transfer#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["VTransfer"]},"76":{"href":"/docs/token/transfer#client","html":"\n\n","isPage":false,"text":"\n\nType: Client\n\n","title":"client","titles":["VTransfer","Parameters"]},"77":{"href":"/docs/token/transfer#limit-optional","html":"\n\n","isPage":false,"text":"\n\nType: number\nDefault: 10\n\n","title":"limit (optional)","titles":["VTransfer","Parameters"]},"78":{"href":"/docs/token/transfer#page-optional","html":"\n\n
 // Response\n response: {\n    transaction_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n    processed: {\n      id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n      block_num: 137868012,\n      block_time: "2024-05-03T04:12:07.500",\n      producer_block_id: null,\n      receipt: {\n        status: "executed",\n        cpu_usage_us: 207,\n        net_usage_words: 16,\n      },\n      elapsed: 207,\n      net_usage: 128,\n      scheduled: false,\n      action_traces: [\n        {\n          action_ordinal: 1,\n          creator_action_ordinal: 0,\n          closest_unnotified_ancestor_action_ordinal: 0,\n          receipt: {\n            receiver: "efxaccount11",\n            act_digest: "d6f9be5af2565060d572a08f6e5f75498ea4c6a3d2cf77e26f3e3ffff4b6e244",\n            global_sequence: 196109234,\n            recv_sequence: 387,\n            auth_sequence: [\n              [ "forcedev1234", 32 ]\n            ],\n            code_sequence: 8,\n            abi_sequence: 15,\n          },\n          receiver: "efxaccount11",\n          act: {\n            account: "efxaccount11",\n            name: "vtransfer",\n            authorization: [\n              {\n                actor: "forcedev1234",\n                permission: "active",\n              }\n            ],\n            data: {\n              from_id: 24,\n              to_id: 3,\n              quantity: {\n                quantity: "0.0001 EFX",\n                contract: "efxtoken1112",\n              },\n              memo: "",\n              sig: null,\n              fee: null,\n            },\n            hex_data: "180000000000000003000000000000000100000000000000044546580000000020420853419afb52000000",\n          },\n          context_free: false,\n          elapsed: 76,\n          console: "",\n          trx_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n          block_num: 137868012,\n          block_time: "2024-05-03T04:12:07.500",\n          producer_block_id: null,\n          account_ram_deltas: [],\n          except: null,\n          error_code: null,\n          return_value_hex_data: "",\n        }, {\n          action_ordinal: 2,\n          creator_action_ordinal: 1,\n          closest_unnotified_ancestor_action_ordinal: 1,\n          receipt: {\n            receiver: "vibrantcacti",\n            act_digest: "d6f9be5af2565060d572a08f6e5f75498ea4c6a3d2cf77e26f3e3ffff4b6e244",\n            global_sequence: 196109235,\n            recv_sequence: 69,\n            auth_sequence: [\n              [ "forcedev1234", 33 ]\n            ],\n            code_sequence: 8,\n            abi_sequence: 15,\n          },\n          receiver: "vibrantcacti",\n          act: {\n            account: "efxaccount11",\n            name: "vtransfer",\n            authorization: [\n              {\n                actor: "forcedev1234",\n                permission: "active",\n              }\n            ],\n            data: {\n              from_id: 24,\n              to_id: 3,\n              quantity: {\n                quantity: "0.0001 EFX",\n                contract: "efxtoken1112",\n              },\n              memo: "",\n              sig: null,\n              fee: null,\n            },\n            hex_data: "180000000000000003000000000000000100000000000000044546580000000020420853419afb52000000",\n          },\n          context_free: false,\n          elapsed: 5,\n          console: "",\n          trx_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n          block_num: 137868012,\n          block_time: "2024-05-03T04:12:07.500",\n          producer_block_id: null,\n          account_ram_deltas: [],\n          except: null,\n          error_code: null,\n          return_value_hex_data: "",\n        }\n      ],\n      account_ram_delta: null,\n      except: null,\n      error_code: null,\n    },\n  },\n}
","isPage":false,"text":"\n\nType: number\nDefault: 1\n\n // Response\n response: {\n transaction_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n processed: {\n id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n block_num: 137868012,\n block_time: "2024-05-03T04:12:07.500",\n producer_block_id: null,\n receipt: {\n status: "executed",\n cpu_usage_us: 207,\n net_usage_words: 16,\n },\n elapsed: 207,\n net_usage: 128,\n scheduled: false,\n action_traces: [\n {\n action_ordinal: 1,\n creator_action_ordinal: 0,\n closest_unnotified_ancestor_action_ordinal: 0,\n receipt: {\n receiver: "efxaccount11",\n act_digest: "d6f9be5af2565060d572a08f6e5f75498ea4c6a3d2cf77e26f3e3ffff4b6e244",\n global_sequence: 196109234,\n recv_sequence: 387,\n auth_sequence: [\n [ "forcedev1234", 32 ]\n ],\n code_sequence: 8,\n abi_sequence: 15,\n },\n receiver: "efxaccount11",\n act: {\n account: "efxaccount11",\n name: "vtransfer",\n authorization: [\n {\n actor: "forcedev1234",\n permission: "active",\n }\n ],\n data: {\n from_id: 24,\n to_id: 3,\n quantity: {\n quantity: "0.0001 EFX",\n contract: "efxtoken1112",\n },\n memo: "",\n sig: null,\n fee: null,\n },\n hex_data: "180000000000000003000000000000000100000000000000044546580000000020420853419afb52000000",\n },\n context_free: false,\n elapsed: 76,\n console: "",\n trx_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n block_num: 137868012,\n block_time: "2024-05-03T04:12:07.500",\n producer_block_id: null,\n account_ram_deltas: [],\n except: null,\n error_code: null,\n return_value_hex_data: "",\n }, {\n action_ordinal: 2,\n creator_action_ordinal: 1,\n closest_unnotified_ancestor_action_ordinal: 1,\n receipt: {\n receiver: "vibrantcacti",\n act_digest: "d6f9be5af2565060d572a08f6e5f75498ea4c6a3d2cf77e26f3e3ffff4b6e244",\n global_sequence: 196109235,\n recv_sequence: 69,\n auth_sequence: [\n [ "forcedev1234", 33 ]\n ],\n code_sequence: 8,\n abi_sequence: 15,\n },\n receiver: "vibrantcacti",\n act: {\n account: "efxaccount11",\n name: "vtransfer",\n authorization: [\n {\n actor: "forcedev1234",\n permission: "active",\n }\n ],\n data: {\n from_id: 24,\n to_id: 3,\n quantity: {\n quantity: "0.0001 EFX",\n contract: "efxtoken1112",\n },\n memo: "",\n sig: null,\n fee: null,\n },\n hex_data: "180000000000000003000000000000000100000000000000044546580000000020420853419afb52000000",\n },\n context_free: false,\n elapsed: 5,\n console: "",\n trx_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n block_num: 137868012,\n block_time: "2024-05-03T04:12:07.500",\n producer_block_id: null,\n account_ram_deltas: [],\n except: null,\n error_code: null,\n return_value_hex_data: "",\n }\n ],\n account_ram_delta: null,\n except: null,\n error_code: null,\n },\n },\n}","title":"page (optional)","titles":["VTransfer","Parameters"]},"79":{"href":"/docs/vaccount/claim#claim","html":"\n","isPage":true,"text":"\n","title":"claim","titles":[]},"80":{"href":"/docs/vaccount/claim#description","html":"\n

This function is used to claim the task reward that is locked in the escrow for the done tasks.\nEvery time a task is done, the reward is locked in the escrow until the timeout is reached.\nAfter the timeout is reached, the reward can be claimed by the user who did the task.\nThe resulting EFX will be transferred to the user's VAccount.\nThe main difference between claim and payout, is where the funds are sent.

\n","isPage":false,"text":"\nThis function is used to claim the task reward that is locked in the escrow for the done tasks.\nEvery time a task is done, the reward is locked in the escrow until the timeout is reached.\nAfter the timeout is reached, the reward can be claimed by the user who did the task.\nThe resulting EFX will be transferred to the user's VAccount.\nThe main difference between claim and payout, is where the funds are sent.\n","title":"Description","titles":["claim"]},"81":{"href":"/docs/vaccount/claim#usage","html":"\n
 \nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as chain,\n\t// eos as chain,\n\tSession,\n\tclaim,\n\ttype ClaimArgs,\n\tgetPendingPayments,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \nconst actor = "actor-name";\nconst permission = "permission-level";\n \n// Create a session\nconst session = new Session({\n\tchain,\n\tactor,\n\tpermission,\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \n// Create client and connect session\nconst client = await createClient({ session });\n \nconst [vacc] = await getVAccounts({ client, actor });\n \n// Check pending payments\nconst pendingPayments = await getPendingPayments({\n\tclient,\n\tvAccountId: vacc.id,\n});\n \n// If there are claimable payments, claim them.\nif (pendingPayments.totalEfxClaimable > 0) {\n\tawait claim({ client });\n}
\n","isPage":false,"text":"\n \nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as chain,\n\t// eos as chain,\n\tSession,\n\tclaim,\n\ttype ClaimArgs,\n\tgetPendingPayments,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \nconst actor = "actor-name";\nconst permission = "permission-level";\n \n// Create a session\nconst session = new Session({\n\tchain,\n\tactor,\n\tpermission,\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \n// Create client and connect session\nconst client = await createClient({ session });\n \nconst [vacc] = await getVAccounts({ client, actor });\n \n// Check pending payments\nconst pendingPayments = await getPendingPayments({\n\tclient,\n\tvAccountId: vacc.id,\n});\n \n// If there are claimable payments, claim them.\nif (pendingPayments.totalEfxClaimable > 0) {\n\tawait claim({ client });\n}\n","title":"Usage","titles":["claim"]},"82":{"href":"/docs/vaccount/claim#output","html":"\n
response: {\n  transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n  processed: {\n    id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n    block_num: 137520447,\n    block_time: "2024-05-01T03:55:31.500",\n    producer_block_id: null,\n    receipt: [Object ...],\n    elapsed: 4854,\n    net_usage: 176,\n    scheduled: false,\n    action_traces: [\n      [Object ...]\n    ],\n    account_ram_delta: null,\n    except: null,\n    error_code: null,\n  },\n}
\n","isPage":false,"text":"\nresponse: {\n transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n processed: {\n id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n block_num: 137520447,\n block_time: "2024-05-01T03:55:31.500",\n producer_block_id: null,\n receipt: [Object ...],\n elapsed: 4854,\n net_usage: 176,\n scheduled: false,\n action_traces: [\n [Object ...]\n ],\n account_ram_delta: null,\n except: null,\n error_code: null,\n },\n}\n","title":"Output","titles":["claim"]},"83":{"href":"/docs/vaccount/claim#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["claim"]},"84":{"href":"/docs/vaccount/claim#client","html":"\n\n","isPage":false,"text":"\n\nDescription: The client object, must be connected with a Session, so that only the user with their wallet can claim the rewards.\n\n","title":"Client","titles":["claim","Parameters"]},"85":{"href":"/docs/vaccount/claim#returns","html":"\n

Type: TransactionResult

\n

Description:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse

","isPage":false,"text":"\nType: TransactionResult\nDescription:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse","title":"Returns","titles":["claim"]},"86":{"href":"/docs/vaccount/create-account#createaccount","html":"\n","isPage":true,"text":"\n","title":"createAccount","titles":[]},"87":{"href":"/docs/vaccount/create-account#description","html":"\n

Next to having an EOS account, users will also need to create an Effect Network Virtual account, also known as a VAccount.\nThis virtual account is used to store the user's funds and is used to pay for services on the Effect Network.\nThe vAccount system is controled by the smart contract found at: https://www.bloks.io/account/vaccount.efx

\n

This function will create a new vAccount for the user, and will return the transaction response object.

\n","isPage":false,"text":"\nNext to having an EOS account, users will also need to create an Effect Network Virtual account, also known as a VAccount.\nThis virtual account is used to store the user's funds and is used to pay for services on the Effect Network.\nThe vAccount system is controled by the smart contract found at: https://www.bloks.io/account/vaccount.efx\nThis function will create a new vAccount for the user, and will return the transaction response object.\n","title":"Description","titles":["createAccount"]},"88":{"href":"/docs/vaccount/create-account#usage","html":"\n
 \nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as chain,\n\t// eos as chain,\n\tSession,\n\tcreateVAccount,\n\ttype CreateVAccountArgs,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \nconst actor = "actor-name";\nconst permission = "permission-level";\n \n// Create a session\nconst session = new Session({\n\tchain,\n\tactor,\n\tpermission,\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \n// Create client and connect session\nconst client = await createClient({ session });\nconst account = "account-name";\nconst tx_result = await createVAccount({ client, account });\nconsole.log(tx_result);\n \n// Retrieve the created vaccount\nconst [vacc] = await getVAccounts({ client, actor: account });
\n","isPage":false,"text":"\n \nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as chain,\n\t// eos as chain,\n\tSession,\n\tcreateVAccount,\n\ttype CreateVAccountArgs,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \nconst actor = "actor-name";\nconst permission = "permission-level";\n \n// Create a session\nconst session = new Session({\n\tchain,\n\tactor,\n\tpermission,\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \n// Create client and connect session\nconst client = await createClient({ session });\nconst account = "account-name";\nconst tx_result = await createVAccount({ client, account });\nconsole.log(tx_result);\n \n// Retrieve the created vaccount\nconst [vacc] = await getVAccounts({ client, actor: account });\n","title":"Usage","titles":["createAccount"]},"89":{"href":"/docs/vaccount/create-account#output","html":"\n
response: {\n  transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n  processed: {\n    id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n    block_num: 137520447,\n    block_time: "2024-05-01T03:55:31.500",\n    producer_block_id: null,\n    receipt: [Object ...],\n    elapsed: 4854,\n    net_usage: 176,\n    scheduled: false,\n    action_traces: [\n      [Object ...]\n    ],\n    account_ram_delta: null,\n    except: null,\n    error_code: null,\n  },\n}
\n","isPage":false,"text":"\nresponse: {\n transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n processed: {\n id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n block_num: 137520447,\n block_time: "2024-05-01T03:55:31.500",\n producer_block_id: null,\n receipt: [Object ...],\n elapsed: 4854,\n net_usage: 176,\n scheduled: false,\n action_traces: [\n [Object ...]\n ],\n account_ram_delta: null,\n except: null,\n error_code: null,\n },\n}\n","title":"Output","titles":["createAccount"]},"90":{"href":"/docs/vaccount/create-account#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["createAccount"]},"91":{"href":"/docs/vaccount/create-account#client","html":"\n\n","isPage":false,"text":"\n\nDescription: The client object, must be connected with a Session.\n\n","title":"Client","titles":["createAccount","Parameters"]},"92":{"href":"/docs/vaccount/create-account#actor","html":"\n\n","isPage":false,"text":"\n\nDescription: The actor name, from which the PendinPayments should be claimed and paid out.\n\n","title":"Actor","titles":["createAccount","Parameters"]},"93":{"href":"/docs/vaccount/create-account#returns","html":"\n

Type: TransactionResult

\n

Description:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse

","isPage":false,"text":"\nType: TransactionResult\nDescription:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse","title":"Returns","titles":["createAccount"]},"94":{"href":"/docs/vaccount/deposit#deposit","html":"\n","isPage":true,"text":"\n","title":"deposit","titles":[]},"95":{"href":"/docs/vaccount/deposit#description","html":"\n

User are able to deposit funds into their vAccount or claim the funds from escrow and have them deposited in to their vAccount.\nDepositing funds into the vAccount is nessesary to be able to pay for creating campaigns, batches and tasks.

\n","isPage":false,"text":"\nUser are able to deposit funds into their vAccount or claim the funds from escrow and have them deposited in to their vAccount.\nDepositing funds into the vAccount is nessesary to be able to pay for creating campaigns, batches and tasks.\n","title":"Description","titles":["deposit"]},"96":{"href":"/docs/vaccount/deposit#usage","html":"\n
 \nimport {\n\tcreateClient,\n\tjungle4 as network,\n\tgetVAccounts,\n\tdeposit,\n\ttype DepositArgs,\n} from "@effectai/sdk";\n \nconst client = await createClient({ network });\nconst actor = "account-name";\nconst [vAccount] = await getVAccounts({ client, actor });\nconst result = await deposit({ client, vAccountId: vAccount.id, amount: 0.1 });
\n","isPage":false,"text":"\n \nimport {\n\tcreateClient,\n\tjungle4 as network,\n\tgetVAccounts,\n\tdeposit,\n\ttype DepositArgs,\n} from "@effectai/sdk";\n \nconst client = await createClient({ network });\nconst actor = "account-name";\nconst [vAccount] = await getVAccounts({ client, actor });\nconst result = await deposit({ client, vAccountId: vAccount.id, amount: 0.1 });\n","title":"Usage","titles":["deposit"]},"97":{"href":"/docs/vaccount/deposit#output","html":"\n
response: {\n  transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n  processed: {\n    id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n    block_num: 137520447,\n    block_time: "2024-05-01T03:55:31.500",\n    producer_block_id: null,\n    receipt: [Object ...],\n    elapsed: 4854,\n    net_usage: 176,\n    scheduled: false,\n    action_traces: [\n      [Object ...]\n    ],\n    account_ram_delta: null,\n    except: null,\n    error_code: null,\n  },\n}
\n","isPage":false,"text":"\nresponse: {\n transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n processed: {\n id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n block_num: 137520447,\n block_time: "2024-05-01T03:55:31.500",\n producer_block_id: null,\n receipt: [Object ...],\n elapsed: 4854,\n net_usage: 176,\n scheduled: false,\n action_traces: [\n [Object ...]\n ],\n account_ram_delta: null,\n except: null,\n error_code: null,\n },\n}\n","title":"Output","titles":["deposit"]},"98":{"href":"/docs/vaccount/deposit#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["deposit"]},"99":{"href":"/docs/vaccount/deposit#client","html":"\n\n","isPage":false,"text":"\n\nDescription: The client object, must be connected with a Session.\n\n","title":"Client","titles":["deposit","Parameters"]},"100":{"href":"/docs/vaccount/deposit#vaccountid","html":"\n\n","isPage":false,"text":"\n\nDescription: The vAccount id, where the funds should be deposited.\n\n","title":"vAccountId","titles":["deposit","Parameters"]},"101":{"href":"/docs/vaccount/deposit#amount","html":"\n\n","isPage":false,"text":"\n\nDescription: The amount of funds to be deposited.\n\n","title":"amount","titles":["deposit","Parameters"]},"102":{"href":"/docs/vaccount/deposit#returns","html":"\n

Type: TransactionResult

\n

Description:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse

","isPage":false,"text":"\nType: TransactionResult\nDescription:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse","title":"Returns","titles":["deposit"]},"103":{"href":"/docs/vaccount/get-accounts#getvaccounts","html":"\n","isPage":true,"text":"\n","title":"getVaccounts","titles":[]},"104":{"href":"/docs/vaccount/get-accounts#description","html":"\n

Next to having an EOS account, users will also need to create an Effect Network Virtual account, also known as a VAccount.\nThis virtual account is used to store the user's funds and is used to pay for services on the Effect Network.\nThe vAccount system is controled by the smart contract found at: https://www.bloks.io/account/vaccount.efx

\n

This function will return the vAccounts associated with the actor name provided.

\n","isPage":false,"text":"\nNext to having an EOS account, users will also need to create an Effect Network Virtual account, also known as a VAccount.\nThis virtual account is used to store the user's funds and is used to pay for services on the Effect Network.\nThe vAccount system is controled by the smart contract found at: https://www.bloks.io/account/vaccount.efx\nThis function will return the vAccounts associated with the actor name provided.\n","title":"Description","titles":["getVaccounts"]},"105":{"href":"/docs/vaccount/get-accounts#usage","html":"\n
 \nimport {\n\tcreateClient,\n\tjungle4 as network,\n\t// eos as network,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \n// Create client and connect session\nconst client = await createClient({ network });\n \nconst actor = "forcedev1234";\n// Retrieve the vAccounts\nconst [vacc] = await getVAccounts({ client, actor });\nconsole.log(vacc);
\n","isPage":false,"text":"\n \nimport {\n\tcreateClient,\n\tjungle4 as network,\n\t// eos as network,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \n// Create client and connect session\nconst client = await createClient({ network });\n \nconst actor = "forcedev1234";\n// Retrieve the vAccounts\nconst [vacc] = await getVAccounts({ client, actor });\nconsole.log(vacc);\n","title":"Usage","titles":["getVaccounts"]},"106":{"href":"/docs/vaccount/get-accounts#output","html":"\n
{\n  id: 24,\n  nonce: 19,\n  address: [ "name", "forcedev1234" ],\n  balance: {\n    quantity: "2.0981 EFX",\n    contract: "efxtoken1112",\n  },\n}
\n","isPage":false,"text":"\n{\n id: 24,\n nonce: 19,\n address: [ "name", "forcedev1234" ],\n balance: {\n quantity: "2.0981 EFX",\n contract: "efxtoken1112",\n },\n}\n","title":"Output","titles":["getVaccounts"]},"107":{"href":"/docs/vaccount/get-accounts#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["getVaccounts"]},"108":{"href":"/docs/vaccount/get-accounts#client","html":"\n\n","isPage":false,"text":"\n\nDescription: The client object, must be connected with a Session.\n\n","title":"Client","titles":["getVaccounts","Parameters"]},"109":{"href":"/docs/vaccount/get-accounts#actor","html":"\n\n","isPage":false,"text":"\n\nDescription: The actor name, from which the PendinPayments should be claimed and paid out.\n\n","title":"Actor","titles":["getVaccounts","Parameters"]},"110":{"href":"/docs/vaccount/get-accounts#returns","html":"\n

Type: Vaccount

\n

Description:\nAn object representing a Vaccount, containing the following fields:

\n","isPage":false,"text":"\nType: Vaccount\nDescription:\nAn object representing a Vaccount, containing the following fields:\n\nid: The id of the vAccount.\nnonce: The nonce of the vAccount.\naddress: The address of the vAccount.\nbalance: The balance of the vAccount, containing the following fields:\n\nquantity: The amount of EFX tokens in the vAccount.\ncontract: The contract of the EFX tokens in the vAccount.\n\n\n","title":"Returns","titles":["getVaccounts"]},"111":{"href":"/docs/vaccount/get-pending-payments#getpendinpayments","html":"\n","isPage":true,"text":"\n","title":"getPendinPayments","titles":[]},"112":{"href":"/docs/vaccount/get-pending-payments#description","html":"\n

Every time a user completes a task, EFX tokens are unlocked from the task, and put into escrow for the Vaccount. This function returns the pending payments for a given Vaccount.\nThus the Vaccount can claim the pending payments, and pay then out to the user when the unlock period has passed.

\n","isPage":false,"text":"\nEvery time a user completes a task, EFX tokens are unlocked from the task, and put into escrow for the Vaccount. This function returns the pending payments for a given Vaccount.\nThus the Vaccount can claim the pending payments, and pay then out to the user when the unlock period has passed.\n","title":"Description","titles":["getPendinPayments"]},"113":{"href":"/docs/vaccount/get-pending-payments#usage","html":"\n
import {\n\tcreateClient,\n\tjungle4 as network,\n\t// eos as network,\n\tgetVAccounts,\n\tgetPendingPayments,\n} from "@effectai/sdk";\n \n// Create client and connect session\nconst client = await createClient({ network });\n \nconst actor = "forcedev1234";\n// Retrieve the vAccounts\nconst [vacc] = await getVAccounts({ client, actor });\n \nconst pendingPayments = await getPendingPayments({\n\tclient,\n\tvAccountId: vacc.id,\n});\n \nconsole.log(pendingPayments);
\n","isPage":false,"text":"\nimport {\n\tcreateClient,\n\tjungle4 as network,\n\t// eos as network,\n\tgetVAccounts,\n\tgetPendingPayments,\n} from "@effectai/sdk";\n \n// Create client and connect session\nconst client = await createClient({ network });\n \nconst actor = "forcedev1234";\n// Retrieve the vAccounts\nconst [vacc] = await getVAccounts({ client, actor });\n \nconst pendingPayments = await getPendingPayments({\n\tclient,\n\tvAccountId: vacc.id,\n});\n \nconsole.log(pendingPayments);\n","title":"Usage","titles":["getPendinPayments"]},"114":{"href":"/docs/vaccount/get-pending-payments#output","html":"\n
{\n  pendingPayments: [],\n  claimablePayments: [],\n  totalEfxPending: 0,\n  totalEfxClaimable: 0,\n}
\n","isPage":false,"text":"\n{\n pendingPayments: [],\n claimablePayments: [],\n totalEfxPending: 0,\n totalEfxClaimable: 0,\n}\n","title":"Output","titles":["getPendinPayments"]},"115":{"href":"/docs/vaccount/get-pending-payments#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["getPendinPayments"]},"116":{"href":"/docs/vaccount/get-pending-payments#client","html":"\n\n","isPage":false,"text":"\n\nDescription: The client object, must be connected with a Session.\n\n","title":"Client","titles":["getPendinPayments","Parameters"]},"117":{"href":"/docs/vaccount/get-pending-payments#vaccountid","html":"\n\n","isPage":false,"text":"\n\nDescription: The id of the vAccount.\n\n","title":"vAccountId","titles":["getPendinPayments","Parameters"]},"118":{"href":"/docs/vaccount/get-pending-payments#returns","html":"\n

Type: An object containing the following fields:

\n","isPage":false,"text":"\nType: An object containing the following fields:\n\n\npendingPayments\n\nType: Array of objects\nDescription: An array of objects containing the pending payments for the Vaccount.\n\n\n\nclaimablePayments\n\nType: Array of objects\nDescription: An array of objects containing the claimable payments for the Vaccount.\n\n\n\ntotalEfxPending\n\nType: Number\nDescription: The total amount of EFX pending for the Vaccount.\n\n\n\ntotalEfxClaimable\n\nType: Number\nDescription: The total amount of EFX claimable for the Vaccount.\n\n\n","title":"Returns","titles":["getPendinPayments"]},"119":{"href":"/docs/vaccount/payout#payout","html":"\n","isPage":true,"text":"\n","title":"payout","titles":[]},"120":{"href":"/docs/vaccount/payout#description","html":"\n

This function is used to claim the task reward that is locked in the escrow for the done tasks.\nEvery time a task is done, the reward is locked in the escrow until the timeout is reached.\nAfter the timeout is reached, the reward can be claimed by the user who did the task.\nThe resulting EFX will be transferred to the user's EOS account on the blockchain.

\n

The main difference between claim and payout, is where the funds are sent.

\n","isPage":false,"text":"\nThis function is used to claim the task reward that is locked in the escrow for the done tasks.\nEvery time a task is done, the reward is locked in the escrow until the timeout is reached.\nAfter the timeout is reached, the reward can be claimed by the user who did the task.\nThe resulting EFX will be transferred to the user's EOS account on the blockchain.\nThe main difference between claim and payout, is where the funds are sent.\n","title":"Description","titles":["payout"]},"121":{"href":"/docs/vaccount/payout#usage","html":"\n
 \nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as chain,\n\t// eos as chain,\n\tSession,\n\tpayout,\n\ttype PayoutArgs,\n\tgetPendingPayments,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \nconst actor = "actor-name";\nconst permission = "permission-level";\n \n// Create a session\nconst session = new Session({\n\tchain,\n\tactor,\n\tpermission,\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \n// Create client and connect session\nconst client = await createClient({ session });\n \nconst [vacc] = await getVAccounts({ client, actor });\n \n// Check pending payments,\n// Not nessesary for this snippet, but helpful to know if there are any pending payments.\n// This check is also already done in the payout function.\nconst pendingPayments = await getPendingPayments({\n\tclient,\n\tvAccountId: vacc.id,\n});\n \n// If there are claimable payments, claim and pay them out.\nconst result = await payout({ client, actor });
\n","isPage":false,"text":"\n \nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as chain,\n\t// eos as chain,\n\tSession,\n\tpayout,\n\ttype PayoutArgs,\n\tgetPendingPayments,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \nconst actor = "actor-name";\nconst permission = "permission-level";\n \n// Create a session\nconst session = new Session({\n\tchain,\n\tactor,\n\tpermission,\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \n// Create client and connect session\nconst client = await createClient({ session });\n \nconst [vacc] = await getVAccounts({ client, actor });\n \n// Check pending payments,\n// Not nessesary for this snippet, but helpful to know if there are any pending payments.\n// This check is also already done in the payout function.\nconst pendingPayments = await getPendingPayments({\n\tclient,\n\tvAccountId: vacc.id,\n});\n \n// If there are claimable payments, claim and pay them out.\nconst result = await payout({ client, actor });\n","title":"Usage","titles":["payout"]},"122":{"href":"/docs/vaccount/payout#output","html":"\n
response: {\n  transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n  processed: {\n    id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n    block_num: 137520447,\n    block_time: "2024-05-01T03:55:31.500",\n    producer_block_id: null,\n    receipt: [Object ...],\n    elapsed: 4854,\n    net_usage: 176,\n    scheduled: false,\n    action_traces: [\n      [Object ...]\n    ],\n    account_ram_delta: null,\n    except: null,\n    error_code: null,\n  },\n}
\n","isPage":false,"text":"\nresponse: {\n transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n processed: {\n id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n block_num: 137520447,\n block_time: "2024-05-01T03:55:31.500",\n producer_block_id: null,\n receipt: [Object ...],\n elapsed: 4854,\n net_usage: 176,\n scheduled: false,\n action_traces: [\n [Object ...]\n ],\n account_ram_delta: null,\n except: null,\n error_code: null,\n },\n}\n","title":"Output","titles":["payout"]},"123":{"href":"/docs/vaccount/payout#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["payout"]},"124":{"href":"/docs/vaccount/payout#client","html":"\n\n","isPage":false,"text":"\n\nDescription: The client object, must be connected with a Session.\n\n","title":"Client","titles":["payout","Parameters"]},"125":{"href":"/docs/vaccount/payout#actor","html":"\n\n","isPage":false,"text":"\n\nDescription: The actor name, from which the PendinPayments should be claimed and paid out.\n\n","title":"Actor","titles":["payout","Parameters"]},"126":{"href":"/docs/vaccount/payout#returns","html":"\n

Type: TransactionResult

\n

Description:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse

","isPage":false,"text":"\nType: TransactionResult\nDescription:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse","title":"Returns","titles":["payout"]},"127":{"href":"/docs/vaccount/withdraw#withdraw","html":"\n","isPage":true,"text":"\n","title":"withdraw","titles":[]},"128":{"href":"/docs/vaccount/withdraw#description","html":"\n

User are able to deposit funds into their vAccount or claim the funds from escrow and have them deposited in to their vAccount.\nThese funds can be withdrawn to the user's wallet by calling the withdraw action.

\n","isPage":false,"text":"\nUser are able to deposit funds into their vAccount or claim the funds from escrow and have them deposited in to their vAccount.\nThese funds can be withdrawn to the user's wallet by calling the withdraw action.\n","title":"Description","titles":["withdraw"]},"129":{"href":"/docs/vaccount/withdraw#usage","html":"\n
 \nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as chain,\n\t// eos as chain,\n\tSession,\n\twithdraw,\n\ttype WithdrawArgs,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \nconst actor = "actor-name";\nconst permission = "permission-level";\n \n// Create a session\nconst session = new Session({\n\tchain,\n\tactor,\n\tpermission,\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \n// Create client and connect session\nconst client = await createClient({ session });\n \n// Retrieve user balance\nconst [vacc] = await getVAccounts({ client, actor });\nconsole.log(vacc.balance);\n \n// If there are claimable payments, claim and pay them out.\nconst result = await withdraw({ client, quantity: 42 });
\n","isPage":false,"text":"\n \nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as chain,\n\t// eos as chain,\n\tSession,\n\twithdraw,\n\ttype WithdrawArgs,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \nconst actor = "actor-name";\nconst permission = "permission-level";\n \n// Create a session\nconst session = new Session({\n\tchain,\n\tactor,\n\tpermission,\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \n// Create client and connect session\nconst client = await createClient({ session });\n \n// Retrieve user balance\nconst [vacc] = await getVAccounts({ client, actor });\nconsole.log(vacc.balance);\n \n// If there are claimable payments, claim and pay them out.\nconst result = await withdraw({ client, quantity: 42 });\n","title":"Usage","titles":["withdraw"]},"130":{"href":"/docs/vaccount/withdraw#output","html":"\n
response: {\n  transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n  processed: {\n    id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n    block_num: 137520447,\n    block_time: "2024-05-01T03:55:31.500",\n    producer_block_id: null,\n    receipt: [Object ...],\n    elapsed: 4854,\n    net_usage: 176,\n    scheduled: false,\n    action_traces: [\n      [Object ...]\n    ],\n    account_ram_delta: null,\n    except: null,\n    error_code: null,\n  },\n}
\n","isPage":false,"text":"\nresponse: {\n transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n processed: {\n id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n block_num: 137520447,\n block_time: "2024-05-01T03:55:31.500",\n producer_block_id: null,\n receipt: [Object ...],\n elapsed: 4854,\n net_usage: 176,\n scheduled: false,\n action_traces: [\n [Object ...]\n ],\n account_ram_delta: null,\n except: null,\n error_code: null,\n },\n}\n","title":"Output","titles":["withdraw"]},"131":{"href":"/docs/vaccount/withdraw#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["withdraw"]},"132":{"href":"/docs/vaccount/withdraw#client","html":"\n\n","isPage":false,"text":"\n\nDescription: The client object, must be connected with a Session.\n\n","title":"Client","titles":["withdraw","Parameters"]},"133":{"href":"/docs/vaccount/withdraw#actor","html":"\n\n","isPage":false,"text":"\n\nDescription: The actor name, from which the PendinPayments should be claimed and paid out.\n\n","title":"Actor","titles":["withdraw","Parameters"]},"134":{"href":"/docs/vaccount/withdraw#returns","html":"\n

Type: TransactionResult

\n

Description:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse

","isPage":false,"text":"\nType: TransactionResult\nDescription:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse","title":"Returns","titles":["withdraw"]},"135":{"href":"/docs/tasks/campaigns/create-campaign#createcampaign","html":"\n","isPage":true,"text":"\n","title":"createCampaign","titles":[]},"136":{"href":"/docs/tasks/campaigns/create-campaign#description","html":"\n

This function creates a campaign from a specified client with the given campaign parameters.\nYou can view the campaign on the Effect Network before you start collecting data,\nyou need to add tasks to the campaign. You can do this by following the Adding Tasks guide.

\n","isPage":false,"text":"\nThis function creates a campaign from a specified client with the given campaign parameters.\nYou can view the campaign on the Effect Network before you start collecting data,\nyou need to add tasks to the campaign. You can do this by following the Adding Tasks guide.\n","title":"Description","titles":["createCampaign"]},"137":{"href":"/docs/tasks/campaigns/create-campaign#usage","html":"\n
import { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport { Session, jungle4 as chain, createClient } from "@effectai/sdk";\n \nconst session = new Session({\n\tactor: "your-account",\n\tpermission: "permission-level",\n\tchain,\n\twalletPlugin: new WalletPluginPrivateKey("your-private-key"),\n});\n \nconst client = await createClient({ session });\n// ---cut---\nimport { createCampaign } from "@effectai/sdk";\n \nconst campaign = await createCampaign({\n\tclient,\n\tcampaign: {\n\t\t// Name of your campaign\n\t\ttitle: "My First Campaign!",\n\t\t// Description of the campaign\n\t\tdescription: "Description of the task here.",\n\t\t// Campaign version\n\t\tversion: 1.0,\n\t\t// Maximum time to complete a task in seconds\n\t\tmaxTaskTime: 100,\n\t\t// EFX reward per task\n\t\treward: 3.5,\n\t\t// Custom instructions for completing tasks in this campaign (Markdown supported)\n\t\tinstructions: "Some instructions here",\n\t\t// Template of the campaign see https://docs.effect.ai/docs/templates/introduction\n\t\ttemplate: "<h1>Template here</h1>",\n\t\t// Input schema to validate the task data.\n\t\tinput_schema: null,\n\t\t// TODO::\n\t\toutput_schema: null,\n\t\t// Image URL for the campaign\n\t\timage: "",\n\t\t// Category of the campaign\n\t\tcategory: "",\n\t\t// TODO::\n\t\texample_task: "",\n\t\t// TODO:: Estimated time to complete a task in this campaign\n\t\testimated_time: 10,\n\t},\n});
\n","isPage":false,"text":"\nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport { Session, jungle4 as chain, createClient } from "@effectai/sdk";\n \nconst session = new Session({\n\tactor: "your-account",\n\tpermission: "permission-level",\n\tchain,\n\twalletPlugin: new WalletPluginPrivateKey("your-private-key"),\n});\n \nconst client = await createClient({ session });\n// ---cut---\nimport { createCampaign } from "@effectai/sdk";\n \nconst campaign = await createCampaign({\n\tclient,\n\tcampaign: {\n\t\t// Name of your campaign\n\t\ttitle: "My First Campaign!",\n\t\t// Description of the campaign\n\t\tdescription: "Description of the task here.",\n\t\t// Campaign version\n\t\tversion: 1.0,\n\t\t// Maximum time to complete a task in seconds\n\t\tmaxTaskTime: 100,\n\t\t// EFX reward per task\n\t\treward: 3.5,\n\t\t// Custom instructions for completing tasks in this campaign (Markdown supported)\n\t\tinstructions: "Some instructions here",\n\t\t// Template of the campaign see https://docs.effect.ai/docs/templates/introduction\n\t\ttemplate: "<h1>Template here</h1>",\n\t\t// Input schema to validate the task data.\n\t\tinput_schema: null,\n\t\t// TODO::\n\t\toutput_schema: null,\n\t\t// Image URL for the campaign\n\t\timage: "",\n\t\t// Category of the campaign\n\t\tcategory: "",\n\t\t// TODO::\n\t\texample_task: "",\n\t\t// TODO:: Estimated time to complete a task in this campaign\n\t\testimated_time: 10,\n\t},\n});\n","title":"Usage","titles":["createCampaign"]},"138":{"href":"/docs/tasks/campaigns/create-campaign#output","html":"\n
response: {\n  transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n  processed: {\n    id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n    block_num: 137520447,\n    block_time: "2024-05-01T03:55:31.500",\n    producer_block_id: null,\n    receipt: [Object ...],\n    elapsed: 4854,\n    net_usage: 176,\n    scheduled: false,\n    action_traces: [\n      [Object ...]\n    ],\n    account_ram_delta: null,\n    except: null,\n    error_code: null,\n  },\n}
\n","isPage":false,"text":"\nresponse: {\n transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n processed: {\n id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n block_num: 137520447,\n block_time: "2024-05-01T03:55:31.500",\n producer_block_id: null,\n receipt: [Object ...],\n elapsed: 4854,\n net_usage: 176,\n scheduled: false,\n action_traces: [\n [Object ...]\n ],\n account_ram_delta: null,\n except: null,\n error_code: null,\n },\n}\n","title":"Output","titles":["createCampaign"]},"139":{"href":"/docs/tasks/campaigns/create-campaign#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["createCampaign"]},"140":{"href":"/docs/tasks/campaigns/create-campaign#client","html":"\n\n","isPage":false,"text":"\n\nType: SomeClient\nDescription: The client used to retrieve campaigns.\n\n","title":"client","titles":["createCampaign","Parameters"]},"141":{"href":"/docs/tasks/campaigns/create-campaign#createcampaignargscampaign","html":"\n\n","isPage":false,"text":"\n\nversion: Version number of the campaign\nmaxTaskTime: Time maximum time in seconds for the task\nreward: Reward for each task in EFX\ntitle: Title of the campaign\ndescription: Description of the campaign\ninstructions: Instructions for the campaign\ntemplate: Template for the campaign, which is a string of HTML\ninput_schema: JSON schema for each input task\noutput_schema: JSON schema for each output task\nimage: Image URL for the campaign\ncategory: Category of the campaign\nexample_task: An example_task for the campaign, this should be data that will be input into the campaign\nestimated_time: Estimated time in seconds for the task\n\n","title":"CreateCampaignArgs["campaign"]","titles":["createCampaign","Parameters"]},"142":{"href":"/docs/tasks/campaigns/create-campaign#returns","html":"\n

Type: TransactionResult

\n

Description:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse

","isPage":false,"text":"\nType: TransactionResult\nDescription:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse","title":"Returns","titles":["createCampaign"]},"143":{"href":"/docs/tasks/campaigns/get-campaign-by-id#getcampaignbyid","html":"\n","isPage":true,"text":"\n","title":"getCampaignById","titles":[]},"144":{"href":"/docs/tasks/campaigns/get-campaign-by-id#description","html":"\n

This function retrieves a campaign from a specified client with the given ID.

\n","isPage":false,"text":"\nThis function retrieves a campaign from a specified client with the given ID.\n","title":"Description","titles":["getCampaignById"]},"145":{"href":"/docs/tasks/campaigns/get-campaign-by-id#usage","html":"\n
import {\n\ttype Campaign,\n\ttype CampaignWithInfo,\n\tcreateClient,\n\tgetCampaignById,\n\tjungle4 as network,\n} from "@effectai/sdk";\n \nconst client = await createClient({ network });\nconst campaign = await getCampaignById({ client, id: 1 });\n 
\n","isPage":false,"text":"\nimport {\n\ttype Campaign,\n\ttype CampaignWithInfo,\n\tcreateClient,\n\tgetCampaignById,\n\tjungle4 as network,\n} from "@effectai/sdk";\n \nconst client = await createClient({ network });\nconst campaign = await getCampaignById({ client, id: 1 });\n \n","title":"Usage","titles":["getCampaignById"]},"146":{"href":"/docs/tasks/campaigns/get-campaign-by-id#output","html":"\n
{\n  id: 1,\n  reservations_done: 1,\n  total_submissions: 2,\n  total_tasks: 1,\n  active_batch: 1,\n  num_batches: 1,\n  owner: [ "name", "efxefxefxefx" ],\n  paused: 0,\n  content: {\n    field_0: 0,\n    field_1: "QmVKwq3bYM6cPW6kstpiq4WYckWRtdfJnzAmms2iMyGqQg",\n  },\n  max_task_time: 3600,\n  reward: {\n    quantity: "0.0100 EFX",\n    contract: "efxtoken1112",\n  },\n  qualis: [],\n  info: {\n    version: 1.1,\n    title: "Labelstudio OCR (LAION)",\n    description: "You are contributing to a dataset for conversational style chatbots.",\n    instructions: "Instructions here...",\n    template: "<h2>Template here...</h2>",\n    input_schema: null,\n    output_schema: null,\n    image: null,\n    category: null,\n    example_task: null,\n    estimated_time: null,\n  },\n}
\n","isPage":false,"text":"\n{\n id: 1,\n reservations_done: 1,\n total_submissions: 2,\n total_tasks: 1,\n active_batch: 1,\n num_batches: 1,\n owner: [ "name", "efxefxefxefx" ],\n paused: 0,\n content: {\n field_0: 0,\n field_1: "QmVKwq3bYM6cPW6kstpiq4WYckWRtdfJnzAmms2iMyGqQg",\n },\n max_task_time: 3600,\n reward: {\n quantity: "0.0100 EFX",\n contract: "efxtoken1112",\n },\n qualis: [],\n info: {\n version: 1.1,\n title: "Labelstudio OCR (LAION)",\n description: "You are contributing to a dataset for conversational style chatbots.",\n instructions: "Instructions here...",\n template: "<h2>Template here...</h2>",\n input_schema: null,\n output_schema: null,\n image: null,\n category: null,\n example_task: null,\n estimated_time: null,\n },\n}\n","title":"Output","titles":["getCampaignById"]},"147":{"href":"/docs/tasks/campaigns/get-campaign-by-id#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["getCampaignById"]},"148":{"href":"/docs/tasks/campaigns/get-campaign-by-id#client","html":"\n\n","isPage":false,"text":"\n\nType: SomeClient\nDescription: The client used to retrieve campaigns.\n\n","title":"client","titles":["getCampaignById","Parameters"]},"149":{"href":"/docs/tasks/campaigns/get-campaign-by-id#id","html":"\n\n","isPage":false,"text":"\n\nType: number\nDescription: The campaign id number of the campaign to retrieve.\n\n","title":"id","titles":["getCampaignById","Parameters"]},"150":{"href":"/docs/tasks/campaigns/get-campaign-by-id#returns","html":"\n

Type: Promise<Campaign>

\n

Description: A list of campaigns.

\nProperties:\n","isPage":false,"text":"\nType: Promise<Campaign>\nDescription: A list of campaigns.\nProperties:\n\nid: Campaign ID.\nreservations_done: Number of reservations done for the campaign.\ntotal_submissions: Total number of submissions for the campaign.\ntotal_tasks: Total number of tasks in the campaign.\nactive_batch: Active batch number.\nnum_batches: Total number of batches.\nowner: Owner of the campaign.\npaused: Indicator if the campaign is paused.\ncontent: Campaign content.\nmax_task_time: Maximum task time in seconds.\nreward: Reward information.\nqualis: Qualification information.\ninfo: Additional information retrieved from IPFS.\n","title":"Returns","titles":["getCampaignById"]},"151":{"href":"/docs/tasks/campaigns/get-campaigns#getcampaigns","html":"\n","isPage":true,"text":"\n","title":"getCampaigns","titles":[]},"152":{"href":"/docs/tasks/campaigns/get-campaigns#description","html":"\n

This function retrieves campaigns from a specified client with optional parameters for pagination, sorting, and IPFS fetching.

\n","isPage":false,"text":"\nThis function retrieves campaigns from a specified client with optional parameters for pagination, sorting, and IPFS fetching.\n","title":"Description","titles":["getCampaigns"]},"153":{"href":"/docs/tasks/campaigns/get-campaigns#usage","html":"\n
import { createClient, getCampaigns, jungle4 as network } from "@effectai/sdk";\n \nconst client = await createClient({ network });\nconst campaigns = await getCampaigns({ client });\nconsole.log(campaigns);
\n","isPage":false,"text":"\nimport { createClient, getCampaigns, jungle4 as network } from "@effectai/sdk";\n \nconst client = await createClient({ network });\nconst campaigns = await getCampaigns({ client });\nconsole.log(campaigns);\n","title":"Usage","titles":["getCampaigns"]},"154":{"href":"/docs/tasks/campaigns/get-campaigns#output","html":"\n
{\n rows: [\n   {\n     id: 0,\n     reservations_done: 2,\n     total_submissions: 2,\n     total_tasks: 6,\n     active_batch: 0,\n     num_batches: 2,\n     owner: [ "name", "efxefxefxefx" ],\n     paused: 0,\n     content: [Object ...],\n     max_task_time: 3600,\n     reward: [Object ...],\n     qualis: [],\n     info: [Object ...],\n   }, { */ ... /* }, { */ ... /* }\n ],\n next_key: UInt128 { */ ... /*  },\n more: true,\n}
\n","isPage":false,"text":"\n{\n rows: [\n {\n id: 0,\n reservations_done: 2,\n total_submissions: 2,\n total_tasks: 6,\n active_batch: 0,\n num_batches: 2,\n owner: [ "name", "efxefxefxefx" ],\n paused: 0,\n content: [Object ...],\n max_task_time: 3600,\n reward: [Object ...],\n qualis: [],\n info: [Object ...],\n }, { */ ... /* }, { */ ... /* }\n ],\n next_key: UInt128 { */ ... /* },\n more: true,\n}\n","title":"Output","titles":["getCampaigns"]},"155":{"href":"/docs/tasks/campaigns/get-campaigns#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["getCampaigns"]},"156":{"href":"/docs/tasks/campaigns/get-campaigns#client","html":"\n\n","isPage":false,"text":"\n\nType: SomeClient\nDescription: The client used to retrieve campaigns.\n\n","title":"client","titles":["getCampaigns","Parameters"]},"157":{"href":"/docs/tasks/campaigns/get-campaigns#page","html":"\n\n","isPage":false,"text":"\n\nType: number\nDescription: The page number of the campaigns to retrieve. Default is 1.\n\n","title":"page","titles":["getCampaigns","Parameters"]},"158":{"href":"/docs/tasks/campaigns/get-campaigns#limit","html":"\n\n","isPage":false,"text":"\n\nType: number\nDescription: The maximum number of campaigns to retrieve per page. Default is 20.\n\n","title":"limit","titles":["getCampaigns","Parameters"]},"159":{"href":"/docs/tasks/campaigns/get-campaigns#reverse","html":"\n\n","isPage":false,"text":"\n\nType: boolean\nDescription: Whether to reverse the order of the retrieved campaigns. Default is false.\n\n","title":"reverse","titles":["getCampaigns","Parameters"]},"160":{"href":"/docs/tasks/campaigns/get-campaigns#ipfsfetch","html":"\n\n","isPage":false,"text":"\n\nType: boolean\nDescription: Whether to fetch additional information from IPFS for each campaign. Default is true.\n\n","title":"ipfsFetch","titles":["getCampaigns","Parameters"]},"161":{"href":"/docs/tasks/campaigns/get-campaigns#returns","html":"\n","isPage":false,"text":"\n\nType: Promise<GetTableRowsResponse<UInt128, Campaign>>\nDescription: A list of campaigns.\n\nProperties:\n\nrows: An array of campaigns with the following structure:\n\nid: Campaign ID.\nreservations_done: Number of reservations done for the campaign.\ntotal_submissions: Total number of submissions for the campaign.\ntotal_tasks: Total number of tasks in the campaign.\nactive_batch: Active batch number.\nnum_batches: Total number of batches.\nowner: Owner of the campaign.\npaused: Indicator if the campaign is paused.\ncontent: Campaign content.\nmax_task_time: Maximum task time in seconds.\nreward: Reward information.\nqualis: Qualification information.\ninfo: Additional information retrieved from IPFS if enabled.\n\n\nnext_key: A string that can be used to fetch the next page of campaigns.\nmore: A boolean indicating if there are more campaigns to fetch.\n\n\n","title":"Returns","titles":["getCampaigns"]}},"dirtCount":0,"index":[["9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",{"2":{"82":2,"89":2,"97":2,"122":2,"130":2,"138":2}}],["76",{"2":{"65":1,"78":1}}],["7212",{"2":{"49":1}}],["728378z",{"2":{"44":1}}],["728353z",{"2":{"44":1}}],["702495201535505",{"2":{"44":2}}],["746926z",{"2":{"44":1}}],["869797225186766",{"2":{"44":1}}],["8",{"2":{"44":1,"65":2,"78":2}}],["83",{"2":{"44":1}}],["y",{"2":{"43":2,"44":3}}],["you",{"2":{"9":1,"17":1,"18":5,"19":3,"20":2,"21":1,"23":1,"24":1,"25":1,"30":2,"36":2,"37":1,"38":1,"40":1,"42":3,"43":2,"45":1,"53":1,"55":1,"136":4,"146":1}}],["yourself",{"2":{"40":1}}],["your",{"0":{"17":1,"40":1},"1":{"18":1},"2":{"2":1,"5":1,"9":2,"15":1,"18":4,"19":1,"20":2,"23":1,"36":1,"42":1,"45":3,"64":1,"81":1,"88":1,"121":1,"129":1,"137":3}}],["x",{"2":{"43":2,"44":3}}],["x27",{"0":{"10":1},"2":{"1":4,"2":3,"15":13,"19":2,"20":2,"21":2,"23":1,"31":2,"37":1,"39":3,"40":1,"42":34,"80":1,"87":1,"104":1,"120":1,"128":1}}],["qmvkwq3bym6cpw6kstpiq4wyckwrtdfjnzamms2imygqqg",{"2":{"146":1}}],["qmx6fcaafs9sl9kkkhizumaueaayr4hswp3rhopjzqssg4",{"2":{"42":1}}],["qualification",{"2":{"150":1,"161":1}}],["qualis",{"2":{"146":1,"150":1,"154":1,"161":1}}],["quality",{"2":{"12":1,"13":1,"21":1}}],["quantity",{"2":{"65":4,"78":4,"106":1,"110":1,"129":1,"146":1}}],["question",{"2":{"17":1,"19":3}}],["quick",{"0":{"6":1},"1":{"7":1,"8":1,"9":1},"2":{"23":1}}],["quotes",{"2":{"42":1}}],["quot",{"0":{"141":2},"2":{"1":2,"2":10,"7":4,"8":4,"15":10,"18":26,"19":38,"31":6,"33":10,"37":2,"39":14,"42":70,"43":196,"44":176,"45":26,"48":4,"56":2,"64":14,"65":72,"69":4,"73":4,"78":72,"81":10,"82":6,"88":12,"89":6,"96":4,"97":6,"105":4,"106":8,"113":4,"121":10,"122":6,"129":10,"130":6,"137":26,"138":6,"145":2,"146":18,"153":2,"154":4}}],["zoomcontrol=",{"2":{"42":1}}],["zoom=",{"2":{"42":1}}],["`$",{"2":{"42":4}}],["`",{"2":{"42":6}}],["`eos`",{"2":{"15":1}}],["📚",{"2":{"42":1}}],["42",{"2":{"129":1}}],["4854",{"2":{"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["458911419423693",{"2":{"44":1}}],["49",{"2":{"44":1}}],["443",{"2":{"42":1}}],["4",{"2":{"33":1,"44":3,"64":2}}],["|",{"2":{"28":1,"35":2}}],["know",{"2":{"121":1}}],["known",{"2":{"87":1,"104":1}}],["kit",{"2":{"35":1}}],["kinds",{"2":{"23":1}}],["keys",{"2":{"23":3}}],["key",{"0":{"1":1},"2":{"0":1,"1":1,"15":1,"18":1,"23":3,"35":1,"45":1,"63":1,"64":1,"74":1,"81":1,"88":1,"121":1,"129":1,"137":1,"154":1,"161":1}}],["69",{"2":{"65":1,"78":1}}],["61228406909789",{"2":{"44":1}}],["612284069097889",{"2":{"44":1}}],["600",{"2":{"29":1}}],["6",{"2":{"19":1,"44":2,"154":1}}],["rows",{"2":{"74":1,"154":1,"161":1}}],["rows=",{"2":{"42":1}}],["rotation",{"2":{"43":4,"44":3}}],["robust",{"2":{"20":1}}],["runtimes",{"2":{"30":2}}],["ram",{"2":{"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["random",{"2":{"21":1}}],["radio",{"2":{"19":2}}],["remove",{"2":{"42":1}}],["region",{"2":{"42":1}}],["rendered",{"2":{"38":2,"39":1}}],["renderer",{"2":{"2":2}}],["reverse",{"0":{"159":1},"2":{"159":1}}],["revisions",{"2":{"35":1}}],["revolves",{"2":{"20":1}}],["retrieving",{"0":{"39":1}}],["retrieved",{"2":{"150":1,"159":1,"161":1}}],["retrieves",{"2":{"144":1,"152":1}}],["retrieve",{"2":{"25":1,"47":1,"88":1,"105":1,"113":1,"129":1,"140":1,"148":1,"149":1,"156":1,"157":1,"158":1}}],["returns",{"0":{"53":1,"60":1,"70":1,"74":1,"85":1,"93":1,"102":1,"110":1,"118":1,"126":1,"134":1,"142":1,"150":1,"161":1},"2":{"70":1,"85":1,"93":1,"102":1,"112":1,"126":1,"134":1,"142":1}}],["return",{"2":{"33":1,"35":1,"42":2,"47":1,"53":1,"65":2,"78":2,"87":1,"104":1}}],["rel=",{"2":{"42":1}}],["relationship",{"2":{"23":1}}],["reliable",{"2":{"13":1}}],["recv",{"2":{"65":2,"78":2}}],["recognized",{"2":{"42":1}}],["recomend",{"2":{"24":1}}],["recommended",{"2":{"19":1}}],["recommend",{"2":{"1":1}}],["rectanglelabels",{"2":{"44":6}}],["rectangle",{"2":{"42":1}}],["receipt",{"2":{"35":1,"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["receiver",{"2":{"65":4,"73":3,"78":4}}],["receive",{"2":{"23":1}}],["replace",{"2":{"42":1}}],["replaced",{"2":{"38":2}}],["representing",{"2":{"110":1}}],["represent",{"2":{"23":1,"53":1}}],["repetitions",{"2":{"15":1}}],["repeated",{"2":{"15":1}}],["re",{"2":{"20":1}}],["reused",{"2":{"19":1}}],["request",{"2":{"35":1}}],["requester",{"2":{"17":1,"19":1}}],["requirements",{"2":{"37":1}}],["required=",{"2":{"42":1}}],["required",{"2":{"19":1,"36":1,"39":3,"43":5,"59":1}}],["requires",{"2":{"2":1,"62":1}}],["require",{"2":{"0":1}}],["reservations",{"2":{"146":1,"150":2,"154":1,"161":2}}],["resemblance",{"2":{"19":2}}],["res",{"2":{"42":6}}],["resolve",{"2":{"42":2}}],["resolvedtransaction",{"2":{"35":1}}],["resolvedsigningrequest",{"2":{"35":1}}],["resolved",{"2":{"35":1}}],["resources",{"2":{"42":1}}],["response",{"2":{"35":1,"45":2,"64":1,"65":2,"70":2,"78":2,"82":1,"85":2,"87":1,"89":1,"93":2,"97":1,"102":2,"122":1,"126":2,"130":1,"134":2,"138":1,"142":2}}],["resulting",{"2":{"80":1,"120":1}}],["result",{"0":{"34":1},"1":{"35":1},"2":{"35":1,"39":1,"42":2,"43":2,"44":4,"73":1,"88":2,"96":1,"121":1,"129":1}}],["results",{"0":{"16":1,"39":1},"2":{"39":1}}],["restore",{"2":{"2":1}}],["rewards",{"2":{"84":1}}],["reward",{"2":{"15":2,"17":1,"18":1,"80":3,"120":3,"137":1,"141":2,"146":1,"150":2,"154":1,"161":2}}],["reached",{"2":{"23":1,"80":2,"120":2}}],["react",{"2":{"3":1}}],["read",{"2":{"9":1,"10":1,"30":1,"33":1,"35":1,"53":1,"65":1,"70":1,"85":1,"93":1,"102":1,"126":1,"134":1,"142":1}}],["$image",{"2":{"44":3}}],["$schema",{"2":{"43":1}}],["$ocr",{"2":{"42":1}}],["$",{"2":{"19":2,"38":3,"39":1,"42":4}}],["vtransfer",{"0":{"71":1},"1":{"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1},"2":{"65":2,"73":1,"78":2}}],["versa",{"2":{"62":1}}],["versions",{"2":{"30":2}}],["version",{"2":{"18":1,"44":2,"137":1,"141":2,"146":1}}],["v18",{"2":{"30":1}}],["vibrantcacti",{"2":{"65":2,"78":2}}],["vice",{"2":{"62":1}}],["virtual",{"2":{"25":1,"47":2,"87":2,"104":2}}],["viewed",{"2":{"55":1}}],["view",{"2":{"18":1,"42":2,"136":1}}],["vacc",{"2":{"81":2,"88":1,"105":2,"113":2,"121":2,"129":2}}],["vaccounts",{"2":{"104":1,"105":1,"113":1}}],["vaccountid",{"0":{"100":1,"117":1},"2":{"96":1}}],["vaccountreceiver",{"2":{"73":2}}],["vaccount",{"2":{"25":4,"72":1,"80":1,"87":4,"88":1,"95":3,"96":2,"100":1,"104":3,"110":8,"112":3,"117":1,"118":4,"128":2}}],["various",{"2":{"70":1,"85":1,"93":1,"102":1,"126":1,"134":1,"142":1}}],["variable",{"2":{"19":1}}],["var",{"2":{"42":2}}],["values",{"2":{"42":1}}],["value",{"2":{"19":1,"29":1,"33":1,"43":2,"44":3,"65":2,"78":2}}],["value=",{"2":{"19":2,"42":2}}],["validate",{"2":{"18":1,"137":1}}],["55",{"2":{"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["54",{"2":{"44":1}}],["50",{"2":{"44":1}}],["500",{"2":{"42":1,"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["513742z",{"2":{"44":1}}],["52",{"2":{"44":1}}],["5",{"2":{"18":1,"42":1,"44":1,"65":1,"78":1,"137":1}}],["5jtoxgny5tt7ninfp1mlogviupj9nniwjnu4wkzax4t7pl4kj8s",{"2":{"1":1}}],["0100",{"2":{"146":1}}],["01t03",{"2":{"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["0981",{"2":{"106":1}}],["09t22",{"2":{"44":3}}],["09t21",{"2":{"44":1}}],["05",{"2":{"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["023399935809187228",{"2":{"57":1}}],["08",{"2":{"44":3}}],["03t04",{"2":{"65":3,"78":3}}],["03",{"2":{"44":4}}],["07",{"2":{"43":1,"65":3,"78":3}}],["0001",{"2":{"65":2,"78":2}}],["000",{"2":{"29":1}}],["0",{"2":{"18":1,"30":2,"42":6,"44":4,"57":1,"65":4,"78":4,"81":1,"96":1,"114":2,"137":1,"146":4,"154":3}}],["uint128",{"2":{"74":1,"154":1,"161":1}}],["unlock",{"2":{"112":1}}],["unlocked",{"2":{"112":1}}],["until",{"2":{"80":1,"120":1}}],["unnotified",{"2":{"65":2,"78":2}}],["unpkg",{"2":{"42":2}}],["understand",{"2":{"39":1}}],["understanding",{"2":{"10":1}}],["undefined",{"2":{"35":2}}],["units",{"2":{"33":1}}],["unicove",{"2":{"24":2}}],["utilizing",{"2":{"21":1}}],["url",{"2":{"15":3,"18":1,"19":2,"137":1,"141":1}}],["upload",{"2":{"42":1}}],["uploading",{"2":{"42":1}}],["uploadresult",{"2":{"42":3}}],["updated",{"2":{"44":2}}],["updateorsubmitaction",{"2":{"42":3}}],["update",{"2":{"42":1}}],["upon",{"2":{"12":1}}],["up",{"2":{"10":1,"15":1,"20":1,"64":1}}],["usage",{"0":{"48":1,"56":1,"64":1,"73":1,"81":1,"88":1,"96":1,"105":1,"113":1,"121":1,"129":1,"137":1,"145":1,"153":1},"2":{"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["usdttoefx",{"2":{"64":1,"69":1}}],["usdtbalance",{"2":{"48":1,"53":2}}],["usdt",{"2":{"47":1,"49":1,"55":1,"60":1,"62":1}}],["usually",{"2":{"37":1}}],["us",{"2":{"12":1,"65":1,"78":1}}],["uses",{"2":{"37":1,"45":1}}],["usergenerate",{"2":{"42":1}}],["user",{"2":{"24":1,"42":1,"47":3,"52":1,"53":1,"63":1,"80":2,"84":1,"87":2,"95":1,"104":1,"112":2,"120":2,"128":2,"129":1}}],["users",{"2":{"19":1,"36":1,"72":2,"87":1,"104":1}}],["used",{"2":{"23":1,"25":1,"28":1,"29":1,"30":1,"31":1,"36":1,"43":1,"47":1,"51":1,"53":1,"62":3,"63":3,"67":1,"72":1,"74":1,"80":1,"87":2,"104":2,"120":1,"140":1,"148":1,"156":1,"161":1}}],["use",{"2":{"3":1,"5":1,"9":1,"15":2,"19":1,"20":1,"24":1,"30":1,"38":2,"41":2,"45":1,"47":1}}],["using",{"0":{"8":1},"2":{"1":2,"2":2,"19":1,"24":1,"38":1,"41":1,"52":1,"63":1}}],["hours",{"2":{"44":2}}],["host",{"2":{"42":1}}],["however",{"2":{"12":1}}],["how",{"2":{"9":1,"10":1,"39":2,"41":2}}],["href=",{"2":{"42":1}}],["human",{"2":{"21":1}}],["having",{"2":{"87":1,"104":1}}],["have",{"2":{"10":1,"18":1,"19":1,"23":1,"30":1,"41":1,"44":1,"95":1,"128":1}}],["handle",{"2":{"37":1}}],["hash",{"2":{"35":1,"42":4}}],["has",{"2":{"28":1,"53":2,"112":1}}],["half",{"2":{"19":1}}],["h2",{"2":{"19":2,"39":2,"146":2}}],["hex",{"2":{"65":4,"78":4}}],["height",{"2":{"43":4,"44":3}}],["hello",{"2":{"37":2,"38":1}}],["helpful",{"2":{"121":1}}],["help",{"2":{"36":1,"42":1}}],["header",{"2":{"42":1}}],["head",{"2":{"19":2,"37":1}}],["here",{"2":{"15":3,"18":3,"23":1,"30":1,"33":1,"35":1,"37":1,"39":1,"41":2,"65":1,"70":1,"85":1,"93":1,"102":1,"126":1,"134":1,"137":3,"142":1,"146":2}}],["http",{"2":{"42":1,"43":1}}],["https",{"2":{"15":3,"18":1,"19":1,"23":1,"25":2,"30":1,"33":1,"35":1,"42":5,"44":1,"55":1,"63":1,"87":1,"104":1,"137":1}}],["html5",{"2":{"37":1}}],["html",{"2":{"19":5,"37":3,"39":1,"41":1,"45":1,"141":1}}],["h1",{"2":{"18":2,"19":2,"137":2}}],["highly",{"2":{"19":1}}],["high",{"2":{"12":1,"13":1}}],["d6f9be5af2565060d572a08f6e5f75498ea4c6a3d2cf77e26f3e3ffff4b6e244",{"2":{"65":2,"78":2}}],["dx",{"2":{"44":1}}],["draft",{"2":{"43":1}}],["draw",{"2":{"42":1}}],["duration",{"2":{"29":1}}],["dao",{"2":{"25":1}}],["daoproposals",{"2":{"25":1}}],["dataset",{"2":{"146":1}}],["datasets",{"2":{"13":1}}],["data",{"0":{"20":1,"44":1},"1":{"21":1},"2":{"10":1,"12":3,"13":1,"17":2,"18":2,"19":6,"20":2,"21":2,"29":1,"36":3,"37":4,"38":2,"39":3,"42":3,"43":3,"44":2,"65":6,"78":6,"136":1,"137":1,"141":1}}],["did",{"2":{"80":1,"120":1}}],["direction",{"0":{"69":1},"2":{"69":1}}],["digest",{"2":{"65":2,"78":2}}],["digits",{"2":{"64":1}}],["difference",{"2":{"47":1,"80":1,"120":1}}],["different",{"2":{"19":1,"23":2,"30":1,"31":1,"37":1,"38":1}}],["diagram",{"2":{"23":1}}],["dive",{"2":{"21":1}}],["diverse",{"2":{"13":1}}],["div",{"2":{"19":6,"37":2,"38":2,"41":1,"42":2}}],["discord",{"2":{"42":1}}],["discussed",{"2":{"41":1}}],["dist",{"2":{"42":1}}],["distinguishing",{"2":{"21":1}}],["distinguish",{"2":{"19":1}}],["displaymode=",{"2":{"42":1}}],["displays",{"2":{"37":1}}],["display",{"2":{"36":1,"38":1}}],["displayed",{"2":{"19":1,"37":2}}],["dynamic",{"2":{"19":1,"37":1}}],["document",{"2":{"37":2}}],["documentation",{"2":{"23":1}}],["docs",{"2":{"18":2,"23":2,"33":1,"35":1,"137":2}}],["do",{"2":{"18":1,"39":1,"42":1,"136":1}}],["doors",{"2":{"12":1}}],["done",{"2":{"0":1,"9":1,"15":1,"17":1,"36":1,"38":1,"80":2,"120":2,"121":1,"146":1,"150":2,"154":1,"161":2}}],["delta",{"2":{"65":1,"78":1,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["deltas",{"2":{"65":2,"78":2}}],["decimal",{"2":{"64":1}}],["decentralized",{"2":{"13":1,"20":1}}],["debug",{"2":{"45":1}}],["detection",{"2":{"41":3,"45":1}}],["determine",{"2":{"19":1}}],["described",{"2":{"36":1}}],["description",{"0":{"33":1,"35":1,"47":1,"55":1,"62":1,"72":1,"80":1,"87":1,"95":1,"104":1,"112":1,"120":1,"128":1,"136":1,"144":1,"152":1},"1":{"63":1},"2":{"18":2,"45":1,"51":1,"52":1,"53":1,"59":1,"60":1,"67":1,"68":1,"69":1,"70":1,"74":1,"84":1,"85":1,"91":1,"92":1,"93":1,"99":1,"100":1,"101":1,"102":1,"108":1,"109":1,"110":1,"116":1,"117":1,"118":4,"124":1,"125":1,"126":1,"132":1,"133":1,"134":1,"137":2,"140":1,"141":2,"142":1,"146":1,"148":1,"149":1,"150":1,"156":1,"157":1,"158":1,"159":1,"160":1,"161":1}}],["deno",{"2":{"30":2}}],["defibox",{"2":{"55":1,"60":1}}],["defined",{"2":{"37":1}}],["define",{"2":{"28":1,"38":2,"43":2,"64":2}}],["defines",{"2":{"19":1,"37":1}}],["default",{"2":{"29":1,"30":1,"77":1,"78":1,"157":1,"158":1,"159":1,"160":1}}],["depositargs",{"2":{"96":1}}],["depositing",{"2":{"95":1}}],["deposited",{"2":{"95":1,"100":1,"101":1,"128":1}}],["deposit",{"0":{"94":1},"1":{"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1},"2":{"95":1,"96":1,"128":1}}],["depoloyed",{"2":{"25":1}}],["deployed",{"2":{"25":1}}],["depicts",{"2":{"19":1}}],["depending",{"2":{"9":2,"23":1}}],["democratization",{"2":{"13":1}}],["developing",{"2":{"25":1}}],["developers",{"2":{"13":2}}],["developed",{"2":{"12":1}}],["development",{"0":{"14":1},"2":{"12":1}}],["3600",{"2":{"146":1,"154":1}}],["32",{"2":{"65":1,"78":1}}],["387",{"2":{"65":1,"78":1}}],["31",{"2":{"49":1,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["378332",{"2":{"49":1}}],["3322",{"2":{"49":1}}],["33",{"2":{"44":1,"65":1,"78":1}}],["34",{"2":{"44":1}}],["39",{"2":{"44":2}}],["3",{"0":{"9":1},"2":{"15":3,"18":1,"42":1,"44":1,"65":2,"78":2,"137":1}}],["24",{"2":{"65":2,"78":2,"106":1}}],["20",{"2":{"158":1}}],["207",{"2":{"65":2,"78":2}}],["2024",{"2":{"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["2021",{"2":{"44":4}}],["26",{"2":{"49":1}}],["288",{"2":{"44":1}}],["2",{"0":{"8":1},"2":{"15":1,"44":3,"65":1,"78":1,"106":1,"146":1,"154":3}}],["19",{"2":{"106":1}}],["196109235",{"2":{"65":1,"78":1}}],["196109234",{"2":{"65":1,"78":1}}],["176",{"2":{"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["180000000000000003000000000000000100000000000000044546580000000020420853419afb52000000",{"2":{"65":2,"78":2}}],["18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",{"2":{"65":4,"78":4}}],["15",{"2":{"65":2,"78":2}}],["137520447",{"2":{"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["137868012",{"2":{"65":3,"78":3}}],["13",{"2":{"44":2}}],["11",{"2":{"44":1}}],["128",{"2":{"65":1,"78":1}}],["12",{"2":{"44":1,"65":3,"73":1,"78":3}}],["1630",{"2":{"49":1}}],["16",{"2":{"44":3,"65":1,"78":1}}],["10",{"2":{"18":1,"29":1,"44":2,"77":1,"137":1}}],["1001",{"2":{"44":1}}],["1000",{"2":{"42":1}}],["10000",{"2":{"33":1}}],["100",{"2":{"18":1,"137":1}}],["1",{"0":{"7":1},"2":{"15":3,"18":1,"33":1,"42":7,"44":4,"45":4,"65":3,"78":4,"96":1,"137":1,"145":1,"146":8,"157":1}}],["ls",{"2":{"42":7}}],["llm",{"2":{"21":1}}],["ll",{"2":{"20":1}}],["locked",{"2":{"80":2,"120":2}}],["localstoragecache",{"2":{"31":3}}],["local",{"0":{"14":1}}],["log",{"2":{"42":6,"48":1,"56":1,"88":1,"105":1,"113":1,"129":1,"153":1}}],["look",{"2":{"37":1,"44":1}}],["loaded",{"2":{"19":3,"72":1}}],["load",{"2":{"19":1,"37":1,"42":1}}],["lead",{"2":{"44":1}}],["leading",{"2":{"12":1,"13":1}}],["length",{"2":{"42":2}}],["level",{"2":{"18":1,"64":1,"81":1,"88":1,"121":1,"129":1,"137":1}}],["leveraging",{"2":{"13":1,"20":1}}],["lets",{"2":{"36":1}}],["let",{"2":{"15":1,"21":1,"42":4}}],["laion",{"2":{"146":1}}],["lastname",{"2":{"42":1}}],["layout",{"2":{"37":1}}],["latest",{"2":{"23":1}}],["language",{"2":{"21":1}}],["large",{"2":{"19":1}}],["labeled",{"2":{"44":1}}],["labelstudio",{"2":{"42":3,"146":1}}],["labeling",{"2":{"41":2,"43":1,"45":1}}],["label",{"0":{"41":1},"1":{"42":1,"43":1,"44":1,"45":1},"2":{"17":1,"19":4,"36":1,"41":6,"42":9,"44":1,"45":1}}],["labor",{"2":{"12":1}}],["lack",{"2":{"12":1}}],["limit",{"0":{"77":1,"158":1}}],["list",{"2":{"42":1,"74":1,"150":1,"161":1}}],["library",{"2":{"41":1,"42":1}}],["literals",{"2":{"38":1}}],["line",{"2":{"42":1}}],["lines",{"2":{"4":1}}],["link",{"2":{"42":1,"55":1}}],["linked",{"2":{"23":4}}],["like",{"2":{"10":1,"17":1,"37":1,"38":1,"44":1}}],["lt",{"2":{"2":1,"18":2,"19":33,"37":4,"38":4,"39":4,"42":20,"74":2,"137":2,"146":2,"150":1,"161":2}}],["javascript",{"2":{"37":1,"38":1}}],["java",{"2":{"30":2}}],["jpg",{"2":{"15":3,"44":1}}],["jungle4",{"2":{"7":1,"18":1,"25":2,"48":1,"137":1,"153":1}}],["just",{"2":{"4":1,"21":1,"37":1}}],["json",{"2":{"42":3,"43":1,"45":2,"141":2}}],["jsdelivr",{"2":{"42":1}}],["js",{"2":{"3":1,"30":3,"42":3}}],["ground",{"2":{"44":1}}],["group",{"2":{"23":1}}],["g",{"2":{"42":1}}],["generated",{"2":{"43":1}}],["generally",{"2":{"30":1}}],["getcampaignbyid",{"0":{"143":1},"1":{"144":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":1},"2":{"145":1}}],["getcampaigns",{"0":{"151":1},"1":{"152":1,"153":1,"154":1,"155":1,"156":1,"157":1,"158":1,"159":1,"160":1,"161":1},"2":{"8":1,"153":2}}],["getpendinpayments",{"0":{"111":1},"1":{"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1}}],["getpendingpayments",{"2":{"81":1,"113":1,"121":1}}],["getprice",{"0":{"54":1},"1":{"55":1,"56":1,"57":1,"58":1,"59":1,"60":1},"2":{"56":2}}],["gettablerowsresponse",{"2":{"74":1,"161":1}}],["getting",{"0":{"4":1},"1":{"5":1,"6":1,"7":1,"8":1,"9":1,"10":1}}],["getvaccounts",{"0":{"103":1},"1":{"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1},"2":{"73":1,"81":1,"88":1,"96":1,"105":1,"113":1,"121":1,"129":1}}],["getvaccount",{"2":{"47":1}}],["getbalance",{"0":{"46":1},"1":{"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1},"2":{"48":2,"64":1}}],["get",{"2":{"4":1,"39":3,"55":1}}],["glossary",{"2":{"26":1}}],["global",{"2":{"13":1,"30":1,"65":2,"78":2}}],["given",{"2":{"23":1,"43":1,"112":1,"136":1,"144":1}}],["github",{"2":{"19":1,"21":1}}],["gathering",{"2":{"21":1}}],["gathered",{"2":{"12":1}}],["gateway",{"2":{"19":1}}],["guide",{"2":{"9":1,"18":1,"19":1,"20":1,"36":1,"136":1}}],["gt",{"2":{"2":1,"18":2,"19":33,"37":4,"38":4,"39":4,"42":23,"74":2,"81":1,"137":2,"146":2,"150":1,"161":2}}],["ms",{"2":{"42":2}}],["memo",{"2":{"65":2,"78":2}}],["memorycache",{"2":{"31":3}}],["method",{"2":{"52":1,"53":1}}],["menu",{"2":{"42":1}}],["mentioned",{"2":{"23":1}}],["means",{"2":{"38":1}}],["mechanigms",{"2":{"31":1}}],["mdn",{"2":{"30":1}}],["min",{"2":{"42":1}}],["minutes",{"2":{"29":1}}],["milliseconds",{"2":{"29":1}}],["might",{"2":{"3":1,"9":1}}],["mt",{"2":{"19":1}}],["must",{"2":{"19":2,"23":1,"84":1,"91":1,"99":1,"108":1,"116":1,"124":1,"132":1}}],["muffin",{"2":{"19":9,"21":1}}],["multiple",{"2":{"15":1,"19":1}}],["my",{"2":{"18":1,"137":1}}],["max",{"2":{"146":1,"150":1,"154":1,"161":1}}],["maxtasktime",{"2":{"141":1}}],["maxsubmissions=",{"2":{"42":1}}],["maximum",{"2":{"18":1,"137":1,"141":1,"150":1,"158":1,"161":1}}],["many",{"2":{"21":2}}],["manager",{"2":{"5":1}}],["material",{"2":{"21":1}}],["making",{"2":{"19":1}}],["make",{"2":{"15":1,"67":1}}],["markdown",{"2":{"18":1,"137":1}}],["main",{"2":{"17":1,"37":1,"42":2,"80":1,"120":1}}],["mainnet",{"2":{"15":1,"25":1}}],["moonwalker",{"2":{"44":3}}],["most",{"2":{"24":1}}],["model",{"2":{"21":2,"44":4}}],["models",{"2":{"12":1,"13":1,"20":1}}],["move",{"2":{"10":1,"19":1}}],["moreover",{"2":{"12":1}}],["more",{"2":{"2":1,"10":2,"21":1,"23":1,"30":1,"33":1,"35":1,"53":1,"65":1,"70":1,"74":2,"85":1,"93":1,"102":1,"126":1,"134":1,"142":1,"154":1,"161":2}}],["\twithdraw",{"2":{"129":1}}],["\twalletplugin",{"2":{"15":1,"18":1,"45":1,"64":1,"81":1,"88":1,"121":1,"129":1,"137":1}}],["\tpayout",{"2":{"121":1}}],["\tpermission",{"2":{"15":1,"18":1,"45":1,"64":1,"81":1,"88":1,"121":1,"129":1,"137":1}}],["\tdeposit",{"2":{"96":1}}],["\tdirection",{"2":{"64":1}}],["\tvaccountid",{"2":{"81":1,"113":1,"121":1}}],["\tvtransfer",{"2":{"73":1}}],["\tquantity",{"2":{"73":1}}],["\tto",{"2":{"73":1}}],["\ttype",{"2":{"45":1,"64":1,"81":1,"88":1,"96":1,"121":1,"129":1,"145":2}}],["\tawait",{"2":{"81":1}}],["\tamount",{"2":{"64":1}}],["\tactor",{"2":{"15":1,"18":1,"45":1,"64":1,"73":1,"81":1,"88":1,"121":1,"129":1,"137":1}}],["\tgetcampaignbyid",{"2":{"145":1}}],["\tgetcampaigns",{"2":{"8":1}}],["\tgetpendingpayments",{"2":{"81":1,"113":1,"121":1}}],["\tgetvaccounts",{"2":{"73":1,"81":1,"88":1,"96":1,"105":1,"113":1,"121":1,"129":1}}],["\tgetbalance",{"2":{"64":1}}],["\tswap",{"2":{"64":1}}],["\tsession",{"2":{"15":1,"45":1,"64":1,"81":1,"88":1,"121":1,"129":1}}],["\tbalance",{"2":{"48":3}}],["\tclaim",{"2":{"81":1}}],["\tclient",{"2":{"18":1,"45":1,"64":1,"73":2,"81":1,"113":1,"121":1,"137":1}}],["\tcampaign",{"2":{"18":1,"45":1,"137":1}}],["\tchain",{"2":{"15":1,"18":1,"45":1,"64":1,"81":1,"88":1,"121":1,"129":1,"137":1}}],["\tcreatecampaign",{"2":{"45":1}}],["\tcreateclient",{"2":{"7":2,"8":1,"15":1,"45":1,"64":1,"73":1,"81":1,"88":1,"96":1,"105":1,"113":1,"121":1,"129":1,"145":1}}],["\tcreatevaccount",{"2":{"15":1,"88":1}}],["\teos",{"2":{"7":1,"8":1,"45":1}}],["\tjungle4",{"2":{"7":1,"15":1,"64":1,"73":1,"81":1,"88":1,"96":1,"105":1,"113":1,"121":1,"129":1,"145":1}}],["\t",{"2":{"2":1,"15":1,"18":1,"43":5,"44":10,"45":1,"64":1,"81":1,"88":1,"105":1,"113":1,"121":1,"129":1,"137":1}}],["\t\tqualitications",{"2":{"45":1}}],["\t\testimated",{"2":{"18":1,"45":1,"137":1}}],["\t\texample",{"2":{"18":1,"45":1,"137":1}}],["\t\tcategory",{"2":{"18":1,"45":1,"137":1}}],["\t\timage",{"2":{"18":1,"45":1,"137":1}}],["\t\tinput",{"2":{"18":1,"45":1,"137":1}}],["\t\tinstructions",{"2":{"18":1,"45":1,"137":1}}],["\t\toutput",{"2":{"18":1,"45":1,"137":1}}],["\t\ttemplate",{"2":{"18":1,"45":1,"137":1}}],["\t\ttitle",{"2":{"18":1,"45":1,"137":1}}],["\t\treward",{"2":{"18":1,"45":1,"137":1}}],["\t\tmaxtasktime",{"2":{"18":1,"45":1,"137":1}}],["\t\tversion",{"2":{"18":1,"45":1,"137":1}}],["\t\tdescription",{"2":{"18":1,"45":1,"137":1}}],["\t\t\t\t\t\t\t\t\t\t\t\t",{"2":{"43":1}}],["\t\t\t\t\t\t\t\t\t\t\t",{"2":{"43":8}}],["\t\t\t\t\t\t\t\t\t\t",{"2":{"43":12}}],["\t\t\t\t\t\t\t\t\t",{"2":{"43":10}}],["\t\t\t\t\t\t\t\t",{"2":{"43":21}}],["\t\t\t\t\t\t\t",{"2":{"43":5}}],["\t\t\t\t\t\t",{"2":{"43":4,"44":18}}],["\t\t\t\t\t",{"2":{"43":5,"44":21}}],["\t\t\t\t",{"2":{"43":6,"44":6}}],["\t\t\t\tnew",{"2":{"2":1}}],["\t\t\t",{"2":{"2":1,"43":8,"44":19}}],["\t\t\twalletplugins",{"2":{"2":1}}],["\t\t\tui",{"2":{"2":1}}],["\t\t\tchains",{"2":{"2":1}}],["\t\t\tappname",{"2":{"2":1}}],["\t\t",{"2":{"2":2,"18":13,"43":6,"44":7,"137":13}}],["n",{"0":{"59":1}}],["num",{"2":{"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1,"146":1,"150":1,"154":1,"161":1}}],["number",{"2":{"15":1,"28":1,"43":4,"60":1,"68":1,"70":1,"77":1,"78":1,"85":1,"93":1,"102":1,"118":2,"126":1,"134":1,"141":1,"142":1,"149":2,"150":5,"157":2,"158":2,"161":5}}],["null",{"2":{"18":2,"28":1,"45":1,"65":14,"78":14,"82":4,"89":4,"97":4,"122":4,"130":4,"137":2,"138":4,"146":6}}],["npm",{"2":{"5":2,"42":1}}],["nessesary",{"2":{"95":1,"121":1}}],["net",{"2":{"42":1,"65":2,"78":2,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["network",{"2":{"7":2,"8":1,"13":1,"15":3,"17":1,"18":1,"20":2,"21":2,"25":4,"42":2,"47":1,"48":1,"72":1,"73":2,"87":2,"96":2,"104":2,"105":3,"113":3,"136":1,"145":2,"153":2}}],["next",{"0":{"10":1},"2":{"19":1,"74":2,"87":1,"104":1,"154":1,"161":2}}],["needed",{"2":{"30":1,"55":1}}],["needs",{"2":{"17":1,"20":1,"62":1}}],["need",{"2":{"9":1,"17":1,"18":1,"19":1,"37":2,"38":2,"87":1,"104":1,"136":1}}],["necessary",{"2":{"3":1}}],["newly",{"2":{"15":1}}],["new",{"2":{"1":2,"2":3,"12":1,"15":4,"18":2,"31":3,"42":2,"45":2,"64":2,"81":2,"87":1,"88":2,"121":2,"129":2,"137":2}}],["native",{"2":{"3":1}}],["namely",{"2":{"47":1}}],["name=",{"2":{"19":2,"39":1,"42":3}}],["name",{"2":{"2":1,"15":1,"18":1,"23":2,"38":4,"39":1,"43":4,"44":6,"52":5,"64":1,"65":2,"73":1,"78":2,"81":1,"88":2,"92":1,"96":1,"104":1,"106":1,"109":1,"121":1,"125":1,"129":1,"133":1,"137":1,"146":1,"154":1}}],["nonce",{"2":{"106":1,"110":2}}],["no",{"2":{"15":2,"42":1,"59":1}}],["now",{"2":{"10":1,"18":1,"19":1,"39":1}}],["node",{"2":{"3":1,"30":4}}],["note",{"2":{"21":1,"43":1,"52":1,"53":1,"62":1,"63":1}}],["not",{"2":{"2":1,"30":1,"37":1,"55":1,"121":1}}],["==",{"2":{"42":1}}],["===",{"2":{"42":2}}],["=",{"2":{"1":2,"2":4,"7":2,"8":2,"15":4,"18":3,"31":1,"42":14,"45":7,"48":3,"56":1,"64":7,"73":4,"81":6,"88":7,"96":4,"105":3,"113":4,"121":7,"129":6,"137":3,"145":2,"153":2}}],["false",{"2":{"44":2,"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1,"159":1}}],["failed",{"2":{"42":1}}],["favorite",{"2":{"5":1}}],["free",{"2":{"65":2,"78":2}}],["friendly",{"2":{"24":1}}],["from",{"2":{"1":2,"2":4,"7":2,"8":2,"15":3,"18":3,"19":1,"21":1,"23":2,"31":1,"37":1,"42":1,"43":2,"44":3,"45":2,"48":1,"52":1,"56":1,"62":1,"64":2,"65":2,"72":2,"73":1,"78":2,"81":2,"88":2,"92":1,"95":1,"96":1,"105":1,"109":1,"112":1,"113":1,"121":2,"125":1,"128":1,"129":2,"133":1,"136":1,"137":3,"144":1,"145":1,"150":1,"152":1,"153":1,"160":1,"161":1}}],["final",{"2":{"21":1}}],["find",{"2":{"19":1}}],["fields",{"2":{"39":1,"110":2,"118":1}}],["field",{"2":{"19":1,"39":2,"146":2}}],["filter",{"2":{"42":1}}],["filled",{"2":{"19":1}}],["fill",{"2":{"19":1}}],["file",{"2":{"19":1,"45":3}}],["firstname",{"2":{"42":1}}],["first",{"0":{"17":1},"1":{"18":1},"2":{"10":1,"18":2,"20":1,"31":1,"137":1}}],["funds",{"2":{"80":1,"87":1,"95":3,"100":1,"101":1,"104":1,"120":1,"128":3}}],["function",{"2":{"0":1,"1":1,"42":6,"47":1,"55":2,"59":1,"62":2,"64":1,"80":1,"87":1,"104":1,"112":1,"120":1,"121":1,"136":1,"144":1,"152":1}}],["functions",{"2":{"0":1,"33":1,"35":1}}],["full",{"2":{"19":1}}],["future",{"2":{"12":1}}],["fee",{"2":{"65":2,"78":2}}],["feepool",{"2":{"25":3}}],["few",{"2":{"4":1}}],["fetching",{"2":{"152":1}}],["fetched",{"2":{"52":1}}],["fetchprovideroptions",{"2":{"28":1}}],["fetchprovider",{"0":{"30":1},"2":{"28":1}}],["fetch",{"2":{"3":1,"30":9,"74":2,"160":1,"161":2}}],["folder",{"2":{"21":1}}],["follows",{"2":{"23":1,"33":1,"35":1}}],["follow",{"2":{"19":1}}],["following",{"2":{"10":1,"18":1,"19":1,"23":1,"39":1,"45":1,"55":1,"110":2,"118":1,"136":1,"161":1}}],["found",{"2":{"2":1,"15":2,"42":1,"63":1,"87":1,"104":1}}],["forcedev1234",{"2":{"65":4,"78":4,"105":1,"106":1,"113":1}}],["forceresize",{"2":{"42":1}}],["force",{"2":{"25":1}}],["for=",{"2":{"19":2}}],["format",{"2":{"36":1}}],["form",{"2":{"19":4,"39":1}}],["for",{"0":{"21":1},"2":{"2":1,"15":2,"17":4,"18":2,"19":6,"20":1,"21":4,"23":1,"25":3,"29":1,"30":2,"33":1,"35":1,"37":1,"38":2,"40":1,"41":4,"42":1,"43":1,"45":4,"52":1,"55":1,"59":1,"72":1,"80":1,"87":2,"95":1,"104":1,"112":2,"118":4,"120":1,"121":1,"137":2,"141":9,"146":1,"150":2,"152":1,"160":1,"161":2}}],["wrong",{"2":{"42":1}}],["www",{"2":{"25":1,"55":1,"87":1,"104":1}}],["words",{"2":{"65":1,"78":1}}],["world",{"2":{"37":2,"39":2}}],["worker",{"2":{"39":1}}],["workers",{"2":{"17":3,"19":4,"36":1,"39":1}}],["working",{"2":{"23":1}}],["work",{"2":{"17":1}}],["workforce",{"2":{"13":1}}],["would",{"2":{"37":2,"38":2}}],["wombat",{"2":{"24":1}}],["wooooho",{"2":{"18":1}}],["was",{"2":{"44":1}}],["want",{"2":{"21":2,"38":1,"42":2}}],["way",{"2":{"17":1,"20":1,"38":2}}],["wallets",{"0":{"24":1},"2":{"24":2}}],["walletpluginanchor",{"2":{"2":2}}],["walletplugin",{"0":{"63":1},"2":{"1":1,"63":2}}],["walletpluginprivatekey",{"2":{"1":2,"15":2,"18":2,"45":2,"63":1,"64":2,"81":2,"88":2,"121":2,"129":2,"137":2}}],["wallet",{"0":{"2":1},"2":{"0":1,"1":2,"2":3,"15":2,"18":1,"24":2,"45":1,"47":2,"63":1,"64":1,"81":1,"84":1,"88":1,"121":1,"128":1,"129":1,"137":1}}],["width",{"2":{"43":4,"44":3}}],["window",{"2":{"30":1,"42":4}}],["will",{"2":{"12":2,"19":2,"21":1,"23":1,"33":1,"35":1,"36":3,"38":2,"39":2,"41":3,"43":3,"44":1,"55":1,"80":1,"87":3,"104":2,"120":1,"141":1}}],["withdrawargs",{"2":{"129":1}}],["withdrawn",{"2":{"128":1}}],["withdraw",{"0":{"127":1},"1":{"128":1,"129":1,"130":1,"131":1,"132":1,"133":1,"134":1},"2":{"128":1,"129":1}}],["within",{"2":{"23":2}}],["with",{"2":{"0":1,"3":1,"4":1,"9":1,"13":1,"15":2,"19":1,"23":5,"24":1,"25":1,"33":1,"35":1,"36":3,"37":2,"38":2,"39":2,"42":1,"51":1,"53":1,"62":1,"67":2,"72":2,"84":2,"91":1,"99":1,"104":1,"108":1,"116":1,"124":1,"132":1,"136":1,"144":1,"152":1,"161":1}}],["who",{"2":{"80":1,"120":1}}],["while",{"2":{"31":1}}],["which",{"2":{"15":1,"23":1,"37":1,"52":1,"53":1,"92":1,"109":1,"125":1,"133":1,"141":1}}],["where",{"2":{"80":1,"100":1,"120":1}}],["when",{"2":{"19":2,"38":2,"39":1,"112":1}}],["whether",{"2":{"19":2,"20":1,"159":1,"160":1}}],["why",{"0":{"11":1},"1":{"12":1,"13":1}}],["what",{"0":{"10":1,"37":1},"2":{"37":2,"44":1,"47":1}}],["wharfkit",{"2":{"1":1,"2":5,"9":1,"15":1,"18":1,"33":1,"35":1,"45":1,"63":1,"64":1,"81":1,"88":1,"121":1,"129":1,"137":1}}],["went",{"2":{"42":1}}],["webrenderer",{"2":{"2":4}}],["web",{"2":{"2":2}}],["we",{"2":{"1":1,"10":2,"19":9,"20":1,"24":1,"28":1,"36":2,"37":2,"38":4,"39":4,"41":3}}],["ocr",{"2":{"42":2,"146":1}}],["overview",{"2":{"36":1}}],["older",{"2":{"30":2}}],["optional",{"0":{"77":1,"78":1},"2":{"28":1,"152":1}}],["options",{"0":{"28":1},"2":{"19":1,"28":1}}],["opensource",{"2":{"44":1}}],["open",{"2":{"20":1,"36":1}}],["owner",{"2":{"146":1,"150":2,"154":1,"161":2}}],["own",{"0":{"40":1},"2":{"19":1,"36":1}}],["other",{"2":{"19":1,"21":2,"23":4,"30":1,"63":1}}],["out",{"2":{"21":2,"40":1,"92":1,"109":1,"112":1,"121":1,"125":1,"129":1,"133":1}}],["output",{"0":{"44":1,"49":1,"57":1,"65":1,"82":1,"89":1,"97":1,"106":1,"114":1,"122":1,"130":1,"138":1,"146":1,"154":1},"2":{"19":2,"43":2,"44":1,"141":2,"146":1}}],["our",{"2":{"9":1,"10":1,"15":1,"19":7,"21":2,"42":1}}],["only",{"2":{"84":1}}],["onlabelstudioload",{"2":{"42":1}}],["onupdateannotation",{"2":{"42":1}}],["onsubmitannotation",{"2":{"42":1}}],["on",{"2":{"5":1,"9":3,"10":2,"13":1,"17":1,"18":1,"19":2,"21":1,"23":1,"25":3,"30":2,"33":1,"39":2,"47":1,"72":1,"87":1,"104":1,"120":1,"136":1}}],["one",{"2":{"2":1,"21":1,"23":1,"72":2}}],["offers",{"2":{"20":1}}],["often",{"2":{"12":1}}],["of",{"2":{"4":1,"9":1,"10":1,"12":6,"13":3,"15":2,"17":3,"18":5,"19":5,"20":1,"21":1,"23":4,"24":1,"26":1,"30":3,"31":2,"36":5,"37":2,"38":2,"39":1,"41":2,"42":1,"43":1,"47":8,"52":1,"53":3,"55":1,"60":1,"63":2,"68":1,"69":1,"74":3,"101":1,"110":6,"117":1,"118":6,"137":5,"141":5,"149":1,"150":6,"157":1,"158":1,"159":1,"161":8}}],["ordinal",{"2":{"65":6,"78":6}}],["order",{"2":{"19":1,"23":1,"38":1,"159":1}}],["original",{"2":{"43":4}}],["org",{"2":{"43":1}}],["or",{"2":{"0":1,"17":1,"19":6,"20":1,"21":1,"23":2,"31":2,"55":1,"62":1,"64":1,"69":1,"95":1,"128":1}}],["objects",{"2":{"36":1,"118":4}}],["object",{"2":{"0":1,"30":2,"33":4,"35":4,"41":3,"43":5,"45":1,"51":1,"52":1,"53":5,"62":3,"63":2,"67":1,"70":1,"82":2,"84":1,"85":1,"87":1,"89":2,"91":1,"93":1,"97":2,"99":1,"102":1,"108":1,"110":1,"116":1,"118":1,"122":2,"124":1,"126":1,"130":2,"132":1,"134":1,"138":2,"142":1,"154":3}}],["pendinpayments",{"2":{"92":1,"109":1,"125":1,"133":1}}],["pendingpayments",{"2":{"81":2,"113":2,"114":1,"118":1,"121":1}}],["pending",{"2":{"81":1,"112":2,"118":2,"121":2}}],["period",{"2":{"112":1}}],["perregion=",{"2":{"42":1}}],["person",{"2":{"38":2}}],["perform",{"2":{"36":1,"39":1}}],["performance",{"2":{"13":1}}],["per",{"2":{"18":1,"137":1,"158":1}}],["permissionlevel",{"2":{"35":1}}],["permissions",{"2":{"23":8}}],["permission",{"2":{"15":1,"18":1,"23":3,"45":1,"64":2,"65":2,"78":2,"81":2,"88":2,"121":2,"129":2,"137":1}}],["pk",{"2":{"42":1}}],["p",{"2":{"37":2,"38":2}}],["public",{"2":{"23":1}}],["put",{"2":{"23":1,"112":1}}],["push",{"2":{"23":1}}],["pipeline",{"2":{"21":1}}],["pinata",{"2":{"19":1}}],["piece",{"2":{"17":2}}],["pivotal",{"2":{"12":1}}],["please",{"2":{"21":1,"42":2}}],["platform",{"2":{"72":2}}],["playing",{"2":{"21":1}}],["placeholder=",{"2":{"39":1,"42":1}}],["placeholder",{"2":{"15":3,"19":1,"38":2,"39":2}}],["placeholders",{"0":{"38":1},"2":{"15":1,"19":1,"38":1}}],["plugin",{"0":{"2":1},"2":{"1":2,"2":3,"15":1,"18":1,"45":1,"64":1,"81":1,"88":1,"121":1,"129":1,"137":1}}],["plugins",{"2":{"0":1,"63":2}}],["prebalance",{"2":{"64":1}}],["predictions",{"2":{"42":2,"44":1}}],["preview",{"2":{"40":1}}],["previous",{"2":{"36":1}}],["precision",{"2":{"33":2}}],["practical",{"2":{"21":1}}],["price",{"2":{"55":2,"56":2,"60":1}}],["primary",{"2":{"20":1}}],["privatekey",{"2":{"1":2,"15":1,"18":1,"45":1,"64":1,"81":1,"88":1,"121":1,"129":1,"137":1}}],["private",{"0":{"1":1},"2":{"0":1,"1":1,"15":1,"18":1,"23":4,"45":1,"63":1,"64":1,"81":1,"88":1,"121":1,"129":1,"137":1}}],["producer",{"2":{"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["project",{"2":{"44":1}}],["promise",{"2":{"42":2,"74":1,"150":1,"161":1}}],["provided",{"2":{"104":1}}],["provide",{"2":{"36":1}}],["provider",{"2":{"30":1}}],["property",{"2":{"29":1,"30":1,"31":2}}],["properties",{"2":{"28":1,"43":5,"53":2,"70":1,"74":1,"85":1,"93":1,"102":1,"126":1,"134":1,"142":1,"150":1,"161":1}}],["proposals",{"2":{"25":2}}],["protocol",{"2":{"23":1,"42":1}}],["processed",{"2":{"65":1,"78":1,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["processes",{"2":{"20":1}}],["process",{"2":{"12":1,"13":1,"36":1}}],["problems",{"0":{"12":1}}],["port",{"2":{"42":1}}],["potential",{"2":{"21":1}}],["power",{"2":{"13":1}}],["postmessage",{"2":{"42":1}}],["post",{"2":{"42":1}}],["poses",{"2":{"12":1}}],["possible",{"2":{"2":1}}],["polyfill",{"2":{"3":1}}],["pagination",{"2":{"152":1}}],["page",{"0":{"78":1,"157":1},"2":{"74":1,"157":1,"158":1,"161":1}}],["pages",{"2":{"10":1}}],["paused",{"2":{"146":1,"150":2,"154":1,"161":2}}],["paid",{"2":{"92":1,"109":1,"125":1,"133":1}}],["payments",{"2":{"81":2,"112":2,"118":2,"121":3,"129":1}}],["payoutargs",{"2":{"121":1}}],["payout",{"0":{"119":1},"1":{"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1},"2":{"80":1,"120":1,"121":2}}],["pay",{"2":{"72":1,"87":1,"95":1,"104":1,"112":1,"121":1,"129":1}}],["path",{"2":{"42":1}}],["panel",{"2":{"42":1}}],["parent",{"2":{"42":1}}],["parse",{"2":{"42":2}}],["parameters",{"0":{"50":1,"58":1,"66":1,"75":1,"83":1,"90":1,"98":1,"107":1,"115":1,"123":1,"131":1,"139":1,"147":1,"155":1},"1":{"51":1,"52":1,"59":1,"67":1,"68":1,"69":1,"76":1,"77":1,"78":1,"84":1,"91":1,"92":1,"99":1,"100":1,"101":1,"108":1,"109":1,"116":1,"117":1,"124":1,"125":1,"132":1,"133":1,"140":1,"141":1,"148":1,"149":1,"156":1,"157":1,"158":1,"159":1,"160":1},"2":{"59":1,"136":1,"152":1}}],["parameterize",{"2":{"38":1}}],["parameterizing",{"0":{"38":1}}],["paragraph",{"2":{"37":1}}],["participant",{"2":{"23":2}}],["particular",{"2":{"3":1}}],["passed",{"2":{"28":1,"31":1,"112":1}}],["passing",{"2":{"0":1,"1":1,"9":1}}],["package",{"2":{"5":1,"30":1,"33":1,"35":1}}],["packages",{"2":{"2":1}}],["cpu",{"2":{"65":1,"78":1}}],["cid",{"2":{"42":1}}],["c",{"2":{"42":2}}],["cdn",{"2":{"42":1}}],["css",{"2":{"37":1,"42":2}}],["certain",{"2":{"23":1}}],["chess",{"2":{"21":1}}],["check",{"2":{"21":2,"81":1,"121":2}}],["checks",{"2":{"21":1}}],["checkradio",{"2":{"19":2}}],["chihuahua",{"2":{"19":9,"21":1}}],["chatbots",{"2":{"146":1}}],["charge",{"2":{"13":1}}],["challenge",{"2":{"12":1}}],["chaindefinition",{"2":{"35":1}}],["chain",{"2":{"1":1,"15":1,"18":1,"35":1,"64":2,"81":2,"88":2,"121":2,"129":2,"137":1}}],["current",{"2":{"42":1,"55":1,"60":1}}],["custom",{"2":{"18":1,"37":1,"137":1}}],["cut",{"2":{"8":1,"15":1,"18":1,"137":1}}],["cryptonode42",{"2":{"48":1}}],["crowd",{"2":{"13":1}}],["creator",{"2":{"65":2,"78":2}}],["creates",{"2":{"136":1}}],["createvaccount",{"2":{"88":1}}],["createvaccountargs",{"2":{"88":1}}],["createaccount",{"0":{"86":1},"1":{"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1}}],["createcampaignargs",{"0":{"141":1},"2":{"45":2}}],["createcampaign",{"0":{"135":1},"1":{"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1},"2":{"18":2,"45":1,"137":2}}],["createclient",{"2":{"0":1,"1":3,"2":2,"7":2,"8":1,"15":1,"18":2,"31":2,"45":1,"48":2,"64":1,"73":1,"81":1,"88":1,"96":1,"105":1,"113":1,"121":1,"129":1,"137":2,"145":1,"153":2}}],["createbatch",{"2":{"15":2}}],["created",{"2":{"15":1,"17":1,"18":1,"19":2,"44":4,"52":1,"72":1,"88":1}}],["create",{"0":{"19":1},"2":{"13":1,"15":1,"19":3,"25":1,"36":1,"41":2,"42":3,"45":1,"64":2,"81":2,"87":2,"88":2,"104":1,"105":1,"113":1,"121":2,"129":2}}],["creation",{"2":{"12":1}}],["creating",{"0":{"17":1,"18":1,"40":1},"1":{"18":1},"2":{"10":1,"15":1,"19":2,"36":2,"95":1}}],["claimablepayments",{"2":{"114":1,"118":1}}],["claimable",{"2":{"81":1,"118":2,"121":1,"129":1}}],["claimargs",{"2":{"81":1}}],["claimed",{"2":{"80":1,"92":1,"109":1,"120":1,"125":1,"133":1}}],["claim",{"0":{"79":1},"1":{"80":1,"81":1,"82":1,"83":1,"84":1,"85":1},"2":{"80":2,"81":2,"84":1,"95":1,"112":1,"120":2,"121":1,"128":1,"129":1}}],["class",{"2":{"63":1}}],["classify",{"2":{"19":1}}],["classification",{"2":{"15":1}}],["class=",{"2":{"19":8}}],["closest",{"2":{"65":2,"78":2}}],["closed",{"2":{"12":1}}],["cloud",{"2":{"19":1}}],["clientopts",{"2":{"28":3}}],["client",{"0":{"7":1,"8":1,"28":1,"51":1,"67":1,"76":1,"84":1,"91":1,"99":1,"108":1,"116":1,"124":1,"132":1,"140":1,"148":1,"156":1},"2":{"1":1,"2":1,"7":2,"8":2,"10":1,"15":5,"18":1,"28":1,"31":2,"36":1,"39":1,"42":1,"45":2,"48":2,"51":2,"55":1,"62":2,"64":3,"67":3,"73":1,"76":1,"81":4,"84":1,"88":4,"91":1,"96":3,"99":1,"105":3,"108":1,"113":3,"116":1,"121":4,"124":1,"129":4,"132":1,"136":1,"137":1,"140":1,"144":1,"145":2,"148":1,"152":1,"153":2,"156":1}}],["call",{"2":{"64":1}}],["calling",{"2":{"55":1,"128":1}}],["called",{"2":{"36":1}}],["camapign",{"2":{"45":1}}],["campaignwithinfo",{"2":{"145":1}}],["campaignfile",{"2":{"45":2}}],["campaignid",{"2":{"15":1}}],["campaign",{"0":{"17":1,"18":1,"27":1,"141":1},"1":{"18":1},"2":{"10":1,"15":4,"17":1,"18":13,"19":4,"20":1,"45":4,"74":1,"136":4,"137":10,"141":9,"144":1,"145":2,"149":2,"150":8,"160":1,"161":8}}],["campaigns",{"2":{"8":1,"17":1,"19":1,"36":1,"74":4,"95":1,"140":1,"148":1,"150":1,"152":1,"153":2,"156":1,"157":1,"158":1,"159":1,"161":4}}],["catch",{"2":{"42":2}}],["category",{"2":{"18":1,"45":1,"137":1,"141":2,"146":1}}],["cache",{"2":{"28":1,"29":1,"31":2}}],["cacheimplementation",{"0":{"31":1},"2":{"28":1,"31":2}}],["capabilities",{"2":{"20":1}}],["case",{"2":{"9":1,"19":1,"20":1}}],["cancelled",{"2":{"42":1,"44":1}}],["can",{"2":{"0":1,"10":1,"15":1,"18":2,"19":7,"23":5,"24":1,"25":1,"28":2,"30":2,"31":1,"40":1,"43":1,"45":1,"53":2,"55":1,"63":2,"69":1,"72":2,"74":1,"80":1,"84":1,"112":1,"120":1,"128":1,"136":2,"161":1}}],["correlate",{"2":{"70":1,"85":1,"93":1,"102":1,"126":1,"134":1,"142":1}}],["corresponding",{"2":{"23":1}}],["count",{"2":{"44":1}}],["could",{"2":{"17":1}}],["column",{"2":{"42":1}}],["collect",{"2":{"17":1}}],["collecting",{"0":{"16":1},"2":{"18":1,"136":1}}],["collection",{"0":{"20":1},"1":{"21":1},"2":{"10":1,"15":1,"17":1,"19":1,"20":2,"23":1}}],["collaborative",{"2":{"13":1}}],["com",{"2":{"15":3,"30":1,"33":1,"35":1,"42":2,"44":1,"63":1}}],["components",{"2":{"36":1}}],["compared",{"2":{"23":1}}],["compatible",{"2":{"3":1}}],["compatibility",{"0":{"3":1}}],["completing",{"2":{"18":1,"137":1}}],["completes",{"2":{"112":1}}],["completely",{"2":{"20":1}}],["complete",{"2":{"18":2,"137":2}}],["completed",{"2":{"17":1,"44":1}}],["complicated",{"2":{"2":1}}],["conversational",{"2":{"146":1}}],["convert",{"2":{"53":1}}],["connected",{"2":{"67":1,"84":1,"91":1,"99":1,"108":1,"116":1,"124":1,"132":1}}],["connect",{"2":{"55":1,"64":1,"81":1,"88":1,"105":1,"113":1,"121":1,"129":1}}],["connects",{"2":{"13":1}}],["confirm",{"2":{"42":4}}],["config",{"2":{"42":1}}],["concepts",{"2":{"36":1}}],["conducting",{"2":{"20":1}}],["context",{"2":{"65":2,"78":2}}],["content",{"2":{"19":1,"146":1,"150":2,"154":1,"161":2}}],["contributing",{"2":{"146":1}}],["contribute",{"2":{"21":1}}],["controled",{"2":{"87":1,"104":1}}],["controls",{"2":{"42":1}}],["contracts",{"0":{"25":1},"2":{"25":4,"39":1}}],["contract",{"2":{"23":1,"25":1,"55":1,"65":2,"78":2,"87":1,"104":1,"106":1,"110":2,"146":1}}],["containing",{"2":{"110":2,"118":3}}],["container",{"2":{"41":1,"42":1}}],["contained",{"2":{"23":1,"42":1}}],["contains",{"2":{"19":1,"23":2,"33":1,"35":1,"70":1,"85":1,"93":1,"102":1,"126":1,"134":1,"142":1}}],["contain",{"2":{"15":1,"17":1,"19":1,"33":1,"41":1}}],["contingent",{"2":{"12":1}}],["console",{"2":{"42":8,"45":1,"48":1,"56":1,"65":2,"78":2,"88":1,"105":1,"113":1,"129":1,"153":1}}],["consuming",{"2":{"12":1}}],["constructor",{"2":{"28":1}}],["const",{"2":{"1":2,"2":4,"7":2,"8":2,"15":4,"18":3,"31":1,"42":5,"45":7,"48":3,"56":1,"64":7,"73":4,"81":6,"88":7,"96":4,"105":3,"113":4,"121":7,"129":6,"137":3,"145":2,"153":2}}],["code",{"2":{"4":1,"37":1,"65":5,"78":5,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["tx",{"2":{"88":2}}],["t5sp3tyxpo",{"2":{"44":2}}],["trx",{"2":{"65":2,"78":2}}],["truth",{"2":{"44":1}}],["true",{"2":{"42":6,"154":1,"160":1}}],["try",{"2":{"40":1,"42":1}}],["traces",{"2":{"65":1,"78":1,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["trained",{"2":{"13":1}}],["trainers",{"2":{"13":1}}],["training",{"0":{"21":1},"2":{"12":1,"13":1,"21":1}}],["transferred",{"2":{"80":1,"120":1}}],["transfer",{"2":{"72":2}}],["transact",{"2":{"35":1}}],["transactrevisions",{"2":{"35":1}}],["transactresult",{"2":{"35":1}}],["transactionresponse",{"2":{"65":1,"70":2,"85":1,"93":1,"102":1,"126":1,"134":1,"142":1}}],["transactionresult",{"2":{"35":3,"85":1,"93":1,"102":1,"126":1,"134":1,"142":1}}],["transaction",{"0":{"34":1},"1":{"35":1},"2":{"23":1,"35":3,"65":2,"70":4,"78":1,"82":1,"85":4,"87":1,"89":1,"93":4,"97":1,"102":4,"122":1,"126":4,"130":1,"134":4,"138":1,"142":4}}],["transactions",{"2":{"15":1,"23":2,"62":1,"63":3}}],["transcription",{"2":{"42":1}}],["transcriptions",{"2":{"21":1}}],["transcribe",{"2":{"17":1}}],["transcend",{"2":{"12":1}}],["transparent",{"2":{"13":1,"20":1}}],["transparency",{"2":{"12":1}}],["tags",{"2":{"41":1}}],["tag",{"2":{"37":2,"44":3}}],["table",{"2":{"23":2}}],["target",{"2":{"21":1}}],["taskdata",{"2":{"15":1}}],["task",{"2":{"15":6,"17":2,"18":6,"37":1,"39":1,"41":2,"42":3,"43":1,"44":1,"45":2,"80":3,"112":2,"120":3,"137":6,"141":7,"146":2,"150":2,"154":1,"161":2}}],["tasks",{"0":{"15":1},"2":{"15":4,"17":2,"18":3,"19":4,"25":4,"36":1,"80":1,"95":1,"120":1,"136":2,"137":1,"146":1,"150":2,"154":1,"161":2}}],["tutorial",{"2":{"21":1}}],["type",{"2":{"27":1,"31":1,"43":25,"44":3,"51":1,"52":1,"53":1,"60":1,"67":1,"68":1,"69":1,"70":1,"74":1,"76":1,"77":1,"78":1,"85":1,"93":1,"102":1,"110":1,"118":5,"126":1,"134":1,"140":1,"142":1,"148":1,"149":1,"150":1,"156":1,"157":1,"158":1,"159":1,"160":1,"161":1}}],["types",{"0":{"26":1},"1":{"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1},"2":{"19":1,"26":1}}],["type=",{"2":{"19":3,"39":2}}],["typical",{"2":{"19":1}}],["ticket",{"2":{"42":1}}],["title",{"2":{"19":3,"45":1,"141":2,"146":1}}],["timeout",{"2":{"42":2,"80":2,"120":2}}],["times",{"2":{"15":1}}],["time",{"2":{"12":1,"18":3,"44":1,"45":1,"65":3,"78":3,"80":1,"82":1,"89":1,"97":1,"112":1,"120":1,"122":1,"130":1,"137":3,"138":1,"141":4,"146":2,"150":2,"154":1,"161":2}}],["tethertether",{"2":{"55":1}}],["test",{"2":{"39":2}}],["testnet",{"2":{"25":1}}],["textarea",{"2":{"42":1}}],["text",{"2":{"37":2,"39":3,"42":3,"43":1}}],["terminology",{"0":{"22":1},"1":{"23":1,"24":1,"25":1}}],["templates",{"0":{"38":1,"39":1},"2":{"18":1,"19":2,"40":1,"137":1}}],["template",{"0":{"19":1,"37":1,"40":1,"42":1},"2":{"15":1,"17":1,"18":2,"19":11,"36":5,"37":7,"38":7,"39":3,"40":1,"43":1,"137":2,"141":2,"146":2}}],["technology",{"2":{"12":1}}],["two",{"2":{"2":1}}],["total",{"2":{"118":2,"146":2,"150":5,"154":2,"161":5}}],["totalefxpending",{"2":{"114":1,"118":1}}],["totalefxclaimable",{"2":{"81":1,"114":1,"118":1}}],["tostring",{"2":{"45":3,"48":3,"53":1}}],["toname=",{"2":{"42":2}}],["tool",{"2":{"36":1,"40":1}}],["tokens",{"2":{"33":1,"62":1,"68":1,"72":3,"110":2,"112":1}}],["token",{"2":{"25":3,"55":1,"60":1}}],["tokenpocket",{"2":{"24":1}}],["todo",{"2":{"16":1,"18":3,"137":3}}],["topics",{"2":{"10":1}}],["to",{"2":{"0":1,"1":2,"2":1,"3":1,"5":1,"10":2,"12":1,"13":1,"15":6,"17":4,"18":5,"19":7,"20":1,"21":4,"23":12,"24":1,"28":2,"29":1,"30":2,"31":2,"36":2,"37":5,"38":6,"39":1,"41":6,"42":5,"43":3,"44":3,"45":1,"47":2,"51":1,"52":1,"53":2,"55":2,"60":1,"62":4,"63":3,"64":1,"65":2,"67":1,"68":1,"70":1,"72":4,"74":2,"78":2,"80":2,"85":1,"87":4,"93":1,"95":4,"101":1,"102":1,"104":4,"112":1,"120":2,"121":1,"126":1,"128":3,"134":1,"136":2,"137":3,"140":1,"142":1,"146":1,"148":1,"149":1,"156":1,"157":1,"158":1,"159":1,"160":1,"161":2}}],["thus",{"2":{"112":1}}],["three",{"2":{"28":1,"31":1,"53":1}}],["threshold",{"2":{"23":1}}],["throw",{"2":{"2":1,"15":2}}],["through",{"2":{"1":1,"9":1,"13":1,"15":1,"20":1,"36":1}}],["that",{"2":{"10":1,"12":1,"13":2,"15":1,"17":2,"19":2,"21":1,"23":2,"24":1,"25":3,"28":1,"36":2,"37":7,"38":2,"41":2,"43":3,"47":2,"51":1,"52":2,"53":3,"62":3,"63":2,"67":2,"70":2,"72":1,"74":1,"80":1,"84":1,"85":2,"93":2,"102":2,"120":1,"126":2,"134":2,"141":1,"142":2,"161":1}}],["this",{"2":{"0":1,"2":1,"12":2,"18":3,"19":3,"20":1,"21":3,"29":1,"30":2,"31":1,"33":1,"35":1,"36":2,"37":2,"38":4,"39":1,"43":1,"44":1,"45":4,"47":1,"55":2,"59":1,"62":1,"72":1,"80":1,"87":2,"104":2,"112":1,"120":1,"121":2,"136":2,"137":2,"141":1,"144":1,"152":1}}],["then",{"2":{"39":1,"42":1,"112":1}}],["theeffectdao",{"2":{"25":1}}],["these",{"2":{"25":4,"31":1,"72":1,"128":1}}],["there",{"2":{"24":1,"31":1,"37":1,"47":1,"74":1,"81":1,"121":2,"129":1,"161":1}}],["thereby",{"2":{"13":1}}],["them",{"2":{"19":1,"24":1,"40":1,"81":1,"95":1,"121":1,"128":1,"129":1}}],["they",{"2":{"17":1,"24":1,"36":1}}],["their",{"2":{"13":1,"19":1,"47":1,"84":1,"95":2,"128":2}}],["the",{"0":{"7":1,"8":1},"2":{"0":3,"1":2,"2":1,"3":1,"4":1,"5":2,"9":1,"10":2,"12":5,"13":5,"15":8,"17":8,"18":10,"19":19,"20":3,"21":2,"23":17,"24":1,"25":9,"26":1,"28":4,"29":3,"30":8,"31":4,"33":5,"35":6,"36":11,"37":12,"38":14,"39":12,"40":1,"41":3,"42":2,"43":6,"44":3,"45":1,"47":11,"51":1,"52":5,"53":7,"55":5,"60":2,"62":4,"63":7,"64":3,"65":1,"67":2,"68":1,"69":2,"70":3,"72":2,"74":1,"80":14,"84":3,"85":3,"87":6,"88":1,"91":1,"92":2,"93":3,"95":2,"99":1,"100":2,"101":1,"102":3,"104":6,"105":1,"108":1,"109":2,"110":15,"112":7,"113":1,"116":1,"117":2,"118":9,"120":15,"121":1,"124":1,"125":2,"126":3,"128":3,"132":1,"133":2,"134":3,"136":5,"137":6,"140":1,"141":11,"142":3,"144":1,"148":1,"149":2,"150":5,"156":1,"157":2,"158":1,"159":2,"161":7}}],["bbox",{"2":{"42":1}}],["boolean",{"2":{"74":1,"159":1,"160":1,"161":1}}],["boxes",{"2":{"36":1,"42":1}}],["bounding",{"2":{"36":1,"42":1}}],["body",{"2":{"19":2,"37":2}}],["browser",{"2":{"30":1}}],["browsers",{"2":{"3":1}}],["bulma",{"2":{"42":1}}],["build",{"2":{"42":2}}],["building",{"2":{"20":1}}],["built",{"2":{"37":1}}],["bun",{"2":{"30":1,"45":4}}],["but",{"2":{"23":1,"37":1,"39":2,"121":1}}],["button",{"2":{"19":3,"39":1}}],["blance",{"2":{"47":1}}],["block",{"2":{"65":9,"70":1,"78":9,"82":3,"85":1,"89":3,"93":1,"97":3,"102":1,"122":3,"126":1,"130":3,"134":1,"138":3,"142":1}}],["blockchains",{"2":{"23":2,"24":1}}],["blockchain",{"2":{"0":1,"9":1,"23":2,"33":1,"47":1,"51":1,"62":1,"67":1,"120":1}}],["bloks",{"2":{"25":1,"55":1,"87":1,"104":1}}],["blueprint",{"2":{"19":1,"36":1}}],["balance",{"2":{"47":4,"48":1,"52":1,"53":2,"106":1,"110":2,"129":2}}],["back",{"2":{"39":1}}],["batch",{"2":{"15":7,"146":1,"150":2,"154":1,"161":2}}],["batches",{"2":{"15":2,"95":1,"146":1,"150":2,"154":1,"161":2}}],["basic",{"2":{"10":1,"36":1}}],["bit",{"2":{"2":1}}],["because",{"2":{"30":1}}],["between",{"2":{"19":1,"21":1,"23":1,"47":1,"80":1,"120":1}}],["before",{"2":{"18":1,"19":1,"41":1,"136":1}}],["behind",{"2":{"12":1,"64":1}}],["be",{"2":{"0":1,"3":1,"12":1,"15":2,"17":3,"19":4,"23":8,"28":1,"31":1,"36":2,"37":2,"38":3,"41":2,"43":2,"52":1,"53":1,"55":1,"63":2,"68":1,"69":1,"72":1,"74":1,"80":2,"84":1,"91":1,"92":1,"95":1,"99":1,"100":1,"101":1,"108":1,"109":1,"116":1,"120":2,"124":1,"125":1,"128":1,"132":1,"133":1,"141":2,"161":1}}],["by",{"2":{"0":2,"13":1,"15":1,"17":2,"18":1,"19":1,"30":1,"36":2,"38":1,"39":1,"40":1,"43":1,"44":1,"55":1,"80":1,"87":1,"104":1,"120":1,"128":1,"136":1}}],["illustrates",{"2":{"23":1}}],["io",{"2":{"23":1,"25":2,"55":1,"87":1,"104":1}}],["ipfsfetch",{"0":{"160":1}}],["ipfshttpclient",{"2":{"42":1}}],["ipfscachedurationims",{"0":{"29":1}}],["ipfscachedurationinms",{"2":{"28":1}}],["ipfs",{"2":{"15":3,"19":4,"29":1,"42":8,"150":1,"152":1,"160":1,"161":1}}],["idbcache",{"2":{"31":3}}],["identifies",{"2":{"23":1}}],["id=",{"2":{"19":2,"42":1}}],["id",{"0":{"149":1},"2":{"15":1,"42":10,"43":4,"44":5,"65":11,"70":1,"73":2,"78":11,"81":1,"82":3,"85":1,"89":3,"93":1,"96":1,"97":3,"100":1,"102":1,"106":1,"110":2,"113":1,"117":1,"121":1,"122":3,"126":1,"130":3,"134":1,"138":3,"142":1,"144":1,"145":1,"146":1,"149":1,"150":2,"154":1,"161":2}}],["implementation",{"2":{"31":1}}],["important",{"2":{"21":1,"25":2}}],["import",{"0":{"7":1},"2":{"1":2,"2":4,"7":2,"8":2,"15":3,"18":3,"31":1,"45":2,"48":1,"56":1,"64":2,"73":1,"81":2,"88":2,"96":1,"105":1,"113":1,"121":2,"129":2,"137":3,"145":1,"153":1}}],["img",{"2":{"19":1,"44":3}}],["images",{"2":{"19":1,"21":1,"41":1,"44":1}}],["image3",{"2":{"15":1}}],["image2",{"2":{"15":1}}],["image",{"0":{"21":1},"2":{"15":5,"17":1,"18":1,"19":7,"36":1,"42":7,"43":4,"44":1,"45":1,"137":1,"141":2,"146":1}}],["i",{"2":{"5":3}}],["if",{"2":{"2":1,"15":2,"21":1,"38":1,"42":3,"74":1,"81":2,"121":2,"129":1,"150":1,"161":3}}],["items",{"2":{"43":3}}],["its",{"2":{"20":1,"42":1}}],["it",{"2":{"1":1,"2":1,"3":1,"19":1,"21":1,"30":1,"36":1,"37":1,"42":1,"55":1,"69":1}}],["issue",{"2":{"37":1}}],["is",{"0":{"37":1},"2":{"0":1,"2":1,"3":1,"5":1,"9":1,"12":3,"13":1,"15":1,"17":2,"19":6,"21":1,"23":3,"28":1,"29":2,"30":6,"31":1,"33":1,"35":1,"36":1,"37":10,"38":5,"39":3,"41":1,"44":1,"47":6,"51":1,"52":3,"53":1,"55":2,"62":3,"63":3,"67":2,"80":7,"87":3,"95":1,"104":3,"120":7,"121":1,"141":1,"150":1,"157":1,"158":1,"159":1,"160":1,"161":1}}],["indicator",{"2":{"150":1,"161":1}}],["indicating",{"2":{"74":1,"161":1}}],["individual",{"2":{"23":1}}],["index",{"2":{"42":1,"45":1}}],["initialize",{"2":{"41":1,"42":1,"45":1}}],["info",{"2":{"146":1,"150":1,"154":1,"161":1}}],["information",{"2":{"17":1,"33":2,"150":3,"160":1,"161":3}}],["infrastructure",{"2":{"20":1}}],["include",{"2":{"19":1,"21":1,"42":2}}],["including",{"2":{"3":1}}],["inputschema",{"2":{"45":2}}],["inputting",{"2":{"40":1}}],["inputted",{"2":{"39":1}}],["input",{"0":{"43":1},"2":{"18":1,"19":5,"36":1,"39":6,"43":1,"45":1,"137":1,"141":3,"146":1}}],["instructions",{"2":{"17":1,"18":2,"45":1,"137":2,"141":2,"146":2}}],["instance",{"2":{"63":1}}],["instanlizing",{"2":{"31":1}}],["instantiate",{"0":{"7":1}}],["install",{"2":{"5":1}}],["installation",{"0":{"5":1}}],["integer",{"2":{"43":4}}],["integrate",{"2":{"19":1}}],["interfaces",{"2":{"42":1}}],["interface",{"2":{"28":3,"35":2,"36":1}}],["interact",{"2":{"24":1,"36":1,"51":1,"62":1,"67":1,"72":1}}],["intensive",{"2":{"12":1}}],["introduction",{"0":{"36":1},"1":{"37":1,"38":1,"39":1,"40":1},"2":{"18":1,"137":1}}],["into",{"2":{"12":1,"19":1,"21":1,"39":3,"40":1,"95":2,"112":1,"128":1,"141":1}}],["innovation",{"2":{"12":1}}],["in",{"2":{"0":1,"3":1,"4":1,"13":1,"15":3,"18":3,"19":5,"20":2,"21":1,"23":4,"25":1,"26":1,"30":2,"31":1,"36":4,"37":4,"38":5,"39":2,"42":2,"43":1,"47":4,"55":1,"60":1,"80":2,"95":1,"110":2,"120":2,"121":1,"128":1,"137":3,"141":3,"150":2,"161":2}}],["escrow",{"2":{"80":2,"95":1,"112":1,"120":2,"128":1}}],["estimated",{"2":{"18":1,"137":1,"141":2,"146":1}}],["established",{"2":{"0":1}}],["elapsed",{"2":{"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["else",{"2":{"42":2}}],["editable=",{"2":{"42":1}}],["every",{"2":{"80":1,"112":1,"120":1}}],["event",{"2":{"39":1}}],["evm",{"2":{"23":1}}],["except",{"2":{"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["existing",{"2":{"37":1}}],["explain",{"2":{"36":1}}],["executed",{"2":{"65":1,"78":1}}],["execution",{"2":{"23":1}}],["exectued",{"2":{"23":1}}],["exampletask",{"2":{"45":2}}],["examples",{"2":{"19":1,"21":2}}],["example",{"0":{"41":1,"44":1},"1":{"42":1,"43":1,"44":1,"45":1},"2":{"2":1,"15":3,"17":1,"21":2,"30":1,"33":1,"38":1,"39":2,"41":2,"44":1,"45":1,"141":2,"146":1}}],["employing",{"2":{"21":1}}],["efxefxefxefx",{"2":{"146":1,"154":1}}],["efxtousdt",{"2":{"64":1,"69":1}}],["efxtoken1112",{"2":{"25":1,"65":2,"78":2,"106":1,"146":1}}],["efxbalance",{"2":{"48":1,"53":2}}],["efxstakepool",{"2":{"25":1}}],["efxstake1111",{"2":{"25":1}}],["efxaccount11",{"2":{"25":1,"65":4,"78":4}}],["efxproposals",{"2":{"25":1}}],["efxfeepool11",{"2":{"25":1}}],["efx",{"2":{"18":1,"25":3,"33":1,"47":4,"49":1,"55":1,"60":1,"62":1,"65":2,"72":3,"78":2,"80":1,"87":1,"104":1,"106":1,"110":2,"112":1,"118":2,"120":1,"137":1,"141":1,"146":1}}],["efficiency",{"2":{"12":1}}],["effecttokens",{"2":{"25":1}}],["effecttasks2",{"2":{"25":1}}],["effectai",{"0":{"7":1},"2":{"1":1,"2":1,"5":3,"7":2,"8":2,"15":2,"18":2,"28":1,"31":3,"33":1,"35":1,"36":1,"37":1,"38":1,"39":2,"40":1,"45":1,"48":1,"56":1,"64":1,"73":1,"81":1,"88":1,"96":1,"105":1,"113":1,"121":1,"129":1,"137":2,"145":1,"153":1}}],["effect",{"0":{"11":1},"1":{"12":1,"13":1},"2":{"0":1,"3":1,"13":3,"17":1,"18":2,"20":2,"21":2,"25":4,"26":1,"42":4,"47":1,"72":4,"87":2,"104":2,"136":1,"137":1}}],["etc",{"2":{"17":1}}],["each",{"2":{"15":4,"17":1,"23":3,"37":1,"42":1,"53":1,"141":3,"160":1}}],["enabled",{"2":{"161":1}}],["enables",{"2":{"13":1}}],["engine",{"2":{"36":1,"37":1}}],["enhancing",{"2":{"13":1,"20":1}}],["ensures",{"2":{"13":1}}],["environment",{"2":{"9":1}}],["environments",{"2":{"3":2}}],["era",{"2":{"12":1}}],["error",{"2":{"2":1,"15":2,"42":4,"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["either",{"2":{"0":1,"69":1}}],["eosbalance",{"2":{"48":1,"53":2}}],["eosnation",{"2":{"25":1}}],["eosq",{"2":{"25":1}}],["eos",{"2":{"0":1,"1":2,"2":2,"7":1,"8":1,"9":1,"15":1,"25":1,"45":1,"47":2,"48":2,"49":1,"64":1,"81":1,"87":1,"88":1,"104":1,"105":1,"113":1,"120":1,"121":1,"129":1}}],["snippet",{"2":{"121":1}}],["swapped",{"2":{"68":1}}],["swapargs",{"2":{"64":4}}],["swap",{"0":{"61":1},"1":{"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1},"2":{"62":1,"64":3,"69":1}}],["sh",{"2":{"45":1}}],["sheets",{"2":{"41":1}}],["show",{"2":{"41":1}}],["should",{"2":{"15":2,"19":1,"92":1,"100":1,"109":1,"125":1,"133":1,"141":1}}],["saved",{"2":{"39":1}}],["same",{"2":{"38":1}}],["system",{"2":{"87":1,"104":1}}],["syntax",{"2":{"38":1}}],["synopsis",{"2":{"23":1}}],["symbol",{"2":{"33":2,"53":1}}],["scheduled",{"2":{"65":1,"78":1,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["schema",{"0":{"43":1},"2":{"18":3,"43":3,"45":3,"137":3,"141":4,"146":2}}],["scripts",{"2":{"41":1}}],["script",{"0":{"45":1},"2":{"30":2,"42":6,"45":2}}],["sig",{"2":{"65":2,"78":2}}],["sign",{"2":{"62":1,"63":3}}],["signer",{"2":{"35":1}}],["signature",{"2":{"35":1}}],["signatures",{"2":{"35":1}}],["signingrequest",{"2":{"35":1}}],["significant",{"2":{"12":1}}],["single",{"2":{"42":1}}],["since",{"2":{"30":1}}],["side",{"2":{"42":1}}],["similar",{"2":{"38":1}}],["simplest",{"2":{"37":1}}],["simple",{"2":{"36":1,"37":1}}],["simply",{"2":{"23":1}}],["smart",{"2":{"23":1,"25":1,"39":1,"87":1,"104":1}}],["small",{"2":{"17":1}}],["specified",{"2":{"136":1,"144":1,"152":1}}],["specifications",{"2":{"37":1}}],["specific",{"2":{"21":1,"36":1}}],["space",{"2":{"23":1}}],["src=",{"2":{"19":1,"42":2}}],["store",{"2":{"87":1,"104":1}}],["styling",{"2":{"42":1}}],["stylesheet",{"2":{"42":2}}],["style",{"2":{"41":1,"146":1}}],["studio",{"0":{"41":1},"1":{"42":1,"43":1,"44":1,"45":1},"2":{"36":1,"41":5,"42":8,"44":1,"45":1}}],["strokewidth=",{"2":{"42":1}}],["stringify",{"2":{"42":1}}],["string",{"2":{"35":1,"43":7,"53":1,"69":1,"74":1,"141":1,"161":1}}],["structure",{"2":{"19":2,"37":1,"43":1,"161":1}}],["status",{"2":{"65":1,"78":1}}],["static",{"2":{"42":2}}],["standard",{"2":{"37":1,"39":1}}],["stake",{"2":{"25":2}}],["start",{"0":{"6":1},"1":{"7":1,"8":1,"9":1},"2":{"15":1,"18":1,"136":1}}],["started",{"0":{"4":1},"1":{"5":1,"6":1,"7":1,"8":1,"9":1,"10":1},"2":{"4":1}}],["still",{"2":{"23":1,"37":1}}],["step",{"2":{"19":1}}],["sure",{"2":{"42":1,"67":1}}],["survey",{"2":{"21":1}}],["surveys",{"2":{"20":1}}],["support",{"2":{"20":1}}],["supported",{"2":{"18":1,"137":1}}],["submissions",{"2":{"146":1,"150":2,"154":1,"161":2}}],["submission",{"2":{"39":1,"42":1}}],["submitresults",{"2":{"42":2}}],["submitting",{"0":{"39":1},"2":{"39":1}}],["submit",{"2":{"19":4,"39":5,"42":4}}],["subtitle",{"2":{"19":1}}],["such",{"2":{"12":1,"30":1,"33":1}}],["sent",{"2":{"80":1,"120":1}}],["sentiment",{"2":{"19":1}}],["sequence",{"2":{"65":10,"78":10}}],["services",{"2":{"72":1,"87":1,"104":1}}],["serverside",{"2":{"30":1}}],["serve",{"2":{"21":1}}],["serializeannotation",{"2":{"42":2}}],["selectannotation",{"2":{"42":1}}],["several",{"2":{"23":2,"24":1}}],["section",{"2":{"20":1,"36":2}}],["seconds",{"2":{"18":1,"137":1,"141":2,"150":1,"161":1}}],["see",{"2":{"18":1,"27":1,"28":1,"31":1,"137":1}}],["settimeout",{"2":{"42":1}}],["setting",{"2":{"20":1}}],["setinterval",{"2":{"42":1}}],["set",{"2":{"10":1,"15":1,"29":1,"30":1,"31":1}}],["sessionkit",{"2":{"2":4}}],["session",{"2":{"0":2,"1":5,"2":6,"9":1,"15":7,"18":4,"35":1,"45":3,"55":1,"62":1,"64":5,"67":1,"81":5,"84":1,"88":5,"91":1,"99":1,"105":1,"108":1,"113":1,"116":1,"121":5,"124":1,"129":5,"132":1,"137":4}}],["source",{"2":{"36":1,"37":1,"44":3}}],["so",{"2":{"19":2,"37":2,"39":1,"72":1,"84":1}}],["solution",{"0":{"13":1},"2":{"13":1}}],["sorting",{"2":{"152":1}}],["sort",{"2":{"9":1}}],["someclient",{"2":{"140":1,"148":1,"156":1}}],["something",{"2":{"42":1}}],["some",{"2":{"0":1,"3":1,"9":1,"18":1,"24":1,"33":1,"35":1,"37":1,"41":1,"137":1}}],["s",{"0":{"10":1},"2":{"2":1,"15":1,"21":2,"23":1,"37":1,"39":1,"40":1,"80":1,"87":1,"104":1,"120":1,"128":1}}],["sdkpnpm",{"2":{"5":1}}],["sdkbun",{"2":{"5":1}}],["sdk",{"2":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":3,"7":2,"8":2,"15":2,"18":2,"20":1,"26":1,"31":2,"33":1,"35":1,"45":1,"48":1,"56":1,"64":1,"73":1,"81":1,"88":1,"96":1,"105":1,"113":1,"121":1,"129":1,"137":2,"145":1,"153":1}}],["ago",{"2":{"44":2}}],["against",{"2":{"21":1}}],["after",{"2":{"44":1,"80":1,"120":1}}],["at",{"2":{"44":4,"55":1,"63":1,"87":1,"104":1}}],["attribute",{"2":{"39":1}}],["atomic",{"2":{"23":1}}],["ammount",{"0":{"68":1}}],["amount",{"0":{"101":1},"2":{"33":1,"53":1,"64":1,"68":1,"96":1,"101":1,"110":1,"118":2}}],["amp",{"2":{"12":1,"42":3}}],["abi",{"2":{"65":2,"78":2}}],["ab91isn",{"2":{"44":1}}],["able",{"2":{"38":1,"95":2,"128":1}}],["abailable",{"2":{"31":1}}],["about",{"2":{"30":1,"33":2,"35":1,"53":1,"65":1,"70":1,"85":1,"93":1,"102":1,"126":1,"134":1,"142":1}}],["above",{"2":{"19":1,"23":1}}],["api",{"2":{"30":3}}],["applications",{"2":{"21":1}}],["app",{"2":{"2":1}}],["availalbe",{"2":{"30":1}}],["availability",{"2":{"12":1}}],["available",{"2":{"5":1,"30":5,"47":3}}],["arguments",{"2":{"64":1}}],["array",{"2":{"43":3,"74":1,"118":4,"161":1}}],["around",{"2":{"20":1,"36":1,"42":1}}],["are",{"2":{"13":1,"15":2,"17":2,"19":3,"23":3,"24":3,"25":7,"31":1,"36":1,"42":1,"72":1,"74":1,"80":1,"81":1,"95":1,"112":1,"120":1,"121":2,"128":1,"129":1,"146":1,"161":1}}],["audience",{"2":{"21":1}}],["audio",{"2":{"17":1}}],["auth",{"2":{"65":2,"78":2}}],["authorization",{"2":{"65":2,"78":2}}],["authorized",{"2":{"23":1}}],["authorize",{"2":{"23":1}}],["authorities",{"2":{"23":1}}],["authority",{"2":{"23":2}}],["authenticated",{"2":{"15":1}}],["authenticate",{"2":{"1":1,"2":1,"9":1}}],["authentication",{"0":{"0":1,"9":1},"1":{"1":1,"2":1},"2":{"0":1,"9":2}}],["automated",{"2":{"20":1,"21":1}}],["active",{"2":{"65":2,"78":2,"146":1,"150":2,"154":1,"161":2}}],["action",{"2":{"23":1,"65":7,"72":1,"78":7,"82":1,"89":1,"97":1,"122":1,"128":1,"130":1,"138":1}}],["actions",{"2":{"23":5}}],["act",{"2":{"65":4,"78":4}}],["actual",{"2":{"38":2}}],["actors",{"2":{"23":1}}],["actor",{"0":{"52":1,"92":1,"109":1,"125":1,"133":1},"2":{"15":3,"48":2,"64":3,"65":2,"78":2,"81":3,"88":3,"92":1,"96":2,"104":1,"105":2,"109":1,"113":2,"121":4,"125":1,"129":3,"133":1}}],["across",{"2":{"19":1}}],["according",{"2":{"55":1,"60":1}}],["accounts",{"0":{"23":1},"2":{"23":8,"25":1,"72":2}}],["account",{"2":{"15":1,"18":1,"23":9,"45":1,"47":4,"52":2,"55":1,"65":5,"72":2,"73":1,"78":5,"82":1,"87":4,"88":4,"89":1,"96":1,"97":1,"104":4,"120":1,"122":1,"130":1,"137":1,"138":1}}],["accountability",{"2":{"12":1}}],["accuracy",{"2":{"13":1}}],["async",{"2":{"42":2}}],["asset",{"0":{"32":1},"1":{"33":1},"2":{"33":4,"53":7}}],["associated",{"2":{"23":4,"104":1}}],["assigned",{"2":{"23":1}}],["ask",{"2":{"19":1}}],["as",{"2":{"12":1,"15":2,"18":1,"21":1,"23":2,"24":1,"28":1,"30":1,"33":2,"35":1,"36":1,"41":1,"64":2,"73":1,"81":2,"87":1,"88":2,"96":1,"104":1,"105":2,"113":2,"121":2,"129":2,"137":1,"145":1,"153":1}}],["address",{"2":{"106":1,"110":2}}],["addannotation",{"2":{"42":1}}],["add",{"2":{"18":1,"37":2,"42":1,"136":1}}],["added",{"2":{"15":2}}],["adding",{"0":{"15":1},"2":{"15":2,"18":1,"136":1}}],["additional",{"2":{"2":1,"150":1,"160":1,"161":1}}],["advanced",{"2":{"10":1}}],["alert",{"2":{"42":1}}],["already",{"2":{"30":1,"121":1}}],["always",{"2":{"23":1}}],["allows",{"2":{"36":1,"72":1}}],["allow",{"2":{"23":2,"43":1}}],["all",{"2":{"3":1,"31":1,"42":1}}],["also",{"2":{"2":1,"23":1,"43":1,"62":1,"87":2,"104":2,"121":1}}],["another",{"2":{"72":2}}],["ancestor",{"2":{"65":2,"78":2}}],["anchor",{"2":{"2":2,"24":2}}],["ann",{"2":{"42":5}}],["annotators",{"2":{"43":1,"44":1}}],["annotated",{"2":{"21":1}}],["annotate",{"2":{"21":1}}],["annotationstore",{"2":{"42":4}}],["annotations",{"2":{"42":12,"43":2,"44":1}}],["annotation",{"0":{"21":1},"2":{"36":1}}],["any",{"2":{"31":1,"35":1,"121":1}}],["anatomy",{"2":{"23":1}}],["antelope",{"2":{"23":5,"24":1,"33":1}}],["answers",{"2":{"42":1}}],["answer",{"2":{"17":1}}],["an",{"2":{"17":1,"19":5,"20":1,"23":8,"33":1,"36":2,"37":1,"39":2,"41":2,"47":3,"53":2,"63":1,"74":1,"87":2,"104":2,"110":1,"118":3,"141":1,"161":1}}],["and",{"0":{"7":1,"39":1},"2":{"1":1,"2":2,"3":1,"12":3,"13":3,"15":1,"17":1,"19":4,"21":1,"23":9,"24":1,"25":1,"30":2,"33":2,"35":1,"36":4,"37":3,"39":3,"41":1,"42":2,"43":2,"45":1,"47":2,"53":2,"63":1,"64":1,"70":1,"72":1,"80":1,"81":1,"85":1,"87":2,"88":1,"92":1,"93":1,"95":2,"102":1,"104":1,"105":1,"109":1,"112":2,"113":1,"120":1,"121":2,"125":1,"126":1,"128":1,"129":2,"133":1,"134":1,"142":1,"152":1}}],["await",{"2":{"1":1,"2":2,"7":2,"8":2,"15":2,"18":2,"42":4,"45":1,"48":2,"56":1,"64":3,"73":3,"81":3,"88":3,"96":3,"105":2,"113":3,"121":4,"129":3,"137":2,"145":2,"153":2}}],["a",{"0":{"18":1,"19":1,"37":1,"59":1},"2":{"0":2,"1":2,"2":2,"3":1,"4":1,"9":1,"10":1,"12":4,"13":3,"15":4,"17":6,"18":2,"19":19,"20":2,"21":6,"23":9,"33":1,"35":1,"36":5,"37":7,"38":2,"39":4,"41":2,"42":3,"43":1,"45":1,"47":2,"52":1,"53":2,"55":2,"62":2,"64":1,"67":1,"70":1,"74":3,"80":1,"81":1,"84":1,"85":1,"87":2,"88":1,"91":1,"93":1,"99":1,"102":1,"104":1,"108":1,"110":1,"112":3,"116":1,"120":1,"121":1,"124":1,"126":1,"129":1,"132":1,"134":1,"136":2,"137":2,"141":1,"142":1,"144":2,"146":1,"150":1,"152":1,"161":3}}],["aim",{"2":{"19":1}}],["ai",{"0":{"11":1,"21":1},"1":{"12":1,"13":1},"2":{"0":1,"3":1,"12":2,"13":7,"18":1,"20":1,"21":3,"42":2,"137":1}}]],"serializationVersion":2} +{"documentCount":162,"nextId":162,"documentIds":{"0":"pages/docs/authentication.mdx#authentication","1":"pages/docs/authentication.mdx#private-key","2":"pages/docs/authentication.mdx#wallet-plugin","3":"pages/docs/compatibility.mdx#compatibility","4":"pages/docs/getting-started.mdx#getting-started","5":"pages/docs/getting-started.mdx#installation","6":"pages/docs/getting-started.mdx#quick-start","7":"pages/docs/getting-started.mdx#1-import-and-instantiate-the-effectai-client","8":"pages/docs/getting-started.mdx#2-using-the-client","9":"pages/docs/getting-started.mdx#3-authentication","10":"pages/docs/getting-started.mdx#whats-next-","11":"pages/docs/introduction.mdx#why-effect-ai","12":"pages/docs/introduction.mdx#problems","13":"pages/docs/introduction.mdx#solution","14":"pages/docs/local-development.mdx#local-development","15":"pages/docs/collecting-data/adding-tasks.mdx#adding-tasks","16":"pages/docs/collecting-data/collecting-results.mdx#collecting-results","17":"pages/docs/collecting-data/create-a-campaign.mdx#creating-your-first-campaign","18":"pages/docs/collecting-data/create-a-campaign.mdx#creating-a-campaign","19":"pages/docs/collecting-data/create-a-template.mdx#create-a-template","20":"pages/docs/collecting-data/introduction.mdx#data-collection","21":"pages/docs/collecting-data/introduction.mdx#image-annotation-for-ai-training","22":"pages/docs/glossary/terminology.mdx#terminology","23":"pages/docs/glossary/terminology.mdx#accounts","24":"pages/docs/glossary/terminology.mdx#wallets","25":"pages/docs/glossary/terminology.mdx#contracts","26":"pages/docs/glossary/types.mdx#types","27":"pages/docs/glossary/types.mdx#campaign","28":"pages/docs/glossary/types.mdx#client-options","29":"pages/docs/glossary/types.mdx#ipfscachedurationims","30":"pages/docs/glossary/types.mdx#fetchprovider","31":"pages/docs/glossary/types.mdx#cacheimplementation","32":"pages/docs/glossary/types.mdx#asset","33":"pages/docs/glossary/types.mdx#description","34":"pages/docs/glossary/types.mdx#transaction-result","35":"pages/docs/glossary/types.mdx#description-1","36":"pages/docs/templates/introduction.mdx#introduction","37":"pages/docs/templates/introduction.mdx#what-is-a-template","38":"pages/docs/templates/introduction.mdx#parameterizing-templates-placeholders","39":"pages/docs/templates/introduction.mdx#submitting-templates-and-retrieving-results","40":"pages/docs/templates/introduction.mdx#creating-your-own-template","41":"pages/docs/templates/labelstudio.mdx#label-studio-example","42":"pages/docs/templates/labelstudio.mdx#template","43":"pages/docs/templates/labelstudio.mdx#input-schema","44":"pages/docs/templates/labelstudio.mdx#example-output-data","45":"pages/docs/templates/labelstudio.mdx#script","46":"pages/docs/token/get-balance.mdx#getbalance","47":"pages/docs/token/get-balance.mdx#description","48":"pages/docs/token/get-balance.mdx#usage","49":"pages/docs/token/get-balance.mdx#output","50":"pages/docs/token/get-balance.mdx#parameters","51":"pages/docs/token/get-balance.mdx#client","52":"pages/docs/token/get-balance.mdx#actor","53":"pages/docs/token/get-balance.mdx#returns","54":"pages/docs/token/get-price.mdx#getprice","55":"pages/docs/token/get-price.mdx#description","56":"pages/docs/token/get-price.mdx#usage","57":"pages/docs/token/get-price.mdx#output","58":"pages/docs/token/get-price.mdx#parameters","59":"pages/docs/token/get-price.mdx#na","60":"pages/docs/token/get-price.mdx#returns","61":"pages/docs/token/swap.mdx#swap","62":"pages/docs/token/swap.mdx#description","63":"pages/docs/token/swap.mdx#walletplugin","64":"pages/docs/token/swap.mdx#usage","65":"pages/docs/token/swap.mdx#output","66":"pages/docs/token/swap.mdx#parameters","67":"pages/docs/token/swap.mdx#client","68":"pages/docs/token/swap.mdx#ammount","69":"pages/docs/token/swap.mdx#direction","70":"pages/docs/token/swap.mdx#returns","71":"pages/docs/token/transfer.mdx#vtransfer","72":"pages/docs/token/transfer.mdx#description","73":"pages/docs/token/transfer.mdx#usage","74":"pages/docs/token/transfer.mdx#returns","75":"pages/docs/token/transfer.mdx#parameters","76":"pages/docs/token/transfer.mdx#client","77":"pages/docs/token/transfer.mdx#limit-optional","78":"pages/docs/token/transfer.mdx#page-optional","79":"pages/docs/vaccount/claim.mdx#claim","80":"pages/docs/vaccount/claim.mdx#description","81":"pages/docs/vaccount/claim.mdx#usage","82":"pages/docs/vaccount/claim.mdx#output","83":"pages/docs/vaccount/claim.mdx#parameters","84":"pages/docs/vaccount/claim.mdx#client","85":"pages/docs/vaccount/claim.mdx#returns","86":"pages/docs/vaccount/create-account.mdx#createaccount","87":"pages/docs/vaccount/create-account.mdx#description","88":"pages/docs/vaccount/create-account.mdx#usage","89":"pages/docs/vaccount/create-account.mdx#output","90":"pages/docs/vaccount/create-account.mdx#parameters","91":"pages/docs/vaccount/create-account.mdx#client","92":"pages/docs/vaccount/create-account.mdx#actor","93":"pages/docs/vaccount/create-account.mdx#returns","94":"pages/docs/vaccount/deposit.mdx#deposit","95":"pages/docs/vaccount/deposit.mdx#description","96":"pages/docs/vaccount/deposit.mdx#usage","97":"pages/docs/vaccount/deposit.mdx#output","98":"pages/docs/vaccount/deposit.mdx#parameters","99":"pages/docs/vaccount/deposit.mdx#client","100":"pages/docs/vaccount/deposit.mdx#vaccountid","101":"pages/docs/vaccount/deposit.mdx#amount","102":"pages/docs/vaccount/deposit.mdx#returns","103":"pages/docs/vaccount/get-accounts.mdx#getvaccounts","104":"pages/docs/vaccount/get-accounts.mdx#description","105":"pages/docs/vaccount/get-accounts.mdx#usage","106":"pages/docs/vaccount/get-accounts.mdx#output","107":"pages/docs/vaccount/get-accounts.mdx#parameters","108":"pages/docs/vaccount/get-accounts.mdx#client","109":"pages/docs/vaccount/get-accounts.mdx#actor","110":"pages/docs/vaccount/get-accounts.mdx#returns","111":"pages/docs/vaccount/get-pending-payments.mdx#getpendinpayments","112":"pages/docs/vaccount/get-pending-payments.mdx#description","113":"pages/docs/vaccount/get-pending-payments.mdx#usage","114":"pages/docs/vaccount/get-pending-payments.mdx#output","115":"pages/docs/vaccount/get-pending-payments.mdx#parameters","116":"pages/docs/vaccount/get-pending-payments.mdx#client","117":"pages/docs/vaccount/get-pending-payments.mdx#vaccountid","118":"pages/docs/vaccount/get-pending-payments.mdx#returns","119":"pages/docs/vaccount/payout.mdx#payout","120":"pages/docs/vaccount/payout.mdx#description","121":"pages/docs/vaccount/payout.mdx#usage","122":"pages/docs/vaccount/payout.mdx#output","123":"pages/docs/vaccount/payout.mdx#parameters","124":"pages/docs/vaccount/payout.mdx#client","125":"pages/docs/vaccount/payout.mdx#actor","126":"pages/docs/vaccount/payout.mdx#returns","127":"pages/docs/vaccount/withdraw.mdx#withdraw","128":"pages/docs/vaccount/withdraw.mdx#description","129":"pages/docs/vaccount/withdraw.mdx#usage","130":"pages/docs/vaccount/withdraw.mdx#output","131":"pages/docs/vaccount/withdraw.mdx#parameters","132":"pages/docs/vaccount/withdraw.mdx#client","133":"pages/docs/vaccount/withdraw.mdx#actor","134":"pages/docs/vaccount/withdraw.mdx#returns","135":"pages/docs/tasks/campaigns/create-campaign.mdx#createcampaign","136":"pages/docs/tasks/campaigns/create-campaign.mdx#description","137":"pages/docs/tasks/campaigns/create-campaign.mdx#usage","138":"pages/docs/tasks/campaigns/create-campaign.mdx#output","139":"pages/docs/tasks/campaigns/create-campaign.mdx#parameters","140":"pages/docs/tasks/campaigns/create-campaign.mdx#client","141":"pages/docs/tasks/campaigns/create-campaign.mdx#createcampaignargscampaign","142":"pages/docs/tasks/campaigns/create-campaign.mdx#returns","143":"pages/docs/tasks/campaigns/get-campaign-by-id.mdx#getcampaignbyid","144":"pages/docs/tasks/campaigns/get-campaign-by-id.mdx#description","145":"pages/docs/tasks/campaigns/get-campaign-by-id.mdx#usage","146":"pages/docs/tasks/campaigns/get-campaign-by-id.mdx#output","147":"pages/docs/tasks/campaigns/get-campaign-by-id.mdx#parameters","148":"pages/docs/tasks/campaigns/get-campaign-by-id.mdx#client","149":"pages/docs/tasks/campaigns/get-campaign-by-id.mdx#id","150":"pages/docs/tasks/campaigns/get-campaign-by-id.mdx#returns","151":"pages/docs/tasks/campaigns/get-campaigns.mdx#getcampaigns","152":"pages/docs/tasks/campaigns/get-campaigns.mdx#description","153":"pages/docs/tasks/campaigns/get-campaigns.mdx#usage","154":"pages/docs/tasks/campaigns/get-campaigns.mdx#output","155":"pages/docs/tasks/campaigns/get-campaigns.mdx#parameters","156":"pages/docs/tasks/campaigns/get-campaigns.mdx#client","157":"pages/docs/tasks/campaigns/get-campaigns.mdx#page","158":"pages/docs/tasks/campaigns/get-campaigns.mdx#limit","159":"pages/docs/tasks/campaigns/get-campaigns.mdx#reverse","160":"pages/docs/tasks/campaigns/get-campaigns.mdx#ipfsfetch","161":"pages/docs/tasks/campaigns/get-campaigns.mdx#returns"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,34],"1":[2,2,39],"2":[2,2,68],"3":[1,1,29],"4":[2,1,13],"5":[1,2,20],"6":[2,2,1],"7":[7,4,17],"8":[4,4,19],"9":[2,4,32],"10":[5,2,31],"11":[3,1,1],"12":[1,3,56],"13":[1,3,51],"14":[2,1,1],"15":[2,1,122],"16":[2,1,2],"17":[4,1,56],"18":[3,5,131],"19":[3,1,171],"20":[2,1,57],"21":[5,2,86],"22":[1,1,1],"23":[1,1,121],"24":[1,1,32],"25":[1,1,58],"26":[1,1,8],"27":[1,1,3],"28":[2,1,32],"29":[1,1,21],"30":[1,1,65],"31":[1,1,48],"32":[1,1,1],"33":[1,2,48],"34":[2,1,1],"35":[1,3,57],"36":[1,1,76],"37":[5,1,87],"38":[3,1,60],"39":[5,1,74],"40":[4,1,19],"41":[3,1,44],"42":[1,3,222],"43":[2,3,73],"44":[3,3,109],"45":[1,3,102],"46":[1,1,1],"47":[1,1,39],"48":[1,1,25],"49":[1,1,10],"50":[1,1,1],"51":[1,2,13],"52":[1,2,25],"53":[1,1,42],"54":[1,1,1],"55":[1,1,43],"56":[1,1,13],"57":[1,1,3],"58":[1,1,1],"59":[3,2,8],"60":[1,1,16],"61":[1,1,1],"62":[1,1,30],"63":[1,2,32],"64":[1,1,68],"65":[1,1,105],"66":[1,1,1],"67":[1,2,19],"68":[1,2,11],"69":[1,2,17],"70":[1,1,24],"71":[1,1,1],"72":[1,1,36],"73":[1,1,30],"74":[1,1,34],"75":[1,1,1],"76":[1,2,3],"77":[3,2,5],"78":[3,2,103],"79":[1,1,1],"80":[1,1,48],"81":[1,1,67],"82":[1,1,36],"83":[1,1,1],"84":[1,2,21],"85":[1,1,25],"86":[1,1,1],"87":[1,1,55],"88":[1,1,57],"89":[1,1,36],"90":[1,1,1],"91":[1,2,11],"92":[1,2,15],"93":[1,1,25],"94":[1,1,1],"95":[1,1,30],"96":[1,1,31],"97":[1,1,36],"98":[1,1,1],"99":[1,2,11],"100":[1,2,11],"101":[1,2,9],"102":[1,1,25],"103":[1,1,1],"104":[1,1,57],"105":[1,1,31],"106":[1,1,16],"107":[1,1,1],"108":[1,2,11],"109":[1,2,15],"110":[1,1,25],"111":[1,1,1],"112":[1,1,37],"113":[1,1,37],"114":[1,1,6],"115":[1,1,1],"116":[1,2,11],"117":[1,2,7],"118":[1,1,27],"119":[1,1,1],"120":[1,1,51],"121":[1,1,86],"122":[1,1,36],"123":[1,1,1],"124":[1,2,11],"125":[1,2,15],"126":[1,1,25],"127":[1,1,1],"128":[1,1,32],"129":[1,1,65],"130":[1,1,36],"131":[1,1,1],"132":[1,2,11],"133":[1,2,15],"134":[1,1,25],"135":[1,1,1],"136":[1,1,35],"137":[1,1,108],"138":[1,1,36],"139":[1,1,1],"140":[1,2,10],"141":[4,2,52],"142":[1,1,25],"143":[1,1,1],"144":[1,1,13],"145":[1,1,23],"146":[1,1,66],"147":[1,1,1],"148":[1,2,10],"149":[1,2,11],"150":[1,1,53],"151":[1,1,1],"152":[1,1,18],"153":[1,1,18],"154":[1,1,34],"155":[1,1,1],"156":[1,2,10],"157":[1,2,14],"158":[1,2,15],"159":[1,2,15],"160":[1,2,17],"161":[1,1,77]},"averageFieldLength":[1.3950617283950617,1.4135802469135803,31.34567901234569],"storedFields":{"0":{"href":"/docs/authentication#authentication","html":"\n

Some functions in the Effect AI SDK require authentication with the EOS blockchain. This is done by passing a session object to the createClient function.\nA session can be established by either private key or wallet plugins.

\n","isPage":true,"text":"\nSome functions in the Effect AI SDK require authentication with the EOS blockchain. This is done by passing a session object to the createClient function.\nA session can be established by either private key or wallet plugins.\n","title":"Authentication","titles":[]},"1":{"href":"/docs/authentication#private-key","html":"\n

To authenticate using a private key we recommend using the wallet-plugin-privatekey\nAnd passing it through a session to the createClient function.

\n
import {\n    createClient,\n    eos,\n    Session\n} from "@effectai/sdk";\n \nimport { WalletPluginPrivateKey } from '@wharfkit/wallet-plugin-privatekey'\n \nconst session = new Session({\n    chain: eos,\n    walletPlugin: new WalletPluginPrivateKey(\n        '5Jtoxgny5tT7NiNFp1MLogviuPJ9NniWjnU4wKzaX4t7pL4kJ8s',\n    ),\n})\n \nconst client = await createClient({ session })
\n","isPage":false,"text":"\nTo authenticate using a private key we recommend using the wallet-plugin-privatekey\nAnd passing it through a session to the createClient function.\nimport {\n createClient,\n eos,\n Session\n} from "@effectai/sdk";\n \nimport { WalletPluginPrivateKey } from '@wharfkit/wallet-plugin-privatekey'\n \nconst session = new Session({\n chain: eos,\n walletPlugin: new WalletPluginPrivateKey(\n '5Jtoxgny5tT7NiNFp1MLogviuPJ9NniWjnU4wKzaX4t7pL4kJ8s',\n ),\n})\n \nconst client = await createClient({ session })\n","title":"Private Key","titles":["Authentication",null]},"2":{"href":"/docs/authentication#wallet-plugin","html":"\n

It's also possible to authenticate using a wallet plugin, for example using the wallet-plugin-anchor\nThis one is a bit more complicated and requires two additional packages: @wharfkit/session and @wharfkit/web-renderer

\n
import {\n    createClient,\n    eos,\n} from "@effectai/sdk";\n \nimport { SessionKit } from "@wharfkit/session";\nimport { WebRenderer } from "@wharfkit/web-renderer";\nimport { WalletPluginAnchor } from "@wharfkit/wallet-plugin-anchor";\n \nconst webRenderer = new WebRenderer();\n \nconst sessionKit = new SessionKit(\n\t\t{\n\t\t\tappName: "<YOUR APP NAME>",\n\t\t\tchains: [eos],\n\t\t\tui: webRenderer,\n\t\t\twalletPlugins: [\n\t\t\t\tnew WalletPluginAnchor(),\n\t\t\t],\n\t\t},\n\t)\n \nconst session = await sessionKit.restore();\n \nif(!session) {\n    throw new Error('Session not found')\n}\n \nconst client = await createClient({ session })
","isPage":false,"text":"\nIt's also possible to authenticate using a wallet plugin, for example using the wallet-plugin-anchor\nThis one is a bit more complicated and requires two additional packages: @wharfkit/session and @wharfkit/web-renderer\nimport {\n createClient,\n eos,\n} from "@effectai/sdk";\n \nimport { SessionKit } from "@wharfkit/session";\nimport { WebRenderer } from "@wharfkit/web-renderer";\nimport { WalletPluginAnchor } from "@wharfkit/wallet-plugin-anchor";\n \nconst webRenderer = new WebRenderer();\n \nconst sessionKit = new SessionKit(\n\t\t{\n\t\t\tappName: "<YOUR APP NAME>",\n\t\t\tchains: [eos],\n\t\t\tui: webRenderer,\n\t\t\twalletPlugins: [\n\t\t\t\tnew WalletPluginAnchor(),\n\t\t\t],\n\t\t},\n\t)\n \nconst session = await sessionKit.restore();\n \nif(!session) {\n throw new Error('Session not found')\n}\n \nconst client = await createClient({ session })","title":"Wallet Plugin","titles":["Authentication",null]},"3":{"href":"/docs/compatibility#compatibility","html":"\n

The Effect AI SDK is compatible with all Node.js environments, including browsers and React Native.\nIt might be necessary to use a particular fetch polyfill in some environments.

","isPage":true,"text":"\nThe Effect AI SDK is compatible with all Node.js environments, including browsers and React Native.\nIt might be necessary to use a particular fetch polyfill in some environments.","title":"Compatibility","titles":[]},"4":{"href":"/docs/getting-started#getting-started","html":"
Get started with the SDK in just a few lines of code.
\n","isPage":true,"text":"Get started with the SDK in just a few lines of code.\n","title":"Getting Started","titles":[]},"5":{"href":"/docs/getting-started#installation","html":"\n

Use your favorite package manager to install the SDK.\nThe sdk is available on npm

\n
npm i @effectai/sdk
bun i @effectai/sdk
pnpm i @effectai/sdk
\n","isPage":false,"text":"\nUse your favorite package manager to install the SDK.\nThe sdk is available on npm\nnpm i @effectai/sdkbun i @effectai/sdkpnpm i @effectai/sdk\n","title":"Installation","titles":["Getting Started"]},"6":{"href":"/docs/getting-started#quick-start","html":"\n","isPage":false,"text":"\n","title":"Quick Start","titles":["Getting Started"]},"7":{"href":"/docs/getting-started#1-import-and-instantiate-the-effectai-client","html":"\n
import {\n\tcreateClient,\n\tjungle4\n} from "@effectai/sdk";\n \nconst client = await createClient({ network: jungle4 });
import {\n\tcreateClient,\n\teos\n} from "@effectai/sdk";\n \nconst client = await createClient({ network: eos });
\n","isPage":false,"text":"\nimport {\n\tcreateClient,\n\tjungle4\n} from "@effectai/sdk";\n \nconst client = await createClient({ network: jungle4 });import {\n\tcreateClient,\n\teos\n} from "@effectai/sdk";\n \nconst client = await createClient({ network: eos });\n","title":"1. Import and Instantiate the EffectAI Client","titles":["Getting Started","Quick Start"]},"8":{"href":"/docs/getting-started#2-using-the-client","html":"\n
import {\n\tcreateClient,\n\teos\n} from "@effectai/sdk";\nconst client = await createClient({ network: eos });\n// ---cut---\nimport {\n\tgetCampaigns\n} from "@effectai/sdk";\n \nconst campaigns = await getCampaigns({ client });
\n","isPage":false,"text":"\nimport {\n\tcreateClient,\n\teos\n} from "@effectai/sdk";\nconst client = await createClient({ network: eos });\n// ---cut---\nimport {\n\tgetCampaigns\n} from "@effectai/sdk";\n \nconst campaigns = await getCampaigns({ client });\n","title":"2. Using the client","titles":["Getting Started","Quick Start"]},"9":{"href":"/docs/getting-started#3-authentication","html":"\n

Depending on your use case, you might need some sort of authentication with the EOS blockchain. Authentication is done through passing a Wharfkit Session. Read our guide on how authenticate depending on your environment.

\n","isPage":false,"text":"\nDepending on your use case, you might need some sort of authentication with the EOS blockchain. Authentication is done through passing a Wharfkit Session. Read our guide on how authenticate depending on your environment.\n","title":"3. Authentication","titles":["Getting Started","Quick Start"]},"10":{"href":"/docs/getting-started#whats-next-","html":"\n

Now that we have a basic understanding of how to set up the client, we can move on to more advanced topics, like creating our first data collection campaign.\nRead more on the following pages.

","isPage":false,"text":"\nNow that we have a basic understanding of how to set up the client, we can move on to more advanced topics, like creating our first data collection campaign.\nRead more on the following pages.","title":"What's next ?","titles":["Getting Started"]},"11":{"href":"/docs/introduction#why-effect-ai","html":"\n","isPage":true,"text":"\n","title":"Why Effect AI","titles":[]},"12":{"href":"/docs/introduction#problems","html":"\n

AI will be the pivotal technology of the future that will transcend us into a new era of efficiency and innovation.\nHowever, the development of AI models is contingent upon the availability of high-quality training data.\nThis poses a significant challenge, as the creation of such data is a labor-intensive and time-consuming process.\nMoreover, this data is often gathered & developed behind closed doors, leading to a lack of transparency and accountability.

\n","isPage":false,"text":"\nAI will be the pivotal technology of the future that will transcend us into a new era of efficiency and innovation.\nHowever, the development of AI models is contingent upon the availability of high-quality training data.\nThis poses a significant challenge, as the creation of such data is a labor-intensive and time-consuming process.\nMoreover, this data is often gathered & developed behind closed doors, leading to a lack of transparency and accountability.\n","title":"Problems","titles":["Why Effect AI"]},"13":{"href":"/docs/introduction#solution","html":"\n

The solution is Effect AI, a decentralized network that connects AI developers with a global workforce of AI trainers.\nLeading the charge in the democratization of AI, Effect AI enables developers to create high-quality training data through a transparent and collaborative process.\nBy leveraging the power of the crowd, Effect AI ensures that AI models are trained on diverse and reliable datasets, thereby enhancing their accuracy and performance.

","isPage":false,"text":"\nThe solution is Effect AI, a decentralized network that connects AI developers with a global workforce of AI trainers.\nLeading the charge in the democratization of AI, Effect AI enables developers to create high-quality training data through a transparent and collaborative process.\nBy leveraging the power of the crowd, Effect AI ensures that AI models are trained on diverse and reliable datasets, thereby enhancing their accuracy and performance.","title":"Solution","titles":["Why Effect AI"]},"14":{"href":"/docs/local-development#local-development","html":"","isPage":true,"text":"","title":"Local Development","titles":[]},"15":{"href":"/docs/collecting-data/adding-tasks#adding-tasks","html":"\n

Adding tasks to a campaign is done through adding batches.

\n

Batches are a collection of tasks that are added to a campaign. Each batch can contain multiple tasks.\nLet's start by creating a batch with 3 tasks to our newly created image classification campaign.

\n
import { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as network,\n\t// eos as network , // Use `eos` to use mainnet\n\tSession,\n\tcreateVAccount,\n} from "@effectai/sdk";\n \n// Set up session with wallet and chain\nconst session = new Session({\n\tactor: "account_name_here",\n\tpermission: "permission_here",\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key_here"),\n\tchain: network,\n});\n \n// Create client to make authenticated transactions\nconst client = await createClient({ session });\nif(!client.session) {\n  throw new Error('No session found')\n}\nconst { actor } = client.session\n \nif(!actor) {\n  throw new Error('No actor found')\n}\n//---cut---\nimport { createBatch } from '@effectai/sdk'\n \nconst batch = await createBatch({\n  client,\n  // The campaign id to which the batch should be added\n  campaignId : 1,\n  // The number of times each task in the batch should be repeated\n  repetitions: 1,\n  // The reward for each task in the batch\n  reward: 3,\n  // The template placeholders for each task in the batch\n  taskData : [\n    {\n      ipfs_url: 'https://example.com/image.jpg', //task 1 image placeholder\n    },\n    {\n      ipfs_url: 'https://example.com/image2.jpg', //task 2 image placeholder\n    },\n    {\n      ipfs_url: 'https://example.com/image3.jpg', // task 3 image placeholder\n    }\n  ],\n})\n 
","isPage":true,"text":"\nAdding tasks to a campaign is done through adding batches.\nBatches are a collection of tasks that are added to a campaign. Each batch can contain multiple tasks.\nLet's start by creating a batch with 3 tasks to our newly created image classification campaign.\nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as network,\n\t// eos as network , // Use `eos` to use mainnet\n\tSession,\n\tcreateVAccount,\n} from "@effectai/sdk";\n \n// Set up session with wallet and chain\nconst session = new Session({\n\tactor: "account_name_here",\n\tpermission: "permission_here",\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key_here"),\n\tchain: network,\n});\n \n// Create client to make authenticated transactions\nconst client = await createClient({ session });\nif(!client.session) {\n throw new Error('No session found')\n}\nconst { actor } = client.session\n \nif(!actor) {\n throw new Error('No actor found')\n}\n//---cut---\nimport { createBatch } from '@effectai/sdk'\n \nconst batch = await createBatch({\n client,\n // The campaign id to which the batch should be added\n campaignId : 1,\n // The number of times each task in the batch should be repeated\n repetitions: 1,\n // The reward for each task in the batch\n reward: 3,\n // The template placeholders for each task in the batch\n taskData : [\n {\n ipfs_url: 'https://example.com/image.jpg', //task 1 image placeholder\n },\n {\n ipfs_url: 'https://example.com/image2.jpg', //task 2 image placeholder\n },\n {\n ipfs_url: 'https://example.com/image3.jpg', // task 3 image placeholder\n }\n ],\n})\n ","title":"Adding tasks","titles":[null]},"16":{"href":"/docs/collecting-data/collecting-results#collecting-results","html":"\n

TODO::

","isPage":true,"text":"\nTODO::","title":"Collecting Results","titles":[null]},"17":{"href":"/docs/collecting-data/create-a-campaign#creating-your-first-campaign","html":"\n

Campaigns are the main way to collect data on Effect Network.\nA campaign is a collection of tasks that need to be completed by workers. Each task is a small piece of work that needs to be done. For example, a task could be to label an image, transcribe a piece of audio, or answer a question.\nThey are created by the data requester (you) and contain information like the reward for the workers, the template for the tasks, the instructions for the workers etc.

\n","isPage":true,"text":"\nCampaigns are the main way to collect data on Effect Network.\nA campaign is a collection of tasks that need to be completed by workers. Each task is a small piece of work that needs to be done. For example, a task could be to label an image, transcribe a piece of audio, or answer a question.\nThey are created by the data requester (you) and contain information like the reward for the workers, the template for the tasks, the instructions for the workers etc.\n","title":"Creating Your First Campaign","titles":[null]},"18":{"href":"/docs/collecting-data/create-a-campaign#creating-a-campaign","html":"\n
import { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport { Session, jungle4 as chain, createClient } from "@effectai/sdk";\n \nconst session = new Session({\n\tactor: "your-account",\n\tpermission: "permission-level",\n\tchain,\n\twalletPlugin: new WalletPluginPrivateKey("your-private-key"),\n});\n \nconst client = await createClient({ session });\n// ---cut---\nimport { createCampaign } from "@effectai/sdk";\n \nconst campaign = await createCampaign({\n\tclient,\n\tcampaign: {\n\t\t// Name of your campaign\n\t\ttitle: "My First Campaign!",\n\t\t// Description of the campaign\n\t\tdescription: "Description of the task here.",\n\t\t// Campaign version\n\t\tversion: 1.0,\n\t\t// Maximum time to complete a task in seconds\n\t\tmaxTaskTime: 100,\n\t\t// EFX reward per task\n\t\treward: 3.5,\n\t\t// Custom instructions for completing tasks in this campaign (Markdown supported)\n\t\tinstructions: "Some instructions here",\n\t\t// Template of the campaign see https://docs.effect.ai/docs/templates/introduction\n\t\ttemplate: "<h1>Template here</h1>",\n\t\t// Input schema to validate the task data.\n\t\tinput_schema: null,\n\t\t// TODO::\n\t\toutput_schema: null,\n\t\t// Image URL for the campaign\n\t\timage: "",\n\t\t// Category of the campaign\n\t\tcategory: "",\n\t\t// TODO::\n\t\texample_task: "",\n\t\t// TODO:: Estimated time to complete a task in this campaign\n\t\testimated_time: 10,\n\t},\n});\n 
\n

Wooooho! You have created your first campaign. You can now view the campaign on the Effect Network before you start collecting data, you need to add tasks to the campaign. You can do this by following the Adding Tasks guide.

","isPage":false,"text":"\nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport { Session, jungle4 as chain, createClient } from "@effectai/sdk";\n \nconst session = new Session({\n\tactor: "your-account",\n\tpermission: "permission-level",\n\tchain,\n\twalletPlugin: new WalletPluginPrivateKey("your-private-key"),\n});\n \nconst client = await createClient({ session });\n// ---cut---\nimport { createCampaign } from "@effectai/sdk";\n \nconst campaign = await createCampaign({\n\tclient,\n\tcampaign: {\n\t\t// Name of your campaign\n\t\ttitle: "My First Campaign!",\n\t\t// Description of the campaign\n\t\tdescription: "Description of the task here.",\n\t\t// Campaign version\n\t\tversion: 1.0,\n\t\t// Maximum time to complete a task in seconds\n\t\tmaxTaskTime: 100,\n\t\t// EFX reward per task\n\t\treward: 3.5,\n\t\t// Custom instructions for completing tasks in this campaign (Markdown supported)\n\t\tinstructions: "Some instructions here",\n\t\t// Template of the campaign see https://docs.effect.ai/docs/templates/introduction\n\t\ttemplate: "<h1>Template here</h1>",\n\t\t// Input schema to validate the task data.\n\t\tinput_schema: null,\n\t\t// TODO::\n\t\toutput_schema: null,\n\t\t// Image URL for the campaign\n\t\timage: "",\n\t\t// Category of the campaign\n\t\tcategory: "",\n\t\t// TODO::\n\t\texample_task: "",\n\t\t// TODO:: Estimated time to complete a task in this campaign\n\t\testimated_time: 10,\n\t},\n});\n \nWooooho! You have created your first campaign. You can now view the campaign on the Effect Network before you start collecting data, you need to add tasks to the campaign. You can do this by following the Adding Tasks guide.","title":"Creating a campaign","titles":[null,"Creating Your First Campaign"]},"19":{"href":"/docs/collecting-data/create-a-template#create-a-template","html":"\n

Before we can create a data collection campaign, we need to create a template.

\n

A template is a blueprint for the tasks in a campaign. It defines the structure of the tasks, the input and output data.\nTemplates are created by the data requester (you) and can be reused across multiple campaigns.

\n

A typical template will be a HTML file that contains the structure of the tasks. The template can contain placeholders for the input data, output data, and other dynamic content.\nIn this case, we aim to determine whether an image depicts a Chihuahua or a muffin.\nOur template should include the following:

\n\n
<html>\n  <head>\n    <title>Chihuahua or Muffin</title>\n  </head>\n  <body>\n    <form>\n        <div class="classify-image">\n            <h1 class="title">Chihuahua or Muffin ?</h1>\n              <!-- The image loaded from IPFS using a template variable -->\n            <img src='https://gateway.pinata.cloud/ipfs/${ipfs_url}'/>\n        </div>\n        <div class="question question-sentiment">\n              <!-- Our question to ask the workers-->\n            <h2 class="subtitle">Is this an image of a Chihuahua or a Muffin?</h2>\n \n              <!-- Input options for the workers-->\n            <div class="field">\n                <input class="is-checkradio" id="chihuahua" value="chihuahua" type="radio" name="resemblance" required>\n                <label for="full">Chihuahua</label>\n                <input class="is-checkradio" id="muffin" value="muffin" type="radio" name="resemblance">\n                <label for="half">Muffin</label>\n            </div>\n        </div>\n \n        <!-- Submit button so workers can submit their data -->\n        <button type="submit" class="is-large mt-6">Submit</button>\n      </form>\n  </body>\n</html>
\n

In the above template, we are making use of a placeholder ${ipfs_url}\nThis value will be filled with our images when we create the tasks.

\n

You can find examples for different types of templates on our github\nWe highly recommended to follow the template guide when you are creating your own template.

\n

Now that we have created a template for our campaign, we can move on to the next step: Creating a Campaign

","isPage":true,"text":"\nBefore we can create a data collection campaign, we need to create a template.\nA template is a blueprint for the tasks in a campaign. It defines the structure of the tasks, the input and output data.\nTemplates are created by the data requester (you) and can be reused across multiple campaigns.\nA typical template will be a HTML file that contains the structure of the tasks. The template can contain placeholders for the input data, output data, and other dynamic content.\nIn this case, we aim to determine whether an image depicts a Chihuahua or a muffin.\nOur template should include the following:\n\nLoad an Image: In order for our workers to distinguish between a Chihuahua or a Muffin, an image must be loaded and displayed to them.\nHTML Form: We must integrate an HTML form into the template so our users can fill in whether the loaded image is a Chihuahua or a Muffin.\n\n<html>\n <head>\n <title>Chihuahua or Muffin</title>\n </head>\n <body>\n <form>\n <div class="classify-image">\n <h1 class="title">Chihuahua or Muffin ?</h1>\n <!-- The image loaded from IPFS using a template variable -->\n <img src='https://gateway.pinata.cloud/ipfs/${ipfs_url}'/>\n </div>\n <div class="question question-sentiment">\n <!-- Our question to ask the workers-->\n <h2 class="subtitle">Is this an image of a Chihuahua or a Muffin?</h2>\n \n <!-- Input options for the workers-->\n <div class="field">\n <input class="is-checkradio" id="chihuahua" value="chihuahua" type="radio" name="resemblance" required>\n <label for="full">Chihuahua</label>\n <input class="is-checkradio" id="muffin" value="muffin" type="radio" name="resemblance">\n <label for="half">Muffin</label>\n </div>\n </div>\n \n <!-- Submit button so workers can submit their data -->\n <button type="submit" class="is-large mt-6">Submit</button>\n </form>\n </body>\n</html>\nIn the above template, we are making use of a placeholder ${ipfs_url}\nThis value will be filled with our images when we create the tasks.\nYou can find examples for different types of templates on our github\nWe highly recommended to follow the template guide when you are creating your own template.\nNow that we have created a template for our campaign, we can move on to the next step: Creating a Campaign","title":"Create a Template","titles":[]},"20":{"href":"/docs/collecting-data/introduction#data-collection","html":"\n

The primary use case of the Effect Network SDK revolves around leveraging its capabilities for data collection. In this section, we'll guide you through setting up your first data collection campaign.\nWhether you're building AI models, conducting surveys, or enhancing automated processes,\nthe Effect Network offers a robust infrastructure to support your needs in a completely open, decentralized an transparent way.

\n","isPage":true,"text":"\nThe primary use case of the Effect Network SDK revolves around leveraging its capabilities for data collection. In this section, we'll guide you through setting up your first data collection campaign.\nWhether you're building AI models, conducting surveys, or enhancing automated processes,\nthe Effect Network offers a robust infrastructure to support your needs in a completely open, decentralized an transparent way.\n","title":"Data Collection","titles":[]},"21":{"href":"/docs/collecting-data/introduction#image-annotation-for-ai-training","html":"\n

For this tutorial, let's dive into a practical example: utilizing the Effect AI Network to annotate images distinguishing between a chihuahua and a muffin.\nThis annotated data will serve as training material for our AI model.\nIt's important to note that this is just one of many potential applications. Other examples include:

\n\n

Please check out our example folder on github if you want to check out other examples or want to contribute!

","isPage":false,"text":"\nFor this tutorial, let's dive into a practical example: utilizing the Effect AI Network to annotate images distinguishing between a chihuahua and a muffin.\nThis annotated data will serve as training material for our AI model.\nIt's important to note that this is just one of many potential applications. Other examples include:\n\nGathering survey data from a specific target audience\nEmploying the Effect AI Network for final quality checks in a Language Model (LLM) pipeline for automated transcriptions\nPlaying chess against a random human\nMany more!\n\nPlease check out our example folder on github if you want to check out other examples or want to contribute!","title":"Image annotation for AI training","titles":["Data Collection"]},"22":{"href":"/docs/glossary/terminology#terminology","html":"\n","isPage":true,"text":"\n","title":"Terminology","titles":[]},"23":{"href":"/docs/glossary/terminology#accounts","html":"\n

Antelope accounts are different compared to other EVM blockchains, and other kinds of blockchains in the space.\nYou still will be working with a private key, but your private key can be linked to several accounts.

\n

Here's a quick synopsis from the (Antelope documentation)[https://docs.antelope.io/docs/latest/protocol/accounts_and_permissions/]:

\n
\n

An account identifies a participant in an Antelope blockchain. A participant can be an individual or a group depending on the assigned permissions within the account. Accounts also represent the smart contract actors that push and receive actions to and from other accounts in the blockchain. Actions are always contained within transactions. A transaction can be one or more atomic actions.\nPermissions associated with an account are used to authorize actions and transactions to other accounts. Each permission is linked to an authority table which contains a threshold that must be reached in order to allow the action associated with the given permission to be authorized for execution. The following diagram illustrates the relationship between accounts, permissions, and authorities.

\n
\n

Simply put, an account contains a collection of permissions, and each permission is linked to an authority table to allow certain actions to be exectued.\nAs mentioned above, a private key can be linked to several accounts, and each account can have different permissions.

\n

The anatomy of an antelope account is as follows:

\n\n","isPage":false,"text":"\nAntelope accounts are different compared to other EVM blockchains, and other kinds of blockchains in the space.\nYou still will be working with a private key, but your private key can be linked to several accounts.\nHere's a quick synopsis from the (Antelope documentation)[https://docs.antelope.io/docs/latest/protocol/accounts_and_permissions/]:\n\nAn account identifies a participant in an Antelope blockchain. A participant can be an individual or a group depending on the assigned permissions within the account. Accounts also represent the smart contract actors that push and receive actions to and from other accounts in the blockchain. Actions are always contained within transactions. A transaction can be one or more atomic actions.\nPermissions associated with an account are used to authorize actions and transactions to other accounts. Each permission is linked to an authority table which contains a threshold that must be reached in order to allow the action associated with the given permission to be authorized for execution. The following diagram illustrates the relationship between accounts, permissions, and authorities.\n\nSimply put, an account contains a collection of permissions, and each permission is linked to an authority table to allow certain actions to be exectued.\nAs mentioned above, a private key can be linked to several accounts, and each account can have different permissions.\nThe anatomy of an antelope account is as follows:\n\nname: The name of the account\npermissions: The permissions associated with the account\nkeys: The keys associated with the account (private and corresponding public keys)\n\n","title":"Accounts","titles":["Terminology"]},"24":{"href":"/docs/glossary/terminology#wallets","html":"\n

There are several wallets that you can use to interact with Antelope blockchains, some of them are:\nWe recomend using Unicove and Anchor Wallet, as they are the most user friendly wallets.

\n\n","isPage":false,"text":"\nThere are several wallets that you can use to interact with Antelope blockchains, some of them are:\nWe recomend using Unicove and Anchor Wallet, as they are the most user friendly wallets.\n\nUnicove\nAnchor Wallet\nTokenPocket\nWombat\n\n","title":"Wallets","titles":["Terminology"]},"25":{"href":"/docs/glossary/terminology#contracts","html":"\n

These are the important smart contracts that are used in the Effect Network.\nThe important contract for developing on Effect Network are:

\n\n

With these contracts you can create tasks, and retrieve virtual accounts.

\n

These are the contracts that are deployed on the Jungle4 testnet for the Effect Network.\nhttps://jungle4.eosq.eosnation.io/

\n\n

These are the contracts that are depoloyed on the EOS mainnet for the Effect Network.\nhttps://www.bloks.io/

\n","isPage":false,"text":"\nThese are the important smart contracts that are used in the Effect Network.\nThe important contract for developing on Effect Network are:\n\ntasks\ntoken\nvaccount\n\nWith these contracts you can create tasks, and retrieve virtual accounts.\nThese are the contracts that are deployed on the Jungle4 testnet for the Effect Network.\nhttps://jungle4.eosq.eosnation.io/\n\ntasks: effecttasks2\ntoken: efxtoken1112\nstake: efxstake1111\nfeepool: efxfeepool11\nproposals: efxproposals\nvaccount: efxaccount11\n\nThese are the contracts that are depoloyed on the EOS mainnet for the Effect Network.\nhttps://www.bloks.io/\n\ntasks: force.efx\ntoken: effecttokens\nstake: efxstakepool\nfeepool: feepool.efx\nproposals: daoproposals\nvaccount: vaccount.efx\ndao: theeffectdao\n","title":"Contracts","titles":["Terminology"]},"26":{"href":"/docs/glossary/types#types","html":"
Glossary of Types in the effect sdk.
\n","isPage":true,"text":"Glossary of Types in the effect sdk.\n","title":"Types","titles":[]},"27":{"href":"/docs/glossary/types#campaign","html":"\n

See Type

\n","isPage":false,"text":"\nSee Type\n","title":"Campaign","titles":["Types"]},"28":{"href":"/docs/glossary/types#client-options","html":"\n

The ClientOpts interface is used to define the options that can be passed to the EffectAI Client constructor.

\n
interface ClientOpts {\n  ipfsCacheDurationInMs?: number | null;\n  fetchProvider?: FetchProviderOptions;\n  cacheImplementation?: Cache;\n}
\n

As we can see, the ClientOpts interface has three optional properties:

\n","isPage":false,"text":"\nThe ClientOpts interface is used to define the options that can be passed to the EffectAI Client constructor.\ninterface ClientOpts {\n ipfsCacheDurationInMs?: number | null;\n fetchProvider?: FetchProviderOptions;\n cacheImplementation?: Cache;\n}\nAs we can see, the ClientOpts interface has three optional properties:\n","title":"Client Options","titles":["Types"]},"29":{"href":"/docs/glossary/types#ipfscachedurationims","html":"\n

This property is used to set the cache duration for the IPFS data.\nThe default value is 600_000 milliseconds; 10 minutes.

\n","isPage":false,"text":"\nThis property is used to set the cache duration for the IPFS data.\nThe default value is 600_000 milliseconds; 10 minutes.\n","title":"ipfsCacheDurationIMs","titles":["Types"]},"30":{"href":"/docs/glossary/types#fetchprovider","html":"\n

This property is used to set the fetch provider.\nThis is needed because of the different runtimes availalbe to Java Script.\nFor example, in older versions of Node.js, the fetch API is not available.\nFor older versions of Node.js, you can use the node-fetch package.

\n

Since Node.js v18.0.0, the fetch API is available by default.

\n

In the browser fetch is generally available, and is available on the window.fetch object.\nYou can read more about it here: MDN Fetch API

\n

Other serverside Java Script runtimes such as Bun and (Deno)[https://deno.com/] already have fetch available on the global fetch object.

\n","isPage":false,"text":"\nThis property is used to set the fetch provider.\nThis is needed because of the different runtimes availalbe to Java Script.\nFor example, in older versions of Node.js, the fetch API is not available.\nFor older versions of Node.js, you can use the node-fetch package.\nSince Node.js v18.0.0, the fetch API is available by default.\nIn the browser fetch is generally available, and is available on the window.fetch object.\nYou can read more about it here: MDN Fetch API\nOther serverside Java Script runtimes such as Bun and (Deno)[https://deno.com/] already have fetch available on the global fetch object.\n","title":"fetchProvider","titles":["Types"]},"31":{"href":"/docs/glossary/types#cacheimplementation","html":"\n

This property is used to set the cache implementation.\nThere are three different cache mechanigms abailable in the EffectAI SDK.\nFirst of all, "IDBCache", "LocalStorageCache", "MemoryCache".\nAny of these can be passed to the cacheImplementation property while instanlizing the EffectAI Client.

\n
import { createClient, IDBCache, LocalStorageCache, MemoryCache } from '@effectai/sdk'\nconst client = createClient({\n  cacheImplementation: new IDBCache() // or new LocalStorageCache() or new MemoryCache()\n})
\n

See Type

\n","isPage":false,"text":"\nThis property is used to set the cache implementation.\nThere are three different cache mechanigms abailable in the EffectAI SDK.\nFirst of all, "IDBCache", "LocalStorageCache", "MemoryCache".\nAny of these can be passed to the cacheImplementation property while instanlizing the EffectAI Client.\nimport { createClient, IDBCache, LocalStorageCache, MemoryCache } from '@effectai/sdk'\nconst client = createClient({\n cacheImplementation: new IDBCache() // or new LocalStorageCache() or new MemoryCache()\n})\nSee Type\n","title":"cacheImplementation","titles":["Types"]},"32":{"href":"/docs/glossary/types#asset","html":"\n","isPage":false,"text":"\n","title":"Asset","titles":["Types"]},"33":{"href":"/docs/glossary/types#description","html":"\n

Some functions with the @effectai/sdk package will return a Asset object.\nThis object contains information about tokens on the blockchain and contain information such as the symbol, precision, and amount.

\n

An example for the Asset object is as follows:

\n
{\n  "precision": 4,\n  "symbol": "EFX",\n  "units": 10000,\n  "value": 1\n}
\n

Read more about the Asset object here:\nhttps://wharfkit.com/docs/antelope/asset

\n","isPage":false,"text":"\nSome functions with the @effectai/sdk package will return a Asset object.\nThis object contains information about tokens on the blockchain and contain information such as the symbol, precision, and amount.\nAn example for the Asset object is as follows:\n{\n "precision": 4,\n "symbol": "EFX",\n "units": 10000,\n "value": 1\n}\nRead more about the Asset object here:\nhttps://wharfkit.com/docs/antelope/asset\n","title":"Description","titles":["Types","Asset"]},"34":{"href":"/docs/glossary/types#transaction-result","html":"\n","isPage":false,"text":"\n","title":"Transaction Result","titles":["Types"]},"35":{"href":"/docs/glossary/types#description-1","html":"\n

Some functions with the @effectai/sdk package will return a TransactionResult object.\nThis object contains the transaction hash and the transaction receipt.

\n

The interface for the TransactionResult object is as follows:

\n
interface TransactResult {\n  chain: ChainDefinition\n  request: SigningRequest\n  resolved: ResolvedSigningRequest | undefined\n  response?: { [key: string]: any }\n  revisions: TransactRevisions\n  signatures: Signature[]\n  signer: PermissionLevel\n  transaction: ResolvedTransaction | undefined\n}
\n

Read more about the TransactionResult object here:

\n

https://wharfkit.com/docs/session-kit/transact-result

","isPage":false,"text":"\nSome functions with the @effectai/sdk package will return a TransactionResult object.\nThis object contains the transaction hash and the transaction receipt.\nThe interface for the TransactionResult object is as follows:\ninterface TransactResult {\n chain: ChainDefinition\n request: SigningRequest\n resolved: ResolvedSigningRequest | undefined\n response?: { [key: string]: any }\n revisions: TransactRevisions\n signatures: Signature[]\n signer: PermissionLevel\n transaction: ResolvedTransaction | undefined\n}\nRead more about the TransactionResult object here:\nhttps://wharfkit.com/docs/session-kit/transact-result","title":"Description","titles":["Types","Transaction Result"]},"36":{"href":"/docs/templates/introduction#introduction","html":"\n

As described in the previous section, with campaigns, a template is a blueprint that allows you to input data and display it in a specific format. They are the interface used by the workers of EffectAI to interact with the data and perform the tasks required by the client.

\n

In this section, we will provide an overview of the template engine, explain the basic concepts and components of a template, and guide you through the process of creating your own template.

\n

We will be creating a simple template that lets users create bounding boxes around objects in an image. This will be done with the help of the open-source data annotation tool called Label Studio.

\n","isPage":true,"text":"\nAs described in the previous section, with campaigns, a template is a blueprint that allows you to input data and display it in a specific format. They are the interface used by the workers of EffectAI to interact with the data and perform the tasks required by the client.\nIn this section, we will provide an overview of the template engine, explain the basic concepts and components of a template, and guide you through the process of creating your own template.\nWe will be creating a simple template that lets users create bounding boxes around objects in an image. This will be done with the help of the open-source data annotation tool called Label Studio.\n","title":"Introduction","titles":[]},"37":{"href":"/docs/templates/introduction#what-is-a-template","html":"\n

A template is some HTML, CSS, and JavaScript code that defines the structure and layout of the data that is to be displayed. It's not a standard HTML5 template that uses the HTML specifications. The template engine is custom-built to handle the data that is to be displayed in the template.

\n

There is an existing HTML document, with a head and body tag defined with the requirements for EffectAI. What we need is to add what you would usually add in the body of the document.

\n

So the simplest template, which is just a text template, would look like this:

\n
<div>\n  <p>Hello World!</p>\n</div>
\n

This is a simple template that displays the text "Hello World!" in a paragraph tag. But the main issue here is that we still need to load in dynamic data from a data source so that each task is different.

\n","isPage":false,"text":"\nA template is some HTML, CSS, and JavaScript code that defines the structure and layout of the data that is to be displayed. It's not a standard HTML5 template that uses the HTML specifications. The template engine is custom-built to handle the data that is to be displayed in the template.\nThere is an existing HTML document, with a head and body tag defined with the requirements for EffectAI. What we need is to add what you would usually add in the body of the document.\nSo the simplest template, which is just a text template, would look like this:\n<div>\n <p>Hello World!</p>\n</div>\nThis is a simple template that displays the text "Hello World!" in a paragraph tag. But the main issue here is that we still need to load in dynamic data from a data source so that each task is different.\n","title":"What is a Template?","titles":["Introduction"]},"38":{"href":"/docs/templates/introduction#parameterizing-templates-placeholders","html":"\n

In order to be able to use the same template for different data, we need to parameterize the template. This means that we need to define placeholders in the template that will be replaced with the actual data when the template is rendered.

\n

The way this is done in EffectAI is by using the ${} syntax. This is similar to the way you would use template literals in JavaScript.

\n

For example, if we want to display the name of a person in the template, we would define a placeholder like this:

\n
<div>\n  <p>Hello ${name}!</p>\n</div>
\n

When the template is rendered, the ${name} placeholder will be replaced with the actual name of the person.

\n","isPage":false,"text":"\nIn order to be able to use the same template for different data, we need to parameterize the template. This means that we need to define placeholders in the template that will be replaced with the actual data when the template is rendered.\nThe way this is done in EffectAI is by using the ${} syntax. This is similar to the way you would use template literals in JavaScript.\nFor example, if we want to display the name of a person in the template, we would define a placeholder like this:\n<div>\n <p>Hello ${name}!</p>\n</div>\nWhen the template is rendered, the ${name} placeholder will be replaced with the actual name of the person.\n","title":"Parameterizing Templates: Placeholders","titles":["Introduction"]},"39":{"href":"/docs/templates/introduction#submitting-templates-and-retrieving-results","html":"\n

So now we understand how to input data into the template, but how do we get results back? Workers on EffectAI will get a rendered template with the data inputted into the template. The worker will then perform the task required by the client and submit the result.

\n

Submitting is a standard submit event in HTML, but the data is saved in the EffectAI smart contracts.

\n

Here's an example of a form with an input field and a submit button:

\n
<h2>Placeholder example: ${placeholder}</h2>\n<input type="text" required placeholder="'name' attribute is required on input fields" name="test" />\n<input type="submit" />
\n

When we input the text "World" into the text field and submit this, we get the following submission:

\n
{\n  "test": "World"\n}
\n","isPage":false,"text":"\nSo now we understand how to input data into the template, but how do we get results back? Workers on EffectAI will get a rendered template with the data inputted into the template. The worker will then perform the task required by the client and submit the result.\nSubmitting is a standard submit event in HTML, but the data is saved in the EffectAI smart contracts.\nHere's an example of a form with an input field and a submit button:\n<h2>Placeholder example: ${placeholder}</h2>\n<input type="text" required placeholder="'name' attribute is required on input fields" name="test" />\n<input type="submit" />\nWhen we input the text "World" into the text field and submit this, we get the following submission:\n{\n "test": "World"\n}\n","title":"Submitting Templates and Retrieving Results","titles":["Introduction"]},"40":{"href":"/docs/templates/introduction#creating-your-own-template","html":"\n

You can try out the templates for yourself by inputting them into EffectAI's template preview tool.

","isPage":false,"text":"\nYou can try out the templates for yourself by inputting them into EffectAI's template preview tool.","title":"Creating Your Own Template","titles":["Introduction"]},"41":{"href":"/docs/templates/labelstudio#label-studio-example","html":"\n

Here we will show an example of how to use Label Studio to label images for object detection.

\n

\"Example\"/

\n

As discussed before we will be using the Label Studio to create a labeling task for object detection.\nHere is an example of how to use Label Studio to create a labeling task for object detection.\nWe have some HTML tags, that contain style sheets, the div that will be the container for Label Studio, library and scripts to initialize Label Studio.

\n","isPage":true,"text":"\nHere we will show an example of how to use Label Studio to label images for object detection.\n\nAs discussed before we will be using the Label Studio to create a labeling task for object detection.\nHere is an example of how to use Label Studio to create a labeling task for object detection.\nWe have some HTML tags, that contain style sheets, the div that will be the container for Label Studio, library and scripts to initialize Label Studio.\n","title":"Label Studio example","titles":[]},"42":{"href":"/docs/templates/labelstudio#template","html":"\n
<!-- 📚 Load in resources: [Bulma, Effect Network Styling]  -->\n \n<!-- Include Label Studio stylesheet -->\n<link href="https://unpkg.com/label-studio@1.0.1/build/static/css/main.css" rel="stylesheet">\n \n<!-- Create the Label Studio container -->\n<div id="label-studio"></div>\n \n<!-- Include the Label Studio library -->\n<script src="https://unpkg.com/label-studio@1.0.1/build/static/js/main.js"></script>\n \n<script src="https://cdn.jsdelivr.net/npm/ipfs-http-client/dist/index.min.js"></script>\n \n<!-- Initialize Label Studio -->\n<script>\n// setInterval(() => { window.forceResize() }, 500);\nconst ipfs = window.IpfsHttpClient.create({ host: 'ipfs.effect.ai', port: 443, protocol: 'https' });\nconst ann = '${annotations}'.length === 0 ? '[]' : '${annotations}';\nconsole.log(ann);\nvar labelStudio = new LabelStudio('label-studio', {\n    config: `\n        <View>\n            <Header value="Please draw bounding boxes around each line of text and label it with its contained text."/>\n            <Image name="image" value="$ocr" zoom="true" zoomControl="true"/>\n            <Rectangle name="bbox" toName="image" strokeWidth="3"/>\n            <TextArea name="transcription" toName="image" editable="true" perRegion="true" required="true" maxSubmissions="1" rows="5" placeholder="Recognized Text" displayMode="region-list"/>\n        </View>\n    `,\n \n    interfaces: [\n        "panel",\n        "update",\n        "submit",\n        "controls",\n        "side-column",\n        "annotations:menu",\n        "annotations:current"\n    ],\n \n    user: {\n        pk: 1,\n        firstName: "Effect",\n        lastName: "Network"\n    },\n \n    task: {\n        annotations: JSON.parse(`${annotations}`.replace(/&quot;/g,'"')),\n        predictions: [],\n        id: ${id},\n        data: {\n        ocr: "${image}"\n        }\n    },\n \n \n    // task: {\n    //     annotations: JSON.parse('[]'),\n    //     predictions: [],\n    //     id: 1,\n    //     data: {\n    //         ocr: "https://ipfs.effect.ai/ipfs/QmX6FcAAfS9SL9KkKhiZumAUeaAyr4HsWp3rHopjzQSSg4"\n    //     }\n    // },\n \n    onSubmitAnnotation: function(ann) {\n        updateOrSubmitAction()\n    },\n \n    onUpdateAnnotation: async function(LS, ann) {\n        updateOrSubmitAction()\n    },\n \n    onLabelStudioLoad: function(LS) {\n        var c = LS.annotationStore.addAnnotation({ userGenerate: true });\n        LS.annotationStore.selectAnnotation(c.id);\n    }\n});\n \nfunction updateOrSubmitAction () {\n    if (window.confirm('Do you want to submit your annotations?')) {\n        submitResults()\n            .then(console.log)\n            .catch(console.error)\n    } else {\n        console.log('Submission cancelled')\n    }\n}\n \nfunction timeout(ms) {\n    return new Promise(resolve => setTimeout(resolve, ms));\n}\n \nconst submitResults = async function () {\n    let LS = labelStudio;\n    // let res = LS.annotationStore.annotations.filter(a => a.id == ann.id)[0].serializeAnnotation();\n    let res = LS.annotationStore.annotations[0].serializeAnnotation();\n \n    if (res && res.length === 0) {\n        const confirm = window.confirm('No annotations found. Are you sure you want to submit?')\n        if (!confirm) {\n            return\n        }\n    } else {\n        try {\n            let hash\n \n            const  uploadResult = {\n                id: `${id}`,\n                annotations: [{\n                    id: `${id}`,\n                    result: res\n                }],\n                data: {\n                    image: `${image}`\n                }\n            }\n \n            // console.log(res)\n            // console.log(uploadResult);\n \n            await Promise.all([\n                // post result to ipfs, and remove single quotes from answers.\n                hash = await ipfs.add(JSON.stringify(uploadResult)),\n                await parent.postMessage({'task': 'submit', 'values':  hash.path}, '*'),\n                await timeout(1000)\n            ])\n            console.log('uploading cid', hash);\n        } catch (error) {\n            alert("Something went wrong, please create a ticket in our Discord for help")\n            console.error('Failed to upload to IPFS', error)\n        }\n    }\n};\n</script>
\n","isPage":false,"text":"\n<!-- 📚 Load in resources: [Bulma, Effect Network Styling] -->\n \n<!-- Include Label Studio stylesheet -->\n<link href="https://unpkg.com/label-studio@1.0.1/build/static/css/main.css" rel="stylesheet">\n \n<!-- Create the Label Studio container -->\n<div id="label-studio"></div>\n \n<!-- Include the Label Studio library -->\n<script src="https://unpkg.com/label-studio@1.0.1/build/static/js/main.js"></script>\n \n<script src="https://cdn.jsdelivr.net/npm/ipfs-http-client/dist/index.min.js"></script>\n \n<!-- Initialize Label Studio -->\n<script>\n// setInterval(() => { window.forceResize() }, 500);\nconst ipfs = window.IpfsHttpClient.create({ host: 'ipfs.effect.ai', port: 443, protocol: 'https' });\nconst ann = '${annotations}'.length === 0 ? '[]' : '${annotations}';\nconsole.log(ann);\nvar labelStudio = new LabelStudio('label-studio', {\n config: `\n <View>\n <Header value="Please draw bounding boxes around each line of text and label it with its contained text."/>\n <Image name="image" value="$ocr" zoom="true" zoomControl="true"/>\n <Rectangle name="bbox" toName="image" strokeWidth="3"/>\n <TextArea name="transcription" toName="image" editable="true" perRegion="true" required="true" maxSubmissions="1" rows="5" placeholder="Recognized Text" displayMode="region-list"/>\n </View>\n `,\n \n interfaces: [\n "panel",\n "update",\n "submit",\n "controls",\n "side-column",\n "annotations:menu",\n "annotations:current"\n ],\n \n user: {\n pk: 1,\n firstName: "Effect",\n lastName: "Network"\n },\n \n task: {\n annotations: JSON.parse(`${annotations}`.replace(/&quot;/g,'"')),\n predictions: [],\n id: ${id},\n data: {\n ocr: "${image}"\n }\n },\n \n \n // task: {\n // annotations: JSON.parse('[]'),\n // predictions: [],\n // id: 1,\n // data: {\n // ocr: "https://ipfs.effect.ai/ipfs/QmX6FcAAfS9SL9KkKhiZumAUeaAyr4HsWp3rHopjzQSSg4"\n // }\n // },\n \n onSubmitAnnotation: function(ann) {\n updateOrSubmitAction()\n },\n \n onUpdateAnnotation: async function(LS, ann) {\n updateOrSubmitAction()\n },\n \n onLabelStudioLoad: function(LS) {\n var c = LS.annotationStore.addAnnotation({ userGenerate: true });\n LS.annotationStore.selectAnnotation(c.id);\n }\n});\n \nfunction updateOrSubmitAction () {\n if (window.confirm('Do you want to submit your annotations?')) {\n submitResults()\n .then(console.log)\n .catch(console.error)\n } else {\n console.log('Submission cancelled')\n }\n}\n \nfunction timeout(ms) {\n return new Promise(resolve => setTimeout(resolve, ms));\n}\n \nconst submitResults = async function () {\n let LS = labelStudio;\n // let res = LS.annotationStore.annotations.filter(a => a.id == ann.id)[0].serializeAnnotation();\n let res = LS.annotationStore.annotations[0].serializeAnnotation();\n \n if (res && res.length === 0) {\n const confirm = window.confirm('No annotations found. Are you sure you want to submit?')\n if (!confirm) {\n return\n }\n } else {\n try {\n let hash\n \n const uploadResult = {\n id: `${id}`,\n annotations: [{\n id: `${id}`,\n result: res\n }],\n data: {\n image: `${image}`\n }\n }\n \n // console.log(res)\n // console.log(uploadResult);\n \n await Promise.all([\n // post result to ipfs, and remove single quotes from answers.\n hash = await ipfs.add(JSON.stringify(uploadResult)),\n await parent.postMessage({'task': 'submit', 'values': hash.path}, '*'),\n await timeout(1000)\n ])\n console.log('uploading cid', hash);\n } catch (error) {\n alert("Something went wrong, please create a ticket in our Discord for help")\n console.error('Failed to upload to IPFS', error)\n }\n }\n};\n</script>\n","title":"Template","titles":["Label Studio example"]},"43":{"href":"/docs/templates/labelstudio#input-schema","html":"\n

Note that you can also define the input and output schema for a given template.\nThis will allow you to define the structure of the data that will be used in the labeling task and the output that will be generated by the annotators.

\n\n
{\n\t"$schema": "http://json-schema.org/draft-07/schema#",\n\t"type": "object",\n\t"properties": {\n\t\t"id": {\n\t\t\t"type": "string"\n\t\t},\n\t\t"annotations": {\n\t\t\t"type": "array",\n\t\t\t"items": {\n\t\t\t\t"type": "object",\n\t\t\t\t"properties": {\n\t\t\t\t\t"id": {\n\t\t\t\t\t\t"type": "string"\n\t\t\t\t\t},\n\t\t\t\t\t"result": {\n\t\t\t\t\t\t"type": "array",\n\t\t\t\t\t\t"items": {\n\t\t\t\t\t\t\t"type": "object",\n\t\t\t\t\t\t\t"properties": {\n\t\t\t\t\t\t\t\t"original_width": {\n\t\t\t\t\t\t\t\t\t"type": "integer"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"original_height": {\n\t\t\t\t\t\t\t\t\t"type": "integer"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"image_rotation": {\n\t\t\t\t\t\t\t\t\t"type": "integer"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"value": {\n\t\t\t\t\t\t\t\t\t"type": "object",\n\t\t\t\t\t\t\t\t\t"properties": {\n\t\t\t\t\t\t\t\t\t\t"x": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "number"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t"y": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "number"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t"width": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "number"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t"height": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "number"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t"rotation": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "integer"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t"text": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "array",\n\t\t\t\t\t\t\t\t\t\t\t"items": {\n\t\t\t\t\t\t\t\t\t\t\t\t"type": "string"\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t"required": ["x", "y", "width", "height", "rotation"]\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"from_name": {\n\t\t\t\t\t\t\t\t\t"type": "string"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"to_name": {\n\t\t\t\t\t\t\t\t\t"type": "string"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"type": {\n\t\t\t\t\t\t\t\t\t"type": "string"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t"required": [\n\t\t\t\t\t\t\t\t"original_width",\n\t\t\t\t\t\t\t\t"original_height",\n\t\t\t\t\t\t\t\t"image_rotation",\n\t\t\t\t\t\t\t\t"value",\n\t\t\t\t\t\t\t\t"from_name",\n\t\t\t\t\t\t\t\t"to_name",\n\t\t\t\t\t\t\t\t"type"\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t"required": ["id", "result"]\n\t\t\t}\n\t\t},\n\t\t"data": {\n\t\t\t"type": "object",\n\t\t\t"properties": {\n\t\t\t\t"image": {\n\t\t\t\t\t"type": "string"\n\t\t\t\t}\n\t\t\t},\n\t\t\t"required": ["image"]\n\t\t}\n\t},\n\t"required": ["id", "annotations", "data"]\n}
\n","isPage":false,"text":"\nNote that you can also define the input and output schema for a given template.\nThis will allow you to define the structure of the data that will be used in the labeling task and the output that will be generated by the annotators.\n\n{\n\t"$schema": "http://json-schema.org/draft-07/schema#",\n\t"type": "object",\n\t"properties": {\n\t\t"id": {\n\t\t\t"type": "string"\n\t\t},\n\t\t"annotations": {\n\t\t\t"type": "array",\n\t\t\t"items": {\n\t\t\t\t"type": "object",\n\t\t\t\t"properties": {\n\t\t\t\t\t"id": {\n\t\t\t\t\t\t"type": "string"\n\t\t\t\t\t},\n\t\t\t\t\t"result": {\n\t\t\t\t\t\t"type": "array",\n\t\t\t\t\t\t"items": {\n\t\t\t\t\t\t\t"type": "object",\n\t\t\t\t\t\t\t"properties": {\n\t\t\t\t\t\t\t\t"original_width": {\n\t\t\t\t\t\t\t\t\t"type": "integer"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"original_height": {\n\t\t\t\t\t\t\t\t\t"type": "integer"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"image_rotation": {\n\t\t\t\t\t\t\t\t\t"type": "integer"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"value": {\n\t\t\t\t\t\t\t\t\t"type": "object",\n\t\t\t\t\t\t\t\t\t"properties": {\n\t\t\t\t\t\t\t\t\t\t"x": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "number"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t"y": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "number"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t"width": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "number"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t"height": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "number"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t"rotation": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "integer"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t"text": {\n\t\t\t\t\t\t\t\t\t\t\t"type": "array",\n\t\t\t\t\t\t\t\t\t\t\t"items": {\n\t\t\t\t\t\t\t\t\t\t\t\t"type": "string"\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t"required": ["x", "y", "width", "height", "rotation"]\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"from_name": {\n\t\t\t\t\t\t\t\t\t"type": "string"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"to_name": {\n\t\t\t\t\t\t\t\t\t"type": "string"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t"type": {\n\t\t\t\t\t\t\t\t\t"type": "string"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t"required": [\n\t\t\t\t\t\t\t\t"original_width",\n\t\t\t\t\t\t\t\t"original_height",\n\t\t\t\t\t\t\t\t"image_rotation",\n\t\t\t\t\t\t\t\t"value",\n\t\t\t\t\t\t\t\t"from_name",\n\t\t\t\t\t\t\t\t"to_name",\n\t\t\t\t\t\t\t\t"type"\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t"required": ["id", "result"]\n\t\t\t}\n\t\t},\n\t\t"data": {\n\t\t\t"type": "object",\n\t\t\t"properties": {\n\t\t\t\t"image": {\n\t\t\t\t\t"type": "string"\n\t\t\t\t}\n\t\t\t},\n\t\t\t"required": ["image"]\n\t\t}\n\t},\n\t"required": ["id", "annotations", "data"]\n}\n","title":"Input Schema","titles":["Label Studio example"]},"44":{"href":"/docs/templates/labelstudio#example-output-data","html":"\n

This is what the output data will look like after the annotators have labeled the images.

\n\n
{\n\t"id": 1,\n\t"created_at": "2021-03-09T21:52:49.513742Z",\n\t"updated_at": "2021-03-09T22:16:08.746926Z",\n\t"project": 83,\n \n\t"data": {\n\t\t"image": "https://example.com/opensource/label-studio/1.jpg"\n\t},\n \n\t"annotations": [\n\t\t{\n\t\t\t"id": "1001",\n\t\t\t"result": [\n\t\t\t\t{\n\t\t\t\t\t"from_name": "tag",\n\t\t\t\t\t"id": "Dx_aB91ISN",\n\t\t\t\t\t"source": "$image",\n\t\t\t\t\t"to_name": "img",\n\t\t\t\t\t"type": "rectanglelabels",\n\t\t\t\t\t"value": {\n\t\t\t\t\t\t"height": 10.458911419423693,\n\t\t\t\t\t\t"rectanglelabels": ["Moonwalker"],\n\t\t\t\t\t\t"rotation": 0,\n\t\t\t\t\t\t"width": 12.4,\n\t\t\t\t\t\t"x": 50.8,\n\t\t\t\t\t\t"y": 5.869797225186766\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t],\n\t\t\t"was_cancelled": false,\n\t\t\t"ground_truth": false,\n\t\t\t"created_at": "2021-03-09T22:16:08.728353Z",\n\t\t\t"updated_at": "2021-03-09T22:16:08.728378Z",\n\t\t\t"lead_time": 4.288,\n\t\t\t"result_count": 0,\n\t\t\t"task": 1,\n\t\t\t"completed_by": 10\n\t\t}\n\t],\n \n\t"predictions": [\n\t\t{\n\t\t\t"created_ago": "3 hours",\n\t\t\t"model_version": "model 1",\n\t\t\t"result": [\n\t\t\t\t{\n\t\t\t\t\t"from_name": "tag",\n\t\t\t\t\t"id": "t5sp3TyXPo",\n\t\t\t\t\t"source": "$image",\n\t\t\t\t\t"to_name": "img",\n\t\t\t\t\t"type": "rectanglelabels",\n\t\t\t\t\t"value": {\n\t\t\t\t\t\t"height": 11.612284069097889,\n\t\t\t\t\t\t"rectanglelabels": ["Moonwalker"],\n\t\t\t\t\t\t"rotation": 0,\n\t\t\t\t\t\t"width": 39.6,\n\t\t\t\t\t\t"x": 13.2,\n\t\t\t\t\t\t"y": 34.702495201535505\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t{\n\t\t\t"created_ago": "4 hours",\n\t\t\t"model_version": "model 2",\n\t\t\t"result": [\n\t\t\t\t{\n\t\t\t\t\t"from_name": "tag",\n\t\t\t\t\t"id": "t5sp3TyXPo",\n\t\t\t\t\t"source": "$image",\n\t\t\t\t\t"to_name": "img",\n\t\t\t\t\t"type": "rectanglelabels",\n\t\t\t\t\t"value": {\n\t\t\t\t\t\t"height": 33.61228406909789,\n\t\t\t\t\t\t"rectanglelabels": ["Moonwalker"],\n\t\t\t\t\t\t"rotation": 0,\n\t\t\t\t\t\t"width": 39.6,\n\t\t\t\t\t\t"x": 13.2,\n\t\t\t\t\t\t"y": 54.702495201535505\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t]\n}
\n","isPage":false,"text":"\nThis is what the output data will look like after the annotators have labeled the images.\n\n{\n\t"id": 1,\n\t"created_at": "2021-03-09T21:52:49.513742Z",\n\t"updated_at": "2021-03-09T22:16:08.746926Z",\n\t"project": 83,\n \n\t"data": {\n\t\t"image": "https://example.com/opensource/label-studio/1.jpg"\n\t},\n \n\t"annotations": [\n\t\t{\n\t\t\t"id": "1001",\n\t\t\t"result": [\n\t\t\t\t{\n\t\t\t\t\t"from_name": "tag",\n\t\t\t\t\t"id": "Dx_aB91ISN",\n\t\t\t\t\t"source": "$image",\n\t\t\t\t\t"to_name": "img",\n\t\t\t\t\t"type": "rectanglelabels",\n\t\t\t\t\t"value": {\n\t\t\t\t\t\t"height": 10.458911419423693,\n\t\t\t\t\t\t"rectanglelabels": ["Moonwalker"],\n\t\t\t\t\t\t"rotation": 0,\n\t\t\t\t\t\t"width": 12.4,\n\t\t\t\t\t\t"x": 50.8,\n\t\t\t\t\t\t"y": 5.869797225186766\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t],\n\t\t\t"was_cancelled": false,\n\t\t\t"ground_truth": false,\n\t\t\t"created_at": "2021-03-09T22:16:08.728353Z",\n\t\t\t"updated_at": "2021-03-09T22:16:08.728378Z",\n\t\t\t"lead_time": 4.288,\n\t\t\t"result_count": 0,\n\t\t\t"task": 1,\n\t\t\t"completed_by": 10\n\t\t}\n\t],\n \n\t"predictions": [\n\t\t{\n\t\t\t"created_ago": "3 hours",\n\t\t\t"model_version": "model 1",\n\t\t\t"result": [\n\t\t\t\t{\n\t\t\t\t\t"from_name": "tag",\n\t\t\t\t\t"id": "t5sp3TyXPo",\n\t\t\t\t\t"source": "$image",\n\t\t\t\t\t"to_name": "img",\n\t\t\t\t\t"type": "rectanglelabels",\n\t\t\t\t\t"value": {\n\t\t\t\t\t\t"height": 11.612284069097889,\n\t\t\t\t\t\t"rectanglelabels": ["Moonwalker"],\n\t\t\t\t\t\t"rotation": 0,\n\t\t\t\t\t\t"width": 39.6,\n\t\t\t\t\t\t"x": 13.2,\n\t\t\t\t\t\t"y": 34.702495201535505\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t{\n\t\t\t"created_ago": "4 hours",\n\t\t\t"model_version": "model 2",\n\t\t\t"result": [\n\t\t\t\t{\n\t\t\t\t\t"from_name": "tag",\n\t\t\t\t\t"id": "t5sp3TyXPo",\n\t\t\t\t\t"source": "$image",\n\t\t\t\t\t"to_name": "img",\n\t\t\t\t\t"type": "rectanglelabels",\n\t\t\t\t\t"value": {\n\t\t\t\t\t\t"height": 33.61228406909789,\n\t\t\t\t\t\t"rectanglelabels": ["Moonwalker"],\n\t\t\t\t\t\t"rotation": 0,\n\t\t\t\t\t\t"width": 39.6,\n\t\t\t\t\t\t"x": 13.2,\n\t\t\t\t\t\t"y": 54.702495201535505\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t]\n}\n","title":"Example output data","titles":["Label Studio example"]},"45":{"href":"/docs/templates/labelstudio#script","html":"\n

You can use the following script to initialize Label Studio and create a labeling task for object detection.\nThis script uses bun.sh.

\n
import { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tcreateCampaign,\n\teos,\n\tSession,\n\ttype CreateCampaignArgs,\n} from "@effectai/sdk";\n \nconst campaignFile = Bun.file("index.html");\nconst inputSchema = Bun.file("input-schema.json");\nconst exampleTask = Bun.file("example.json");\n \nconst session = new Session({\n\tchain: eos,\n\tactor: "your_account",\n\tpermission: "your_permission",\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \nconst client = await createClient({ session });\n \nconst campaign: CreateCampaignArgs = {\n\tclient: client,\n\tcampaign: {\n\t\tcategory: "category",\n\t\tdescription: "Description for this Campaign",\n\t\testimated_time: 1,\n\t\texample_task: exampleTask.toString(),\n\t\timage: "image",\n\t\tinstructions: "Instructions for this Camapign",\n\t\tinput_schema: inputSchema.toString(),\n\t\toutput_schema: null,\n\t\ttemplate: campaignFile.toString(),\n\t\ttitle: "Title for this Campaign",\n\t\tversion: 1,\n\t\treward: 1,\n\t\tmaxTaskTime: 1,\n\t\tqualifications: [],\n\t},\n};\n \nconst response = createCampaign(campaign);\nconsole.debug(response);
","isPage":false,"text":"\nYou can use the following script to initialize Label Studio and create a labeling task for object detection.\nThis script uses bun.sh.\nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tcreateCampaign,\n\teos,\n\tSession,\n\ttype CreateCampaignArgs,\n} from "@effectai/sdk";\n \nconst campaignFile = Bun.file("index.html");\nconst inputSchema = Bun.file("input-schema.json");\nconst exampleTask = Bun.file("example.json");\n \nconst session = new Session({\n\tchain: eos,\n\tactor: "your_account",\n\tpermission: "your_permission",\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \nconst client = await createClient({ session });\n \nconst campaign: CreateCampaignArgs = {\n\tclient: client,\n\tcampaign: {\n\t\tcategory: "category",\n\t\tdescription: "Description for this Campaign",\n\t\testimated_time: 1,\n\t\texample_task: exampleTask.toString(),\n\t\timage: "image",\n\t\tinstructions: "Instructions for this Camapign",\n\t\tinput_schema: inputSchema.toString(),\n\t\toutput_schema: null,\n\t\ttemplate: campaignFile.toString(),\n\t\ttitle: "Title for this Campaign",\n\t\tversion: 1,\n\t\treward: 1,\n\t\tmaxTaskTime: 1,\n\t\tqualifications: [],\n\t},\n};\n \nconst response = createCampaign(campaign);\nconsole.debug(response);","title":"Script","titles":["Label Studio example"]},"46":{"href":"/docs/token/get-balance#getbalance","html":"\n","isPage":true,"text":"\n","title":"getBalance","titles":[]},"47":{"href":"/docs/token/get-balance#description","html":"\n

This function is used to return the blance of EFX, USDT, and EOS of an account on the EOS blockchain.\nNamely the balance is what is available in the wallet of the user.

\n

There is a difference between the balance of EFX of an account that is available in the wallet of the user and the balance of EFX that is available in an Effect Network Virtual Account.\nTo retrieve the EFX balance of a user in their Virtual Account, use the getVaccount

\n","isPage":false,"text":"\nThis function is used to return the blance of EFX, USDT, and EOS of an account on the EOS blockchain.\nNamely the balance is what is available in the wallet of the user.\nThere is a difference between the balance of EFX of an account that is available in the wallet of the user and the balance of EFX that is available in an Effect Network Virtual Account.\nTo retrieve the EFX balance of a user in their Virtual Account, use the getVaccount\n","title":"Description","titles":["getBalance"]},"48":{"href":"/docs/token/get-balance#usage","html":"\n
import { createClient, eos, getBalance, jungle4 } from "@effectai/sdk";\n \nconst client = await createClient({ network: eos });\nconst actor = "cryptonode42";\nconst balance = await getBalance({ client, actor });\nconsole.log(\n\tbalance.efxBalance.toString(),\n\tbalance.usdtBalance.toString(),\n\tbalance.eosBalance.toString(),\n);
\n","isPage":false,"text":"\nimport { createClient, eos, getBalance, jungle4 } from "@effectai/sdk";\n \nconst client = await createClient({ network: eos });\nconst actor = "cryptonode42";\nconst balance = await getBalance({ client, actor });\nconsole.log(\n\tbalance.efxBalance.toString(),\n\tbalance.usdtBalance.toString(),\n\tbalance.eosBalance.toString(),\n);\n","title":"Usage","titles":["getBalance"]},"49":{"href":"/docs/token/get-balance#output","html":"\n
378332.1630 EFX\n26.7212 USDT\n31.3322 EOS
\n","isPage":false,"text":"\n378332.1630 EFX\n26.7212 USDT\n31.3322 EOS\n","title":"Output","titles":["getBalance"]},"50":{"href":"/docs/token/get-balance#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["getBalance"]},"51":{"href":"/docs/token/get-balance#client","html":"\n\n","isPage":false,"text":"\n\nType: Client\nDescription: Client object that is used to interact with the blockchain.\n\n","title":"Client","titles":["getBalance","Parameters"]},"52":{"href":"/docs/token/get-balance#actor","html":"\n\n","isPage":false,"text":"\n\nType: Name\nDescription:\nThe account name of the user for which the balance is to be fetched.\nNote that the account name is a Name object that is created using the Name.from method.\n\n","title":"Actor","titles":["getBalance","Parameters"]},"53":{"href":"/docs/token/get-balance#returns","html":"\n

Type: { efxBalance: Asset; usdtBalance: Asset; eosBalance: Asset; }

\n

Description:\nReturn an object with three properties: efxBalance, usdtBalance, and eosBalance, each of which is an Asset object.\nThe asset object has properties that represent the amount and symbol of the balance of the user.\nNote that the Asset object has a toString method that can be used to convert the balance to a string.

\n

You can read more about the: Asset object

","isPage":false,"text":"\nType: { efxBalance: Asset; usdtBalance: Asset; eosBalance: Asset; }\nDescription:\nReturn an object with three properties: efxBalance, usdtBalance, and eosBalance, each of which is an Asset object.\nThe asset object has properties that represent the amount and symbol of the balance of the user.\nNote that the Asset object has a toString method that can be used to convert the balance to a string.\nYou can read more about the: Asset object","title":"Returns","titles":["getBalance"]},"54":{"href":"/docs/token/get-price#getprice","html":"\n","isPage":true,"text":"\n","title":"getPrice","titles":[]},"55":{"href":"/docs/token/get-price#description","html":"\n

By calling this function, you will get the current price of the EFX token according to DefiBox.\nThe price is in USDT. The contract can be viewed at the following link: https://www.bloks.io/account/tethertether\nIt is not needed for this function to connect a client or a session.

\n","isPage":false,"text":"\nBy calling this function, you will get the current price of the EFX token according to DefiBox.\nThe price is in USDT. The contract can be viewed at the following link: https://www.bloks.io/account/tethertether\nIt is not needed for this function to connect a client or a session.\n","title":"Description","titles":["getPrice"]},"56":{"href":"/docs/token/get-price#usage","html":"\n
 \nimport { getPrice } from "@effectai/sdk";\nconst price = await getPrice();\nconsole.log(price);
\n","isPage":false,"text":"\n \nimport { getPrice } from "@effectai/sdk";\nconst price = await getPrice();\nconsole.log(price);\n","title":"Usage","titles":["getPrice"]},"57":{"href":"/docs/token/get-price#output","html":"\n
0.023399935809187228
\n","isPage":false,"text":"\n0.023399935809187228\n","title":"Output","titles":["getPrice"]},"58":{"href":"/docs/token/get-price#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["getPrice"]},"59":{"href":"/docs/token/get-price#na","html":"\n\n","isPage":false,"text":"\n\nDescription: No parameters required for this function\n\n","title":"N.A.","titles":["getPrice","Parameters"]},"60":{"href":"/docs/token/get-price#returns","html":"\n

Type: Number

\n

Description: The current price of the EFX token according to DefiBox in USDT.

","isPage":false,"text":"\nType: Number\nDescription: The current price of the EFX token according to DefiBox in USDT.","title":"Returns","titles":["getPrice"]},"61":{"href":"/docs/token/swap#swap","html":"\n","isPage":true,"text":"\n","title":"swap","titles":[]},"62":{"href":"/docs/token/swap#description","html":"\n

This function is used to swap tokens from EFX to USDT or vice versa.\nNote that the function requires a client object that is used to interact with the blockchain.\nThe client object also needs a Session object that is used to sign the transactions.

\n","isPage":false,"text":"\nThis function is used to swap tokens from EFX to USDT or vice versa.\nNote that the function requires a client object that is used to interact with the blockchain.\nThe client object also needs a Session object that is used to sign the transactions.\n","title":"Description","titles":["swap"]},"63":{"href":"/docs/token/swap#walletplugin","html":"\n

Note that the walletPlugin object is used to sign the transactions.\nThe walletPlugin object is an instance of the WalletPluginPrivateKey class that is used to sign the transactions using the private key of the user.\nOther wallet plugins can be used to sign transactions and can be found at: https://wharfkit.com/plugins

\n","isPage":false,"text":"\nNote that the walletPlugin object is used to sign the transactions.\nThe walletPlugin object is an instance of the WalletPluginPrivateKey class that is used to sign the transactions using the private key of the user.\nOther wallet plugins can be used to sign transactions and can be found at: https://wharfkit.com/plugins\n","title":"WalletPlugin","titles":["swap","Description"]},"64":{"href":"/docs/token/swap#usage","html":"\n
import { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as chain,\n\t// eos as chain,\n\tSession,\n\tswap,\n\ttype SwapArgs,\n\tgetBalance,\n} from "@effectai/sdk";\n \nconst actor = "actor-name";\nconst permission = "permission-level";\n \n// Create a session\nconst session = new Session({\n\tchain,\n\tactor,\n\tpermission,\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \n// Create client and connect session\nconst client = await createClient({ session });\n \n// Define the swap arguments\nconst swapArgs: SwapArgs = {\n\tclient,\n\tamount: 4, // Define amount, up to 4 digits behind the decimal\n\tdirection: "UsdtToEfx", // or "EfxToUsdt"\n};\n \nconst preBalance = await getBalance({ client, actor });\n \n// Call the swap function\nconst response = await swap(swapArgs);
\n","isPage":false,"text":"\nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as chain,\n\t// eos as chain,\n\tSession,\n\tswap,\n\ttype SwapArgs,\n\tgetBalance,\n} from "@effectai/sdk";\n \nconst actor = "actor-name";\nconst permission = "permission-level";\n \n// Create a session\nconst session = new Session({\n\tchain,\n\tactor,\n\tpermission,\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \n// Create client and connect session\nconst client = await createClient({ session });\n \n// Define the swap arguments\nconst swapArgs: SwapArgs = {\n\tclient,\n\tamount: 4, // Define amount, up to 4 digits behind the decimal\n\tdirection: "UsdtToEfx", // or "EfxToUsdt"\n};\n \nconst preBalance = await getBalance({ client, actor });\n \n// Call the swap function\nconst response = await swap(swapArgs);\n","title":"Usage","titles":["swap"]},"65":{"href":"/docs/token/swap#output","html":"\n

Read more about the transaction response here: TransactionResponse

\n
 response: {\n    transaction_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n    processed: {\n      id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n      block_num: 137868012,\n      block_time: "2024-05-03T04:12:07.500",\n      producer_block_id: null,\n      receipt: {\n        status: "executed",\n        cpu_usage_us: 207,\n        net_usage_words: 16,\n      },\n      elapsed: 207,\n      net_usage: 128,\n      scheduled: false,\n      action_traces: [\n        {\n          action_ordinal: 1,\n          creator_action_ordinal: 0,\n          closest_unnotified_ancestor_action_ordinal: 0,\n          receipt: {\n            receiver: "efxaccount11",\n            act_digest: "d6f9be5af2565060d572a08f6e5f75498ea4c6a3d2cf77e26f3e3ffff4b6e244",\n            global_sequence: 196109234,\n            recv_sequence: 387,\n            auth_sequence: [\n              [ "forcedev1234", 32 ]\n            ],\n            code_sequence: 8,\n            abi_sequence: 15,\n          },\n          receiver: "efxaccount11",\n          act: {\n            account: "efxaccount11",\n            name: "vtransfer",\n            authorization: [\n              {\n                actor: "forcedev1234",\n                permission: "active",\n              }\n            ],\n            data: {\n              from_id: 24,\n              to_id: 3,\n              quantity: {\n                quantity: "0.0001 EFX",\n                contract: "efxtoken1112",\n              },\n              memo: "",\n              sig: null,\n              fee: null,\n            },\n            hex_data: "180000000000000003000000000000000100000000000000044546580000000020420853419afb52000000",\n          },\n          context_free: false,\n          elapsed: 76,\n          console: "",\n          trx_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n          block_num: 137868012,\n          block_time: "2024-05-03T04:12:07.500",\n          producer_block_id: null,\n          account_ram_deltas: [],\n          except: null,\n          error_code: null,\n          return_value_hex_data: "",\n        }, {\n          action_ordinal: 2,\n          creator_action_ordinal: 1,\n          closest_unnotified_ancestor_action_ordinal: 1,\n          receipt: {\n            receiver: "vibrantcacti",\n            act_digest: "d6f9be5af2565060d572a08f6e5f75498ea4c6a3d2cf77e26f3e3ffff4b6e244",\n            global_sequence: 196109235,\n            recv_sequence: 69,\n            auth_sequence: [\n              [ "forcedev1234", 33 ]\n            ],\n            code_sequence: 8,\n            abi_sequence: 15,\n          },\n          receiver: "vibrantcacti",\n          act: {\n            account: "efxaccount11",\n            name: "vtransfer",\n            authorization: [\n              {\n                actor: "forcedev1234",\n                permission: "active",\n              }\n            ],\n            data: {\n              from_id: 24,\n              to_id: 3,\n              quantity: {\n                quantity: "0.0001 EFX",\n                contract: "efxtoken1112",\n              },\n              memo: "",\n              sig: null,\n              fee: null,\n            },\n            hex_data: "180000000000000003000000000000000100000000000000044546580000000020420853419afb52000000",\n          },\n          context_free: false,\n          elapsed: 5,\n          console: "",\n          trx_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n          block_num: 137868012,\n          block_time: "2024-05-03T04:12:07.500",\n          producer_block_id: null,\n          account_ram_deltas: [],\n          except: null,\n          error_code: null,\n          return_value_hex_data: "",\n        }\n      ],\n      account_ram_delta: null,\n      except: null,\n      error_code: null,\n    },\n  },\n}
\n","isPage":false,"text":"\nRead more about the transaction response here: TransactionResponse\n response: {\n transaction_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n processed: {\n id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n block_num: 137868012,\n block_time: "2024-05-03T04:12:07.500",\n producer_block_id: null,\n receipt: {\n status: "executed",\n cpu_usage_us: 207,\n net_usage_words: 16,\n },\n elapsed: 207,\n net_usage: 128,\n scheduled: false,\n action_traces: [\n {\n action_ordinal: 1,\n creator_action_ordinal: 0,\n closest_unnotified_ancestor_action_ordinal: 0,\n receipt: {\n receiver: "efxaccount11",\n act_digest: "d6f9be5af2565060d572a08f6e5f75498ea4c6a3d2cf77e26f3e3ffff4b6e244",\n global_sequence: 196109234,\n recv_sequence: 387,\n auth_sequence: [\n [ "forcedev1234", 32 ]\n ],\n code_sequence: 8,\n abi_sequence: 15,\n },\n receiver: "efxaccount11",\n act: {\n account: "efxaccount11",\n name: "vtransfer",\n authorization: [\n {\n actor: "forcedev1234",\n permission: "active",\n }\n ],\n data: {\n from_id: 24,\n to_id: 3,\n quantity: {\n quantity: "0.0001 EFX",\n contract: "efxtoken1112",\n },\n memo: "",\n sig: null,\n fee: null,\n },\n hex_data: "180000000000000003000000000000000100000000000000044546580000000020420853419afb52000000",\n },\n context_free: false,\n elapsed: 76,\n console: "",\n trx_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n block_num: 137868012,\n block_time: "2024-05-03T04:12:07.500",\n producer_block_id: null,\n account_ram_deltas: [],\n except: null,\n error_code: null,\n return_value_hex_data: "",\n }, {\n action_ordinal: 2,\n creator_action_ordinal: 1,\n closest_unnotified_ancestor_action_ordinal: 1,\n receipt: {\n receiver: "vibrantcacti",\n act_digest: "d6f9be5af2565060d572a08f6e5f75498ea4c6a3d2cf77e26f3e3ffff4b6e244",\n global_sequence: 196109235,\n recv_sequence: 69,\n auth_sequence: [\n [ "forcedev1234", 33 ]\n ],\n code_sequence: 8,\n abi_sequence: 15,\n },\n receiver: "vibrantcacti",\n act: {\n account: "efxaccount11",\n name: "vtransfer",\n authorization: [\n {\n actor: "forcedev1234",\n permission: "active",\n }\n ],\n data: {\n from_id: 24,\n to_id: 3,\n quantity: {\n quantity: "0.0001 EFX",\n contract: "efxtoken1112",\n },\n memo: "",\n sig: null,\n fee: null,\n },\n hex_data: "180000000000000003000000000000000100000000000000044546580000000020420853419afb52000000",\n },\n context_free: false,\n elapsed: 5,\n console: "",\n trx_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n block_num: 137868012,\n block_time: "2024-05-03T04:12:07.500",\n producer_block_id: null,\n account_ram_deltas: [],\n except: null,\n error_code: null,\n return_value_hex_data: "",\n }\n ],\n account_ram_delta: null,\n except: null,\n error_code: null,\n },\n },\n}\n","title":"Output","titles":["swap"]},"66":{"href":"/docs/token/swap#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["swap"]},"67":{"href":"/docs/token/swap#client","html":"\n\n","isPage":false,"text":"\n\nType: Client\nDescription: Client object that is used to interact with the blockchain. Make sure that the client is connected with a Session.\n\n","title":"Client","titles":["swap","Parameters"]},"68":{"href":"/docs/token/swap#ammount","html":"\n\n","isPage":false,"text":"\n\nType: number\nDescription:\nThe amount of tokens to be swapped.\n\n","title":"Ammount","titles":["swap","Parameters"]},"69":{"href":"/docs/token/swap#direction","html":"\n\n","isPage":false,"text":"\n\nType: string\nDescription:\nThe direction of the swap. It can be either "UsdtToEfx" or "EfxToUsdt".\n\n","title":"Direction","titles":["swap","Parameters"]},"70":{"href":"/docs/token/swap#returns","html":"\n

Type: TransactionResponse

\n

Description:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse

","isPage":false,"text":"\nType: TransactionResponse\nDescription:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse","title":"Returns","titles":["swap"]},"71":{"href":"/docs/token/transfer#vtransfer","html":"\n","isPage":true,"text":"\n","title":"VTransfer","titles":[]},"72":{"href":"/docs/token/transfer#description","html":"\n

Transfer EFX tokens from one vAccount to another.\nEffect accounts are created so that users can interact with the Effect Network platform.\nThese accounts can be loaded with EFX tokens and used to pay for services on the platform.\nThis action allows users to transfer EFX tokens from one Effect account to another Effect account.

\n","isPage":false,"text":"\nTransfer EFX tokens from one vAccount to another.\nEffect accounts are created so that users can interact with the Effect Network platform.\nThese accounts can be loaded with EFX tokens and used to pay for services on the platform.\nThis action allows users to transfer EFX tokens from one Effect account to another Effect account.\n","title":"Description","titles":["VTransfer"]},"73":{"href":"/docs/token/transfer#usage","html":"\n
import {\n\tcreateClient,\n\tjungle4 as network,\n\tvTransfer,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \nconst client = await createClient({ network });\nconst receiver = "receiver-account-name";\n \nconst [vAccountReceiver] = await getVAccounts({\n\tclient,\n\tactor: receiver,\n});\n \nconst result = await vTransfer({\n\tclient,\n\tto_id: vAccountReceiver.id,\n\tquantity: 12,\n});
\n","isPage":false,"text":"\nimport {\n\tcreateClient,\n\tjungle4 as network,\n\tvTransfer,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \nconst client = await createClient({ network });\nconst receiver = "receiver-account-name";\n \nconst [vAccountReceiver] = await getVAccounts({\n\tclient,\n\tactor: receiver,\n});\n \nconst result = await vTransfer({\n\tclient,\n\tto_id: vAccountReceiver.id,\n\tquantity: 12,\n});\n","title":"Usage","titles":["VTransfer"]},"74":{"href":"/docs/token/transfer#returns","html":"\n\n","isPage":false,"text":"\n\nType: Promise<GetTableRowsResponse<UInt128, Campaign>>\nDescription: A list of campaigns.\n\nProperties:\n\nrows: An array of campaigns.\nmore: A boolean indicating if there are more campaigns to fetch.\nnext_key: A string that can be used to fetch the next page of campaigns.\n\n\n\n","title":"Returns","titles":["VTransfer"]},"75":{"href":"/docs/token/transfer#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["VTransfer"]},"76":{"href":"/docs/token/transfer#client","html":"\n\n","isPage":false,"text":"\n\nType: Client\n\n","title":"client","titles":["VTransfer","Parameters"]},"77":{"href":"/docs/token/transfer#limit-optional","html":"\n\n","isPage":false,"text":"\n\nType: number\nDefault: 10\n\n","title":"limit (optional)","titles":["VTransfer","Parameters"]},"78":{"href":"/docs/token/transfer#page-optional","html":"\n\n
 // Response\n response: {\n    transaction_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n    processed: {\n      id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n      block_num: 137868012,\n      block_time: "2024-05-03T04:12:07.500",\n      producer_block_id: null,\n      receipt: {\n        status: "executed",\n        cpu_usage_us: 207,\n        net_usage_words: 16,\n      },\n      elapsed: 207,\n      net_usage: 128,\n      scheduled: false,\n      action_traces: [\n        {\n          action_ordinal: 1,\n          creator_action_ordinal: 0,\n          closest_unnotified_ancestor_action_ordinal: 0,\n          receipt: {\n            receiver: "efxaccount11",\n            act_digest: "d6f9be5af2565060d572a08f6e5f75498ea4c6a3d2cf77e26f3e3ffff4b6e244",\n            global_sequence: 196109234,\n            recv_sequence: 387,\n            auth_sequence: [\n              [ "forcedev1234", 32 ]\n            ],\n            code_sequence: 8,\n            abi_sequence: 15,\n          },\n          receiver: "efxaccount11",\n          act: {\n            account: "efxaccount11",\n            name: "vtransfer",\n            authorization: [\n              {\n                actor: "forcedev1234",\n                permission: "active",\n              }\n            ],\n            data: {\n              from_id: 24,\n              to_id: 3,\n              quantity: {\n                quantity: "0.0001 EFX",\n                contract: "efxtoken1112",\n              },\n              memo: "",\n              sig: null,\n              fee: null,\n            },\n            hex_data: "180000000000000003000000000000000100000000000000044546580000000020420853419afb52000000",\n          },\n          context_free: false,\n          elapsed: 76,\n          console: "",\n          trx_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n          block_num: 137868012,\n          block_time: "2024-05-03T04:12:07.500",\n          producer_block_id: null,\n          account_ram_deltas: [],\n          except: null,\n          error_code: null,\n          return_value_hex_data: "",\n        }, {\n          action_ordinal: 2,\n          creator_action_ordinal: 1,\n          closest_unnotified_ancestor_action_ordinal: 1,\n          receipt: {\n            receiver: "vibrantcacti",\n            act_digest: "d6f9be5af2565060d572a08f6e5f75498ea4c6a3d2cf77e26f3e3ffff4b6e244",\n            global_sequence: 196109235,\n            recv_sequence: 69,\n            auth_sequence: [\n              [ "forcedev1234", 33 ]\n            ],\n            code_sequence: 8,\n            abi_sequence: 15,\n          },\n          receiver: "vibrantcacti",\n          act: {\n            account: "efxaccount11",\n            name: "vtransfer",\n            authorization: [\n              {\n                actor: "forcedev1234",\n                permission: "active",\n              }\n            ],\n            data: {\n              from_id: 24,\n              to_id: 3,\n              quantity: {\n                quantity: "0.0001 EFX",\n                contract: "efxtoken1112",\n              },\n              memo: "",\n              sig: null,\n              fee: null,\n            },\n            hex_data: "180000000000000003000000000000000100000000000000044546580000000020420853419afb52000000",\n          },\n          context_free: false,\n          elapsed: 5,\n          console: "",\n          trx_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n          block_num: 137868012,\n          block_time: "2024-05-03T04:12:07.500",\n          producer_block_id: null,\n          account_ram_deltas: [],\n          except: null,\n          error_code: null,\n          return_value_hex_data: "",\n        }\n      ],\n      account_ram_delta: null,\n      except: null,\n      error_code: null,\n    },\n  },\n}
","isPage":false,"text":"\n\nType: number\nDefault: 1\n\n // Response\n response: {\n transaction_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n processed: {\n id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n block_num: 137868012,\n block_time: "2024-05-03T04:12:07.500",\n producer_block_id: null,\n receipt: {\n status: "executed",\n cpu_usage_us: 207,\n net_usage_words: 16,\n },\n elapsed: 207,\n net_usage: 128,\n scheduled: false,\n action_traces: [\n {\n action_ordinal: 1,\n creator_action_ordinal: 0,\n closest_unnotified_ancestor_action_ordinal: 0,\n receipt: {\n receiver: "efxaccount11",\n act_digest: "d6f9be5af2565060d572a08f6e5f75498ea4c6a3d2cf77e26f3e3ffff4b6e244",\n global_sequence: 196109234,\n recv_sequence: 387,\n auth_sequence: [\n [ "forcedev1234", 32 ]\n ],\n code_sequence: 8,\n abi_sequence: 15,\n },\n receiver: "efxaccount11",\n act: {\n account: "efxaccount11",\n name: "vtransfer",\n authorization: [\n {\n actor: "forcedev1234",\n permission: "active",\n }\n ],\n data: {\n from_id: 24,\n to_id: 3,\n quantity: {\n quantity: "0.0001 EFX",\n contract: "efxtoken1112",\n },\n memo: "",\n sig: null,\n fee: null,\n },\n hex_data: "180000000000000003000000000000000100000000000000044546580000000020420853419afb52000000",\n },\n context_free: false,\n elapsed: 76,\n console: "",\n trx_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n block_num: 137868012,\n block_time: "2024-05-03T04:12:07.500",\n producer_block_id: null,\n account_ram_deltas: [],\n except: null,\n error_code: null,\n return_value_hex_data: "",\n }, {\n action_ordinal: 2,\n creator_action_ordinal: 1,\n closest_unnotified_ancestor_action_ordinal: 1,\n receipt: {\n receiver: "vibrantcacti",\n act_digest: "d6f9be5af2565060d572a08f6e5f75498ea4c6a3d2cf77e26f3e3ffff4b6e244",\n global_sequence: 196109235,\n recv_sequence: 69,\n auth_sequence: [\n [ "forcedev1234", 33 ]\n ],\n code_sequence: 8,\n abi_sequence: 15,\n },\n receiver: "vibrantcacti",\n act: {\n account: "efxaccount11",\n name: "vtransfer",\n authorization: [\n {\n actor: "forcedev1234",\n permission: "active",\n }\n ],\n data: {\n from_id: 24,\n to_id: 3,\n quantity: {\n quantity: "0.0001 EFX",\n contract: "efxtoken1112",\n },\n memo: "",\n sig: null,\n fee: null,\n },\n hex_data: "180000000000000003000000000000000100000000000000044546580000000020420853419afb52000000",\n },\n context_free: false,\n elapsed: 5,\n console: "",\n trx_id: "18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",\n block_num: 137868012,\n block_time: "2024-05-03T04:12:07.500",\n producer_block_id: null,\n account_ram_deltas: [],\n except: null,\n error_code: null,\n return_value_hex_data: "",\n }\n ],\n account_ram_delta: null,\n except: null,\n error_code: null,\n },\n },\n}","title":"page (optional)","titles":["VTransfer","Parameters"]},"79":{"href":"/docs/vaccount/claim#claim","html":"\n","isPage":true,"text":"\n","title":"claim","titles":[]},"80":{"href":"/docs/vaccount/claim#description","html":"\n

This function is used to claim the task reward that is locked in the escrow for the done tasks.\nEvery time a task is done, the reward is locked in the escrow until the timeout is reached.\nAfter the timeout is reached, the reward can be claimed by the user who did the task.\nThe resulting EFX will be transferred to the user's VAccount.\nThe main difference between claim and payout, is where the funds are sent.

\n","isPage":false,"text":"\nThis function is used to claim the task reward that is locked in the escrow for the done tasks.\nEvery time a task is done, the reward is locked in the escrow until the timeout is reached.\nAfter the timeout is reached, the reward can be claimed by the user who did the task.\nThe resulting EFX will be transferred to the user's VAccount.\nThe main difference between claim and payout, is where the funds are sent.\n","title":"Description","titles":["claim"]},"81":{"href":"/docs/vaccount/claim#usage","html":"\n
 \nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as chain,\n\t// eos as chain,\n\tSession,\n\tclaim,\n\ttype ClaimArgs,\n\tgetPendingPayments,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \nconst actor = "actor-name";\nconst permission = "permission-level";\n \n// Create a session\nconst session = new Session({\n\tchain,\n\tactor,\n\tpermission,\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \n// Create client and connect session\nconst client = await createClient({ session });\n \nconst [vacc] = await getVAccounts({ client, actor });\n \n// Check pending payments\nconst pendingPayments = await getPendingPayments({\n\tclient,\n\tvAccountId: vacc.id,\n});\n \n// If there are claimable payments, claim them.\nif (pendingPayments.totalEfxClaimable > 0) {\n\tawait claim({ client });\n}
\n","isPage":false,"text":"\n \nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as chain,\n\t// eos as chain,\n\tSession,\n\tclaim,\n\ttype ClaimArgs,\n\tgetPendingPayments,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \nconst actor = "actor-name";\nconst permission = "permission-level";\n \n// Create a session\nconst session = new Session({\n\tchain,\n\tactor,\n\tpermission,\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \n// Create client and connect session\nconst client = await createClient({ session });\n \nconst [vacc] = await getVAccounts({ client, actor });\n \n// Check pending payments\nconst pendingPayments = await getPendingPayments({\n\tclient,\n\tvAccountId: vacc.id,\n});\n \n// If there are claimable payments, claim them.\nif (pendingPayments.totalEfxClaimable > 0) {\n\tawait claim({ client });\n}\n","title":"Usage","titles":["claim"]},"82":{"href":"/docs/vaccount/claim#output","html":"\n
response: {\n  transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n  processed: {\n    id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n    block_num: 137520447,\n    block_time: "2024-05-01T03:55:31.500",\n    producer_block_id: null,\n    receipt: [Object ...],\n    elapsed: 4854,\n    net_usage: 176,\n    scheduled: false,\n    action_traces: [\n      [Object ...]\n    ],\n    account_ram_delta: null,\n    except: null,\n    error_code: null,\n  },\n}
\n","isPage":false,"text":"\nresponse: {\n transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n processed: {\n id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n block_num: 137520447,\n block_time: "2024-05-01T03:55:31.500",\n producer_block_id: null,\n receipt: [Object ...],\n elapsed: 4854,\n net_usage: 176,\n scheduled: false,\n action_traces: [\n [Object ...]\n ],\n account_ram_delta: null,\n except: null,\n error_code: null,\n },\n}\n","title":"Output","titles":["claim"]},"83":{"href":"/docs/vaccount/claim#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["claim"]},"84":{"href":"/docs/vaccount/claim#client","html":"\n\n","isPage":false,"text":"\n\nDescription: The client object, must be connected with a Session, so that only the user with their wallet can claim the rewards.\n\n","title":"Client","titles":["claim","Parameters"]},"85":{"href":"/docs/vaccount/claim#returns","html":"\n

Type: TransactionResult

\n

Description:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse

","isPage":false,"text":"\nType: TransactionResult\nDescription:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse","title":"Returns","titles":["claim"]},"86":{"href":"/docs/vaccount/create-account#createaccount","html":"\n","isPage":true,"text":"\n","title":"createAccount","titles":[]},"87":{"href":"/docs/vaccount/create-account#description","html":"\n

Next to having an EOS account, users will also need to create an Effect Network Virtual account, also known as a VAccount.\nThis virtual account is used to store the user's funds and is used to pay for services on the Effect Network.\nThe vAccount system is controled by the smart contract found at: https://www.bloks.io/account/vaccount.efx

\n

This function will create a new vAccount for the user, and will return the transaction response object.

\n","isPage":false,"text":"\nNext to having an EOS account, users will also need to create an Effect Network Virtual account, also known as a VAccount.\nThis virtual account is used to store the user's funds and is used to pay for services on the Effect Network.\nThe vAccount system is controled by the smart contract found at: https://www.bloks.io/account/vaccount.efx\nThis function will create a new vAccount for the user, and will return the transaction response object.\n","title":"Description","titles":["createAccount"]},"88":{"href":"/docs/vaccount/create-account#usage","html":"\n
 \nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as chain,\n\t// eos as chain,\n\tSession,\n\tcreateVAccount,\n\ttype CreateVAccountArgs,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \nconst actor = "actor-name";\nconst permission = "permission-level";\n \n// Create a session\nconst session = new Session({\n\tchain,\n\tactor,\n\tpermission,\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \n// Create client and connect session\nconst client = await createClient({ session });\nconst account = "account-name";\nconst tx_result = await createVAccount({ client, account });\nconsole.log(tx_result);\n \n// Retrieve the created vaccount\nconst [vacc] = await getVAccounts({ client, actor: account });
\n","isPage":false,"text":"\n \nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as chain,\n\t// eos as chain,\n\tSession,\n\tcreateVAccount,\n\ttype CreateVAccountArgs,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \nconst actor = "actor-name";\nconst permission = "permission-level";\n \n// Create a session\nconst session = new Session({\n\tchain,\n\tactor,\n\tpermission,\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \n// Create client and connect session\nconst client = await createClient({ session });\nconst account = "account-name";\nconst tx_result = await createVAccount({ client, account });\nconsole.log(tx_result);\n \n// Retrieve the created vaccount\nconst [vacc] = await getVAccounts({ client, actor: account });\n","title":"Usage","titles":["createAccount"]},"89":{"href":"/docs/vaccount/create-account#output","html":"\n
response: {\n  transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n  processed: {\n    id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n    block_num: 137520447,\n    block_time: "2024-05-01T03:55:31.500",\n    producer_block_id: null,\n    receipt: [Object ...],\n    elapsed: 4854,\n    net_usage: 176,\n    scheduled: false,\n    action_traces: [\n      [Object ...]\n    ],\n    account_ram_delta: null,\n    except: null,\n    error_code: null,\n  },\n}
\n","isPage":false,"text":"\nresponse: {\n transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n processed: {\n id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n block_num: 137520447,\n block_time: "2024-05-01T03:55:31.500",\n producer_block_id: null,\n receipt: [Object ...],\n elapsed: 4854,\n net_usage: 176,\n scheduled: false,\n action_traces: [\n [Object ...]\n ],\n account_ram_delta: null,\n except: null,\n error_code: null,\n },\n}\n","title":"Output","titles":["createAccount"]},"90":{"href":"/docs/vaccount/create-account#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["createAccount"]},"91":{"href":"/docs/vaccount/create-account#client","html":"\n\n","isPage":false,"text":"\n\nDescription: The client object, must be connected with a Session.\n\n","title":"Client","titles":["createAccount","Parameters"]},"92":{"href":"/docs/vaccount/create-account#actor","html":"\n\n","isPage":false,"text":"\n\nDescription: The actor name, from which the PendinPayments should be claimed and paid out.\n\n","title":"Actor","titles":["createAccount","Parameters"]},"93":{"href":"/docs/vaccount/create-account#returns","html":"\n

Type: TransactionResult

\n

Description:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse

","isPage":false,"text":"\nType: TransactionResult\nDescription:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse","title":"Returns","titles":["createAccount"]},"94":{"href":"/docs/vaccount/deposit#deposit","html":"\n","isPage":true,"text":"\n","title":"deposit","titles":[]},"95":{"href":"/docs/vaccount/deposit#description","html":"\n

User are able to deposit funds into their vAccount or claim the funds from escrow and have them deposited in to their vAccount.\nDepositing funds into the vAccount is nessesary to be able to pay for creating campaigns, batches and tasks.

\n","isPage":false,"text":"\nUser are able to deposit funds into their vAccount or claim the funds from escrow and have them deposited in to their vAccount.\nDepositing funds into the vAccount is nessesary to be able to pay for creating campaigns, batches and tasks.\n","title":"Description","titles":["deposit"]},"96":{"href":"/docs/vaccount/deposit#usage","html":"\n
 \nimport {\n\tcreateClient,\n\tjungle4 as network,\n\tgetVAccounts,\n\tdeposit,\n\ttype DepositArgs,\n} from "@effectai/sdk";\n \nconst client = await createClient({ network });\nconst actor = "account-name";\nconst [vAccount] = await getVAccounts({ client, actor });\nconst result = await deposit({ client, vAccountId: vAccount.id, amount: 0.1 });
\n","isPage":false,"text":"\n \nimport {\n\tcreateClient,\n\tjungle4 as network,\n\tgetVAccounts,\n\tdeposit,\n\ttype DepositArgs,\n} from "@effectai/sdk";\n \nconst client = await createClient({ network });\nconst actor = "account-name";\nconst [vAccount] = await getVAccounts({ client, actor });\nconst result = await deposit({ client, vAccountId: vAccount.id, amount: 0.1 });\n","title":"Usage","titles":["deposit"]},"97":{"href":"/docs/vaccount/deposit#output","html":"\n
response: {\n  transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n  processed: {\n    id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n    block_num: 137520447,\n    block_time: "2024-05-01T03:55:31.500",\n    producer_block_id: null,\n    receipt: [Object ...],\n    elapsed: 4854,\n    net_usage: 176,\n    scheduled: false,\n    action_traces: [\n      [Object ...]\n    ],\n    account_ram_delta: null,\n    except: null,\n    error_code: null,\n  },\n}
\n","isPage":false,"text":"\nresponse: {\n transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n processed: {\n id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n block_num: 137520447,\n block_time: "2024-05-01T03:55:31.500",\n producer_block_id: null,\n receipt: [Object ...],\n elapsed: 4854,\n net_usage: 176,\n scheduled: false,\n action_traces: [\n [Object ...]\n ],\n account_ram_delta: null,\n except: null,\n error_code: null,\n },\n}\n","title":"Output","titles":["deposit"]},"98":{"href":"/docs/vaccount/deposit#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["deposit"]},"99":{"href":"/docs/vaccount/deposit#client","html":"\n\n","isPage":false,"text":"\n\nDescription: The client object, must be connected with a Session.\n\n","title":"Client","titles":["deposit","Parameters"]},"100":{"href":"/docs/vaccount/deposit#vaccountid","html":"\n\n","isPage":false,"text":"\n\nDescription: The vAccount id, where the funds should be deposited.\n\n","title":"vAccountId","titles":["deposit","Parameters"]},"101":{"href":"/docs/vaccount/deposit#amount","html":"\n\n","isPage":false,"text":"\n\nDescription: The amount of funds to be deposited.\n\n","title":"amount","titles":["deposit","Parameters"]},"102":{"href":"/docs/vaccount/deposit#returns","html":"\n

Type: TransactionResult

\n

Description:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse

","isPage":false,"text":"\nType: TransactionResult\nDescription:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse","title":"Returns","titles":["deposit"]},"103":{"href":"/docs/vaccount/get-accounts#getvaccounts","html":"\n","isPage":true,"text":"\n","title":"getVaccounts","titles":[]},"104":{"href":"/docs/vaccount/get-accounts#description","html":"\n

Next to having an EOS account, users will also need to create an Effect Network Virtual account, also known as a VAccount.\nThis virtual account is used to store the user's funds and is used to pay for services on the Effect Network.\nThe vAccount system is controled by the smart contract found at: https://www.bloks.io/account/vaccount.efx

\n

This function will return the vAccounts associated with the actor name provided.

\n","isPage":false,"text":"\nNext to having an EOS account, users will also need to create an Effect Network Virtual account, also known as a VAccount.\nThis virtual account is used to store the user's funds and is used to pay for services on the Effect Network.\nThe vAccount system is controled by the smart contract found at: https://www.bloks.io/account/vaccount.efx\nThis function will return the vAccounts associated with the actor name provided.\n","title":"Description","titles":["getVaccounts"]},"105":{"href":"/docs/vaccount/get-accounts#usage","html":"\n
 \nimport {\n\tcreateClient,\n\tjungle4 as network,\n\t// eos as network,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \n// Create client and connect session\nconst client = await createClient({ network });\n \nconst actor = "forcedev1234";\n// Retrieve the vAccounts\nconst [vacc] = await getVAccounts({ client, actor });\nconsole.log(vacc);
\n","isPage":false,"text":"\n \nimport {\n\tcreateClient,\n\tjungle4 as network,\n\t// eos as network,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \n// Create client and connect session\nconst client = await createClient({ network });\n \nconst actor = "forcedev1234";\n// Retrieve the vAccounts\nconst [vacc] = await getVAccounts({ client, actor });\nconsole.log(vacc);\n","title":"Usage","titles":["getVaccounts"]},"106":{"href":"/docs/vaccount/get-accounts#output","html":"\n
{\n  id: 24,\n  nonce: 19,\n  address: [ "name", "forcedev1234" ],\n  balance: {\n    quantity: "2.0981 EFX",\n    contract: "efxtoken1112",\n  },\n}
\n","isPage":false,"text":"\n{\n id: 24,\n nonce: 19,\n address: [ "name", "forcedev1234" ],\n balance: {\n quantity: "2.0981 EFX",\n contract: "efxtoken1112",\n },\n}\n","title":"Output","titles":["getVaccounts"]},"107":{"href":"/docs/vaccount/get-accounts#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["getVaccounts"]},"108":{"href":"/docs/vaccount/get-accounts#client","html":"\n\n","isPage":false,"text":"\n\nDescription: The client object, must be connected with a Session.\n\n","title":"Client","titles":["getVaccounts","Parameters"]},"109":{"href":"/docs/vaccount/get-accounts#actor","html":"\n\n","isPage":false,"text":"\n\nDescription: The actor name, from which the PendinPayments should be claimed and paid out.\n\n","title":"Actor","titles":["getVaccounts","Parameters"]},"110":{"href":"/docs/vaccount/get-accounts#returns","html":"\n

Type: Vaccount

\n

Description:\nAn object representing a Vaccount, containing the following fields:

\n","isPage":false,"text":"\nType: Vaccount\nDescription:\nAn object representing a Vaccount, containing the following fields:\n\nid: The id of the vAccount.\nnonce: The nonce of the vAccount.\naddress: The address of the vAccount.\nbalance: The balance of the vAccount, containing the following fields:\n\nquantity: The amount of EFX tokens in the vAccount.\ncontract: The contract of the EFX tokens in the vAccount.\n\n\n","title":"Returns","titles":["getVaccounts"]},"111":{"href":"/docs/vaccount/get-pending-payments#getpendinpayments","html":"\n","isPage":true,"text":"\n","title":"getPendinPayments","titles":[]},"112":{"href":"/docs/vaccount/get-pending-payments#description","html":"\n

Every time a user completes a task, EFX tokens are unlocked from the task, and put into escrow for the Vaccount. This function returns the pending payments for a given Vaccount.\nThus the Vaccount can claim the pending payments, and pay then out to the user when the unlock period has passed.

\n","isPage":false,"text":"\nEvery time a user completes a task, EFX tokens are unlocked from the task, and put into escrow for the Vaccount. This function returns the pending payments for a given Vaccount.\nThus the Vaccount can claim the pending payments, and pay then out to the user when the unlock period has passed.\n","title":"Description","titles":["getPendinPayments"]},"113":{"href":"/docs/vaccount/get-pending-payments#usage","html":"\n
import {\n\tcreateClient,\n\tjungle4 as network,\n\t// eos as network,\n\tgetVAccounts,\n\tgetPendingPayments,\n} from "@effectai/sdk";\n \n// Create client and connect session\nconst client = await createClient({ network });\n \nconst actor = "forcedev1234";\n// Retrieve the vAccounts\nconst [vacc] = await getVAccounts({ client, actor });\n \nconst pendingPayments = await getPendingPayments({\n\tclient,\n\tvAccountId: vacc.id,\n});\n \nconsole.log(pendingPayments);
\n","isPage":false,"text":"\nimport {\n\tcreateClient,\n\tjungle4 as network,\n\t// eos as network,\n\tgetVAccounts,\n\tgetPendingPayments,\n} from "@effectai/sdk";\n \n// Create client and connect session\nconst client = await createClient({ network });\n \nconst actor = "forcedev1234";\n// Retrieve the vAccounts\nconst [vacc] = await getVAccounts({ client, actor });\n \nconst pendingPayments = await getPendingPayments({\n\tclient,\n\tvAccountId: vacc.id,\n});\n \nconsole.log(pendingPayments);\n","title":"Usage","titles":["getPendinPayments"]},"114":{"href":"/docs/vaccount/get-pending-payments#output","html":"\n
{\n  pendingPayments: [],\n  claimablePayments: [],\n  totalEfxPending: 0,\n  totalEfxClaimable: 0,\n}
\n","isPage":false,"text":"\n{\n pendingPayments: [],\n claimablePayments: [],\n totalEfxPending: 0,\n totalEfxClaimable: 0,\n}\n","title":"Output","titles":["getPendinPayments"]},"115":{"href":"/docs/vaccount/get-pending-payments#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["getPendinPayments"]},"116":{"href":"/docs/vaccount/get-pending-payments#client","html":"\n\n","isPage":false,"text":"\n\nDescription: The client object, must be connected with a Session.\n\n","title":"Client","titles":["getPendinPayments","Parameters"]},"117":{"href":"/docs/vaccount/get-pending-payments#vaccountid","html":"\n\n","isPage":false,"text":"\n\nDescription: The id of the vAccount.\n\n","title":"vAccountId","titles":["getPendinPayments","Parameters"]},"118":{"href":"/docs/vaccount/get-pending-payments#returns","html":"\n

Type: An object containing the following fields:

\n","isPage":false,"text":"\nType: An object containing the following fields:\n\n\npendingPayments\n\nType: Array of objects\nDescription: An array of objects containing the pending payments for the Vaccount.\n\n\n\nclaimablePayments\n\nType: Array of objects\nDescription: An array of objects containing the claimable payments for the Vaccount.\n\n\n\ntotalEfxPending\n\nType: Number\nDescription: The total amount of EFX pending for the Vaccount.\n\n\n\ntotalEfxClaimable\n\nType: Number\nDescription: The total amount of EFX claimable for the Vaccount.\n\n\n","title":"Returns","titles":["getPendinPayments"]},"119":{"href":"/docs/vaccount/payout#payout","html":"\n","isPage":true,"text":"\n","title":"payout","titles":[]},"120":{"href":"/docs/vaccount/payout#description","html":"\n

This function is used to claim the task reward that is locked in the escrow for the done tasks.\nEvery time a task is done, the reward is locked in the escrow until the timeout is reached.\nAfter the timeout is reached, the reward can be claimed by the user who did the task.\nThe resulting EFX will be transferred to the user's EOS account on the blockchain.

\n

The main difference between claim and payout, is where the funds are sent.

\n","isPage":false,"text":"\nThis function is used to claim the task reward that is locked in the escrow for the done tasks.\nEvery time a task is done, the reward is locked in the escrow until the timeout is reached.\nAfter the timeout is reached, the reward can be claimed by the user who did the task.\nThe resulting EFX will be transferred to the user's EOS account on the blockchain.\nThe main difference between claim and payout, is where the funds are sent.\n","title":"Description","titles":["payout"]},"121":{"href":"/docs/vaccount/payout#usage","html":"\n
 \nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as chain,\n\t// eos as chain,\n\tSession,\n\tpayout,\n\ttype PayoutArgs,\n\tgetPendingPayments,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \nconst actor = "actor-name";\nconst permission = "permission-level";\n \n// Create a session\nconst session = new Session({\n\tchain,\n\tactor,\n\tpermission,\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \n// Create client and connect session\nconst client = await createClient({ session });\n \nconst [vacc] = await getVAccounts({ client, actor });\n \n// Check pending payments,\n// Not nessesary for this snippet, but helpful to know if there are any pending payments.\n// This check is also already done in the payout function.\nconst pendingPayments = await getPendingPayments({\n\tclient,\n\tvAccountId: vacc.id,\n});\n \n// If there are claimable payments, claim and pay them out.\nconst result = await payout({ client, actor });
\n","isPage":false,"text":"\n \nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as chain,\n\t// eos as chain,\n\tSession,\n\tpayout,\n\ttype PayoutArgs,\n\tgetPendingPayments,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \nconst actor = "actor-name";\nconst permission = "permission-level";\n \n// Create a session\nconst session = new Session({\n\tchain,\n\tactor,\n\tpermission,\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \n// Create client and connect session\nconst client = await createClient({ session });\n \nconst [vacc] = await getVAccounts({ client, actor });\n \n// Check pending payments,\n// Not nessesary for this snippet, but helpful to know if there are any pending payments.\n// This check is also already done in the payout function.\nconst pendingPayments = await getPendingPayments({\n\tclient,\n\tvAccountId: vacc.id,\n});\n \n// If there are claimable payments, claim and pay them out.\nconst result = await payout({ client, actor });\n","title":"Usage","titles":["payout"]},"122":{"href":"/docs/vaccount/payout#output","html":"\n
response: {\n  transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n  processed: {\n    id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n    block_num: 137520447,\n    block_time: "2024-05-01T03:55:31.500",\n    producer_block_id: null,\n    receipt: [Object ...],\n    elapsed: 4854,\n    net_usage: 176,\n    scheduled: false,\n    action_traces: [\n      [Object ...]\n    ],\n    account_ram_delta: null,\n    except: null,\n    error_code: null,\n  },\n}
\n","isPage":false,"text":"\nresponse: {\n transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n processed: {\n id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n block_num: 137520447,\n block_time: "2024-05-01T03:55:31.500",\n producer_block_id: null,\n receipt: [Object ...],\n elapsed: 4854,\n net_usage: 176,\n scheduled: false,\n action_traces: [\n [Object ...]\n ],\n account_ram_delta: null,\n except: null,\n error_code: null,\n },\n}\n","title":"Output","titles":["payout"]},"123":{"href":"/docs/vaccount/payout#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["payout"]},"124":{"href":"/docs/vaccount/payout#client","html":"\n\n","isPage":false,"text":"\n\nDescription: The client object, must be connected with a Session.\n\n","title":"Client","titles":["payout","Parameters"]},"125":{"href":"/docs/vaccount/payout#actor","html":"\n\n","isPage":false,"text":"\n\nDescription: The actor name, from which the PendinPayments should be claimed and paid out.\n\n","title":"Actor","titles":["payout","Parameters"]},"126":{"href":"/docs/vaccount/payout#returns","html":"\n

Type: TransactionResult

\n

Description:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse

","isPage":false,"text":"\nType: TransactionResult\nDescription:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse","title":"Returns","titles":["payout"]},"127":{"href":"/docs/vaccount/withdraw#withdraw","html":"\n","isPage":true,"text":"\n","title":"withdraw","titles":[]},"128":{"href":"/docs/vaccount/withdraw#description","html":"\n

User are able to deposit funds into their vAccount or claim the funds from escrow and have them deposited in to their vAccount.\nThese funds can be withdrawn to the user's wallet by calling the withdraw action.

\n","isPage":false,"text":"\nUser are able to deposit funds into their vAccount or claim the funds from escrow and have them deposited in to their vAccount.\nThese funds can be withdrawn to the user's wallet by calling the withdraw action.\n","title":"Description","titles":["withdraw"]},"129":{"href":"/docs/vaccount/withdraw#usage","html":"\n
 \nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as chain,\n\t// eos as chain,\n\tSession,\n\twithdraw,\n\ttype WithdrawArgs,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \nconst actor = "actor-name";\nconst permission = "permission-level";\n \n// Create a session\nconst session = new Session({\n\tchain,\n\tactor,\n\tpermission,\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \n// Create client and connect session\nconst client = await createClient({ session });\n \n// Retrieve user balance\nconst [vacc] = await getVAccounts({ client, actor });\nconsole.log(vacc.balance);\n \n// If there are claimable payments, claim and pay them out.\nconst result = await withdraw({ client, quantity: 42 });
\n","isPage":false,"text":"\n \nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport {\n\tcreateClient,\n\tjungle4 as chain,\n\t// eos as chain,\n\tSession,\n\twithdraw,\n\ttype WithdrawArgs,\n\tgetVAccounts,\n} from "@effectai/sdk";\n \nconst actor = "actor-name";\nconst permission = "permission-level";\n \n// Create a session\nconst session = new Session({\n\tchain,\n\tactor,\n\tpermission,\n\twalletPlugin: new WalletPluginPrivateKey("your_private_key"),\n});\n \n// Create client and connect session\nconst client = await createClient({ session });\n \n// Retrieve user balance\nconst [vacc] = await getVAccounts({ client, actor });\nconsole.log(vacc.balance);\n \n// If there are claimable payments, claim and pay them out.\nconst result = await withdraw({ client, quantity: 42 });\n","title":"Usage","titles":["withdraw"]},"130":{"href":"/docs/vaccount/withdraw#output","html":"\n
response: {\n  transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n  processed: {\n    id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n    block_num: 137520447,\n    block_time: "2024-05-01T03:55:31.500",\n    producer_block_id: null,\n    receipt: [Object ...],\n    elapsed: 4854,\n    net_usage: 176,\n    scheduled: false,\n    action_traces: [\n      [Object ...]\n    ],\n    account_ram_delta: null,\n    except: null,\n    error_code: null,\n  },\n}
\n","isPage":false,"text":"\nresponse: {\n transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n processed: {\n id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n block_num: 137520447,\n block_time: "2024-05-01T03:55:31.500",\n producer_block_id: null,\n receipt: [Object ...],\n elapsed: 4854,\n net_usage: 176,\n scheduled: false,\n action_traces: [\n [Object ...]\n ],\n account_ram_delta: null,\n except: null,\n error_code: null,\n },\n}\n","title":"Output","titles":["withdraw"]},"131":{"href":"/docs/vaccount/withdraw#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["withdraw"]},"132":{"href":"/docs/vaccount/withdraw#client","html":"\n\n","isPage":false,"text":"\n\nDescription: The client object, must be connected with a Session.\n\n","title":"Client","titles":["withdraw","Parameters"]},"133":{"href":"/docs/vaccount/withdraw#actor","html":"\n\n","isPage":false,"text":"\n\nDescription: The actor name, from which the PendinPayments should be claimed and paid out.\n\n","title":"Actor","titles":["withdraw","Parameters"]},"134":{"href":"/docs/vaccount/withdraw#returns","html":"\n

Type: TransactionResult

\n

Description:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse

","isPage":false,"text":"\nType: TransactionResult\nDescription:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse","title":"Returns","titles":["withdraw"]},"135":{"href":"/docs/tasks/campaigns/create-campaign#createcampaign","html":"\n","isPage":true,"text":"\n","title":"createCampaign","titles":[]},"136":{"href":"/docs/tasks/campaigns/create-campaign#description","html":"\n

This function creates a campaign from a specified client with the given campaign parameters.\nYou can view the campaign on the Effect Network before you start collecting data,\nyou need to add tasks to the campaign. You can do this by following the Adding Tasks guide.

\n","isPage":false,"text":"\nThis function creates a campaign from a specified client with the given campaign parameters.\nYou can view the campaign on the Effect Network before you start collecting data,\nyou need to add tasks to the campaign. You can do this by following the Adding Tasks guide.\n","title":"Description","titles":["createCampaign"]},"137":{"href":"/docs/tasks/campaigns/create-campaign#usage","html":"\n
import { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport { Session, jungle4 as chain, createClient } from "@effectai/sdk";\n \nconst session = new Session({\n\tactor: "your-account",\n\tpermission: "permission-level",\n\tchain,\n\twalletPlugin: new WalletPluginPrivateKey("your-private-key"),\n});\n \nconst client = await createClient({ session });\n// ---cut---\nimport { createCampaign } from "@effectai/sdk";\n \nconst campaign = await createCampaign({\n\tclient,\n\tcampaign: {\n\t\t// Name of your campaign\n\t\ttitle: "My First Campaign!",\n\t\t// Description of the campaign\n\t\tdescription: "Description of the task here.",\n\t\t// Campaign version\n\t\tversion: 1.0,\n\t\t// Maximum time to complete a task in seconds\n\t\tmaxTaskTime: 100,\n\t\t// EFX reward per task\n\t\treward: 3.5,\n\t\t// Custom instructions for completing tasks in this campaign (Markdown supported)\n\t\tinstructions: "Some instructions here",\n\t\t// Template of the campaign see https://docs.effect.ai/docs/templates/introduction\n\t\ttemplate: "<h1>Template here</h1>",\n\t\t// Input schema to validate the task data.\n\t\tinput_schema: null,\n\t\t// TODO::\n\t\toutput_schema: null,\n\t\t// Image URL for the campaign\n\t\timage: "",\n\t\t// Category of the campaign\n\t\tcategory: "",\n\t\t// TODO::\n\t\texample_task: "",\n\t\t// TODO:: Estimated time to complete a task in this campaign\n\t\testimated_time: 10,\n\t},\n});
\n","isPage":false,"text":"\nimport { WalletPluginPrivateKey } from "@wharfkit/wallet-plugin-privatekey";\nimport { Session, jungle4 as chain, createClient } from "@effectai/sdk";\n \nconst session = new Session({\n\tactor: "your-account",\n\tpermission: "permission-level",\n\tchain,\n\twalletPlugin: new WalletPluginPrivateKey("your-private-key"),\n});\n \nconst client = await createClient({ session });\n// ---cut---\nimport { createCampaign } from "@effectai/sdk";\n \nconst campaign = await createCampaign({\n\tclient,\n\tcampaign: {\n\t\t// Name of your campaign\n\t\ttitle: "My First Campaign!",\n\t\t// Description of the campaign\n\t\tdescription: "Description of the task here.",\n\t\t// Campaign version\n\t\tversion: 1.0,\n\t\t// Maximum time to complete a task in seconds\n\t\tmaxTaskTime: 100,\n\t\t// EFX reward per task\n\t\treward: 3.5,\n\t\t// Custom instructions for completing tasks in this campaign (Markdown supported)\n\t\tinstructions: "Some instructions here",\n\t\t// Template of the campaign see https://docs.effect.ai/docs/templates/introduction\n\t\ttemplate: "<h1>Template here</h1>",\n\t\t// Input schema to validate the task data.\n\t\tinput_schema: null,\n\t\t// TODO::\n\t\toutput_schema: null,\n\t\t// Image URL for the campaign\n\t\timage: "",\n\t\t// Category of the campaign\n\t\tcategory: "",\n\t\t// TODO::\n\t\texample_task: "",\n\t\t// TODO:: Estimated time to complete a task in this campaign\n\t\testimated_time: 10,\n\t},\n});\n","title":"Usage","titles":["createCampaign"]},"138":{"href":"/docs/tasks/campaigns/create-campaign#output","html":"\n
response: {\n  transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n  processed: {\n    id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n    block_num: 137520447,\n    block_time: "2024-05-01T03:55:31.500",\n    producer_block_id: null,\n    receipt: [Object ...],\n    elapsed: 4854,\n    net_usage: 176,\n    scheduled: false,\n    action_traces: [\n      [Object ...]\n    ],\n    account_ram_delta: null,\n    except: null,\n    error_code: null,\n  },\n}
\n","isPage":false,"text":"\nresponse: {\n transaction_id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n processed: {\n id: "9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",\n block_num: 137520447,\n block_time: "2024-05-01T03:55:31.500",\n producer_block_id: null,\n receipt: [Object ...],\n elapsed: 4854,\n net_usage: 176,\n scheduled: false,\n action_traces: [\n [Object ...]\n ],\n account_ram_delta: null,\n except: null,\n error_code: null,\n },\n}\n","title":"Output","titles":["createCampaign"]},"139":{"href":"/docs/tasks/campaigns/create-campaign#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["createCampaign"]},"140":{"href":"/docs/tasks/campaigns/create-campaign#client","html":"\n\n","isPage":false,"text":"\n\nType: SomeClient\nDescription: The client used to retrieve campaigns.\n\n","title":"client","titles":["createCampaign","Parameters"]},"141":{"href":"/docs/tasks/campaigns/create-campaign#createcampaignargscampaign","html":"\n\n","isPage":false,"text":"\n\nversion: Version number of the campaign\nmaxTaskTime: Time maximum time in seconds for the task\nreward: Reward for each task in EFX\ntitle: Title of the campaign\ndescription: Description of the campaign\ninstructions: Instructions for the campaign\ntemplate: Template for the campaign, which is a string of HTML\ninput_schema: JSON schema for each input task\noutput_schema: JSON schema for each output task\nimage: Image URL for the campaign\ncategory: Category of the campaign\nexample_task: An example_task for the campaign, this should be data that will be input into the campaign\nestimated_time: Estimated time in seconds for the task\n\n","title":"CreateCampaignArgs["campaign"]","titles":["createCampaign","Parameters"]},"142":{"href":"/docs/tasks/campaigns/create-campaign#returns","html":"\n

Type: TransactionResult

\n

Description:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse

","isPage":false,"text":"\nType: TransactionResult\nDescription:\nReturns a transaction response object that contains the transaction id block number, and various properties that correlate to the transaction.\nRead more about the transaction response here: TransactionResponse","title":"Returns","titles":["createCampaign"]},"143":{"href":"/docs/tasks/campaigns/get-campaign-by-id#getcampaignbyid","html":"\n","isPage":true,"text":"\n","title":"getCampaignById","titles":[]},"144":{"href":"/docs/tasks/campaigns/get-campaign-by-id#description","html":"\n

This function retrieves a campaign from a specified client with the given ID.

\n","isPage":false,"text":"\nThis function retrieves a campaign from a specified client with the given ID.\n","title":"Description","titles":["getCampaignById"]},"145":{"href":"/docs/tasks/campaigns/get-campaign-by-id#usage","html":"\n
import {\n\ttype Campaign,\n\ttype CampaignWithInfo,\n\tcreateClient,\n\tgetCampaignById,\n\tjungle4 as network,\n} from "@effectai/sdk";\n \nconst client = await createClient({ network });\nconst campaign = await getCampaignById({ client, id: 1 });\n 
\n","isPage":false,"text":"\nimport {\n\ttype Campaign,\n\ttype CampaignWithInfo,\n\tcreateClient,\n\tgetCampaignById,\n\tjungle4 as network,\n} from "@effectai/sdk";\n \nconst client = await createClient({ network });\nconst campaign = await getCampaignById({ client, id: 1 });\n \n","title":"Usage","titles":["getCampaignById"]},"146":{"href":"/docs/tasks/campaigns/get-campaign-by-id#output","html":"\n
{\n  id: 1,\n  reservations_done: 1,\n  total_submissions: 2,\n  total_tasks: 1,\n  active_batch: 1,\n  num_batches: 1,\n  owner: [ "name", "efxefxefxefx" ],\n  paused: 0,\n  content: {\n    field_0: 0,\n    field_1: "QmVKwq3bYM6cPW6kstpiq4WYckWRtdfJnzAmms2iMyGqQg",\n  },\n  max_task_time: 3600,\n  reward: {\n    quantity: "0.0100 EFX",\n    contract: "efxtoken1112",\n  },\n  qualis: [],\n  info: {\n    version: 1.1,\n    title: "Labelstudio OCR (LAION)",\n    description: "You are contributing to a dataset for conversational style chatbots.",\n    instructions: "Instructions here...",\n    template: "<h2>Template here...</h2>",\n    input_schema: null,\n    output_schema: null,\n    image: null,\n    category: null,\n    example_task: null,\n    estimated_time: null,\n  },\n}
\n","isPage":false,"text":"\n{\n id: 1,\n reservations_done: 1,\n total_submissions: 2,\n total_tasks: 1,\n active_batch: 1,\n num_batches: 1,\n owner: [ "name", "efxefxefxefx" ],\n paused: 0,\n content: {\n field_0: 0,\n field_1: "QmVKwq3bYM6cPW6kstpiq4WYckWRtdfJnzAmms2iMyGqQg",\n },\n max_task_time: 3600,\n reward: {\n quantity: "0.0100 EFX",\n contract: "efxtoken1112",\n },\n qualis: [],\n info: {\n version: 1.1,\n title: "Labelstudio OCR (LAION)",\n description: "You are contributing to a dataset for conversational style chatbots.",\n instructions: "Instructions here...",\n template: "<h2>Template here...</h2>",\n input_schema: null,\n output_schema: null,\n image: null,\n category: null,\n example_task: null,\n estimated_time: null,\n },\n}\n","title":"Output","titles":["getCampaignById"]},"147":{"href":"/docs/tasks/campaigns/get-campaign-by-id#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["getCampaignById"]},"148":{"href":"/docs/tasks/campaigns/get-campaign-by-id#client","html":"\n\n","isPage":false,"text":"\n\nType: SomeClient\nDescription: The client used to retrieve campaigns.\n\n","title":"client","titles":["getCampaignById","Parameters"]},"149":{"href":"/docs/tasks/campaigns/get-campaign-by-id#id","html":"\n\n","isPage":false,"text":"\n\nType: number\nDescription: The campaign id number of the campaign to retrieve.\n\n","title":"id","titles":["getCampaignById","Parameters"]},"150":{"href":"/docs/tasks/campaigns/get-campaign-by-id#returns","html":"\n

Type: Promise<Campaign>

\n

Description: A list of campaigns.

\nProperties:\n","isPage":false,"text":"\nType: Promise<Campaign>\nDescription: A list of campaigns.\nProperties:\n\nid: Campaign ID.\nreservations_done: Number of reservations done for the campaign.\ntotal_submissions: Total number of submissions for the campaign.\ntotal_tasks: Total number of tasks in the campaign.\nactive_batch: Active batch number.\nnum_batches: Total number of batches.\nowner: Owner of the campaign.\npaused: Indicator if the campaign is paused.\ncontent: Campaign content.\nmax_task_time: Maximum task time in seconds.\nreward: Reward information.\nqualis: Qualification information.\ninfo: Additional information retrieved from IPFS.\n","title":"Returns","titles":["getCampaignById"]},"151":{"href":"/docs/tasks/campaigns/get-campaigns#getcampaigns","html":"\n","isPage":true,"text":"\n","title":"getCampaigns","titles":[]},"152":{"href":"/docs/tasks/campaigns/get-campaigns#description","html":"\n

This function retrieves campaigns from a specified client with optional parameters for pagination, sorting, and IPFS fetching.

\n","isPage":false,"text":"\nThis function retrieves campaigns from a specified client with optional parameters for pagination, sorting, and IPFS fetching.\n","title":"Description","titles":["getCampaigns"]},"153":{"href":"/docs/tasks/campaigns/get-campaigns#usage","html":"\n
import { createClient, getCampaigns, jungle4 as network } from "@effectai/sdk";\n \nconst client = await createClient({ network });\nconst campaigns = await getCampaigns({ client });\nconsole.log(campaigns);
\n","isPage":false,"text":"\nimport { createClient, getCampaigns, jungle4 as network } from "@effectai/sdk";\n \nconst client = await createClient({ network });\nconst campaigns = await getCampaigns({ client });\nconsole.log(campaigns);\n","title":"Usage","titles":["getCampaigns"]},"154":{"href":"/docs/tasks/campaigns/get-campaigns#output","html":"\n
{\n rows: [\n   {\n     id: 0,\n     reservations_done: 2,\n     total_submissions: 2,\n     total_tasks: 6,\n     active_batch: 0,\n     num_batches: 2,\n     owner: [ "name", "efxefxefxefx" ],\n     paused: 0,\n     content: [Object ...],\n     max_task_time: 3600,\n     reward: [Object ...],\n     qualis: [],\n     info: [Object ...],\n   }, { */ ... /* }, { */ ... /* }\n ],\n next_key: UInt128 { */ ... /*  },\n more: true,\n}
\n","isPage":false,"text":"\n{\n rows: [\n {\n id: 0,\n reservations_done: 2,\n total_submissions: 2,\n total_tasks: 6,\n active_batch: 0,\n num_batches: 2,\n owner: [ "name", "efxefxefxefx" ],\n paused: 0,\n content: [Object ...],\n max_task_time: 3600,\n reward: [Object ...],\n qualis: [],\n info: [Object ...],\n }, { */ ... /* }, { */ ... /* }\n ],\n next_key: UInt128 { */ ... /* },\n more: true,\n}\n","title":"Output","titles":["getCampaigns"]},"155":{"href":"/docs/tasks/campaigns/get-campaigns#parameters","html":"\n","isPage":false,"text":"\n","title":"Parameters","titles":["getCampaigns"]},"156":{"href":"/docs/tasks/campaigns/get-campaigns#client","html":"\n\n","isPage":false,"text":"\n\nType: SomeClient\nDescription: The client used to retrieve campaigns.\n\n","title":"client","titles":["getCampaigns","Parameters"]},"157":{"href":"/docs/tasks/campaigns/get-campaigns#page","html":"\n\n","isPage":false,"text":"\n\nType: number\nDescription: The page number of the campaigns to retrieve. Default is 1.\n\n","title":"page","titles":["getCampaigns","Parameters"]},"158":{"href":"/docs/tasks/campaigns/get-campaigns#limit","html":"\n\n","isPage":false,"text":"\n\nType: number\nDescription: The maximum number of campaigns to retrieve per page. Default is 20.\n\n","title":"limit","titles":["getCampaigns","Parameters"]},"159":{"href":"/docs/tasks/campaigns/get-campaigns#reverse","html":"\n\n","isPage":false,"text":"\n\nType: boolean\nDescription: Whether to reverse the order of the retrieved campaigns. Default is false.\n\n","title":"reverse","titles":["getCampaigns","Parameters"]},"160":{"href":"/docs/tasks/campaigns/get-campaigns#ipfsfetch","html":"\n\n","isPage":false,"text":"\n\nType: boolean\nDescription: Whether to fetch additional information from IPFS for each campaign. Default is true.\n\n","title":"ipfsFetch","titles":["getCampaigns","Parameters"]},"161":{"href":"/docs/tasks/campaigns/get-campaigns#returns","html":"\n","isPage":false,"text":"\n\nType: Promise<GetTableRowsResponse<UInt128, Campaign>>\nDescription: A list of campaigns.\n\nProperties:\n\nrows: An array of campaigns with the following structure:\n\nid: Campaign ID.\nreservations_done: Number of reservations done for the campaign.\ntotal_submissions: Total number of submissions for the campaign.\ntotal_tasks: Total number of tasks in the campaign.\nactive_batch: Active batch number.\nnum_batches: Total number of batches.\nowner: Owner of the campaign.\npaused: Indicator if the campaign is paused.\ncontent: Campaign content.\nmax_task_time: Maximum task time in seconds.\nreward: Reward information.\nqualis: Qualification information.\ninfo: Additional information retrieved from IPFS if enabled.\n\n\nnext_key: A string that can be used to fetch the next page of campaigns.\nmore: A boolean indicating if there are more campaigns to fetch.\n\n\n","title":"Returns","titles":["getCampaigns"]}},"dirtCount":0,"index":[["9d321af28b7354c5cbee6ee956ea3e6590228b48539a9f0cafc6a8ca5ffe0ca2",{"2":{"82":2,"89":2,"97":2,"122":2,"130":2,"138":2}}],["76",{"2":{"65":1,"78":1}}],["7212",{"2":{"49":1}}],["728378z",{"2":{"44":1}}],["728353z",{"2":{"44":1}}],["702495201535505",{"2":{"44":2}}],["746926z",{"2":{"44":1}}],["869797225186766",{"2":{"44":1}}],["8",{"2":{"44":1,"65":2,"78":2}}],["83",{"2":{"44":1}}],["y",{"2":{"43":2,"44":3}}],["you",{"2":{"9":1,"17":1,"18":5,"19":3,"20":2,"21":1,"23":1,"24":1,"25":1,"30":2,"36":2,"37":1,"38":1,"40":1,"42":3,"43":2,"45":1,"53":1,"55":1,"136":4,"146":1}}],["yourself",{"2":{"40":1}}],["your",{"0":{"17":1,"40":1},"1":{"18":1},"2":{"2":1,"5":1,"9":2,"15":1,"18":4,"19":1,"20":2,"23":1,"36":1,"42":1,"45":3,"64":1,"81":1,"88":1,"121":1,"129":1,"137":3}}],["x",{"2":{"43":2,"44":3}}],["x27",{"0":{"10":1},"2":{"1":4,"2":3,"15":13,"19":2,"20":2,"21":2,"23":1,"31":2,"37":1,"39":3,"40":1,"42":34,"80":1,"87":1,"104":1,"120":1,"128":1}}],["qmvkwq3bym6cpw6kstpiq4wyckwrtdfjnzamms2imygqqg",{"2":{"146":1}}],["qmx6fcaafs9sl9kkkhizumaueaayr4hswp3rhopjzqssg4",{"2":{"42":1}}],["qualification",{"2":{"150":1,"161":1}}],["qualis",{"2":{"146":1,"150":1,"154":1,"161":1}}],["quality",{"2":{"12":1,"13":1,"21":1}}],["quantity",{"2":{"65":4,"78":4,"106":1,"110":1,"129":1,"146":1}}],["question",{"2":{"17":1,"19":3}}],["quick",{"0":{"6":1},"1":{"7":1,"8":1,"9":1},"2":{"23":1}}],["quotes",{"2":{"42":1}}],["quot",{"0":{"141":2},"2":{"1":2,"2":10,"7":4,"8":4,"15":10,"18":26,"19":38,"31":6,"33":10,"37":2,"39":14,"42":70,"43":196,"44":176,"45":26,"48":4,"56":2,"64":14,"65":72,"69":4,"73":4,"78":72,"81":10,"82":6,"88":12,"89":6,"96":4,"97":6,"105":4,"106":8,"113":4,"121":10,"122":6,"129":10,"130":6,"137":26,"138":6,"145":2,"146":18,"153":2,"154":4}}],["zoomcontrol=",{"2":{"42":1}}],["zoom=",{"2":{"42":1}}],["`$",{"2":{"42":4}}],["`",{"2":{"42":6}}],["`eos`",{"2":{"15":1}}],["📚",{"2":{"42":1}}],["42",{"2":{"129":1}}],["4854",{"2":{"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["458911419423693",{"2":{"44":1}}],["49",{"2":{"44":1}}],["443",{"2":{"42":1}}],["4",{"2":{"33":1,"44":3,"64":2}}],["|",{"2":{"28":1,"35":2}}],["know",{"2":{"121":1}}],["known",{"2":{"87":1,"104":1}}],["kit",{"2":{"35":1}}],["kinds",{"2":{"23":1}}],["keys",{"2":{"23":3}}],["key",{"0":{"1":1},"2":{"0":1,"1":1,"15":1,"18":1,"23":3,"35":1,"45":1,"63":1,"64":1,"74":1,"81":1,"88":1,"121":1,"129":1,"137":1,"154":1,"161":1}}],["69",{"2":{"65":1,"78":1}}],["61228406909789",{"2":{"44":1}}],["612284069097889",{"2":{"44":1}}],["600",{"2":{"29":1}}],["6",{"2":{"19":1,"44":2,"154":1}}],["rows",{"2":{"74":1,"154":1,"161":1}}],["rows=",{"2":{"42":1}}],["rotation",{"2":{"43":4,"44":3}}],["robust",{"2":{"20":1}}],["runtimes",{"2":{"30":2}}],["ram",{"2":{"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["random",{"2":{"21":1}}],["radio",{"2":{"19":2}}],["remove",{"2":{"42":1}}],["region",{"2":{"42":1}}],["rendered",{"2":{"38":2,"39":1}}],["renderer",{"2":{"2":2}}],["reverse",{"0":{"159":1},"2":{"159":1}}],["revisions",{"2":{"35":1}}],["revolves",{"2":{"20":1}}],["retrieving",{"0":{"39":1}}],["retrieved",{"2":{"150":1,"159":1,"161":1}}],["retrieves",{"2":{"144":1,"152":1}}],["retrieve",{"2":{"25":1,"47":1,"88":1,"105":1,"113":1,"129":1,"140":1,"148":1,"149":1,"156":1,"157":1,"158":1}}],["returns",{"0":{"53":1,"60":1,"70":1,"74":1,"85":1,"93":1,"102":1,"110":1,"118":1,"126":1,"134":1,"142":1,"150":1,"161":1},"2":{"70":1,"85":1,"93":1,"102":1,"112":1,"126":1,"134":1,"142":1}}],["return",{"2":{"33":1,"35":1,"42":2,"47":1,"53":1,"65":2,"78":2,"87":1,"104":1}}],["rel=",{"2":{"42":1}}],["relationship",{"2":{"23":1}}],["reliable",{"2":{"13":1}}],["recv",{"2":{"65":2,"78":2}}],["recognized",{"2":{"42":1}}],["recomend",{"2":{"24":1}}],["recommended",{"2":{"19":1}}],["recommend",{"2":{"1":1}}],["rectanglelabels",{"2":{"44":6}}],["rectangle",{"2":{"42":1}}],["receipt",{"2":{"35":1,"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["receiver",{"2":{"65":4,"73":3,"78":4}}],["receive",{"2":{"23":1}}],["replace",{"2":{"42":1}}],["replaced",{"2":{"38":2}}],["representing",{"2":{"110":1}}],["represent",{"2":{"23":1,"53":1}}],["repetitions",{"2":{"15":1}}],["repeated",{"2":{"15":1}}],["re",{"2":{"20":1}}],["reused",{"2":{"19":1}}],["request",{"2":{"35":1}}],["requester",{"2":{"17":1,"19":1}}],["requirements",{"2":{"37":1}}],["required=",{"2":{"42":1}}],["required",{"2":{"19":1,"36":1,"39":3,"43":5,"59":1}}],["requires",{"2":{"2":1,"62":1}}],["require",{"2":{"0":1}}],["reservations",{"2":{"146":1,"150":2,"154":1,"161":2}}],["resemblance",{"2":{"19":2}}],["res",{"2":{"42":6}}],["resolve",{"2":{"42":2}}],["resolvedtransaction",{"2":{"35":1}}],["resolvedsigningrequest",{"2":{"35":1}}],["resolved",{"2":{"35":1}}],["resources",{"2":{"42":1}}],["response",{"2":{"35":1,"45":2,"64":1,"65":2,"70":2,"78":2,"82":1,"85":2,"87":1,"89":1,"93":2,"97":1,"102":2,"122":1,"126":2,"130":1,"134":2,"138":1,"142":2}}],["resulting",{"2":{"80":1,"120":1}}],["result",{"0":{"34":1},"1":{"35":1},"2":{"35":1,"39":1,"42":2,"43":2,"44":4,"73":1,"88":2,"96":1,"121":1,"129":1}}],["results",{"0":{"16":1,"39":1},"2":{"39":1}}],["restore",{"2":{"2":1}}],["rewards",{"2":{"84":1}}],["reward",{"2":{"15":2,"17":1,"18":1,"80":3,"120":3,"137":1,"141":2,"146":1,"150":2,"154":1,"161":2}}],["reached",{"2":{"23":1,"80":2,"120":2}}],["react",{"2":{"3":1}}],["read",{"2":{"9":1,"10":1,"30":1,"33":1,"35":1,"53":1,"65":1,"70":1,"85":1,"93":1,"102":1,"126":1,"134":1,"142":1}}],["$image",{"2":{"44":3}}],["$schema",{"2":{"43":1}}],["$ocr",{"2":{"42":1}}],["$",{"2":{"19":2,"38":3,"39":1,"42":4}}],["vtransfer",{"0":{"71":1},"1":{"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1},"2":{"65":2,"73":1,"78":2}}],["versa",{"2":{"62":1}}],["versions",{"2":{"30":2}}],["version",{"2":{"18":1,"44":2,"137":1,"141":2,"146":1}}],["v18",{"2":{"30":1}}],["vibrantcacti",{"2":{"65":2,"78":2}}],["vice",{"2":{"62":1}}],["virtual",{"2":{"25":1,"47":2,"87":2,"104":2}}],["viewed",{"2":{"55":1}}],["view",{"2":{"18":1,"42":2,"136":1}}],["vacc",{"2":{"81":2,"88":1,"105":2,"113":2,"121":2,"129":2}}],["vaccounts",{"2":{"104":1,"105":1,"113":1}}],["vaccountid",{"0":{"100":1,"117":1},"2":{"96":1}}],["vaccountreceiver",{"2":{"73":2}}],["vaccount",{"2":{"25":4,"72":1,"80":1,"87":4,"88":1,"95":3,"96":2,"100":1,"104":3,"110":8,"112":3,"117":1,"118":4,"128":2}}],["various",{"2":{"70":1,"85":1,"93":1,"102":1,"126":1,"134":1,"142":1}}],["variable",{"2":{"19":1}}],["var",{"2":{"42":2}}],["values",{"2":{"42":1}}],["value",{"2":{"19":1,"29":1,"33":1,"43":2,"44":3,"65":2,"78":2}}],["value=",{"2":{"19":2,"42":2}}],["validate",{"2":{"18":1,"137":1}}],["55",{"2":{"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["54",{"2":{"44":1}}],["50",{"2":{"44":1}}],["500",{"2":{"42":1,"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["513742z",{"2":{"44":1}}],["52",{"2":{"44":1}}],["5",{"2":{"18":1,"42":1,"44":1,"65":1,"78":1,"137":1}}],["5jtoxgny5tt7ninfp1mlogviupj9nniwjnu4wkzax4t7pl4kj8s",{"2":{"1":1}}],["0100",{"2":{"146":1}}],["01t03",{"2":{"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["0981",{"2":{"106":1}}],["09t22",{"2":{"44":3}}],["09t21",{"2":{"44":1}}],["05",{"2":{"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["023399935809187228",{"2":{"57":1}}],["08",{"2":{"44":3}}],["03t04",{"2":{"65":3,"78":3}}],["03",{"2":{"44":4}}],["07",{"2":{"43":1,"65":3,"78":3}}],["0001",{"2":{"65":2,"78":2}}],["000",{"2":{"29":1}}],["0",{"2":{"18":1,"30":2,"42":6,"44":4,"57":1,"65":4,"78":4,"81":1,"96":1,"114":2,"137":1,"146":4,"154":3}}],["uint128",{"2":{"74":1,"154":1,"161":1}}],["unlock",{"2":{"112":1}}],["unlocked",{"2":{"112":1}}],["until",{"2":{"80":1,"120":1}}],["unnotified",{"2":{"65":2,"78":2}}],["unpkg",{"2":{"42":2}}],["understand",{"2":{"39":1}}],["understanding",{"2":{"10":1}}],["undefined",{"2":{"35":2}}],["units",{"2":{"33":1}}],["unicove",{"2":{"24":2}}],["utilizing",{"2":{"21":1}}],["url",{"2":{"15":3,"18":1,"19":2,"137":1,"141":1}}],["upload",{"2":{"42":1}}],["uploading",{"2":{"42":1}}],["uploadresult",{"2":{"42":3}}],["updated",{"2":{"44":2}}],["updateorsubmitaction",{"2":{"42":3}}],["update",{"2":{"42":1}}],["upon",{"2":{"12":1}}],["up",{"2":{"10":1,"15":1,"20":1,"64":1}}],["usage",{"0":{"48":1,"56":1,"64":1,"73":1,"81":1,"88":1,"96":1,"105":1,"113":1,"121":1,"129":1,"137":1,"145":1,"153":1},"2":{"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["usdttoefx",{"2":{"64":1,"69":1}}],["usdtbalance",{"2":{"48":1,"53":2}}],["usdt",{"2":{"47":1,"49":1,"55":1,"60":1,"62":1}}],["usually",{"2":{"37":1}}],["us",{"2":{"12":1,"65":1,"78":1}}],["uses",{"2":{"37":1,"45":1}}],["usergenerate",{"2":{"42":1}}],["user",{"2":{"24":1,"42":1,"47":3,"52":1,"53":1,"63":1,"80":2,"84":1,"87":2,"95":1,"104":1,"112":2,"120":2,"128":2,"129":1}}],["users",{"2":{"19":1,"36":1,"72":2,"87":1,"104":1}}],["used",{"2":{"23":1,"25":1,"28":1,"29":1,"30":1,"31":1,"36":1,"43":1,"47":1,"51":1,"53":1,"62":3,"63":3,"67":1,"72":1,"74":1,"80":1,"87":2,"104":2,"120":1,"140":1,"148":1,"156":1,"161":1}}],["use",{"2":{"3":1,"5":1,"9":1,"15":2,"19":1,"20":1,"24":1,"30":1,"38":2,"41":2,"45":1,"47":1}}],["using",{"0":{"8":1},"2":{"1":2,"2":2,"19":1,"24":1,"38":1,"41":1,"52":1,"63":1}}],["hours",{"2":{"44":2}}],["host",{"2":{"42":1}}],["however",{"2":{"12":1}}],["how",{"2":{"9":1,"10":1,"39":2,"41":2}}],["href=",{"2":{"42":1}}],["human",{"2":{"21":1}}],["having",{"2":{"87":1,"104":1}}],["have",{"2":{"10":1,"18":1,"19":1,"23":1,"30":1,"41":1,"44":1,"95":1,"128":1}}],["handle",{"2":{"37":1}}],["hash",{"2":{"35":1,"42":4}}],["has",{"2":{"28":1,"53":2,"112":1}}],["half",{"2":{"19":1}}],["h2",{"2":{"19":2,"39":2,"146":2}}],["hex",{"2":{"65":4,"78":4}}],["height",{"2":{"43":4,"44":3}}],["hello",{"2":{"37":2,"38":1}}],["helpful",{"2":{"121":1}}],["help",{"2":{"36":1,"42":1}}],["header",{"2":{"42":1}}],["head",{"2":{"19":2,"37":1}}],["here",{"2":{"15":3,"18":3,"23":1,"30":1,"33":1,"35":1,"37":1,"39":1,"41":2,"65":1,"70":1,"85":1,"93":1,"102":1,"126":1,"134":1,"137":3,"142":1,"146":2}}],["http",{"2":{"42":1,"43":1}}],["https",{"2":{"15":3,"18":1,"19":1,"23":1,"25":2,"30":1,"33":1,"35":1,"42":5,"44":1,"55":1,"63":1,"87":1,"104":1,"137":1}}],["html5",{"2":{"37":1}}],["html",{"2":{"19":5,"37":3,"39":1,"41":1,"45":1,"141":1}}],["h1",{"2":{"18":2,"19":2,"137":2}}],["highly",{"2":{"19":1}}],["high",{"2":{"12":1,"13":1}}],["d6f9be5af2565060d572a08f6e5f75498ea4c6a3d2cf77e26f3e3ffff4b6e244",{"2":{"65":2,"78":2}}],["dx",{"2":{"44":1}}],["draft",{"2":{"43":1}}],["draw",{"2":{"42":1}}],["duration",{"2":{"29":1}}],["dao",{"2":{"25":1}}],["daoproposals",{"2":{"25":1}}],["dataset",{"2":{"146":1}}],["datasets",{"2":{"13":1}}],["data",{"0":{"20":1,"44":1},"1":{"21":1},"2":{"10":1,"12":3,"13":1,"17":2,"18":2,"19":6,"20":2,"21":2,"29":1,"36":3,"37":4,"38":2,"39":3,"42":3,"43":3,"44":2,"65":6,"78":6,"136":1,"137":1,"141":1}}],["did",{"2":{"80":1,"120":1}}],["direction",{"0":{"69":1},"2":{"69":1}}],["digest",{"2":{"65":2,"78":2}}],["digits",{"2":{"64":1}}],["difference",{"2":{"47":1,"80":1,"120":1}}],["different",{"2":{"19":1,"23":2,"30":1,"31":1,"37":1,"38":1}}],["diagram",{"2":{"23":1}}],["dive",{"2":{"21":1}}],["diverse",{"2":{"13":1}}],["div",{"2":{"19":6,"37":2,"38":2,"41":1,"42":2}}],["discord",{"2":{"42":1}}],["discussed",{"2":{"41":1}}],["dist",{"2":{"42":1}}],["distinguishing",{"2":{"21":1}}],["distinguish",{"2":{"19":1}}],["displaymode=",{"2":{"42":1}}],["displays",{"2":{"37":1}}],["display",{"2":{"36":1,"38":1}}],["displayed",{"2":{"19":1,"37":2}}],["dynamic",{"2":{"19":1,"37":1}}],["document",{"2":{"37":2}}],["documentation",{"2":{"23":1}}],["docs",{"2":{"18":2,"23":2,"33":1,"35":1,"137":2}}],["do",{"2":{"18":1,"39":1,"42":1,"136":1}}],["doors",{"2":{"12":1}}],["done",{"2":{"0":1,"9":1,"15":1,"17":1,"36":1,"38":1,"80":2,"120":2,"121":1,"146":1,"150":2,"154":1,"161":2}}],["delta",{"2":{"65":1,"78":1,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["deltas",{"2":{"65":2,"78":2}}],["decimal",{"2":{"64":1}}],["decentralized",{"2":{"13":1,"20":1}}],["debug",{"2":{"45":1}}],["detection",{"2":{"41":3,"45":1}}],["determine",{"2":{"19":1}}],["described",{"2":{"36":1}}],["description",{"0":{"33":1,"35":1,"47":1,"55":1,"62":1,"72":1,"80":1,"87":1,"95":1,"104":1,"112":1,"120":1,"128":1,"136":1,"144":1,"152":1},"1":{"63":1},"2":{"18":2,"45":1,"51":1,"52":1,"53":1,"59":1,"60":1,"67":1,"68":1,"69":1,"70":1,"74":1,"84":1,"85":1,"91":1,"92":1,"93":1,"99":1,"100":1,"101":1,"102":1,"108":1,"109":1,"110":1,"116":1,"117":1,"118":4,"124":1,"125":1,"126":1,"132":1,"133":1,"134":1,"137":2,"140":1,"141":2,"142":1,"146":1,"148":1,"149":1,"150":1,"156":1,"157":1,"158":1,"159":1,"160":1,"161":1}}],["deno",{"2":{"30":2}}],["defibox",{"2":{"55":1,"60":1}}],["defined",{"2":{"37":1}}],["define",{"2":{"28":1,"38":2,"43":2,"64":2}}],["defines",{"2":{"19":1,"37":1}}],["default",{"2":{"29":1,"30":1,"77":1,"78":1,"157":1,"158":1,"159":1,"160":1}}],["depositargs",{"2":{"96":1}}],["depositing",{"2":{"95":1}}],["deposited",{"2":{"95":1,"100":1,"101":1,"128":1}}],["deposit",{"0":{"94":1},"1":{"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1},"2":{"95":1,"96":1,"128":1}}],["depoloyed",{"2":{"25":1}}],["deployed",{"2":{"25":1}}],["depicts",{"2":{"19":1}}],["depending",{"2":{"9":2,"23":1}}],["democratization",{"2":{"13":1}}],["developing",{"2":{"25":1}}],["developers",{"2":{"13":2}}],["developed",{"2":{"12":1}}],["development",{"0":{"14":1},"2":{"12":1}}],["3600",{"2":{"146":1,"154":1}}],["32",{"2":{"65":1,"78":1}}],["387",{"2":{"65":1,"78":1}}],["31",{"2":{"49":1,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["378332",{"2":{"49":1}}],["3322",{"2":{"49":1}}],["33",{"2":{"44":1,"65":1,"78":1}}],["34",{"2":{"44":1}}],["39",{"2":{"44":2}}],["3",{"0":{"9":1},"2":{"15":3,"18":1,"42":1,"44":1,"65":2,"78":2,"137":1}}],["24",{"2":{"65":2,"78":2,"106":1}}],["20",{"2":{"158":1}}],["207",{"2":{"65":2,"78":2}}],["2024",{"2":{"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["2021",{"2":{"44":4}}],["26",{"2":{"49":1}}],["288",{"2":{"44":1}}],["2",{"0":{"8":1},"2":{"15":1,"44":3,"65":1,"78":1,"106":1,"146":1,"154":3}}],["19",{"2":{"106":1}}],["196109235",{"2":{"65":1,"78":1}}],["196109234",{"2":{"65":1,"78":1}}],["176",{"2":{"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["180000000000000003000000000000000100000000000000044546580000000020420853419afb52000000",{"2":{"65":2,"78":2}}],["18c35c04fce3dbbfee0dea46707003c4897bb3c02766a69936c3ceb0bb836c99",{"2":{"65":4,"78":4}}],["15",{"2":{"65":2,"78":2}}],["137520447",{"2":{"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["137868012",{"2":{"65":3,"78":3}}],["13",{"2":{"44":2}}],["11",{"2":{"44":1}}],["128",{"2":{"65":1,"78":1}}],["12",{"2":{"44":1,"65":3,"73":1,"78":3}}],["1630",{"2":{"49":1}}],["16",{"2":{"44":3,"65":1,"78":1}}],["10",{"2":{"18":1,"29":1,"44":2,"77":1,"137":1}}],["1001",{"2":{"44":1}}],["1000",{"2":{"42":1}}],["10000",{"2":{"33":1}}],["100",{"2":{"18":1,"137":1}}],["1",{"0":{"7":1},"2":{"15":3,"18":1,"33":1,"42":7,"44":4,"45":4,"65":3,"78":4,"96":1,"137":1,"145":1,"146":8,"157":1}}],["ls",{"2":{"42":7}}],["llm",{"2":{"21":1}}],["ll",{"2":{"20":1}}],["locked",{"2":{"80":2,"120":2}}],["localstoragecache",{"2":{"31":3}}],["local",{"0":{"14":1}}],["log",{"2":{"42":6,"48":1,"56":1,"88":1,"105":1,"113":1,"129":1,"153":1}}],["look",{"2":{"37":1,"44":1}}],["loaded",{"2":{"19":3,"72":1}}],["load",{"2":{"19":1,"37":1,"42":1}}],["lead",{"2":{"44":1}}],["leading",{"2":{"12":1,"13":1}}],["length",{"2":{"42":2}}],["level",{"2":{"18":1,"64":1,"81":1,"88":1,"121":1,"129":1,"137":1}}],["leveraging",{"2":{"13":1,"20":1}}],["lets",{"2":{"36":1}}],["let",{"2":{"15":1,"21":1,"42":4}}],["laion",{"2":{"146":1}}],["lastname",{"2":{"42":1}}],["layout",{"2":{"37":1}}],["latest",{"2":{"23":1}}],["language",{"2":{"21":1}}],["large",{"2":{"19":1}}],["labeled",{"2":{"44":1}}],["labelstudio",{"2":{"42":3,"146":1}}],["labeling",{"2":{"41":2,"43":1,"45":1}}],["label",{"0":{"41":1},"1":{"42":1,"43":1,"44":1,"45":1},"2":{"17":1,"19":4,"36":1,"41":6,"42":9,"44":1,"45":1}}],["labor",{"2":{"12":1}}],["lack",{"2":{"12":1}}],["limit",{"0":{"77":1,"158":1}}],["list",{"2":{"42":1,"74":1,"150":1,"161":1}}],["library",{"2":{"41":1,"42":1}}],["literals",{"2":{"38":1}}],["line",{"2":{"42":1}}],["lines",{"2":{"4":1}}],["link",{"2":{"42":1,"55":1}}],["linked",{"2":{"23":4}}],["like",{"2":{"10":1,"17":1,"37":1,"38":1,"44":1}}],["lt",{"2":{"2":1,"18":2,"19":33,"37":4,"38":4,"39":4,"42":20,"74":2,"137":2,"146":2,"150":1,"161":2}}],["javascript",{"2":{"37":1,"38":1}}],["java",{"2":{"30":2}}],["jpg",{"2":{"15":3,"44":1}}],["jungle4",{"2":{"7":1,"18":1,"25":2,"48":1,"137":1,"153":1}}],["just",{"2":{"4":1,"21":1,"37":1}}],["json",{"2":{"42":3,"43":1,"45":2,"141":2}}],["jsdelivr",{"2":{"42":1}}],["js",{"2":{"3":1,"30":3,"42":3}}],["ground",{"2":{"44":1}}],["group",{"2":{"23":1}}],["g",{"2":{"42":1}}],["generated",{"2":{"43":1}}],["generally",{"2":{"30":1}}],["getcampaignbyid",{"0":{"143":1},"1":{"144":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":1},"2":{"145":1}}],["getcampaigns",{"0":{"151":1},"1":{"152":1,"153":1,"154":1,"155":1,"156":1,"157":1,"158":1,"159":1,"160":1,"161":1},"2":{"8":1,"153":2}}],["getpendinpayments",{"0":{"111":1},"1":{"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1}}],["getpendingpayments",{"2":{"81":1,"113":1,"121":1}}],["getprice",{"0":{"54":1},"1":{"55":1,"56":1,"57":1,"58":1,"59":1,"60":1},"2":{"56":2}}],["gettablerowsresponse",{"2":{"74":1,"161":1}}],["getting",{"0":{"4":1},"1":{"5":1,"6":1,"7":1,"8":1,"9":1,"10":1}}],["getvaccounts",{"0":{"103":1},"1":{"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1},"2":{"73":1,"81":1,"88":1,"96":1,"105":1,"113":1,"121":1,"129":1}}],["getvaccount",{"2":{"47":1}}],["getbalance",{"0":{"46":1},"1":{"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1},"2":{"48":2,"64":1}}],["get",{"2":{"4":1,"39":3,"55":1}}],["glossary",{"2":{"26":1}}],["global",{"2":{"13":1,"30":1,"65":2,"78":2}}],["given",{"2":{"23":1,"43":1,"112":1,"136":1,"144":1}}],["github",{"2":{"19":1,"21":1}}],["gathering",{"2":{"21":1}}],["gathered",{"2":{"12":1}}],["gateway",{"2":{"19":1}}],["guide",{"2":{"9":1,"18":1,"19":1,"20":1,"36":1,"136":1}}],["gt",{"2":{"2":1,"18":2,"19":33,"37":4,"38":4,"39":4,"42":23,"74":2,"81":1,"137":2,"146":2,"150":1,"161":2}}],["ms",{"2":{"42":2}}],["memo",{"2":{"65":2,"78":2}}],["memorycache",{"2":{"31":3}}],["method",{"2":{"52":1,"53":1}}],["menu",{"2":{"42":1}}],["mentioned",{"2":{"23":1}}],["means",{"2":{"38":1}}],["mechanigms",{"2":{"31":1}}],["mdn",{"2":{"30":1}}],["min",{"2":{"42":1}}],["minutes",{"2":{"29":1}}],["milliseconds",{"2":{"29":1}}],["might",{"2":{"3":1,"9":1}}],["mt",{"2":{"19":1}}],["must",{"2":{"19":2,"23":1,"84":1,"91":1,"99":1,"108":1,"116":1,"124":1,"132":1}}],["muffin",{"2":{"19":9,"21":1}}],["multiple",{"2":{"15":1,"19":1}}],["my",{"2":{"18":1,"137":1}}],["max",{"2":{"146":1,"150":1,"154":1,"161":1}}],["maxtasktime",{"2":{"141":1}}],["maxsubmissions=",{"2":{"42":1}}],["maximum",{"2":{"18":1,"137":1,"141":1,"150":1,"158":1,"161":1}}],["many",{"2":{"21":2}}],["manager",{"2":{"5":1}}],["material",{"2":{"21":1}}],["making",{"2":{"19":1}}],["make",{"2":{"15":1,"67":1}}],["markdown",{"2":{"18":1,"137":1}}],["main",{"2":{"17":1,"37":1,"42":2,"80":1,"120":1}}],["mainnet",{"2":{"15":1,"25":1}}],["moonwalker",{"2":{"44":3}}],["most",{"2":{"24":1}}],["model",{"2":{"21":2,"44":4}}],["models",{"2":{"12":1,"13":1,"20":1}}],["move",{"2":{"10":1,"19":1}}],["moreover",{"2":{"12":1}}],["more",{"2":{"2":1,"10":2,"21":1,"23":1,"30":1,"33":1,"35":1,"53":1,"65":1,"70":1,"74":2,"85":1,"93":1,"102":1,"126":1,"134":1,"142":1,"154":1,"161":2}}],["\twithdraw",{"2":{"129":1}}],["\twalletplugin",{"2":{"15":1,"18":1,"45":1,"64":1,"81":1,"88":1,"121":1,"129":1,"137":1}}],["\tpayout",{"2":{"121":1}}],["\tpermission",{"2":{"15":1,"18":1,"45":1,"64":1,"81":1,"88":1,"121":1,"129":1,"137":1}}],["\tdeposit",{"2":{"96":1}}],["\tdirection",{"2":{"64":1}}],["\tvaccountid",{"2":{"81":1,"113":1,"121":1}}],["\tvtransfer",{"2":{"73":1}}],["\tquantity",{"2":{"73":1}}],["\tto",{"2":{"73":1}}],["\ttype",{"2":{"45":1,"64":1,"81":1,"88":1,"96":1,"121":1,"129":1,"145":2}}],["\tawait",{"2":{"81":1}}],["\tamount",{"2":{"64":1}}],["\tactor",{"2":{"15":1,"18":1,"45":1,"64":1,"73":1,"81":1,"88":1,"121":1,"129":1,"137":1}}],["\tgetcampaignbyid",{"2":{"145":1}}],["\tgetcampaigns",{"2":{"8":1}}],["\tgetpendingpayments",{"2":{"81":1,"113":1,"121":1}}],["\tgetvaccounts",{"2":{"73":1,"81":1,"88":1,"96":1,"105":1,"113":1,"121":1,"129":1}}],["\tgetbalance",{"2":{"64":1}}],["\tswap",{"2":{"64":1}}],["\tsession",{"2":{"15":1,"45":1,"64":1,"81":1,"88":1,"121":1,"129":1}}],["\tbalance",{"2":{"48":3}}],["\tclaim",{"2":{"81":1}}],["\tclient",{"2":{"18":1,"45":1,"64":1,"73":2,"81":1,"113":1,"121":1,"137":1}}],["\tcampaign",{"2":{"18":1,"45":1,"137":1}}],["\tchain",{"2":{"15":1,"18":1,"45":1,"64":1,"81":1,"88":1,"121":1,"129":1,"137":1}}],["\tcreatecampaign",{"2":{"45":1}}],["\tcreateclient",{"2":{"7":2,"8":1,"15":1,"45":1,"64":1,"73":1,"81":1,"88":1,"96":1,"105":1,"113":1,"121":1,"129":1,"145":1}}],["\tcreatevaccount",{"2":{"15":1,"88":1}}],["\teos",{"2":{"7":1,"8":1,"45":1}}],["\tjungle4",{"2":{"7":1,"15":1,"64":1,"73":1,"81":1,"88":1,"96":1,"105":1,"113":1,"121":1,"129":1,"145":1}}],["\t",{"2":{"2":1,"15":1,"18":1,"43":5,"44":10,"45":1,"64":1,"81":1,"88":1,"105":1,"113":1,"121":1,"129":1,"137":1}}],["\t\tqualifications",{"2":{"45":1}}],["\t\testimated",{"2":{"18":1,"45":1,"137":1}}],["\t\texample",{"2":{"18":1,"45":1,"137":1}}],["\t\tcategory",{"2":{"18":1,"45":1,"137":1}}],["\t\timage",{"2":{"18":1,"45":1,"137":1}}],["\t\tinput",{"2":{"18":1,"45":1,"137":1}}],["\t\tinstructions",{"2":{"18":1,"45":1,"137":1}}],["\t\toutput",{"2":{"18":1,"45":1,"137":1}}],["\t\ttemplate",{"2":{"18":1,"45":1,"137":1}}],["\t\ttitle",{"2":{"18":1,"45":1,"137":1}}],["\t\treward",{"2":{"18":1,"45":1,"137":1}}],["\t\tmaxtasktime",{"2":{"18":1,"45":1,"137":1}}],["\t\tversion",{"2":{"18":1,"45":1,"137":1}}],["\t\tdescription",{"2":{"18":1,"45":1,"137":1}}],["\t\t\t\t\t\t\t\t\t\t\t\t",{"2":{"43":1}}],["\t\t\t\t\t\t\t\t\t\t\t",{"2":{"43":8}}],["\t\t\t\t\t\t\t\t\t\t",{"2":{"43":12}}],["\t\t\t\t\t\t\t\t\t",{"2":{"43":10}}],["\t\t\t\t\t\t\t\t",{"2":{"43":21}}],["\t\t\t\t\t\t\t",{"2":{"43":5}}],["\t\t\t\t\t\t",{"2":{"43":4,"44":18}}],["\t\t\t\t\t",{"2":{"43":5,"44":21}}],["\t\t\t\t",{"2":{"43":6,"44":6}}],["\t\t\t\tnew",{"2":{"2":1}}],["\t\t\t",{"2":{"2":1,"43":8,"44":19}}],["\t\t\twalletplugins",{"2":{"2":1}}],["\t\t\tui",{"2":{"2":1}}],["\t\t\tchains",{"2":{"2":1}}],["\t\t\tappname",{"2":{"2":1}}],["\t\t",{"2":{"2":2,"18":13,"43":6,"44":7,"137":13}}],["n",{"0":{"59":1}}],["num",{"2":{"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1,"146":1,"150":1,"154":1,"161":1}}],["number",{"2":{"15":1,"28":1,"43":4,"60":1,"68":1,"70":1,"77":1,"78":1,"85":1,"93":1,"102":1,"118":2,"126":1,"134":1,"141":1,"142":1,"149":2,"150":5,"157":2,"158":2,"161":5}}],["null",{"2":{"18":2,"28":1,"45":1,"65":14,"78":14,"82":4,"89":4,"97":4,"122":4,"130":4,"137":2,"138":4,"146":6}}],["npm",{"2":{"5":2,"42":1}}],["nessesary",{"2":{"95":1,"121":1}}],["net",{"2":{"42":1,"65":2,"78":2,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["network",{"2":{"7":2,"8":1,"13":1,"15":3,"17":1,"18":1,"20":2,"21":2,"25":4,"42":2,"47":1,"48":1,"72":1,"73":2,"87":2,"96":2,"104":2,"105":3,"113":3,"136":1,"145":2,"153":2}}],["next",{"0":{"10":1},"2":{"19":1,"74":2,"87":1,"104":1,"154":1,"161":2}}],["needed",{"2":{"30":1,"55":1}}],["needs",{"2":{"17":1,"20":1,"62":1}}],["need",{"2":{"9":1,"17":1,"18":1,"19":1,"37":2,"38":2,"87":1,"104":1,"136":1}}],["necessary",{"2":{"3":1}}],["newly",{"2":{"15":1}}],["new",{"2":{"1":2,"2":3,"12":1,"15":4,"18":2,"31":3,"42":2,"45":2,"64":2,"81":2,"87":1,"88":2,"121":2,"129":2,"137":2}}],["native",{"2":{"3":1}}],["namely",{"2":{"47":1}}],["name=",{"2":{"19":2,"39":1,"42":3}}],["name",{"2":{"2":1,"15":1,"18":1,"23":2,"38":4,"39":1,"43":4,"44":6,"52":5,"64":1,"65":2,"73":1,"78":2,"81":1,"88":2,"92":1,"96":1,"104":1,"106":1,"109":1,"121":1,"125":1,"129":1,"133":1,"137":1,"146":1,"154":1}}],["nonce",{"2":{"106":1,"110":2}}],["no",{"2":{"15":2,"42":1,"59":1}}],["now",{"2":{"10":1,"18":1,"19":1,"39":1}}],["node",{"2":{"3":1,"30":4}}],["note",{"2":{"21":1,"43":1,"52":1,"53":1,"62":1,"63":1}}],["not",{"2":{"2":1,"30":1,"37":1,"55":1,"121":1}}],["==",{"2":{"42":1}}],["===",{"2":{"42":2}}],["=",{"2":{"1":2,"2":4,"7":2,"8":2,"15":4,"18":3,"31":1,"42":14,"45":7,"48":3,"56":1,"64":7,"73":4,"81":6,"88":7,"96":4,"105":3,"113":4,"121":7,"129":6,"137":3,"145":2,"153":2}}],["false",{"2":{"44":2,"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1,"159":1}}],["failed",{"2":{"42":1}}],["favorite",{"2":{"5":1}}],["free",{"2":{"65":2,"78":2}}],["friendly",{"2":{"24":1}}],["from",{"2":{"1":2,"2":4,"7":2,"8":2,"15":3,"18":3,"19":1,"21":1,"23":2,"31":1,"37":1,"42":1,"43":2,"44":3,"45":2,"48":1,"52":1,"56":1,"62":1,"64":2,"65":2,"72":2,"73":1,"78":2,"81":2,"88":2,"92":1,"95":1,"96":1,"105":1,"109":1,"112":1,"113":1,"121":2,"125":1,"128":1,"129":2,"133":1,"136":1,"137":3,"144":1,"145":1,"150":1,"152":1,"153":1,"160":1,"161":1}}],["final",{"2":{"21":1}}],["find",{"2":{"19":1}}],["fields",{"2":{"39":1,"110":2,"118":1}}],["field",{"2":{"19":1,"39":2,"146":2}}],["filter",{"2":{"42":1}}],["filled",{"2":{"19":1}}],["fill",{"2":{"19":1}}],["file",{"2":{"19":1,"45":3}}],["firstname",{"2":{"42":1}}],["first",{"0":{"17":1},"1":{"18":1},"2":{"10":1,"18":2,"20":1,"31":1,"137":1}}],["funds",{"2":{"80":1,"87":1,"95":3,"100":1,"101":1,"104":1,"120":1,"128":3}}],["function",{"2":{"0":1,"1":1,"42":6,"47":1,"55":2,"59":1,"62":2,"64":1,"80":1,"87":1,"104":1,"112":1,"120":1,"121":1,"136":1,"144":1,"152":1}}],["functions",{"2":{"0":1,"33":1,"35":1}}],["full",{"2":{"19":1}}],["future",{"2":{"12":1}}],["fee",{"2":{"65":2,"78":2}}],["feepool",{"2":{"25":3}}],["few",{"2":{"4":1}}],["fetching",{"2":{"152":1}}],["fetched",{"2":{"52":1}}],["fetchprovideroptions",{"2":{"28":1}}],["fetchprovider",{"0":{"30":1},"2":{"28":1}}],["fetch",{"2":{"3":1,"30":9,"74":2,"160":1,"161":2}}],["folder",{"2":{"21":1}}],["follows",{"2":{"23":1,"33":1,"35":1}}],["follow",{"2":{"19":1}}],["following",{"2":{"10":1,"18":1,"19":1,"23":1,"39":1,"45":1,"55":1,"110":2,"118":1,"136":1,"161":1}}],["found",{"2":{"2":1,"15":2,"42":1,"63":1,"87":1,"104":1}}],["forcedev1234",{"2":{"65":4,"78":4,"105":1,"106":1,"113":1}}],["forceresize",{"2":{"42":1}}],["force",{"2":{"25":1}}],["for=",{"2":{"19":2}}],["format",{"2":{"36":1}}],["form",{"2":{"19":4,"39":1}}],["for",{"0":{"21":1},"2":{"2":1,"15":2,"17":4,"18":2,"19":6,"20":1,"21":4,"23":1,"25":3,"29":1,"30":2,"33":1,"35":1,"37":1,"38":2,"40":1,"41":4,"42":1,"43":1,"45":4,"52":1,"55":1,"59":1,"72":1,"80":1,"87":2,"95":1,"104":1,"112":2,"118":4,"120":1,"121":1,"137":2,"141":9,"146":1,"150":2,"152":1,"160":1,"161":2}}],["wrong",{"2":{"42":1}}],["www",{"2":{"25":1,"55":1,"87":1,"104":1}}],["words",{"2":{"65":1,"78":1}}],["world",{"2":{"37":2,"39":2}}],["worker",{"2":{"39":1}}],["workers",{"2":{"17":3,"19":4,"36":1,"39":1}}],["working",{"2":{"23":1}}],["work",{"2":{"17":1}}],["workforce",{"2":{"13":1}}],["would",{"2":{"37":2,"38":2}}],["wombat",{"2":{"24":1}}],["wooooho",{"2":{"18":1}}],["was",{"2":{"44":1}}],["want",{"2":{"21":2,"38":1,"42":2}}],["way",{"2":{"17":1,"20":1,"38":2}}],["wallets",{"0":{"24":1},"2":{"24":2}}],["walletpluginanchor",{"2":{"2":2}}],["walletplugin",{"0":{"63":1},"2":{"1":1,"63":2}}],["walletpluginprivatekey",{"2":{"1":2,"15":2,"18":2,"45":2,"63":1,"64":2,"81":2,"88":2,"121":2,"129":2,"137":2}}],["wallet",{"0":{"2":1},"2":{"0":1,"1":2,"2":3,"15":2,"18":1,"24":2,"45":1,"47":2,"63":1,"64":1,"81":1,"84":1,"88":1,"121":1,"128":1,"129":1,"137":1}}],["width",{"2":{"43":4,"44":3}}],["window",{"2":{"30":1,"42":4}}],["will",{"2":{"12":2,"19":2,"21":1,"23":1,"33":1,"35":1,"36":3,"38":2,"39":2,"41":3,"43":3,"44":1,"55":1,"80":1,"87":3,"104":2,"120":1,"141":1}}],["withdrawargs",{"2":{"129":1}}],["withdrawn",{"2":{"128":1}}],["withdraw",{"0":{"127":1},"1":{"128":1,"129":1,"130":1,"131":1,"132":1,"133":1,"134":1},"2":{"128":1,"129":1}}],["within",{"2":{"23":2}}],["with",{"2":{"0":1,"3":1,"4":1,"9":1,"13":1,"15":2,"19":1,"23":5,"24":1,"25":1,"33":1,"35":1,"36":3,"37":2,"38":2,"39":2,"42":1,"51":1,"53":1,"62":1,"67":2,"72":2,"84":2,"91":1,"99":1,"104":1,"108":1,"116":1,"124":1,"132":1,"136":1,"144":1,"152":1,"161":1}}],["who",{"2":{"80":1,"120":1}}],["while",{"2":{"31":1}}],["which",{"2":{"15":1,"23":1,"37":1,"52":1,"53":1,"92":1,"109":1,"125":1,"133":1,"141":1}}],["where",{"2":{"80":1,"100":1,"120":1}}],["when",{"2":{"19":2,"38":2,"39":1,"112":1}}],["whether",{"2":{"19":2,"20":1,"159":1,"160":1}}],["why",{"0":{"11":1},"1":{"12":1,"13":1}}],["what",{"0":{"10":1,"37":1},"2":{"37":2,"44":1,"47":1}}],["wharfkit",{"2":{"1":1,"2":5,"9":1,"15":1,"18":1,"33":1,"35":1,"45":1,"63":1,"64":1,"81":1,"88":1,"121":1,"129":1,"137":1}}],["went",{"2":{"42":1}}],["webrenderer",{"2":{"2":4}}],["web",{"2":{"2":2}}],["we",{"2":{"1":1,"10":2,"19":9,"20":1,"24":1,"28":1,"36":2,"37":2,"38":4,"39":4,"41":3}}],["ocr",{"2":{"42":2,"146":1}}],["overview",{"2":{"36":1}}],["older",{"2":{"30":2}}],["optional",{"0":{"77":1,"78":1},"2":{"28":1,"152":1}}],["options",{"0":{"28":1},"2":{"19":1,"28":1}}],["opensource",{"2":{"44":1}}],["open",{"2":{"20":1,"36":1}}],["owner",{"2":{"146":1,"150":2,"154":1,"161":2}}],["own",{"0":{"40":1},"2":{"19":1,"36":1}}],["other",{"2":{"19":1,"21":2,"23":4,"30":1,"63":1}}],["out",{"2":{"21":2,"40":1,"92":1,"109":1,"112":1,"121":1,"125":1,"129":1,"133":1}}],["output",{"0":{"44":1,"49":1,"57":1,"65":1,"82":1,"89":1,"97":1,"106":1,"114":1,"122":1,"130":1,"138":1,"146":1,"154":1},"2":{"19":2,"43":2,"44":1,"141":2,"146":1}}],["our",{"2":{"9":1,"10":1,"15":1,"19":7,"21":2,"42":1}}],["only",{"2":{"84":1}}],["onlabelstudioload",{"2":{"42":1}}],["onupdateannotation",{"2":{"42":1}}],["onsubmitannotation",{"2":{"42":1}}],["on",{"2":{"5":1,"9":3,"10":2,"13":1,"17":1,"18":1,"19":2,"21":1,"23":1,"25":3,"30":2,"33":1,"39":2,"47":1,"72":1,"87":1,"104":1,"120":1,"136":1}}],["one",{"2":{"2":1,"21":1,"23":1,"72":2}}],["offers",{"2":{"20":1}}],["often",{"2":{"12":1}}],["of",{"2":{"4":1,"9":1,"10":1,"12":6,"13":3,"15":2,"17":3,"18":5,"19":5,"20":1,"21":1,"23":4,"24":1,"26":1,"30":3,"31":2,"36":5,"37":2,"38":2,"39":1,"41":2,"42":1,"43":1,"47":8,"52":1,"53":3,"55":1,"60":1,"63":2,"68":1,"69":1,"74":3,"101":1,"110":6,"117":1,"118":6,"137":5,"141":5,"149":1,"150":6,"157":1,"158":1,"159":1,"161":8}}],["ordinal",{"2":{"65":6,"78":6}}],["order",{"2":{"19":1,"23":1,"38":1,"159":1}}],["original",{"2":{"43":4}}],["org",{"2":{"43":1}}],["or",{"2":{"0":1,"17":1,"19":6,"20":1,"21":1,"23":2,"31":2,"55":1,"62":1,"64":1,"69":1,"95":1,"128":1}}],["objects",{"2":{"36":1,"118":4}}],["object",{"2":{"0":1,"30":2,"33":4,"35":4,"41":3,"43":5,"45":1,"51":1,"52":1,"53":5,"62":3,"63":2,"67":1,"70":1,"82":2,"84":1,"85":1,"87":1,"89":2,"91":1,"93":1,"97":2,"99":1,"102":1,"108":1,"110":1,"116":1,"118":1,"122":2,"124":1,"126":1,"130":2,"132":1,"134":1,"138":2,"142":1,"154":3}}],["pendinpayments",{"2":{"92":1,"109":1,"125":1,"133":1}}],["pendingpayments",{"2":{"81":2,"113":2,"114":1,"118":1,"121":1}}],["pending",{"2":{"81":1,"112":2,"118":2,"121":2}}],["period",{"2":{"112":1}}],["perregion=",{"2":{"42":1}}],["person",{"2":{"38":2}}],["perform",{"2":{"36":1,"39":1}}],["performance",{"2":{"13":1}}],["per",{"2":{"18":1,"137":1,"158":1}}],["permissionlevel",{"2":{"35":1}}],["permissions",{"2":{"23":8}}],["permission",{"2":{"15":1,"18":1,"23":3,"45":1,"64":2,"65":2,"78":2,"81":2,"88":2,"121":2,"129":2,"137":1}}],["pk",{"2":{"42":1}}],["p",{"2":{"37":2,"38":2}}],["public",{"2":{"23":1}}],["put",{"2":{"23":1,"112":1}}],["push",{"2":{"23":1}}],["pipeline",{"2":{"21":1}}],["pinata",{"2":{"19":1}}],["piece",{"2":{"17":2}}],["pivotal",{"2":{"12":1}}],["please",{"2":{"21":1,"42":2}}],["platform",{"2":{"72":2}}],["playing",{"2":{"21":1}}],["placeholder=",{"2":{"39":1,"42":1}}],["placeholder",{"2":{"15":3,"19":1,"38":2,"39":2}}],["placeholders",{"0":{"38":1},"2":{"15":1,"19":1,"38":1}}],["plugin",{"0":{"2":1},"2":{"1":2,"2":3,"15":1,"18":1,"45":1,"64":1,"81":1,"88":1,"121":1,"129":1,"137":1}}],["plugins",{"2":{"0":1,"63":2}}],["prebalance",{"2":{"64":1}}],["predictions",{"2":{"42":2,"44":1}}],["preview",{"2":{"40":1}}],["previous",{"2":{"36":1}}],["precision",{"2":{"33":2}}],["practical",{"2":{"21":1}}],["price",{"2":{"55":2,"56":2,"60":1}}],["primary",{"2":{"20":1}}],["privatekey",{"2":{"1":2,"15":1,"18":1,"45":1,"64":1,"81":1,"88":1,"121":1,"129":1,"137":1}}],["private",{"0":{"1":1},"2":{"0":1,"1":1,"15":1,"18":1,"23":4,"45":1,"63":1,"64":1,"81":1,"88":1,"121":1,"129":1,"137":1}}],["producer",{"2":{"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["project",{"2":{"44":1}}],["promise",{"2":{"42":2,"74":1,"150":1,"161":1}}],["provided",{"2":{"104":1}}],["provide",{"2":{"36":1}}],["provider",{"2":{"30":1}}],["property",{"2":{"29":1,"30":1,"31":2}}],["properties",{"2":{"28":1,"43":5,"53":2,"70":1,"74":1,"85":1,"93":1,"102":1,"126":1,"134":1,"142":1,"150":1,"161":1}}],["proposals",{"2":{"25":2}}],["protocol",{"2":{"23":1,"42":1}}],["processed",{"2":{"65":1,"78":1,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["processes",{"2":{"20":1}}],["process",{"2":{"12":1,"13":1,"36":1}}],["problems",{"0":{"12":1}}],["port",{"2":{"42":1}}],["potential",{"2":{"21":1}}],["power",{"2":{"13":1}}],["postmessage",{"2":{"42":1}}],["post",{"2":{"42":1}}],["poses",{"2":{"12":1}}],["possible",{"2":{"2":1}}],["polyfill",{"2":{"3":1}}],["pagination",{"2":{"152":1}}],["page",{"0":{"78":1,"157":1},"2":{"74":1,"157":1,"158":1,"161":1}}],["pages",{"2":{"10":1}}],["paused",{"2":{"146":1,"150":2,"154":1,"161":2}}],["paid",{"2":{"92":1,"109":1,"125":1,"133":1}}],["payments",{"2":{"81":2,"112":2,"118":2,"121":3,"129":1}}],["payoutargs",{"2":{"121":1}}],["payout",{"0":{"119":1},"1":{"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1},"2":{"80":1,"120":1,"121":2}}],["pay",{"2":{"72":1,"87":1,"95":1,"104":1,"112":1,"121":1,"129":1}}],["path",{"2":{"42":1}}],["panel",{"2":{"42":1}}],["parent",{"2":{"42":1}}],["parse",{"2":{"42":2}}],["parameters",{"0":{"50":1,"58":1,"66":1,"75":1,"83":1,"90":1,"98":1,"107":1,"115":1,"123":1,"131":1,"139":1,"147":1,"155":1},"1":{"51":1,"52":1,"59":1,"67":1,"68":1,"69":1,"76":1,"77":1,"78":1,"84":1,"91":1,"92":1,"99":1,"100":1,"101":1,"108":1,"109":1,"116":1,"117":1,"124":1,"125":1,"132":1,"133":1,"140":1,"141":1,"148":1,"149":1,"156":1,"157":1,"158":1,"159":1,"160":1},"2":{"59":1,"136":1,"152":1}}],["parameterize",{"2":{"38":1}}],["parameterizing",{"0":{"38":1}}],["paragraph",{"2":{"37":1}}],["participant",{"2":{"23":2}}],["particular",{"2":{"3":1}}],["passed",{"2":{"28":1,"31":1,"112":1}}],["passing",{"2":{"0":1,"1":1,"9":1}}],["package",{"2":{"5":1,"30":1,"33":1,"35":1}}],["packages",{"2":{"2":1}}],["cpu",{"2":{"65":1,"78":1}}],["cid",{"2":{"42":1}}],["c",{"2":{"42":2}}],["cdn",{"2":{"42":1}}],["css",{"2":{"37":1,"42":2}}],["certain",{"2":{"23":1}}],["chess",{"2":{"21":1}}],["check",{"2":{"21":2,"81":1,"121":2}}],["checks",{"2":{"21":1}}],["checkradio",{"2":{"19":2}}],["chihuahua",{"2":{"19":9,"21":1}}],["chatbots",{"2":{"146":1}}],["charge",{"2":{"13":1}}],["challenge",{"2":{"12":1}}],["chaindefinition",{"2":{"35":1}}],["chain",{"2":{"1":1,"15":1,"18":1,"35":1,"64":2,"81":2,"88":2,"121":2,"129":2,"137":1}}],["current",{"2":{"42":1,"55":1,"60":1}}],["custom",{"2":{"18":1,"37":1,"137":1}}],["cut",{"2":{"8":1,"15":1,"18":1,"137":1}}],["cryptonode42",{"2":{"48":1}}],["crowd",{"2":{"13":1}}],["creator",{"2":{"65":2,"78":2}}],["creates",{"2":{"136":1}}],["createvaccount",{"2":{"88":1}}],["createvaccountargs",{"2":{"88":1}}],["createaccount",{"0":{"86":1},"1":{"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1}}],["createcampaignargs",{"0":{"141":1},"2":{"45":2}}],["createcampaign",{"0":{"135":1},"1":{"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1},"2":{"18":2,"45":1,"137":2}}],["createclient",{"2":{"0":1,"1":3,"2":2,"7":2,"8":1,"15":1,"18":2,"31":2,"45":1,"48":2,"64":1,"73":1,"81":1,"88":1,"96":1,"105":1,"113":1,"121":1,"129":1,"137":2,"145":1,"153":2}}],["createbatch",{"2":{"15":2}}],["created",{"2":{"15":1,"17":1,"18":1,"19":2,"44":4,"52":1,"72":1,"88":1}}],["create",{"0":{"19":1},"2":{"13":1,"15":1,"19":3,"25":1,"36":1,"41":2,"42":3,"45":1,"64":2,"81":2,"87":2,"88":2,"104":1,"105":1,"113":1,"121":2,"129":2}}],["creation",{"2":{"12":1}}],["creating",{"0":{"17":1,"18":1,"40":1},"1":{"18":1},"2":{"10":1,"15":1,"19":2,"36":2,"95":1}}],["claimablepayments",{"2":{"114":1,"118":1}}],["claimable",{"2":{"81":1,"118":2,"121":1,"129":1}}],["claimargs",{"2":{"81":1}}],["claimed",{"2":{"80":1,"92":1,"109":1,"120":1,"125":1,"133":1}}],["claim",{"0":{"79":1},"1":{"80":1,"81":1,"82":1,"83":1,"84":1,"85":1},"2":{"80":2,"81":2,"84":1,"95":1,"112":1,"120":2,"121":1,"128":1,"129":1}}],["class",{"2":{"63":1}}],["classify",{"2":{"19":1}}],["classification",{"2":{"15":1}}],["class=",{"2":{"19":8}}],["closest",{"2":{"65":2,"78":2}}],["closed",{"2":{"12":1}}],["cloud",{"2":{"19":1}}],["clientopts",{"2":{"28":3}}],["client",{"0":{"7":1,"8":1,"28":1,"51":1,"67":1,"76":1,"84":1,"91":1,"99":1,"108":1,"116":1,"124":1,"132":1,"140":1,"148":1,"156":1},"2":{"1":1,"2":1,"7":2,"8":2,"10":1,"15":5,"18":1,"28":1,"31":2,"36":1,"39":1,"42":1,"45":2,"48":2,"51":2,"55":1,"62":2,"64":3,"67":3,"73":1,"76":1,"81":4,"84":1,"88":4,"91":1,"96":3,"99":1,"105":3,"108":1,"113":3,"116":1,"121":4,"124":1,"129":4,"132":1,"136":1,"137":1,"140":1,"144":1,"145":2,"148":1,"152":1,"153":2,"156":1}}],["call",{"2":{"64":1}}],["calling",{"2":{"55":1,"128":1}}],["called",{"2":{"36":1}}],["camapign",{"2":{"45":1}}],["campaignwithinfo",{"2":{"145":1}}],["campaignfile",{"2":{"45":2}}],["campaignid",{"2":{"15":1}}],["campaign",{"0":{"17":1,"18":1,"27":1,"141":1},"1":{"18":1},"2":{"10":1,"15":4,"17":1,"18":13,"19":4,"20":1,"45":4,"74":1,"136":4,"137":10,"141":9,"144":1,"145":2,"149":2,"150":8,"160":1,"161":8}}],["campaigns",{"2":{"8":1,"17":1,"19":1,"36":1,"74":4,"95":1,"140":1,"148":1,"150":1,"152":1,"153":2,"156":1,"157":1,"158":1,"159":1,"161":4}}],["catch",{"2":{"42":2}}],["category",{"2":{"18":1,"45":1,"137":1,"141":2,"146":1}}],["cache",{"2":{"28":1,"29":1,"31":2}}],["cacheimplementation",{"0":{"31":1},"2":{"28":1,"31":2}}],["capabilities",{"2":{"20":1}}],["case",{"2":{"9":1,"19":1,"20":1}}],["cancelled",{"2":{"42":1,"44":1}}],["can",{"2":{"0":1,"10":1,"15":1,"18":2,"19":7,"23":5,"24":1,"25":1,"28":2,"30":2,"31":1,"40":1,"43":1,"45":1,"53":2,"55":1,"63":2,"69":1,"72":2,"74":1,"80":1,"84":1,"112":1,"120":1,"128":1,"136":2,"161":1}}],["correlate",{"2":{"70":1,"85":1,"93":1,"102":1,"126":1,"134":1,"142":1}}],["corresponding",{"2":{"23":1}}],["count",{"2":{"44":1}}],["could",{"2":{"17":1}}],["column",{"2":{"42":1}}],["collect",{"2":{"17":1}}],["collecting",{"0":{"16":1},"2":{"18":1,"136":1}}],["collection",{"0":{"20":1},"1":{"21":1},"2":{"10":1,"15":1,"17":1,"19":1,"20":2,"23":1}}],["collaborative",{"2":{"13":1}}],["com",{"2":{"15":3,"30":1,"33":1,"35":1,"42":2,"44":1,"63":1}}],["components",{"2":{"36":1}}],["compared",{"2":{"23":1}}],["compatible",{"2":{"3":1}}],["compatibility",{"0":{"3":1}}],["completing",{"2":{"18":1,"137":1}}],["completes",{"2":{"112":1}}],["completely",{"2":{"20":1}}],["complete",{"2":{"18":2,"137":2}}],["completed",{"2":{"17":1,"44":1}}],["complicated",{"2":{"2":1}}],["conversational",{"2":{"146":1}}],["convert",{"2":{"53":1}}],["connected",{"2":{"67":1,"84":1,"91":1,"99":1,"108":1,"116":1,"124":1,"132":1}}],["connect",{"2":{"55":1,"64":1,"81":1,"88":1,"105":1,"113":1,"121":1,"129":1}}],["connects",{"2":{"13":1}}],["confirm",{"2":{"42":4}}],["config",{"2":{"42":1}}],["concepts",{"2":{"36":1}}],["conducting",{"2":{"20":1}}],["context",{"2":{"65":2,"78":2}}],["content",{"2":{"19":1,"146":1,"150":2,"154":1,"161":2}}],["contributing",{"2":{"146":1}}],["contribute",{"2":{"21":1}}],["controled",{"2":{"87":1,"104":1}}],["controls",{"2":{"42":1}}],["contracts",{"0":{"25":1},"2":{"25":4,"39":1}}],["contract",{"2":{"23":1,"25":1,"55":1,"65":2,"78":2,"87":1,"104":1,"106":1,"110":2,"146":1}}],["containing",{"2":{"110":2,"118":3}}],["container",{"2":{"41":1,"42":1}}],["contained",{"2":{"23":1,"42":1}}],["contains",{"2":{"19":1,"23":2,"33":1,"35":1,"70":1,"85":1,"93":1,"102":1,"126":1,"134":1,"142":1}}],["contain",{"2":{"15":1,"17":1,"19":1,"33":1,"41":1}}],["contingent",{"2":{"12":1}}],["console",{"2":{"42":8,"45":1,"48":1,"56":1,"65":2,"78":2,"88":1,"105":1,"113":1,"129":1,"153":1}}],["consuming",{"2":{"12":1}}],["constructor",{"2":{"28":1}}],["const",{"2":{"1":2,"2":4,"7":2,"8":2,"15":4,"18":3,"31":1,"42":5,"45":7,"48":3,"56":1,"64":7,"73":4,"81":6,"88":7,"96":4,"105":3,"113":4,"121":7,"129":6,"137":3,"145":2,"153":2}}],["code",{"2":{"4":1,"37":1,"65":5,"78":5,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["tx",{"2":{"88":2}}],["t5sp3tyxpo",{"2":{"44":2}}],["trx",{"2":{"65":2,"78":2}}],["truth",{"2":{"44":1}}],["true",{"2":{"42":6,"154":1,"160":1}}],["try",{"2":{"40":1,"42":1}}],["traces",{"2":{"65":1,"78":1,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["trained",{"2":{"13":1}}],["trainers",{"2":{"13":1}}],["training",{"0":{"21":1},"2":{"12":1,"13":1,"21":1}}],["transferred",{"2":{"80":1,"120":1}}],["transfer",{"2":{"72":2}}],["transact",{"2":{"35":1}}],["transactrevisions",{"2":{"35":1}}],["transactresult",{"2":{"35":1}}],["transactionresponse",{"2":{"65":1,"70":2,"85":1,"93":1,"102":1,"126":1,"134":1,"142":1}}],["transactionresult",{"2":{"35":3,"85":1,"93":1,"102":1,"126":1,"134":1,"142":1}}],["transaction",{"0":{"34":1},"1":{"35":1},"2":{"23":1,"35":3,"65":2,"70":4,"78":1,"82":1,"85":4,"87":1,"89":1,"93":4,"97":1,"102":4,"122":1,"126":4,"130":1,"134":4,"138":1,"142":4}}],["transactions",{"2":{"15":1,"23":2,"62":1,"63":3}}],["transcription",{"2":{"42":1}}],["transcriptions",{"2":{"21":1}}],["transcribe",{"2":{"17":1}}],["transcend",{"2":{"12":1}}],["transparent",{"2":{"13":1,"20":1}}],["transparency",{"2":{"12":1}}],["tags",{"2":{"41":1}}],["tag",{"2":{"37":2,"44":3}}],["table",{"2":{"23":2}}],["target",{"2":{"21":1}}],["taskdata",{"2":{"15":1}}],["task",{"2":{"15":6,"17":2,"18":6,"37":1,"39":1,"41":2,"42":3,"43":1,"44":1,"45":2,"80":3,"112":2,"120":3,"137":6,"141":7,"146":2,"150":2,"154":1,"161":2}}],["tasks",{"0":{"15":1},"2":{"15":4,"17":2,"18":3,"19":4,"25":4,"36":1,"80":1,"95":1,"120":1,"136":2,"137":1,"146":1,"150":2,"154":1,"161":2}}],["tutorial",{"2":{"21":1}}],["type",{"2":{"27":1,"31":1,"43":25,"44":3,"51":1,"52":1,"53":1,"60":1,"67":1,"68":1,"69":1,"70":1,"74":1,"76":1,"77":1,"78":1,"85":1,"93":1,"102":1,"110":1,"118":5,"126":1,"134":1,"140":1,"142":1,"148":1,"149":1,"150":1,"156":1,"157":1,"158":1,"159":1,"160":1,"161":1}}],["types",{"0":{"26":1},"1":{"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1},"2":{"19":1,"26":1}}],["type=",{"2":{"19":3,"39":2}}],["typical",{"2":{"19":1}}],["ticket",{"2":{"42":1}}],["title",{"2":{"19":3,"45":1,"141":2,"146":1}}],["timeout",{"2":{"42":2,"80":2,"120":2}}],["times",{"2":{"15":1}}],["time",{"2":{"12":1,"18":3,"44":1,"45":1,"65":3,"78":3,"80":1,"82":1,"89":1,"97":1,"112":1,"120":1,"122":1,"130":1,"137":3,"138":1,"141":4,"146":2,"150":2,"154":1,"161":2}}],["tethertether",{"2":{"55":1}}],["test",{"2":{"39":2}}],["testnet",{"2":{"25":1}}],["textarea",{"2":{"42":1}}],["text",{"2":{"37":2,"39":3,"42":3,"43":1}}],["terminology",{"0":{"22":1},"1":{"23":1,"24":1,"25":1}}],["templates",{"0":{"38":1,"39":1},"2":{"18":1,"19":2,"40":1,"137":1}}],["template",{"0":{"19":1,"37":1,"40":1,"42":1},"2":{"15":1,"17":1,"18":2,"19":11,"36":5,"37":7,"38":7,"39":3,"40":1,"43":1,"137":2,"141":2,"146":2}}],["technology",{"2":{"12":1}}],["two",{"2":{"2":1}}],["total",{"2":{"118":2,"146":2,"150":5,"154":2,"161":5}}],["totalefxpending",{"2":{"114":1,"118":1}}],["totalefxclaimable",{"2":{"81":1,"114":1,"118":1}}],["tostring",{"2":{"45":3,"48":3,"53":1}}],["toname=",{"2":{"42":2}}],["tool",{"2":{"36":1,"40":1}}],["tokens",{"2":{"33":1,"62":1,"68":1,"72":3,"110":2,"112":1}}],["token",{"2":{"25":3,"55":1,"60":1}}],["tokenpocket",{"2":{"24":1}}],["todo",{"2":{"16":1,"18":3,"137":3}}],["topics",{"2":{"10":1}}],["to",{"2":{"0":1,"1":2,"2":1,"3":1,"5":1,"10":2,"12":1,"13":1,"15":6,"17":4,"18":5,"19":7,"20":1,"21":4,"23":12,"24":1,"28":2,"29":1,"30":2,"31":2,"36":2,"37":5,"38":6,"39":1,"41":6,"42":5,"43":3,"44":3,"45":1,"47":2,"51":1,"52":1,"53":2,"55":2,"60":1,"62":4,"63":3,"64":1,"65":2,"67":1,"68":1,"70":1,"72":4,"74":2,"78":2,"80":2,"85":1,"87":4,"93":1,"95":4,"101":1,"102":1,"104":4,"112":1,"120":2,"121":1,"126":1,"128":3,"134":1,"136":2,"137":3,"140":1,"142":1,"146":1,"148":1,"149":1,"156":1,"157":1,"158":1,"159":1,"160":1,"161":2}}],["thus",{"2":{"112":1}}],["three",{"2":{"28":1,"31":1,"53":1}}],["threshold",{"2":{"23":1}}],["throw",{"2":{"2":1,"15":2}}],["through",{"2":{"1":1,"9":1,"13":1,"15":1,"20":1,"36":1}}],["that",{"2":{"10":1,"12":1,"13":2,"15":1,"17":2,"19":2,"21":1,"23":2,"24":1,"25":3,"28":1,"36":2,"37":7,"38":2,"41":2,"43":3,"47":2,"51":1,"52":2,"53":3,"62":3,"63":2,"67":2,"70":2,"72":1,"74":1,"80":1,"84":1,"85":2,"93":2,"102":2,"120":1,"126":2,"134":2,"141":1,"142":2,"161":1}}],["this",{"2":{"0":1,"2":1,"12":2,"18":3,"19":3,"20":1,"21":3,"29":1,"30":2,"31":1,"33":1,"35":1,"36":2,"37":2,"38":4,"39":1,"43":1,"44":1,"45":4,"47":1,"55":2,"59":1,"62":1,"72":1,"80":1,"87":2,"104":2,"112":1,"120":1,"121":2,"136":2,"137":2,"141":1,"144":1,"152":1}}],["then",{"2":{"39":1,"42":1,"112":1}}],["theeffectdao",{"2":{"25":1}}],["these",{"2":{"25":4,"31":1,"72":1,"128":1}}],["there",{"2":{"24":1,"31":1,"37":1,"47":1,"74":1,"81":1,"121":2,"129":1,"161":1}}],["thereby",{"2":{"13":1}}],["them",{"2":{"19":1,"24":1,"40":1,"81":1,"95":1,"121":1,"128":1,"129":1}}],["they",{"2":{"17":1,"24":1,"36":1}}],["their",{"2":{"13":1,"19":1,"47":1,"84":1,"95":2,"128":2}}],["the",{"0":{"7":1,"8":1},"2":{"0":3,"1":2,"2":1,"3":1,"4":1,"5":2,"9":1,"10":2,"12":5,"13":5,"15":8,"17":8,"18":10,"19":19,"20":3,"21":2,"23":17,"24":1,"25":9,"26":1,"28":4,"29":3,"30":8,"31":4,"33":5,"35":6,"36":11,"37":12,"38":14,"39":12,"40":1,"41":3,"42":2,"43":6,"44":3,"45":1,"47":11,"51":1,"52":5,"53":7,"55":5,"60":2,"62":4,"63":7,"64":3,"65":1,"67":2,"68":1,"69":2,"70":3,"72":2,"74":1,"80":14,"84":3,"85":3,"87":6,"88":1,"91":1,"92":2,"93":3,"95":2,"99":1,"100":2,"101":1,"102":3,"104":6,"105":1,"108":1,"109":2,"110":15,"112":7,"113":1,"116":1,"117":2,"118":9,"120":15,"121":1,"124":1,"125":2,"126":3,"128":3,"132":1,"133":2,"134":3,"136":5,"137":6,"140":1,"141":11,"142":3,"144":1,"148":1,"149":2,"150":5,"156":1,"157":2,"158":1,"159":2,"161":7}}],["bbox",{"2":{"42":1}}],["boolean",{"2":{"74":1,"159":1,"160":1,"161":1}}],["boxes",{"2":{"36":1,"42":1}}],["bounding",{"2":{"36":1,"42":1}}],["body",{"2":{"19":2,"37":2}}],["browser",{"2":{"30":1}}],["browsers",{"2":{"3":1}}],["bulma",{"2":{"42":1}}],["build",{"2":{"42":2}}],["building",{"2":{"20":1}}],["built",{"2":{"37":1}}],["bun",{"2":{"30":1,"45":4}}],["but",{"2":{"23":1,"37":1,"39":2,"121":1}}],["button",{"2":{"19":3,"39":1}}],["blance",{"2":{"47":1}}],["block",{"2":{"65":9,"70":1,"78":9,"82":3,"85":1,"89":3,"93":1,"97":3,"102":1,"122":3,"126":1,"130":3,"134":1,"138":3,"142":1}}],["blockchains",{"2":{"23":2,"24":1}}],["blockchain",{"2":{"0":1,"9":1,"23":2,"33":1,"47":1,"51":1,"62":1,"67":1,"120":1}}],["bloks",{"2":{"25":1,"55":1,"87":1,"104":1}}],["blueprint",{"2":{"19":1,"36":1}}],["balance",{"2":{"47":4,"48":1,"52":1,"53":2,"106":1,"110":2,"129":2}}],["back",{"2":{"39":1}}],["batch",{"2":{"15":7,"146":1,"150":2,"154":1,"161":2}}],["batches",{"2":{"15":2,"95":1,"146":1,"150":2,"154":1,"161":2}}],["basic",{"2":{"10":1,"36":1}}],["bit",{"2":{"2":1}}],["because",{"2":{"30":1}}],["between",{"2":{"19":1,"21":1,"23":1,"47":1,"80":1,"120":1}}],["before",{"2":{"18":1,"19":1,"41":1,"136":1}}],["behind",{"2":{"12":1,"64":1}}],["be",{"2":{"0":1,"3":1,"12":1,"15":2,"17":3,"19":4,"23":8,"28":1,"31":1,"36":2,"37":2,"38":3,"41":2,"43":2,"52":1,"53":1,"55":1,"63":2,"68":1,"69":1,"72":1,"74":1,"80":2,"84":1,"91":1,"92":1,"95":1,"99":1,"100":1,"101":1,"108":1,"109":1,"116":1,"120":2,"124":1,"125":1,"128":1,"132":1,"133":1,"141":2,"161":1}}],["by",{"2":{"0":2,"13":1,"15":1,"17":2,"18":1,"19":1,"30":1,"36":2,"38":1,"39":1,"40":1,"43":1,"44":1,"55":1,"80":1,"87":1,"104":1,"120":1,"128":1,"136":1}}],["illustrates",{"2":{"23":1}}],["io",{"2":{"23":1,"25":2,"55":1,"87":1,"104":1}}],["ipfsfetch",{"0":{"160":1}}],["ipfshttpclient",{"2":{"42":1}}],["ipfscachedurationims",{"0":{"29":1}}],["ipfscachedurationinms",{"2":{"28":1}}],["ipfs",{"2":{"15":3,"19":4,"29":1,"42":8,"150":1,"152":1,"160":1,"161":1}}],["idbcache",{"2":{"31":3}}],["identifies",{"2":{"23":1}}],["id=",{"2":{"19":2,"42":1}}],["id",{"0":{"149":1},"2":{"15":1,"42":10,"43":4,"44":5,"65":11,"70":1,"73":2,"78":11,"81":1,"82":3,"85":1,"89":3,"93":1,"96":1,"97":3,"100":1,"102":1,"106":1,"110":2,"113":1,"117":1,"121":1,"122":3,"126":1,"130":3,"134":1,"138":3,"142":1,"144":1,"145":1,"146":1,"149":1,"150":2,"154":1,"161":2}}],["implementation",{"2":{"31":1}}],["important",{"2":{"21":1,"25":2}}],["import",{"0":{"7":1},"2":{"1":2,"2":4,"7":2,"8":2,"15":3,"18":3,"31":1,"45":2,"48":1,"56":1,"64":2,"73":1,"81":2,"88":2,"96":1,"105":1,"113":1,"121":2,"129":2,"137":3,"145":1,"153":1}}],["img",{"2":{"19":1,"44":3}}],["images",{"2":{"19":1,"21":1,"41":1,"44":1}}],["image3",{"2":{"15":1}}],["image2",{"2":{"15":1}}],["image",{"0":{"21":1},"2":{"15":5,"17":1,"18":1,"19":7,"36":1,"42":7,"43":4,"44":1,"45":1,"137":1,"141":2,"146":1}}],["i",{"2":{"5":3}}],["if",{"2":{"2":1,"15":2,"21":1,"38":1,"42":3,"74":1,"81":2,"121":2,"129":1,"150":1,"161":3}}],["items",{"2":{"43":3}}],["its",{"2":{"20":1,"42":1}}],["it",{"2":{"1":1,"2":1,"3":1,"19":1,"21":1,"30":1,"36":1,"37":1,"42":1,"55":1,"69":1}}],["issue",{"2":{"37":1}}],["is",{"0":{"37":1},"2":{"0":1,"2":1,"3":1,"5":1,"9":1,"12":3,"13":1,"15":1,"17":2,"19":6,"21":1,"23":3,"28":1,"29":2,"30":6,"31":1,"33":1,"35":1,"36":1,"37":10,"38":5,"39":3,"41":1,"44":1,"47":6,"51":1,"52":3,"53":1,"55":2,"62":3,"63":3,"67":2,"80":7,"87":3,"95":1,"104":3,"120":7,"121":1,"141":1,"150":1,"157":1,"158":1,"159":1,"160":1,"161":1}}],["indicator",{"2":{"150":1,"161":1}}],["indicating",{"2":{"74":1,"161":1}}],["individual",{"2":{"23":1}}],["index",{"2":{"42":1,"45":1}}],["initialize",{"2":{"41":1,"42":1,"45":1}}],["info",{"2":{"146":1,"150":1,"154":1,"161":1}}],["information",{"2":{"17":1,"33":2,"150":3,"160":1,"161":3}}],["infrastructure",{"2":{"20":1}}],["include",{"2":{"19":1,"21":1,"42":2}}],["including",{"2":{"3":1}}],["inputschema",{"2":{"45":2}}],["inputting",{"2":{"40":1}}],["inputted",{"2":{"39":1}}],["input",{"0":{"43":1},"2":{"18":1,"19":5,"36":1,"39":6,"43":1,"45":1,"137":1,"141":3,"146":1}}],["instructions",{"2":{"17":1,"18":2,"45":1,"137":2,"141":2,"146":2}}],["instance",{"2":{"63":1}}],["instanlizing",{"2":{"31":1}}],["instantiate",{"0":{"7":1}}],["install",{"2":{"5":1}}],["installation",{"0":{"5":1}}],["integer",{"2":{"43":4}}],["integrate",{"2":{"19":1}}],["interfaces",{"2":{"42":1}}],["interface",{"2":{"28":3,"35":2,"36":1}}],["interact",{"2":{"24":1,"36":1,"51":1,"62":1,"67":1,"72":1}}],["intensive",{"2":{"12":1}}],["introduction",{"0":{"36":1},"1":{"37":1,"38":1,"39":1,"40":1},"2":{"18":1,"137":1}}],["into",{"2":{"12":1,"19":1,"21":1,"39":3,"40":1,"95":2,"112":1,"128":1,"141":1}}],["innovation",{"2":{"12":1}}],["in",{"2":{"0":1,"3":1,"4":1,"13":1,"15":3,"18":3,"19":5,"20":2,"21":1,"23":4,"25":1,"26":1,"30":2,"31":1,"36":4,"37":4,"38":5,"39":2,"42":2,"43":1,"47":4,"55":1,"60":1,"80":2,"95":1,"110":2,"120":2,"121":1,"128":1,"137":3,"141":3,"150":2,"161":2}}],["escrow",{"2":{"80":2,"95":1,"112":1,"120":2,"128":1}}],["estimated",{"2":{"18":1,"137":1,"141":2,"146":1}}],["established",{"2":{"0":1}}],["elapsed",{"2":{"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["else",{"2":{"42":2}}],["editable=",{"2":{"42":1}}],["every",{"2":{"80":1,"112":1,"120":1}}],["event",{"2":{"39":1}}],["evm",{"2":{"23":1}}],["except",{"2":{"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["existing",{"2":{"37":1}}],["explain",{"2":{"36":1}}],["executed",{"2":{"65":1,"78":1}}],["execution",{"2":{"23":1}}],["exectued",{"2":{"23":1}}],["exampletask",{"2":{"45":2}}],["examples",{"2":{"19":1,"21":2}}],["example",{"0":{"41":1,"44":1},"1":{"42":1,"43":1,"44":1,"45":1},"2":{"2":1,"15":3,"17":1,"21":2,"30":1,"33":1,"38":1,"39":2,"41":2,"44":1,"45":1,"141":2,"146":1}}],["employing",{"2":{"21":1}}],["efxefxefxefx",{"2":{"146":1,"154":1}}],["efxtousdt",{"2":{"64":1,"69":1}}],["efxtoken1112",{"2":{"25":1,"65":2,"78":2,"106":1,"146":1}}],["efxbalance",{"2":{"48":1,"53":2}}],["efxstakepool",{"2":{"25":1}}],["efxstake1111",{"2":{"25":1}}],["efxaccount11",{"2":{"25":1,"65":4,"78":4}}],["efxproposals",{"2":{"25":1}}],["efxfeepool11",{"2":{"25":1}}],["efx",{"2":{"18":1,"25":3,"33":1,"47":4,"49":1,"55":1,"60":1,"62":1,"65":2,"72":3,"78":2,"80":1,"87":1,"104":1,"106":1,"110":2,"112":1,"118":2,"120":1,"137":1,"141":1,"146":1}}],["efficiency",{"2":{"12":1}}],["effecttokens",{"2":{"25":1}}],["effecttasks2",{"2":{"25":1}}],["effectai",{"0":{"7":1},"2":{"1":1,"2":1,"5":3,"7":2,"8":2,"15":2,"18":2,"28":1,"31":3,"33":1,"35":1,"36":1,"37":1,"38":1,"39":2,"40":1,"45":1,"48":1,"56":1,"64":1,"73":1,"81":1,"88":1,"96":1,"105":1,"113":1,"121":1,"129":1,"137":2,"145":1,"153":1}}],["effect",{"0":{"11":1},"1":{"12":1,"13":1},"2":{"0":1,"3":1,"13":3,"17":1,"18":2,"20":2,"21":2,"25":4,"26":1,"42":4,"47":1,"72":4,"87":2,"104":2,"136":1,"137":1}}],["etc",{"2":{"17":1}}],["each",{"2":{"15":4,"17":1,"23":3,"37":1,"42":1,"53":1,"141":3,"160":1}}],["enabled",{"2":{"161":1}}],["enables",{"2":{"13":1}}],["engine",{"2":{"36":1,"37":1}}],["enhancing",{"2":{"13":1,"20":1}}],["ensures",{"2":{"13":1}}],["environment",{"2":{"9":1}}],["environments",{"2":{"3":2}}],["era",{"2":{"12":1}}],["error",{"2":{"2":1,"15":2,"42":4,"65":3,"78":3,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["either",{"2":{"0":1,"69":1}}],["eosbalance",{"2":{"48":1,"53":2}}],["eosnation",{"2":{"25":1}}],["eosq",{"2":{"25":1}}],["eos",{"2":{"0":1,"1":2,"2":2,"7":1,"8":1,"9":1,"15":1,"25":1,"45":1,"47":2,"48":2,"49":1,"64":1,"81":1,"87":1,"88":1,"104":1,"105":1,"113":1,"120":1,"121":1,"129":1}}],["snippet",{"2":{"121":1}}],["swapped",{"2":{"68":1}}],["swapargs",{"2":{"64":4}}],["swap",{"0":{"61":1},"1":{"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1},"2":{"62":1,"64":3,"69":1}}],["sh",{"2":{"45":1}}],["sheets",{"2":{"41":1}}],["show",{"2":{"41":1}}],["should",{"2":{"15":2,"19":1,"92":1,"100":1,"109":1,"125":1,"133":1,"141":1}}],["saved",{"2":{"39":1}}],["same",{"2":{"38":1}}],["system",{"2":{"87":1,"104":1}}],["syntax",{"2":{"38":1}}],["synopsis",{"2":{"23":1}}],["symbol",{"2":{"33":2,"53":1}}],["scheduled",{"2":{"65":1,"78":1,"82":1,"89":1,"97":1,"122":1,"130":1,"138":1}}],["schema",{"0":{"43":1},"2":{"18":3,"43":3,"45":3,"137":3,"141":4,"146":2}}],["scripts",{"2":{"41":1}}],["script",{"0":{"45":1},"2":{"30":2,"42":6,"45":2}}],["sig",{"2":{"65":2,"78":2}}],["sign",{"2":{"62":1,"63":3}}],["signer",{"2":{"35":1}}],["signature",{"2":{"35":1}}],["signatures",{"2":{"35":1}}],["signingrequest",{"2":{"35":1}}],["significant",{"2":{"12":1}}],["single",{"2":{"42":1}}],["since",{"2":{"30":1}}],["side",{"2":{"42":1}}],["similar",{"2":{"38":1}}],["simplest",{"2":{"37":1}}],["simple",{"2":{"36":1,"37":1}}],["simply",{"2":{"23":1}}],["smart",{"2":{"23":1,"25":1,"39":1,"87":1,"104":1}}],["small",{"2":{"17":1}}],["specified",{"2":{"136":1,"144":1,"152":1}}],["specifications",{"2":{"37":1}}],["specific",{"2":{"21":1,"36":1}}],["space",{"2":{"23":1}}],["src=",{"2":{"19":1,"42":2}}],["store",{"2":{"87":1,"104":1}}],["styling",{"2":{"42":1}}],["stylesheet",{"2":{"42":2}}],["style",{"2":{"41":1,"146":1}}],["studio",{"0":{"41":1},"1":{"42":1,"43":1,"44":1,"45":1},"2":{"36":1,"41":5,"42":8,"44":1,"45":1}}],["strokewidth=",{"2":{"42":1}}],["stringify",{"2":{"42":1}}],["string",{"2":{"35":1,"43":7,"53":1,"69":1,"74":1,"141":1,"161":1}}],["structure",{"2":{"19":2,"37":1,"43":1,"161":1}}],["status",{"2":{"65":1,"78":1}}],["static",{"2":{"42":2}}],["standard",{"2":{"37":1,"39":1}}],["stake",{"2":{"25":2}}],["start",{"0":{"6":1},"1":{"7":1,"8":1,"9":1},"2":{"15":1,"18":1,"136":1}}],["started",{"0":{"4":1},"1":{"5":1,"6":1,"7":1,"8":1,"9":1,"10":1},"2":{"4":1}}],["still",{"2":{"23":1,"37":1}}],["step",{"2":{"19":1}}],["sure",{"2":{"42":1,"67":1}}],["survey",{"2":{"21":1}}],["surveys",{"2":{"20":1}}],["support",{"2":{"20":1}}],["supported",{"2":{"18":1,"137":1}}],["submissions",{"2":{"146":1,"150":2,"154":1,"161":2}}],["submission",{"2":{"39":1,"42":1}}],["submitresults",{"2":{"42":2}}],["submitting",{"0":{"39":1},"2":{"39":1}}],["submit",{"2":{"19":4,"39":5,"42":4}}],["subtitle",{"2":{"19":1}}],["such",{"2":{"12":1,"30":1,"33":1}}],["sent",{"2":{"80":1,"120":1}}],["sentiment",{"2":{"19":1}}],["sequence",{"2":{"65":10,"78":10}}],["services",{"2":{"72":1,"87":1,"104":1}}],["serverside",{"2":{"30":1}}],["serve",{"2":{"21":1}}],["serializeannotation",{"2":{"42":2}}],["selectannotation",{"2":{"42":1}}],["several",{"2":{"23":2,"24":1}}],["section",{"2":{"20":1,"36":2}}],["seconds",{"2":{"18":1,"137":1,"141":2,"150":1,"161":1}}],["see",{"2":{"18":1,"27":1,"28":1,"31":1,"137":1}}],["settimeout",{"2":{"42":1}}],["setting",{"2":{"20":1}}],["setinterval",{"2":{"42":1}}],["set",{"2":{"10":1,"15":1,"29":1,"30":1,"31":1}}],["sessionkit",{"2":{"2":4}}],["session",{"2":{"0":2,"1":5,"2":6,"9":1,"15":7,"18":4,"35":1,"45":3,"55":1,"62":1,"64":5,"67":1,"81":5,"84":1,"88":5,"91":1,"99":1,"105":1,"108":1,"113":1,"116":1,"121":5,"124":1,"129":5,"132":1,"137":4}}],["source",{"2":{"36":1,"37":1,"44":3}}],["so",{"2":{"19":2,"37":2,"39":1,"72":1,"84":1}}],["solution",{"0":{"13":1},"2":{"13":1}}],["sorting",{"2":{"152":1}}],["sort",{"2":{"9":1}}],["someclient",{"2":{"140":1,"148":1,"156":1}}],["something",{"2":{"42":1}}],["some",{"2":{"0":1,"3":1,"9":1,"18":1,"24":1,"33":1,"35":1,"37":1,"41":1,"137":1}}],["s",{"0":{"10":1},"2":{"2":1,"15":1,"21":2,"23":1,"37":1,"39":1,"40":1,"80":1,"87":1,"104":1,"120":1,"128":1}}],["sdkpnpm",{"2":{"5":1}}],["sdkbun",{"2":{"5":1}}],["sdk",{"2":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":3,"7":2,"8":2,"15":2,"18":2,"20":1,"26":1,"31":2,"33":1,"35":1,"45":1,"48":1,"56":1,"64":1,"73":1,"81":1,"88":1,"96":1,"105":1,"113":1,"121":1,"129":1,"137":2,"145":1,"153":1}}],["ago",{"2":{"44":2}}],["against",{"2":{"21":1}}],["after",{"2":{"44":1,"80":1,"120":1}}],["at",{"2":{"44":4,"55":1,"63":1,"87":1,"104":1}}],["attribute",{"2":{"39":1}}],["atomic",{"2":{"23":1}}],["ammount",{"0":{"68":1}}],["amount",{"0":{"101":1},"2":{"33":1,"53":1,"64":1,"68":1,"96":1,"101":1,"110":1,"118":2}}],["amp",{"2":{"12":1,"42":3}}],["abi",{"2":{"65":2,"78":2}}],["ab91isn",{"2":{"44":1}}],["able",{"2":{"38":1,"95":2,"128":1}}],["abailable",{"2":{"31":1}}],["about",{"2":{"30":1,"33":2,"35":1,"53":1,"65":1,"70":1,"85":1,"93":1,"102":1,"126":1,"134":1,"142":1}}],["above",{"2":{"19":1,"23":1}}],["api",{"2":{"30":3}}],["applications",{"2":{"21":1}}],["app",{"2":{"2":1}}],["availalbe",{"2":{"30":1}}],["availability",{"2":{"12":1}}],["available",{"2":{"5":1,"30":5,"47":3}}],["arguments",{"2":{"64":1}}],["array",{"2":{"43":3,"74":1,"118":4,"161":1}}],["around",{"2":{"20":1,"36":1,"42":1}}],["are",{"2":{"13":1,"15":2,"17":2,"19":3,"23":3,"24":3,"25":7,"31":1,"36":1,"42":1,"72":1,"74":1,"80":1,"81":1,"95":1,"112":1,"120":1,"121":2,"128":1,"129":1,"146":1,"161":1}}],["audience",{"2":{"21":1}}],["audio",{"2":{"17":1}}],["auth",{"2":{"65":2,"78":2}}],["authorization",{"2":{"65":2,"78":2}}],["authorized",{"2":{"23":1}}],["authorize",{"2":{"23":1}}],["authorities",{"2":{"23":1}}],["authority",{"2":{"23":2}}],["authenticated",{"2":{"15":1}}],["authenticate",{"2":{"1":1,"2":1,"9":1}}],["authentication",{"0":{"0":1,"9":1},"1":{"1":1,"2":1},"2":{"0":1,"9":2}}],["automated",{"2":{"20":1,"21":1}}],["active",{"2":{"65":2,"78":2,"146":1,"150":2,"154":1,"161":2}}],["action",{"2":{"23":1,"65":7,"72":1,"78":7,"82":1,"89":1,"97":1,"122":1,"128":1,"130":1,"138":1}}],["actions",{"2":{"23":5}}],["act",{"2":{"65":4,"78":4}}],["actual",{"2":{"38":2}}],["actors",{"2":{"23":1}}],["actor",{"0":{"52":1,"92":1,"109":1,"125":1,"133":1},"2":{"15":3,"48":2,"64":3,"65":2,"78":2,"81":3,"88":3,"92":1,"96":2,"104":1,"105":2,"109":1,"113":2,"121":4,"125":1,"129":3,"133":1}}],["across",{"2":{"19":1}}],["according",{"2":{"55":1,"60":1}}],["accounts",{"0":{"23":1},"2":{"23":8,"25":1,"72":2}}],["account",{"2":{"15":1,"18":1,"23":9,"45":1,"47":4,"52":2,"55":1,"65":5,"72":2,"73":1,"78":5,"82":1,"87":4,"88":4,"89":1,"96":1,"97":1,"104":4,"120":1,"122":1,"130":1,"137":1,"138":1}}],["accountability",{"2":{"12":1}}],["accuracy",{"2":{"13":1}}],["async",{"2":{"42":2}}],["asset",{"0":{"32":1},"1":{"33":1},"2":{"33":4,"53":7}}],["associated",{"2":{"23":4,"104":1}}],["assigned",{"2":{"23":1}}],["ask",{"2":{"19":1}}],["as",{"2":{"12":1,"15":2,"18":1,"21":1,"23":2,"24":1,"28":1,"30":1,"33":2,"35":1,"36":1,"41":1,"64":2,"73":1,"81":2,"87":1,"88":2,"96":1,"104":1,"105":2,"113":2,"121":2,"129":2,"137":1,"145":1,"153":1}}],["address",{"2":{"106":1,"110":2}}],["addannotation",{"2":{"42":1}}],["add",{"2":{"18":1,"37":2,"42":1,"136":1}}],["added",{"2":{"15":2}}],["adding",{"0":{"15":1},"2":{"15":2,"18":1,"136":1}}],["additional",{"2":{"2":1,"150":1,"160":1,"161":1}}],["advanced",{"2":{"10":1}}],["alert",{"2":{"42":1}}],["already",{"2":{"30":1,"121":1}}],["always",{"2":{"23":1}}],["allows",{"2":{"36":1,"72":1}}],["allow",{"2":{"23":2,"43":1}}],["all",{"2":{"3":1,"31":1,"42":1}}],["also",{"2":{"2":1,"23":1,"43":1,"62":1,"87":2,"104":2,"121":1}}],["another",{"2":{"72":2}}],["ancestor",{"2":{"65":2,"78":2}}],["anchor",{"2":{"2":2,"24":2}}],["ann",{"2":{"42":5}}],["annotators",{"2":{"43":1,"44":1}}],["annotated",{"2":{"21":1}}],["annotate",{"2":{"21":1}}],["annotationstore",{"2":{"42":4}}],["annotations",{"2":{"42":12,"43":2,"44":1}}],["annotation",{"0":{"21":1},"2":{"36":1}}],["any",{"2":{"31":1,"35":1,"121":1}}],["anatomy",{"2":{"23":1}}],["antelope",{"2":{"23":5,"24":1,"33":1}}],["answers",{"2":{"42":1}}],["answer",{"2":{"17":1}}],["an",{"2":{"17":1,"19":5,"20":1,"23":8,"33":1,"36":2,"37":1,"39":2,"41":2,"47":3,"53":2,"63":1,"74":1,"87":2,"104":2,"110":1,"118":3,"141":1,"161":1}}],["and",{"0":{"7":1,"39":1},"2":{"1":1,"2":2,"3":1,"12":3,"13":3,"15":1,"17":1,"19":4,"21":1,"23":9,"24":1,"25":1,"30":2,"33":2,"35":1,"36":4,"37":3,"39":3,"41":1,"42":2,"43":2,"45":1,"47":2,"53":2,"63":1,"64":1,"70":1,"72":1,"80":1,"81":1,"85":1,"87":2,"88":1,"92":1,"93":1,"95":2,"102":1,"104":1,"105":1,"109":1,"112":2,"113":1,"120":1,"121":2,"125":1,"126":1,"128":1,"129":2,"133":1,"134":1,"142":1,"152":1}}],["await",{"2":{"1":1,"2":2,"7":2,"8":2,"15":2,"18":2,"42":4,"45":1,"48":2,"56":1,"64":3,"73":3,"81":3,"88":3,"96":3,"105":2,"113":3,"121":4,"129":3,"137":2,"145":2,"153":2}}],["a",{"0":{"18":1,"19":1,"37":1,"59":1},"2":{"0":2,"1":2,"2":2,"3":1,"4":1,"9":1,"10":1,"12":4,"13":3,"15":4,"17":6,"18":2,"19":19,"20":2,"21":6,"23":9,"33":1,"35":1,"36":5,"37":7,"38":2,"39":4,"41":2,"42":3,"43":1,"45":1,"47":2,"52":1,"53":2,"55":2,"62":2,"64":1,"67":1,"70":1,"74":3,"80":1,"81":1,"84":1,"85":1,"87":2,"88":1,"91":1,"93":1,"99":1,"102":1,"104":1,"108":1,"110":1,"112":3,"116":1,"120":1,"121":1,"124":1,"126":1,"129":1,"132":1,"134":1,"136":2,"137":2,"141":1,"142":1,"144":2,"146":1,"150":1,"152":1,"161":3}}],["aim",{"2":{"19":1}}],["ai",{"0":{"11":1,"21":1},"1":{"12":1,"13":1},"2":{"0":1,"3":1,"12":2,"13":7,"18":1,"20":1,"21":3,"42":2,"137":1}}]],"serializationVersion":2} diff --git a/assets/adding-tasks-Dm6NhO6p.js b/assets/adding-tasks-CxnhmQ6S.js similarity index 99% rename from assets/adding-tasks-Dm6NhO6p.js rename to assets/adding-tasks-CxnhmQ6S.js index e7da726f..1be34bca 100644 --- a/assets/adding-tasks-Dm6NhO6p.js +++ b/assets/adding-tasks-CxnhmQ6S.js @@ -1,4 +1,4 @@ -import{d as e,j as s}from"./index-DxjPKUrw.js";const n=void 0;function i(a){const l={a:"a",code:"code",div:"div",h2:"h2",p:"p",pre:"pre",span:"span",...e(),...a.components};return s.jsxs(s.Fragment,{children:[s.jsxs(l.h2,{id:"adding-tasks",children:["Adding tasks",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#adding-tasks",children:s.jsx(l.div,{"data-autolink-icon":!0})})]}),` +import{d as e,j as s}from"./index-BTxi3UaB.js";const n=void 0;function i(a){const l={a:"a",code:"code",div:"div",h2:"h2",p:"p",pre:"pre",span:"span",...e(),...a.components};return s.jsxs(s.Fragment,{children:[s.jsxs(l.h2,{id:"adding-tasks",children:["Adding tasks",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#adding-tasks",children:s.jsx(l.div,{"data-autolink-icon":!0})})]}),` `,s.jsxs(l.p,{children:["Adding tasks to a campaign is done through adding ",s.jsx("u",{children:"batches"}),"."]}),` `,s.jsx(l.p,{children:`Batches are a collection of tasks that are added to a campaign. Each batch can contain multiple tasks. Let's start by creating a batch with 3 tasks to our newly created image classification campaign.`}),` diff --git a/assets/authentication-4ay9bc6L.js b/assets/authentication-DzMjV0PM.js similarity index 99% rename from assets/authentication-4ay9bc6L.js rename to assets/authentication-DzMjV0PM.js index 66d33520..414fbccf 100644 --- a/assets/authentication-4ay9bc6L.js +++ b/assets/authentication-DzMjV0PM.js @@ -1,4 +1,4 @@ -import{d as r,j as s}from"./index-DxjPKUrw.js";const n={title:"Authentication",description:"undefined"};function e(i){const l={a:"a",code:"code",div:"div",h1:"h1",h3:"h3",header:"header",p:"p",pre:"pre",span:"span",...r(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(l.header,{children:s.jsxs(l.h1,{id:"authentication",children:["Authentication",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#authentication",children:s.jsx(l.div,{"data-autolink-icon":!0})})]})}),` +import{d as r,j as s}from"./index-BTxi3UaB.js";const n={title:"Authentication",description:"undefined"};function e(i){const l={a:"a",code:"code",div:"div",h1:"h1",h3:"h3",header:"header",p:"p",pre:"pre",span:"span",...r(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(l.header,{children:s.jsxs(l.h1,{id:"authentication",children:["Authentication",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#authentication",children:s.jsx(l.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(l.p,{children:[`Some functions in the Effect AI SDK require authentication with the EOS blockchain. This is done by passing a session object to the createClient function. A session can be established by either `,s.jsx(l.a,{href:"https://github.com/wharfkit/wallet-plugin-privatekey",children:"private key"})," or ",s.jsx(l.a,{href:"https://wharfkit.com/plugins?tag=wallet-plugin",children:"wallet plugins"}),"."]}),` `,s.jsxs(l.h3,{id:"private-key",children:["Private Key",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#private-key",children:s.jsx(l.div,{"data-autolink-icon":!0})})]}),` diff --git a/assets/claim-HC569VK4.js b/assets/claim-DvsqMTpc.js similarity index 99% rename from assets/claim-HC569VK4.js rename to assets/claim-DvsqMTpc.js index c5e9aab3..e1f7515a 100644 --- a/assets/claim-HC569VK4.js +++ b/assets/claim-DvsqMTpc.js @@ -1,4 +1,4 @@ -import{d as a,j as s}from"./index-DxjPKUrw.js";const n={title:"claim",description:"undefined"};function e(i){const l={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...a(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(l.header,{children:s.jsxs(l.h1,{id:"claim",children:["claim",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#claim",children:s.jsx(l.div,{"data-autolink-icon":!0})})]})}),` +import{d as a,j as s}from"./index-BTxi3UaB.js";const n={title:"claim",description:"undefined"};function e(i){const l={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...a(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(l.header,{children:s.jsxs(l.h1,{id:"claim",children:["claim",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#claim",children:s.jsx(l.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(l.h2,{id:"description",children:["Description",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#description",children:s.jsx(l.div,{"data-autolink-icon":!0})})]}),` `,s.jsx(l.p,{children:`This function is used to claim the task reward that is locked in the escrow for the done tasks. Every time a task is done, the reward is locked in the escrow until the timeout is reached. diff --git a/assets/collecting-results-Bho_IYGu.js b/assets/collecting-results-CptDcOPs.js similarity index 88% rename from assets/collecting-results-Bho_IYGu.js rename to assets/collecting-results-CptDcOPs.js index 027b57c7..f2d0c583 100644 --- a/assets/collecting-results-Bho_IYGu.js +++ b/assets/collecting-results-CptDcOPs.js @@ -1,2 +1,2 @@ -import{d as o,j as n}from"./index-DxjPKUrw.js";const i=void 0;function s(e){const t={a:"a",div:"div",h2:"h2",p:"p",...o(),...e.components};return n.jsxs(n.Fragment,{children:[n.jsxs(t.h2,{id:"collecting-results",children:["Collecting Results",n.jsx(t.a,{"aria-hidden":"true",tabIndex:"-1",href:"#collecting-results",children:n.jsx(t.div,{"data-autolink-icon":!0})})]}),` +import{d as o,j as n}from"./index-BTxi3UaB.js";const i=void 0;function s(e){const t={a:"a",div:"div",h2:"h2",p:"p",...o(),...e.components};return n.jsxs(n.Fragment,{children:[n.jsxs(t.h2,{id:"collecting-results",children:["Collecting Results",n.jsx(t.a,{"aria-hidden":"true",tabIndex:"-1",href:"#collecting-results",children:n.jsx(t.div,{"data-autolink-icon":!0})})]}),` `,n.jsx(t.p,{children:"TODO::"})]})}function c(e={}){const{wrapper:t}={...o(),...e.components};return t?n.jsx(t,{...e,children:n.jsx(s,{...e})}):s(e)}export{c as default,i as frontmatter}; diff --git a/assets/compatibility-BiRlFBfx.js b/assets/compatibility-ikUH7VSu.js similarity index 92% rename from assets/compatibility-BiRlFBfx.js rename to assets/compatibility-ikUH7VSu.js index 6665ebae..76734619 100644 --- a/assets/compatibility-BiRlFBfx.js +++ b/assets/compatibility-ikUH7VSu.js @@ -1,3 +1,3 @@ -import{d as o,j as e}from"./index-DxjPKUrw.js";const r={title:"Compatibility",description:"undefined"};function i(n){const t={a:"a",code:"code",div:"div",h1:"h1",header:"header",p:"p",...o(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx(t.header,{children:e.jsxs(t.h1,{id:"compatibility",children:["Compatibility",e.jsx(t.a,{"aria-hidden":"true",tabIndex:"-1",href:"#compatibility",children:e.jsx(t.div,{"data-autolink-icon":!0})})]})}),` +import{d as o,j as e}from"./index-BTxi3UaB.js";const r={title:"Compatibility",description:"undefined"};function i(n){const t={a:"a",code:"code",div:"div",h1:"h1",header:"header",p:"p",...o(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx(t.header,{children:e.jsxs(t.h1,{id:"compatibility",children:["Compatibility",e.jsx(t.a,{"aria-hidden":"true",tabIndex:"-1",href:"#compatibility",children:e.jsx(t.div,{"data-autolink-icon":!0})})]})}),` `,e.jsxs(t.p,{children:[`The Effect AI SDK is compatible with all Node.js environments, including browsers and React Native. It might be necessary to use a particular `,e.jsx(t.code,{children:"fetch"})," polyfill in some environments."]})]})}function s(n={}){const{wrapper:t}={...o(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(i,{...n})}):i(n)}export{s as default,r as frontmatter}; diff --git a/assets/create-a-campaign-BWd2Ad2h.js b/assets/create-a-campaign-CbeoJhhs.js similarity index 99% rename from assets/create-a-campaign-BWd2Ad2h.js rename to assets/create-a-campaign-CbeoJhhs.js index fb27505a..40b421d7 100644 --- a/assets/create-a-campaign-BWd2Ad2h.js +++ b/assets/create-a-campaign-CbeoJhhs.js @@ -1,4 +1,4 @@ -import{d as i,j as s}from"./index-DxjPKUrw.js";const n=void 0;function e(l){const a={a:"a",code:"code",div:"div",h2:"h2",h3:"h3",p:"p",pre:"pre",span:"span",...i(),...l.components};return s.jsxs(s.Fragment,{children:[s.jsxs(a.h2,{id:"creating-your-first-campaign",children:["Creating Your First Campaign",s.jsx(a.a,{"aria-hidden":"true",tabIndex:"-1",href:"#creating-your-first-campaign",children:s.jsx(a.div,{"data-autolink-icon":!0})})]}),` +import{d as i,j as s}from"./index-BTxi3UaB.js";const n=void 0;function e(l){const a={a:"a",code:"code",div:"div",h2:"h2",h3:"h3",p:"p",pre:"pre",span:"span",...i(),...l.components};return s.jsxs(s.Fragment,{children:[s.jsxs(a.h2,{id:"creating-your-first-campaign",children:["Creating Your First Campaign",s.jsx(a.a,{"aria-hidden":"true",tabIndex:"-1",href:"#creating-your-first-campaign",children:s.jsx(a.div,{"data-autolink-icon":!0})})]}),` `,s.jsxs(a.p,{children:[`Campaigns are the main way to collect data on Effect Network. A campaign is a `,s.jsx("u",{children:"collection of tasks"}),` that need to be completed by workers. Each task is a small piece of work that needs to be done. For example, a task could be to label an image, transcribe a piece of audio, or answer a question. They are created by the data requester (you) and contain information like the reward for the workers, the template for the tasks, the instructions for the workers etc.`]}),` @@ -10,7 +10,7 @@ They are created by the data requester (you) and contain information like the re `,s.jsxs(a.span,{className:"line",children:[s.jsx(a.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(a.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(a.span,{className:"twoslash-hover",children:[s.jsxs(a.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(a.span,{className:"line",children:[s.jsx(a.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"campaign"}),s.jsx(a.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": CampaignInfo "}),s.jsx(a.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"&"}),s.jsx(a.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),` `,s.jsxs(a.span,{className:"line",children:[s.jsx(a.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" reward"}),s.jsx(a.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": number;"})]}),` `,s.jsxs(a.span,{className:"line",children:[s.jsx(a.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" maxTaskTime"}),s.jsx(a.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": number;"})]}),` -`,s.jsxs(a.span,{className:"line",children:[s.jsx(a.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" qualitications"}),s.jsx(a.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(a.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" Quali[] "}),s.jsx(a.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(a.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"}),s.jsx(a.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),` +`,s.jsxs(a.span,{className:"line",children:[s.jsx(a.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" qualifications"}),s.jsx(a.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(a.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" Quali[] "}),s.jsx(a.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(a.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"}),s.jsx(a.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),` `,s.jsx(a.span,{className:"line",children:s.jsx(a.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}"})})]}),s.jsx(a.span,{className:"twoslash-target",children:"campaign"})]})}),s.jsx(a.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": {"})]}),` `,s.jsx(a.span,{className:"line",children:s.jsxs(a.span,{style:{color:"#6A737D","--shiki-dark":"#768390"},children:[" // ","Name"," ","of"," ","your"," ","campaign"]})}),` `,s.jsxs(a.span,{className:"line",children:[s.jsx(a.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(a.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(a.span,{className:"twoslash-hover",children:[s.jsx(a.div,{className:"twoslash-popup-info-hover",children:s.jsxs(a.span,{className:"line",children:[s.jsx(a.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"title"}),s.jsx(a.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": string"})]})}),s.jsx(a.span,{className:"twoslash-target",children:"title"})]})}),s.jsx(a.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": "}),s.jsxs(a.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:['"',"My"," ","First"," ","Campaign",'!"']}),s.jsx(a.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),` diff --git a/assets/create-a-template-BW3pgVao.js b/assets/create-a-template-Bb99gWNu.js similarity index 99% rename from assets/create-a-template-BW3pgVao.js rename to assets/create-a-template-Bb99gWNu.js index b8ee4bf6..29ee9759 100644 --- a/assets/create-a-template-BW3pgVao.js +++ b/assets/create-a-template-Bb99gWNu.js @@ -1,4 +1,4 @@ -import{d as r,j as s}from"./index-DxjPKUrw.js";const n={title:"Create a Template",description:"undefined"};function l(i){const e={a:"a",code:"code",div:"div",h1:"h1",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...r(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"create-a-template",children:["Create a Template",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#create-a-template",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` +import{d as r,j as s}from"./index-BTxi3UaB.js";const n={title:"Create a Template",description:"undefined"};function l(i){const e={a:"a",code:"code",div:"div",h1:"h1",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...r(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"create-a-template",children:["Create a Template",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#create-a-template",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(e.p,{children:["Before we can create a data collection campaign, we need to create a ",s.jsx(e.strong,{children:"template"}),"."]}),` `,s.jsx(e.p,{children:`A template is a blueprint for the tasks in a campaign. It defines the structure of the tasks, the input and output data. Templates are created by the data requester (you) and can be reused across multiple campaigns.`}),` diff --git a/assets/create-account-CyO0hT89.js b/assets/create-account-Dsn1Wd4H.js similarity index 99% rename from assets/create-account-CyO0hT89.js rename to assets/create-account-Dsn1Wd4H.js index 4c182d62..102da7db 100644 --- a/assets/create-account-CyO0hT89.js +++ b/assets/create-account-Dsn1Wd4H.js @@ -1,4 +1,4 @@ -import{d as a,j as s}from"./index-DxjPKUrw.js";const n={title:"createAccount",description:"undefined"};function e(i){const l={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...a(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(l.header,{children:s.jsxs(l.h1,{id:"createaccount",children:["createAccount",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#createaccount",children:s.jsx(l.div,{"data-autolink-icon":!0})})]})}),` +import{d as a,j as s}from"./index-BTxi3UaB.js";const n={title:"createAccount",description:"undefined"};function e(i){const l={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...a(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(l.header,{children:s.jsxs(l.h1,{id:"createaccount",children:["createAccount",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#createaccount",children:s.jsx(l.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(l.h2,{id:"description",children:["Description",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#description",children:s.jsx(l.div,{"data-autolink-icon":!0})})]}),` `,s.jsxs(l.p,{children:[`Next to having an EOS account, users will also need to create an Effect Network Virtual account, also known as a VAccount. This virtual account is used to store the user's funds and is used to pay for services on the Effect Network. diff --git a/assets/create-batch-BwHIKDuc.js b/assets/create-batch-AWOv63Q7.js similarity index 75% rename from assets/create-batch-BwHIKDuc.js rename to assets/create-batch-AWOv63Q7.js index 31c3b5fb..6c2d3f0a 100644 --- a/assets/create-batch-BwHIKDuc.js +++ b/assets/create-batch-AWOv63Q7.js @@ -1 +1 @@ -import{d as r,j as n}from"./index-DxjPKUrw.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; +import{d as r,j as n}from"./index-BTxi3UaB.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/create-campaign-DPuP_dVS.js b/assets/create-campaign-3GAhCXEZ.js similarity index 99% rename from assets/create-campaign-DPuP_dVS.js rename to assets/create-campaign-3GAhCXEZ.js index 44d60ff7..7d776908 100644 --- a/assets/create-campaign-DPuP_dVS.js +++ b/assets/create-campaign-3GAhCXEZ.js @@ -1,4 +1,4 @@ -import{d as a,j as s}from"./index-DxjPKUrw.js";const r={title:"createCampaign",description:"undefined"};function e(l){const i={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...a(),...l.components};return s.jsxs(s.Fragment,{children:[s.jsx(i.header,{children:s.jsxs(i.h1,{id:"createcampaign",children:["createCampaign",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#createcampaign",children:s.jsx(i.div,{"data-autolink-icon":!0})})]})}),` +import{d as a,j as s}from"./index-BTxi3UaB.js";const r={title:"createCampaign",description:"undefined"};function e(l){const i={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...a(),...l.components};return s.jsxs(s.Fragment,{children:[s.jsx(i.header,{children:s.jsxs(i.h1,{id:"createcampaign",children:["createCampaign",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#createcampaign",children:s.jsx(i.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(i.h2,{id:"description",children:["Description",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#description",children:s.jsx(i.div,{"data-autolink-icon":!0})})]}),` `,s.jsxs(i.p,{children:[`This function creates a campaign from a specified client with the given campaign parameters. You can view the campaign on the `,s.jsx(i.a,{href:"https://app.effect.network/campaigns",children:"Effect Network"}),` before you start collecting data, @@ -11,7 +11,7 @@ you need to add tasks to the campaign. You can do this by following the `,s.jsx( `,s.jsxs(i.span,{className:"line",children:[s.jsx(i.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(i.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(i.span,{className:"twoslash-hover",children:[s.jsxs(i.div,{className:"twoslash-popup-info-hover",children:[s.jsxs(i.span,{className:"line",children:[s.jsx(i.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"campaign"}),s.jsx(i.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": CampaignInfo "}),s.jsx(i.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"&"}),s.jsx(i.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" {"})]}),` `,s.jsxs(i.span,{className:"line",children:[s.jsx(i.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" reward"}),s.jsx(i.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": number;"})]}),` `,s.jsxs(i.span,{className:"line",children:[s.jsx(i.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:" maxTaskTime"}),s.jsx(i.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": number;"})]}),` -`,s.jsxs(i.span,{className:"line",children:[s.jsx(i.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" qualitications"}),s.jsx(i.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(i.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" Quali[] "}),s.jsx(i.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(i.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"}),s.jsx(i.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),` +`,s.jsxs(i.span,{className:"line",children:[s.jsx(i.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" qualifications"}),s.jsx(i.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"?:"}),s.jsx(i.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" Quali[] "}),s.jsx(i.span,{style:{color:"#D73A49","--shiki-dark":"#F47067"},children:"|"}),s.jsx(i.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:" undefined"}),s.jsx(i.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:";"})]}),` `,s.jsx(i.span,{className:"line",children:s.jsx(i.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"}"})})]}),s.jsx(i.span,{className:"twoslash-target",children:"campaign"})]})}),s.jsx(i.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": {"})]}),` `,s.jsx(i.span,{className:"line",children:s.jsxs(i.span,{style:{color:"#6A737D","--shiki-dark":"#768390"},children:[" // ","Name"," ","of"," ","your"," ","campaign"]})}),` `,s.jsxs(i.span,{className:"line",children:[s.jsx(i.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" "}),s.jsx(i.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:s.jsxs(i.span,{className:"twoslash-hover",children:[s.jsx(i.div,{className:"twoslash-popup-info-hover",children:s.jsxs(i.span,{className:"line",children:[s.jsx(i.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"title"}),s.jsx(i.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": string"})]})}),s.jsx(i.span,{className:"twoslash-target",children:"title"})]})}),s.jsx(i.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:": "}),s.jsxs(i.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:['"',"My"," ","First"," ","Campaign",'!"']}),s.jsx(i.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),` diff --git a/assets/deposit-cjK7hbl4.js b/assets/deposit-DtjAgOIh.js similarity index 99% rename from assets/deposit-cjK7hbl4.js rename to assets/deposit-DtjAgOIh.js index 46af50d8..fd6c24ff 100644 --- a/assets/deposit-cjK7hbl4.js +++ b/assets/deposit-DtjAgOIh.js @@ -1,4 +1,4 @@ -import{d as r,j as s}from"./index-DxjPKUrw.js";const n={title:"deposit",description:"undefined"};function e(l){const i={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...r(),...l.components};return s.jsxs(s.Fragment,{children:[s.jsx(i.header,{children:s.jsxs(i.h1,{id:"deposit",children:["deposit",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#deposit",children:s.jsx(i.div,{"data-autolink-icon":!0})})]})}),` +import{d as r,j as s}from"./index-BTxi3UaB.js";const n={title:"deposit",description:"undefined"};function e(l){const i={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...r(),...l.components};return s.jsxs(s.Fragment,{children:[s.jsx(i.header,{children:s.jsxs(i.h1,{id:"deposit",children:["deposit",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#deposit",children:s.jsx(i.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(i.h2,{id:"description",children:["Description",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#description",children:s.jsx(i.div,{"data-autolink-icon":!0})})]}),` `,s.jsx(i.p,{children:`User are able to deposit funds into their vAccount or claim the funds from escrow and have them deposited in to their vAccount. Depositing funds into the vAccount is nessesary to be able to pay for creating campaigns, batches and tasks.`}),` diff --git a/assets/faq-BhJEZw3n.js b/assets/faq-CxeC-4XY.js similarity index 75% rename from assets/faq-BhJEZw3n.js rename to assets/faq-CxeC-4XY.js index 31c3b5fb..6c2d3f0a 100644 --- a/assets/faq-BhJEZw3n.js +++ b/assets/faq-CxeC-4XY.js @@ -1 +1 @@ -import{d as r,j as n}from"./index-DxjPKUrw.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; +import{d as r,j as n}from"./index-BTxi3UaB.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/get-acc-task-idx-Due6Wi4q.js b/assets/get-acc-task-idx-CcfoMfIC.js similarity index 75% rename from assets/get-acc-task-idx-Due6Wi4q.js rename to assets/get-acc-task-idx-CcfoMfIC.js index 31c3b5fb..6c2d3f0a 100644 --- a/assets/get-acc-task-idx-Due6Wi4q.js +++ b/assets/get-acc-task-idx-CcfoMfIC.js @@ -1 +1 @@ -import{d as r,j as n}from"./index-DxjPKUrw.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; +import{d as r,j as n}from"./index-BTxi3UaB.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/get-accounts-BRfzjl1R.js b/assets/get-accounts-CiIr3hSO.js similarity index 99% rename from assets/get-accounts-BRfzjl1R.js rename to assets/get-accounts-CiIr3hSO.js index 56a8d29c..6a5f6b5f 100644 --- a/assets/get-accounts-BRfzjl1R.js +++ b/assets/get-accounts-CiIr3hSO.js @@ -1,4 +1,4 @@ -import{d as n,j as s}from"./index-DxjPKUrw.js";const a={title:"getVaccounts",description:"undefined"};function e(i){const l={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...n(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(l.header,{children:s.jsxs(l.h1,{id:"getvaccounts",children:["getVaccounts",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#getvaccounts",children:s.jsx(l.div,{"data-autolink-icon":!0})})]})}),` +import{d as n,j as s}from"./index-BTxi3UaB.js";const a={title:"getVaccounts",description:"undefined"};function e(i){const l={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...n(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(l.header,{children:s.jsxs(l.h1,{id:"getvaccounts",children:["getVaccounts",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#getvaccounts",children:s.jsx(l.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(l.h2,{id:"description",children:["Description",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#description",children:s.jsx(l.div,{"data-autolink-icon":!0})})]}),` `,s.jsxs(l.p,{children:[`Next to having an EOS account, users will also need to create an Effect Network Virtual account, also known as a VAccount. This virtual account is used to store the user's funds and is used to pay for services on the Effect Network. diff --git a/assets/get-all-campaigns-qHakvsdd.js b/assets/get-all-campaigns-Cv7w94N_.js similarity index 75% rename from assets/get-all-campaigns-qHakvsdd.js rename to assets/get-all-campaigns-Cv7w94N_.js index 31c3b5fb..6c2d3f0a 100644 --- a/assets/get-all-campaigns-qHakvsdd.js +++ b/assets/get-all-campaigns-Cv7w94N_.js @@ -1 +1 @@ -import{d as r,j as n}from"./index-DxjPKUrw.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; +import{d as r,j as n}from"./index-BTxi3UaB.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/get-avatar-5f4fyhxs.js b/assets/get-avatar-5f4fyhxs.js deleted file mode 100644 index 31c3b5fb..00000000 --- a/assets/get-avatar-5f4fyhxs.js +++ /dev/null @@ -1 +0,0 @@ -import{d as r,j as n}from"./index-DxjPKUrw.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/get-avatar-_KtthGZi.js b/assets/get-avatar-_KtthGZi.js new file mode 100644 index 00000000..6c2d3f0a --- /dev/null +++ b/assets/get-avatar-_KtthGZi.js @@ -0,0 +1 @@ +import{d as r,j as n}from"./index-BTxi3UaB.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/get-balance-ph5vilub.js b/assets/get-balance-DW72rr-n.js similarity index 99% rename from assets/get-balance-ph5vilub.js rename to assets/get-balance-DW72rr-n.js index f58ab7d8..e0b3ac48 100644 --- a/assets/get-balance-ph5vilub.js +++ b/assets/get-balance-DW72rr-n.js @@ -1,4 +1,4 @@ -import{d as i,j as s}from"./index-DxjPKUrw.js";const n={title:"getBalance",description:"undefined"};function a(l){const e={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...i(),...l.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"getbalance",children:["getBalance",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#getbalance",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` +import{d as i,j as s}from"./index-BTxi3UaB.js";const n={title:"getBalance",description:"undefined"};function a(l){const e={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...i(),...l.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"getbalance",children:["getBalance",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#getbalance",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(e.h2,{id:"description",children:["Description",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#description",children:s.jsx(e.div,{"data-autolink-icon":!0})})]}),` `,s.jsx(e.p,{children:`This function is used to return the blance of EFX, USDT, and EOS of an account on the EOS blockchain. Namely the balance is what is available in the wallet of the user.`}),` diff --git a/assets/get-batch-AWOv63Q7.js b/assets/get-batch-AWOv63Q7.js new file mode 100644 index 00000000..6c2d3f0a --- /dev/null +++ b/assets/get-batch-AWOv63Q7.js @@ -0,0 +1 @@ +import{d as r,j as n}from"./index-BTxi3UaB.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/get-batch-BwHIKDuc.js b/assets/get-batch-BwHIKDuc.js deleted file mode 100644 index 31c3b5fb..00000000 --- a/assets/get-batch-BwHIKDuc.js +++ /dev/null @@ -1 +0,0 @@ -import{d as r,j as n}from"./index-DxjPKUrw.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/get-campaign-by-id-Dlh1-6-h.js b/assets/get-campaign-by-id-D0kosoj_.js similarity index 99% rename from assets/get-campaign-by-id-Dlh1-6-h.js rename to assets/get-campaign-by-id-D0kosoj_.js index 169ec5d9..b0778dd6 100644 --- a/assets/get-campaign-by-id-Dlh1-6-h.js +++ b/assets/get-campaign-by-id-D0kosoj_.js @@ -1,4 +1,4 @@ -import{d as e,j as s}from"./index-DxjPKUrw.js";const a={title:"getCampaignById",description:"undefined"};function n(l){const i={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...e(),...l.components};return s.jsxs(s.Fragment,{children:[s.jsx(i.header,{children:s.jsxs(i.h1,{id:"getcampaignbyid",children:["getCampaignById",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#getcampaignbyid",children:s.jsx(i.div,{"data-autolink-icon":!0})})]})}),` +import{d as e,j as s}from"./index-BTxi3UaB.js";const a={title:"getCampaignById",description:"undefined"};function n(l){const i={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...e(),...l.components};return s.jsxs(s.Fragment,{children:[s.jsx(i.header,{children:s.jsxs(i.h1,{id:"getcampaignbyid",children:["getCampaignById",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#getcampaignbyid",children:s.jsx(i.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(i.h2,{id:"description",children:["Description",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#description",children:s.jsx(i.div,{"data-autolink-icon":!0})})]}),` `,s.jsx(i.p,{children:"This function retrieves a campaign from a specified client with the given ID."}),` `,s.jsxs(i.h2,{id:"usage",children:["Usage",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#usage",children:s.jsx(i.div,{"data-autolink-icon":!0})})]}),` diff --git a/assets/get-campaigns-DCqHNVnp.js b/assets/get-campaigns-DVUiEkOB.js similarity index 99% rename from assets/get-campaigns-DCqHNVnp.js rename to assets/get-campaigns-DVUiEkOB.js index cef34f19..12e19cb8 100644 --- a/assets/get-campaigns-DCqHNVnp.js +++ b/assets/get-campaigns-DVUiEkOB.js @@ -1,4 +1,4 @@ -import{d as r,j as s}from"./index-DxjPKUrw.js";const a={title:"getCampaigns",description:"undefined"};function e(l){const i={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...r(),...l.components};return s.jsxs(s.Fragment,{children:[s.jsx(i.header,{children:s.jsxs(i.h1,{id:"getcampaigns",children:["getCampaigns",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#getcampaigns",children:s.jsx(i.div,{"data-autolink-icon":!0})})]})}),` +import{d as r,j as s}from"./index-BTxi3UaB.js";const a={title:"getCampaigns",description:"undefined"};function e(l){const i={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...r(),...l.components};return s.jsxs(s.Fragment,{children:[s.jsx(i.header,{children:s.jsxs(i.h1,{id:"getcampaigns",children:["getCampaigns",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#getcampaigns",children:s.jsx(i.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(i.h2,{id:"description",children:["Description",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#description",children:s.jsx(i.div,{"data-autolink-icon":!0})})]}),` `,s.jsx(i.p,{children:"This function retrieves campaigns from a specified client with optional parameters for pagination, sorting, and IPFS fetching."}),` `,s.jsxs(i.h2,{id:"usage",children:["Usage",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#usage",children:s.jsx(i.div,{"data-autolink-icon":!0})})]}),` diff --git a/assets/get-or-create-5f4fyhxs.js b/assets/get-or-create-5f4fyhxs.js deleted file mode 100644 index 31c3b5fb..00000000 --- a/assets/get-or-create-5f4fyhxs.js +++ /dev/null @@ -1 +0,0 @@ -import{d as r,j as n}from"./index-DxjPKUrw.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/get-or-create-_KtthGZi.js b/assets/get-or-create-_KtthGZi.js new file mode 100644 index 00000000..6c2d3f0a --- /dev/null +++ b/assets/get-or-create-_KtthGZi.js @@ -0,0 +1 @@ +import{d as r,j as n}from"./index-BTxi3UaB.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/get-pending-payments-JunJmu14.js b/assets/get-pending-payments-DQD4bVJi.js similarity index 99% rename from assets/get-pending-payments-JunJmu14.js rename to assets/get-pending-payments-DQD4bVJi.js index e20746bb..f3baae36 100644 --- a/assets/get-pending-payments-JunJmu14.js +++ b/assets/get-pending-payments-DQD4bVJi.js @@ -1,4 +1,4 @@ -import{d as n,j as s}from"./index-DxjPKUrw.js";const a={title:"getPendinPayments",description:"undefined"};function e(i){const l={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...n(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(l.header,{children:s.jsxs(l.h1,{id:"getpendinpayments",children:["getPendinPayments",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#getpendinpayments",children:s.jsx(l.div,{"data-autolink-icon":!0})})]})}),` +import{d as n,j as s}from"./index-BTxi3UaB.js";const a={title:"getPendinPayments",description:"undefined"};function e(i){const l={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...n(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(l.header,{children:s.jsxs(l.h1,{id:"getpendinpayments",children:["getPendinPayments",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#getpendinpayments",children:s.jsx(l.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(l.h2,{id:"description",children:["Description",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#description",children:s.jsx(l.div,{"data-autolink-icon":!0})})]}),` `,s.jsx(l.p,{children:`Every time a user completes a task, EFX tokens are unlocked from the task, and put into escrow for the Vaccount. This function returns the pending payments for a given Vaccount. Thus the Vaccount can claim the pending payments, and pay then out to the user when the unlock period has passed.`}),` diff --git a/assets/get-price-DCleG9QA.js b/assets/get-price-BJVCclnK.js similarity index 99% rename from assets/get-price-DCleG9QA.js rename to assets/get-price-BJVCclnK.js index 6334d64b..7ab1b5da 100644 --- a/assets/get-price-DCleG9QA.js +++ b/assets/get-price-BJVCclnK.js @@ -1,4 +1,4 @@ -import{d as n,j as s}from"./index-DxjPKUrw.js";const a={title:"getPrice",description:"undefined"};function r(i){const e={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...n(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"getprice",children:["getPrice",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#getprice",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` +import{d as n,j as s}from"./index-BTxi3UaB.js";const a={title:"getPrice",description:"undefined"};function r(i){const e={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...n(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(e.header,{children:s.jsxs(e.h1,{id:"getprice",children:["getPrice",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#getprice",children:s.jsx(e.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(e.h2,{id:"description",children:["Description",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#description",children:s.jsx(e.div,{"data-autolink-icon":!0})})]}),` `,s.jsxs(e.p,{children:[`By calling this function, you will get the current price of the EFX token according to DefiBox. The price is in USDT. The contract can be viewed at the following link: `,s.jsx(e.a,{href:"https://www.bloks.io/account/tethertether",children:"https://www.bloks.io/account/tethertether"}),` diff --git a/assets/get-repetions-CcfoMfIC.js b/assets/get-repetions-CcfoMfIC.js new file mode 100644 index 00000000..6c2d3f0a --- /dev/null +++ b/assets/get-repetions-CcfoMfIC.js @@ -0,0 +1 @@ +import{d as r,j as n}from"./index-BTxi3UaB.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/get-repetions-Due6Wi4q.js b/assets/get-repetions-Due6Wi4q.js deleted file mode 100644 index 31c3b5fb..00000000 --- a/assets/get-repetions-Due6Wi4q.js +++ /dev/null @@ -1 +0,0 @@ -import{d as r,j as n}from"./index-DxjPKUrw.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/get-reservations-CGGXR8ns.js b/assets/get-reservations-CGGXR8ns.js deleted file mode 100644 index 31c3b5fb..00000000 --- a/assets/get-reservations-CGGXR8ns.js +++ /dev/null @@ -1 +0,0 @@ -import{d as r,j as n}from"./index-DxjPKUrw.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/get-reservations-m00rYVov.js b/assets/get-reservations-m00rYVov.js new file mode 100644 index 00000000..6c2d3f0a --- /dev/null +++ b/assets/get-reservations-m00rYVov.js @@ -0,0 +1 @@ +import{d as r,j as n}from"./index-BTxi3UaB.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/get-submissions-CcfoMfIC.js b/assets/get-submissions-CcfoMfIC.js new file mode 100644 index 00000000..6c2d3f0a --- /dev/null +++ b/assets/get-submissions-CcfoMfIC.js @@ -0,0 +1 @@ +import{d as r,j as n}from"./index-BTxi3UaB.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/get-submissions-Due6Wi4q.js b/assets/get-submissions-Due6Wi4q.js deleted file mode 100644 index 31c3b5fb..00000000 --- a/assets/get-submissions-Due6Wi4q.js +++ /dev/null @@ -1 +0,0 @@ -import{d as r,j as n}from"./index-DxjPKUrw.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/get-task-CcfoMfIC.js b/assets/get-task-CcfoMfIC.js new file mode 100644 index 00000000..6c2d3f0a --- /dev/null +++ b/assets/get-task-CcfoMfIC.js @@ -0,0 +1 @@ +import{d as r,j as n}from"./index-BTxi3UaB.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/get-task-Due6Wi4q.js b/assets/get-task-Due6Wi4q.js deleted file mode 100644 index 31c3b5fb..00000000 --- a/assets/get-task-Due6Wi4q.js +++ /dev/null @@ -1 +0,0 @@ -import{d as r,j as n}from"./index-DxjPKUrw.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/getting-started-DjfdpUqq.js b/assets/getting-started-CHX41jdV.js similarity index 99% rename from assets/getting-started-DjfdpUqq.js rename to assets/getting-started-CHX41jdV.js index 4523a75a..126297a1 100644 --- a/assets/getting-started-DjfdpUqq.js +++ b/assets/getting-started-CHX41jdV.js @@ -1,4 +1,4 @@ -import{d as a,j as s}from"./index-DxjPKUrw.js";const n={title:"Getting Started",description:"Get started with the SDK in just a few lines of code."};function l(e){const i={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",pre:"pre",span:"span",...a(),...e.components};return s.jsxs(s.Fragment,{children:[s.jsxs(i.header,{children:[s.jsxs(i.h1,{id:"getting-started",children:["Getting Started",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#getting-started",children:s.jsx(i.div,{"data-autolink-icon":!0})})]}),s.jsx(i.div,{role:"doc-subtitle",children:"Get started with the SDK in just a few lines of code."})]}),` +import{d as a,j as s}from"./index-BTxi3UaB.js";const n={title:"Getting Started",description:"Get started with the SDK in just a few lines of code."};function l(e){const i={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",pre:"pre",span:"span",...a(),...e.components};return s.jsxs(s.Fragment,{children:[s.jsxs(i.header,{children:[s.jsxs(i.h1,{id:"getting-started",children:["Getting Started",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#getting-started",children:s.jsx(i.div,{"data-autolink-icon":!0})})]}),s.jsx(i.div,{role:"doc-subtitle",children:"Get started with the SDK in just a few lines of code."})]}),` `,s.jsxs(i.h2,{id:"installation",children:["Installation",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#installation",children:s.jsx(i.div,{"data-autolink-icon":!0})})]}),` `,s.jsxs(i.p,{children:[`Use your favorite package manager to install the SDK. The sdk is available on `,s.jsx(i.a,{href:"https://www.npmjs.com/package/@effectai/sdk",children:"npm"})]}),` diff --git a/assets/index-DxjPKUrw.js b/assets/index-BTxi3UaB.js similarity index 84% rename from assets/index-DxjPKUrw.js rename to assets/index-BTxi3UaB.js index 1fcfb0e4..2213ab6d 100644 --- a/assets/index-DxjPKUrw.js +++ b/assets/index-BTxi3UaB.js @@ -56,7 +56,7 @@ Error generating stack: `+i.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function wl(){return wl=Object.assign?Object.assign.bind():function(e){for(var t=1;tKl(e,t),[t,e])}function U0(e){h.useContext(rr).static||h.useLayoutEffect(e)}function Bd(){let{isDataRoute:e}=h.useContext($r);return e?s3():Zw()}function Zw(){No()||re(!1);let e=h.useContext(Ki),{basename:t,future:n,navigator:r}=h.useContext(rr),{matches:o}=h.useContext($r),{pathname:i}=Oe(),a=JSON.stringify(Od(o,n.v7_relativeSplatPath)),l=h.useRef(!1);return U0(()=>{l.current=!0}),h.useCallback(function(u,d){if(d===void 0&&(d={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let c=Dd(u,JSON.parse(a),i,d.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:hn([t,c.pathname])),(d.replace?r.replace:r.push)(c,d.state,d)},[t,r,a,i,e])}function V0(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=h.useContext(rr),{matches:o}=h.useContext($r),{pathname:i}=Oe(),a=JSON.stringify(Od(o,r.v7_relativeSplatPath));return h.useMemo(()=>Dd(e,JSON.parse(a),i,n==="path"),[e,a,i,n])}function Xw(e,t,n,r){No()||re(!1);let{navigator:o}=h.useContext(rr),{matches:i}=h.useContext($r),a=i[i.length-1],l=a?a.params:{};a&&a.pathname;let s=a?a.pathnameBase:"/";a&&a.route;let u=Oe(),d;d=u;let c=d.pathname||"/",f=c;if(s!=="/"){let v=s.replace(/^\//,"").split("/");f="/"+c.replace(/^\//,"").split("/").slice(v.length).join("/")}let p=fr(e,{pathname:f});return n3(p&&p.map(v=>Object.assign({},v,{params:Object.assign({},l,v.params),pathname:hn([s,o.encodeLocation?o.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?s:hn([s,o.encodeLocation?o.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),i,n,r)}function Jw(){let e=l3(),t=jd(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return h.createElement(h.Fragment,null,h.createElement("h2",null,"Unexpected Application Error!"),h.createElement("h3",{style:{fontStyle:"italic"}},t),n?h.createElement("pre",{style:o},n):null,null)}const qw=h.createElement(Jw,null);class e3 extends h.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?h.createElement($r.Provider,{value:this.props.routeContext},h.createElement(z0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function t3(e){let{routeContext:t,match:n,children:r}=e,o=h.useContext(Ki);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),h.createElement($r.Provider,{value:t},r)}function n3(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if((i=n)!=null&&i.errors)e=n.matches;else return null}let a=e,l=(o=n)==null?void 0:o.errors;if(l!=null){let d=a.findIndex(c=>c.route.id&&(l==null?void 0:l[c.route.id])!==void 0);d>=0||re(!1),a=a.slice(0,Math.min(a.length,d+1))}let s=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((d,c,f)=>{let p,y=!1,v=null,_=null;n&&(p=l&&c.route.id?l[c.route.id]:void 0,v=c.route.errorElement||qw,s&&(u<0&&f===0?(y=!0,_=null):u===f&&(y=!0,_=c.route.hydrateFallbackElement||null)));let m=t.concat(a.slice(0,f+1)),g=()=>{let x;return p?x=v:y?x=_:c.route.Component?x=h.createElement(c.route.Component,null):c.route.element?x=c.route.element:x=d,h.createElement(t3,{match:c,routeContext:{outlet:d,matches:m,isDataRoute:n!=null},children:x})};return n&&(c.route.ErrorBoundary||c.route.errorElement||f===0)?h.createElement(e3,{location:n.location,revalidation:n.revalidation,component:v,error:p,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()},null)}var B0=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(B0||{}),Eo=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Eo||{});function r3(e){let t=h.useContext(Ki);return t||re(!1),t}function Hd(e){let t=h.useContext(Ud);return t||re(!1),t}function o3(e){let t=h.useContext($r);return t||re(!1),t}function H0(e){let t=o3(),n=t.matches[t.matches.length-1];return n.route.id||re(!1),n.route.id}function i3(){return Hd(Eo.UseNavigation).navigation}function a3(){let{matches:e,loaderData:t}=Hd(Eo.UseMatches);return h.useMemo(()=>e.map(n=>R0(n,t)),[e,t])}function l3(){var e;let t=h.useContext(z0),n=Hd(Eo.UseRouteError),r=H0(Eo.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function s3(){let{router:e}=r3(B0.UseNavigateStable),t=H0(Eo.UseNavigateStable),n=h.useRef(!1);return U0(()=>{n.current=!0}),h.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,wl({fromRouteId:t},i)))},[e,t])}function c3(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Me.Pop,navigator:i,static:a=!1,future:l}=e;No()&&re(!1);let s=t.replace(/^\/*/,"/"),u=h.useMemo(()=>({basename:s,navigator:i,static:a,future:wl({v7_relativeSplatPath:!1},l)}),[s,l,i,a]);typeof r=="string"&&(r=nr(r));let{pathname:d="/",search:c="",hash:f="",state:p=null,key:y="default"}=r,v=h.useMemo(()=>{let _=Tr(d,s);return _==null?null:{location:{pathname:_,search:c,hash:f,state:p,key:y},navigationType:o}},[s,d,c,f,p,y,o]);return v==null?null:h.createElement(rr.Provider,{value:u},h.createElement(Vd.Provider,{children:n,value:v}))}new Promise(()=>{});function u3(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:h.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:h.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:h.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** + */function wl(){return wl=Object.assign?Object.assign.bind():function(e){for(var t=1;tKl(e,t),[t,e])}function U0(e){h.useContext(rr).static||h.useLayoutEffect(e)}function Bd(){let{isDataRoute:e}=h.useContext($r);return e?s7():Zw()}function Zw(){No()||re(!1);let e=h.useContext(Ki),{basename:t,future:n,navigator:r}=h.useContext(rr),{matches:o}=h.useContext($r),{pathname:i}=Oe(),a=JSON.stringify(Od(o,n.v7_relativeSplatPath)),l=h.useRef(!1);return U0(()=>{l.current=!0}),h.useCallback(function(u,d){if(d===void 0&&(d={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let c=Dd(u,JSON.parse(a),i,d.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:hn([t,c.pathname])),(d.replace?r.replace:r.push)(c,d.state,d)},[t,r,a,i,e])}function V0(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=h.useContext(rr),{matches:o}=h.useContext($r),{pathname:i}=Oe(),a=JSON.stringify(Od(o,r.v7_relativeSplatPath));return h.useMemo(()=>Dd(e,JSON.parse(a),i,n==="path"),[e,a,i,n])}function Xw(e,t,n,r){No()||re(!1);let{navigator:o}=h.useContext(rr),{matches:i}=h.useContext($r),a=i[i.length-1],l=a?a.params:{};a&&a.pathname;let s=a?a.pathnameBase:"/";a&&a.route;let u=Oe(),d;d=u;let c=d.pathname||"/",f=c;if(s!=="/"){let v=s.replace(/^\//,"").split("/");f="/"+c.replace(/^\//,"").split("/").slice(v.length).join("/")}let p=fr(e,{pathname:f});return n7(p&&p.map(v=>Object.assign({},v,{params:Object.assign({},l,v.params),pathname:hn([s,o.encodeLocation?o.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?s:hn([s,o.encodeLocation?o.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),i,n,r)}function Jw(){let e=l7(),t=jd(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return h.createElement(h.Fragment,null,h.createElement("h2",null,"Unexpected Application Error!"),h.createElement("h3",{style:{fontStyle:"italic"}},t),n?h.createElement("pre",{style:o},n):null,null)}const qw=h.createElement(Jw,null);class e7 extends h.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?h.createElement($r.Provider,{value:this.props.routeContext},h.createElement(z0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function t7(e){let{routeContext:t,match:n,children:r}=e,o=h.useContext(Ki);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),h.createElement($r.Provider,{value:t},r)}function n7(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if((i=n)!=null&&i.errors)e=n.matches;else return null}let a=e,l=(o=n)==null?void 0:o.errors;if(l!=null){let d=a.findIndex(c=>c.route.id&&(l==null?void 0:l[c.route.id])!==void 0);d>=0||re(!1),a=a.slice(0,Math.min(a.length,d+1))}let s=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((d,c,f)=>{let p,y=!1,v=null,_=null;n&&(p=l&&c.route.id?l[c.route.id]:void 0,v=c.route.errorElement||qw,s&&(u<0&&f===0?(y=!0,_=null):u===f&&(y=!0,_=c.route.hydrateFallbackElement||null)));let m=t.concat(a.slice(0,f+1)),g=()=>{let x;return p?x=v:y?x=_:c.route.Component?x=h.createElement(c.route.Component,null):c.route.element?x=c.route.element:x=d,h.createElement(t7,{match:c,routeContext:{outlet:d,matches:m,isDataRoute:n!=null},children:x})};return n&&(c.route.ErrorBoundary||c.route.errorElement||f===0)?h.createElement(e7,{location:n.location,revalidation:n.revalidation,component:v,error:p,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()},null)}var B0=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(B0||{}),Eo=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Eo||{});function r7(e){let t=h.useContext(Ki);return t||re(!1),t}function Hd(e){let t=h.useContext(Ud);return t||re(!1),t}function o7(e){let t=h.useContext($r);return t||re(!1),t}function H0(e){let t=o7(),n=t.matches[t.matches.length-1];return n.route.id||re(!1),n.route.id}function i7(){return Hd(Eo.UseNavigation).navigation}function a7(){let{matches:e,loaderData:t}=Hd(Eo.UseMatches);return h.useMemo(()=>e.map(n=>R0(n,t)),[e,t])}function l7(){var e;let t=h.useContext(z0),n=Hd(Eo.UseRouteError),r=H0(Eo.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function s7(){let{router:e}=r7(B0.UseNavigateStable),t=H0(Eo.UseNavigateStable),n=h.useRef(!1);return U0(()=>{n.current=!0}),h.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,wl({fromRouteId:t},i)))},[e,t])}function c7(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Me.Pop,navigator:i,static:a=!1,future:l}=e;No()&&re(!1);let s=t.replace(/^\/*/,"/"),u=h.useMemo(()=>({basename:s,navigator:i,static:a,future:wl({v7_relativeSplatPath:!1},l)}),[s,l,i,a]);typeof r=="string"&&(r=nr(r));let{pathname:d="/",search:c="",hash:f="",state:p=null,key:y="default"}=r,v=h.useMemo(()=>{let _=Tr(d,s);return _==null?null:{location:{pathname:_,search:c,hash:f,state:p,key:y},navigationType:o}},[s,d,c,f,p,y,o]);return v==null?null:h.createElement(rr.Provider,{value:u},h.createElement(Vd.Provider,{children:n,value:v}))}new Promise(()=>{});function u7(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:h.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:h.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:h.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** * React Router DOM v6.23.1 * * Copyright (c) Remix Software Inc. @@ -65,8 +65,8 @@ Error generating stack: `+i.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Co(){return Co=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function f3(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function p3(e,t){return e.button===0&&(!t||t==="_self")&&!f3(e)}const h3=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],v3="6";try{window.__reactRouterVersion=v3}catch{}function m3(e,t){return Rw({basename:t==null?void 0:t.basename,future:Co({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:tw({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||g3(),routes:e,mapRouteProperties:u3,unstable_dataStrategy:t==null?void 0:t.unstable_dataStrategy,window:t==null?void 0:t.window}).initialize()}function g3(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=Co({},t,{errors:y3(t.errors)})),t}function y3(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,o]of t)if(o&&o.__type==="RouteErrorResponse")n[r]=new Md(o.status,o.statusText,o.data,o.internal===!0);else if(o&&o.__type==="Error"){if(o.__subType){let i=window[o.__subType];if(typeof i=="function")try{let a=new i(o.message);a.stack="",n[r]=a}catch{}}if(n[r]==null){let i=new Error(o.message);i.stack="",n[r]=i}}else n[r]=o;return n}const x3=h.createContext({isTransitioning:!1}),w3=h.createContext(new Map),_3="startTransition",qp=Hu[_3],E3="flushSync",eh=ew[E3];function C3(e){qp?qp(e):e()}function Jo(e){eh?eh(e):e()}class b3{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function S3(e){let{fallbackElement:t,router:n,future:r}=e,[o,i]=h.useState(n.state),[a,l]=h.useState(),[s,u]=h.useState({isTransitioning:!1}),[d,c]=h.useState(),[f,p]=h.useState(),[y,v]=h.useState(),_=h.useRef(new Map),{v7_startTransition:m}=r||{},g=h.useCallback(C=>{m?C3(C):C()},[m]),x=h.useCallback((C,S)=>{let{deletedFetchers:$,unstable_flushSync:N,unstable_viewTransitionOpts:O}=S;$.forEach(L=>_.current.delete(L)),C.fetchers.forEach((L,P)=>{L.data!==void 0&&_.current.set(P,L.data)});let M=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!O||M){N?Jo(()=>i(C)):g(()=>i(C));return}if(N){Jo(()=>{f&&(d&&d.resolve(),f.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:O.currentLocation,nextLocation:O.nextLocation})});let L=n.window.document.startViewTransition(()=>{Jo(()=>i(C))});L.finished.finally(()=>{Jo(()=>{c(void 0),p(void 0),l(void 0),u({isTransitioning:!1})})}),Jo(()=>p(L));return}f?(d&&d.resolve(),f.skipTransition(),v({state:C,currentLocation:O.currentLocation,nextLocation:O.nextLocation})):(l(C),u({isTransitioning:!0,flushSync:!1,currentLocation:O.currentLocation,nextLocation:O.nextLocation}))},[n.window,f,d,_,g]);h.useLayoutEffect(()=>n.subscribe(x),[n,x]),h.useEffect(()=>{s.isTransitioning&&!s.flushSync&&c(new b3)},[s]),h.useEffect(()=>{if(d&&a&&n.window){let C=a,S=d.promise,$=n.window.document.startViewTransition(async()=>{g(()=>i(C)),await S});$.finished.finally(()=>{c(void 0),p(void 0),l(void 0),u({isTransitioning:!1})}),p($)}},[g,a,d,n.window]),h.useEffect(()=>{d&&a&&o.location.key===a.location.key&&d.resolve()},[d,f,o.location,a]),h.useEffect(()=>{!s.isTransitioning&&y&&(l(y.state),u({isTransitioning:!0,flushSync:!1,currentLocation:y.currentLocation,nextLocation:y.nextLocation}),v(void 0))},[s.isTransitioning,y]),h.useEffect(()=>{},[]);let E=h.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:C=>n.navigate(C),push:(C,S,$)=>n.navigate(C,{state:S,preventScrollReset:$==null?void 0:$.preventScrollReset}),replace:(C,S,$)=>n.navigate(C,{replace:!0,state:S,preventScrollReset:$==null?void 0:$.preventScrollReset})}),[n]),b=n.basename||"/",k=h.useMemo(()=>({router:n,navigator:E,static:!1,basename:b}),[n,E,b]);return h.createElement(h.Fragment,null,h.createElement(Ki.Provider,{value:k},h.createElement(Ud.Provider,{value:o},h.createElement(w3.Provider,{value:_.current},h.createElement(x3.Provider,{value:s},h.createElement(c3,{basename:b,location:o.location,navigationType:o.historyAction,navigator:E,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},o.initialized||n.future.v7_partialHydration?h.createElement(k3,{routes:n.routes,future:n.future,state:o}):t))))),null)}function k3(e){let{routes:t,future:n,state:r}=e;return Xw(t,void 0,r,n)}const T3=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",$3=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Gl=h.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:a,state:l,target:s,to:u,preventScrollReset:d,unstable_viewTransition:c}=t,f=d3(t,h3),{basename:p}=h.useContext(rr),y,v=!1;if(typeof u=="string"&&$3.test(u)&&(y=u,T3))try{let x=new URL(window.location.href),E=u.startsWith("//")?new URL(x.protocol+u):new URL(u),b=Tr(E.pathname,p);E.origin===x.origin&&b!=null?u=b+E.search+E.hash:v=!0}catch{}let _=Yw(u,{relative:o}),m=A3(u,{replace:a,state:l,target:s,preventScrollReset:d,relative:o,unstable_viewTransition:c});function g(x){r&&r(x),x.defaultPrevented||m(x)}return h.createElement("a",Co({},f,{href:y||_,onClick:v||i?r:g,ref:n,target:s}))});function P3(e){let{getKey:t,storageKey:n}=e;return I3({getKey:t,storageKey:n}),null}var ou;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ou||(ou={}));var iu;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(iu||(iu={}));function R3(e){let t=h.useContext(Ki);return t||re(!1),t}function N3(e){let t=h.useContext(Ud);return t||re(!1),t}function A3(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:a,unstable_viewTransition:l}=t===void 0?{}:t,s=Bd(),u=Oe(),d=V0(e,{relative:a});return h.useCallback(c=>{if(p3(c,n)){c.preventDefault();let f=r!==void 0?r:Cr(u)===Cr(d);s(e,{replace:f,state:o,preventScrollReset:i,relative:a,unstable_viewTransition:l})}},[u,s,d,r,o,n,e,i,a,l])}const th="react-router-scroll-positions";let xa={};function I3(e){let{getKey:t,storageKey:n}=e===void 0?{}:e,{router:r}=R3(ou.UseScrollRestoration),{restoreScrollPosition:o,preventScrollReset:i}=N3(iu.UseScrollRestoration),{basename:a}=h.useContext(rr),l=Oe(),s=a3(),u=i3();h.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),L3(h.useCallback(()=>{if(u.state==="idle"){let d=(t?t(l,s):null)||l.key;xa[d]=window.scrollY}try{sessionStorage.setItem(n||th,JSON.stringify(xa))}catch{}window.history.scrollRestoration="auto"},[n,t,u.state,l,s])),typeof document<"u"&&(h.useLayoutEffect(()=>{try{let d=sessionStorage.getItem(n||th);d&&(xa=JSON.parse(d))}catch{}},[n]),h.useLayoutEffect(()=>{let d=t&&a!=="/"?(f,p)=>t(Co({},f,{pathname:Tr(f.pathname,a)||f.pathname}),p):t,c=r==null?void 0:r.enableScrollRestoration(xa,()=>window.scrollY,d);return()=>c&&c()},[r,a,t]),h.useLayoutEffect(()=>{if(o!==!1){if(typeof o=="number"){window.scrollTo(0,o);return}if(l.hash){let d=document.getElementById(decodeURIComponent(l.hash.slice(1)));if(d){d.scrollIntoView();return}}i!==!0&&window.scrollTo(0,0)}},[l,o,i]))}function L3(e,t){let{capture:n}={};h.useEffect(()=>{let r=n!=null?{capture:n}:void 0;return window.addEventListener("pagehide",e,r),()=>{window.removeEventListener("pagehide",e,r)}},[e,n])}const O3="modulepreload",D3=function(e){return"/"+e},nh={},F=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.all(n.map(l=>{if(l=D3(l),l in nh)return;nh[l]=!0;const s=l.endsWith(".css"),u=s?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const d=document.createElement("link");if(d.rel=s?"stylesheet":O3,s||(d.as="script",d.crossOrigin=""),d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),s)return new Promise((c,f)=>{d.addEventListener("load",c),d.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${l}`)))})}))}return o.then(()=>t()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})};function au(e){return Array.isArray(e)?e.map(au):typeof e=="object"&&e!==null?Object.keys(e).reduce((t,n)=>(t[n]=au(e[n]),t),{}):typeof e=="string"&&e.includes("_vocs-fn_")?new Function(`return ${e.slice(9)}`)():e}const W0=au({blogDir:"./pages/blog",ogImageUrl:{"/":"/og-image.png"},rootDir:".",title:"Effect SDK Docs",titleTemplate:"%s · Effect.AI",baseUrl:"https://docs.effect.ai",description:"Effect-js is a free and open-source library powered by blockchain technology that enables developers to collect and enrich their data-sets in a transparent way.",iconUrl:{dark:"/favicons/dark.png",light:"/favicons/light.png"},logoUrl:{dark:"/effect-logo-black.png",light:"/effect-logo-black.png"},sidebar:{"/docs/":[{text:"Introduction",items:[{text:"Why Effect AI",link:"/docs/introduction"},{text:"Getting Started",link:"/docs/getting-started"},{text:"Authentication",link:"/docs/authentication"}]},{text:"Collecting Data",items:[{text:"Introduction",link:"/docs/collecting-data/introduction"},{text:"Creating a Template",link:"/docs/collecting-data/create-a-template"},{text:"Creating a Campaign",link:"/docs/collecting-data/create-a-campaign"},{text:"Adding Tasks to a Campaign",link:"/docs/collecting-data/adding-tasks"},{text:"Collecting results",link:"/docs/collecting-data/collecting-results"}]},{text:"Templates",items:[{text:"Introduction",link:"/docs/templates/introduction"},{text:"Label-Studio",link:"/docs/templates/labelstudio"}]},{text:"SDK API",collapsed:!0,items:[{text:"Tasks",items:[{text:"createCampaign",link:"/docs/tasks/campaigns/create-campaign"},{text:"getCampaigns",link:"/docs/tasks/campaigns/get-campaigns"},{text:"getCampaignById",link:"/docs/tasks/campaigns/get-campaign-by-id"}]},{text:"Token",items:[{text:"getPrice",link:"/docs/token/get-price"},{text:"getBalance",link:"/docs/token/get-balance"},{text:"transfer",link:"/docs/token/transfer"},{text:"swap",link:"/docs/token/swap"}]},{text:"vAccount",items:[{text:"claim",link:"/docs/vaccount/claim"},{text:"createAccount",link:"/docs/vaccount/create-account"},{text:"deposit",link:"/docs/vaccount/deposit"},{text:"getVAccounts",link:"/docs/vaccount/get-accounts"},{text:"getPendingPayments",link:"/docs/vaccount/get-pending-payments"},{text:"payout",link:"/docs/vaccount/payout"},{text:"withdraw",link:"/docs/vaccount/withdraw"}]}]},{text:"Glossary",items:[{text:"Terminology",link:"/docs/glossary/terminology"},{text:"Types",link:"/docs/glossary/types"}]},{text:"FAQ",items:[{text:"FAQ",link:"/docs/faq"}]}]},socials:[{icon:"github",link:"https://github.com/effectai",label:"GitHub",type:"github"},{icon:"discord",link:"https://discord.gg/effectnetwork",label:"Discord",type:"discord"},{icon:"x",link:"https://x.com/effectaix",label:"X (Twitter)",type:"x"}],theme:{accentColor:{backgroundAccent:{dark:"#ffc517",light:"#333"},backgroundAccentHover:{dark:"#f1b900",light:"#292929"},backgroundAccentText:{dark:"black",light:"white"},borderAccent:{dark:"#ffde3b",light:"#292929"},textAccent:{dark:"#ffc517",light:"#333"},textAccentHover:{dark:"#e3ad00",light:"#202020"}}},topNav:[{text:"Docs",link:"/docs/getting-started",match:"/docs",id:48,items:[]},{text:"Examples",link:"https://github.com/effectai/effect-js/tree/main/examples",id:49,items:[]},{text:"2.0.1",items:[{text:"Migrating to 2.0.x",link:"/docs/migration-guide#_2-0-x-breaking-changes",id:51,items:[]},{text:"Changelog",link:"https://github.com/effectai/effect-js/blob/main/CHANGELOG.MD",id:52,items:[]},{text:"Contributing",link:"https://github.com/effectai/effect-js/blob/main/CONTRIBUTING.MD",id:53,items:[]}],id:50}],basePath:"",font:{},markdown:{code:{themes:{dark:"github-dark-dimmed",light:"github-light"}}},vite:{}}),K0=h.createContext(W0);function G0(){return typeof window<"u",W0}function M3({children:e,config:t}){const[n,r]=h.useState(()=>t||G0());return h.useEffect(()=>{},[]),h.useEffect(()=>{typeof window<"u"},[n]),w.jsx(K0.Provider,{value:n,children:e})}function Ke(){return h.useContext(K0)}const Wd=[{lazy:()=>F(()=>import("./index-BhFkPhY_.js"),[]),path:"/",type:"mdx",filePath:"index.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./authentication-4ay9bc6L.js"),[]),path:"/docs/authentication",type:"mdx",filePath:"docs/authentication.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./authentication-4ay9bc6L.js"),[]),path:"/docs/authentication.html",type:"mdx",filePath:"docs/authentication.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./compatibility-BiRlFBfx.js"),[]),path:"/docs/compatibility",type:"mdx",filePath:"docs/compatibility.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./compatibility-BiRlFBfx.js"),[]),path:"/docs/compatibility.html",type:"mdx",filePath:"docs/compatibility.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./faq-BhJEZw3n.js"),[]),path:"/docs/faq",type:"mdx",filePath:"docs/faq.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./faq-BhJEZw3n.js"),[]),path:"/docs/faq.html",type:"mdx",filePath:"docs/faq.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./getting-started-DjfdpUqq.js"),[]),path:"/docs/getting-started",type:"mdx",filePath:"docs/getting-started.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./getting-started-DjfdpUqq.js"),[]),path:"/docs/getting-started.html",type:"mdx",filePath:"docs/getting-started.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./introduction-C9oaz1wo.js"),[]),path:"/docs/introduction",type:"mdx",filePath:"docs/introduction.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./introduction-C9oaz1wo.js"),[]),path:"/docs/introduction.html",type:"mdx",filePath:"docs/introduction.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./local-development-DAdIxJWM.js"),[]),path:"/docs/local-development",type:"mdx",filePath:"docs/local-development.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./local-development-DAdIxJWM.js"),[]),path:"/docs/local-development.html",type:"mdx",filePath:"docs/local-development.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./adding-tasks-Dm6NhO6p.js"),[]),path:"/docs/collecting-data/adding-tasks",type:"mdx",filePath:"docs/collecting-data/adding-tasks.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./adding-tasks-Dm6NhO6p.js"),[]),path:"/docs/collecting-data/adding-tasks.html",type:"mdx",filePath:"docs/collecting-data/adding-tasks.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./collecting-results-Bho_IYGu.js"),[]),path:"/docs/collecting-data/collecting-results",type:"mdx",filePath:"docs/collecting-data/collecting-results.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./collecting-results-Bho_IYGu.js"),[]),path:"/docs/collecting-data/collecting-results.html",type:"mdx",filePath:"docs/collecting-data/collecting-results.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./create-a-campaign-BWd2Ad2h.js"),[]),path:"/docs/collecting-data/create-a-campaign",type:"mdx",filePath:"docs/collecting-data/create-a-campaign.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./create-a-campaign-BWd2Ad2h.js"),[]),path:"/docs/collecting-data/create-a-campaign.html",type:"mdx",filePath:"docs/collecting-data/create-a-campaign.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./create-a-template-BW3pgVao.js"),[]),path:"/docs/collecting-data/create-a-template",type:"mdx",filePath:"docs/collecting-data/create-a-template.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./create-a-template-BW3pgVao.js"),[]),path:"/docs/collecting-data/create-a-template.html",type:"mdx",filePath:"docs/collecting-data/create-a-template.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./introduction-C3Z5lqDn.js"),[]),path:"/docs/collecting-data/introduction",type:"mdx",filePath:"docs/collecting-data/introduction.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./introduction-C3Z5lqDn.js"),[]),path:"/docs/collecting-data/introduction.html",type:"mdx",filePath:"docs/collecting-data/introduction.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./terminology-ClXVlQBb.js"),[]),path:"/docs/glossary/terminology",type:"mdx",filePath:"docs/glossary/terminology.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./terminology-ClXVlQBb.js"),[]),path:"/docs/glossary/terminology.html",type:"mdx",filePath:"docs/glossary/terminology.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./types-DZSS5pFr.js"),[]),path:"/docs/glossary/types",type:"mdx",filePath:"docs/glossary/types.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./types-DZSS5pFr.js"),[]),path:"/docs/glossary/types.html",type:"mdx",filePath:"docs/glossary/types.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-acc-task-idx-Due6Wi4q.js"),[]),path:"/docs/tasks/get-acc-task-idx",type:"mdx",filePath:"docs/tasks/get-acc-task-idx.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-acc-task-idx-Due6Wi4q.js"),[]),path:"/docs/tasks/get-acc-task-idx.html",type:"mdx",filePath:"docs/tasks/get-acc-task-idx.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-repetions-Due6Wi4q.js"),[]),path:"/docs/tasks/get-repetions",type:"mdx",filePath:"docs/tasks/get-repetions.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-repetions-Due6Wi4q.js"),[]),path:"/docs/tasks/get-repetions.html",type:"mdx",filePath:"docs/tasks/get-repetions.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-submissions-Due6Wi4q.js"),[]),path:"/docs/tasks/get-submissions",type:"mdx",filePath:"docs/tasks/get-submissions.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-submissions-Due6Wi4q.js"),[]),path:"/docs/tasks/get-submissions.html",type:"mdx",filePath:"docs/tasks/get-submissions.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-task-Due6Wi4q.js"),[]),path:"/docs/tasks/get-task",type:"mdx",filePath:"docs/tasks/get-task.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-task-Due6Wi4q.js"),[]),path:"/docs/tasks/get-task.html",type:"mdx",filePath:"docs/tasks/get-task.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./submit-task-Due6Wi4q.js"),[]),path:"/docs/tasks/submit-task",type:"mdx",filePath:"docs/tasks/submit-task.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./submit-task-Due6Wi4q.js"),[]),path:"/docs/tasks/submit-task.html",type:"mdx",filePath:"docs/tasks/submit-task.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./introduction-kUGjGDtY.js"),[]),path:"/docs/templates/introduction",type:"mdx",filePath:"docs/templates/introduction.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./introduction-kUGjGDtY.js"),[]),path:"/docs/templates/introduction.html",type:"mdx",filePath:"docs/templates/introduction.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./labelstudio-cifO2D5V.js"),[]),path:"/docs/templates/labelstudio",type:"mdx",filePath:"docs/templates/labelstudio.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./labelstudio-cifO2D5V.js"),[]),path:"/docs/templates/labelstudio.html",type:"mdx",filePath:"docs/templates/labelstudio.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./placeholders-jzHg2ErV.js"),[]),path:"/docs/templates/placeholders",type:"mdx",filePath:"docs/templates/placeholders.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./placeholders-jzHg2ErV.js"),[]),path:"/docs/templates/placeholders.html",type:"mdx",filePath:"docs/templates/placeholders.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-balance-ph5vilub.js"),[]),path:"/docs/token/get-balance",type:"mdx",filePath:"docs/token/get-balance.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-balance-ph5vilub.js"),[]),path:"/docs/token/get-balance.html",type:"mdx",filePath:"docs/token/get-balance.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-price-DCleG9QA.js"),[]),path:"/docs/token/get-price",type:"mdx",filePath:"docs/token/get-price.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-price-DCleG9QA.js"),[]),path:"/docs/token/get-price.html",type:"mdx",filePath:"docs/token/get-price.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./swap-Dz287hUA.js"),[]),path:"/docs/token/swap",type:"mdx",filePath:"docs/token/swap.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./swap-Dz287hUA.js"),[]),path:"/docs/token/swap.html",type:"mdx",filePath:"docs/token/swap.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./transfer-CHEWxACI.js"),[]),path:"/docs/token/transfer",type:"mdx",filePath:"docs/token/transfer.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./transfer-CHEWxACI.js"),[]),path:"/docs/token/transfer.html",type:"mdx",filePath:"docs/token/transfer.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./claim-HC569VK4.js"),[]),path:"/docs/vaccount/claim",type:"mdx",filePath:"docs/vaccount/claim.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./claim-HC569VK4.js"),[]),path:"/docs/vaccount/claim.html",type:"mdx",filePath:"docs/vaccount/claim.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./create-account-CyO0hT89.js"),[]),path:"/docs/vaccount/create-account",type:"mdx",filePath:"docs/vaccount/create-account.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./create-account-CyO0hT89.js"),[]),path:"/docs/vaccount/create-account.html",type:"mdx",filePath:"docs/vaccount/create-account.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./deposit-cjK7hbl4.js"),[]),path:"/docs/vaccount/deposit",type:"mdx",filePath:"docs/vaccount/deposit.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./deposit-cjK7hbl4.js"),[]),path:"/docs/vaccount/deposit.html",type:"mdx",filePath:"docs/vaccount/deposit.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-accounts-BRfzjl1R.js"),[]),path:"/docs/vaccount/get-accounts",type:"mdx",filePath:"docs/vaccount/get-accounts.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-accounts-BRfzjl1R.js"),[]),path:"/docs/vaccount/get-accounts.html",type:"mdx",filePath:"docs/vaccount/get-accounts.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-avatar-5f4fyhxs.js"),[]),path:"/docs/vaccount/get-avatar",type:"mdx",filePath:"docs/vaccount/get-avatar.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-avatar-5f4fyhxs.js"),[]),path:"/docs/vaccount/get-avatar.html",type:"mdx",filePath:"docs/vaccount/get-avatar.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-or-create-5f4fyhxs.js"),[]),path:"/docs/vaccount/get-or-create",type:"mdx",filePath:"docs/vaccount/get-or-create.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-or-create-5f4fyhxs.js"),[]),path:"/docs/vaccount/get-or-create.html",type:"mdx",filePath:"docs/vaccount/get-or-create.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-pending-payments-JunJmu14.js"),[]),path:"/docs/vaccount/get-pending-payments",type:"mdx",filePath:"docs/vaccount/get-pending-payments.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-pending-payments-JunJmu14.js"),[]),path:"/docs/vaccount/get-pending-payments.html",type:"mdx",filePath:"docs/vaccount/get-pending-payments.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./payout-B6oZg56b.js"),[]),path:"/docs/vaccount/payout",type:"mdx",filePath:"docs/vaccount/payout.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./payout-B6oZg56b.js"),[]),path:"/docs/vaccount/payout.html",type:"mdx",filePath:"docs/vaccount/payout.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./transfer-ke5453AR.js"),[]),path:"/docs/vaccount/transfer",type:"mdx",filePath:"docs/vaccount/transfer.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./transfer-ke5453AR.js"),[]),path:"/docs/vaccount/transfer.html",type:"mdx",filePath:"docs/vaccount/transfer.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./withdraw-GxKREANf.js"),[]),path:"/docs/vaccount/withdraw",type:"mdx",filePath:"docs/vaccount/withdraw.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./withdraw-GxKREANf.js"),[]),path:"/docs/vaccount/withdraw.html",type:"mdx",filePath:"docs/vaccount/withdraw.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./create-batch-BwHIKDuc.js"),[]),path:"/docs/tasks/batches/create-batch",type:"mdx",filePath:"docs/tasks/batches/create-batch.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./create-batch-BwHIKDuc.js"),[]),path:"/docs/tasks/batches/create-batch.html",type:"mdx",filePath:"docs/tasks/batches/create-batch.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-batch-BwHIKDuc.js"),[]),path:"/docs/tasks/batches/get-batch",type:"mdx",filePath:"docs/tasks/batches/get-batch.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-batch-BwHIKDuc.js"),[]),path:"/docs/tasks/batches/get-batch.html",type:"mdx",filePath:"docs/tasks/batches/get-batch.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./create-campaign-DPuP_dVS.js"),[]),path:"/docs/tasks/campaigns/create-campaign",type:"mdx",filePath:"docs/tasks/campaigns/create-campaign.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./create-campaign-DPuP_dVS.js"),[]),path:"/docs/tasks/campaigns/create-campaign.html",type:"mdx",filePath:"docs/tasks/campaigns/create-campaign.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-all-campaigns-qHakvsdd.js"),[]),path:"/docs/tasks/campaigns/get-all-campaigns",type:"mdx",filePath:"docs/tasks/campaigns/get-all-campaigns.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-all-campaigns-qHakvsdd.js"),[]),path:"/docs/tasks/campaigns/get-all-campaigns.html",type:"mdx",filePath:"docs/tasks/campaigns/get-all-campaigns.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-campaign-by-id-Dlh1-6-h.js"),[]),path:"/docs/tasks/campaigns/get-campaign-by-id",type:"mdx",filePath:"docs/tasks/campaigns/get-campaign-by-id.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-campaign-by-id-Dlh1-6-h.js"),[]),path:"/docs/tasks/campaigns/get-campaign-by-id.html",type:"mdx",filePath:"docs/tasks/campaigns/get-campaign-by-id.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-campaigns-DCqHNVnp.js"),[]),path:"/docs/tasks/campaigns/get-campaigns",type:"mdx",filePath:"docs/tasks/campaigns/get-campaigns.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-campaigns-DCqHNVnp.js"),[]),path:"/docs/tasks/campaigns/get-campaigns.html",type:"mdx",filePath:"docs/tasks/campaigns/get-campaigns.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-reservations-CGGXR8ns.js"),[]),path:"/docs/tasks/reservations/get-reservations",type:"mdx",filePath:"docs/tasks/reservations/get-reservations.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./get-reservations-CGGXR8ns.js"),[]),path:"/docs/tasks/reservations/get-reservations.html",type:"mdx",filePath:"docs/tasks/reservations/get-reservations.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./reserve-task-CGGXR8ns.js"),[]),path:"/docs/tasks/reservations/reserve-task",type:"mdx",filePath:"docs/tasks/reservations/reserve-task.mdx",lastUpdatedAt:1717067269e3},{lazy:()=>F(()=>import("./reserve-task-CGGXR8ns.js"),[]),path:"/docs/tasks/reservations/reserve-task.html",type:"mdx",filePath:"docs/tasks/reservations/reserve-task.mdx",lastUpdatedAt:1717067269e3}];var Ds={horizontalPadding:"var(--vocs-content_horizontalPadding)",verticalPadding:"var(--vocs-content_verticalPadding)",width:"var(--vocs-content_width)"},rh={default:"system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif",mono:'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'},oh={default:"var(--vocs-fontFamily_default)",mono:"var(--vocs-fontFamily_mono)"},ih={white:"var(--vocs-color_white)",black:"var(--vocs-color_black)",background:"var(--vocs-color_background)",background2:"var(--vocs-color_background2)",background3:"var(--vocs-color_background3)",background4:"var(--vocs-color_background4)",background5:"var(--vocs-color_background5)",backgroundAccent:"var(--vocs-color_backgroundAccent)",backgroundAccentHover:"var(--vocs-color_backgroundAccentHover)",backgroundAccentText:"var(--vocs-color_backgroundAccentText)",backgroundBlueTint:"var(--vocs-color_backgroundBlueTint)",backgroundDark:"var(--vocs-color_backgroundDark)",backgroundGreenTint:"var(--vocs-color_backgroundGreenTint)",backgroundGreenTint2:"var(--vocs-color_backgroundGreenTint2)",backgroundIrisTint:"var(--vocs-color_backgroundIrisTint)",backgroundRedTint:"var(--vocs-color_backgroundRedTint)",backgroundRedTint2:"var(--vocs-color_backgroundRedTint2)",backgroundYellowTint:"var(--vocs-color_backgroundYellowTint)",border:"var(--vocs-color_border)",border2:"var(--vocs-color_border2)",borderAccent:"var(--vocs-color_borderAccent)",borderBlue:"var(--vocs-color_borderBlue)",borderGreen:"var(--vocs-color_borderGreen)",borderIris:"var(--vocs-color_borderIris)",borderRed:"var(--vocs-color_borderRed)",borderYellow:"var(--vocs-color_borderYellow)",heading:"var(--vocs-color_heading)",inverted:"var(--vocs-color_inverted)",shadow:"var(--vocs-color_shadow)",shadow2:"var(--vocs-color_shadow2)",text:"var(--vocs-color_text)",text2:"var(--vocs-color_text2)",text3:"var(--vocs-color_text3)",text4:"var(--vocs-color_text4)",textAccent:"var(--vocs-color_textAccent)",textAccentHover:"var(--vocs-color_textAccentHover)",textBlue:"var(--vocs-color_textBlue)",textBlueHover:"var(--vocs-color_textBlueHover)",textGreen:"var(--vocs-color_textGreen)",textGreenHover:"var(--vocs-color_textGreenHover)",textIris:"var(--vocs-color_textIris)",textIrisHover:"var(--vocs-color_textIrisHover)",textRed:"var(--vocs-color_textRed)",textRedHover:"var(--vocs-color_textRedHover)",textYellow:"var(--vocs-color_textYellow)",textYellowHover:"var(--vocs-color_textYellowHover)",title:"var(--vocs-color_title)"},Ms={0:"var(--vocs-space_0)",1:"var(--vocs-space_1)",2:"var(--vocs-space_2)",3:"var(--vocs-space_3)",4:"var(--vocs-space_4)",6:"var(--vocs-space_6)",8:"var(--vocs-space_8)",12:"var(--vocs-space_12)",14:"var(--vocs-space_14)",16:"var(--vocs-space_16)",18:"var(--vocs-space_18)",20:"var(--vocs-space_20)",22:"var(--vocs-space_22)",24:"var(--vocs-space_24)",28:"var(--vocs-space_28)",32:"var(--vocs-space_32)",36:"var(--vocs-space_36)",40:"var(--vocs-space_40)",44:"var(--vocs-space_44)",48:"var(--vocs-space_48)",56:"var(--vocs-space_56)",64:"var(--vocs-space_64)",72:"var(--vocs-space_72)",80:"var(--vocs-space_80)"};function Y0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t"".concat(l,":").concat(this[l])).join(";")},writable:!1}),n}var F3="var(--vocs_ExternalLink_iconUrl)",z3="vocs_ExternalLink";const U3=h.forwardRef(({className:e,children:t,hideExternalIcon:n,href:r,...o},i)=>{const{basePath:a}=Ke(),l=a;return w.jsx("a",{ref:i,className:D(e,n||typeof t!="string"?void 0:z3),href:r,target:"_blank",rel:"noopener noreferrer",style:Gt({[F3]:`url(${l}/.vocs/icons/arrow-diagonal.svg)`}),...o,children:t})});var ah="vocs_Link_accent_underlined",lh="vocs_Link",sh="vocs_Link_styleless",lu=new Map,wa=new WeakMap,ch=0,V3=void 0;function B3(e){return e?(wa.has(e)||(ch+=1,wa.set(e,ch.toString())),wa.get(e)):"0"}function H3(e){return Object.keys(e).sort().filter(t=>e[t]!==void 0).map(t=>`${t}_${t==="root"?B3(e.root):e[t]}`).toString()}function W3(e){const t=H3(e);let n=lu.get(t);if(!n){const r=new Map;let o;const i=new IntersectionObserver(a=>{a.forEach(l=>{var s;const u=l.isIntersecting&&o.some(d=>l.intersectionRatio>=d);e.trackVisibility&&typeof l.isVisible>"u"&&(l.isVisible=u),(s=r.get(l.target))==null||s.forEach(d=>{d(u,l)})})},e);o=i.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:i,elements:r},lu.set(t,n)}return n}function K3(e,t,n={},r=V3){if(typeof window.IntersectionObserver>"u"&&r!==void 0){const s=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:typeof n.threshold=="number"?n.threshold:0,time:0,boundingClientRect:s,intersectionRect:s,rootBounds:s}),()=>{}}const{id:o,observer:i,elements:a}=W3(n),l=a.get(e)||[];return a.has(e)||a.set(e,l),l.push(t),i.observe(e),function(){l.splice(l.indexOf(t),1),l.length===0&&(a.delete(e),i.unobserve(e)),a.size===0&&(i.disconnect(),lu.delete(o))}}function Q0({threshold:e,delay:t,trackVisibility:n,rootMargin:r,root:o,triggerOnce:i,skip:a,initialInView:l,fallbackInView:s,onChange:u}={}){var d;const[c,f]=h.useState(null),p=h.useRef(),[y,v]=h.useState({inView:!!l,entry:void 0});p.current=u,h.useEffect(()=>{if(a||!c)return;let x;return x=K3(c,(E,b)=>{v({inView:E,entry:b}),p.current&&p.current(E,b),b.isIntersecting&&i&&x&&(x(),x=void 0)},{root:o,rootMargin:r,threshold:e,trackVisibility:n,delay:t},s),()=>{x&&x()}},[Array.isArray(e)?e.toString():e,c,o,r,i,a,n,s,t]);const _=(d=y.entry)==null?void 0:d.target,m=h.useRef();!c&&_&&!i&&!a&&m.current!==_&&(m.current=_,v({inView:!!l,entry:void 0}));const g=[f,y.inView,y.entry];return g.ref=g[0],g.inView=g[1],g.entry=g[2],g}function G3(...e){return t=>{Y3(t,...e)}}function Y3(e,...t){t.forEach(n=>{typeof n=="function"?n(e):n!=null&&(n.current=e)})}const Qn=h.forwardRef((e,t)=>{const n=()=>{var i;return(i=Wd.find(a=>a.path===e.to))==null?void 0:i.lazy()},{ref:r,inView:o}=Q0();return h.useEffect(()=>{o&&n()},[o,n]),w.jsx(Gl,{ref:G3(t,r),...e})}),on=h.forwardRef((e,t)=>{const{href:n,variant:r="accent underlined"}=e,{pathname:o}=Oe();if(n!=null&&n.match(/^(www|https?)/))return w.jsx(U3,{...e,ref:t,className:D(e.className,lh,r==="accent underlined"&&ah,r==="styleless"&&sh),hideExternalIcon:e.hideExternalIcon});const[i,a]=(n||"").split("#"),l=`${i||o}${a?`#${a}`:""}`;return w.jsx(Qn,{...e,ref:t,className:D(e.className,lh,r==="accent underlined"&&ah,r==="styleless"&&sh),to:l})});var Q3="vocs_NotFound_divider",Z3="vocs_NotFound",X3="vocs_H1",Z0="vocs_Heading",X0="vocs_Heading_slugTarget";function Ao({level:e,...t}){const n=`h${e}`;return w.jsxs(n,{...t,id:void 0,className:D(t.className,Z0),children:[w.jsx("div",{id:t.id,className:X0}),t.children]})}function J0(e){return w.jsx(Ao,{...e,className:D(e.className,X3),level:1})}var J3="vocs_Paragraph";function q0(e){return w.jsx("p",{...e,className:D(e.className,J3)})}function q3(){return w.jsxs("div",{className:Z3,children:[w.jsx(J0,{children:"Page Not Found"}),w.jsx("div",{style:{height:Ms[24]}}),w.jsx("hr",{className:Q3}),w.jsx("div",{style:{height:Ms[24]}}),w.jsx(q0,{children:"The page you were looking for could not be found."}),w.jsx("div",{style:{height:Ms[8]}}),w.jsx(on,{href:"/",children:"Go to Home Page"})]})}var e5="var(--vocs_Banner_bannerBackgroundColor)",t5="var(--vocs_Banner_bannerHeight)",n5="var(--vocs_Banner_bannerTextColor)",r5="vocs_Banner_closeButton",o5="vocs_Banner_content",i5="vocs_Banner_inner",a5="vocs_Banner";const l5=Object.getPrototypeOf(s5).constructor;async function s5(e,t){return new l5(String(e))(t)}function c5(e,t){return new Function(String(e))(t)}function Pr(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}var u5=["color"],d5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Pr(e,u5);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M6.85355 3.14645C7.04882 3.34171 7.04882 3.65829 6.85355 3.85355L3.70711 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H3.70711L6.85355 11.1464C7.04882 11.3417 7.04882 11.6583 6.85355 11.8536C6.65829 12.0488 6.34171 12.0488 6.14645 11.8536L2.14645 7.85355C1.95118 7.65829 1.95118 7.34171 2.14645 7.14645L6.14645 3.14645C6.34171 2.95118 6.65829 2.95118 6.85355 3.14645Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),f5=["color"],p5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Pr(e,f5);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),h5=["color"],v5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Pr(e,h5);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M12.8536 2.85355C13.0488 2.65829 13.0488 2.34171 12.8536 2.14645C12.6583 1.95118 12.3417 1.95118 12.1464 2.14645L7.5 6.79289L2.85355 2.14645C2.65829 1.95118 2.34171 1.95118 2.14645 2.14645C1.95118 2.34171 1.95118 2.65829 2.14645 2.85355L6.79289 7.5L2.14645 12.1464C1.95118 12.3417 1.95118 12.6583 2.14645 12.8536C2.34171 13.0488 2.65829 13.0488 2.85355 12.8536L7.5 8.20711L12.1464 12.8536C12.3417 13.0488 12.6583 13.0488 12.8536 12.8536C13.0488 12.6583 13.0488 12.3417 12.8536 12.1464L8.20711 7.5L12.8536 2.85355Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),m5=["color"],g5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Pr(e,m5);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M3.5 2C3.22386 2 3 2.22386 3 2.5V12.5C3 12.7761 3.22386 13 3.5 13H11.5C11.7761 13 12 12.7761 12 12.5V6H8.5C8.22386 6 8 5.77614 8 5.5V2H3.5ZM9 2.70711L11.2929 5H9V2.70711ZM2 2.5C2 1.67157 2.67157 1 3.5 1H8.5C8.63261 1 8.75979 1.05268 8.85355 1.14645L12.8536 5.14645C12.9473 5.24021 13 5.36739 13 5.5V12.5C13 13.3284 12.3284 14 11.5 14H3.5C2.67157 14 2 13.3284 2 12.5V2.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),y5=["color"],x5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Pr(e,y5);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M1.5 5.25C1.91421 5.25 2.25 4.91421 2.25 4.5C2.25 4.08579 1.91421 3.75 1.5 3.75C1.08579 3.75 0.75 4.08579 0.75 4.5C0.75 4.91421 1.08579 5.25 1.5 5.25ZM4 4.5C4 4.22386 4.22386 4 4.5 4H13.5C13.7761 4 14 4.22386 14 4.5C14 4.77614 13.7761 5 13.5 5H4.5C4.22386 5 4 4.77614 4 4.5ZM4.5 7C4.22386 7 4 7.22386 4 7.5C4 7.77614 4.22386 8 4.5 8H13.5C13.7761 8 14 7.77614 14 7.5C14 7.22386 13.7761 7 13.5 7H4.5ZM4.5 10C4.22386 10 4 10.2239 4 10.5C4 10.7761 4.22386 11 4.5 11H13.5C13.7761 11 14 10.7761 14 10.5C14 10.2239 13.7761 10 13.5 10H4.5ZM2.25 7.5C2.25 7.91421 1.91421 8.25 1.5 8.25C1.08579 8.25 0.75 7.91421 0.75 7.5C0.75 7.08579 1.08579 6.75 1.5 6.75C1.91421 6.75 2.25 7.08579 2.25 7.5ZM1.5 11.25C1.91421 11.25 2.25 10.9142 2.25 10.5C2.25 10.0858 1.91421 9.75 1.5 9.75C1.08579 9.75 0.75 10.0858 0.75 10.5C0.75 10.9142 1.08579 11.25 1.5 11.25Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),w5=["color"],Kd=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Pr(e,w5);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),_5=["color"],E5=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Pr(e,_5);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M12.1464 1.14645C12.3417 0.951184 12.6583 0.951184 12.8535 1.14645L14.8535 3.14645C15.0488 3.34171 15.0488 3.65829 14.8535 3.85355L10.9109 7.79618C10.8349 7.87218 10.7471 7.93543 10.651 7.9835L6.72359 9.94721C6.53109 10.0435 6.29861 10.0057 6.14643 9.85355C5.99425 9.70137 5.95652 9.46889 6.05277 9.27639L8.01648 5.34897C8.06455 5.25283 8.1278 5.16507 8.2038 5.08907L12.1464 1.14645ZM12.5 2.20711L8.91091 5.79618L7.87266 7.87267L8.12731 8.12732L10.2038 7.08907L13.7929 3.5L12.5 2.20711ZM9.99998 2L8.99998 3H4.9C4.47171 3 4.18056 3.00039 3.95552 3.01877C3.73631 3.03668 3.62421 3.06915 3.54601 3.10899C3.35785 3.20487 3.20487 3.35785 3.10899 3.54601C3.06915 3.62421 3.03669 3.73631 3.01878 3.95552C3.00039 4.18056 3 4.47171 3 4.9V11.1C3 11.5283 3.00039 11.8194 3.01878 12.0445C3.03669 12.2637 3.06915 12.3758 3.10899 12.454C3.20487 12.6422 3.35785 12.7951 3.54601 12.891C3.62421 12.9309 3.73631 12.9633 3.95552 12.9812C4.18056 12.9996 4.47171 13 4.9 13H11.1C11.5283 13 11.8194 12.9996 12.0445 12.9812C12.2637 12.9633 12.3758 12.9309 12.454 12.891C12.6422 12.7951 12.7951 12.6422 12.891 12.454C12.9309 12.3758 12.9633 12.2637 12.9812 12.0445C12.9996 11.8194 13 11.5283 13 11.1V6.99998L14 5.99998V11.1V11.1207C14 11.5231 14 11.8553 13.9779 12.1259C13.9549 12.407 13.9057 12.6653 13.782 12.908C13.5903 13.2843 13.2843 13.5903 12.908 13.782C12.6653 13.9057 12.407 13.9549 12.1259 13.9779C11.8553 14 11.5231 14 11.1207 14H11.1H4.9H4.87934C4.47686 14 4.14468 14 3.87409 13.9779C3.59304 13.9549 3.33469 13.9057 3.09202 13.782C2.7157 13.5903 2.40973 13.2843 2.21799 12.908C2.09434 12.6653 2.04506 12.407 2.0221 12.1259C1.99999 11.8553 1.99999 11.5231 2 11.1207V11.1206V11.1V4.9V4.87935V4.87932V4.87931C1.99999 4.47685 1.99999 4.14468 2.0221 3.87409C2.04506 3.59304 2.09434 3.33469 2.21799 3.09202C2.40973 2.71569 2.7157 2.40973 3.09202 2.21799C3.33469 2.09434 3.59304 2.04506 3.87409 2.0221C4.14468 1.99999 4.47685 1.99999 4.87932 2H4.87935H4.9H9.99998Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))});function _l(e,t){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map((r,o)=>_l(r,o));const n=e.props.children?{...e.props,children:_l(e.props.children)}:e.props;return X.createElement(e.type,{...n,key:t})}function C5({hide:e}){const{banner:t}=Ke(),n=h.useMemo(()=>{const r=(t==null?void 0:t.content)??"";if(!r)return null;if(typeof r!="string")return()=>_l(r);const{default:o}=c5(r,{...Qy,Fragment:h.Fragment});return o},[t]);return n?w.jsx("div",{className:D(a5),style:Gt({[e5]:t==null?void 0:t.backgroundColor,[n5]:t==null?void 0:t.textColor}),children:w.jsxs("div",{className:D(i5),children:[w.jsx("div",{className:D(o5),children:w.jsx(n,{})}),(t==null?void 0:t.dismissable)!=="false"&&w.jsx("button",{className:D(r5),onClick:e,type:"button",children:w.jsx(v5,{width:14,height:14})})]})}):null}var b5="vocs_Content";function eg({children:e,className:t}){return w.jsx("article",{className:D(t,b5),children:e})}function tg({items:e,pathname:t}){const n=t.replace(/\.html$/,""),r=[];for(const o of e)(o.link&&n.startsWith(o.match||o.link)||o.items&&tg({items:o.items,pathname:t}).length>0)&&r.push(o.id);return r}function Gi({items:e,pathname:t}){return h.useMemo(()=>tg({items:e,pathname:t}),[e,t])}function Rr(){const e=h.useContext(ng);if(!e)throw new Error("`usePageData` must be used within `PageDataContext.Provider`.");return e}const ng=h.createContext(void 0);function Yl(){const{pathname:e}=Oe(),t=Ke(),{sidebar:n}=t;if(!n)return{items:[]};if(Array.isArray(n))return{items:n};const r=h.useMemo(()=>{const o=Object.keys(n).filter(i=>e.startsWith(i));return o[o.length-1]},[n,e]);return r?Array.isArray(n[r])?{key:r,items:n[r]}:{...n[r],key:r}:{items:[]}}function Nr(){const e=Yl(),{frontmatter:t}=Rr(),{layout:n,showLogo:r,showOutline:o,showSidebar:i,showTopNav:a}=t||{},l=n??"docs";return{layout:l,get showLogo(){return typeof r<"u"?r:!0},get showOutline(){return typeof o<"u"?o:l==="docs"},get showSidebar(){return e.items.length===0?!1:typeof i<"u"?i:!(l==="minimal"||l==="landing")},get showTopNav(){return typeof a<"u"?a:!0}}}function S5(){const[e,t]=h.useState(()=>{if(!(typeof window>"u")){if(localStorage.getItem("vocs.theme")){const n=localStorage.getItem("vocs.theme");if(n)return n}return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}});return h.useEffect(()=>{e&&localStorage.setItem("vocs.theme",e),e==="dark"?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},[e]),{theme:e,toggle(){t(n=>n==="light"?"dark":"light")}}}var k5="vocs_utils_visibleDark",T5="vocs_utils_visibleLight",rg="vocs_utils_visuallyHidden";function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(n=>$5(n,t))}function Ve(...e){return h.useCallback(og(...e),e)}function Cn(e,t=[]){let n=[];function r(i,a){const l=h.createContext(a),s=n.length;n=[...n,a];function u(c){const{scope:f,children:p,...y}=c,v=(f==null?void 0:f[e][s])||l,_=h.useMemo(()=>y,Object.values(y));return h.createElement(v.Provider,{value:_},p)}function d(c,f){const p=(f==null?void 0:f[e][s])||l,y=h.useContext(p);if(y)return y;if(a!==void 0)return a;throw new Error(`\`${c}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,d]}const o=()=>{const i=n.map(a=>h.createContext(a));return function(l){const s=(l==null?void 0:l[e])||i;return h.useMemo(()=>({[`__scope${e}`]:{...l,[e]:s}}),[l,s])}};return o.scopeName=e,[r,P5(o,...t)]}function P5(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((l,{useScope:s,scopeName:u})=>{const c=s(i)[`__scope${u}`];return{...l,...c}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const xn=globalThis!=null&&globalThis.document?h.useLayoutEffect:()=>{},R5=Hu.useId||(()=>{});let N5=0;function an(e){const[t,n]=h.useState(R5());return xn(()=>{n(r=>r??String(N5++))},[e]),t?`radix-${t}`:""}function lt(e){const t=h.useRef(e);return h.useEffect(()=>{t.current=e}),h.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function or({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=A5({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,l=lt(n),s=h.useCallback(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&l(c)}else o(u)},[i,e,o,l]);return[a,s]}function A5({defaultProp:e,onChange:t}){const n=h.useState(e),[r]=n,o=h.useRef(r),i=lt(t);return h.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}const bo=h.forwardRef((e,t)=>{const{children:n,...r}=e,o=h.Children.toArray(n),i=o.find(L5);if(i){const a=i.props.children,l=o.map(s=>s===i?h.Children.count(a)>1?h.Children.only(null):h.isValidElement(a)?a.props.children:null:s);return h.createElement(su,Y({},r,{ref:t}),h.isValidElement(a)?h.cloneElement(a,void 0,l):null)}return h.createElement(su,Y({},r,{ref:t}),n)});bo.displayName="Slot";const su=h.forwardRef((e,t)=>{const{children:n,...r}=e;return h.isValidElement(n)?h.cloneElement(n,{...O5(r,n.props),ref:t?og(t,n.ref):n.ref}):h.Children.count(n)>1?h.Children.only(null):null});su.displayName="SlotClone";const I5=({children:e})=>h.createElement(h.Fragment,null,e);function L5(e){return h.isValidElement(e)&&e.type===I5}function O5(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...l)=>{i(...l),o(...l)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const D5=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],fe=D5.reduce((e,t)=>{const n=h.forwardRef((r,o)=>{const{asChild:i,...a}=r,l=i?bo:t;return h.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),h.createElement(l,Y({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function cu(e,t){e&&Ro.flushSync(()=>e.dispatchEvent(t))}function M5(e,t=globalThis==null?void 0:globalThis.document){const n=lt(e);h.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const uu="dismissableLayer.update",j5="dismissableLayer.pointerDownOutside",F5="dismissableLayer.focusOutside";let uh;const z5=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Gd=h.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:l,onDismiss:s,...u}=e,d=h.useContext(z5),[c,f]=h.useState(null),p=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,y]=h.useState({}),v=Ve(t,S=>f(S)),_=Array.from(d.layers),[m]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),g=_.indexOf(m),x=c?_.indexOf(c):-1,E=d.layersWithOutsidePointerEventsDisabled.size>0,b=x>=g,k=U5(S=>{const $=S.target,N=[...d.branches].some(O=>O.contains($));!b||N||(i==null||i(S),l==null||l(S),S.defaultPrevented||s==null||s())},p),C=V5(S=>{const $=S.target;[...d.branches].some(O=>O.contains($))||(a==null||a(S),l==null||l(S),S.defaultPrevented||s==null||s())},p);return M5(S=>{x===d.layers.size-1&&(o==null||o(S),!S.defaultPrevented&&s&&(S.preventDefault(),s()))},p),h.useEffect(()=>{if(c)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(uh=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(c)),d.layers.add(c),dh(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=uh)}},[c,p,r,d]),h.useEffect(()=>()=>{c&&(d.layers.delete(c),d.layersWithOutsidePointerEventsDisabled.delete(c),dh())},[c,d]),h.useEffect(()=>{const S=()=>y({});return document.addEventListener(uu,S),()=>document.removeEventListener(uu,S)},[]),h.createElement(fe.div,Y({},u,{ref:v,style:{pointerEvents:E?b?"auto":"none":void 0,...e.style},onFocusCapture:se(e.onFocusCapture,C.onFocusCapture),onBlurCapture:se(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:se(e.onPointerDownCapture,k.onPointerDownCapture)}))});function U5(e,t=globalThis==null?void 0:globalThis.document){const n=lt(e),r=h.useRef(!1),o=h.useRef(()=>{});return h.useEffect(()=>{const i=l=>{if(l.target&&!r.current){let u=function(){ig(j5,n,s,{discrete:!0})};const s={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function V5(e,t=globalThis==null?void 0:globalThis.document){const n=lt(e),r=h.useRef(!1);return h.useEffect(()=>{const o=i=>{i.target&&!r.current&&ig(F5,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function dh(){const e=new CustomEvent(uu);document.dispatchEvent(e)}function ig(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?cu(o,i):o.dispatchEvent(i)}const js="focusScope.autoFocusOnMount",Fs="focusScope.autoFocusOnUnmount",fh={bubbles:!1,cancelable:!0},ag=h.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[l,s]=h.useState(null),u=lt(o),d=lt(i),c=h.useRef(null),f=Ve(t,v=>s(v)),p=h.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h.useEffect(()=>{if(r){let v=function(x){if(p.paused||!l)return;const E=x.target;l.contains(E)?c.current=E:An(c.current,{select:!0})},_=function(x){if(p.paused||!l)return;const E=x.relatedTarget;E!==null&&(l.contains(E)||An(c.current,{select:!0}))},m=function(x){if(document.activeElement===document.body)for(const b of x)b.removedNodes.length>0&&An(l)};document.addEventListener("focusin",v),document.addEventListener("focusout",_);const g=new MutationObserver(m);return l&&g.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",_),g.disconnect()}}},[r,l,p.paused]),h.useEffect(()=>{if(l){hh.add(p);const v=document.activeElement;if(!l.contains(v)){const m=new CustomEvent(js,fh);l.addEventListener(js,u),l.dispatchEvent(m),m.defaultPrevented||(B5(Y5(lg(l)),{select:!0}),document.activeElement===v&&An(l))}return()=>{l.removeEventListener(js,u),setTimeout(()=>{const m=new CustomEvent(Fs,fh);l.addEventListener(Fs,d),l.dispatchEvent(m),m.defaultPrevented||An(v??document.body,{select:!0}),l.removeEventListener(Fs,d),hh.remove(p)},0)}}},[l,u,d,p]);const y=h.useCallback(v=>{if(!n&&!r||p.paused)return;const _=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,m=document.activeElement;if(_&&m){const g=v.currentTarget,[x,E]=H5(g);x&&E?!v.shiftKey&&m===E?(v.preventDefault(),n&&An(x,{select:!0})):v.shiftKey&&m===x&&(v.preventDefault(),n&&An(E,{select:!0})):m===g&&v.preventDefault()}},[n,r,p.paused]);return h.createElement(fe.div,Y({tabIndex:-1},a,{ref:f,onKeyDown:y}))});function B5(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(An(r,{select:t}),document.activeElement!==n)return}function H5(e){const t=lg(e),n=ph(t,e),r=ph(t.reverse(),e);return[n,r]}function lg(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ph(e,t){for(const n of e)if(!W5(n,{upTo:t}))return n}function W5(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function K5(e){return e instanceof HTMLInputElement&&"select"in e}function An(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&K5(e)&&t&&e.select()}}const hh=G5();function G5(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=vh(e,t),e.unshift(t)},remove(t){var n;e=vh(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function vh(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Y5(e){return e.filter(t=>t.tagName!=="A")}const sg=h.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?$0.createPortal(h.createElement(fe.div,Y({},o,{ref:t})),r):null});function Q5(e,t){return h.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const bn=e=>{const{present:t,children:n}=e,r=Z5(t),o=typeof n=="function"?n({present:r.isPresent}):h.Children.only(n),i=Ve(r.ref,o.ref);return typeof n=="function"||r.isPresent?h.cloneElement(o,{ref:i}):null};bn.displayName="Presence";function Z5(e){const[t,n]=h.useState(),r=h.useRef({}),o=h.useRef(e),i=h.useRef("none"),a=e?"mounted":"unmounted",[l,s]=Q5(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h.useEffect(()=>{const u=_a(r.current);i.current=l==="mounted"?u:"none"},[l]),xn(()=>{const u=r.current,d=o.current;if(d!==e){const f=i.current,p=_a(u);e?s("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?s("UNMOUNT"):s(d&&f!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,s]),xn(()=>{if(t){const u=c=>{const p=_a(r.current).includes(c.animationName);c.target===t&&p&&Ro.flushSync(()=>s("ANIMATION_END"))},d=c=>{c.target===t&&(i.current=_a(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else s("ANIMATION_END")},[t,s]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:h.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function _a(e){return(e==null?void 0:e.animationName)||"none"}let zs=0;function cg(){h.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:mh()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:mh()),zs++,()=>{zs===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),zs--}},[])}function mh(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var en=function(){return en=Object.assign||function(t){for(var n,r=1,o=arguments.length;r"u")return p7;var t=h7(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},m7=pg(),uo="data-scroll-locked",g7=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,l=e.gap;return n===void 0&&(n="margin"),` - .`.concat(J5,` { + */function Co(){return Co=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function f7(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function p7(e,t){return e.button===0&&(!t||t==="_self")&&!f7(e)}const h7=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],v7="6";try{window.__reactRouterVersion=v7}catch{}function m7(e,t){return Rw({basename:t==null?void 0:t.basename,future:Co({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:tw({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||g7(),routes:e,mapRouteProperties:u7,unstable_dataStrategy:t==null?void 0:t.unstable_dataStrategy,window:t==null?void 0:t.window}).initialize()}function g7(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=Co({},t,{errors:y7(t.errors)})),t}function y7(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,o]of t)if(o&&o.__type==="RouteErrorResponse")n[r]=new Md(o.status,o.statusText,o.data,o.internal===!0);else if(o&&o.__type==="Error"){if(o.__subType){let i=window[o.__subType];if(typeof i=="function")try{let a=new i(o.message);a.stack="",n[r]=a}catch{}}if(n[r]==null){let i=new Error(o.message);i.stack="",n[r]=i}}else n[r]=o;return n}const x7=h.createContext({isTransitioning:!1}),w7=h.createContext(new Map),_7="startTransition",qp=Hu[_7],E7="flushSync",eh=ew[E7];function C7(e){qp?qp(e):e()}function Jo(e){eh?eh(e):e()}class b7{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function S7(e){let{fallbackElement:t,router:n,future:r}=e,[o,i]=h.useState(n.state),[a,l]=h.useState(),[s,u]=h.useState({isTransitioning:!1}),[d,c]=h.useState(),[f,p]=h.useState(),[y,v]=h.useState(),_=h.useRef(new Map),{v7_startTransition:m}=r||{},g=h.useCallback(C=>{m?C7(C):C()},[m]),x=h.useCallback((C,S)=>{let{deletedFetchers:$,unstable_flushSync:N,unstable_viewTransitionOpts:O}=S;$.forEach(L=>_.current.delete(L)),C.fetchers.forEach((L,P)=>{L.data!==void 0&&_.current.set(P,L.data)});let M=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!O||M){N?Jo(()=>i(C)):g(()=>i(C));return}if(N){Jo(()=>{f&&(d&&d.resolve(),f.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:O.currentLocation,nextLocation:O.nextLocation})});let L=n.window.document.startViewTransition(()=>{Jo(()=>i(C))});L.finished.finally(()=>{Jo(()=>{c(void 0),p(void 0),l(void 0),u({isTransitioning:!1})})}),Jo(()=>p(L));return}f?(d&&d.resolve(),f.skipTransition(),v({state:C,currentLocation:O.currentLocation,nextLocation:O.nextLocation})):(l(C),u({isTransitioning:!0,flushSync:!1,currentLocation:O.currentLocation,nextLocation:O.nextLocation}))},[n.window,f,d,_,g]);h.useLayoutEffect(()=>n.subscribe(x),[n,x]),h.useEffect(()=>{s.isTransitioning&&!s.flushSync&&c(new b7)},[s]),h.useEffect(()=>{if(d&&a&&n.window){let C=a,S=d.promise,$=n.window.document.startViewTransition(async()=>{g(()=>i(C)),await S});$.finished.finally(()=>{c(void 0),p(void 0),l(void 0),u({isTransitioning:!1})}),p($)}},[g,a,d,n.window]),h.useEffect(()=>{d&&a&&o.location.key===a.location.key&&d.resolve()},[d,f,o.location,a]),h.useEffect(()=>{!s.isTransitioning&&y&&(l(y.state),u({isTransitioning:!0,flushSync:!1,currentLocation:y.currentLocation,nextLocation:y.nextLocation}),v(void 0))},[s.isTransitioning,y]),h.useEffect(()=>{},[]);let E=h.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:C=>n.navigate(C),push:(C,S,$)=>n.navigate(C,{state:S,preventScrollReset:$==null?void 0:$.preventScrollReset}),replace:(C,S,$)=>n.navigate(C,{replace:!0,state:S,preventScrollReset:$==null?void 0:$.preventScrollReset})}),[n]),b=n.basename||"/",k=h.useMemo(()=>({router:n,navigator:E,static:!1,basename:b}),[n,E,b]);return h.createElement(h.Fragment,null,h.createElement(Ki.Provider,{value:k},h.createElement(Ud.Provider,{value:o},h.createElement(w7.Provider,{value:_.current},h.createElement(x7.Provider,{value:s},h.createElement(c7,{basename:b,location:o.location,navigationType:o.historyAction,navigator:E,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},o.initialized||n.future.v7_partialHydration?h.createElement(k7,{routes:n.routes,future:n.future,state:o}):t))))),null)}function k7(e){let{routes:t,future:n,state:r}=e;return Xw(t,void 0,r,n)}const T7=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",$7=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Gl=h.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:a,state:l,target:s,to:u,preventScrollReset:d,unstable_viewTransition:c}=t,f=d7(t,h7),{basename:p}=h.useContext(rr),y,v=!1;if(typeof u=="string"&&$7.test(u)&&(y=u,T7))try{let x=new URL(window.location.href),E=u.startsWith("//")?new URL(x.protocol+u):new URL(u),b=Tr(E.pathname,p);E.origin===x.origin&&b!=null?u=b+E.search+E.hash:v=!0}catch{}let _=Yw(u,{relative:o}),m=A7(u,{replace:a,state:l,target:s,preventScrollReset:d,relative:o,unstable_viewTransition:c});function g(x){r&&r(x),x.defaultPrevented||m(x)}return h.createElement("a",Co({},f,{href:y||_,onClick:v||i?r:g,ref:n,target:s}))});function P7(e){let{getKey:t,storageKey:n}=e;return I7({getKey:t,storageKey:n}),null}var ou;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ou||(ou={}));var iu;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(iu||(iu={}));function R7(e){let t=h.useContext(Ki);return t||re(!1),t}function N7(e){let t=h.useContext(Ud);return t||re(!1),t}function A7(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:a,unstable_viewTransition:l}=t===void 0?{}:t,s=Bd(),u=Oe(),d=V0(e,{relative:a});return h.useCallback(c=>{if(p7(c,n)){c.preventDefault();let f=r!==void 0?r:Cr(u)===Cr(d);s(e,{replace:f,state:o,preventScrollReset:i,relative:a,unstable_viewTransition:l})}},[u,s,d,r,o,n,e,i,a,l])}const th="react-router-scroll-positions";let xa={};function I7(e){let{getKey:t,storageKey:n}=e===void 0?{}:e,{router:r}=R7(ou.UseScrollRestoration),{restoreScrollPosition:o,preventScrollReset:i}=N7(iu.UseScrollRestoration),{basename:a}=h.useContext(rr),l=Oe(),s=a7(),u=i7();h.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),L7(h.useCallback(()=>{if(u.state==="idle"){let d=(t?t(l,s):null)||l.key;xa[d]=window.scrollY}try{sessionStorage.setItem(n||th,JSON.stringify(xa))}catch{}window.history.scrollRestoration="auto"},[n,t,u.state,l,s])),typeof document<"u"&&(h.useLayoutEffect(()=>{try{let d=sessionStorage.getItem(n||th);d&&(xa=JSON.parse(d))}catch{}},[n]),h.useLayoutEffect(()=>{let d=t&&a!=="/"?(f,p)=>t(Co({},f,{pathname:Tr(f.pathname,a)||f.pathname}),p):t,c=r==null?void 0:r.enableScrollRestoration(xa,()=>window.scrollY,d);return()=>c&&c()},[r,a,t]),h.useLayoutEffect(()=>{if(o!==!1){if(typeof o=="number"){window.scrollTo(0,o);return}if(l.hash){let d=document.getElementById(decodeURIComponent(l.hash.slice(1)));if(d){d.scrollIntoView();return}}i!==!0&&window.scrollTo(0,0)}},[l,o,i]))}function L7(e,t){let{capture:n}={};h.useEffect(()=>{let r=n!=null?{capture:n}:void 0;return window.addEventListener("pagehide",e,r),()=>{window.removeEventListener("pagehide",e,r)}},[e,n])}const O7="modulepreload",D7=function(e){return"/"+e},nh={},F=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.all(n.map(l=>{if(l=D7(l),l in nh)return;nh[l]=!0;const s=l.endsWith(".css"),u=s?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const d=document.createElement("link");if(d.rel=s?"stylesheet":O7,s||(d.as="script",d.crossOrigin=""),d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),s)return new Promise((c,f)=>{d.addEventListener("load",c),d.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${l}`)))})}))}return o.then(()=>t()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})};function au(e){return Array.isArray(e)?e.map(au):typeof e=="object"&&e!==null?Object.keys(e).reduce((t,n)=>(t[n]=au(e[n]),t),{}):typeof e=="string"&&e.includes("_vocs-fn_")?new Function(`return ${e.slice(9)}`)():e}const W0=au({blogDir:"./pages/blog",ogImageUrl:{"/":"/og-image.png"},rootDir:".",title:"Effect SDK Docs",titleTemplate:"%s · Effect.AI",baseUrl:"https://docs.effect.ai",description:"Effect-js is a free and open-source library powered by blockchain technology that enables developers to collect and enrich their data-sets in a transparent way.",iconUrl:{dark:"/favicons/dark.png",light:"/favicons/light.png"},logoUrl:{dark:"/effect-logo-black.png",light:"/effect-logo-black.png"},sidebar:{"/docs/":[{text:"Introduction",items:[{text:"Why Effect AI",link:"/docs/introduction"},{text:"Getting Started",link:"/docs/getting-started"},{text:"Authentication",link:"/docs/authentication"}]},{text:"Collecting Data",items:[{text:"Introduction",link:"/docs/collecting-data/introduction"},{text:"Creating a Template",link:"/docs/collecting-data/create-a-template"},{text:"Creating a Campaign",link:"/docs/collecting-data/create-a-campaign"},{text:"Adding Tasks to a Campaign",link:"/docs/collecting-data/adding-tasks"},{text:"Collecting results",link:"/docs/collecting-data/collecting-results"}]},{text:"Templates",items:[{text:"Introduction",link:"/docs/templates/introduction"},{text:"Label-Studio",link:"/docs/templates/labelstudio"}]},{text:"SDK API",collapsed:!0,items:[{text:"Tasks",items:[{text:"createCampaign",link:"/docs/tasks/campaigns/create-campaign"},{text:"getCampaigns",link:"/docs/tasks/campaigns/get-campaigns"},{text:"getCampaignById",link:"/docs/tasks/campaigns/get-campaign-by-id"}]},{text:"Token",items:[{text:"getPrice",link:"/docs/token/get-price"},{text:"getBalance",link:"/docs/token/get-balance"},{text:"transfer",link:"/docs/token/transfer"},{text:"swap",link:"/docs/token/swap"}]},{text:"vAccount",items:[{text:"claim",link:"/docs/vaccount/claim"},{text:"createAccount",link:"/docs/vaccount/create-account"},{text:"deposit",link:"/docs/vaccount/deposit"},{text:"getVAccounts",link:"/docs/vaccount/get-accounts"},{text:"getPendingPayments",link:"/docs/vaccount/get-pending-payments"},{text:"payout",link:"/docs/vaccount/payout"},{text:"withdraw",link:"/docs/vaccount/withdraw"}]}]},{text:"Glossary",items:[{text:"Terminology",link:"/docs/glossary/terminology"},{text:"Types",link:"/docs/glossary/types"}]},{text:"FAQ",items:[{text:"FAQ",link:"/docs/faq"}]}]},socials:[{icon:"github",link:"https://github.com/effectai",label:"GitHub",type:"github"},{icon:"discord",link:"https://discord.gg/effectnetwork",label:"Discord",type:"discord"},{icon:"x",link:"https://x.com/effectaix",label:"X (Twitter)",type:"x"}],theme:{accentColor:{backgroundAccent:{dark:"#ffc517",light:"#333"},backgroundAccentHover:{dark:"#f1b900",light:"#292929"},backgroundAccentText:{dark:"black",light:"white"},borderAccent:{dark:"#ffde3b",light:"#292929"},textAccent:{dark:"#ffc517",light:"#333"},textAccentHover:{dark:"#e3ad00",light:"#202020"}}},topNav:[{text:"Docs",link:"/docs/getting-started",match:"/docs",id:48,items:[]},{text:"Examples",link:"https://github.com/effectai/effect-js/tree/main/examples",id:49,items:[]},{text:"2.0.1",items:[{text:"Migrating to 2.0.x",link:"/docs/migration-guide#_2-0-x-breaking-changes",id:51,items:[]},{text:"Changelog",link:"https://github.com/effectai/effect-js/blob/main/CHANGELOG.MD",id:52,items:[]},{text:"Contributing",link:"https://github.com/effectai/effect-js/blob/main/CONTRIBUTING.MD",id:53,items:[]}],id:50}],basePath:"",font:{},markdown:{code:{themes:{dark:"github-dark-dimmed",light:"github-light"}}},vite:{}}),K0=h.createContext(W0);function G0(){return typeof window<"u",W0}function M7({children:e,config:t}){const[n,r]=h.useState(()=>t||G0());return h.useEffect(()=>{},[]),h.useEffect(()=>{typeof window<"u"},[n]),w.jsx(K0.Provider,{value:n,children:e})}function Ke(){return h.useContext(K0)}const Wd=[{lazy:()=>F(()=>import("./index-dGVxWMdP.js"),[]),path:"/",type:"mdx",filePath:"index.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./authentication-DzMjV0PM.js"),[]),path:"/docs/authentication",type:"mdx",filePath:"docs/authentication.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./authentication-DzMjV0PM.js"),[]),path:"/docs/authentication.html",type:"mdx",filePath:"docs/authentication.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./compatibility-ikUH7VSu.js"),[]),path:"/docs/compatibility",type:"mdx",filePath:"docs/compatibility.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./compatibility-ikUH7VSu.js"),[]),path:"/docs/compatibility.html",type:"mdx",filePath:"docs/compatibility.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./faq-CxeC-4XY.js"),[]),path:"/docs/faq",type:"mdx",filePath:"docs/faq.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./faq-CxeC-4XY.js"),[]),path:"/docs/faq.html",type:"mdx",filePath:"docs/faq.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./getting-started-CHX41jdV.js"),[]),path:"/docs/getting-started",type:"mdx",filePath:"docs/getting-started.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./getting-started-CHX41jdV.js"),[]),path:"/docs/getting-started.html",type:"mdx",filePath:"docs/getting-started.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./introduction-CQaVpgJM.js"),[]),path:"/docs/introduction",type:"mdx",filePath:"docs/introduction.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./introduction-CQaVpgJM.js"),[]),path:"/docs/introduction.html",type:"mdx",filePath:"docs/introduction.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./local-development-BbDw4hG7.js"),[]),path:"/docs/local-development",type:"mdx",filePath:"docs/local-development.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./local-development-BbDw4hG7.js"),[]),path:"/docs/local-development.html",type:"mdx",filePath:"docs/local-development.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./adding-tasks-CxnhmQ6S.js"),[]),path:"/docs/collecting-data/adding-tasks",type:"mdx",filePath:"docs/collecting-data/adding-tasks.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./adding-tasks-CxnhmQ6S.js"),[]),path:"/docs/collecting-data/adding-tasks.html",type:"mdx",filePath:"docs/collecting-data/adding-tasks.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./collecting-results-CptDcOPs.js"),[]),path:"/docs/collecting-data/collecting-results",type:"mdx",filePath:"docs/collecting-data/collecting-results.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./collecting-results-CptDcOPs.js"),[]),path:"/docs/collecting-data/collecting-results.html",type:"mdx",filePath:"docs/collecting-data/collecting-results.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./create-a-campaign-CbeoJhhs.js"),[]),path:"/docs/collecting-data/create-a-campaign",type:"mdx",filePath:"docs/collecting-data/create-a-campaign.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./create-a-campaign-CbeoJhhs.js"),[]),path:"/docs/collecting-data/create-a-campaign.html",type:"mdx",filePath:"docs/collecting-data/create-a-campaign.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./create-a-template-Bb99gWNu.js"),[]),path:"/docs/collecting-data/create-a-template",type:"mdx",filePath:"docs/collecting-data/create-a-template.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./create-a-template-Bb99gWNu.js"),[]),path:"/docs/collecting-data/create-a-template.html",type:"mdx",filePath:"docs/collecting-data/create-a-template.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./introduction-DnGY0G7i.js"),[]),path:"/docs/collecting-data/introduction",type:"mdx",filePath:"docs/collecting-data/introduction.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./introduction-DnGY0G7i.js"),[]),path:"/docs/collecting-data/introduction.html",type:"mdx",filePath:"docs/collecting-data/introduction.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./terminology-9WcsP1Qa.js"),[]),path:"/docs/glossary/terminology",type:"mdx",filePath:"docs/glossary/terminology.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./terminology-9WcsP1Qa.js"),[]),path:"/docs/glossary/terminology.html",type:"mdx",filePath:"docs/glossary/terminology.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./types-mcce6rHw.js"),[]),path:"/docs/glossary/types",type:"mdx",filePath:"docs/glossary/types.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./types-mcce6rHw.js"),[]),path:"/docs/glossary/types.html",type:"mdx",filePath:"docs/glossary/types.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-acc-task-idx-CcfoMfIC.js"),[]),path:"/docs/tasks/get-acc-task-idx",type:"mdx",filePath:"docs/tasks/get-acc-task-idx.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-acc-task-idx-CcfoMfIC.js"),[]),path:"/docs/tasks/get-acc-task-idx.html",type:"mdx",filePath:"docs/tasks/get-acc-task-idx.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-repetions-CcfoMfIC.js"),[]),path:"/docs/tasks/get-repetions",type:"mdx",filePath:"docs/tasks/get-repetions.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-repetions-CcfoMfIC.js"),[]),path:"/docs/tasks/get-repetions.html",type:"mdx",filePath:"docs/tasks/get-repetions.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-submissions-CcfoMfIC.js"),[]),path:"/docs/tasks/get-submissions",type:"mdx",filePath:"docs/tasks/get-submissions.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-submissions-CcfoMfIC.js"),[]),path:"/docs/tasks/get-submissions.html",type:"mdx",filePath:"docs/tasks/get-submissions.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-task-CcfoMfIC.js"),[]),path:"/docs/tasks/get-task",type:"mdx",filePath:"docs/tasks/get-task.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-task-CcfoMfIC.js"),[]),path:"/docs/tasks/get-task.html",type:"mdx",filePath:"docs/tasks/get-task.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./submit-task-CcfoMfIC.js"),[]),path:"/docs/tasks/submit-task",type:"mdx",filePath:"docs/tasks/submit-task.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./submit-task-CcfoMfIC.js"),[]),path:"/docs/tasks/submit-task.html",type:"mdx",filePath:"docs/tasks/submit-task.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./introduction-CY0XrFzt.js"),[]),path:"/docs/templates/introduction",type:"mdx",filePath:"docs/templates/introduction.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./introduction-CY0XrFzt.js"),[]),path:"/docs/templates/introduction.html",type:"mdx",filePath:"docs/templates/introduction.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./labelstudio-CKEaF1LS.js"),[]),path:"/docs/templates/labelstudio",type:"mdx",filePath:"docs/templates/labelstudio.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./labelstudio-CKEaF1LS.js"),[]),path:"/docs/templates/labelstudio.html",type:"mdx",filePath:"docs/templates/labelstudio.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./placeholders-ABHgRcwq.js"),[]),path:"/docs/templates/placeholders",type:"mdx",filePath:"docs/templates/placeholders.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./placeholders-ABHgRcwq.js"),[]),path:"/docs/templates/placeholders.html",type:"mdx",filePath:"docs/templates/placeholders.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-balance-DW72rr-n.js"),[]),path:"/docs/token/get-balance",type:"mdx",filePath:"docs/token/get-balance.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-balance-DW72rr-n.js"),[]),path:"/docs/token/get-balance.html",type:"mdx",filePath:"docs/token/get-balance.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-price-BJVCclnK.js"),[]),path:"/docs/token/get-price",type:"mdx",filePath:"docs/token/get-price.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-price-BJVCclnK.js"),[]),path:"/docs/token/get-price.html",type:"mdx",filePath:"docs/token/get-price.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./swap-DWuyHSv6.js"),[]),path:"/docs/token/swap",type:"mdx",filePath:"docs/token/swap.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./swap-DWuyHSv6.js"),[]),path:"/docs/token/swap.html",type:"mdx",filePath:"docs/token/swap.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./transfer-GkLLVaeQ.js"),[]),path:"/docs/token/transfer",type:"mdx",filePath:"docs/token/transfer.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./transfer-GkLLVaeQ.js"),[]),path:"/docs/token/transfer.html",type:"mdx",filePath:"docs/token/transfer.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./claim-DvsqMTpc.js"),[]),path:"/docs/vaccount/claim",type:"mdx",filePath:"docs/vaccount/claim.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./claim-DvsqMTpc.js"),[]),path:"/docs/vaccount/claim.html",type:"mdx",filePath:"docs/vaccount/claim.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./create-account-Dsn1Wd4H.js"),[]),path:"/docs/vaccount/create-account",type:"mdx",filePath:"docs/vaccount/create-account.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./create-account-Dsn1Wd4H.js"),[]),path:"/docs/vaccount/create-account.html",type:"mdx",filePath:"docs/vaccount/create-account.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./deposit-DtjAgOIh.js"),[]),path:"/docs/vaccount/deposit",type:"mdx",filePath:"docs/vaccount/deposit.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./deposit-DtjAgOIh.js"),[]),path:"/docs/vaccount/deposit.html",type:"mdx",filePath:"docs/vaccount/deposit.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-accounts-CiIr3hSO.js"),[]),path:"/docs/vaccount/get-accounts",type:"mdx",filePath:"docs/vaccount/get-accounts.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-accounts-CiIr3hSO.js"),[]),path:"/docs/vaccount/get-accounts.html",type:"mdx",filePath:"docs/vaccount/get-accounts.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-avatar-_KtthGZi.js"),[]),path:"/docs/vaccount/get-avatar",type:"mdx",filePath:"docs/vaccount/get-avatar.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-avatar-_KtthGZi.js"),[]),path:"/docs/vaccount/get-avatar.html",type:"mdx",filePath:"docs/vaccount/get-avatar.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-or-create-_KtthGZi.js"),[]),path:"/docs/vaccount/get-or-create",type:"mdx",filePath:"docs/vaccount/get-or-create.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-or-create-_KtthGZi.js"),[]),path:"/docs/vaccount/get-or-create.html",type:"mdx",filePath:"docs/vaccount/get-or-create.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-pending-payments-DQD4bVJi.js"),[]),path:"/docs/vaccount/get-pending-payments",type:"mdx",filePath:"docs/vaccount/get-pending-payments.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-pending-payments-DQD4bVJi.js"),[]),path:"/docs/vaccount/get-pending-payments.html",type:"mdx",filePath:"docs/vaccount/get-pending-payments.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./payout-RyMb6rmY.js"),[]),path:"/docs/vaccount/payout",type:"mdx",filePath:"docs/vaccount/payout.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./payout-RyMb6rmY.js"),[]),path:"/docs/vaccount/payout.html",type:"mdx",filePath:"docs/vaccount/payout.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./transfer-D3r-1EC6.js"),[]),path:"/docs/vaccount/transfer",type:"mdx",filePath:"docs/vaccount/transfer.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./transfer-D3r-1EC6.js"),[]),path:"/docs/vaccount/transfer.html",type:"mdx",filePath:"docs/vaccount/transfer.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./withdraw-DYZpYlrM.js"),[]),path:"/docs/vaccount/withdraw",type:"mdx",filePath:"docs/vaccount/withdraw.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./withdraw-DYZpYlrM.js"),[]),path:"/docs/vaccount/withdraw.html",type:"mdx",filePath:"docs/vaccount/withdraw.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./create-batch-AWOv63Q7.js"),[]),path:"/docs/tasks/batches/create-batch",type:"mdx",filePath:"docs/tasks/batches/create-batch.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./create-batch-AWOv63Q7.js"),[]),path:"/docs/tasks/batches/create-batch.html",type:"mdx",filePath:"docs/tasks/batches/create-batch.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-batch-AWOv63Q7.js"),[]),path:"/docs/tasks/batches/get-batch",type:"mdx",filePath:"docs/tasks/batches/get-batch.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-batch-AWOv63Q7.js"),[]),path:"/docs/tasks/batches/get-batch.html",type:"mdx",filePath:"docs/tasks/batches/get-batch.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./create-campaign-3GAhCXEZ.js"),[]),path:"/docs/tasks/campaigns/create-campaign",type:"mdx",filePath:"docs/tasks/campaigns/create-campaign.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./create-campaign-3GAhCXEZ.js"),[]),path:"/docs/tasks/campaigns/create-campaign.html",type:"mdx",filePath:"docs/tasks/campaigns/create-campaign.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-all-campaigns-Cv7w94N_.js"),[]),path:"/docs/tasks/campaigns/get-all-campaigns",type:"mdx",filePath:"docs/tasks/campaigns/get-all-campaigns.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-all-campaigns-Cv7w94N_.js"),[]),path:"/docs/tasks/campaigns/get-all-campaigns.html",type:"mdx",filePath:"docs/tasks/campaigns/get-all-campaigns.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-campaign-by-id-D0kosoj_.js"),[]),path:"/docs/tasks/campaigns/get-campaign-by-id",type:"mdx",filePath:"docs/tasks/campaigns/get-campaign-by-id.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-campaign-by-id-D0kosoj_.js"),[]),path:"/docs/tasks/campaigns/get-campaign-by-id.html",type:"mdx",filePath:"docs/tasks/campaigns/get-campaign-by-id.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-campaigns-DVUiEkOB.js"),[]),path:"/docs/tasks/campaigns/get-campaigns",type:"mdx",filePath:"docs/tasks/campaigns/get-campaigns.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-campaigns-DVUiEkOB.js"),[]),path:"/docs/tasks/campaigns/get-campaigns.html",type:"mdx",filePath:"docs/tasks/campaigns/get-campaigns.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-reservations-m00rYVov.js"),[]),path:"/docs/tasks/reservations/get-reservations",type:"mdx",filePath:"docs/tasks/reservations/get-reservations.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./get-reservations-m00rYVov.js"),[]),path:"/docs/tasks/reservations/get-reservations.html",type:"mdx",filePath:"docs/tasks/reservations/get-reservations.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./reserve-task-m00rYVov.js"),[]),path:"/docs/tasks/reservations/reserve-task",type:"mdx",filePath:"docs/tasks/reservations/reserve-task.mdx",lastUpdatedAt:1717177716e3},{lazy:()=>F(()=>import("./reserve-task-m00rYVov.js"),[]),path:"/docs/tasks/reservations/reserve-task.html",type:"mdx",filePath:"docs/tasks/reservations/reserve-task.mdx",lastUpdatedAt:1717177716e3}];var Ds={horizontalPadding:"var(--vocs-content_horizontalPadding)",verticalPadding:"var(--vocs-content_verticalPadding)",width:"var(--vocs-content_width)"},rh={default:"system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif",mono:'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'},oh={default:"var(--vocs-fontFamily_default)",mono:"var(--vocs-fontFamily_mono)"},ih={white:"var(--vocs-color_white)",black:"var(--vocs-color_black)",background:"var(--vocs-color_background)",background2:"var(--vocs-color_background2)",background3:"var(--vocs-color_background3)",background4:"var(--vocs-color_background4)",background5:"var(--vocs-color_background5)",backgroundAccent:"var(--vocs-color_backgroundAccent)",backgroundAccentHover:"var(--vocs-color_backgroundAccentHover)",backgroundAccentText:"var(--vocs-color_backgroundAccentText)",backgroundBlueTint:"var(--vocs-color_backgroundBlueTint)",backgroundDark:"var(--vocs-color_backgroundDark)",backgroundGreenTint:"var(--vocs-color_backgroundGreenTint)",backgroundGreenTint2:"var(--vocs-color_backgroundGreenTint2)",backgroundIrisTint:"var(--vocs-color_backgroundIrisTint)",backgroundRedTint:"var(--vocs-color_backgroundRedTint)",backgroundRedTint2:"var(--vocs-color_backgroundRedTint2)",backgroundYellowTint:"var(--vocs-color_backgroundYellowTint)",border:"var(--vocs-color_border)",border2:"var(--vocs-color_border2)",borderAccent:"var(--vocs-color_borderAccent)",borderBlue:"var(--vocs-color_borderBlue)",borderGreen:"var(--vocs-color_borderGreen)",borderIris:"var(--vocs-color_borderIris)",borderRed:"var(--vocs-color_borderRed)",borderYellow:"var(--vocs-color_borderYellow)",heading:"var(--vocs-color_heading)",inverted:"var(--vocs-color_inverted)",shadow:"var(--vocs-color_shadow)",shadow2:"var(--vocs-color_shadow2)",text:"var(--vocs-color_text)",text2:"var(--vocs-color_text2)",text3:"var(--vocs-color_text3)",text4:"var(--vocs-color_text4)",textAccent:"var(--vocs-color_textAccent)",textAccentHover:"var(--vocs-color_textAccentHover)",textBlue:"var(--vocs-color_textBlue)",textBlueHover:"var(--vocs-color_textBlueHover)",textGreen:"var(--vocs-color_textGreen)",textGreenHover:"var(--vocs-color_textGreenHover)",textIris:"var(--vocs-color_textIris)",textIrisHover:"var(--vocs-color_textIrisHover)",textRed:"var(--vocs-color_textRed)",textRedHover:"var(--vocs-color_textRedHover)",textYellow:"var(--vocs-color_textYellow)",textYellowHover:"var(--vocs-color_textYellowHover)",title:"var(--vocs-color_title)"},Ms={0:"var(--vocs-space_0)",1:"var(--vocs-space_1)",2:"var(--vocs-space_2)",3:"var(--vocs-space_3)",4:"var(--vocs-space_4)",6:"var(--vocs-space_6)",8:"var(--vocs-space_8)",12:"var(--vocs-space_12)",14:"var(--vocs-space_14)",16:"var(--vocs-space_16)",18:"var(--vocs-space_18)",20:"var(--vocs-space_20)",22:"var(--vocs-space_22)",24:"var(--vocs-space_24)",28:"var(--vocs-space_28)",32:"var(--vocs-space_32)",36:"var(--vocs-space_36)",40:"var(--vocs-space_40)",44:"var(--vocs-space_44)",48:"var(--vocs-space_48)",56:"var(--vocs-space_56)",64:"var(--vocs-space_64)",72:"var(--vocs-space_72)",80:"var(--vocs-space_80)"};function Y0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t"".concat(l,":").concat(this[l])).join(";")},writable:!1}),n}var F7="var(--vocs_ExternalLink_iconUrl)",z7="vocs_ExternalLink";const U7=h.forwardRef(({className:e,children:t,hideExternalIcon:n,href:r,...o},i)=>{const{basePath:a}=Ke(),l=a;return w.jsx("a",{ref:i,className:D(e,n||typeof t!="string"?void 0:z7),href:r,target:"_blank",rel:"noopener noreferrer",style:Gt({[F7]:`url(${l}/.vocs/icons/arrow-diagonal.svg)`}),...o,children:t})});var ah="vocs_Link_accent_underlined",lh="vocs_Link",sh="vocs_Link_styleless",lu=new Map,wa=new WeakMap,ch=0,V7=void 0;function B7(e){return e?(wa.has(e)||(ch+=1,wa.set(e,ch.toString())),wa.get(e)):"0"}function H7(e){return Object.keys(e).sort().filter(t=>e[t]!==void 0).map(t=>`${t}_${t==="root"?B7(e.root):e[t]}`).toString()}function W7(e){const t=H7(e);let n=lu.get(t);if(!n){const r=new Map;let o;const i=new IntersectionObserver(a=>{a.forEach(l=>{var s;const u=l.isIntersecting&&o.some(d=>l.intersectionRatio>=d);e.trackVisibility&&typeof l.isVisible>"u"&&(l.isVisible=u),(s=r.get(l.target))==null||s.forEach(d=>{d(u,l)})})},e);o=i.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:i,elements:r},lu.set(t,n)}return n}function K7(e,t,n={},r=V7){if(typeof window.IntersectionObserver>"u"&&r!==void 0){const s=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:typeof n.threshold=="number"?n.threshold:0,time:0,boundingClientRect:s,intersectionRect:s,rootBounds:s}),()=>{}}const{id:o,observer:i,elements:a}=W7(n),l=a.get(e)||[];return a.has(e)||a.set(e,l),l.push(t),i.observe(e),function(){l.splice(l.indexOf(t),1),l.length===0&&(a.delete(e),i.unobserve(e)),a.size===0&&(i.disconnect(),lu.delete(o))}}function Q0({threshold:e,delay:t,trackVisibility:n,rootMargin:r,root:o,triggerOnce:i,skip:a,initialInView:l,fallbackInView:s,onChange:u}={}){var d;const[c,f]=h.useState(null),p=h.useRef(),[y,v]=h.useState({inView:!!l,entry:void 0});p.current=u,h.useEffect(()=>{if(a||!c)return;let x;return x=K7(c,(E,b)=>{v({inView:E,entry:b}),p.current&&p.current(E,b),b.isIntersecting&&i&&x&&(x(),x=void 0)},{root:o,rootMargin:r,threshold:e,trackVisibility:n,delay:t},s),()=>{x&&x()}},[Array.isArray(e)?e.toString():e,c,o,r,i,a,n,s,t]);const _=(d=y.entry)==null?void 0:d.target,m=h.useRef();!c&&_&&!i&&!a&&m.current!==_&&(m.current=_,v({inView:!!l,entry:void 0}));const g=[f,y.inView,y.entry];return g.ref=g[0],g.inView=g[1],g.entry=g[2],g}function G7(...e){return t=>{Y7(t,...e)}}function Y7(e,...t){t.forEach(n=>{typeof n=="function"?n(e):n!=null&&(n.current=e)})}const Qn=h.forwardRef((e,t)=>{const n=()=>{var i;return(i=Wd.find(a=>a.path===e.to))==null?void 0:i.lazy()},{ref:r,inView:o}=Q0();return h.useEffect(()=>{o&&n()},[o,n]),w.jsx(Gl,{ref:G7(t,r),...e})}),on=h.forwardRef((e,t)=>{const{href:n,variant:r="accent underlined"}=e,{pathname:o}=Oe();if(n!=null&&n.match(/^(www|https?)/))return w.jsx(U7,{...e,ref:t,className:D(e.className,lh,r==="accent underlined"&&ah,r==="styleless"&&sh),hideExternalIcon:e.hideExternalIcon});const[i,a]=(n||"").split("#"),l=`${i||o}${a?`#${a}`:""}`;return w.jsx(Qn,{...e,ref:t,className:D(e.className,lh,r==="accent underlined"&&ah,r==="styleless"&&sh),to:l})});var Q7="vocs_NotFound_divider",Z7="vocs_NotFound",X7="vocs_H1",Z0="vocs_Heading",X0="vocs_Heading_slugTarget";function Ao({level:e,...t}){const n=`h${e}`;return w.jsxs(n,{...t,id:void 0,className:D(t.className,Z0),children:[w.jsx("div",{id:t.id,className:X0}),t.children]})}function J0(e){return w.jsx(Ao,{...e,className:D(e.className,X7),level:1})}var J7="vocs_Paragraph";function q0(e){return w.jsx("p",{...e,className:D(e.className,J7)})}function q7(){return w.jsxs("div",{className:Z7,children:[w.jsx(J0,{children:"Page Not Found"}),w.jsx("div",{style:{height:Ms[24]}}),w.jsx("hr",{className:Q7}),w.jsx("div",{style:{height:Ms[24]}}),w.jsx(q0,{children:"The page you were looking for could not be found."}),w.jsx("div",{style:{height:Ms[8]}}),w.jsx(on,{href:"/",children:"Go to Home Page"})]})}var e3="var(--vocs_Banner_bannerBackgroundColor)",t3="var(--vocs_Banner_bannerHeight)",n3="var(--vocs_Banner_bannerTextColor)",r3="vocs_Banner_closeButton",o3="vocs_Banner_content",i3="vocs_Banner_inner",a3="vocs_Banner";const l3=Object.getPrototypeOf(s3).constructor;async function s3(e,t){return new l3(String(e))(t)}function c3(e,t){return new Function(String(e))(t)}function Pr(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}var u3=["color"],d3=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Pr(e,u3);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M6.85355 3.14645C7.04882 3.34171 7.04882 3.65829 6.85355 3.85355L3.70711 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H3.70711L6.85355 11.1464C7.04882 11.3417 7.04882 11.6583 6.85355 11.8536C6.65829 12.0488 6.34171 12.0488 6.14645 11.8536L2.14645 7.85355C1.95118 7.65829 1.95118 7.34171 2.14645 7.14645L6.14645 3.14645C6.34171 2.95118 6.65829 2.95118 6.85355 3.14645Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),f3=["color"],p3=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Pr(e,f3);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),h3=["color"],v3=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Pr(e,h3);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M12.8536 2.85355C13.0488 2.65829 13.0488 2.34171 12.8536 2.14645C12.6583 1.95118 12.3417 1.95118 12.1464 2.14645L7.5 6.79289L2.85355 2.14645C2.65829 1.95118 2.34171 1.95118 2.14645 2.14645C1.95118 2.34171 1.95118 2.65829 2.14645 2.85355L6.79289 7.5L2.14645 12.1464C1.95118 12.3417 1.95118 12.6583 2.14645 12.8536C2.34171 13.0488 2.65829 13.0488 2.85355 12.8536L7.5 8.20711L12.1464 12.8536C12.3417 13.0488 12.6583 13.0488 12.8536 12.8536C13.0488 12.6583 13.0488 12.3417 12.8536 12.1464L8.20711 7.5L12.8536 2.85355Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),m3=["color"],g3=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Pr(e,m3);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M3.5 2C3.22386 2 3 2.22386 3 2.5V12.5C3 12.7761 3.22386 13 3.5 13H11.5C11.7761 13 12 12.7761 12 12.5V6H8.5C8.22386 6 8 5.77614 8 5.5V2H3.5ZM9 2.70711L11.2929 5H9V2.70711ZM2 2.5C2 1.67157 2.67157 1 3.5 1H8.5C8.63261 1 8.75979 1.05268 8.85355 1.14645L12.8536 5.14645C12.9473 5.24021 13 5.36739 13 5.5V12.5C13 13.3284 12.3284 14 11.5 14H3.5C2.67157 14 2 13.3284 2 12.5V2.5Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),y3=["color"],x3=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Pr(e,y3);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M1.5 5.25C1.91421 5.25 2.25 4.91421 2.25 4.5C2.25 4.08579 1.91421 3.75 1.5 3.75C1.08579 3.75 0.75 4.08579 0.75 4.5C0.75 4.91421 1.08579 5.25 1.5 5.25ZM4 4.5C4 4.22386 4.22386 4 4.5 4H13.5C13.7761 4 14 4.22386 14 4.5C14 4.77614 13.7761 5 13.5 5H4.5C4.22386 5 4 4.77614 4 4.5ZM4.5 7C4.22386 7 4 7.22386 4 7.5C4 7.77614 4.22386 8 4.5 8H13.5C13.7761 8 14 7.77614 14 7.5C14 7.22386 13.7761 7 13.5 7H4.5ZM4.5 10C4.22386 10 4 10.2239 4 10.5C4 10.7761 4.22386 11 4.5 11H13.5C13.7761 11 14 10.7761 14 10.5C14 10.2239 13.7761 10 13.5 10H4.5ZM2.25 7.5C2.25 7.91421 1.91421 8.25 1.5 8.25C1.08579 8.25 0.75 7.91421 0.75 7.5C0.75 7.08579 1.08579 6.75 1.5 6.75C1.91421 6.75 2.25 7.08579 2.25 7.5ZM1.5 11.25C1.91421 11.25 2.25 10.9142 2.25 10.5C2.25 10.0858 1.91421 9.75 1.5 9.75C1.08579 9.75 0.75 10.0858 0.75 10.5C0.75 10.9142 1.08579 11.25 1.5 11.25Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),w3=["color"],Kd=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Pr(e,w3);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),_3=["color"],E3=h.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=Pr(e,_3);return h.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),h.createElement("path",{d:"M12.1464 1.14645C12.3417 0.951184 12.6583 0.951184 12.8535 1.14645L14.8535 3.14645C15.0488 3.34171 15.0488 3.65829 14.8535 3.85355L10.9109 7.79618C10.8349 7.87218 10.7471 7.93543 10.651 7.9835L6.72359 9.94721C6.53109 10.0435 6.29861 10.0057 6.14643 9.85355C5.99425 9.70137 5.95652 9.46889 6.05277 9.27639L8.01648 5.34897C8.06455 5.25283 8.1278 5.16507 8.2038 5.08907L12.1464 1.14645ZM12.5 2.20711L8.91091 5.79618L7.87266 7.87267L8.12731 8.12732L10.2038 7.08907L13.7929 3.5L12.5 2.20711ZM9.99998 2L8.99998 3H4.9C4.47171 3 4.18056 3.00039 3.95552 3.01877C3.73631 3.03668 3.62421 3.06915 3.54601 3.10899C3.35785 3.20487 3.20487 3.35785 3.10899 3.54601C3.06915 3.62421 3.03669 3.73631 3.01878 3.95552C3.00039 4.18056 3 4.47171 3 4.9V11.1C3 11.5283 3.00039 11.8194 3.01878 12.0445C3.03669 12.2637 3.06915 12.3758 3.10899 12.454C3.20487 12.6422 3.35785 12.7951 3.54601 12.891C3.62421 12.9309 3.73631 12.9633 3.95552 12.9812C4.18056 12.9996 4.47171 13 4.9 13H11.1C11.5283 13 11.8194 12.9996 12.0445 12.9812C12.2637 12.9633 12.3758 12.9309 12.454 12.891C12.6422 12.7951 12.7951 12.6422 12.891 12.454C12.9309 12.3758 12.9633 12.2637 12.9812 12.0445C12.9996 11.8194 13 11.5283 13 11.1V6.99998L14 5.99998V11.1V11.1207C14 11.5231 14 11.8553 13.9779 12.1259C13.9549 12.407 13.9057 12.6653 13.782 12.908C13.5903 13.2843 13.2843 13.5903 12.908 13.782C12.6653 13.9057 12.407 13.9549 12.1259 13.9779C11.8553 14 11.5231 14 11.1207 14H11.1H4.9H4.87934C4.47686 14 4.14468 14 3.87409 13.9779C3.59304 13.9549 3.33469 13.9057 3.09202 13.782C2.7157 13.5903 2.40973 13.2843 2.21799 12.908C2.09434 12.6653 2.04506 12.407 2.0221 12.1259C1.99999 11.8553 1.99999 11.5231 2 11.1207V11.1206V11.1V4.9V4.87935V4.87932V4.87931C1.99999 4.47685 1.99999 4.14468 2.0221 3.87409C2.04506 3.59304 2.09434 3.33469 2.21799 3.09202C2.40973 2.71569 2.7157 2.40973 3.09202 2.21799C3.33469 2.09434 3.59304 2.04506 3.87409 2.0221C4.14468 1.99999 4.47685 1.99999 4.87932 2H4.87935H4.9H9.99998Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))});function _l(e,t){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map((r,o)=>_l(r,o));const n=e.props.children?{...e.props,children:_l(e.props.children)}:e.props;return X.createElement(e.type,{...n,key:t})}function C3({hide:e}){const{banner:t}=Ke(),n=h.useMemo(()=>{const r=(t==null?void 0:t.content)??"";if(!r)return null;if(typeof r!="string")return()=>_l(r);const{default:o}=c3(r,{...Qy,Fragment:h.Fragment});return o},[t]);return n?w.jsx("div",{className:D(a3),style:Gt({[e3]:t==null?void 0:t.backgroundColor,[n3]:t==null?void 0:t.textColor}),children:w.jsxs("div",{className:D(i3),children:[w.jsx("div",{className:D(o3),children:w.jsx(n,{})}),(t==null?void 0:t.dismissable)!=="false"&&w.jsx("button",{className:D(r3),onClick:e,type:"button",children:w.jsx(v3,{width:14,height:14})})]})}):null}var b3="vocs_Content";function e1({children:e,className:t}){return w.jsx("article",{className:D(t,b3),children:e})}function t1({items:e,pathname:t}){const n=t.replace(/\.html$/,""),r=[];for(const o of e)(o.link&&n.startsWith(o.match||o.link)||o.items&&t1({items:o.items,pathname:t}).length>0)&&r.push(o.id);return r}function Gi({items:e,pathname:t}){return h.useMemo(()=>t1({items:e,pathname:t}),[e,t])}function Rr(){const e=h.useContext(n1);if(!e)throw new Error("`usePageData` must be used within `PageDataContext.Provider`.");return e}const n1=h.createContext(void 0);function Yl(){const{pathname:e}=Oe(),t=Ke(),{sidebar:n}=t;if(!n)return{items:[]};if(Array.isArray(n))return{items:n};const r=h.useMemo(()=>{const o=Object.keys(n).filter(i=>e.startsWith(i));return o[o.length-1]},[n,e]);return r?Array.isArray(n[r])?{key:r,items:n[r]}:{...n[r],key:r}:{items:[]}}function Nr(){const e=Yl(),{frontmatter:t}=Rr(),{layout:n,showLogo:r,showOutline:o,showSidebar:i,showTopNav:a}=t||{},l=n??"docs";return{layout:l,get showLogo(){return typeof r<"u"?r:!0},get showOutline(){return typeof o<"u"?o:l==="docs"},get showSidebar(){return e.items.length===0?!1:typeof i<"u"?i:!(l==="minimal"||l==="landing")},get showTopNav(){return typeof a<"u"?a:!0}}}function S3(){const[e,t]=h.useState(()=>{if(!(typeof window>"u")){if(localStorage.getItem("vocs.theme")){const n=localStorage.getItem("vocs.theme");if(n)return n}return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}});return h.useEffect(()=>{e&&localStorage.setItem("vocs.theme",e),e==="dark"?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},[e]),{theme:e,toggle(){t(n=>n==="light"?"dark":"light")}}}var k3="vocs_utils_visibleDark",T3="vocs_utils_visibleLight",r1="vocs_utils_visuallyHidden";function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(n=>$3(n,t))}function Ve(...e){return h.useCallback(o1(...e),e)}function Cn(e,t=[]){let n=[];function r(i,a){const l=h.createContext(a),s=n.length;n=[...n,a];function u(c){const{scope:f,children:p,...y}=c,v=(f==null?void 0:f[e][s])||l,_=h.useMemo(()=>y,Object.values(y));return h.createElement(v.Provider,{value:_},p)}function d(c,f){const p=(f==null?void 0:f[e][s])||l,y=h.useContext(p);if(y)return y;if(a!==void 0)return a;throw new Error(`\`${c}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,d]}const o=()=>{const i=n.map(a=>h.createContext(a));return function(l){const s=(l==null?void 0:l[e])||i;return h.useMemo(()=>({[`__scope${e}`]:{...l,[e]:s}}),[l,s])}};return o.scopeName=e,[r,P3(o,...t)]}function P3(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((l,{useScope:s,scopeName:u})=>{const c=s(i)[`__scope${u}`];return{...l,...c}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const xn=globalThis!=null&&globalThis.document?h.useLayoutEffect:()=>{},R3=Hu.useId||(()=>{});let N3=0;function an(e){const[t,n]=h.useState(R3());return xn(()=>{n(r=>r??String(N3++))},[e]),t?`radix-${t}`:""}function lt(e){const t=h.useRef(e);return h.useEffect(()=>{t.current=e}),h.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function or({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=A3({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,l=lt(n),s=h.useCallback(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&l(c)}else o(u)},[i,e,o,l]);return[a,s]}function A3({defaultProp:e,onChange:t}){const n=h.useState(e),[r]=n,o=h.useRef(r),i=lt(t);return h.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}const bo=h.forwardRef((e,t)=>{const{children:n,...r}=e,o=h.Children.toArray(n),i=o.find(L3);if(i){const a=i.props.children,l=o.map(s=>s===i?h.Children.count(a)>1?h.Children.only(null):h.isValidElement(a)?a.props.children:null:s);return h.createElement(su,Y({},r,{ref:t}),h.isValidElement(a)?h.cloneElement(a,void 0,l):null)}return h.createElement(su,Y({},r,{ref:t}),n)});bo.displayName="Slot";const su=h.forwardRef((e,t)=>{const{children:n,...r}=e;return h.isValidElement(n)?h.cloneElement(n,{...O3(r,n.props),ref:t?o1(t,n.ref):n.ref}):h.Children.count(n)>1?h.Children.only(null):null});su.displayName="SlotClone";const I3=({children:e})=>h.createElement(h.Fragment,null,e);function L3(e){return h.isValidElement(e)&&e.type===I3}function O3(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...l)=>{i(...l),o(...l)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const D3=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],fe=D3.reduce((e,t)=>{const n=h.forwardRef((r,o)=>{const{asChild:i,...a}=r,l=i?bo:t;return h.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),h.createElement(l,Y({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function cu(e,t){e&&Ro.flushSync(()=>e.dispatchEvent(t))}function M3(e,t=globalThis==null?void 0:globalThis.document){const n=lt(e);h.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const uu="dismissableLayer.update",j3="dismissableLayer.pointerDownOutside",F3="dismissableLayer.focusOutside";let uh;const z3=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Gd=h.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:l,onDismiss:s,...u}=e,d=h.useContext(z3),[c,f]=h.useState(null),p=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,y]=h.useState({}),v=Ve(t,S=>f(S)),_=Array.from(d.layers),[m]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),g=_.indexOf(m),x=c?_.indexOf(c):-1,E=d.layersWithOutsidePointerEventsDisabled.size>0,b=x>=g,k=U3(S=>{const $=S.target,N=[...d.branches].some(O=>O.contains($));!b||N||(i==null||i(S),l==null||l(S),S.defaultPrevented||s==null||s())},p),C=V3(S=>{const $=S.target;[...d.branches].some(O=>O.contains($))||(a==null||a(S),l==null||l(S),S.defaultPrevented||s==null||s())},p);return M3(S=>{x===d.layers.size-1&&(o==null||o(S),!S.defaultPrevented&&s&&(S.preventDefault(),s()))},p),h.useEffect(()=>{if(c)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(uh=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(c)),d.layers.add(c),dh(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=uh)}},[c,p,r,d]),h.useEffect(()=>()=>{c&&(d.layers.delete(c),d.layersWithOutsidePointerEventsDisabled.delete(c),dh())},[c,d]),h.useEffect(()=>{const S=()=>y({});return document.addEventListener(uu,S),()=>document.removeEventListener(uu,S)},[]),h.createElement(fe.div,Y({},u,{ref:v,style:{pointerEvents:E?b?"auto":"none":void 0,...e.style},onFocusCapture:se(e.onFocusCapture,C.onFocusCapture),onBlurCapture:se(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:se(e.onPointerDownCapture,k.onPointerDownCapture)}))});function U3(e,t=globalThis==null?void 0:globalThis.document){const n=lt(e),r=h.useRef(!1),o=h.useRef(()=>{});return h.useEffect(()=>{const i=l=>{if(l.target&&!r.current){let u=function(){i1(j3,n,s,{discrete:!0})};const s={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function V3(e,t=globalThis==null?void 0:globalThis.document){const n=lt(e),r=h.useRef(!1);return h.useEffect(()=>{const o=i=>{i.target&&!r.current&&i1(F3,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function dh(){const e=new CustomEvent(uu);document.dispatchEvent(e)}function i1(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?cu(o,i):o.dispatchEvent(i)}const js="focusScope.autoFocusOnMount",Fs="focusScope.autoFocusOnUnmount",fh={bubbles:!1,cancelable:!0},a1=h.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[l,s]=h.useState(null),u=lt(o),d=lt(i),c=h.useRef(null),f=Ve(t,v=>s(v)),p=h.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h.useEffect(()=>{if(r){let v=function(x){if(p.paused||!l)return;const E=x.target;l.contains(E)?c.current=E:An(c.current,{select:!0})},_=function(x){if(p.paused||!l)return;const E=x.relatedTarget;E!==null&&(l.contains(E)||An(c.current,{select:!0}))},m=function(x){if(document.activeElement===document.body)for(const b of x)b.removedNodes.length>0&&An(l)};document.addEventListener("focusin",v),document.addEventListener("focusout",_);const g=new MutationObserver(m);return l&&g.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",_),g.disconnect()}}},[r,l,p.paused]),h.useEffect(()=>{if(l){hh.add(p);const v=document.activeElement;if(!l.contains(v)){const m=new CustomEvent(js,fh);l.addEventListener(js,u),l.dispatchEvent(m),m.defaultPrevented||(B3(Y3(l1(l)),{select:!0}),document.activeElement===v&&An(l))}return()=>{l.removeEventListener(js,u),setTimeout(()=>{const m=new CustomEvent(Fs,fh);l.addEventListener(Fs,d),l.dispatchEvent(m),m.defaultPrevented||An(v??document.body,{select:!0}),l.removeEventListener(Fs,d),hh.remove(p)},0)}}},[l,u,d,p]);const y=h.useCallback(v=>{if(!n&&!r||p.paused)return;const _=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,m=document.activeElement;if(_&&m){const g=v.currentTarget,[x,E]=H3(g);x&&E?!v.shiftKey&&m===E?(v.preventDefault(),n&&An(x,{select:!0})):v.shiftKey&&m===x&&(v.preventDefault(),n&&An(E,{select:!0})):m===g&&v.preventDefault()}},[n,r,p.paused]);return h.createElement(fe.div,Y({tabIndex:-1},a,{ref:f,onKeyDown:y}))});function B3(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(An(r,{select:t}),document.activeElement!==n)return}function H3(e){const t=l1(e),n=ph(t,e),r=ph(t.reverse(),e);return[n,r]}function l1(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ph(e,t){for(const n of e)if(!W3(n,{upTo:t}))return n}function W3(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function K3(e){return e instanceof HTMLInputElement&&"select"in e}function An(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&K3(e)&&t&&e.select()}}const hh=G3();function G3(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=vh(e,t),e.unshift(t)},remove(t){var n;e=vh(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function vh(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Y3(e){return e.filter(t=>t.tagName!=="A")}const s1=h.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?$0.createPortal(h.createElement(fe.div,Y({},o,{ref:t})),r):null});function Q3(e,t){return h.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const bn=e=>{const{present:t,children:n}=e,r=Z3(t),o=typeof n=="function"?n({present:r.isPresent}):h.Children.only(n),i=Ve(r.ref,o.ref);return typeof n=="function"||r.isPresent?h.cloneElement(o,{ref:i}):null};bn.displayName="Presence";function Z3(e){const[t,n]=h.useState(),r=h.useRef({}),o=h.useRef(e),i=h.useRef("none"),a=e?"mounted":"unmounted",[l,s]=Q3(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h.useEffect(()=>{const u=_a(r.current);i.current=l==="mounted"?u:"none"},[l]),xn(()=>{const u=r.current,d=o.current;if(d!==e){const f=i.current,p=_a(u);e?s("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?s("UNMOUNT"):s(d&&f!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,s]),xn(()=>{if(t){const u=c=>{const p=_a(r.current).includes(c.animationName);c.target===t&&p&&Ro.flushSync(()=>s("ANIMATION_END"))},d=c=>{c.target===t&&(i.current=_a(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else s("ANIMATION_END")},[t,s]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:h.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function _a(e){return(e==null?void 0:e.animationName)||"none"}let zs=0;function c1(){h.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:mh()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:mh()),zs++,()=>{zs===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),zs--}},[])}function mh(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var en=function(){return en=Object.assign||function(t){for(var n,r=1,o=arguments.length;r"u")return p5;var t=h5(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},m5=p1(),uo="data-scroll-locked",g5=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,l=e.gap;return n===void 0&&(n="margin"),` + .`.concat(J3,` { overflow: hidden `).concat(r,`; padding-right: `).concat(l,"px ").concat(r,`; } @@ -100,18 +100,18 @@ Error generating stack: `+i.message+` } body[`).concat(uo,`] { - `).concat(q5,": ").concat(l,`px; + `).concat(q3,": ").concat(l,`px; } -`)},yh=function(){var e=parseInt(document.body.getAttribute(uo)||"0",10);return isFinite(e)?e:0},y7=function(){h.useEffect(function(){return document.body.setAttribute(uo,(yh()+1).toString()),function(){var e=yh()-1;e<=0?document.body.removeAttribute(uo):document.body.setAttribute(uo,e.toString())}},[])},x7=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;y7();var i=h.useMemo(function(){return v7(o)},[o]);return h.createElement(m7,{styles:g7(i,!t,o,n?"":"!important")})},du=!1;if(typeof window<"u")try{var Ea=Object.defineProperty({},"passive",{get:function(){return du=!0,!0}});window.addEventListener("test",Ea,Ea),window.removeEventListener("test",Ea,Ea)}catch{du=!1}var zr=du?{passive:!1}:!1,w7=function(e){return e.tagName==="TEXTAREA"},hg=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!w7(e)&&n[t]==="visible")},_7=function(e){return hg(e,"overflowY")},E7=function(e){return hg(e,"overflowX")},xh=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=vg(e,n);if(r){var o=mg(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},C7=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},b7=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},vg=function(e,t){return e==="v"?_7(t):E7(t)},mg=function(e,t){return e==="v"?C7(t):b7(t)},S7=function(e,t){return e==="h"&&t==="rtl"?-1:1},k7=function(e,t,n,r,o){var i=S7(e,window.getComputedStyle(t).direction),a=i*r,l=n.target,s=t.contains(l),u=!1,d=a>0,c=0,f=0;do{var p=mg(e,l),y=p[0],v=p[1],_=p[2],m=v-_-i*y;(y||m)&&vg(e,l)&&(c+=m,f+=y),l=l.parentNode}while(!s&&l!==document.body||s&&(t.contains(l)||t===l));return(d&&(c===0||!o)||!d&&(f===0||!o))&&(u=!0),u},Ca=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},wh=function(e){return[e.deltaX,e.deltaY]},_h=function(e){return e&&"current"in e?e.current:e},T7=function(e,t){return e[0]===t[0]&&e[1]===t[1]},$7=function(e){return` +`)},yh=function(){var e=parseInt(document.body.getAttribute(uo)||"0",10);return isFinite(e)?e:0},y5=function(){h.useEffect(function(){return document.body.setAttribute(uo,(yh()+1).toString()),function(){var e=yh()-1;e<=0?document.body.removeAttribute(uo):document.body.setAttribute(uo,e.toString())}},[])},x5=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;y5();var i=h.useMemo(function(){return v5(o)},[o]);return h.createElement(m5,{styles:g5(i,!t,o,n?"":"!important")})},du=!1;if(typeof window<"u")try{var Ea=Object.defineProperty({},"passive",{get:function(){return du=!0,!0}});window.addEventListener("test",Ea,Ea),window.removeEventListener("test",Ea,Ea)}catch{du=!1}var zr=du?{passive:!1}:!1,w5=function(e){return e.tagName==="TEXTAREA"},h1=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!w5(e)&&n[t]==="visible")},_5=function(e){return h1(e,"overflowY")},E5=function(e){return h1(e,"overflowX")},xh=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=v1(e,n);if(r){var o=m1(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},C5=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},b5=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},v1=function(e,t){return e==="v"?_5(t):E5(t)},m1=function(e,t){return e==="v"?C5(t):b5(t)},S5=function(e,t){return e==="h"&&t==="rtl"?-1:1},k5=function(e,t,n,r,o){var i=S5(e,window.getComputedStyle(t).direction),a=i*r,l=n.target,s=t.contains(l),u=!1,d=a>0,c=0,f=0;do{var p=m1(e,l),y=p[0],v=p[1],_=p[2],m=v-_-i*y;(y||m)&&v1(e,l)&&(c+=m,f+=y),l=l.parentNode}while(!s&&l!==document.body||s&&(t.contains(l)||t===l));return(d&&(c===0||!o)||!d&&(f===0||!o))&&(u=!0),u},Ca=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},wh=function(e){return[e.deltaX,e.deltaY]},_h=function(e){return e&&"current"in e?e.current:e},T5=function(e,t){return e[0]===t[0]&&e[1]===t[1]},$5=function(e){return` .block-interactivity-`.concat(e,` {pointer-events: none;} .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},P7=0,Ur=[];function R7(e){var t=h.useRef([]),n=h.useRef([0,0]),r=h.useRef(),o=h.useState(P7++)[0],i=h.useState(function(){return pg()})[0],a=h.useRef(e);h.useEffect(function(){a.current=e},[e]),h.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var v=X5([e.lockRef.current],(e.shards||[]).map(_h),!0).filter(Boolean);return v.forEach(function(_){return _.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),v.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=h.useCallback(function(v,_){if("touches"in v&&v.touches.length===2)return!a.current.allowPinchZoom;var m=Ca(v),g=n.current,x="deltaX"in v?v.deltaX:g[0]-m[0],E="deltaY"in v?v.deltaY:g[1]-m[1],b,k=v.target,C=Math.abs(x)>Math.abs(E)?"h":"v";if("touches"in v&&C==="h"&&k.type==="range")return!1;var S=xh(C,k);if(!S)return!0;if(S?b=C:(b=C==="v"?"h":"v",S=xh(C,k)),!S)return!1;if(!r.current&&"changedTouches"in v&&(x||E)&&(r.current=b),!b)return!0;var $=r.current||b;return k7($,_,v,$==="h"?x:E,!0)},[]),s=h.useCallback(function(v){var _=v;if(!(!Ur.length||Ur[Ur.length-1]!==i)){var m="deltaY"in _?wh(_):Ca(_),g=t.current.filter(function(b){return b.name===_.type&&b.target===_.target&&T7(b.delta,m)})[0];if(g&&g.should){_.cancelable&&_.preventDefault();return}if(!g){var x=(a.current.shards||[]).map(_h).filter(Boolean).filter(function(b){return b.contains(_.target)}),E=x.length>0?l(_,x[0]):!a.current.noIsolation;E&&_.cancelable&&_.preventDefault()}}},[]),u=h.useCallback(function(v,_,m,g){var x={name:v,delta:_,target:m,should:g};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(E){return E!==x})},1)},[]),d=h.useCallback(function(v){n.current=Ca(v),r.current=void 0},[]),c=h.useCallback(function(v){u(v.type,wh(v),v.target,l(v,e.lockRef.current))},[]),f=h.useCallback(function(v){u(v.type,Ca(v),v.target,l(v,e.lockRef.current))},[]);h.useEffect(function(){return Ur.push(i),e.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:f}),document.addEventListener("wheel",s,zr),document.addEventListener("touchmove",s,zr),document.addEventListener("touchstart",d,zr),function(){Ur=Ur.filter(function(v){return v!==i}),document.removeEventListener("wheel",s,zr),document.removeEventListener("touchmove",s,zr),document.removeEventListener("touchstart",d,zr)}},[]);var p=e.removeScrollBar,y=e.inert;return h.createElement(h.Fragment,null,y?h.createElement(i,{styles:$7(o)}):null,p?h.createElement(x7,{gapMode:"margin"}):null)}const N7=a7(fg,R7);var Yd=h.forwardRef(function(e,t){return h.createElement(Ql,en({},e,{ref:t,sideCar:N7}))});Yd.classNames=Ql.classNames;var A7=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Vr=new WeakMap,ba=new WeakMap,Sa={},Hs=0,gg=function(e){return e&&(e.host||gg(e.parentNode))},I7=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=gg(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},L7=function(e,t,n,r){var o=I7(t,Array.isArray(e)?e:[e]);Sa[n]||(Sa[n]=new WeakMap);var i=Sa[n],a=[],l=new Set,s=new Set(o),u=function(c){!c||l.has(c)||(l.add(c),u(c.parentNode))};o.forEach(u);var d=function(c){!c||s.has(c)||Array.prototype.forEach.call(c.children,function(f){if(l.has(f))d(f);else try{var p=f.getAttribute(r),y=p!==null&&p!=="false",v=(Vr.get(f)||0)+1,_=(i.get(f)||0)+1;Vr.set(f,v),i.set(f,_),a.push(f),v===1&&y&&ba.set(f,!0),_===1&&f.setAttribute(n,"true"),y||f.setAttribute(r,"true")}catch(m){console.error("aria-hidden: cannot operate on ",f,m)}})};return d(t),l.clear(),Hs++,function(){a.forEach(function(c){var f=Vr.get(c)-1,p=i.get(c)-1;Vr.set(c,f),i.set(c,p),f||(ba.has(c)||c.removeAttribute(r),ba.delete(c)),p||c.removeAttribute(n)}),Hs--,Hs||(Vr=new WeakMap,Vr=new WeakMap,ba=new WeakMap,Sa={})}},yg=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=A7(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),L7(r,o,n,"aria-hidden")):function(){return null}};const xg="Dialog",[wg,vk]=Cn(xg),[O7,Sn]=wg(xg),D7=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,l=h.useRef(null),s=h.useRef(null),[u=!1,d]=or({prop:r,defaultProp:o,onChange:i});return h.createElement(O7,{scope:t,triggerRef:l,contentRef:s,contentId:an(),titleId:an(),descriptionId:an(),open:u,onOpenChange:d,onOpenToggle:h.useCallback(()=>d(c=>!c),[d]),modal:a},n)},M7="DialogTrigger",j7=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Sn(M7,n),i=Ve(t,o.triggerRef);return h.createElement(fe.button,Y({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Qd(o.open)},r,{ref:i,onClick:se(e.onClick,o.onOpenToggle)}))}),_g="DialogPortal",[F7,Eg]=wg(_g,{forceMount:void 0}),z7=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=Sn(_g,t);return h.createElement(F7,{scope:t,forceMount:n},h.Children.map(r,a=>h.createElement(bn,{present:n||i.open},h.createElement(sg,{asChild:!0,container:o},a))))},fu="DialogOverlay",U7=h.forwardRef((e,t)=>{const n=Eg(fu,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=Sn(fu,e.__scopeDialog);return i.modal?h.createElement(bn,{present:r||i.open},h.createElement(V7,Y({},o,{ref:t}))):null}),V7=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Sn(fu,n);return h.createElement(Yd,{as:bo,allowPinchZoom:!0,shards:[o.contentRef]},h.createElement(fe.div,Y({"data-state":Qd(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),Di="DialogContent",B7=h.forwardRef((e,t)=>{const n=Eg(Di,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=Sn(Di,e.__scopeDialog);return h.createElement(bn,{present:r||i.open},i.modal?h.createElement(H7,Y({},o,{ref:t})):h.createElement(W7,Y({},o,{ref:t})))}),H7=h.forwardRef((e,t)=>{const n=Sn(Di,e.__scopeDialog),r=h.useRef(null),o=Ve(t,n.contentRef,r);return h.useEffect(()=>{const i=r.current;if(i)return yg(i)},[]),h.createElement(Cg,Y({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:se(e.onCloseAutoFocus,i=>{var a;i.preventDefault(),(a=n.triggerRef.current)===null||a===void 0||a.focus()}),onPointerDownOutside:se(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0;(a.button===2||l)&&i.preventDefault()}),onFocusOutside:se(e.onFocusOutside,i=>i.preventDefault())}))}),W7=h.forwardRef((e,t)=>{const n=Sn(Di,e.__scopeDialog),r=h.useRef(!1),o=h.useRef(!1);return h.createElement(Cg,Y({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,i),!i.defaultPrevented){var l;r.current||(l=n.triggerRef.current)===null||l===void 0||l.focus(),i.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:i=>{var a,l;(a=e.onInteractOutside)===null||a===void 0||a.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=i.target;((l=n.triggerRef.current)===null||l===void 0?void 0:l.contains(s))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}}))}),Cg=h.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,l=Sn(Di,n),s=h.useRef(null),u=Ve(t,s);return cg(),h.createElement(h.Fragment,null,h.createElement(ag,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},h.createElement(Gd,Y({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":Qd(l.open)},a,{ref:u,onDismiss:()=>l.onOpenChange(!1)}))),!1)}),K7="DialogTitle",G7=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Sn(K7,n);return h.createElement(fe.h2,Y({id:o.titleId},r,{ref:t}))});function Qd(e){return e?"open":"closed"}const bg=D7,Sg=j7,Y7=z7,Q7=U7,Z7=B7,X7=G7;var he=function(){return he=Object.assign||function(t){for(var n,r=1,o=arguments.length;r0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ie(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,i=[],a;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return i}var e6="ENTRIES",kg="KEYS",Tg="VALUES",Xe="",Ws=function(){function e(t,n){var r=t._tree,o=Array.from(r.keys());this.set=t,this._type=n,this._path=o.length>0?[{node:r,keys:o}]:[]}return e.prototype.next=function(){var t=this.dive();return this.backtrack(),t},e.prototype.dive=function(){if(this._path.length===0)return{done:!0,value:void 0};var t=Br(this._path),n=t.node,r=t.keys;if(Br(r)===Xe)return{done:!1,value:this.result()};var o=n.get(Br(r));return this._path.push({node:o,keys:Array.from(o.keys())}),this.dive()},e.prototype.backtrack=function(){if(this._path.length!==0){var t=Br(this._path).keys;t.pop(),!(t.length>0)&&(this._path.pop(),this.backtrack())}},e.prototype.key=function(){return this.set._prefix+this._path.map(function(t){var n=t.keys;return Br(n)}).filter(function(t){return t!==Xe}).join("")},e.prototype.value=function(){return Br(this._path).node.get(Xe)},e.prototype.result=function(){switch(this._type){case Tg:return this.value();case kg:return this.key();default:return[this.key(),this.value()]}},e.prototype[Symbol.iterator]=function(){return this},e}(),Br=function(e){return e[e.length-1]},t6=function(e,t,n){var r=new Map;if(t===void 0)return r;for(var o=t.length+1,i=o+n,a=new Uint8Array(i*o).fill(n+1),l=0;ln)continue e}$g(e.get(p),t,n,r,o,v,a,l+p)}}}catch(L){s={error:L}}finally{try{f&&!f.done&&(u=c.return)&&u.call(c)}finally{if(s)throw s.error}}},Ks=function(){function e(t,n){t===void 0&&(t=new Map),n===void 0&&(n=""),this._size=void 0,this._tree=t,this._prefix=n}return e.prototype.atPrefix=function(t){var n,r;if(!t.startsWith(this._prefix))throw new Error("Mismatched prefix");var o=Ie(El(this._tree,t.slice(this._prefix.length)),2),i=o[0],a=o[1];if(i===void 0){var l=Ie(Zd(a),2),s=l[0],u=l[1];try{for(var d=oe(s.keys()),c=d.next();!c.done;c=d.next()){var f=c.value;if(f!==Xe&&f.startsWith(u)){var p=new Map;return p.set(f.slice(u.length),s.get(f)),new e(p,t)}}}catch(y){n={error:y}}finally{try{c&&!c.done&&(r=d.return)&&r.call(d)}finally{if(n)throw n.error}}}return new e(i,t)},e.prototype.clear=function(){this._size=void 0,this._tree.clear()},e.prototype.delete=function(t){return this._size=void 0,n6(this._tree,t)},e.prototype.entries=function(){return new Ws(this,e6)},e.prototype.forEach=function(t){var n,r;try{for(var o=oe(this),i=o.next();!i.done;i=o.next()){var a=Ie(i.value,2),l=a[0],s=a[1];t(l,s,this)}}catch(u){n={error:u}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}},e.prototype.fuzzyGet=function(t,n){return t6(this._tree,t,n)},e.prototype.get=function(t){var n=pu(this._tree,t);return n!==void 0?n.get(Xe):void 0},e.prototype.has=function(t){var n=pu(this._tree,t);return n!==void 0&&n.has(Xe)},e.prototype.keys=function(){return new Ws(this,kg)},e.prototype.set=function(t,n){if(typeof t!="string")throw new Error("key must be a string");this._size=void 0;var r=Gs(this._tree,t);return r.set(Xe,n),this},Object.defineProperty(e.prototype,"size",{get:function(){if(this._size)return this._size;this._size=0;for(var t=this.entries();!t.next().done;)this._size+=1;return this._size},enumerable:!1,configurable:!0}),e.prototype.update=function(t,n){if(typeof t!="string")throw new Error("key must be a string");this._size=void 0;var r=Gs(this._tree,t);return r.set(Xe,n(r.get(Xe))),this},e.prototype.fetch=function(t,n){if(typeof t!="string")throw new Error("key must be a string");this._size=void 0;var r=Gs(this._tree,t),o=r.get(Xe);return o===void 0&&r.set(Xe,o=n()),o},e.prototype.values=function(){return new Ws(this,Tg)},e.prototype[Symbol.iterator]=function(){return this.entries()},e.from=function(t){var n,r,o=new e;try{for(var i=oe(t),a=i.next();!a.done;a=i.next()){var l=Ie(a.value,2),s=l[0],u=l[1];o.set(s,u)}}catch(d){n={error:d}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o},e.fromObject=function(t){return e.from(Object.entries(t))},e}(),El=function(e,t,n){var r,o;if(n===void 0&&(n=[]),t.length===0||e==null)return[e,n];try{for(var i=oe(e.keys()),a=i.next();!a.done;a=i.next()){var l=a.value;if(l!==Xe&&t.startsWith(l))return n.push([e,l]),El(e.get(l),t.slice(l.length),n)}}catch(s){r={error:s}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}return n.push([e,t]),El(void 0,"",n)},pu=function(e,t){var n,r;if(t.length===0||e==null)return e;try{for(var o=oe(e.keys()),i=o.next();!i.done;i=o.next()){var a=i.value;if(a!==Xe&&t.startsWith(a))return pu(e.get(a),t.slice(a.length))}}catch(l){n={error:l}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}},Gs=function(e,t){var n,r,o=t.length;e:for(var i=0;e&&i0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new Ks,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}},e.prototype.discard=function(t){var n=this,r=this._idToShortId.get(t);if(r==null)throw new Error("MiniSearch: cannot discard document with ID ".concat(t,": it is not in the index"));this._idToShortId.delete(t),this._documentIds.delete(r),this._storedFields.delete(r),(this._fieldLength.get(r)||[]).forEach(function(o,i){n.removeFieldLength(r,i,n._documentCount,o)}),this._fieldLength.delete(r),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()},e.prototype.maybeAutoVacuum=function(){if(this._options.autoVacuum!==!1){var t=this._options.autoVacuum,n=t.minDirtFactor,r=t.minDirtCount,o=t.batchSize,i=t.batchWait;this.conditionalVacuum({batchSize:o,batchWait:i},{minDirtCount:r,minDirtFactor:n})}},e.prototype.discardAll=function(t){var n,r,o=this._options.autoVacuum;try{this._options.autoVacuum=!1;try{for(var i=oe(t),a=i.next();!a.done;a=i.next()){var l=a.value;this.discard(l)}}catch(s){n={error:s}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}finally{this._options.autoVacuum=o}this.maybeAutoVacuum()},e.prototype.replace=function(t){var n=this._options,r=n.idField,o=n.extractField,i=o(t,r);this.discard(i),this.add(t)},e.prototype.vacuum=function(t){return t===void 0&&(t={}),this.conditionalVacuum(t)},e.prototype.conditionalVacuum=function(t,n){var r=this;return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&n,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(function(){var o=r._enqueuedVacuumConditions;return r._enqueuedVacuumConditions=vu,r.performVacuuming(t,o)}),this._enqueuedVacuum)):this.vacuumConditionsMet(n)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(t),this._currentVacuum)},e.prototype.performVacuuming=function(t,n){return J7(this,void 0,void 0,function(){var r,o,i,a,l,s,u,d,c,f,p,y,v,_,m,g,x,E,b,k,C,S,$,N,O;return q7(this,function(M){switch(M.label){case 0:if(r=this._dirtCount,!this.vacuumConditionsMet(n))return[3,10];o=t.batchSize||hu.batchSize,i=t.batchWait||hu.batchWait,a=1,M.label=1;case 1:M.trys.push([1,7,8,9]),l=oe(this._index),s=l.next(),M.label=2;case 2:if(s.done)return[3,6];u=Ie(s.value,2),d=u[0],c=u[1];try{for(f=(S=void 0,oe(c)),p=f.next();!p.done;p=f.next()){y=Ie(p.value,2),v=y[0],_=y[1];try{for(m=(N=void 0,oe(_)),g=m.next();!g.done;g=m.next())x=Ie(g.value,1),E=x[0],!this._documentIds.has(E)&&(_.size<=1?c.delete(v):_.delete(E))}catch(L){N={error:L}}finally{try{g&&!g.done&&(O=m.return)&&O.call(m)}finally{if(N)throw N.error}}}}catch(L){S={error:L}}finally{try{p&&!p.done&&($=f.return)&&$.call(f)}finally{if(S)throw S.error}}return this._index.get(d).size===0&&this._index.delete(d),a%o!==0?[3,4]:[4,new Promise(function(L){return setTimeout(L,i)})];case 3:M.sent(),M.label=4;case 4:a+=1,M.label=5;case 5:return s=l.next(),[3,2];case 6:return[3,9];case 7:return b=M.sent(),k={error:b},[3,9];case 8:try{s&&!s.done&&(C=l.return)&&C.call(l)}finally{if(k)throw k.error}return[7];case 9:this._dirtCount-=r,M.label=10;case 10:return[4,null];case 11:return M.sent(),this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null,[2]}})})},e.prototype.vacuumConditionsMet=function(t){if(t==null)return!0;var n=t.minDirtCount,r=t.minDirtFactor;return n=n||Zs.minDirtCount,r=r||Zs.minDirtFactor,this.dirtCount>=n&&this.dirtFactor>=r},Object.defineProperty(e.prototype,"isVacuuming",{get:function(){return this._currentVacuum!=null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dirtCount",{get:function(){return this._dirtCount},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dirtFactor",{get:function(){return this._dirtCount/(1+this._documentCount+this._dirtCount)},enumerable:!1,configurable:!0}),e.prototype.has=function(t){return this._idToShortId.has(t)},e.prototype.getStoredFields=function(t){var n=this._idToShortId.get(t);if(n!=null)return this._storedFields.get(n)},e.prototype.search=function(t,n){var r,o;n===void 0&&(n={});var i=this.executeQuery(t,n),a=[];try{for(var l=oe(i),s=l.next();!s.done;s=l.next()){var u=Ie(s.value,2),d=u[0],c=u[1],f=c.score,p=c.terms,y=c.match,v=p.length||1,_={id:this._documentIds.get(d),score:f*v,terms:Object.keys(y),queryTerms:p,match:y};Object.assign(_,this._storedFields.get(d)),(n.filter==null||n.filter(_))&&a.push(_)}}catch(m){r={error:m}}finally{try{s&&!s.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}return t===e.wildcard&&n.boostDocument==null&&this._options.searchOptions.boostDocument==null||a.sort(bh),a},e.prototype.autoSuggest=function(t,n){var r,o,i,a;n===void 0&&(n={}),n=he(he({},this._options.autoSuggestOptions),n);var l=new Map;try{for(var s=oe(this.search(t,n)),u=s.next();!u.done;u=s.next()){var d=u.value,c=d.score,f=d.terms,p=f.join(" "),y=l.get(p);y!=null?(y.score+=c,y.count+=1):l.set(p,{score:c,terms:f,count:1})}}catch(b){r={error:b}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}var v=[];try{for(var _=oe(l),m=_.next();!m.done;m=_.next()){var g=Ie(m.value,2),y=g[0],x=g[1],c=x.score,f=x.terms,E=x.count;v.push({suggestion:y,terms:f,score:c/E})}}catch(b){i={error:b}}finally{try{m&&!m.done&&(a=_.return)&&a.call(_)}finally{if(i)throw i.error}}return v.sort(bh),v},Object.defineProperty(e.prototype,"documentCount",{get:function(){return this._documentCount},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"termCount",{get:function(){return this._index.size},enumerable:!1,configurable:!0}),e.loadJSON=function(t,n){if(n==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(t),n)},e.getDefault=function(t){if(Qs.hasOwnProperty(t))return Ys(Qs,t);throw new Error('MiniSearch: unknown option "'.concat(t,'"'))},e.loadJS=function(t,n){var r,o,i,a,l,s,u=t.index,d=t.documentCount,c=t.nextId,f=t.documentIds,p=t.fieldIds,y=t.fieldLength,v=t.averageFieldLength,_=t.storedFields,m=t.dirtCount,g=t.serializationVersion;if(g!==1&&g!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");var x=new e(n);x._documentCount=d,x._nextId=c,x._documentIds=ka(f),x._idToShortId=new Map,x._fieldIds=p,x._fieldLength=ka(y),x._avgFieldLength=v,x._storedFields=ka(_),x._dirtCount=m||0,x._index=new Ks;try{for(var E=oe(x._documentIds),b=E.next();!b.done;b=E.next()){var k=Ie(b.value,2),C=k[0],S=k[1];x._idToShortId.set(S,C)}}catch(B){r={error:B}}finally{try{b&&!b.done&&(o=E.return)&&o.call(E)}finally{if(r)throw r.error}}try{for(var $=oe(u),N=$.next();!N.done;N=$.next()){var O=Ie(N.value,2),M=O[0],L=O[1],P=new Map;try{for(var V=(l=void 0,oe(Object.keys(L))),Q=V.next();!Q.done;Q=V.next()){var U=Q.value,I=L[U];g===1&&(I=I.ds),P.set(parseInt(U,10),ka(I))}}catch(B){l={error:B}}finally{try{Q&&!Q.done&&(s=V.return)&&s.call(V)}finally{if(l)throw l.error}}x._index.set(M,P)}}catch(B){i={error:B}}finally{try{N&&!N.done&&(a=$.return)&&a.call($)}finally{if(i)throw i.error}}return x},e.prototype.executeQuery=function(t,n){var r=this;if(n===void 0&&(n={}),t===e.wildcard)return this.executeWildcardQuery(n);if(typeof t!="string"){var o=he(he(he({},n),t),{queries:void 0}),i=t.queries.map(function(_){return r.executeQuery(_,o)});return this.combineResults(i,o.combineWith)}var a=this._options,l=a.tokenize,s=a.processTerm,u=a.searchOptions,d=he(he({tokenize:l,processTerm:s},u),n),c=d.tokenize,f=d.processTerm,p=c(t).flatMap(function(_){return f(_)}).filter(function(_){return!!_}),y=p.map(s6(d)),v=y.map(function(_){return r.executeQuerySpec(_,d)});return this.combineResults(v,d.combineWith)},e.prototype.executeQuerySpec=function(t,n){var r,o,i,a,l=he(he({},this._options.searchOptions),n),s=(l.fields||this._options.fields).reduce(function(U,I){var B;return he(he({},U),(B={},B[I]=Ys(l.boost,I)||1,B))},{}),u=l.boostDocument,d=l.weights,c=l.maxFuzzy,f=l.bm25,p=he(he({},Eh.weights),d),y=p.fuzzy,v=p.prefix,_=this._index.get(t.term),m=this.termResults(t.term,t.term,1,_,s,u,f),g,x;if(t.prefix&&(g=this._index.atPrefix(t.term)),t.fuzzy){var E=t.fuzzy===!0?.2:t.fuzzy,b=E<1?Math.min(c,Math.round(t.term.length*E)):E;b&&(x=this._index.fuzzyGet(t.term,b))}if(g)try{for(var k=oe(g),C=k.next();!C.done;C=k.next()){var S=Ie(C.value,2),$=S[0],N=S[1],O=$.length-t.term.length;if(O){x==null||x.delete($);var M=v*$.length/($.length+.3*O);this.termResults(t.term,$,M,N,s,u,f,m)}}}catch(U){r={error:U}}finally{try{C&&!C.done&&(o=k.return)&&o.call(k)}finally{if(r)throw r.error}}if(x)try{for(var L=oe(x.keys()),P=L.next();!P.done;P=L.next()){var $=P.value,V=Ie(x.get($),2),Q=V[0],O=V[1];if(O){var M=y*$.length/($.length+O);this.termResults(t.term,$,M,Q,s,u,f,m)}}}catch(U){i={error:U}}finally{try{P&&!P.done&&(a=L.return)&&a.call(L)}finally{if(i)throw i.error}}return m},e.prototype.executeWildcardQuery=function(t){var n,r,o=new Map,i=he(he({},this._options.searchOptions),t);try{for(var a=oe(this._documentIds),l=a.next();!l.done;l=a.next()){var s=Ie(l.value,2),u=s[0],d=s[1],c=i.boostDocument?i.boostDocument(d,"",this._storedFields.get(u)):1;o.set(u,{score:c,terms:[],match:{}})}}catch(f){n={error:f}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return o},e.prototype.combineResults=function(t,n){if(n===void 0&&(n=Xd),t.length===0)return new Map;var r=n.toLowerCase();return t.reduce(i6[r])||new Map},e.prototype.toJSON=function(){var t,n,r,o,i=[];try{for(var a=oe(this._index),l=a.next();!l.done;l=a.next()){var s=Ie(l.value,2),u=s[0],d=s[1],c={};try{for(var f=(r=void 0,oe(d)),p=f.next();!p.done;p=f.next()){var y=Ie(p.value,2),v=y[0],_=y[1];c[v]=Object.fromEntries(_)}}catch(m){r={error:m}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}i.push([u,c])}}catch(m){t={error:m}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:i,serializationVersion:2}},e.prototype.termResults=function(t,n,r,o,i,a,l,s){var u,d,c,f,p;if(s===void 0&&(s=new Map),o==null)return s;try{for(var y=oe(Object.keys(i)),v=y.next();!v.done;v=y.next()){var _=v.value,m=i[_],g=this._fieldIds[_],x=o.get(g);if(x!=null){var E=x.size,b=this._avgFieldLength[g];try{for(var k=(c=void 0,oe(x.keys())),C=k.next();!C.done;C=k.next()){var S=C.value;if(!this._documentIds.has(S)){this.removeTerm(g,S,n),E-=1;continue}var $=a?a(this._documentIds.get(S),n,this._storedFields.get(S)):1;if($){var N=x.get(S),O=this._fieldLength.get(S)[g],M=l6(N,E,this._documentCount,O,b,l),L=r*m*$*M,P=s.get(S);if(P){P.score+=L,u6(P.terms,t);var V=Ys(P.match,n);V?V.push(_):P.match[n]=[_]}else s.set(S,{score:L,terms:[t],match:(p={},p[n]=[_],p)})}}}catch(Q){c={error:Q}}finally{try{C&&!C.done&&(f=k.return)&&f.call(k)}finally{if(c)throw c.error}}}}}catch(Q){u={error:Q}}finally{try{v&&!v.done&&(d=y.return)&&d.call(y)}finally{if(u)throw u.error}}return s},e.prototype.addTerm=function(t,n,r){var o=this._index.fetch(r,Sh),i=o.get(t);if(i==null)i=new Map,i.set(n,1),o.set(t,i);else{var a=i.get(n);i.set(n,(a||0)+1)}},e.prototype.removeTerm=function(t,n,r){if(!this._index.has(r)){this.warnDocumentChanged(n,t,r);return}var o=this._index.fetch(r,Sh),i=o.get(t);i==null||i.get(n)==null?this.warnDocumentChanged(n,t,r):i.get(n)<=1?i.size<=1?o.delete(t):i.delete(n):i.set(n,i.get(n)-1),this._index.get(r).size===0&&this._index.delete(r)},e.prototype.warnDocumentChanged=function(t,n,r){var o,i;try{for(var a=oe(Object.keys(this._fieldIds)),l=a.next();!l.done;l=a.next()){var s=l.value;if(this._fieldIds[s]===n){this._options.logger("warn","MiniSearch: document with ID ".concat(this._documentIds.get(t),' has changed before removal: term "').concat(r,'" was not present in field "').concat(s,'". Removing a document after it has changed can corrupt the index!'),"version_conflict");return}}}catch(u){o={error:u}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}},e.prototype.addDocumentId=function(t){var n=this._nextId;return this._idToShortId.set(t,n),this._documentIds.set(n,t),this._documentCount+=1,this._nextId+=1,n},e.prototype.addFields=function(t){for(var n=0;nJSON.stringify(await(await fetch("/.vocs/search-index-154ff564.json")).json());let Xs;function Ag(){const[e,t]=h.useState();return h.useEffect(()=>{(async()=>{Xs||(Xs=f6());const n=await Xs,r=o6.loadJSON(n,{fields:["title","titles","text"],searchOptions:{boost:{title:4,text:2,titles:1},fuzzy:.2,prefix:!0},storeFields:["href","html","isPage","text","title","titles"]});t(r)})()},[]),h.useEffect(()=>{},[]),e}var p6="vocs_DesktopSearch_search",h6="vocs_DesktopSearch_searchCommand";const v6=h.forwardRef((e,t)=>h.createElement(fe.label,Y({},e,{ref:t,onMouseDown:n=>{var r;(r=e.onMouseDown)===null||r===void 0||r.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault()}}))),m6=v6;var Ig={exports:{}};/*!*************************************************** +`)},P5=0,Ur=[];function R5(e){var t=h.useRef([]),n=h.useRef([0,0]),r=h.useRef(),o=h.useState(P5++)[0],i=h.useState(function(){return p1()})[0],a=h.useRef(e);h.useEffect(function(){a.current=e},[e]),h.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var v=X3([e.lockRef.current],(e.shards||[]).map(_h),!0).filter(Boolean);return v.forEach(function(_){return _.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),v.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=h.useCallback(function(v,_){if("touches"in v&&v.touches.length===2)return!a.current.allowPinchZoom;var m=Ca(v),g=n.current,x="deltaX"in v?v.deltaX:g[0]-m[0],E="deltaY"in v?v.deltaY:g[1]-m[1],b,k=v.target,C=Math.abs(x)>Math.abs(E)?"h":"v";if("touches"in v&&C==="h"&&k.type==="range")return!1;var S=xh(C,k);if(!S)return!0;if(S?b=C:(b=C==="v"?"h":"v",S=xh(C,k)),!S)return!1;if(!r.current&&"changedTouches"in v&&(x||E)&&(r.current=b),!b)return!0;var $=r.current||b;return k5($,_,v,$==="h"?x:E,!0)},[]),s=h.useCallback(function(v){var _=v;if(!(!Ur.length||Ur[Ur.length-1]!==i)){var m="deltaY"in _?wh(_):Ca(_),g=t.current.filter(function(b){return b.name===_.type&&b.target===_.target&&T5(b.delta,m)})[0];if(g&&g.should){_.cancelable&&_.preventDefault();return}if(!g){var x=(a.current.shards||[]).map(_h).filter(Boolean).filter(function(b){return b.contains(_.target)}),E=x.length>0?l(_,x[0]):!a.current.noIsolation;E&&_.cancelable&&_.preventDefault()}}},[]),u=h.useCallback(function(v,_,m,g){var x={name:v,delta:_,target:m,should:g};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(E){return E!==x})},1)},[]),d=h.useCallback(function(v){n.current=Ca(v),r.current=void 0},[]),c=h.useCallback(function(v){u(v.type,wh(v),v.target,l(v,e.lockRef.current))},[]),f=h.useCallback(function(v){u(v.type,Ca(v),v.target,l(v,e.lockRef.current))},[]);h.useEffect(function(){return Ur.push(i),e.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:f}),document.addEventListener("wheel",s,zr),document.addEventListener("touchmove",s,zr),document.addEventListener("touchstart",d,zr),function(){Ur=Ur.filter(function(v){return v!==i}),document.removeEventListener("wheel",s,zr),document.removeEventListener("touchmove",s,zr),document.removeEventListener("touchstart",d,zr)}},[]);var p=e.removeScrollBar,y=e.inert;return h.createElement(h.Fragment,null,y?h.createElement(i,{styles:$5(o)}):null,p?h.createElement(x5,{gapMode:"margin"}):null)}const N5=a5(f1,R5);var Yd=h.forwardRef(function(e,t){return h.createElement(Ql,en({},e,{ref:t,sideCar:N5}))});Yd.classNames=Ql.classNames;var A5=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Vr=new WeakMap,ba=new WeakMap,Sa={},Hs=0,g1=function(e){return e&&(e.host||g1(e.parentNode))},I5=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=g1(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},L5=function(e,t,n,r){var o=I5(t,Array.isArray(e)?e:[e]);Sa[n]||(Sa[n]=new WeakMap);var i=Sa[n],a=[],l=new Set,s=new Set(o),u=function(c){!c||l.has(c)||(l.add(c),u(c.parentNode))};o.forEach(u);var d=function(c){!c||s.has(c)||Array.prototype.forEach.call(c.children,function(f){if(l.has(f))d(f);else try{var p=f.getAttribute(r),y=p!==null&&p!=="false",v=(Vr.get(f)||0)+1,_=(i.get(f)||0)+1;Vr.set(f,v),i.set(f,_),a.push(f),v===1&&y&&ba.set(f,!0),_===1&&f.setAttribute(n,"true"),y||f.setAttribute(r,"true")}catch(m){console.error("aria-hidden: cannot operate on ",f,m)}})};return d(t),l.clear(),Hs++,function(){a.forEach(function(c){var f=Vr.get(c)-1,p=i.get(c)-1;Vr.set(c,f),i.set(c,p),f||(ba.has(c)||c.removeAttribute(r),ba.delete(c)),p||c.removeAttribute(n)}),Hs--,Hs||(Vr=new WeakMap,Vr=new WeakMap,ba=new WeakMap,Sa={})}},y1=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=A5(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),L5(r,o,n,"aria-hidden")):function(){return null}};const x1="Dialog",[w1,vk]=Cn(x1),[O5,Sn]=w1(x1),D5=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,l=h.useRef(null),s=h.useRef(null),[u=!1,d]=or({prop:r,defaultProp:o,onChange:i});return h.createElement(O5,{scope:t,triggerRef:l,contentRef:s,contentId:an(),titleId:an(),descriptionId:an(),open:u,onOpenChange:d,onOpenToggle:h.useCallback(()=>d(c=>!c),[d]),modal:a},n)},M5="DialogTrigger",j5=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Sn(M5,n),i=Ve(t,o.triggerRef);return h.createElement(fe.button,Y({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Qd(o.open)},r,{ref:i,onClick:se(e.onClick,o.onOpenToggle)}))}),_1="DialogPortal",[F5,E1]=w1(_1,{forceMount:void 0}),z5=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=Sn(_1,t);return h.createElement(F5,{scope:t,forceMount:n},h.Children.map(r,a=>h.createElement(bn,{present:n||i.open},h.createElement(s1,{asChild:!0,container:o},a))))},fu="DialogOverlay",U5=h.forwardRef((e,t)=>{const n=E1(fu,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=Sn(fu,e.__scopeDialog);return i.modal?h.createElement(bn,{present:r||i.open},h.createElement(V5,Y({},o,{ref:t}))):null}),V5=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Sn(fu,n);return h.createElement(Yd,{as:bo,allowPinchZoom:!0,shards:[o.contentRef]},h.createElement(fe.div,Y({"data-state":Qd(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),Di="DialogContent",B5=h.forwardRef((e,t)=>{const n=E1(Di,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=Sn(Di,e.__scopeDialog);return h.createElement(bn,{present:r||i.open},i.modal?h.createElement(H5,Y({},o,{ref:t})):h.createElement(W5,Y({},o,{ref:t})))}),H5=h.forwardRef((e,t)=>{const n=Sn(Di,e.__scopeDialog),r=h.useRef(null),o=Ve(t,n.contentRef,r);return h.useEffect(()=>{const i=r.current;if(i)return y1(i)},[]),h.createElement(C1,Y({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:se(e.onCloseAutoFocus,i=>{var a;i.preventDefault(),(a=n.triggerRef.current)===null||a===void 0||a.focus()}),onPointerDownOutside:se(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0;(a.button===2||l)&&i.preventDefault()}),onFocusOutside:se(e.onFocusOutside,i=>i.preventDefault())}))}),W5=h.forwardRef((e,t)=>{const n=Sn(Di,e.__scopeDialog),r=h.useRef(!1),o=h.useRef(!1);return h.createElement(C1,Y({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,i),!i.defaultPrevented){var l;r.current||(l=n.triggerRef.current)===null||l===void 0||l.focus(),i.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:i=>{var a,l;(a=e.onInteractOutside)===null||a===void 0||a.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=i.target;((l=n.triggerRef.current)===null||l===void 0?void 0:l.contains(s))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}}))}),C1=h.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,l=Sn(Di,n),s=h.useRef(null),u=Ve(t,s);return c1(),h.createElement(h.Fragment,null,h.createElement(a1,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},h.createElement(Gd,Y({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":Qd(l.open)},a,{ref:u,onDismiss:()=>l.onOpenChange(!1)}))),!1)}),K5="DialogTitle",G5=h.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Sn(K5,n);return h.createElement(fe.h2,Y({id:o.titleId},r,{ref:t}))});function Qd(e){return e?"open":"closed"}const b1=D5,S1=j5,Y5=z5,Q5=U5,Z5=B5,X5=G5;var he=function(){return he=Object.assign||function(t){for(var n,r=1,o=arguments.length;r0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ie(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,i=[],a;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return i}var e4="ENTRIES",k1="KEYS",T1="VALUES",Xe="",Ws=function(){function e(t,n){var r=t._tree,o=Array.from(r.keys());this.set=t,this._type=n,this._path=o.length>0?[{node:r,keys:o}]:[]}return e.prototype.next=function(){var t=this.dive();return this.backtrack(),t},e.prototype.dive=function(){if(this._path.length===0)return{done:!0,value:void 0};var t=Br(this._path),n=t.node,r=t.keys;if(Br(r)===Xe)return{done:!1,value:this.result()};var o=n.get(Br(r));return this._path.push({node:o,keys:Array.from(o.keys())}),this.dive()},e.prototype.backtrack=function(){if(this._path.length!==0){var t=Br(this._path).keys;t.pop(),!(t.length>0)&&(this._path.pop(),this.backtrack())}},e.prototype.key=function(){return this.set._prefix+this._path.map(function(t){var n=t.keys;return Br(n)}).filter(function(t){return t!==Xe}).join("")},e.prototype.value=function(){return Br(this._path).node.get(Xe)},e.prototype.result=function(){switch(this._type){case T1:return this.value();case k1:return this.key();default:return[this.key(),this.value()]}},e.prototype[Symbol.iterator]=function(){return this},e}(),Br=function(e){return e[e.length-1]},t4=function(e,t,n){var r=new Map;if(t===void 0)return r;for(var o=t.length+1,i=o+n,a=new Uint8Array(i*o).fill(n+1),l=0;ln)continue e}$1(e.get(p),t,n,r,o,v,a,l+p)}}}catch(L){s={error:L}}finally{try{f&&!f.done&&(u=c.return)&&u.call(c)}finally{if(s)throw s.error}}},Ks=function(){function e(t,n){t===void 0&&(t=new Map),n===void 0&&(n=""),this._size=void 0,this._tree=t,this._prefix=n}return e.prototype.atPrefix=function(t){var n,r;if(!t.startsWith(this._prefix))throw new Error("Mismatched prefix");var o=Ie(El(this._tree,t.slice(this._prefix.length)),2),i=o[0],a=o[1];if(i===void 0){var l=Ie(Zd(a),2),s=l[0],u=l[1];try{for(var d=oe(s.keys()),c=d.next();!c.done;c=d.next()){var f=c.value;if(f!==Xe&&f.startsWith(u)){var p=new Map;return p.set(f.slice(u.length),s.get(f)),new e(p,t)}}}catch(y){n={error:y}}finally{try{c&&!c.done&&(r=d.return)&&r.call(d)}finally{if(n)throw n.error}}}return new e(i,t)},e.prototype.clear=function(){this._size=void 0,this._tree.clear()},e.prototype.delete=function(t){return this._size=void 0,n4(this._tree,t)},e.prototype.entries=function(){return new Ws(this,e4)},e.prototype.forEach=function(t){var n,r;try{for(var o=oe(this),i=o.next();!i.done;i=o.next()){var a=Ie(i.value,2),l=a[0],s=a[1];t(l,s,this)}}catch(u){n={error:u}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}},e.prototype.fuzzyGet=function(t,n){return t4(this._tree,t,n)},e.prototype.get=function(t){var n=pu(this._tree,t);return n!==void 0?n.get(Xe):void 0},e.prototype.has=function(t){var n=pu(this._tree,t);return n!==void 0&&n.has(Xe)},e.prototype.keys=function(){return new Ws(this,k1)},e.prototype.set=function(t,n){if(typeof t!="string")throw new Error("key must be a string");this._size=void 0;var r=Gs(this._tree,t);return r.set(Xe,n),this},Object.defineProperty(e.prototype,"size",{get:function(){if(this._size)return this._size;this._size=0;for(var t=this.entries();!t.next().done;)this._size+=1;return this._size},enumerable:!1,configurable:!0}),e.prototype.update=function(t,n){if(typeof t!="string")throw new Error("key must be a string");this._size=void 0;var r=Gs(this._tree,t);return r.set(Xe,n(r.get(Xe))),this},e.prototype.fetch=function(t,n){if(typeof t!="string")throw new Error("key must be a string");this._size=void 0;var r=Gs(this._tree,t),o=r.get(Xe);return o===void 0&&r.set(Xe,o=n()),o},e.prototype.values=function(){return new Ws(this,T1)},e.prototype[Symbol.iterator]=function(){return this.entries()},e.from=function(t){var n,r,o=new e;try{for(var i=oe(t),a=i.next();!a.done;a=i.next()){var l=Ie(a.value,2),s=l[0],u=l[1];o.set(s,u)}}catch(d){n={error:d}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o},e.fromObject=function(t){return e.from(Object.entries(t))},e}(),El=function(e,t,n){var r,o;if(n===void 0&&(n=[]),t.length===0||e==null)return[e,n];try{for(var i=oe(e.keys()),a=i.next();!a.done;a=i.next()){var l=a.value;if(l!==Xe&&t.startsWith(l))return n.push([e,l]),El(e.get(l),t.slice(l.length),n)}}catch(s){r={error:s}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}return n.push([e,t]),El(void 0,"",n)},pu=function(e,t){var n,r;if(t.length===0||e==null)return e;try{for(var o=oe(e.keys()),i=o.next();!i.done;i=o.next()){var a=i.value;if(a!==Xe&&t.startsWith(a))return pu(e.get(a),t.slice(a.length))}}catch(l){n={error:l}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}},Gs=function(e,t){var n,r,o=t.length;e:for(var i=0;e&&i0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new Ks,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}},e.prototype.discard=function(t){var n=this,r=this._idToShortId.get(t);if(r==null)throw new Error("MiniSearch: cannot discard document with ID ".concat(t,": it is not in the index"));this._idToShortId.delete(t),this._documentIds.delete(r),this._storedFields.delete(r),(this._fieldLength.get(r)||[]).forEach(function(o,i){n.removeFieldLength(r,i,n._documentCount,o)}),this._fieldLength.delete(r),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()},e.prototype.maybeAutoVacuum=function(){if(this._options.autoVacuum!==!1){var t=this._options.autoVacuum,n=t.minDirtFactor,r=t.minDirtCount,o=t.batchSize,i=t.batchWait;this.conditionalVacuum({batchSize:o,batchWait:i},{minDirtCount:r,minDirtFactor:n})}},e.prototype.discardAll=function(t){var n,r,o=this._options.autoVacuum;try{this._options.autoVacuum=!1;try{for(var i=oe(t),a=i.next();!a.done;a=i.next()){var l=a.value;this.discard(l)}}catch(s){n={error:s}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}finally{this._options.autoVacuum=o}this.maybeAutoVacuum()},e.prototype.replace=function(t){var n=this._options,r=n.idField,o=n.extractField,i=o(t,r);this.discard(i),this.add(t)},e.prototype.vacuum=function(t){return t===void 0&&(t={}),this.conditionalVacuum(t)},e.prototype.conditionalVacuum=function(t,n){var r=this;return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&n,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(function(){var o=r._enqueuedVacuumConditions;return r._enqueuedVacuumConditions=vu,r.performVacuuming(t,o)}),this._enqueuedVacuum)):this.vacuumConditionsMet(n)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(t),this._currentVacuum)},e.prototype.performVacuuming=function(t,n){return J5(this,void 0,void 0,function(){var r,o,i,a,l,s,u,d,c,f,p,y,v,_,m,g,x,E,b,k,C,S,$,N,O;return q5(this,function(M){switch(M.label){case 0:if(r=this._dirtCount,!this.vacuumConditionsMet(n))return[3,10];o=t.batchSize||hu.batchSize,i=t.batchWait||hu.batchWait,a=1,M.label=1;case 1:M.trys.push([1,7,8,9]),l=oe(this._index),s=l.next(),M.label=2;case 2:if(s.done)return[3,6];u=Ie(s.value,2),d=u[0],c=u[1];try{for(f=(S=void 0,oe(c)),p=f.next();!p.done;p=f.next()){y=Ie(p.value,2),v=y[0],_=y[1];try{for(m=(N=void 0,oe(_)),g=m.next();!g.done;g=m.next())x=Ie(g.value,1),E=x[0],!this._documentIds.has(E)&&(_.size<=1?c.delete(v):_.delete(E))}catch(L){N={error:L}}finally{try{g&&!g.done&&(O=m.return)&&O.call(m)}finally{if(N)throw N.error}}}}catch(L){S={error:L}}finally{try{p&&!p.done&&($=f.return)&&$.call(f)}finally{if(S)throw S.error}}return this._index.get(d).size===0&&this._index.delete(d),a%o!==0?[3,4]:[4,new Promise(function(L){return setTimeout(L,i)})];case 3:M.sent(),M.label=4;case 4:a+=1,M.label=5;case 5:return s=l.next(),[3,2];case 6:return[3,9];case 7:return b=M.sent(),k={error:b},[3,9];case 8:try{s&&!s.done&&(C=l.return)&&C.call(l)}finally{if(k)throw k.error}return[7];case 9:this._dirtCount-=r,M.label=10;case 10:return[4,null];case 11:return M.sent(),this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null,[2]}})})},e.prototype.vacuumConditionsMet=function(t){if(t==null)return!0;var n=t.minDirtCount,r=t.minDirtFactor;return n=n||Zs.minDirtCount,r=r||Zs.minDirtFactor,this.dirtCount>=n&&this.dirtFactor>=r},Object.defineProperty(e.prototype,"isVacuuming",{get:function(){return this._currentVacuum!=null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dirtCount",{get:function(){return this._dirtCount},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dirtFactor",{get:function(){return this._dirtCount/(1+this._documentCount+this._dirtCount)},enumerable:!1,configurable:!0}),e.prototype.has=function(t){return this._idToShortId.has(t)},e.prototype.getStoredFields=function(t){var n=this._idToShortId.get(t);if(n!=null)return this._storedFields.get(n)},e.prototype.search=function(t,n){var r,o;n===void 0&&(n={});var i=this.executeQuery(t,n),a=[];try{for(var l=oe(i),s=l.next();!s.done;s=l.next()){var u=Ie(s.value,2),d=u[0],c=u[1],f=c.score,p=c.terms,y=c.match,v=p.length||1,_={id:this._documentIds.get(d),score:f*v,terms:Object.keys(y),queryTerms:p,match:y};Object.assign(_,this._storedFields.get(d)),(n.filter==null||n.filter(_))&&a.push(_)}}catch(m){r={error:m}}finally{try{s&&!s.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}return t===e.wildcard&&n.boostDocument==null&&this._options.searchOptions.boostDocument==null||a.sort(bh),a},e.prototype.autoSuggest=function(t,n){var r,o,i,a;n===void 0&&(n={}),n=he(he({},this._options.autoSuggestOptions),n);var l=new Map;try{for(var s=oe(this.search(t,n)),u=s.next();!u.done;u=s.next()){var d=u.value,c=d.score,f=d.terms,p=f.join(" "),y=l.get(p);y!=null?(y.score+=c,y.count+=1):l.set(p,{score:c,terms:f,count:1})}}catch(b){r={error:b}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}var v=[];try{for(var _=oe(l),m=_.next();!m.done;m=_.next()){var g=Ie(m.value,2),y=g[0],x=g[1],c=x.score,f=x.terms,E=x.count;v.push({suggestion:y,terms:f,score:c/E})}}catch(b){i={error:b}}finally{try{m&&!m.done&&(a=_.return)&&a.call(_)}finally{if(i)throw i.error}}return v.sort(bh),v},Object.defineProperty(e.prototype,"documentCount",{get:function(){return this._documentCount},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"termCount",{get:function(){return this._index.size},enumerable:!1,configurable:!0}),e.loadJSON=function(t,n){if(n==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(t),n)},e.getDefault=function(t){if(Qs.hasOwnProperty(t))return Ys(Qs,t);throw new Error('MiniSearch: unknown option "'.concat(t,'"'))},e.loadJS=function(t,n){var r,o,i,a,l,s,u=t.index,d=t.documentCount,c=t.nextId,f=t.documentIds,p=t.fieldIds,y=t.fieldLength,v=t.averageFieldLength,_=t.storedFields,m=t.dirtCount,g=t.serializationVersion;if(g!==1&&g!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");var x=new e(n);x._documentCount=d,x._nextId=c,x._documentIds=ka(f),x._idToShortId=new Map,x._fieldIds=p,x._fieldLength=ka(y),x._avgFieldLength=v,x._storedFields=ka(_),x._dirtCount=m||0,x._index=new Ks;try{for(var E=oe(x._documentIds),b=E.next();!b.done;b=E.next()){var k=Ie(b.value,2),C=k[0],S=k[1];x._idToShortId.set(S,C)}}catch(B){r={error:B}}finally{try{b&&!b.done&&(o=E.return)&&o.call(E)}finally{if(r)throw r.error}}try{for(var $=oe(u),N=$.next();!N.done;N=$.next()){var O=Ie(N.value,2),M=O[0],L=O[1],P=new Map;try{for(var V=(l=void 0,oe(Object.keys(L))),Q=V.next();!Q.done;Q=V.next()){var U=Q.value,I=L[U];g===1&&(I=I.ds),P.set(parseInt(U,10),ka(I))}}catch(B){l={error:B}}finally{try{Q&&!Q.done&&(s=V.return)&&s.call(V)}finally{if(l)throw l.error}}x._index.set(M,P)}}catch(B){i={error:B}}finally{try{N&&!N.done&&(a=$.return)&&a.call($)}finally{if(i)throw i.error}}return x},e.prototype.executeQuery=function(t,n){var r=this;if(n===void 0&&(n={}),t===e.wildcard)return this.executeWildcardQuery(n);if(typeof t!="string"){var o=he(he(he({},n),t),{queries:void 0}),i=t.queries.map(function(_){return r.executeQuery(_,o)});return this.combineResults(i,o.combineWith)}var a=this._options,l=a.tokenize,s=a.processTerm,u=a.searchOptions,d=he(he({tokenize:l,processTerm:s},u),n),c=d.tokenize,f=d.processTerm,p=c(t).flatMap(function(_){return f(_)}).filter(function(_){return!!_}),y=p.map(s4(d)),v=y.map(function(_){return r.executeQuerySpec(_,d)});return this.combineResults(v,d.combineWith)},e.prototype.executeQuerySpec=function(t,n){var r,o,i,a,l=he(he({},this._options.searchOptions),n),s=(l.fields||this._options.fields).reduce(function(U,I){var B;return he(he({},U),(B={},B[I]=Ys(l.boost,I)||1,B))},{}),u=l.boostDocument,d=l.weights,c=l.maxFuzzy,f=l.bm25,p=he(he({},Eh.weights),d),y=p.fuzzy,v=p.prefix,_=this._index.get(t.term),m=this.termResults(t.term,t.term,1,_,s,u,f),g,x;if(t.prefix&&(g=this._index.atPrefix(t.term)),t.fuzzy){var E=t.fuzzy===!0?.2:t.fuzzy,b=E<1?Math.min(c,Math.round(t.term.length*E)):E;b&&(x=this._index.fuzzyGet(t.term,b))}if(g)try{for(var k=oe(g),C=k.next();!C.done;C=k.next()){var S=Ie(C.value,2),$=S[0],N=S[1],O=$.length-t.term.length;if(O){x==null||x.delete($);var M=v*$.length/($.length+.3*O);this.termResults(t.term,$,M,N,s,u,f,m)}}}catch(U){r={error:U}}finally{try{C&&!C.done&&(o=k.return)&&o.call(k)}finally{if(r)throw r.error}}if(x)try{for(var L=oe(x.keys()),P=L.next();!P.done;P=L.next()){var $=P.value,V=Ie(x.get($),2),Q=V[0],O=V[1];if(O){var M=y*$.length/($.length+O);this.termResults(t.term,$,M,Q,s,u,f,m)}}}catch(U){i={error:U}}finally{try{P&&!P.done&&(a=L.return)&&a.call(L)}finally{if(i)throw i.error}}return m},e.prototype.executeWildcardQuery=function(t){var n,r,o=new Map,i=he(he({},this._options.searchOptions),t);try{for(var a=oe(this._documentIds),l=a.next();!l.done;l=a.next()){var s=Ie(l.value,2),u=s[0],d=s[1],c=i.boostDocument?i.boostDocument(d,"",this._storedFields.get(u)):1;o.set(u,{score:c,terms:[],match:{}})}}catch(f){n={error:f}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return o},e.prototype.combineResults=function(t,n){if(n===void 0&&(n=Xd),t.length===0)return new Map;var r=n.toLowerCase();return t.reduce(i4[r])||new Map},e.prototype.toJSON=function(){var t,n,r,o,i=[];try{for(var a=oe(this._index),l=a.next();!l.done;l=a.next()){var s=Ie(l.value,2),u=s[0],d=s[1],c={};try{for(var f=(r=void 0,oe(d)),p=f.next();!p.done;p=f.next()){var y=Ie(p.value,2),v=y[0],_=y[1];c[v]=Object.fromEntries(_)}}catch(m){r={error:m}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}i.push([u,c])}}catch(m){t={error:m}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:i,serializationVersion:2}},e.prototype.termResults=function(t,n,r,o,i,a,l,s){var u,d,c,f,p;if(s===void 0&&(s=new Map),o==null)return s;try{for(var y=oe(Object.keys(i)),v=y.next();!v.done;v=y.next()){var _=v.value,m=i[_],g=this._fieldIds[_],x=o.get(g);if(x!=null){var E=x.size,b=this._avgFieldLength[g];try{for(var k=(c=void 0,oe(x.keys())),C=k.next();!C.done;C=k.next()){var S=C.value;if(!this._documentIds.has(S)){this.removeTerm(g,S,n),E-=1;continue}var $=a?a(this._documentIds.get(S),n,this._storedFields.get(S)):1;if($){var N=x.get(S),O=this._fieldLength.get(S)[g],M=l4(N,E,this._documentCount,O,b,l),L=r*m*$*M,P=s.get(S);if(P){P.score+=L,u4(P.terms,t);var V=Ys(P.match,n);V?V.push(_):P.match[n]=[_]}else s.set(S,{score:L,terms:[t],match:(p={},p[n]=[_],p)})}}}catch(Q){c={error:Q}}finally{try{C&&!C.done&&(f=k.return)&&f.call(k)}finally{if(c)throw c.error}}}}}catch(Q){u={error:Q}}finally{try{v&&!v.done&&(d=y.return)&&d.call(y)}finally{if(u)throw u.error}}return s},e.prototype.addTerm=function(t,n,r){var o=this._index.fetch(r,Sh),i=o.get(t);if(i==null)i=new Map,i.set(n,1),o.set(t,i);else{var a=i.get(n);i.set(n,(a||0)+1)}},e.prototype.removeTerm=function(t,n,r){if(!this._index.has(r)){this.warnDocumentChanged(n,t,r);return}var o=this._index.fetch(r,Sh),i=o.get(t);i==null||i.get(n)==null?this.warnDocumentChanged(n,t,r):i.get(n)<=1?i.size<=1?o.delete(t):i.delete(n):i.set(n,i.get(n)-1),this._index.get(r).size===0&&this._index.delete(r)},e.prototype.warnDocumentChanged=function(t,n,r){var o,i;try{for(var a=oe(Object.keys(this._fieldIds)),l=a.next();!l.done;l=a.next()){var s=l.value;if(this._fieldIds[s]===n){this._options.logger("warn","MiniSearch: document with ID ".concat(this._documentIds.get(t),' has changed before removal: term "').concat(r,'" was not present in field "').concat(s,'". Removing a document after it has changed can corrupt the index!'),"version_conflict");return}}}catch(u){o={error:u}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}},e.prototype.addDocumentId=function(t){var n=this._nextId;return this._idToShortId.set(t,n),this._documentIds.set(n,t),this._documentCount+=1,this._nextId+=1,n},e.prototype.addFields=function(t){for(var n=0;nJSON.stringify(await(await fetch("/.vocs/search-index-8e93f437.json")).json());let Xs;function A1(){const[e,t]=h.useState();return h.useEffect(()=>{(async()=>{Xs||(Xs=f4());const n=await Xs,r=o4.loadJSON(n,{fields:["title","titles","text"],searchOptions:{boost:{title:4,text:2,titles:1},fuzzy:.2,prefix:!0},storeFields:["href","html","isPage","text","title","titles"]});t(r)})()},[]),h.useEffect(()=>{},[]),e}var p4="vocs_DesktopSearch_search",h4="vocs_DesktopSearch_searchCommand";const v4=h.forwardRef((e,t)=>h.createElement(fe.label,Y({},e,{ref:t,onMouseDown:n=>{var r;(r=e.onMouseDown)===null||r===void 0||r.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault()}}))),m4=v4;var I1={exports:{}};/*!*************************************************** * mark.js v8.11.1 * https://markjs.io/ * Copyright (c) 2014–2018, Julian Kühnel * Released under the MIT license https://git.io/vwTVl -*****************************************************/(function(e,t){(function(n,r){e.exports=r()})(ky,function(){var n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},r=function(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")},o=function(){function u(d,c){for(var f=0;f1&&arguments[1]!==void 0?arguments[1]:!0,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:5e3;r(this,u),this.ctx=d,this.iframes=c,this.exclude=f,this.iframesTimeout=p}return o(u,[{key:"getContexts",value:function(){var c=void 0,f=[];return typeof this.ctx>"u"||!this.ctx?c=[]:NodeList.prototype.isPrototypeOf(this.ctx)?c=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?c=this.ctx:typeof this.ctx=="string"?c=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):c=[this.ctx],c.forEach(function(p){var y=f.filter(function(v){return v.contains(p)}).length>0;f.indexOf(p)===-1&&!y&&f.push(p)}),f}},{key:"getIframeContents",value:function(c,f){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},y=void 0;try{var v=c.contentWindow;if(y=v.document,!v||!y)throw new Error("iframe inaccessible")}catch{p()}y&&f(y)}},{key:"isIframeBlank",value:function(c){var f="about:blank",p=c.getAttribute("src").trim(),y=c.contentWindow.location.href;return y===f&&p!==f&&p}},{key:"observeIframeLoad",value:function(c,f,p){var y=this,v=!1,_=null,m=function g(){if(!v){v=!0,clearTimeout(_);try{y.isIframeBlank(c)||(c.removeEventListener("load",g),y.getIframeContents(c,f,p))}catch{p()}}};c.addEventListener("load",m),_=setTimeout(m,this.iframesTimeout)}},{key:"onIframeReady",value:function(c,f,p){try{c.contentWindow.document.readyState==="complete"?this.isIframeBlank(c)?this.observeIframeLoad(c,f,p):this.getIframeContents(c,f,p):this.observeIframeLoad(c,f,p)}catch{p()}}},{key:"waitForIframes",value:function(c,f){var p=this,y=0;this.forEachIframe(c,function(){return!0},function(v){y++,p.waitForIframes(v.querySelector("html"),function(){--y||f()})},function(v){v||f()})}},{key:"forEachIframe",value:function(c,f,p){var y=this,v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){},_=c.querySelectorAll("iframe"),m=_.length,g=0;_=Array.prototype.slice.call(_);var x=function(){--m<=0&&v(g)};m||x(),_.forEach(function(E){u.matches(E,y.exclude)?x():y.onIframeReady(E,function(b){f(E)&&(g++,p(b)),x()},x)})}},{key:"createIterator",value:function(c,f,p){return document.createNodeIterator(c,f,p,!1)}},{key:"createInstanceOnIframe",value:function(c){return new u(c.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(c,f,p){var y=c.compareDocumentPosition(p),v=Node.DOCUMENT_POSITION_PRECEDING;if(y&v)if(f!==null){var _=f.compareDocumentPosition(p),m=Node.DOCUMENT_POSITION_FOLLOWING;if(_&m)return!0}else return!0;return!1}},{key:"getIteratorNode",value:function(c){var f=c.previousNode(),p=void 0;return f===null?p=c.nextNode():p=c.nextNode()&&c.nextNode(),{prevNode:f,node:p}}},{key:"checkIframeFilter",value:function(c,f,p,y){var v=!1,_=!1;return y.forEach(function(m,g){m.val===p&&(v=g,_=m.handled)}),this.compareNodeIframe(c,f,p)?(v===!1&&!_?y.push({val:p,handled:!0}):v!==!1&&!_&&(y[v].handled=!0),!0):(v===!1&&y.push({val:p,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(c,f,p,y){var v=this;c.forEach(function(_){_.handled||v.getIframeContents(_.val,function(m){v.createInstanceOnIframe(m).forEachNode(f,p,y)})})}},{key:"iterateThroughNodes",value:function(c,f,p,y,v){for(var _=this,m=this.createIterator(f,c,y),g=[],x=[],E=void 0,b=void 0,k=function(){var S=_.getIteratorNode(m);return b=S.prevNode,E=S.node,E};k();)this.iframes&&this.forEachIframe(f,function(C){return _.checkIframeFilter(E,b,C,g)},function(C){_.createInstanceOnIframe(C).forEachNode(c,function(S){return x.push(S)},y)}),x.push(E);x.forEach(function(C){p(C)}),this.iframes&&this.handleOpenIframes(g,c,p,y),v()}},{key:"forEachNode",value:function(c,f,p){var y=this,v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){},_=this.getContexts(),m=_.length;m||v(),_.forEach(function(g){var x=function(){y.iterateThroughNodes(c,g,f,p,function(){--m<=0&&v()})};y.iframes?y.waitForIframes(g,x):x()})}}],[{key:"matches",value:function(c,f){var p=typeof f=="string"?[f]:f,y=c.matches||c.matchesSelector||c.msMatchesSelector||c.mozMatchesSelector||c.oMatchesSelector||c.webkitMatchesSelector;if(y){var v=!1;return p.every(function(_){return y.call(c,_)?(v=!0,!1):!0}),v}else return!1}}]),u}(),l=function(){function u(d){r(this,u),this.ctx=d,this.ie=!1;var c=window.navigator.userAgent;(c.indexOf("MSIE")>-1||c.indexOf("Trident")>-1)&&(this.ie=!0)}return o(u,[{key:"log",value:function(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"debug",p=this.opt.log;this.opt.debug&&(typeof p>"u"?"undefined":n(p))==="object"&&typeof p[f]=="function"&&p[f]("mark.js: "+c)}},{key:"escapeStr",value:function(c){return c.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(c){return this.opt.wildcards!=="disabled"&&(c=this.setupWildcardsRegExp(c)),c=this.escapeStr(c),Object.keys(this.opt.synonyms).length&&(c=this.createSynonymsRegExp(c)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(c=this.setupIgnoreJoinersRegExp(c)),this.opt.diacritics&&(c=this.createDiacriticsRegExp(c)),c=this.createMergedBlanksRegExp(c),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(c=this.createJoinersRegExp(c)),this.opt.wildcards!=="disabled"&&(c=this.createWildcardsRegExp(c)),c=this.createAccuracyRegExp(c),c}},{key:"createSynonymsRegExp",value:function(c){var f=this.opt.synonyms,p=this.opt.caseSensitive?"":"i",y=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var v in f)if(f.hasOwnProperty(v)){var _=f[v],m=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(v):this.escapeStr(v),g=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(_):this.escapeStr(_);m!==""&&g!==""&&(c=c.replace(new RegExp("("+this.escapeStr(m)+"|"+this.escapeStr(g)+")","gm"+p),y+("("+this.processSynomyms(m)+"|")+(this.processSynomyms(g)+")")+y))}return c}},{key:"processSynomyms",value:function(c){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(c=this.setupIgnoreJoinersRegExp(c)),c}},{key:"setupWildcardsRegExp",value:function(c){return c=c.replace(/(?:\\)*\?/g,function(f){return f.charAt(0)==="\\"?"?":""}),c.replace(/(?:\\)*\*/g,function(f){return f.charAt(0)==="\\"?"*":""})}},{key:"createWildcardsRegExp",value:function(c){var f=this.opt.wildcards==="withSpaces";return c.replace(/\u0001/g,f?"[\\S\\s]?":"\\S?").replace(/\u0002/g,f?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(c){return c.replace(/[^(|)\\]/g,function(f,p,y){var v=y.charAt(p+1);return/[(|)\\]/.test(v)||v===""?f:f+"\0"})}},{key:"createJoinersRegExp",value:function(c){var f=[],p=this.opt.ignorePunctuation;return Array.isArray(p)&&p.length&&f.push(this.escapeStr(p.join(""))),this.opt.ignoreJoiners&&f.push("\\u00ad\\u200b\\u200c\\u200d"),f.length?c.split(/\u0000+/).join("["+f.join("")+"]*"):c}},{key:"createDiacriticsRegExp",value:function(c){var f=this.opt.caseSensitive?"":"i",p=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"],y=[];return c.split("").forEach(function(v){p.every(function(_){if(_.indexOf(v)!==-1){if(y.indexOf(_)>-1)return!1;c=c.replace(new RegExp("["+_+"]","gm"+f),"["+_+"]"),y.push(_)}return!0})}),c}},{key:"createMergedBlanksRegExp",value:function(c){return c.replace(/[\s]+/gmi,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(c){var f=this,p="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿",y=this.opt.accuracy,v=typeof y=="string"?y:y.value,_=typeof y=="string"?[]:y.limiters,m="";switch(_.forEach(function(g){m+="|"+f.escapeStr(g)}),v){case"partially":default:return"()("+c+")";case"complementary":return m="\\s"+(m||this.escapeStr(p)),"()([^"+m+"]*"+c+"[^"+m+"]*)";case"exactly":return"(^|\\s"+m+")("+c+")(?=$|\\s"+m+")"}}},{key:"getSeparatedKeywords",value:function(c){var f=this,p=[];return c.forEach(function(y){f.opt.separateWordSearch?y.split(" ").forEach(function(v){v.trim()&&p.indexOf(v)===-1&&p.push(v)}):y.trim()&&p.indexOf(y)===-1&&p.push(y)}),{keywords:p.sort(function(y,v){return v.length-y.length}),length:p.length}}},{key:"isNumeric",value:function(c){return Number(parseFloat(c))==c}},{key:"checkRanges",value:function(c){var f=this;if(!Array.isArray(c)||Object.prototype.toString.call(c[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(c),[];var p=[],y=0;return c.sort(function(v,_){return v.start-_.start}).forEach(function(v){var _=f.callNoMatchOnInvalidRanges(v,y),m=_.start,g=_.end,x=_.valid;x&&(v.start=m,v.length=g-m,p.push(v),y=g)}),p}},{key:"callNoMatchOnInvalidRanges",value:function(c,f){var p=void 0,y=void 0,v=!1;return c&&typeof c.start<"u"?(p=parseInt(c.start,10),y=p+parseInt(c.length,10),this.isNumeric(c.start)&&this.isNumeric(c.length)&&y-f>0&&y-p>0?v=!0:(this.log("Ignoring invalid or overlapping range: "+(""+JSON.stringify(c))),this.opt.noMatch(c))):(this.log("Ignoring invalid range: "+JSON.stringify(c)),this.opt.noMatch(c)),{start:p,end:y,valid:v}}},{key:"checkWhitespaceRanges",value:function(c,f,p){var y=void 0,v=!0,_=p.length,m=f-_,g=parseInt(c.start,10)-m;return g=g>_?_:g,y=g+parseInt(c.length,10),y>_&&(y=_,this.log("End range automatically set to the max value of "+_)),g<0||y-g<0||g>_||y>_?(v=!1,this.log("Invalid range: "+JSON.stringify(c)),this.opt.noMatch(c)):p.substring(g,y).replace(/\s+/g,"")===""&&(v=!1,this.log("Skipping whitespace only range: "+JSON.stringify(c)),this.opt.noMatch(c)),{start:g,end:y,valid:v}}},{key:"getTextNodes",value:function(c){var f=this,p="",y=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,function(v){y.push({start:p.length,end:(p+=v.textContent).length,node:v})},function(v){return f.matchesExclude(v.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},function(){c({value:p,nodes:y})})}},{key:"matchesExclude",value:function(c){return a.matches(c,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(c,f,p){var y=this.opt.element?this.opt.element:"mark",v=c.splitText(f),_=v.splitText(p-f),m=document.createElement(y);return m.setAttribute("data-markjs","true"),this.opt.className&&m.setAttribute("class",this.opt.className),m.textContent=v.textContent,v.parentNode.replaceChild(m,v),_}},{key:"wrapRangeInMappedTextNode",value:function(c,f,p,y,v){var _=this;c.nodes.every(function(m,g){var x=c.nodes[g+1];if(typeof x>"u"||x.start>f){if(!y(m.node))return!1;var E=f-m.start,b=(p>m.end?m.end:p)-m.start,k=c.value.substr(0,m.start),C=c.value.substr(b+m.start);if(m.node=_.wrapRangeInTextNode(m.node,E,b),c.value=k+C,c.nodes.forEach(function(S,$){$>=g&&(c.nodes[$].start>0&&$!==g&&(c.nodes[$].start-=b),c.nodes[$].end-=b)}),p-=b,v(m.node.previousSibling,m.start),p>m.end)f=m.end;else return!1}return!0})}},{key:"wrapMatches",value:function(c,f,p,y,v){var _=this,m=f===0?0:f+1;this.getTextNodes(function(g){g.nodes.forEach(function(x){x=x.node;for(var E=void 0;(E=c.exec(x.textContent))!==null&&E[m]!=="";)if(p(E[m],x)){var b=E.index;if(m!==0)for(var k=1;k{const o=setTimeout(()=>r(e),t);return()=>{clearTimeout(o)}},[e,t]),n}function mu(e,t){const[n,r]=h.useState();h.useEffect(()=>{const i=w6(e);r(typeof i>"u"||i===null?typeof t=="function"?t():t:i)},[t,e]);const o=h.useCallback(i=>{r(a=>{let l;typeof i=="function"?l=i(a):l=i;try{localStorage.setItem(e,JSON.stringify(l))}catch{}return l})},[e]);return[n,o]}function w6(e){try{const t=localStorage.getItem(e);return typeof t=="string"?JSON.parse(t):void 0}catch{return}}var _6="vocs_Kbd";function Lg(e){return w.jsx("kbd",{...e,className:D(e.className,_6)})}var E6="vocs_KeyboardShortcut_kbdGroup",C6="vocs_KeyboardShortcut";function ro(e){const{description:t,keys:n}=e;return w.jsxs("span",{className:C6,children:[t,w.jsx("span",{className:E6,children:n.map(r=>w.jsx(Lg,{children:r},r))})]})}var b6="vocs_SearchDialog_content",kh="vocs_SearchDialog_excerpt",S6="vocs_SearchDialog_overlay",k6="vocs_SearchDialog_result",Th="vocs_SearchDialog_resultIcon",T6="vocs_SearchDialog_resultSelected",$6="vocs_SearchDialog_results",P6="vocs_SearchDialog",R6="vocs_SearchDialog_searchBox",N6="vocs_SearchDialog_searchInput",Ta="vocs_SearchDialog_searchInputIcon",A6="vocs_SearchDialog_searchInputIconDesktop",I6="vocs_SearchDialog_searchInputIconMobile",L6="vocs_SearchDialog_searchShortcuts",$h="vocs_SearchDialog_title",O6="vocs_SearchDialog_titleIcon",D6="vocs_SearchDialog_titles";function Og(e){const{search:t}=Ke(),n=Bd(),r=h.useRef(null),o=h.useRef(null),[i,a]=mu("filterText",""),l=x6(i,200),s=Ag(),[u,d]=h.useState(-1),[c,f]=h.useState(!1),[p,y]=mu("showDetailView",!0),v=h.useMemo(()=>s?l?(d(0),s.search(l,t).slice(0,16)):(d(-1),[]):[],[s,t,l]),_=v.length,m=v[u],g=h.useCallback(()=>{var k,C,S;if(!o.current)return;const x=new Set;for(const $ of v)for(const N in $.match)x.add(N);const E=new y6(o.current);E.unmark({done(){E==null||E.markRegExp(M6(x))}});const b=o.current.querySelectorAll(`.${kh}`);for(const $ of b)(k=$.querySelector('mark[data-markjs="true"]'))==null||k.scrollIntoView({block:"center"});(S=(C=o.current)==null?void 0:C.firstElementChild)==null||S.scrollIntoView({block:"start"})},[v]);return h.useEffect(()=>{if(!e.open)return;function x(E){var b;switch(E.key){case"ArrowDown":{E.preventDefault(),d(k=>{var $;let C=k+1;C>=_&&(C=0);const S=($=o.current)==null?void 0:$.children[C];return S==null||S.scrollIntoView({block:"nearest"}),C}),f(!0);break}case"ArrowUp":{E.preventDefault(),d(k=>{var $;let C=k-1;C<0&&(C=_-1);const S=($=o.current)==null?void 0:$.children[C];return S==null||S.scrollIntoView({block:"nearest"}),C}),f(!0);break}case"Backspace":{if(!E.metaKey)return;E.preventDefault(),a(""),(b=r.current)==null||b.focus();break}case"Enter":{if(E.target instanceof HTMLButtonElement&&E.target.type!=="submit"||!m)return;E.preventDefault(),n(m.href),e.onClose();break}}}return window.addEventListener("keydown",x),()=>{window.removeEventListener("keydown",x)}},[n,_,a,m,e.open,e.onClose]),h.useEffect(()=>{l!==""&&o.current&&g()},[g,l]),w.jsxs(Y7,{children:[w.jsx(Q7,{className:S6}),w.jsxs(Z7,{onOpenAutoFocus:x=>{r.current&&(x.preventDefault(),r.current.focus()),g()},onCloseAutoFocus:()=>{d(0)},className:P6,"aria-describedby":void 0,children:[w.jsx(X7,{className:rg,children:"Search"}),w.jsxs("form",{className:R6,children:[w.jsx("button",{"aria-label":"Close search dialog",type:"button",onClick:()=>e.onClose(),className:I6,children:w.jsx(d5,{className:Ta,height:20,width:20})}),w.jsx(m6,{htmlFor:"search-input",children:w.jsx(Kd,{"aria-label":"Search",className:D(Ta,A6),height:20,width:20})}),w.jsx("input",{ref:r,tabIndex:0,className:N6,id:"search-input",onChange:x=>a(x.target.value),placeholder:"Search",type:"search",value:i}),w.jsx("button",{"aria-label":"Toggle detail view",type:"button",onClick:()=>y(x=>!x),children:w.jsx(x5,{className:Ta,height:20,width:20})}),w.jsx("button",{"aria-label":"Reset search",type:"button",className:Ta,onClick:()=>{var x;a(""),(x=r.current)==null||x.focus()},children:"⌫"})]}),w.jsxs("ul",{className:$6,role:v.length?"listbox":void 0,onMouseMove:()=>f(!1),ref:o,children:[l&&v.length===0&&w.jsxs("li",{children:['No results for "',w.jsx("span",{children:l}),'"']}),v.map((x,E)=>{var b;return w.jsx("li",{role:"option",className:D(k6,E===u&&T6),"aria-selected":E===u,"aria-label":[...x.titles.filter(k=>!!k),x.title].join(" > "),children:w.jsxs(Gl,{to:x.href,onClick:k=>{k.metaKey||e.onClose()},onMouseEnter:()=>!c&&d(E),onFocus:()=>d(E),children:[w.jsxs("div",{className:D6,children:[x.isPage?w.jsx(g5,{className:Th}):w.jsx("span",{className:Th,children:"#"}),x.titles.filter(k=>!!k).map(k=>w.jsxs("span",{className:$h,children:[w.jsx("span",{dangerouslySetInnerHTML:{__html:k}}),w.jsx(p5,{className:O6})]},k)),w.jsx("span",{className:$h,children:w.jsx("span",{dangerouslySetInnerHTML:{__html:x.title}})})]}),p&&((b=x.text)==null?void 0:b.trim())&&w.jsx("div",{className:kh,children:w.jsx(eg,{className:b6,children:w.jsx("div",{dangerouslySetInnerHTML:{__html:x.html}})})})]})},x.id)})]}),w.jsxs("div",{className:L6,children:[w.jsx(ro,{description:"Navigate",keys:["↑","↓"]}),w.jsx(ro,{description:"Select",keys:["enter"]}),w.jsx(ro,{description:"Close",keys:["esc"]}),w.jsx(ro,{description:"Reset",keys:["⌘","⌫"]})]})]})]})}function M6(e){return new RegExp([...e].sort((t,n)=>n.length-t.length).map(t=>`(${t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")})`).join("|"),"gi")}function j6(){Ag();const[e,t]=h.useState(!1);return h.useEffect(()=>{function n(r){const o=document.activeElement instanceof HTMLElement&&(["input","select","textarea"].includes(document.activeElement.tagName.toLowerCase())||document.activeElement.isContentEditable);r.key==="/"&&!e&&!o?(r.preventDefault(),t(!0)):r.metaKey===!0&&r.key==="k"&&(r.preventDefault(),t(i=>!i))}return window.addEventListener("keydown",n),()=>{window.removeEventListener("keydown",n)}},[e]),w.jsxs(bg,{open:e,onOpenChange:t,children:[w.jsx(Sg,{asChild:!0,children:w.jsxs("button",{className:p6,type:"button",children:[w.jsx(Kd,{style:{marginTop:2}}),"Search",w.jsx("div",{className:h6,children:w.jsx("div",{style:{background:"currentColor",transform:"rotate(45deg)",width:1.5,borderRadius:2,height:"100%"}})})]})}),w.jsx(Og,{open:e,onClose:()=>t(!1)})]})}var Dg="vocs_DesktopTopNav_button",F6="vocs_DesktopTopNav_content",z6="vocs_DesktopTopNav_curtain",Ph="vocs_DesktopTopNav_divider",Js="vocs_DesktopTopNav_group",$a="vocs_DesktopTopNav_hideCompact",gu="vocs_DesktopTopNav_icon",Cl="vocs_DesktopTopNav_item",U6="vocs_DesktopTopNav_logo",V6="vocs_DesktopTopNav_logoWrapper",B6="vocs_DesktopTopNav",Rh="vocs_DesktopTopNav_section",H6="vocs_DesktopTopNav_withLogo",W6="vocs_Icon",yu="var(--vocs_Icon_size)";function ct({className:e,label:t,icon:n,size:r,style:o}){return w.jsx("div",{"aria-label":t,className:D(W6,e),role:"img",style:{...o,...Gt({[yu]:r})},children:w.jsx(n,{height:r,width:r})})}var K6="vocs_Logo_logoDark",G6="vocs_Logo_logoLight",qs="vocs_Logo";function Y6({className:e}){const{logoUrl:t}=Ke();return t?w.jsx(w.Fragment,{children:typeof t=="string"?w.jsx("img",{alt:"Logo",className:D(e,qs),src:t}):w.jsxs(w.Fragment,{children:[w.jsx("img",{alt:"Logo",className:D(e,qs,K6),src:t.dark}),w.jsx("img",{alt:"Logo",className:D(e,qs,G6),src:t.light})]})}):null}var Q6="vocs_NavLogo_logoImage",Z6="vocs_NavLogo_title";function Jd(){const e=Ke();return e.logoUrl?w.jsx(Y6,{className:Q6}):w.jsx("div",{className:Z6,children:e.title})}const X6=h.createContext(void 0);function Zl(e){const t=h.useContext(X6);return e||t||"ltr"}function Xl(e){const t=e+"CollectionProvider",[n,r]=Cn(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=p=>{const{scope:y,children:v}=p,_=X.useRef(null),m=X.useRef(new Map).current;return X.createElement(o,{scope:y,itemMap:m,collectionRef:_},v)},l=e+"CollectionSlot",s=X.forwardRef((p,y)=>{const{scope:v,children:_}=p,m=i(l,v),g=Ve(y,m.collectionRef);return X.createElement(bo,{ref:g},_)}),u=e+"CollectionItemSlot",d="data-radix-collection-item",c=X.forwardRef((p,y)=>{const{scope:v,children:_,...m}=p,g=X.useRef(null),x=Ve(y,g),E=i(u,v);return X.useEffect(()=>(E.itemMap.set(g,{ref:g,...m}),()=>void E.itemMap.delete(g))),X.createElement(bo,{[d]:"",ref:x},_)});function f(p){const y=i(e+"CollectionConsumer",p);return X.useCallback(()=>{const _=y.collectionRef.current;if(!_)return[];const m=Array.from(_.querySelectorAll(`[${d}]`));return Array.from(y.itemMap.values()).sort((E,b)=>m.indexOf(E.ref.current)-m.indexOf(b.ref.current))},[y.collectionRef,y.itemMap])}return[{Provider:a,Slot:s,ItemSlot:c},f,r]}function J6(e){const t=h.useRef({value:e,previous:e});return h.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}const q6=h.forwardRef((e,t)=>h.createElement(fe.span,Y({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),e4=q6,Yi="NavigationMenu",[qd,t4,n4]=Xl(Yi),[xu,r4,o4]=Xl(Yi),[ef,mk]=Cn(Yi,[n4,o4]),[i4,Ar]=ef(Yi),[a4,gk]=ef(Yi),l4=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,onValueChange:o,defaultValue:i,delayDuration:a=200,skipDelayDuration:l=300,orientation:s="horizontal",dir:u,...d}=e,[c,f]=h.useState(null),p=Ve(t,$=>f($)),y=Zl(u),v=h.useRef(0),_=h.useRef(0),m=h.useRef(0),[g,x]=h.useState(!0),[E="",b]=or({prop:r,onChange:$=>{const N=$!=="",O=l>0;N?(window.clearTimeout(m.current),O&&x(!1)):(window.clearTimeout(m.current),m.current=window.setTimeout(()=>x(!0),l)),o==null||o($)},defaultProp:i}),k=h.useCallback(()=>{window.clearTimeout(_.current),_.current=window.setTimeout(()=>b(""),150)},[b]),C=h.useCallback($=>{window.clearTimeout(_.current),b($)},[b]),S=h.useCallback($=>{E===$?window.clearTimeout(_.current):v.current=window.setTimeout(()=>{window.clearTimeout(_.current),b($)},a)},[E,b,a]);return h.useEffect(()=>()=>{window.clearTimeout(v.current),window.clearTimeout(_.current),window.clearTimeout(m.current)},[]),h.createElement(s4,{scope:n,isRootMenu:!0,value:E,dir:y,orientation:s,rootNavigationMenu:c,onTriggerEnter:$=>{window.clearTimeout(v.current),g?S($):C($)},onTriggerLeave:()=>{window.clearTimeout(v.current),k()},onContentEnter:()=>window.clearTimeout(_.current),onContentLeave:k,onItemSelect:$=>{b(N=>N===$?"":$)},onItemDismiss:()=>b("")},h.createElement(fe.nav,Y({"aria-label":"Main","data-orientation":s,dir:y},d,{ref:p})))}),s4=e=>{const{scope:t,isRootMenu:n,rootNavigationMenu:r,dir:o,orientation:i,children:a,value:l,onItemSelect:s,onItemDismiss:u,onTriggerEnter:d,onTriggerLeave:c,onContentEnter:f,onContentLeave:p}=e,[y,v]=h.useState(null),[_,m]=h.useState(new Map),[g,x]=h.useState(null);return h.createElement(i4,{scope:t,isRootMenu:n,rootNavigationMenu:r,value:l,previousValue:J6(l),baseId:an(),dir:o,orientation:i,viewport:y,onViewportChange:v,indicatorTrack:g,onIndicatorTrackChange:x,onTriggerEnter:lt(d),onTriggerLeave:lt(c),onContentEnter:lt(f),onContentLeave:lt(p),onItemSelect:lt(s),onItemDismiss:lt(u),onViewportContentChange:h.useCallback((E,b)=>{m(k=>(k.set(E,b),new Map(k)))},[]),onViewportContentRemove:h.useCallback(E=>{m(b=>b.has(E)?(b.delete(E),new Map(b)):b)},[])},h.createElement(qd.Provider,{scope:t},h.createElement(a4,{scope:t,items:_},a)))},c4="NavigationMenuList",u4=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=Ar(c4,n),i=h.createElement(fe.ul,Y({"data-orientation":o.orientation},r,{ref:t}));return h.createElement(fe.div,{style:{position:"relative"},ref:o.onIndicatorTrackChange},h.createElement(qd.Slot,{scope:n},o.isRootMenu?h.createElement(jg,{asChild:!0},i):i))}),d4="NavigationMenuItem",[f4,Mg]=ef(d4),p4=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,...o}=e,i=an(),a=r||i||"LEGACY_REACT_AUTO_VALUE",l=h.useRef(null),s=h.useRef(null),u=h.useRef(null),d=h.useRef(()=>{}),c=h.useRef(!1),f=h.useCallback((y="start")=>{if(l.current){d.current();const v=wu(l.current);v.length&&tf(y==="start"?v:v.reverse())}},[]),p=h.useCallback(()=>{if(l.current){const y=wu(l.current);y.length&&(d.current=_4(y))}},[]);return h.createElement(f4,{scope:n,value:a,triggerRef:s,contentRef:l,focusProxyRef:u,wasEscapeCloseRef:c,onEntryKeyDown:f,onFocusProxyEnter:f,onRootContentClose:p,onContentFocusOutside:p},h.createElement(fe.li,Y({},o,{ref:t})))}),Nh="NavigationMenuTrigger",h4=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,disabled:r,...o}=e,i=Ar(Nh,e.__scopeNavigationMenu),a=Mg(Nh,e.__scopeNavigationMenu),l=h.useRef(null),s=Ve(l,a.triggerRef,t),u=Ug(i.baseId,a.value),d=Vg(i.baseId,a.value),c=h.useRef(!1),f=h.useRef(!1),p=a.value===i.value;return h.createElement(h.Fragment,null,h.createElement(qd.ItemSlot,{scope:n,value:a.value},h.createElement(Fg,{asChild:!0},h.createElement(fe.button,Y({id:u,disabled:r,"data-disabled":r?"":void 0,"data-state":zg(p),"aria-expanded":p,"aria-controls":d},o,{ref:s,onPointerEnter:se(e.onPointerEnter,()=>{f.current=!1,a.wasEscapeCloseRef.current=!1}),onPointerMove:se(e.onPointerMove,_u(()=>{r||f.current||a.wasEscapeCloseRef.current||c.current||(i.onTriggerEnter(a.value),c.current=!0)})),onPointerLeave:se(e.onPointerLeave,_u(()=>{r||(i.onTriggerLeave(),c.current=!1)})),onClick:se(e.onClick,()=>{i.onItemSelect(a.value),f.current=p}),onKeyDown:se(e.onKeyDown,y=>{const _={horizontal:"ArrowDown",vertical:i.dir==="rtl"?"ArrowLeft":"ArrowRight"}[i.orientation];p&&y.key===_&&(a.onEntryKeyDown(),y.preventDefault())})})))),p&&h.createElement(h.Fragment,null,h.createElement(e4,{"aria-hidden":!0,tabIndex:0,ref:a.focusProxyRef,onFocus:y=>{const v=a.contentRef.current,_=y.relatedTarget,m=_===l.current,g=v==null?void 0:v.contains(_);(m||!g)&&a.onFocusProxyEnter(m?"start":"end")}}),i.viewport&&h.createElement("span",{"aria-owns":d})))}),Ah="navigationMenu.linkSelect",v4=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,active:r,onSelect:o,...i}=e;return h.createElement(Fg,{asChild:!0},h.createElement(fe.a,Y({"data-active":r?"":void 0,"aria-current":r?"page":void 0},i,{ref:t,onClick:se(e.onClick,a=>{const l=a.target,s=new CustomEvent(Ah,{bubbles:!0,cancelable:!0});if(l.addEventListener(Ah,u=>o==null?void 0:o(u),{once:!0}),cu(l,s),!s.defaultPrevented&&!a.metaKey){const u=new CustomEvent(Ka,{bubbles:!0,cancelable:!0});cu(l,u)}},{checkForDefaultPrevented:!1})})))}),bl="NavigationMenuContent",m4=h.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Ar(bl,e.__scopeNavigationMenu),i=Mg(bl,e.__scopeNavigationMenu),a=Ve(i.contentRef,t),l=i.value===o.value,s={value:i.value,triggerRef:i.triggerRef,focusProxyRef:i.focusProxyRef,wasEscapeCloseRef:i.wasEscapeCloseRef,onContentFocusOutside:i.onContentFocusOutside,onRootContentClose:i.onRootContentClose,...r};return o.viewport?h.createElement(g4,Y({forceMount:n},s,{ref:a})):h.createElement(bn,{present:n||l},h.createElement(y4,Y({"data-state":zg(l)},s,{ref:a,onPointerEnter:se(e.onPointerEnter,o.onContentEnter),onPointerLeave:se(e.onPointerLeave,_u(o.onContentLeave)),style:{pointerEvents:!l&&o.isRootMenu?"none":void 0,...s.style}})))}),g4=h.forwardRef((e,t)=>{const n=Ar(bl,e.__scopeNavigationMenu),{onViewportContentChange:r,onViewportContentRemove:o}=n;return xn(()=>{r(e.value,{ref:t,...e})},[e,t,r]),xn(()=>()=>o(e.value),[e.value,o]),null}),Ka="navigationMenu.rootContentDismiss",y4=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,triggerRef:o,focusProxyRef:i,wasEscapeCloseRef:a,onRootContentClose:l,onContentFocusOutside:s,...u}=e,d=Ar(bl,n),c=h.useRef(null),f=Ve(c,t),p=Ug(d.baseId,r),y=Vg(d.baseId,r),v=t4(n),_=h.useRef(null),{onItemDismiss:m}=d;h.useEffect(()=>{const x=c.current;if(d.isRootMenu&&x){const E=()=>{var b;m(),l(),x.contains(document.activeElement)&&((b=o.current)===null||b===void 0||b.focus())};return x.addEventListener(Ka,E),()=>x.removeEventListener(Ka,E)}},[d.isRootMenu,e.value,o,m,l]);const g=h.useMemo(()=>{const E=v().map(N=>N.value);d.dir==="rtl"&&E.reverse();const b=E.indexOf(d.value),k=E.indexOf(d.previousValue),C=r===d.value,S=k===E.indexOf(r);if(!C&&!S)return _.current;const $=(()=>{if(b!==k){if(C&&k!==-1)return b>k?"from-end":"from-start";if(S&&b!==-1)return b>k?"to-start":"to-end"}return null})();return _.current=$,$},[d.previousValue,d.value,d.dir,v,r]);return h.createElement(jg,{asChild:!0},h.createElement(Gd,Y({id:y,"aria-labelledby":p,"data-motion":g,"data-orientation":d.orientation},u,{ref:f,onDismiss:()=>{var x;const E=new Event(Ka,{bubbles:!0,cancelable:!0});(x=c.current)===null||x===void 0||x.dispatchEvent(E)},onFocusOutside:se(e.onFocusOutside,x=>{var E;s();const b=x.target;(E=d.rootNavigationMenu)!==null&&E!==void 0&&E.contains(b)&&x.preventDefault()}),onPointerDownOutside:se(e.onPointerDownOutside,x=>{var E;const b=x.target,k=v().some(S=>{var $;return($=S.ref.current)===null||$===void 0?void 0:$.contains(b)}),C=d.isRootMenu&&((E=d.viewport)===null||E===void 0?void 0:E.contains(b));(k||C||!d.isRootMenu)&&x.preventDefault()}),onKeyDown:se(e.onKeyDown,x=>{const E=x.altKey||x.ctrlKey||x.metaKey;if(x.key==="Tab"&&!E){const C=wu(x.currentTarget),S=document.activeElement,$=C.findIndex(M=>M===S),O=x.shiftKey?C.slice(0,$).reverse():C.slice($+1,C.length);if(tf(O))x.preventDefault();else{var k;(k=i.current)===null||k===void 0||k.focus()}}}),onEscapeKeyDown:se(e.onEscapeKeyDown,x=>{a.current=!0})})))}),x4="FocusGroup",jg=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=Ar(x4,n);return h.createElement(xu.Provider,{scope:n},h.createElement(xu.Slot,{scope:n},h.createElement(fe.div,Y({dir:o.dir},r,{ref:t}))))}),Ih=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],w4="FocusGroupItem",Fg=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=r4(n),i=Ar(w4,n);return h.createElement(xu.ItemSlot,{scope:n},h.createElement(fe.button,Y({},r,{ref:t,onKeyDown:se(e.onKeyDown,a=>{if(["Home","End",...Ih].includes(a.key)){let s=o().map(c=>c.ref.current);if([i.dir==="rtl"?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(a.key)&&s.reverse(),Ih.includes(a.key)){const c=s.indexOf(a.currentTarget);s=s.slice(c+1)}setTimeout(()=>tf(s)),a.preventDefault()}})})))});function wu(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function tf(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}function _4(e){return e.forEach(t=>{t.dataset.tabindex=t.getAttribute("tabindex")||"",t.setAttribute("tabindex","-1")}),()=>{e.forEach(t=>{const n=t.dataset.tabindex;t.setAttribute("tabindex",n)})}}function zg(e){return e?"open":"closed"}function Ug(e,t){return`${e}-trigger-${t}`}function Vg(e,t){return`${e}-content-${t}`}function _u(e){return t=>t.pointerType==="mouse"?e(t):void 0}const E4=l4,C4=u4,b4=p4,S4=h4,k4=v4,T4=m4;var $4="var(--vocs_NavigationMenu_chevronDownIcon)",P4="vocs_NavigationMenu_content",R4="vocs_NavigationMenu_item",N4="vocs_NavigationMenu_link",A4="vocs_NavigationMenu_list",I4="vocs_NavigationMenu",L4="vocs_NavigationMenu_trigger vocs_NavigationMenu_link";const Bg=e=>w.jsx(E4,{...e,className:D(e.className,I4)}),Hg=e=>w.jsx(C4,{...e,className:D(e.className,A4)}),Jl=({active:e,children:t,className:n,href:r})=>w.jsx(k4,{asChild:!0,children:w.jsx(on,{"data-active":e,className:D(n,N4),href:r,variant:"styleless",children:t})}),Wg=e=>w.jsx(b4,{...e,className:D(e.className,R4)}),Kg=({active:e,className:t,...n})=>{const{basePath:r}=Ke(),o=r;return w.jsx(S4,{...n,"data-active":e,className:D(t,L4),style:Gt({[$4]:`url(${o}/.vocs/icons/chevron-down.svg)`})})},Gg=e=>w.jsx(T4,{...e,className:D(e.className,P4)});function Yg(){return w.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 127.14 96.36",children:[w.jsx("title",{children:"Discord"}),w.jsx("g",{id:"图层_2","data-name":"图层 2",children:w.jsx("g",{id:"Discord_Logos","data-name":"Discord Logos",children:w.jsx("g",{id:"Discord_Logo_-_Large_-_White","data-name":"Discord Logo - Large - White",children:w.jsx("path",{d:"M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z",fill:"currentColor"})})})})]})}function Qg(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 98 96",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"GitHub"}),w.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z",fill:"currentColor"})]})}function O4(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 78 82",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Moon"}),w.jsx("path",{d:"M62.8455 45.9668C63.6268 45.9668 64.2127 45.3809 64.3104 44.5508C65.4334 34.3457 66.0682 33.9551 76.4197 32.3438C77.3963 32.1973 77.9334 31.7578 77.9334 30.8789C77.9334 30.0977 77.3963 29.5605 76.6151 29.4629C66.1658 27.4609 65.4334 27.4609 64.3104 17.2559C64.2127 16.377 63.6268 15.8398 62.8455 15.8398C62.0154 15.8398 61.4783 16.377 61.3807 17.207C60.1111 27.6074 59.6229 28.0957 49.0272 29.4629C48.2947 29.5117 47.7088 30.0977 47.7088 30.8789C47.7088 31.709 48.2947 32.1973 49.0272 32.3438C59.6229 34.3457 60.0623 34.4434 61.3807 44.6484C61.4783 45.3809 62.0154 45.9668 62.8455 45.9668ZM44.535 19.5508C45.0233 19.5508 45.3162 19.2578 45.4139 18.7695C46.6834 12.4707 46.5369 12.373 53.1287 11.0547C53.5682 10.957 53.91 10.7129 53.91 10.1758C53.91 9.63868 53.5682 9.39448 53.1287 9.29688C46.5369 7.97848 46.6834 7.88089 45.4139 1.58199C45.3162 1.09379 45.0233 0.800781 44.535 0.800781C43.9979 0.800781 43.7049 1.09379 43.6072 1.58199C42.3377 7.88089 42.4842 7.97848 35.9412 9.29688C35.4529 9.39448 35.1111 9.63868 35.1111 10.1758C35.1111 10.7129 35.4529 10.957 35.9412 11.0547C42.4842 12.373 42.3865 12.4707 43.6072 18.7695C43.7049 19.2578 43.9979 19.5508 44.535 19.5508Z",fill:"currentColor"}),w.jsx("path",{d:"M34.3298 81.2696C48.49 81.2696 59.9157 74.043 65.0915 61.7872C65.8239 59.9806 65.5798 58.6134 64.7497 57.7833C64.0173 57.0509 62.7478 56.9044 61.3318 57.4903C58.4509 58.6134 54.9353 59.2481 50.6384 59.2481C33.695 59.2481 22.7575 48.6036 22.7575 32.2462C22.7575 27.4122 23.6853 22.6759 24.7595 20.5763C25.5407 18.9161 25.4919 17.5001 24.8083 16.67C24.0271 15.7423 22.6599 15.4005 20.7068 16.1329C8.64624 20.7716 0.345459 33.4181 0.345459 47.8712C0.345459 66.8165 14.5056 81.2696 34.3298 81.2696ZM34.4275 74.5801C18.4607 74.5801 7.03494 62.9591 7.03494 47.3341C7.03494 38.2521 10.9411 30.0489 17.6306 24.629C16.8005 27.0704 16.361 30.6837 16.361 34.1505C16.361 52.8517 29.5446 65.6935 48.8806 65.6935C52.0544 65.6935 54.9841 65.3517 56.4001 64.9122C51.615 70.918 43.4607 74.5801 34.4275 74.5801Z",fill:"currentColor"})]})}function D4(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 84 84",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Sun"}),w.jsx("path",{d:"M41.8675 15.5254C43.9183 15.5254 45.6273 13.7676 45.6273 11.7168V3.80658C45.6273 1.75588 43.9183 0.046875 41.8675 0.046875C39.7679 0.046875 38.0589 1.75588 38.0589 3.80658V11.7168C38.0589 13.7676 39.7679 15.5254 41.8675 15.5254ZM60.3246 23.2402C61.7895 24.7051 64.2309 24.7539 65.7446 23.2402L71.3598 17.6738C72.7758 16.209 72.7758 13.7188 71.3598 12.2539C69.8949 10.7891 67.4535 10.7891 65.9887 12.2539L60.3246 17.918C58.9086 19.3828 58.9086 21.7754 60.3246 23.2402ZM67.9906 41.7461C67.9906 43.7969 69.7485 45.5547 71.7992 45.5547H79.6117C81.7113 45.5547 83.4202 43.7969 83.4202 41.7461C83.4202 39.6953 81.7113 37.9375 79.6117 37.9375H71.7992C69.7485 37.9375 67.9906 39.6953 67.9906 41.7461ZM60.3246 60.3008C58.9086 61.7656 58.9086 64.1582 60.3246 65.623L65.9887 71.2871C67.4535 72.7519 69.8949 72.7031 71.3598 71.2383C72.7758 69.7734 72.7758 67.332 71.3598 65.8672L65.6957 60.3008C64.2309 58.8359 61.7895 58.8359 60.3246 60.3008ZM41.8675 67.9668C39.7679 67.9668 38.0589 69.7246 38.0589 71.7754V79.6855C38.0589 81.7363 39.7679 83.4453 41.8675 83.4453C43.9183 83.4453 45.6273 81.7363 45.6273 79.6855V71.7754C45.6273 69.7246 43.9183 67.9668 41.8675 67.9668ZM23.3617 60.3008C21.8969 58.8359 19.4067 58.8359 17.9418 60.3008L12.3754 65.8184C10.9106 67.2832 10.9106 69.7246 12.3266 71.1894C13.7914 72.6543 16.2328 72.7031 17.6977 71.2383L23.3129 65.623C24.7778 64.1582 24.7778 61.7656 23.3617 60.3008ZM15.6957 41.7461C15.6957 39.6953 13.9867 37.9375 11.8871 37.9375H4.07455C1.97497 37.9375 0.265991 39.6953 0.265991 41.7461C0.265991 43.7969 1.97497 45.5547 4.07455 45.5547H11.8871C13.9867 45.5547 15.6957 43.7969 15.6957 41.7461ZM23.3129 23.2402C24.7778 21.8242 24.7778 19.334 23.3617 17.918L17.7465 12.2539C16.3305 10.8379 13.8403 10.7891 12.4242 12.2539C10.9594 13.7188 10.9594 16.209 12.3754 17.625L17.9418 23.2402C19.4067 24.7051 21.8481 24.7051 23.3129 23.2402Z",fill:"currentColor"}),w.jsx("path",{d:"M41.8675 61.668C52.7073 61.668 61.7405 52.6836 61.7405 41.7461C61.7405 30.8086 52.7073 21.8242 41.8675 21.8242C30.9788 21.8242 21.9456 30.8086 21.9456 41.7461C21.9456 52.6836 30.9788 61.668 41.8675 61.668ZM41.8675 55.0273C34.5921 55.0273 28.5862 48.9727 28.5862 41.7461C28.5862 34.5195 34.5921 28.4648 41.8675 28.4648C49.0941 28.4648 55.0999 34.5195 55.0999 41.7461C55.0999 48.9727 49.0941 55.0273 41.8675 55.0273Z",fill:"currentColor"})]})}function Zg(){return w.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 50 50",children:[w.jsx("title",{children:"Telegram"}),w.jsx("path",{d:"M25 2c12.703 0 23 10.297 23 23S37.703 48 25 48 2 37.703 2 25 12.297 2 25 2zm7.934 32.375c.423-1.298 2.405-14.234 2.65-16.783.074-.772-.17-1.285-.648-1.514-.578-.278-1.434-.139-2.427.219-1.362.491-18.774 7.884-19.78 8.312-.954.405-1.856.847-1.856 1.487 0 .45.267.703 1.003.966.766.273 2.695.858 3.834 1.172 1.097.303 2.346.04 3.046-.395.742-.461 9.305-6.191 9.92-6.693.614-.502 1.104.141.602.644-.502.502-6.38 6.207-7.155 6.997-.941.959-.273 1.953.358 2.351.721.454 5.906 3.932 6.687 4.49.781.558 1.573.811 2.298.811.725 0 1.107-.955 1.468-2.064z",fill:"currentColor"})]})}function Xg(){return w.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Warpcast"}),w.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.92028 31.9901H24.0698C28.4371 31.9901 31.9901 28.4373 31.9901 24.0699V7.92053C31.9901 3.55319 28.4371 0.000137329 24.0698 0.000137329H7.92028C3.55304 0.000137329 0 3.55319 0 7.92053V24.0699C0 28.4373 3.55304 31.9901 7.92028 31.9901ZM19.4134 16.048L20.9908 10.124H25.1383L21.2924 23.2218H17.7062L15.9951 17.1397L14.284 23.2218H10.7055L6.85115 10.124H10.999L12.5915 16.0916L14.1891 10.124H17.8309L19.4134 16.048Z",fill:"currentColor"})]})}function Jg(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"X"}),w.jsx("path",{d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z",fill:"currentColor"})]})}Eu.Curtain=M4;function Eu(){var r,o,i,a,l,s;const e=Ke(),{showLogo:t,showSidebar:n}=Nr();return w.jsxs("div",{className:D(B6,t&&!n&&H6),children:[w.jsx(j6,{}),t&&w.jsx("div",{className:V6,children:w.jsx("div",{className:U6,children:w.jsx(Qn,{to:"/",style:{alignItems:"center",display:"flex",height:"56px",marginTop:"4px"},children:w.jsx(Jd,{})})})}),w.jsx("div",{className:Rh}),w.jsxs("div",{className:Rh,children:[(((r=e.topNav)==null?void 0:r.length)||0)>0&&w.jsxs(w.Fragment,{children:[w.jsx("div",{className:Js,children:w.jsx(j4,{})}),w.jsx("div",{className:D(Ph,(((o=e.topNav)==null?void 0:o.length)||0)>3?$a:null)})]}),e.socials&&((i=e.socials)==null?void 0:i.length)>0&&w.jsxs(w.Fragment,{children:[w.jsx("div",{className:D(Js,(((a=e.topNav)==null?void 0:a.length)||0)>3?$a:null),style:{marginLeft:"-8px",marginRight:"-8px"},children:e.socials.map((u,d)=>w.jsx("div",{className:Cl,children:w.jsx(B4,{...u})},d))}),!((l=e.theme)!=null&&l.colorScheme)&&w.jsx("div",{className:D(Ph,$a)})]}),!((s=e.theme)!=null&&s.colorScheme)&&w.jsx("div",{className:D(Js,$a),style:{marginLeft:"-8px",marginRight:"-8px"},children:w.jsx("div",{className:Cl,children:w.jsx(z4,{})})})]})]})}function M4(){return w.jsx("div",{className:z6})}function j4(){const{topNav:e}=Ke();if(!e)return null;const{pathname:t}=Oe(),n=Gi({pathname:t,items:e});return w.jsx(Bg,{delayDuration:0,children:w.jsx(Hg,{children:e.map((r,o)=>r.link?w.jsx(Jl,{active:n.includes(r.id),className:Cl,href:r.link,children:r.text},o):r.items?w.jsxs(Wg,{className:Cl,children:[w.jsx(Kg,{active:n.includes(r.id),children:r.text}),w.jsx(Gg,{className:F6,children:w.jsx(F4,{items:r.items})})]},o):null)})})}function F4({items:e}){const{pathname:t}=Oe(),n=Gi({pathname:t,items:e});return w.jsx("ul",{children:e==null?void 0:e.map((r,o)=>w.jsx(Jl,{active:n.includes(r.id),href:r.link,children:r.text},o))})}function z4(){const{toggle:e}=S5();return w.jsxs("button",{className:Dg,onClick:e,type:"button",children:[w.jsx(ct,{className:D(gu,k5),size:"20px",label:"Light",icon:D4}),w.jsx(ct,{className:D(gu,T5),size:"20px",label:"Dark",icon:O4,style:{marginTop:"-2px"}})]})}const U4={discord:Yg,github:Qg,telegram:Zg,warpcast:Xg,x:Jg},V4={discord:"23px",github:"20px",telegram:"21px",warpcast:"20px",x:"18px"};function B4({icon:e,label:t,link:n}){return w.jsx("a",{className:Dg,href:n,target:"_blank",rel:"noopener noreferrer",children:w.jsx(ct,{className:gu,label:t,icon:U4[e],size:V4[e]||"20px"})})}const H4=({children:e})=>e,W4=({children:e})=>e;function K4(){const e=Rr(),t=Ke();return h.useMemo(()=>{const{pattern:n="",text:r="Edit page"}=t.editLink??{};let o="";return typeof n=="function"?o="":e.filePath&&(o=n.replace(/:path/g,e.filePath)),{url:o,text:r}},[t.editLink,e.filePath])}function qg(){const[e,t]=h.useState(!1);return h.useEffect(()=>{t(!0)},[]),e}var G4="vocs_Footer_container",Y4="vocs_Footer_editLink",Q4="vocs_Footer_lastUpdated",Z4="vocs_Footer_navigation",Lh="vocs_Footer_navigationIcon",X4="vocs_Footer_navigationIcon_left",J4="vocs_Footer_navigationIcon_right",Oh="vocs_Footer_navigationItem",q4="vocs_Footer_navigationItem_left",e_="vocs_Footer_navigationItem_right",Dh="vocs_Footer_navigationText",Mh="vocs_Footer_navigationTextInner",t_="vocs_Footer";function n_(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 72 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Arrow Left"}),w.jsx("path",{d:"M0.325684 29.7461C0.325684 30.8203 0.813963 31.8457 1.69286 32.6758L26.8882 57.8223C27.7671 58.6524 28.7437 59.043 29.7691 59.043C31.9175 59.043 33.5777 57.4317 33.5777 55.2344C33.5777 54.209 33.2359 53.1836 32.5035 52.5L25.7652 45.5176L9.26126 30.6738L8.38236 32.7734L21.3706 33.7012H67.4644C69.7593 33.7012 71.3706 32.041 71.3706 29.7461C71.3706 27.4512 69.7593 25.791 67.4644 25.791H21.3706L8.38236 26.7188L9.26126 28.8672L25.7652 13.9746L32.5035 6.99221C33.2359 6.30861 33.5777 5.28322 33.5777 4.25782C33.5777 2.06052 31.9175 0.449219 29.7691 0.449219C28.7437 0.449219 27.7671 0.839814 26.8882 1.66991L1.69286 26.8164C0.813963 27.6465 0.325684 28.6719 0.325684 29.7461Z",fill:"currentColor"})]})}function r_(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 72 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Arrow Right"}),w.jsx("path",{d:"M71.3706 29.7461C71.3706 28.6719 70.8824 27.6465 70.0035 26.8164L44.8081 1.66991C43.9292 0.839814 42.9527 0.449219 41.9273 0.449219C39.7789 0.449219 38.1187 2.06052 38.1187 4.25782C38.1187 5.28322 38.4605 6.30861 39.1929 6.99221L45.9312 13.9746L62.4351 28.8672L63.314 26.7188L50.3257 25.791H4.23196C1.93706 25.791 0.325684 27.4512 0.325684 29.7461C0.325684 32.041 1.93706 33.7012 4.23196 33.7012H50.3257L63.314 32.7734L62.4351 30.6738L45.9312 45.5176L39.1929 52.5C38.4605 53.1836 38.1187 54.209 38.1187 55.2344C38.1187 57.4317 39.7789 59.043 41.9273 59.043C42.9527 59.043 43.9292 58.6524 44.8081 57.8223L70.0035 32.6758C70.8824 31.8457 71.3706 30.8203 71.3706 29.7461Z",fill:"currentColor"})]})}function o_(){const{layout:e}=Nr(),t=qg(),n=Rr(),r=h.useMemo(()=>n.lastUpdatedAt?new Date(n.lastUpdatedAt):void 0,[n.lastUpdatedAt]),o=h.useMemo(()=>r==null?void 0:r.toISOString(),[r]);return w.jsxs("footer",{className:t_,children:[e==="docs"&&w.jsxs(w.Fragment,{children:[w.jsxs("div",{className:G4,children:[w.jsx(i_,{}),t&&n.lastUpdatedAt&&w.jsxs("div",{className:Q4,children:["Last updated:"," ",w.jsx("time",{dateTime:o,children:new Intl.DateTimeFormat(void 0,{dateStyle:"short",timeStyle:"short"}).format(r)})]})]}),w.jsx(a_,{})]}),w.jsx(W4,{})]})}function i_(){const e=K4();return e.url?w.jsx("div",{children:w.jsxs(on,{className:Y4,href:e.url,children:[w.jsx(E5,{})," ",e.text]})}):null}function a_(){const e=qg(),t=Yl(),{pathname:n}=Oe(),r=h.useMemo(()=>e1(t.items||[]).filter(s=>s.link),[t]),o=h.useMemo(()=>r.findIndex(s=>s.link===n),[r,n]),[i,a]=h.useMemo(()=>o<0?[]:o===0?[null,r[o+1]]:o===r.length-1?[r[o-1],null]:[r[o-1],r[o+1]],[o,r]),l=Bd();return h.useEffect(()=>{let s=o,u=!1;const d=f=>{if(f.code==="ShiftLeft"&&(u=!0),u){const p=r[s+1],y=r[s-1];f.code==="ArrowRight"&&(p!=null&&p.link)&&(l(p.link),s++),f.code==="ArrowLeft"&&(y!=null&&y.link)&&(l(y.link),s--)}},c=f=>{f.code==="ShiftLeft"&&(u=!1)};return window.addEventListener("keydown",d),window.addEventListener("keyup",c),()=>{window.removeEventListener("keydown",d),window.removeEventListener("keyup",c)}},[]),e?w.jsxs("div",{className:Z4,children:[i?w.jsxs(on,{className:D(Oh,q4),href:i.link,variant:"styleless",children:[w.jsxs("div",{className:Dh,children:[w.jsx("div",{className:D(Lh,X4),style:Gt({[yu]:"0.75em"}),children:w.jsx(ct,{label:"Previous",icon:n_})}),w.jsx("div",{className:Mh,children:i.text})]}),w.jsx(ro,{description:"Previous",keys:["shift","←"]})]}):w.jsx("div",{}),a?w.jsxs(on,{className:D(Oh,e_),href:a.link,variant:"styleless",children:[w.jsxs("div",{className:Dh,children:[w.jsx("div",{className:Mh,style:{textAlign:"right"},children:a.text}),w.jsx("div",{className:D(Lh,J4),style:Gt({[yu]:"0.75em"}),children:w.jsx(ct,{label:"Next",icon:r_})})]}),w.jsx(ro,{description:"Next",keys:["shift","→"]})]}):w.jsx("div",{})]}):null}function e1(e){const t=[];for(const n of e){if(n.items){t.push(...e1(n.items));continue}t.push(n)}return t}const t1="Collapsible",[l_,n1]=Cn(t1),[s_,nf]=l_(t1),c_=h.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:i,onOpenChange:a,...l}=e,[s=!1,u]=or({prop:r,defaultProp:o,onChange:a});return h.createElement(s_,{scope:n,disabled:i,contentId:an(),open:s,onOpenToggle:h.useCallback(()=>u(d=>!d),[u])},h.createElement(fe.div,Y({"data-state":rf(s),"data-disabled":i?"":void 0},l,{ref:t})))}),u_="CollapsibleTrigger",d_=h.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=nf(u_,n);return h.createElement(fe.button,Y({type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":rf(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled},r,{ref:t,onClick:se(e.onClick,o.onOpenToggle)}))}),r1="CollapsibleContent",f_=h.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=nf(r1,e.__scopeCollapsible);return h.createElement(bn,{present:n||o.open},({present:i})=>h.createElement(p_,Y({},r,{ref:t,present:i})))}),p_=h.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...i}=e,a=nf(r1,n),[l,s]=h.useState(r),u=h.useRef(null),d=Ve(t,u),c=h.useRef(0),f=c.current,p=h.useRef(0),y=p.current,v=a.open||l,_=h.useRef(v),m=h.useRef();return h.useEffect(()=>{const g=requestAnimationFrame(()=>_.current=!1);return()=>cancelAnimationFrame(g)},[]),xn(()=>{const g=u.current;if(g){m.current=m.current||{transitionDuration:g.style.transitionDuration,animationName:g.style.animationName},g.style.transitionDuration="0s",g.style.animationName="none";const x=g.getBoundingClientRect();c.current=x.height,p.current=x.width,_.current||(g.style.transitionDuration=m.current.transitionDuration,g.style.animationName=m.current.animationName),s(r)}},[a.open,r]),h.createElement(fe.div,Y({"data-state":rf(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!v},i,{ref:d,style:{"--radix-collapsible-content-height":f?`${f}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...e.style}}),v&&o)});function rf(e){return e?"open":"closed"}const h_=c_,v_=d_,m_=f_,Ir="Accordion",g_=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[of,y_,x_]=Xl(Ir),[ql,yk]=Cn(Ir,[x_,n1]),af=n1(),o1=X.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,i=r;return X.createElement(of.Provider,{scope:e.__scopeAccordion},n==="multiple"?X.createElement(C_,Y({},i,{ref:t})):X.createElement(E_,Y({},o,{ref:t})))});o1.propTypes={type(e){const t=e.value||e.defaultValue;return e.type&&!["single","multiple"].includes(e.type)?new Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`."):e.type==="multiple"&&typeof t=="string"?new Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`."):e.type==="single"&&Array.isArray(t)?new Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`."):null}};const[i1,w_]=ql(Ir),[a1,__]=ql(Ir,{collapsible:!1}),E_=X.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:i=!1,...a}=e,[l,s]=or({prop:n,defaultProp:r,onChange:o});return X.createElement(i1,{scope:e.__scopeAccordion,value:l?[l]:[],onItemOpen:s,onItemClose:X.useCallback(()=>i&&s(""),[i,s])},X.createElement(a1,{scope:e.__scopeAccordion,collapsible:i},X.createElement(l1,Y({},a,{ref:t}))))}),C_=X.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...i}=e,[a=[],l]=or({prop:n,defaultProp:r,onChange:o}),s=X.useCallback(d=>l((c=[])=>[...c,d]),[l]),u=X.useCallback(d=>l((c=[])=>c.filter(f=>f!==d)),[l]);return X.createElement(i1,{scope:e.__scopeAccordion,value:a,onItemOpen:s,onItemClose:u},X.createElement(a1,{scope:e.__scopeAccordion,collapsible:!0},X.createElement(l1,Y({},i,{ref:t}))))}),[b_,lf]=ql(Ir),l1=X.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:i="vertical",...a}=e,l=X.useRef(null),s=Ve(l,t),u=y_(n),c=Zl(o)==="ltr",f=se(e.onKeyDown,p=>{var y;if(!g_.includes(p.key))return;const v=p.target,_=u().filter($=>{var N;return!((N=$.ref.current)!==null&&N!==void 0&&N.disabled)}),m=_.findIndex($=>$.ref.current===v),g=_.length;if(m===-1)return;p.preventDefault();let x=m;const E=0,b=g-1,k=()=>{x=m+1,x>b&&(x=E)},C=()=>{x=m-1,x{const{__scopeAccordion:n,value:r,...o}=e,i=lf(Cu,n),a=w_(Cu,n),l=af(n),s=an(),u=r&&a.value.includes(r)||!1,d=i.disabled||e.disabled;return X.createElement(S_,{scope:n,open:u,disabled:d,triggerId:s},X.createElement(h_,Y({"data-orientation":i.orientation,"data-state":R_(u)},l,o,{ref:t,disabled:d,open:u,onOpenChange:c=>{c?a.onItemOpen(r):a.onItemClose(r)}})))}),jh="AccordionTrigger",T_=X.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=lf(Ir,n),i=s1(jh,n),a=__(jh,n),l=af(n);return X.createElement(of.ItemSlot,{scope:n},X.createElement(v_,Y({"aria-disabled":i.open&&!a.collapsible||void 0,"data-orientation":o.orientation,id:i.triggerId},l,r,{ref:t})))}),$_="AccordionContent",P_=X.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=lf(Ir,n),i=s1($_,n),a=af(n);return X.createElement(m_,Y({role:"region","aria-labelledby":i.triggerId,"data-orientation":o.orientation},a,r,{ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}}))});function R_(e){return e?"open":"closed"}const N_=o1,A_=k_,I_=T_,L_=P_;var O_="vocs_MobileSearch_searchButton";function D_(){const[e,t]=h.useState(!1);return w.jsxs(bg,{open:e,onOpenChange:t,children:[w.jsx(Sg,{asChild:!0,children:w.jsx("button",{className:O_,type:"button","aria-label":"Search",children:w.jsx(Kd,{height:21,width:21})})}),w.jsx(Og,{open:e,onClose:()=>t(!1)})]})}var M_="vocs_MobileTopNav_button",j_="var(--vocs_MobileTopNav_chevronDownIcon)",F_="var(--vocs_MobileTopNav_chevronUpIcon)",z_="vocs_MobileTopNav_content",U_="vocs_MobileTopNav_curtain",Fh="vocs_MobileTopNav_curtainGroup",ec="vocs_MobileTopNav_curtainItem",V_="vocs_MobileTopNav_divider",Pa="vocs_MobileTopNav_group",B_="vocs_MobileTopNav_icon",H_="vocs_MobileTopNav_item",W_="vocs_MobileTopNav_logo",K_="vocs_MobileTopNav_menuTitle",c1="vocs_MobileTopNav_menuTrigger",u1="vocs_MobileTopNav_navigation",G_="vocs_MobileTopNav_navigationContent",ei="vocs_MobileTopNav_navigationItem",Y_="vocs_MobileTopNav_trigger",Q_="vocs_MobileTopNav_navigation_compact",Z_="vocs_MobileTopNav_outlinePopover",zh="vocs_MobileTopNav_outlineTrigger",X_="vocs_MobileTopNav",Uh="vocs_MobileTopNav_section",J_="vocs_MobileTopNav_separator",q_="vocs_MobileTopNav_sidebarPopover",eE="vocs_MobileTopNav_topNavPopover";function tE(e,t){let n=!1;return()=>{n=!0,setTimeout(()=>{n&&e(),n=!1},t)}}var nE="vocs_Outline_heading",rE="vocs_Outline_item",oE="vocs_Outline_items",iE="vocs_Outline_link",aE="vocs_Outline_nav",lE="vocs_Outline";function d1({minLevel:e=2,maxLevel:t=3,highlightActive:n=!0,onClickItem:r,showTitle:o=!0}={}){const{outlineFooter:i}=Ke(),{showOutline:a}=Nr(),l=typeof a=="number"?e+a-1:t,s=h.useRef(!0),{pathname:u,hash:d}=Oe(),[c,f]=h.useState([]);h.useEffect(()=>{if(typeof window>"u")return;const m=Array.from(document.querySelectorAll(`.${Z0}`));f(m)},[u]);const p=h.useMemo(()=>c?c.map(m=>{const g=m.querySelector(`.${X0}`);if(!g)return null;const x=g.getBoundingClientRect(),E=g.id,b=Number(m.tagName[1]),k=m.textContent,C=window.scrollY+x.top;return bl?null:{id:E,level:b,slugTargetElement:g,text:k,topOffset:C}}).filter(Boolean):[],[c,l,e]),[y,v]=h.useState(d.replace("#",""));if(h.useEffect(()=>{if(typeof window>"u")return;const m=new IntersectionObserver(([g])=>{var E;if(!s.current)return;const x=g.target.id;if(g.isIntersecting)v(x);else{if(!(g.target.getBoundingClientRect().top>0))return;const C=p.findIndex($=>$.id===y),S=(E=p[C-1])==null?void 0:E.id;v(S)}},{rootMargin:"0px 0px -95% 0px"});for(const g of p)m.observe(g.slugTargetElement);return()=>m.disconnect()},[y,p]),h.useEffect(()=>{if(typeof window>"u")return;const m=new IntersectionObserver(([g])=>{var E;if(!s.current)return;const x=(E=p[p.length-1])==null?void 0:E.id;g.isIntersecting?v(x):y===x&&v(p[p.length-2].id)});return m.observe(document.querySelector("[data-bottom-observer]")),()=>m.disconnect()},[y,p]),h.useEffect(()=>{if(typeof window>"u")return;const m=tE(()=>{var g,x,E;if(s.current){if(window.scrollY===0){v((g=p[0])==null?void 0:g.id);return}if(window.scrollY+document.documentElement.clientHeight>=document.documentElement.scrollHeight){v((x=p[p.length-1])==null?void 0:x.id);return}for(let b=0;bwindow.removeEventListener("scroll",m)},[p]),p.length===0)return null;const _=p.filter(m=>m.level===e);return w.jsxs("aside",{className:lE,children:[w.jsxs("nav",{className:aE,children:[o&&w.jsx("h2",{className:nE,children:"On this page"}),w.jsx(f1,{activeId:n?y:null,items:p,onClickItem:()=>{r==null||r(),s.current=!1,setTimeout(()=>{s.current=!0},500)},levelItems:_,setActiveId:v})]}),_l(i)]})}function f1({activeId:e,items:t,levelItems:n,onClickItem:r,setActiveId:o}){return w.jsx("ul",{className:oE,children:n.map(({id:i,level:a,text:l})=>{const s=`#${i}`,u=e===i,d=(()=>{var v;const f=t.findIndex(_=>_.id===i)+1,p=(v=t[f])==null?void 0:v.level;if(p<=a)return null;const y=[];for(let _=f;_{r==null||r(),o(i)},className:iE,children:l})}),d&&w.jsx(f1,{activeId:e,levelItems:d,items:t,onClickItem:r,setActiveId:o})]},i)})})}const sE=["top","right","bottom","left"],tn=Math.min,xt=Math.max,Sl=Math.round,Ra=Math.floor,Zn=e=>({x:e,y:e}),cE={left:"right",right:"left",bottom:"top",top:"bottom"},uE={start:"end",end:"start"};function bu(e,t,n){return xt(e,tn(t,n))}function wn(e,t){return typeof e=="function"?e(t):e}function _n(e){return e.split("-")[0]}function Io(e){return e.split("-")[1]}function sf(e){return e==="x"?"y":"x"}function cf(e){return e==="y"?"height":"width"}function Lo(e){return["top","bottom"].includes(_n(e))?"y":"x"}function uf(e){return sf(Lo(e))}function dE(e,t,n){n===void 0&&(n=!1);const r=Io(e),o=uf(e),i=cf(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=kl(a)),[a,kl(a)]}function fE(e){const t=kl(e);return[Su(e),t,Su(t)]}function Su(e){return e.replace(/start|end/g,t=>uE[t])}function pE(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}function hE(e,t,n,r){const o=Io(e);let i=pE(_n(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(Su)))),i}function kl(e){return e.replace(/left|right|bottom|top/g,t=>cE[t])}function vE(e){return{top:0,right:0,bottom:0,left:0,...e}}function p1(e){return typeof e!="number"?vE(e):{top:e,right:e,bottom:e,left:e}}function Tl(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Vh(e,t,n){let{reference:r,floating:o}=e;const i=Lo(t),a=uf(t),l=cf(a),s=_n(t),u=i==="y",d=r.x+r.width/2-o.width/2,c=r.y+r.height/2-o.height/2,f=r[l]/2-o[l]/2;let p;switch(s){case"top":p={x:d,y:r.y-o.height};break;case"bottom":p={x:d,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:c};break;case"left":p={x:r.x-o.width,y:c};break;default:p={x:r.x,y:r.y}}switch(Io(t)){case"start":p[a]-=f*(n&&u?-1:1);break;case"end":p[a]+=f*(n&&u?-1:1);break}return p}const mE=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,l=i.filter(Boolean),s=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:c}=Vh(u,r,s),f=r,p={},y=0;for(let v=0;v({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:l,middlewareData:s}=t,{element:u,padding:d=0}=wn(e,t)||{};if(u==null)return{};const c=p1(d),f={x:n,y:r},p=uf(o),y=cf(p),v=await a.getDimensions(u),_=p==="y",m=_?"top":"left",g=_?"bottom":"right",x=_?"clientHeight":"clientWidth",E=i.reference[y]+i.reference[p]-f[p]-i.floating[y],b=f[p]-i.reference[p],k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let C=k?k[x]:0;(!C||!await(a.isElement==null?void 0:a.isElement(k)))&&(C=l.floating[x]||i.floating[y]);const S=E/2-b/2,$=C/2-v[y]/2-1,N=tn(c[m],$),O=tn(c[g],$),M=N,L=C-v[y]-O,P=C/2-v[y]/2+S,V=bu(M,P,L),Q=!s.arrow&&Io(o)!=null&&P!==V&&i.reference[y]/2-(PM<=0)){var $,N;const M=((($=i.flip)==null?void 0:$.index)||0)+1,L=b[M];if(L)return{data:{index:M,overflows:S},reset:{placement:L}};let P=(N=S.filter(V=>V.overflows[0]<=0).sort((V,Q)=>V.overflows[1]-Q.overflows[1])[0])==null?void 0:N.placement;if(!P)switch(p){case"bestFit":{var O;const V=(O=S.map(Q=>[Q.placement,Q.overflows.filter(U=>U>0).reduce((U,I)=>U+I,0)]).sort((Q,U)=>Q[1]-U[1])[0])==null?void 0:O[0];V&&(P=V);break}case"initialPlacement":P=l;break}if(o!==P)return{reset:{placement:P}}}return{}}}};function Bh(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Hh(e){return sE.some(t=>e[t]>=0)}const xE=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=wn(e,t);switch(r){case"referenceHidden":{const i=await Mi(t,{...o,elementContext:"reference"}),a=Bh(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Hh(a)}}}case"escaped":{const i=await Mi(t,{...o,altBoundary:!0}),a=Bh(i,n.floating);return{data:{escapedOffsets:a,escaped:Hh(a)}}}default:return{}}}}};async function wE(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=_n(n),l=Io(n),s=Lo(n)==="y",u=["left","top"].includes(a)?-1:1,d=i&&s?-1:1,c=wn(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:y}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return l&&typeof y=="number"&&(p=l==="end"?y*-1:y),s?{x:p*d,y:f*u}:{x:f*u,y:p*d}}const _E=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:l}=t,s=await wE(t,e);return a===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:a}}}}},EE=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:_=>{let{x:m,y:g}=_;return{x:m,y:g}}},...s}=wn(e,t),u={x:n,y:r},d=await Mi(t,s),c=Lo(_n(o)),f=sf(c);let p=u[f],y=u[c];if(i){const _=f==="y"?"top":"left",m=f==="y"?"bottom":"right",g=p+d[_],x=p-d[m];p=bu(g,p,x)}if(a){const _=c==="y"?"top":"left",m=c==="y"?"bottom":"right",g=y+d[_],x=y-d[m];y=bu(g,y,x)}const v=l.fn({...t,[f]:p,[c]:y});return{...v,data:{x:v.x-n,y:v.y-r}}}}},CE=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:l=0,mainAxis:s=!0,crossAxis:u=!0}=wn(e,t),d={x:n,y:r},c=Lo(o),f=sf(c);let p=d[f],y=d[c];const v=wn(l,t),_=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(s){const x=f==="y"?"height":"width",E=i.reference[f]-i.floating[x]+_.mainAxis,b=i.reference[f]+i.reference[x]-_.mainAxis;pb&&(p=b)}if(u){var m,g;const x=f==="y"?"width":"height",E=["top","left"].includes(_n(o)),b=i.reference[c]-i.floating[x]+(E&&((m=a.offset)==null?void 0:m[c])||0)+(E?0:_.crossAxis),k=i.reference[c]+i.reference[x]+(E?0:((g=a.offset)==null?void 0:g[c])||0)-(E?_.crossAxis:0);yk&&(y=k)}return{[f]:p,[c]:y}}}},bE=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=()=>{},...l}=wn(e,t),s=await Mi(t,l),u=_n(n),d=Io(n),c=Lo(n)==="y",{width:f,height:p}=r.floating;let y,v;u==="top"||u==="bottom"?(y=u,v=d===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(v=u,y=d==="end"?"top":"bottom");const _=p-s.top-s.bottom,m=f-s.left-s.right,g=tn(p-s[y],_),x=tn(f-s[v],m),E=!t.middlewareData.shift;let b=g,k=x;if(c?k=d||E?tn(x,m):m:b=d||E?tn(g,_):_,E&&!d){const S=xt(s.left,0),$=xt(s.right,0),N=xt(s.top,0),O=xt(s.bottom,0);c?k=f-2*(S!==0||$!==0?S+$:xt(s.left,s.right)):b=p-2*(N!==0||O!==0?N+O:xt(s.top,s.bottom))}await a({...t,availableWidth:k,availableHeight:b});const C=await o.getDimensions(i.floating);return f!==C.width||p!==C.height?{reset:{rects:!0}}:{}}}};function Oo(e){return h1(e)?(e.nodeName||"").toLowerCase():"#document"}function Et(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function kn(e){var t;return(t=(h1(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function h1(e){return e instanceof Node||e instanceof Et(e).Node}function Je(e){return e instanceof Element||e instanceof Et(e).Element}function ln(e){return e instanceof HTMLElement||e instanceof Et(e).HTMLElement}function ku(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Et(e).ShadowRoot}function Qi(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Yt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function SE(e){return["table","td","th"].includes(Oo(e))}function df(e){const t=ff(),n=Yt(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function kE(e){let t=Xn(e);for(;ln(t)&&!So(t);){if(df(t))return t;t=Xn(t)}return null}function ff(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function So(e){return["html","body","#document"].includes(Oo(e))}function Yt(e){return Et(e).getComputedStyle(e)}function es(e){return Je(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Xn(e){if(Oo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ku(e)&&e.host||kn(e);return ku(t)?t.host:t}function v1(e){const t=Xn(e);return So(t)?e.ownerDocument?e.ownerDocument.body:e.body:ln(t)&&Qi(t)?t:v1(t)}function ji(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=v1(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=Et(o);return i?t.concat(a,a.visualViewport||[],Qi(o)?o:[],a.frameElement&&n?ji(a.frameElement):[]):t.concat(o,ji(o,[],n))}function m1(e){const t=Yt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ln(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=Sl(n)!==i||Sl(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}function pf(e){return Je(e)?e:e.contextElement}function fo(e){const t=pf(e);if(!ln(t))return Zn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=m1(t);let a=(i?Sl(n.width):n.width)/r,l=(i?Sl(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const TE=Zn(0);function g1(e){const t=Et(e);return!ff()||!t.visualViewport?TE:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function $E(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Et(e)?!1:t}function br(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=pf(e);let a=Zn(1);t&&(r?Je(r)&&(a=fo(r)):a=fo(e));const l=$E(i,n,r)?g1(i):Zn(0);let s=(o.left+l.x)/a.x,u=(o.top+l.y)/a.y,d=o.width/a.x,c=o.height/a.y;if(i){const f=Et(i),p=r&&Je(r)?Et(r):r;let y=f,v=y.frameElement;for(;v&&r&&p!==y;){const _=fo(v),m=v.getBoundingClientRect(),g=Yt(v),x=m.left+(v.clientLeft+parseFloat(g.paddingLeft))*_.x,E=m.top+(v.clientTop+parseFloat(g.paddingTop))*_.y;s*=_.x,u*=_.y,d*=_.x,c*=_.y,s+=x,u+=E,y=Et(v),v=y.frameElement}}return Tl({width:d,height:c,x:s,y:u})}const PE=[":popover-open",":modal"];function hf(e){return PE.some(t=>{try{return e.matches(t)}catch{return!1}})}function RE(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=kn(r),l=t?hf(t.floating):!1;if(r===a||l&&i)return n;let s={scrollLeft:0,scrollTop:0},u=Zn(1);const d=Zn(0),c=ln(r);if((c||!c&&!i)&&((Oo(r)!=="body"||Qi(a))&&(s=es(r)),ln(r))){const f=br(r);u=fo(r),d.x=f.x+r.clientLeft,d.y=f.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+d.x,y:n.y*u.y-s.scrollTop*u.y+d.y}}function NE(e){return Array.from(e.getClientRects())}function y1(e){return br(kn(e)).left+es(e).scrollLeft}function AE(e){const t=kn(e),n=es(e),r=e.ownerDocument.body,o=xt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=xt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+y1(e);const l=-n.scrollTop;return Yt(r).direction==="rtl"&&(a+=xt(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:l}}function IE(e,t){const n=Et(e),r=kn(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;const u=ff();(!u||u&&t==="fixed")&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l,y:s}}function LE(e,t){const n=br(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=ln(e)?fo(e):Zn(1),a=e.clientWidth*i.x,l=e.clientHeight*i.y,s=o*i.x,u=r*i.y;return{width:a,height:l,x:s,y:u}}function Wh(e,t,n){let r;if(t==="viewport")r=IE(e,n);else if(t==="document")r=AE(kn(e));else if(Je(t))r=LE(t,n);else{const o=g1(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Tl(r)}function x1(e,t){const n=Xn(e);return n===t||!Je(n)||So(n)?!1:Yt(n).position==="fixed"||x1(n,t)}function OE(e,t){const n=t.get(e);if(n)return n;let r=ji(e,[],!1).filter(l=>Je(l)&&Oo(l)!=="body"),o=null;const i=Yt(e).position==="fixed";let a=i?Xn(e):e;for(;Je(a)&&!So(a);){const l=Yt(a),s=df(a);!s&&l.position==="fixed"&&(o=null),(i?!s&&!o:!s&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Qi(a)&&!s&&x1(e,a))?r=r.filter(d=>d!==a):o=l,a=Xn(a)}return t.set(e,r),r}function DE(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?hf(t)?[]:OE(t,this._c):[].concat(n),r],l=a[0],s=a.reduce((u,d)=>{const c=Wh(t,d,o);return u.top=xt(c.top,u.top),u.right=tn(c.right,u.right),u.bottom=tn(c.bottom,u.bottom),u.left=xt(c.left,u.left),u},Wh(t,l,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function ME(e){const{width:t,height:n}=m1(e);return{width:t,height:n}}function jE(e,t,n){const r=ln(t),o=kn(t),i=n==="fixed",a=br(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const s=Zn(0);if(r||!r&&!i)if((Oo(t)!=="body"||Qi(o))&&(l=es(t)),r){const c=br(t,!0,i,t);s.x=c.x+t.clientLeft,s.y=c.y+t.clientTop}else o&&(s.x=y1(o));const u=a.left+l.scrollLeft-s.x,d=a.top+l.scrollTop-s.y;return{x:u,y:d,width:a.width,height:a.height}}function tc(e){return Yt(e).position==="static"}function Kh(e,t){return!ln(e)||Yt(e).position==="fixed"?null:t?t(e):e.offsetParent}function w1(e,t){const n=Et(e);if(hf(e))return n;if(!ln(e)){let o=Xn(e);for(;o&&!So(o);){if(Je(o)&&!tc(o))return o;o=Xn(o)}return n}let r=Kh(e,t);for(;r&&SE(r)&&tc(r);)r=Kh(r,t);return r&&So(r)&&tc(r)&&!df(r)?n:r||kE(e)||n}const FE=async function(e){const t=this.getOffsetParent||w1,n=this.getDimensions,r=await n(e.floating);return{reference:jE(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function zE(e){return Yt(e).direction==="rtl"}const _1={convertOffsetParentRelativeRectToViewportRelativeRect:RE,getDocumentElement:kn,getClippingRect:DE,getOffsetParent:w1,getElementRects:FE,getClientRects:NE,getDimensions:ME,getScale:fo,isElement:Je,isRTL:zE};function UE(e,t){let n=null,r;const o=kn(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function a(l,s){l===void 0&&(l=!1),s===void 0&&(s=1),i();const{left:u,top:d,width:c,height:f}=e.getBoundingClientRect();if(l||t(),!c||!f)return;const p=Ra(d),y=Ra(o.clientWidth-(u+c)),v=Ra(o.clientHeight-(d+f)),_=Ra(u),g={rootMargin:-p+"px "+-y+"px "+-v+"px "+-_+"px",threshold:xt(0,tn(1,s))||1};let x=!0;function E(b){const k=b[0].intersectionRatio;if(k!==s){if(!x)return a();k?a(!1,k):r=setTimeout(()=>{a(!1,1e-7)},1e3)}x=!1}try{n=new IntersectionObserver(E,{...g,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,g)}n.observe(e)}return a(!0),i}function VE(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:s=!1}=r,u=pf(e),d=o||i?[...u?ji(u):[],...ji(t)]:[];d.forEach(m=>{o&&m.addEventListener("scroll",n,{passive:!0}),i&&m.addEventListener("resize",n)});const c=u&&l?UE(u,n):null;let f=-1,p=null;a&&(p=new ResizeObserver(m=>{let[g]=m;g&&g.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var x;(x=p)==null||x.observe(t)})),n()}),u&&!s&&p.observe(u),p.observe(t));let y,v=s?br(e):null;s&&_();function _(){const m=br(e);v&&(m.x!==v.x||m.y!==v.y||m.width!==v.width||m.height!==v.height)&&n(),v=m,y=requestAnimationFrame(_)}return n(),()=>{var m;d.forEach(g=>{o&&g.removeEventListener("scroll",n),i&&g.removeEventListener("resize",n)}),c==null||c(),(m=p)==null||m.disconnect(),p=null,s&&cancelAnimationFrame(y)}}const BE=_E,HE=EE,WE=yE,KE=bE,GE=xE,Gh=gE,YE=CE,QE=(e,t,n)=>{const r=new Map,o={platform:_1,...n},i={...o.platform,_c:r};return mE(e,t,{...o,platform:i})};var Ga=typeof document<"u"?h.useLayoutEffect:h.useEffect;function $l(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!$l(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!$l(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function E1(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Yh(e,t){const n=E1(e);return Math.round(t*n)/n}function Qh(e){const t=h.useRef(e);return Ga(()=>{t.current=e}),t}function C1(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:l=!0,whileElementsMounted:s,open:u}=e,[d,c]=h.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=h.useState(r);$l(f,r)||p(r);const[y,v]=h.useState(null),[_,m]=h.useState(null),g=h.useCallback(U=>{U!==k.current&&(k.current=U,v(U))},[]),x=h.useCallback(U=>{U!==C.current&&(C.current=U,m(U))},[]),E=i||y,b=a||_,k=h.useRef(null),C=h.useRef(null),S=h.useRef(d),$=s!=null,N=Qh(s),O=Qh(o),M=h.useCallback(()=>{if(!k.current||!C.current)return;const U={placement:t,strategy:n,middleware:f};O.current&&(U.platform=O.current),QE(k.current,C.current,U).then(I=>{const B={...I,isPositioned:!0};L.current&&!$l(S.current,B)&&(S.current=B,Ro.flushSync(()=>{c(B)}))})},[f,t,n,O]);Ga(()=>{u===!1&&S.current.isPositioned&&(S.current.isPositioned=!1,c(U=>({...U,isPositioned:!1})))},[u]);const L=h.useRef(!1);Ga(()=>(L.current=!0,()=>{L.current=!1}),[]),Ga(()=>{if(E&&(k.current=E),b&&(C.current=b),E&&b){if(N.current)return N.current(E,b,M);M()}},[E,b,M,N,$]);const P=h.useMemo(()=>({reference:k,floating:C,setReference:g,setFloating:x}),[g,x]),V=h.useMemo(()=>({reference:E,floating:b}),[E,b]),Q=h.useMemo(()=>{const U={position:n,left:0,top:0};if(!V.floating)return U;const I=Yh(V.floating,d.x),B=Yh(V.floating,d.y);return l?{...U,transform:"translate("+I+"px, "+B+"px)",...E1(V.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:I,top:B}},[n,l,V.floating,d.x,d.y]);return h.useMemo(()=>({...d,update:M,refs:P,elements:V,floatingStyles:Q}),[d,M,P,V,Q])}const ZE=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Gh({element:r.current,padding:o}).fn(n):{}:r?Gh({element:r,padding:o}).fn(n):{}}}},b1=(e,t)=>({...BE(e),options:[e,t]}),S1=(e,t)=>({...HE(e),options:[e,t]}),XE=(e,t)=>({...YE(e),options:[e,t]}),JE=(e,t)=>({...WE(e),options:[e,t]}),qE=(e,t)=>({...KE(e),options:[e,t]}),e8=(e,t)=>({...GE(e),options:[e,t]}),k1=(e,t)=>({...ZE(e),options:[e,t]});function t8(e){const[t,n]=h.useState(void 0);return xn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,l;if("borderBoxSize"in i){const s=i.borderBoxSize,u=Array.isArray(s)?s[0]:s;a=u.inlineSize,l=u.blockSize}else a=e.offsetWidth,l=e.offsetHeight;n({width:a,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const T1="Popper",[$1,P1]=Cn(T1),[n8,R1]=$1(T1),r8=e=>{const{__scopePopper:t,children:n}=e,[r,o]=h.useState(null);return h.createElement(n8,{scope:t,anchor:r,onAnchorChange:o},n)},o8="PopperAnchor",i8=h.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=R1(o8,n),a=h.useRef(null),l=Ve(t,a);return h.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:h.createElement(fe.div,Y({},o,{ref:l}))}),N1="PopperContent",[a8,xk]=$1(N1),l8=h.forwardRef((e,t)=>{var n,r,o,i,a,l,s,u;const{__scopePopper:d,side:c="bottom",sideOffset:f=0,align:p="center",alignOffset:y=0,arrowPadding:v=0,avoidCollisions:_=!0,collisionBoundary:m=[],collisionPadding:g=0,sticky:x="partial",hideWhenDetached:E=!1,updatePositionStrategy:b="optimized",onPlaced:k,...C}=e,S=R1(N1,d),[$,N]=h.useState(null),O=Ve(t,ar=>N(ar)),[M,L]=h.useState(null),P=t8(M),V=(n=P==null?void 0:P.width)!==null&&n!==void 0?n:0,Q=(r=P==null?void 0:P.height)!==null&&r!==void 0?r:0,U=c+(p!=="center"?"-"+p:""),I=typeof g=="number"?g:{top:0,right:0,bottom:0,left:0,...g},B=Array.isArray(m)?m:[m],G=B.length>0,ie={padding:I,boundary:B.filter(s8),altBoundary:G},{refs:le,floatingStyles:Fe,placement:De,isPositioned:ye,middlewareData:xe}=C1({strategy:"fixed",placement:U,whileElementsMounted:(...ar)=>VE(...ar,{animationFrame:b==="always"}),elements:{reference:S.anchor},middleware:[b1({mainAxis:f+Q,alignmentAxis:y}),_&&S1({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?XE():void 0,...ie}),_&&JE({...ie}),qE({...ie,apply:({elements:ar,rects:Qt,availableWidth:ts,availableHeight:ns})=>{const{width:rs,height:os}=Qt.reference,Lr=ar.floating.style;Lr.setProperty("--radix-popper-available-width",`${ts}px`),Lr.setProperty("--radix-popper-available-height",`${ns}px`),Lr.setProperty("--radix-popper-anchor-width",`${rs}px`),Lr.setProperty("--radix-popper-anchor-height",`${os}px`)}}),M&&k1({element:M,padding:v}),c8({arrowWidth:V,arrowHeight:Q}),E&&e8({strategy:"referenceHidden",...ie})]}),[Re,pe]=A1(De),Se=lt(k);xn(()=>{ye&&(Se==null||Se())},[ye,Se]);const Ot=(o=xe.arrow)===null||o===void 0?void 0:o.x,Dt=(i=xe.arrow)===null||i===void 0?void 0:i.y,Ne=((a=xe.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[ir,Zi]=h.useState();return xn(()=>{$&&Zi(window.getComputedStyle($).zIndex)},[$]),h.createElement("div",{ref:le.setFloating,"data-radix-popper-content-wrapper":"",style:{...Fe,transform:ye?Fe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ir,"--radix-popper-transform-origin":[(l=xe.transformOrigin)===null||l===void 0?void 0:l.x,(s=xe.transformOrigin)===null||s===void 0?void 0:s.y].join(" ")},dir:e.dir},h.createElement(a8,{scope:d,placedSide:Re,onArrowChange:L,arrowX:Ot,arrowY:Dt,shouldHideArrow:Ne},h.createElement(fe.div,Y({"data-side":Re,"data-align":pe},C,{ref:O,style:{...C.style,animation:ye?void 0:"none",opacity:(u=xe.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))});function s8(e){return e!==null}const c8=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:l,rects:s,middlewareData:u}=t,c=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,f=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[y,v]=A1(l),_={start:"0%",center:"50%",end:"100%"}[v],m=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+f/2,g=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+p/2;let x="",E="";return y==="bottom"?(x=c?_:`${m}px`,E=`${-p}px`):y==="top"?(x=c?_:`${m}px`,E=`${s.floating.height+p}px`):y==="right"?(x=`${-p}px`,E=c?_:`${g}px`):y==="left"&&(x=`${s.floating.width+p}px`,E=c?_:`${g}px`),{data:{x,y:E}}}});function A1(e){const[t,n="center"]=e.split("-");return[t,n]}const u8=r8,d8=i8,f8=l8,I1="Popover",[L1,wk]=Cn(I1,[P1]),vf=P1(),[p8,Do]=L1(I1),h8=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,l=vf(t),s=h.useRef(null),[u,d]=h.useState(!1),[c=!1,f]=or({prop:r,defaultProp:o,onChange:i});return h.createElement(u8,l,h.createElement(p8,{scope:t,contentId:an(),triggerRef:s,open:c,onOpenChange:f,onOpenToggle:h.useCallback(()=>f(p=>!p),[f]),hasCustomAnchor:u,onCustomAnchorAdd:h.useCallback(()=>d(!0),[]),onCustomAnchorRemove:h.useCallback(()=>d(!1),[]),modal:a},n))},v8="PopoverTrigger",m8=h.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Do(v8,n),i=vf(n),a=Ve(t,o.triggerRef),l=h.createElement(fe.button,Y({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":M1(o.open)},r,{ref:a,onClick:se(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?l:h.createElement(d8,Y({asChild:!0},i),l)}),O1="PopoverPortal",[g8,y8]=L1(O1,{forceMount:void 0}),x8=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=Do(O1,t);return h.createElement(g8,{scope:t,forceMount:n},h.createElement(bn,{present:n||i.open},h.createElement(sg,{asChild:!0,container:o},r)))},Fi="PopoverContent",w8=h.forwardRef((e,t)=>{const n=y8(Fi,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=Do(Fi,e.__scopePopover);return h.createElement(bn,{present:r||i.open},i.modal?h.createElement(_8,Y({},o,{ref:t})):h.createElement(E8,Y({},o,{ref:t})))}),_8=h.forwardRef((e,t)=>{const n=Do(Fi,e.__scopePopover),r=h.useRef(null),o=Ve(t,r),i=h.useRef(!1);return h.useEffect(()=>{const a=r.current;if(a)return yg(a)},[]),h.createElement(Yd,{as:bo,allowPinchZoom:!0},h.createElement(D1,Y({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:se(e.onCloseAutoFocus,a=>{var l;a.preventDefault(),i.current||(l=n.triggerRef.current)===null||l===void 0||l.focus()}),onPointerDownOutside:se(e.onPointerDownOutside,a=>{const l=a.detail.originalEvent,s=l.button===0&&l.ctrlKey===!0,u=l.button===2||s;i.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:se(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),E8=h.forwardRef((e,t)=>{const n=Do(Fi,e.__scopePopover),r=h.useRef(!1),o=h.useRef(!1);return h.createElement(D1,Y({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,i),!i.defaultPrevented){var l;r.current||(l=n.triggerRef.current)===null||l===void 0||l.focus(),i.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:i=>{var a,l;(a=e.onInteractOutside)===null||a===void 0||a.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=i.target;((l=n.triggerRef.current)===null||l===void 0?void 0:l.contains(s))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}}))}),D1=h.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:u,onInteractOutside:d,...c}=e,f=Do(Fi,n),p=vf(n);return cg(),h.createElement(ag,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},h.createElement(Gd,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:d,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:u,onDismiss:()=>f.onOpenChange(!1)},h.createElement(f8,Y({"data-state":M1(f.open),role:"dialog",id:f.contentId},p,c,{ref:t,style:{...c.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))});function M1(e){return e?"open":"closed"}const C8=h8,b8=m8,S8=x8,k8=w8;var T8="vocs_Popover";Vt.Root=C8;Vt.Trigger=b8;function Vt({children:e,className:t}){return w.jsx(S8,{children:w.jsx(k8,{className:D(T8,t),sideOffset:12,children:e})})}var $8="vocs_Sidebar_backLink",P8="vocs_Sidebar_divider",R8="vocs_Sidebar_group",li="vocs_Sidebar_item",j1="vocs_Sidebar_items",N8="vocs_Sidebar_level",A8="vocs_Sidebar_levelCollapsed",I8="vocs_Sidebar_levelInset",L8="vocs_Sidebar_logo",O8="vocs_Sidebar_logoWrapper",D8="vocs_Sidebar_navigation",M8="vocs_Sidebar",F1="vocs_Sidebar_section",j8="vocs_Sidebar_sectionCollapse",F8="vocs_Sidebar_sectionCollapseActive",z8="vocs_Sidebar_sectionHeader",U8="vocs_Sidebar_sectionHeaderActive",Zh="vocs_Sidebar_sectionTitle";function z1(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 39 69",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Chevron Right"}),w.jsx("path",{d:"M38.8697 34.7461C38.8697 33.6719 38.4791 32.6953 37.649 31.8652L7.47318 1.8848C6.74078 1.1035 5.76418 0.712891 4.64118 0.712891C2.34618 0.712891 0.588379 2.42189 0.588379 4.71679C0.588379 5.79099 1.07668 6.81639 1.76028 7.59769L29.0552 34.7461L1.76028 61.8945C1.07668 62.6758 0.588379 63.6523 0.588379 64.7754C0.588379 67.0703 2.34618 68.7793 4.64118 68.7793C5.76418 68.7793 6.74078 68.3887 7.47318 67.6074L37.649 37.627C38.4791 36.7969 38.8697 35.8203 38.8697 34.7461Z",fill:"currentColor"})]})}function U1(e){var u;const{className:t,onClickItem:n}=e,{previousPath:r}=Rr(),o=h.useRef(null),i=Yl(),[a,l]=h.useState("/");if(h.useEffect(()=>{typeof window>"u"||r&&l(r)},[i.key,i.backLink]),!i)return null;const s=V8(i.items);return w.jsxs("aside",{ref:o,className:D(M8,t),children:[w.jsxs("div",{className:O8,children:[w.jsx("div",{className:L8,children:w.jsx(Qn,{to:"/",style:{alignItems:"center",display:"flex",height:"100%"},children:w.jsx(Jd,{})})}),w.jsx("div",{className:P8})]}),w.jsx("nav",{className:D8,children:w.jsxs("div",{className:R8,children:[i.backLink&&w.jsx("section",{className:F1,children:w.jsx("div",{className:j1,children:w.jsxs(Qn,{className:D(li,$8),to:a,children:["←"," ",typeof history<"u"&&((u=history.state)!=null&&u.key)&&a!=="/"?"Back":"Home"]})})}),s.map((d,c)=>w.jsx(B1,{depth:0,item:d,onClick:n,sidebarRef:o},`${d.text}${c}`))]})})]},i.key)}function V8(e){const t=[];let n=0;for(const r of e){if(r.items){n=t.push(r);continue}t[n]?t[n].items.push(r):t.push({text:"",items:[r]})}return t}function V1(e,t){return e.find(n=>Kl(t,n.link??"")||n.link===t?!0:n.items?V1(n.items,t):!1)}function B1(e){const{depth:t,item:n,onClick:r,sidebarRef:o}=e,i=h.useRef(null),{pathname:a}=Oe(),l=Qw(n.link??""),s=h.useMemo(()=>n.items?!!V1(n.items,a):!1,[n.items,a]),[u,d]=h.useState(()=>l||!n.items||s?!1:!!n.collapsed),c=n.collapsed!==void 0&&n.items!==void 0,f=h.useCallback(v=>{"key"in v&&v.key!=="Enter"||n.link||d(_=>!_)},[n.link]),p=h.useCallback(v=>{"key"in v&&v.key!=="Enter"||n.link&&d(_=>!_)},[n.link]),y=h.useRef(!0);return h.useEffect(()=>{!y.current||(y.current=!1,!Kl(a,n.link??""))||requestAnimationFrame(()=>{var g,x,E;const _=((g=i.current)==null?void 0:g.offsetTop)??0,m=((x=o==null?void 0:o.current)==null?void 0:x.clientHeight)??0;_0&&t<5&&n.items.map((v,_)=>w.jsx(B1,{depth:t+1,item:v,onClick:r,sidebarRef:o},`${v.text}${_}`))})]}):w.jsx(w.Fragment,{children:n.link?w.jsx(Qn,{ref:i,"data-active":!!l,onClick:r,className:li,to:n.link,children:n.text}):w.jsx("div",{className:li,children:n.text})})}function B8(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 69 39",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Chevron Down"}),w.jsx("path",{d:"M34.8677 38.8398C35.9419 38.8398 37.0161 38.4492 37.7485 37.6191L67.729 7.44339C68.4614 6.71089 68.9009 5.73439 68.9009 4.61129C68.9009 2.31639 67.1919 0.558594 64.897 0.558594C63.8227 0.558594 62.7485 1.04689 62.0161 1.73049L32.5727 31.2715H37.1138L7.67042 1.73049C6.93802 1.04689 5.96142 0.558594 4.83842 0.558594C2.54342 0.558594 0.785645 2.31639 0.785645 4.61129C0.785645 5.73439 1.22512 6.71089 1.95752 7.44339L31.9868 37.6191C32.768 38.4492 33.7446 38.8398 34.8677 38.8398Z",fill:"currentColor"})]})}function H8(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 69 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Chevron Up"}),w.jsx("path",{d:"M1.95752 32.2441C1.22512 32.9277 0.785645 33.9531 0.785645 35.0762C0.785645 37.3711 2.54342 39.1289 4.83842 39.1289C5.96142 39.1289 6.98682 38.6895 7.67042 37.957L37.1138 8.36716H32.5727L62.0161 37.957C62.6997 38.6895 63.8227 39.1289 64.897 39.1289C67.1919 39.1289 68.9009 37.3711 68.9009 35.0762C68.9009 33.9531 68.4614 32.9277 67.729 32.2441L37.7485 2.06836C37.0161 1.23826 35.9419 0.847656 34.8677 0.847656C33.7446 0.847656 32.7192 1.23826 31.9868 2.06836L1.95752 32.2441Z",fill:"currentColor"})]})}function W8(){return w.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 79 48",fill:"none",children:[w.jsx("title",{children:"Menu"}),w.jsx("path",{fill:"currentColor",d:"M19.528 47.232h40.87c1.952 0 3.515-1.562 3.515-3.564a3.5 3.5 0 0 0-3.516-3.516H19.528a3.501 3.501 0 0 0-3.515 3.516c0 2.002 1.562 3.564 3.515 3.564ZM12.057 27.262h55.81a3.501 3.501 0 0 0 3.516-3.516 3.501 3.501 0 0 0-3.515-3.515h-55.81a3.501 3.501 0 0 0-3.516 3.515 3.501 3.501 0 0 0 3.515 3.516ZM4.391 7.34H75.29c2.002 0 3.515-1.563 3.515-3.516 0-2.002-1.513-3.564-3.515-3.564H4.39C2.438.26.876 1.822.876 3.824A3.501 3.501 0 0 0 4.39 7.34Z"})]})}Tu.Curtain=J8;function Tu(){var n,r;const e=Ke(),{showLogo:t}=Nr();return w.jsxs("div",{className:X_,children:[w.jsxs("div",{className:Uh,children:[t&&w.jsx("div",{className:Pa,children:w.jsx("div",{className:W_,children:w.jsx(Qn,{to:"/",style:{alignItems:"center",display:"flex",height:"100%"},children:w.jsx(Jd,{})})})}),e.topNav&&w.jsx(w.Fragment,{children:w.jsxs("div",{className:Pa,children:[w.jsx(K8,{items:e.topNav}),w.jsx(Y8,{items:e.topNav})]})})]}),w.jsxs("div",{className:Uh,children:[w.jsx("div",{className:Pa,style:{marginRight:"-8px"},children:w.jsx(D_,{})}),e.socials&&((n=e.socials)==null?void 0:n.length)>0&&w.jsxs(w.Fragment,{children:[w.jsx("div",{className:V_}),w.jsx("div",{className:Pa,style:{marginLeft:"-8px"},children:(r=e.socials)==null?void 0:r.map((o,i)=>w.jsx(X8,{...o},i))})]})]})]})}function K8({items:e}){const{pathname:t}=Oe(),n=Gi({pathname:t,items:e});return w.jsx(Bg,{className:u1,children:w.jsx(Hg,{children:e.map((r,o)=>r!=null&&r.link?w.jsx(Jl,{active:n==null?void 0:n.includes(r.id),href:r.link,children:r.text},o):w.jsxs(Wg,{className:H_,children:[w.jsx(Kg,{active:n==null?void 0:n.includes(r.id),children:r.text}),w.jsx(Gg,{className:z_,children:w.jsx(G8,{items:r.items||[]})})]},o))})})}function G8({items:e}){const{pathname:t}=Oe(),n=Gi({pathname:t,items:e});return w.jsx("ul",{children:e==null?void 0:e.map((r,o)=>w.jsx(Jl,{active:n.includes(r.id),href:r.link,children:r.text},o))})}function Y8({items:e}){var s;const[t,n]=h.useState(!1),{pathname:r}=Oe(),o=Gi({pathname:r,items:e}),i=e.filter(u=>u.id===o[0])[0],{basePath:a}=Ke(),l=a;return w.jsx("div",{className:D(u1,Q_),children:i?w.jsxs(Vt.Root,{modal:!0,open:t,onOpenChange:n,children:[w.jsxs(Vt.Trigger,{className:D(c1,ei),children:[i.text,w.jsx(ct,{label:"Menu",icon:B8,size:"11px"})]}),w.jsx(Vt,{className:eE,children:w.jsx(N_,{type:"single",collapsible:!0,style:{display:"flex",flexDirection:"column"},children:e.map((u,d)=>{var c;return u!=null&&u.link?w.jsx(on,{"data-active":o.includes(u.id),className:ei,href:u.link,onClick:()=>n(!1),variant:"styleless",children:u.text},d):w.jsxs(A_,{value:d.toString(),children:[w.jsx(I_,{className:D(ei,Y_),"data-active":o.includes(u.id),style:Gt({[j_]:`url(${l}/.vocs/icons/chevron-down.svg)`,[F_]:`url(${l}/.vocs/icons/chevron-up.svg)`}),children:u.text}),w.jsx(L_,{className:G_,children:(c=u.items)==null?void 0:c.map((f,p)=>w.jsx(on,{className:ei,href:f.link,onClick:()=>n(!1),variant:"styleless",children:f.text},p))})]},d)})})})]}):(s=e[0])!=null&&s.link?w.jsx(on,{className:ei,href:e[0].link,variant:"styleless",children:e[0].text}):null})}const Q8={discord:Yg,github:Qg,telegram:Zg,warpcast:Xg,x:Jg},Z8={discord:"21px",github:"18px",telegram:"21px",warpcast:"18px",x:"16px"};function X8({icon:e,label:t,link:n,type:r}){return w.jsx("a",{className:M_,href:n,target:"_blank",rel:"noopener noreferrer",children:w.jsx(ct,{className:B_,label:t,icon:Q8[e],size:Z8[r]||"18px"})})}function J8({enableScrollToTop:e}){const{pathname:t}=Oe(),{layout:n,showSidebar:r}=Nr(),{frontmatter:o={}}=Rr(),i=Yl(),[a,l]=h.useState(!1),[s,u]=h.useState(!1),d=h.useMemo(()=>{if(!i||n==="minimal")return;const p=H1({sidebarItems:i.items,pathname:t});return p==null?void 0:p.text},[n,t,i]),c=h.useMemo(()=>{var p;if(!(typeof window>"u"))return(p=document.querySelector(".vocs_Content h1"))==null?void 0:p.textContent},[]),f=d||o.title||c;return w.jsxs("div",{className:U_,children:[w.jsx("div",{className:Fh,children:w.jsx("div",{className:ec,children:r?w.jsxs(Vt.Root,{modal:!0,open:s,onOpenChange:u,children:[w.jsxs(Vt.Trigger,{className:c1,children:[w.jsx(ct,{label:"Menu",icon:W8,size:"13px"}),w.jsx("div",{className:K_,children:f})]}),w.jsx(Vt,{className:q_,children:w.jsx(U1,{onClickItem:()=>u(!1)})})]}):f})}),w.jsxs("div",{className:Fh,children:[e&&w.jsxs(w.Fragment,{children:[w.jsx("div",{className:ec,children:w.jsxs("button",{className:zh,onClick:()=>window.scrollTo({behavior:"smooth",top:0}),type:"button",children:["Top",w.jsx(ct,{label:"Scroll to top",icon:H8,size:"10px"})]})}),w.jsx("div",{className:J_})]}),n==="docs"&&w.jsx("div",{className:ec,children:w.jsxs(Vt.Root,{modal:!0,open:a,onOpenChange:l,children:[w.jsxs(Vt.Trigger,{className:zh,children:["On this page",w.jsx(ct,{label:"On this page",icon:z1,size:"10px"})]}),w.jsx(Vt,{className:Z_,children:w.jsx(d1,{onClickItem:()=>l(!1),showTitle:!1})})]})})]})]})}function H1({sidebarItems:e,pathname:t}){const n=t.replace(/(.+)\/$/,"$1");for(const r of e){if((r==null?void 0:r.link)===n)return r;if(r.items){const o=H1({sidebarItems:r.items,pathname:n});if(o)return o}}}var q8="vocs_SkipLink";const W1="vocs-content";function eC(){const{pathname:e}=Oe();return w.jsx("a",{className:D(q8,rg),href:`${e}#${W1}`,children:"Skip to content"})}var tC="vocs_DocsLayout_content",nC="vocs_DocsLayout_content_withSidebar",rC="vocs_DocsLayout_content_withTopNav",oC="vocs_DocsLayout_gutterLeft",iC="vocs_DocsLayout_gutterRight",aC="vocs_DocsLayout_gutterRight_withSidebar",lC="vocs_DocsLayout_gutterTop",sC="vocs_DocsLayout_gutterTopCurtain",cC="vocs_DocsLayout_gutterTopCurtain_hidden",uC="vocs_DocsLayout_gutterTopCurtain_withSidebar",dC="vocs_DocsLayout_gutterTop_offsetLeftGutter",fC="vocs_DocsLayout_gutterTop_sticky",pC="vocs_DocsLayout",hC="vocs_DocsLayout_sidebar";function $u({children:e}){var p,y;const{banner:t,font:n}=Ke(),{frontmatter:r={}}=Rr(),{content:o}=r,{layout:i,showOutline:a,showSidebar:l,showTopNav:s}=Nr(),{ref:u,inView:d}=Q0({initialInView:!0,rootMargin:"100px 0px 0px 0px"}),[c,f]=mu("banner",!0);return w.jsxs("div",{className:pC,"data-layout":i,style:Gt({[t5]:c?t==null?void 0:t.height:void 0,[oh.default]:(p=n==null?void 0:n.default)!=null&&p.google?`${n.default.google}, ${rh.default}`:void 0,[oh.mono]:(y=n==null?void 0:n.mono)!=null&&y.google?`${n.mono.google}, ${rh.mono}`:void 0}),children:[w.jsx(eC,{}),c&&w.jsx(C5,{hide:()=>f(!1)}),l&&w.jsx("div",{className:oC,children:w.jsx(U1,{className:hC})}),s&&w.jsxs(w.Fragment,{children:[w.jsxs("div",{ref:u,className:D(lC,l&&dC,(i==="minimal"||i==="landing")&&fC),children:[w.jsx(Eu,{}),w.jsx(Tu,{})]}),w.jsxs("div",{className:D(sC,l&&uC,(i==="minimal"||i==="landing")&&cC),children:[w.jsx(Eu.Curtain,{}),w.jsx(Tu.Curtain,{enableScrollToTop:!d})]})]}),a&&w.jsx("div",{className:D(iC,l&&aC),children:w.jsx(d1,{})}),w.jsxs("div",{id:W1,className:D(tC,l&&nC,s&&rC),style:Gt({[Ds.horizontalPadding]:o==null?void 0:o.horizontalPadding,[Ds.width]:o==null?void 0:o.width,[Ds.verticalPadding]:o==null?void 0:o.verticalPadding}),children:[w.jsx(eg,{children:e}),w.jsx(o_,{})]}),w.jsx("div",{"data-bottom-observer":!0})]})}const Pu={},K1=X.createContext(Pu);function vC(e){const t=X.useContext(K1);return X.useMemo(function(){return typeof e=="function"?e(t):{...t,...e}},[t,e])}function mC(e){let t;return e.disableParentContext?t=typeof e.components=="function"?e.components(Pu):e.components||Pu:t=vC(e.components),X.createElement(K1.Provider,{value:t},e.children)}var G1={exports:{}},gC="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",yC=gC,xC=yC;function Y1(){}function Q1(){}Q1.resetWarningCache=Y1;var wC=function(){function e(r,o,i,a,l,s){if(s!==xC){var u=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 u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Q1,resetWarningCache:Y1};return n.PropTypes=n,n};G1.exports=wC();var _C=G1.exports;const _e=Jn(_C);function EC(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var Z1=h,CC=EC(Z1);function Xh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bC(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var SC=!!(typeof window<"u"&&window.document&&window.document.createElement);function kC(e,t,n){if(typeof e!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof t!="function")throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof n<"u"&&typeof n!="function")throw new Error("Expected mapStateOnServer to either be undefined or a function.");function r(o){return o.displayName||o.name||"Component"}return function(i){if(typeof i!="function")throw new Error("Expected WrappedComponent to be a React component.");var a=[],l;function s(){l=e(a.map(function(d){return d.props})),u.canUseDOM?t(l):n&&(l=n(l))}var u=function(d){bC(c,d);function c(){return d.apply(this,arguments)||this}c.peek=function(){return l},c.rewind=function(){if(c.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var y=l;return l=void 0,a=[],y};var f=c.prototype;return f.UNSAFE_componentWillMount=function(){a.push(this),s()},f.componentDidUpdate=function(){s()},f.componentWillUnmount=function(){var y=a.indexOf(this);a.splice(y,1),s()},f.render=function(){return CC.createElement(i,this.props)},c}(Z1.PureComponent);return Xh(u,"displayName","SideEffect("+r(i)+")"),Xh(u,"canUseDOM",SC),u}}var TC=kC;const $C=Jn(TC);var PC=typeof Element<"u",RC=typeof Map=="function",NC=typeof Set=="function",AC=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Ya(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Ya(e[r],t[r]))return!1;return!0}var i;if(RC&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!Ya(r.value[1],t.get(r.value[0])))return!1;return!0}if(NC&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(AC&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(PC&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&e.$$typeof)&&!Ya(e[o[r]],t[o[r]]))return!1;return!0}return e!==e&&t!==t}var IC=function(t,n){try{return Ya(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const LC=Jn(IC);/* +*****************************************************/(function(e,t){(function(n,r){e.exports=r()})(ky,function(){var n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},r=function(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")},o=function(){function u(d,c){for(var f=0;f1&&arguments[1]!==void 0?arguments[1]:!0,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:5e3;r(this,u),this.ctx=d,this.iframes=c,this.exclude=f,this.iframesTimeout=p}return o(u,[{key:"getContexts",value:function(){var c=void 0,f=[];return typeof this.ctx>"u"||!this.ctx?c=[]:NodeList.prototype.isPrototypeOf(this.ctx)?c=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?c=this.ctx:typeof this.ctx=="string"?c=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):c=[this.ctx],c.forEach(function(p){var y=f.filter(function(v){return v.contains(p)}).length>0;f.indexOf(p)===-1&&!y&&f.push(p)}),f}},{key:"getIframeContents",value:function(c,f){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},y=void 0;try{var v=c.contentWindow;if(y=v.document,!v||!y)throw new Error("iframe inaccessible")}catch{p()}y&&f(y)}},{key:"isIframeBlank",value:function(c){var f="about:blank",p=c.getAttribute("src").trim(),y=c.contentWindow.location.href;return y===f&&p!==f&&p}},{key:"observeIframeLoad",value:function(c,f,p){var y=this,v=!1,_=null,m=function g(){if(!v){v=!0,clearTimeout(_);try{y.isIframeBlank(c)||(c.removeEventListener("load",g),y.getIframeContents(c,f,p))}catch{p()}}};c.addEventListener("load",m),_=setTimeout(m,this.iframesTimeout)}},{key:"onIframeReady",value:function(c,f,p){try{c.contentWindow.document.readyState==="complete"?this.isIframeBlank(c)?this.observeIframeLoad(c,f,p):this.getIframeContents(c,f,p):this.observeIframeLoad(c,f,p)}catch{p()}}},{key:"waitForIframes",value:function(c,f){var p=this,y=0;this.forEachIframe(c,function(){return!0},function(v){y++,p.waitForIframes(v.querySelector("html"),function(){--y||f()})},function(v){v||f()})}},{key:"forEachIframe",value:function(c,f,p){var y=this,v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){},_=c.querySelectorAll("iframe"),m=_.length,g=0;_=Array.prototype.slice.call(_);var x=function(){--m<=0&&v(g)};m||x(),_.forEach(function(E){u.matches(E,y.exclude)?x():y.onIframeReady(E,function(b){f(E)&&(g++,p(b)),x()},x)})}},{key:"createIterator",value:function(c,f,p){return document.createNodeIterator(c,f,p,!1)}},{key:"createInstanceOnIframe",value:function(c){return new u(c.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(c,f,p){var y=c.compareDocumentPosition(p),v=Node.DOCUMENT_POSITION_PRECEDING;if(y&v)if(f!==null){var _=f.compareDocumentPosition(p),m=Node.DOCUMENT_POSITION_FOLLOWING;if(_&m)return!0}else return!0;return!1}},{key:"getIteratorNode",value:function(c){var f=c.previousNode(),p=void 0;return f===null?p=c.nextNode():p=c.nextNode()&&c.nextNode(),{prevNode:f,node:p}}},{key:"checkIframeFilter",value:function(c,f,p,y){var v=!1,_=!1;return y.forEach(function(m,g){m.val===p&&(v=g,_=m.handled)}),this.compareNodeIframe(c,f,p)?(v===!1&&!_?y.push({val:p,handled:!0}):v!==!1&&!_&&(y[v].handled=!0),!0):(v===!1&&y.push({val:p,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(c,f,p,y){var v=this;c.forEach(function(_){_.handled||v.getIframeContents(_.val,function(m){v.createInstanceOnIframe(m).forEachNode(f,p,y)})})}},{key:"iterateThroughNodes",value:function(c,f,p,y,v){for(var _=this,m=this.createIterator(f,c,y),g=[],x=[],E=void 0,b=void 0,k=function(){var S=_.getIteratorNode(m);return b=S.prevNode,E=S.node,E};k();)this.iframes&&this.forEachIframe(f,function(C){return _.checkIframeFilter(E,b,C,g)},function(C){_.createInstanceOnIframe(C).forEachNode(c,function(S){return x.push(S)},y)}),x.push(E);x.forEach(function(C){p(C)}),this.iframes&&this.handleOpenIframes(g,c,p,y),v()}},{key:"forEachNode",value:function(c,f,p){var y=this,v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){},_=this.getContexts(),m=_.length;m||v(),_.forEach(function(g){var x=function(){y.iterateThroughNodes(c,g,f,p,function(){--m<=0&&v()})};y.iframes?y.waitForIframes(g,x):x()})}}],[{key:"matches",value:function(c,f){var p=typeof f=="string"?[f]:f,y=c.matches||c.matchesSelector||c.msMatchesSelector||c.mozMatchesSelector||c.oMatchesSelector||c.webkitMatchesSelector;if(y){var v=!1;return p.every(function(_){return y.call(c,_)?(v=!0,!1):!0}),v}else return!1}}]),u}(),l=function(){function u(d){r(this,u),this.ctx=d,this.ie=!1;var c=window.navigator.userAgent;(c.indexOf("MSIE")>-1||c.indexOf("Trident")>-1)&&(this.ie=!0)}return o(u,[{key:"log",value:function(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"debug",p=this.opt.log;this.opt.debug&&(typeof p>"u"?"undefined":n(p))==="object"&&typeof p[f]=="function"&&p[f]("mark.js: "+c)}},{key:"escapeStr",value:function(c){return c.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(c){return this.opt.wildcards!=="disabled"&&(c=this.setupWildcardsRegExp(c)),c=this.escapeStr(c),Object.keys(this.opt.synonyms).length&&(c=this.createSynonymsRegExp(c)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(c=this.setupIgnoreJoinersRegExp(c)),this.opt.diacritics&&(c=this.createDiacriticsRegExp(c)),c=this.createMergedBlanksRegExp(c),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(c=this.createJoinersRegExp(c)),this.opt.wildcards!=="disabled"&&(c=this.createWildcardsRegExp(c)),c=this.createAccuracyRegExp(c),c}},{key:"createSynonymsRegExp",value:function(c){var f=this.opt.synonyms,p=this.opt.caseSensitive?"":"i",y=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var v in f)if(f.hasOwnProperty(v)){var _=f[v],m=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(v):this.escapeStr(v),g=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(_):this.escapeStr(_);m!==""&&g!==""&&(c=c.replace(new RegExp("("+this.escapeStr(m)+"|"+this.escapeStr(g)+")","gm"+p),y+("("+this.processSynomyms(m)+"|")+(this.processSynomyms(g)+")")+y))}return c}},{key:"processSynomyms",value:function(c){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(c=this.setupIgnoreJoinersRegExp(c)),c}},{key:"setupWildcardsRegExp",value:function(c){return c=c.replace(/(?:\\)*\?/g,function(f){return f.charAt(0)==="\\"?"?":""}),c.replace(/(?:\\)*\*/g,function(f){return f.charAt(0)==="\\"?"*":""})}},{key:"createWildcardsRegExp",value:function(c){var f=this.opt.wildcards==="withSpaces";return c.replace(/\u0001/g,f?"[\\S\\s]?":"\\S?").replace(/\u0002/g,f?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(c){return c.replace(/[^(|)\\]/g,function(f,p,y){var v=y.charAt(p+1);return/[(|)\\]/.test(v)||v===""?f:f+"\0"})}},{key:"createJoinersRegExp",value:function(c){var f=[],p=this.opt.ignorePunctuation;return Array.isArray(p)&&p.length&&f.push(this.escapeStr(p.join(""))),this.opt.ignoreJoiners&&f.push("\\u00ad\\u200b\\u200c\\u200d"),f.length?c.split(/\u0000+/).join("["+f.join("")+"]*"):c}},{key:"createDiacriticsRegExp",value:function(c){var f=this.opt.caseSensitive?"":"i",p=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"],y=[];return c.split("").forEach(function(v){p.every(function(_){if(_.indexOf(v)!==-1){if(y.indexOf(_)>-1)return!1;c=c.replace(new RegExp("["+_+"]","gm"+f),"["+_+"]"),y.push(_)}return!0})}),c}},{key:"createMergedBlanksRegExp",value:function(c){return c.replace(/[\s]+/gmi,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(c){var f=this,p="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿",y=this.opt.accuracy,v=typeof y=="string"?y:y.value,_=typeof y=="string"?[]:y.limiters,m="";switch(_.forEach(function(g){m+="|"+f.escapeStr(g)}),v){case"partially":default:return"()("+c+")";case"complementary":return m="\\s"+(m||this.escapeStr(p)),"()([^"+m+"]*"+c+"[^"+m+"]*)";case"exactly":return"(^|\\s"+m+")("+c+")(?=$|\\s"+m+")"}}},{key:"getSeparatedKeywords",value:function(c){var f=this,p=[];return c.forEach(function(y){f.opt.separateWordSearch?y.split(" ").forEach(function(v){v.trim()&&p.indexOf(v)===-1&&p.push(v)}):y.trim()&&p.indexOf(y)===-1&&p.push(y)}),{keywords:p.sort(function(y,v){return v.length-y.length}),length:p.length}}},{key:"isNumeric",value:function(c){return Number(parseFloat(c))==c}},{key:"checkRanges",value:function(c){var f=this;if(!Array.isArray(c)||Object.prototype.toString.call(c[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(c),[];var p=[],y=0;return c.sort(function(v,_){return v.start-_.start}).forEach(function(v){var _=f.callNoMatchOnInvalidRanges(v,y),m=_.start,g=_.end,x=_.valid;x&&(v.start=m,v.length=g-m,p.push(v),y=g)}),p}},{key:"callNoMatchOnInvalidRanges",value:function(c,f){var p=void 0,y=void 0,v=!1;return c&&typeof c.start<"u"?(p=parseInt(c.start,10),y=p+parseInt(c.length,10),this.isNumeric(c.start)&&this.isNumeric(c.length)&&y-f>0&&y-p>0?v=!0:(this.log("Ignoring invalid or overlapping range: "+(""+JSON.stringify(c))),this.opt.noMatch(c))):(this.log("Ignoring invalid range: "+JSON.stringify(c)),this.opt.noMatch(c)),{start:p,end:y,valid:v}}},{key:"checkWhitespaceRanges",value:function(c,f,p){var y=void 0,v=!0,_=p.length,m=f-_,g=parseInt(c.start,10)-m;return g=g>_?_:g,y=g+parseInt(c.length,10),y>_&&(y=_,this.log("End range automatically set to the max value of "+_)),g<0||y-g<0||g>_||y>_?(v=!1,this.log("Invalid range: "+JSON.stringify(c)),this.opt.noMatch(c)):p.substring(g,y).replace(/\s+/g,"")===""&&(v=!1,this.log("Skipping whitespace only range: "+JSON.stringify(c)),this.opt.noMatch(c)),{start:g,end:y,valid:v}}},{key:"getTextNodes",value:function(c){var f=this,p="",y=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,function(v){y.push({start:p.length,end:(p+=v.textContent).length,node:v})},function(v){return f.matchesExclude(v.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},function(){c({value:p,nodes:y})})}},{key:"matchesExclude",value:function(c){return a.matches(c,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(c,f,p){var y=this.opt.element?this.opt.element:"mark",v=c.splitText(f),_=v.splitText(p-f),m=document.createElement(y);return m.setAttribute("data-markjs","true"),this.opt.className&&m.setAttribute("class",this.opt.className),m.textContent=v.textContent,v.parentNode.replaceChild(m,v),_}},{key:"wrapRangeInMappedTextNode",value:function(c,f,p,y,v){var _=this;c.nodes.every(function(m,g){var x=c.nodes[g+1];if(typeof x>"u"||x.start>f){if(!y(m.node))return!1;var E=f-m.start,b=(p>m.end?m.end:p)-m.start,k=c.value.substr(0,m.start),C=c.value.substr(b+m.start);if(m.node=_.wrapRangeInTextNode(m.node,E,b),c.value=k+C,c.nodes.forEach(function(S,$){$>=g&&(c.nodes[$].start>0&&$!==g&&(c.nodes[$].start-=b),c.nodes[$].end-=b)}),p-=b,v(m.node.previousSibling,m.start),p>m.end)f=m.end;else return!1}return!0})}},{key:"wrapMatches",value:function(c,f,p,y,v){var _=this,m=f===0?0:f+1;this.getTextNodes(function(g){g.nodes.forEach(function(x){x=x.node;for(var E=void 0;(E=c.exec(x.textContent))!==null&&E[m]!=="";)if(p(E[m],x)){var b=E.index;if(m!==0)for(var k=1;k{const o=setTimeout(()=>r(e),t);return()=>{clearTimeout(o)}},[e,t]),n}function mu(e,t){const[n,r]=h.useState();h.useEffect(()=>{const i=w4(e);r(typeof i>"u"||i===null?typeof t=="function"?t():t:i)},[t,e]);const o=h.useCallback(i=>{r(a=>{let l;typeof i=="function"?l=i(a):l=i;try{localStorage.setItem(e,JSON.stringify(l))}catch{}return l})},[e]);return[n,o]}function w4(e){try{const t=localStorage.getItem(e);return typeof t=="string"?JSON.parse(t):void 0}catch{return}}var _4="vocs_Kbd";function L1(e){return w.jsx("kbd",{...e,className:D(e.className,_4)})}var E4="vocs_KeyboardShortcut_kbdGroup",C4="vocs_KeyboardShortcut";function ro(e){const{description:t,keys:n}=e;return w.jsxs("span",{className:C4,children:[t,w.jsx("span",{className:E4,children:n.map(r=>w.jsx(L1,{children:r},r))})]})}var b4="vocs_SearchDialog_content",kh="vocs_SearchDialog_excerpt",S4="vocs_SearchDialog_overlay",k4="vocs_SearchDialog_result",Th="vocs_SearchDialog_resultIcon",T4="vocs_SearchDialog_resultSelected",$4="vocs_SearchDialog_results",P4="vocs_SearchDialog",R4="vocs_SearchDialog_searchBox",N4="vocs_SearchDialog_searchInput",Ta="vocs_SearchDialog_searchInputIcon",A4="vocs_SearchDialog_searchInputIconDesktop",I4="vocs_SearchDialog_searchInputIconMobile",L4="vocs_SearchDialog_searchShortcuts",$h="vocs_SearchDialog_title",O4="vocs_SearchDialog_titleIcon",D4="vocs_SearchDialog_titles";function O1(e){const{search:t}=Ke(),n=Bd(),r=h.useRef(null),o=h.useRef(null),[i,a]=mu("filterText",""),l=x4(i,200),s=A1(),[u,d]=h.useState(-1),[c,f]=h.useState(!1),[p,y]=mu("showDetailView",!0),v=h.useMemo(()=>s?l?(d(0),s.search(l,t).slice(0,16)):(d(-1),[]):[],[s,t,l]),_=v.length,m=v[u],g=h.useCallback(()=>{var k,C,S;if(!o.current)return;const x=new Set;for(const $ of v)for(const N in $.match)x.add(N);const E=new y4(o.current);E.unmark({done(){E==null||E.markRegExp(M4(x))}});const b=o.current.querySelectorAll(`.${kh}`);for(const $ of b)(k=$.querySelector('mark[data-markjs="true"]'))==null||k.scrollIntoView({block:"center"});(S=(C=o.current)==null?void 0:C.firstElementChild)==null||S.scrollIntoView({block:"start"})},[v]);return h.useEffect(()=>{if(!e.open)return;function x(E){var b;switch(E.key){case"ArrowDown":{E.preventDefault(),d(k=>{var $;let C=k+1;C>=_&&(C=0);const S=($=o.current)==null?void 0:$.children[C];return S==null||S.scrollIntoView({block:"nearest"}),C}),f(!0);break}case"ArrowUp":{E.preventDefault(),d(k=>{var $;let C=k-1;C<0&&(C=_-1);const S=($=o.current)==null?void 0:$.children[C];return S==null||S.scrollIntoView({block:"nearest"}),C}),f(!0);break}case"Backspace":{if(!E.metaKey)return;E.preventDefault(),a(""),(b=r.current)==null||b.focus();break}case"Enter":{if(E.target instanceof HTMLButtonElement&&E.target.type!=="submit"||!m)return;E.preventDefault(),n(m.href),e.onClose();break}}}return window.addEventListener("keydown",x),()=>{window.removeEventListener("keydown",x)}},[n,_,a,m,e.open,e.onClose]),h.useEffect(()=>{l!==""&&o.current&&g()},[g,l]),w.jsxs(Y5,{children:[w.jsx(Q5,{className:S4}),w.jsxs(Z5,{onOpenAutoFocus:x=>{r.current&&(x.preventDefault(),r.current.focus()),g()},onCloseAutoFocus:()=>{d(0)},className:P4,"aria-describedby":void 0,children:[w.jsx(X5,{className:r1,children:"Search"}),w.jsxs("form",{className:R4,children:[w.jsx("button",{"aria-label":"Close search dialog",type:"button",onClick:()=>e.onClose(),className:I4,children:w.jsx(d3,{className:Ta,height:20,width:20})}),w.jsx(m4,{htmlFor:"search-input",children:w.jsx(Kd,{"aria-label":"Search",className:D(Ta,A4),height:20,width:20})}),w.jsx("input",{ref:r,tabIndex:0,className:N4,id:"search-input",onChange:x=>a(x.target.value),placeholder:"Search",type:"search",value:i}),w.jsx("button",{"aria-label":"Toggle detail view",type:"button",onClick:()=>y(x=>!x),children:w.jsx(x3,{className:Ta,height:20,width:20})}),w.jsx("button",{"aria-label":"Reset search",type:"button",className:Ta,onClick:()=>{var x;a(""),(x=r.current)==null||x.focus()},children:"⌫"})]}),w.jsxs("ul",{className:$4,role:v.length?"listbox":void 0,onMouseMove:()=>f(!1),ref:o,children:[l&&v.length===0&&w.jsxs("li",{children:['No results for "',w.jsx("span",{children:l}),'"']}),v.map((x,E)=>{var b;return w.jsx("li",{role:"option",className:D(k4,E===u&&T4),"aria-selected":E===u,"aria-label":[...x.titles.filter(k=>!!k),x.title].join(" > "),children:w.jsxs(Gl,{to:x.href,onClick:k=>{k.metaKey||e.onClose()},onMouseEnter:()=>!c&&d(E),onFocus:()=>d(E),children:[w.jsxs("div",{className:D4,children:[x.isPage?w.jsx(g3,{className:Th}):w.jsx("span",{className:Th,children:"#"}),x.titles.filter(k=>!!k).map(k=>w.jsxs("span",{className:$h,children:[w.jsx("span",{dangerouslySetInnerHTML:{__html:k}}),w.jsx(p3,{className:O4})]},k)),w.jsx("span",{className:$h,children:w.jsx("span",{dangerouslySetInnerHTML:{__html:x.title}})})]}),p&&((b=x.text)==null?void 0:b.trim())&&w.jsx("div",{className:kh,children:w.jsx(e1,{className:b4,children:w.jsx("div",{dangerouslySetInnerHTML:{__html:x.html}})})})]})},x.id)})]}),w.jsxs("div",{className:L4,children:[w.jsx(ro,{description:"Navigate",keys:["↑","↓"]}),w.jsx(ro,{description:"Select",keys:["enter"]}),w.jsx(ro,{description:"Close",keys:["esc"]}),w.jsx(ro,{description:"Reset",keys:["⌘","⌫"]})]})]})]})}function M4(e){return new RegExp([...e].sort((t,n)=>n.length-t.length).map(t=>`(${t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")})`).join("|"),"gi")}function j4(){A1();const[e,t]=h.useState(!1);return h.useEffect(()=>{function n(r){const o=document.activeElement instanceof HTMLElement&&(["input","select","textarea"].includes(document.activeElement.tagName.toLowerCase())||document.activeElement.isContentEditable);r.key==="/"&&!e&&!o?(r.preventDefault(),t(!0)):r.metaKey===!0&&r.key==="k"&&(r.preventDefault(),t(i=>!i))}return window.addEventListener("keydown",n),()=>{window.removeEventListener("keydown",n)}},[e]),w.jsxs(b1,{open:e,onOpenChange:t,children:[w.jsx(S1,{asChild:!0,children:w.jsxs("button",{className:p4,type:"button",children:[w.jsx(Kd,{style:{marginTop:2}}),"Search",w.jsx("div",{className:h4,children:w.jsx("div",{style:{background:"currentColor",transform:"rotate(45deg)",width:1.5,borderRadius:2,height:"100%"}})})]})}),w.jsx(O1,{open:e,onClose:()=>t(!1)})]})}var D1="vocs_DesktopTopNav_button",F4="vocs_DesktopTopNav_content",z4="vocs_DesktopTopNav_curtain",Ph="vocs_DesktopTopNav_divider",Js="vocs_DesktopTopNav_group",$a="vocs_DesktopTopNav_hideCompact",gu="vocs_DesktopTopNav_icon",Cl="vocs_DesktopTopNav_item",U4="vocs_DesktopTopNav_logo",V4="vocs_DesktopTopNav_logoWrapper",B4="vocs_DesktopTopNav",Rh="vocs_DesktopTopNav_section",H4="vocs_DesktopTopNav_withLogo",W4="vocs_Icon",yu="var(--vocs_Icon_size)";function ct({className:e,label:t,icon:n,size:r,style:o}){return w.jsx("div",{"aria-label":t,className:D(W4,e),role:"img",style:{...o,...Gt({[yu]:r})},children:w.jsx(n,{height:r,width:r})})}var K4="vocs_Logo_logoDark",G4="vocs_Logo_logoLight",qs="vocs_Logo";function Y4({className:e}){const{logoUrl:t}=Ke();return t?w.jsx(w.Fragment,{children:typeof t=="string"?w.jsx("img",{alt:"Logo",className:D(e,qs),src:t}):w.jsxs(w.Fragment,{children:[w.jsx("img",{alt:"Logo",className:D(e,qs,K4),src:t.dark}),w.jsx("img",{alt:"Logo",className:D(e,qs,G4),src:t.light})]})}):null}var Q4="vocs_NavLogo_logoImage",Z4="vocs_NavLogo_title";function Jd(){const e=Ke();return e.logoUrl?w.jsx(Y4,{className:Q4}):w.jsx("div",{className:Z4,children:e.title})}const X4=h.createContext(void 0);function Zl(e){const t=h.useContext(X4);return e||t||"ltr"}function Xl(e){const t=e+"CollectionProvider",[n,r]=Cn(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=p=>{const{scope:y,children:v}=p,_=X.useRef(null),m=X.useRef(new Map).current;return X.createElement(o,{scope:y,itemMap:m,collectionRef:_},v)},l=e+"CollectionSlot",s=X.forwardRef((p,y)=>{const{scope:v,children:_}=p,m=i(l,v),g=Ve(y,m.collectionRef);return X.createElement(bo,{ref:g},_)}),u=e+"CollectionItemSlot",d="data-radix-collection-item",c=X.forwardRef((p,y)=>{const{scope:v,children:_,...m}=p,g=X.useRef(null),x=Ve(y,g),E=i(u,v);return X.useEffect(()=>(E.itemMap.set(g,{ref:g,...m}),()=>void E.itemMap.delete(g))),X.createElement(bo,{[d]:"",ref:x},_)});function f(p){const y=i(e+"CollectionConsumer",p);return X.useCallback(()=>{const _=y.collectionRef.current;if(!_)return[];const m=Array.from(_.querySelectorAll(`[${d}]`));return Array.from(y.itemMap.values()).sort((E,b)=>m.indexOf(E.ref.current)-m.indexOf(b.ref.current))},[y.collectionRef,y.itemMap])}return[{Provider:a,Slot:s,ItemSlot:c},f,r]}function J4(e){const t=h.useRef({value:e,previous:e});return h.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}const q4=h.forwardRef((e,t)=>h.createElement(fe.span,Y({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),e_=q4,Yi="NavigationMenu",[qd,t_,n_]=Xl(Yi),[xu,r_,o_]=Xl(Yi),[ef,mk]=Cn(Yi,[n_,o_]),[i_,Ar]=ef(Yi),[a_,gk]=ef(Yi),l_=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,onValueChange:o,defaultValue:i,delayDuration:a=200,skipDelayDuration:l=300,orientation:s="horizontal",dir:u,...d}=e,[c,f]=h.useState(null),p=Ve(t,$=>f($)),y=Zl(u),v=h.useRef(0),_=h.useRef(0),m=h.useRef(0),[g,x]=h.useState(!0),[E="",b]=or({prop:r,onChange:$=>{const N=$!=="",O=l>0;N?(window.clearTimeout(m.current),O&&x(!1)):(window.clearTimeout(m.current),m.current=window.setTimeout(()=>x(!0),l)),o==null||o($)},defaultProp:i}),k=h.useCallback(()=>{window.clearTimeout(_.current),_.current=window.setTimeout(()=>b(""),150)},[b]),C=h.useCallback($=>{window.clearTimeout(_.current),b($)},[b]),S=h.useCallback($=>{E===$?window.clearTimeout(_.current):v.current=window.setTimeout(()=>{window.clearTimeout(_.current),b($)},a)},[E,b,a]);return h.useEffect(()=>()=>{window.clearTimeout(v.current),window.clearTimeout(_.current),window.clearTimeout(m.current)},[]),h.createElement(s_,{scope:n,isRootMenu:!0,value:E,dir:y,orientation:s,rootNavigationMenu:c,onTriggerEnter:$=>{window.clearTimeout(v.current),g?S($):C($)},onTriggerLeave:()=>{window.clearTimeout(v.current),k()},onContentEnter:()=>window.clearTimeout(_.current),onContentLeave:k,onItemSelect:$=>{b(N=>N===$?"":$)},onItemDismiss:()=>b("")},h.createElement(fe.nav,Y({"aria-label":"Main","data-orientation":s,dir:y},d,{ref:p})))}),s_=e=>{const{scope:t,isRootMenu:n,rootNavigationMenu:r,dir:o,orientation:i,children:a,value:l,onItemSelect:s,onItemDismiss:u,onTriggerEnter:d,onTriggerLeave:c,onContentEnter:f,onContentLeave:p}=e,[y,v]=h.useState(null),[_,m]=h.useState(new Map),[g,x]=h.useState(null);return h.createElement(i_,{scope:t,isRootMenu:n,rootNavigationMenu:r,value:l,previousValue:J4(l),baseId:an(),dir:o,orientation:i,viewport:y,onViewportChange:v,indicatorTrack:g,onIndicatorTrackChange:x,onTriggerEnter:lt(d),onTriggerLeave:lt(c),onContentEnter:lt(f),onContentLeave:lt(p),onItemSelect:lt(s),onItemDismiss:lt(u),onViewportContentChange:h.useCallback((E,b)=>{m(k=>(k.set(E,b),new Map(k)))},[]),onViewportContentRemove:h.useCallback(E=>{m(b=>b.has(E)?(b.delete(E),new Map(b)):b)},[])},h.createElement(qd.Provider,{scope:t},h.createElement(a_,{scope:t,items:_},a)))},c_="NavigationMenuList",u_=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=Ar(c_,n),i=h.createElement(fe.ul,Y({"data-orientation":o.orientation},r,{ref:t}));return h.createElement(fe.div,{style:{position:"relative"},ref:o.onIndicatorTrackChange},h.createElement(qd.Slot,{scope:n},o.isRootMenu?h.createElement(j1,{asChild:!0},i):i))}),d_="NavigationMenuItem",[f_,M1]=ef(d_),p_=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,...o}=e,i=an(),a=r||i||"LEGACY_REACT_AUTO_VALUE",l=h.useRef(null),s=h.useRef(null),u=h.useRef(null),d=h.useRef(()=>{}),c=h.useRef(!1),f=h.useCallback((y="start")=>{if(l.current){d.current();const v=wu(l.current);v.length&&tf(y==="start"?v:v.reverse())}},[]),p=h.useCallback(()=>{if(l.current){const y=wu(l.current);y.length&&(d.current=__(y))}},[]);return h.createElement(f_,{scope:n,value:a,triggerRef:s,contentRef:l,focusProxyRef:u,wasEscapeCloseRef:c,onEntryKeyDown:f,onFocusProxyEnter:f,onRootContentClose:p,onContentFocusOutside:p},h.createElement(fe.li,Y({},o,{ref:t})))}),Nh="NavigationMenuTrigger",h_=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,disabled:r,...o}=e,i=Ar(Nh,e.__scopeNavigationMenu),a=M1(Nh,e.__scopeNavigationMenu),l=h.useRef(null),s=Ve(l,a.triggerRef,t),u=U1(i.baseId,a.value),d=V1(i.baseId,a.value),c=h.useRef(!1),f=h.useRef(!1),p=a.value===i.value;return h.createElement(h.Fragment,null,h.createElement(qd.ItemSlot,{scope:n,value:a.value},h.createElement(F1,{asChild:!0},h.createElement(fe.button,Y({id:u,disabled:r,"data-disabled":r?"":void 0,"data-state":z1(p),"aria-expanded":p,"aria-controls":d},o,{ref:s,onPointerEnter:se(e.onPointerEnter,()=>{f.current=!1,a.wasEscapeCloseRef.current=!1}),onPointerMove:se(e.onPointerMove,_u(()=>{r||f.current||a.wasEscapeCloseRef.current||c.current||(i.onTriggerEnter(a.value),c.current=!0)})),onPointerLeave:se(e.onPointerLeave,_u(()=>{r||(i.onTriggerLeave(),c.current=!1)})),onClick:se(e.onClick,()=>{i.onItemSelect(a.value),f.current=p}),onKeyDown:se(e.onKeyDown,y=>{const _={horizontal:"ArrowDown",vertical:i.dir==="rtl"?"ArrowLeft":"ArrowRight"}[i.orientation];p&&y.key===_&&(a.onEntryKeyDown(),y.preventDefault())})})))),p&&h.createElement(h.Fragment,null,h.createElement(e_,{"aria-hidden":!0,tabIndex:0,ref:a.focusProxyRef,onFocus:y=>{const v=a.contentRef.current,_=y.relatedTarget,m=_===l.current,g=v==null?void 0:v.contains(_);(m||!g)&&a.onFocusProxyEnter(m?"start":"end")}}),i.viewport&&h.createElement("span",{"aria-owns":d})))}),Ah="navigationMenu.linkSelect",v_=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,active:r,onSelect:o,...i}=e;return h.createElement(F1,{asChild:!0},h.createElement(fe.a,Y({"data-active":r?"":void 0,"aria-current":r?"page":void 0},i,{ref:t,onClick:se(e.onClick,a=>{const l=a.target,s=new CustomEvent(Ah,{bubbles:!0,cancelable:!0});if(l.addEventListener(Ah,u=>o==null?void 0:o(u),{once:!0}),cu(l,s),!s.defaultPrevented&&!a.metaKey){const u=new CustomEvent(Ka,{bubbles:!0,cancelable:!0});cu(l,u)}},{checkForDefaultPrevented:!1})})))}),bl="NavigationMenuContent",m_=h.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Ar(bl,e.__scopeNavigationMenu),i=M1(bl,e.__scopeNavigationMenu),a=Ve(i.contentRef,t),l=i.value===o.value,s={value:i.value,triggerRef:i.triggerRef,focusProxyRef:i.focusProxyRef,wasEscapeCloseRef:i.wasEscapeCloseRef,onContentFocusOutside:i.onContentFocusOutside,onRootContentClose:i.onRootContentClose,...r};return o.viewport?h.createElement(g_,Y({forceMount:n},s,{ref:a})):h.createElement(bn,{present:n||l},h.createElement(y_,Y({"data-state":z1(l)},s,{ref:a,onPointerEnter:se(e.onPointerEnter,o.onContentEnter),onPointerLeave:se(e.onPointerLeave,_u(o.onContentLeave)),style:{pointerEvents:!l&&o.isRootMenu?"none":void 0,...s.style}})))}),g_=h.forwardRef((e,t)=>{const n=Ar(bl,e.__scopeNavigationMenu),{onViewportContentChange:r,onViewportContentRemove:o}=n;return xn(()=>{r(e.value,{ref:t,...e})},[e,t,r]),xn(()=>()=>o(e.value),[e.value,o]),null}),Ka="navigationMenu.rootContentDismiss",y_=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,value:r,triggerRef:o,focusProxyRef:i,wasEscapeCloseRef:a,onRootContentClose:l,onContentFocusOutside:s,...u}=e,d=Ar(bl,n),c=h.useRef(null),f=Ve(c,t),p=U1(d.baseId,r),y=V1(d.baseId,r),v=t_(n),_=h.useRef(null),{onItemDismiss:m}=d;h.useEffect(()=>{const x=c.current;if(d.isRootMenu&&x){const E=()=>{var b;m(),l(),x.contains(document.activeElement)&&((b=o.current)===null||b===void 0||b.focus())};return x.addEventListener(Ka,E),()=>x.removeEventListener(Ka,E)}},[d.isRootMenu,e.value,o,m,l]);const g=h.useMemo(()=>{const E=v().map(N=>N.value);d.dir==="rtl"&&E.reverse();const b=E.indexOf(d.value),k=E.indexOf(d.previousValue),C=r===d.value,S=k===E.indexOf(r);if(!C&&!S)return _.current;const $=(()=>{if(b!==k){if(C&&k!==-1)return b>k?"from-end":"from-start";if(S&&b!==-1)return b>k?"to-start":"to-end"}return null})();return _.current=$,$},[d.previousValue,d.value,d.dir,v,r]);return h.createElement(j1,{asChild:!0},h.createElement(Gd,Y({id:y,"aria-labelledby":p,"data-motion":g,"data-orientation":d.orientation},u,{ref:f,onDismiss:()=>{var x;const E=new Event(Ka,{bubbles:!0,cancelable:!0});(x=c.current)===null||x===void 0||x.dispatchEvent(E)},onFocusOutside:se(e.onFocusOutside,x=>{var E;s();const b=x.target;(E=d.rootNavigationMenu)!==null&&E!==void 0&&E.contains(b)&&x.preventDefault()}),onPointerDownOutside:se(e.onPointerDownOutside,x=>{var E;const b=x.target,k=v().some(S=>{var $;return($=S.ref.current)===null||$===void 0?void 0:$.contains(b)}),C=d.isRootMenu&&((E=d.viewport)===null||E===void 0?void 0:E.contains(b));(k||C||!d.isRootMenu)&&x.preventDefault()}),onKeyDown:se(e.onKeyDown,x=>{const E=x.altKey||x.ctrlKey||x.metaKey;if(x.key==="Tab"&&!E){const C=wu(x.currentTarget),S=document.activeElement,$=C.findIndex(M=>M===S),O=x.shiftKey?C.slice(0,$).reverse():C.slice($+1,C.length);if(tf(O))x.preventDefault();else{var k;(k=i.current)===null||k===void 0||k.focus()}}}),onEscapeKeyDown:se(e.onEscapeKeyDown,x=>{a.current=!0})})))}),x_="FocusGroup",j1=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=Ar(x_,n);return h.createElement(xu.Provider,{scope:n},h.createElement(xu.Slot,{scope:n},h.createElement(fe.div,Y({dir:o.dir},r,{ref:t}))))}),Ih=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],w_="FocusGroupItem",F1=h.forwardRef((e,t)=>{const{__scopeNavigationMenu:n,...r}=e,o=r_(n),i=Ar(w_,n);return h.createElement(xu.ItemSlot,{scope:n},h.createElement(fe.button,Y({},r,{ref:t,onKeyDown:se(e.onKeyDown,a=>{if(["Home","End",...Ih].includes(a.key)){let s=o().map(c=>c.ref.current);if([i.dir==="rtl"?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(a.key)&&s.reverse(),Ih.includes(a.key)){const c=s.indexOf(a.currentTarget);s=s.slice(c+1)}setTimeout(()=>tf(s)),a.preventDefault()}})})))});function wu(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function tf(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}function __(e){return e.forEach(t=>{t.dataset.tabindex=t.getAttribute("tabindex")||"",t.setAttribute("tabindex","-1")}),()=>{e.forEach(t=>{const n=t.dataset.tabindex;t.setAttribute("tabindex",n)})}}function z1(e){return e?"open":"closed"}function U1(e,t){return`${e}-trigger-${t}`}function V1(e,t){return`${e}-content-${t}`}function _u(e){return t=>t.pointerType==="mouse"?e(t):void 0}const E_=l_,C_=u_,b_=p_,S_=h_,k_=v_,T_=m_;var $_="var(--vocs_NavigationMenu_chevronDownIcon)",P_="vocs_NavigationMenu_content",R_="vocs_NavigationMenu_item",N_="vocs_NavigationMenu_link",A_="vocs_NavigationMenu_list",I_="vocs_NavigationMenu",L_="vocs_NavigationMenu_trigger vocs_NavigationMenu_link";const B1=e=>w.jsx(E_,{...e,className:D(e.className,I_)}),H1=e=>w.jsx(C_,{...e,className:D(e.className,A_)}),Jl=({active:e,children:t,className:n,href:r})=>w.jsx(k_,{asChild:!0,children:w.jsx(on,{"data-active":e,className:D(n,N_),href:r,variant:"styleless",children:t})}),W1=e=>w.jsx(b_,{...e,className:D(e.className,R_)}),K1=({active:e,className:t,...n})=>{const{basePath:r}=Ke(),o=r;return w.jsx(S_,{...n,"data-active":e,className:D(t,L_),style:Gt({[$_]:`url(${o}/.vocs/icons/chevron-down.svg)`})})},G1=e=>w.jsx(T_,{...e,className:D(e.className,P_)});function Y1(){return w.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 127.14 96.36",children:[w.jsx("title",{children:"Discord"}),w.jsx("g",{id:"图层_2","data-name":"图层 2",children:w.jsx("g",{id:"Discord_Logos","data-name":"Discord Logos",children:w.jsx("g",{id:"Discord_Logo_-_Large_-_White","data-name":"Discord Logo - Large - White",children:w.jsx("path",{d:"M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z",fill:"currentColor"})})})})]})}function Q1(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 98 96",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"GitHub"}),w.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z",fill:"currentColor"})]})}function O_(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 78 82",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Moon"}),w.jsx("path",{d:"M62.8455 45.9668C63.6268 45.9668 64.2127 45.3809 64.3104 44.5508C65.4334 34.3457 66.0682 33.9551 76.4197 32.3438C77.3963 32.1973 77.9334 31.7578 77.9334 30.8789C77.9334 30.0977 77.3963 29.5605 76.6151 29.4629C66.1658 27.4609 65.4334 27.4609 64.3104 17.2559C64.2127 16.377 63.6268 15.8398 62.8455 15.8398C62.0154 15.8398 61.4783 16.377 61.3807 17.207C60.1111 27.6074 59.6229 28.0957 49.0272 29.4629C48.2947 29.5117 47.7088 30.0977 47.7088 30.8789C47.7088 31.709 48.2947 32.1973 49.0272 32.3438C59.6229 34.3457 60.0623 34.4434 61.3807 44.6484C61.4783 45.3809 62.0154 45.9668 62.8455 45.9668ZM44.535 19.5508C45.0233 19.5508 45.3162 19.2578 45.4139 18.7695C46.6834 12.4707 46.5369 12.373 53.1287 11.0547C53.5682 10.957 53.91 10.7129 53.91 10.1758C53.91 9.63868 53.5682 9.39448 53.1287 9.29688C46.5369 7.97848 46.6834 7.88089 45.4139 1.58199C45.3162 1.09379 45.0233 0.800781 44.535 0.800781C43.9979 0.800781 43.7049 1.09379 43.6072 1.58199C42.3377 7.88089 42.4842 7.97848 35.9412 9.29688C35.4529 9.39448 35.1111 9.63868 35.1111 10.1758C35.1111 10.7129 35.4529 10.957 35.9412 11.0547C42.4842 12.373 42.3865 12.4707 43.6072 18.7695C43.7049 19.2578 43.9979 19.5508 44.535 19.5508Z",fill:"currentColor"}),w.jsx("path",{d:"M34.3298 81.2696C48.49 81.2696 59.9157 74.043 65.0915 61.7872C65.8239 59.9806 65.5798 58.6134 64.7497 57.7833C64.0173 57.0509 62.7478 56.9044 61.3318 57.4903C58.4509 58.6134 54.9353 59.2481 50.6384 59.2481C33.695 59.2481 22.7575 48.6036 22.7575 32.2462C22.7575 27.4122 23.6853 22.6759 24.7595 20.5763C25.5407 18.9161 25.4919 17.5001 24.8083 16.67C24.0271 15.7423 22.6599 15.4005 20.7068 16.1329C8.64624 20.7716 0.345459 33.4181 0.345459 47.8712C0.345459 66.8165 14.5056 81.2696 34.3298 81.2696ZM34.4275 74.5801C18.4607 74.5801 7.03494 62.9591 7.03494 47.3341C7.03494 38.2521 10.9411 30.0489 17.6306 24.629C16.8005 27.0704 16.361 30.6837 16.361 34.1505C16.361 52.8517 29.5446 65.6935 48.8806 65.6935C52.0544 65.6935 54.9841 65.3517 56.4001 64.9122C51.615 70.918 43.4607 74.5801 34.4275 74.5801Z",fill:"currentColor"})]})}function D_(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 84 84",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Sun"}),w.jsx("path",{d:"M41.8675 15.5254C43.9183 15.5254 45.6273 13.7676 45.6273 11.7168V3.80658C45.6273 1.75588 43.9183 0.046875 41.8675 0.046875C39.7679 0.046875 38.0589 1.75588 38.0589 3.80658V11.7168C38.0589 13.7676 39.7679 15.5254 41.8675 15.5254ZM60.3246 23.2402C61.7895 24.7051 64.2309 24.7539 65.7446 23.2402L71.3598 17.6738C72.7758 16.209 72.7758 13.7188 71.3598 12.2539C69.8949 10.7891 67.4535 10.7891 65.9887 12.2539L60.3246 17.918C58.9086 19.3828 58.9086 21.7754 60.3246 23.2402ZM67.9906 41.7461C67.9906 43.7969 69.7485 45.5547 71.7992 45.5547H79.6117C81.7113 45.5547 83.4202 43.7969 83.4202 41.7461C83.4202 39.6953 81.7113 37.9375 79.6117 37.9375H71.7992C69.7485 37.9375 67.9906 39.6953 67.9906 41.7461ZM60.3246 60.3008C58.9086 61.7656 58.9086 64.1582 60.3246 65.623L65.9887 71.2871C67.4535 72.7519 69.8949 72.7031 71.3598 71.2383C72.7758 69.7734 72.7758 67.332 71.3598 65.8672L65.6957 60.3008C64.2309 58.8359 61.7895 58.8359 60.3246 60.3008ZM41.8675 67.9668C39.7679 67.9668 38.0589 69.7246 38.0589 71.7754V79.6855C38.0589 81.7363 39.7679 83.4453 41.8675 83.4453C43.9183 83.4453 45.6273 81.7363 45.6273 79.6855V71.7754C45.6273 69.7246 43.9183 67.9668 41.8675 67.9668ZM23.3617 60.3008C21.8969 58.8359 19.4067 58.8359 17.9418 60.3008L12.3754 65.8184C10.9106 67.2832 10.9106 69.7246 12.3266 71.1894C13.7914 72.6543 16.2328 72.7031 17.6977 71.2383L23.3129 65.623C24.7778 64.1582 24.7778 61.7656 23.3617 60.3008ZM15.6957 41.7461C15.6957 39.6953 13.9867 37.9375 11.8871 37.9375H4.07455C1.97497 37.9375 0.265991 39.6953 0.265991 41.7461C0.265991 43.7969 1.97497 45.5547 4.07455 45.5547H11.8871C13.9867 45.5547 15.6957 43.7969 15.6957 41.7461ZM23.3129 23.2402C24.7778 21.8242 24.7778 19.334 23.3617 17.918L17.7465 12.2539C16.3305 10.8379 13.8403 10.7891 12.4242 12.2539C10.9594 13.7188 10.9594 16.209 12.3754 17.625L17.9418 23.2402C19.4067 24.7051 21.8481 24.7051 23.3129 23.2402Z",fill:"currentColor"}),w.jsx("path",{d:"M41.8675 61.668C52.7073 61.668 61.7405 52.6836 61.7405 41.7461C61.7405 30.8086 52.7073 21.8242 41.8675 21.8242C30.9788 21.8242 21.9456 30.8086 21.9456 41.7461C21.9456 52.6836 30.9788 61.668 41.8675 61.668ZM41.8675 55.0273C34.5921 55.0273 28.5862 48.9727 28.5862 41.7461C28.5862 34.5195 34.5921 28.4648 41.8675 28.4648C49.0941 28.4648 55.0999 34.5195 55.0999 41.7461C55.0999 48.9727 49.0941 55.0273 41.8675 55.0273Z",fill:"currentColor"})]})}function Z1(){return w.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 50 50",children:[w.jsx("title",{children:"Telegram"}),w.jsx("path",{d:"M25 2c12.703 0 23 10.297 23 23S37.703 48 25 48 2 37.703 2 25 12.297 2 25 2zm7.934 32.375c.423-1.298 2.405-14.234 2.65-16.783.074-.772-.17-1.285-.648-1.514-.578-.278-1.434-.139-2.427.219-1.362.491-18.774 7.884-19.78 8.312-.954.405-1.856.847-1.856 1.487 0 .45.267.703 1.003.966.766.273 2.695.858 3.834 1.172 1.097.303 2.346.04 3.046-.395.742-.461 9.305-6.191 9.92-6.693.614-.502 1.104.141.602.644-.502.502-6.38 6.207-7.155 6.997-.941.959-.273 1.953.358 2.351.721.454 5.906 3.932 6.687 4.49.781.558 1.573.811 2.298.811.725 0 1.107-.955 1.468-2.064z",fill:"currentColor"})]})}function X1(){return w.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Warpcast"}),w.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.92028 31.9901H24.0698C28.4371 31.9901 31.9901 28.4373 31.9901 24.0699V7.92053C31.9901 3.55319 28.4371 0.000137329 24.0698 0.000137329H7.92028C3.55304 0.000137329 0 3.55319 0 7.92053V24.0699C0 28.4373 3.55304 31.9901 7.92028 31.9901ZM19.4134 16.048L20.9908 10.124H25.1383L21.2924 23.2218H17.7062L15.9951 17.1397L14.284 23.2218H10.7055L6.85115 10.124H10.999L12.5915 16.0916L14.1891 10.124H17.8309L19.4134 16.048Z",fill:"currentColor"})]})}function J1(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"X"}),w.jsx("path",{d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z",fill:"currentColor"})]})}Eu.Curtain=M_;function Eu(){var r,o,i,a,l,s;const e=Ke(),{showLogo:t,showSidebar:n}=Nr();return w.jsxs("div",{className:D(B4,t&&!n&&H4),children:[w.jsx(j4,{}),t&&w.jsx("div",{className:V4,children:w.jsx("div",{className:U4,children:w.jsx(Qn,{to:"/",style:{alignItems:"center",display:"flex",height:"56px",marginTop:"4px"},children:w.jsx(Jd,{})})})}),w.jsx("div",{className:Rh}),w.jsxs("div",{className:Rh,children:[(((r=e.topNav)==null?void 0:r.length)||0)>0&&w.jsxs(w.Fragment,{children:[w.jsx("div",{className:Js,children:w.jsx(j_,{})}),w.jsx("div",{className:D(Ph,(((o=e.topNav)==null?void 0:o.length)||0)>3?$a:null)})]}),e.socials&&((i=e.socials)==null?void 0:i.length)>0&&w.jsxs(w.Fragment,{children:[w.jsx("div",{className:D(Js,(((a=e.topNav)==null?void 0:a.length)||0)>3?$a:null),style:{marginLeft:"-8px",marginRight:"-8px"},children:e.socials.map((u,d)=>w.jsx("div",{className:Cl,children:w.jsx(B_,{...u})},d))}),!((l=e.theme)!=null&&l.colorScheme)&&w.jsx("div",{className:D(Ph,$a)})]}),!((s=e.theme)!=null&&s.colorScheme)&&w.jsx("div",{className:D(Js,$a),style:{marginLeft:"-8px",marginRight:"-8px"},children:w.jsx("div",{className:Cl,children:w.jsx(z_,{})})})]})]})}function M_(){return w.jsx("div",{className:z4})}function j_(){const{topNav:e}=Ke();if(!e)return null;const{pathname:t}=Oe(),n=Gi({pathname:t,items:e});return w.jsx(B1,{delayDuration:0,children:w.jsx(H1,{children:e.map((r,o)=>r.link?w.jsx(Jl,{active:n.includes(r.id),className:Cl,href:r.link,children:r.text},o):r.items?w.jsxs(W1,{className:Cl,children:[w.jsx(K1,{active:n.includes(r.id),children:r.text}),w.jsx(G1,{className:F4,children:w.jsx(F_,{items:r.items})})]},o):null)})})}function F_({items:e}){const{pathname:t}=Oe(),n=Gi({pathname:t,items:e});return w.jsx("ul",{children:e==null?void 0:e.map((r,o)=>w.jsx(Jl,{active:n.includes(r.id),href:r.link,children:r.text},o))})}function z_(){const{toggle:e}=S3();return w.jsxs("button",{className:D1,onClick:e,type:"button",children:[w.jsx(ct,{className:D(gu,k3),size:"20px",label:"Light",icon:D_}),w.jsx(ct,{className:D(gu,T3),size:"20px",label:"Dark",icon:O_,style:{marginTop:"-2px"}})]})}const U_={discord:Y1,github:Q1,telegram:Z1,warpcast:X1,x:J1},V_={discord:"23px",github:"20px",telegram:"21px",warpcast:"20px",x:"18px"};function B_({icon:e,label:t,link:n}){return w.jsx("a",{className:D1,href:n,target:"_blank",rel:"noopener noreferrer",children:w.jsx(ct,{className:gu,label:t,icon:U_[e],size:V_[e]||"20px"})})}const H_=({children:e})=>e,W_=({children:e})=>e;function K_(){const e=Rr(),t=Ke();return h.useMemo(()=>{const{pattern:n="",text:r="Edit page"}=t.editLink??{};let o="";return typeof n=="function"?o="":e.filePath&&(o=n.replace(/:path/g,e.filePath)),{url:o,text:r}},[t.editLink,e.filePath])}function q1(){const[e,t]=h.useState(!1);return h.useEffect(()=>{t(!0)},[]),e}var G_="vocs_Footer_container",Y_="vocs_Footer_editLink",Q_="vocs_Footer_lastUpdated",Z_="vocs_Footer_navigation",Lh="vocs_Footer_navigationIcon",X_="vocs_Footer_navigationIcon_left",J_="vocs_Footer_navigationIcon_right",Oh="vocs_Footer_navigationItem",q_="vocs_Footer_navigationItem_left",eE="vocs_Footer_navigationItem_right",Dh="vocs_Footer_navigationText",Mh="vocs_Footer_navigationTextInner",tE="vocs_Footer";function nE(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 72 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Arrow Left"}),w.jsx("path",{d:"M0.325684 29.7461C0.325684 30.8203 0.813963 31.8457 1.69286 32.6758L26.8882 57.8223C27.7671 58.6524 28.7437 59.043 29.7691 59.043C31.9175 59.043 33.5777 57.4317 33.5777 55.2344C33.5777 54.209 33.2359 53.1836 32.5035 52.5L25.7652 45.5176L9.26126 30.6738L8.38236 32.7734L21.3706 33.7012H67.4644C69.7593 33.7012 71.3706 32.041 71.3706 29.7461C71.3706 27.4512 69.7593 25.791 67.4644 25.791H21.3706L8.38236 26.7188L9.26126 28.8672L25.7652 13.9746L32.5035 6.99221C33.2359 6.30861 33.5777 5.28322 33.5777 4.25782C33.5777 2.06052 31.9175 0.449219 29.7691 0.449219C28.7437 0.449219 27.7671 0.839814 26.8882 1.66991L1.69286 26.8164C0.813963 27.6465 0.325684 28.6719 0.325684 29.7461Z",fill:"currentColor"})]})}function rE(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 72 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Arrow Right"}),w.jsx("path",{d:"M71.3706 29.7461C71.3706 28.6719 70.8824 27.6465 70.0035 26.8164L44.8081 1.66991C43.9292 0.839814 42.9527 0.449219 41.9273 0.449219C39.7789 0.449219 38.1187 2.06052 38.1187 4.25782C38.1187 5.28322 38.4605 6.30861 39.1929 6.99221L45.9312 13.9746L62.4351 28.8672L63.314 26.7188L50.3257 25.791H4.23196C1.93706 25.791 0.325684 27.4512 0.325684 29.7461C0.325684 32.041 1.93706 33.7012 4.23196 33.7012H50.3257L63.314 32.7734L62.4351 30.6738L45.9312 45.5176L39.1929 52.5C38.4605 53.1836 38.1187 54.209 38.1187 55.2344C38.1187 57.4317 39.7789 59.043 41.9273 59.043C42.9527 59.043 43.9292 58.6524 44.8081 57.8223L70.0035 32.6758C70.8824 31.8457 71.3706 30.8203 71.3706 29.7461Z",fill:"currentColor"})]})}function oE(){const{layout:e}=Nr(),t=q1(),n=Rr(),r=h.useMemo(()=>n.lastUpdatedAt?new Date(n.lastUpdatedAt):void 0,[n.lastUpdatedAt]),o=h.useMemo(()=>r==null?void 0:r.toISOString(),[r]);return w.jsxs("footer",{className:tE,children:[e==="docs"&&w.jsxs(w.Fragment,{children:[w.jsxs("div",{className:G_,children:[w.jsx(iE,{}),t&&n.lastUpdatedAt&&w.jsxs("div",{className:Q_,children:["Last updated:"," ",w.jsx("time",{dateTime:o,children:new Intl.DateTimeFormat(void 0,{dateStyle:"short",timeStyle:"short"}).format(r)})]})]}),w.jsx(aE,{})]}),w.jsx(W_,{})]})}function iE(){const e=K_();return e.url?w.jsx("div",{children:w.jsxs(on,{className:Y_,href:e.url,children:[w.jsx(E3,{})," ",e.text]})}):null}function aE(){const e=q1(),t=Yl(),{pathname:n}=Oe(),r=h.useMemo(()=>eg(t.items||[]).filter(s=>s.link),[t]),o=h.useMemo(()=>r.findIndex(s=>s.link===n),[r,n]),[i,a]=h.useMemo(()=>o<0?[]:o===0?[null,r[o+1]]:o===r.length-1?[r[o-1],null]:[r[o-1],r[o+1]],[o,r]),l=Bd();return h.useEffect(()=>{let s=o,u=!1;const d=f=>{if(f.code==="ShiftLeft"&&(u=!0),u){const p=r[s+1],y=r[s-1];f.code==="ArrowRight"&&(p!=null&&p.link)&&(l(p.link),s++),f.code==="ArrowLeft"&&(y!=null&&y.link)&&(l(y.link),s--)}},c=f=>{f.code==="ShiftLeft"&&(u=!1)};return window.addEventListener("keydown",d),window.addEventListener("keyup",c),()=>{window.removeEventListener("keydown",d),window.removeEventListener("keyup",c)}},[]),e?w.jsxs("div",{className:Z_,children:[i?w.jsxs(on,{className:D(Oh,q_),href:i.link,variant:"styleless",children:[w.jsxs("div",{className:Dh,children:[w.jsx("div",{className:D(Lh,X_),style:Gt({[yu]:"0.75em"}),children:w.jsx(ct,{label:"Previous",icon:nE})}),w.jsx("div",{className:Mh,children:i.text})]}),w.jsx(ro,{description:"Previous",keys:["shift","←"]})]}):w.jsx("div",{}),a?w.jsxs(on,{className:D(Oh,eE),href:a.link,variant:"styleless",children:[w.jsxs("div",{className:Dh,children:[w.jsx("div",{className:Mh,style:{textAlign:"right"},children:a.text}),w.jsx("div",{className:D(Lh,J_),style:Gt({[yu]:"0.75em"}),children:w.jsx(ct,{label:"Next",icon:rE})})]}),w.jsx(ro,{description:"Next",keys:["shift","→"]})]}):w.jsx("div",{})]}):null}function eg(e){const t=[];for(const n of e){if(n.items){t.push(...eg(n.items));continue}t.push(n)}return t}const tg="Collapsible",[lE,ng]=Cn(tg),[sE,nf]=lE(tg),cE=h.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:i,onOpenChange:a,...l}=e,[s=!1,u]=or({prop:r,defaultProp:o,onChange:a});return h.createElement(sE,{scope:n,disabled:i,contentId:an(),open:s,onOpenToggle:h.useCallback(()=>u(d=>!d),[u])},h.createElement(fe.div,Y({"data-state":rf(s),"data-disabled":i?"":void 0},l,{ref:t})))}),uE="CollapsibleTrigger",dE=h.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=nf(uE,n);return h.createElement(fe.button,Y({type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":rf(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled},r,{ref:t,onClick:se(e.onClick,o.onOpenToggle)}))}),rg="CollapsibleContent",fE=h.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=nf(rg,e.__scopeCollapsible);return h.createElement(bn,{present:n||o.open},({present:i})=>h.createElement(pE,Y({},r,{ref:t,present:i})))}),pE=h.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...i}=e,a=nf(rg,n),[l,s]=h.useState(r),u=h.useRef(null),d=Ve(t,u),c=h.useRef(0),f=c.current,p=h.useRef(0),y=p.current,v=a.open||l,_=h.useRef(v),m=h.useRef();return h.useEffect(()=>{const g=requestAnimationFrame(()=>_.current=!1);return()=>cancelAnimationFrame(g)},[]),xn(()=>{const g=u.current;if(g){m.current=m.current||{transitionDuration:g.style.transitionDuration,animationName:g.style.animationName},g.style.transitionDuration="0s",g.style.animationName="none";const x=g.getBoundingClientRect();c.current=x.height,p.current=x.width,_.current||(g.style.transitionDuration=m.current.transitionDuration,g.style.animationName=m.current.animationName),s(r)}},[a.open,r]),h.createElement(fe.div,Y({"data-state":rf(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!v},i,{ref:d,style:{"--radix-collapsible-content-height":f?`${f}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...e.style}}),v&&o)});function rf(e){return e?"open":"closed"}const hE=cE,vE=dE,mE=fE,Ir="Accordion",gE=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[of,yE,xE]=Xl(Ir),[ql,yk]=Cn(Ir,[xE,ng]),af=ng(),og=X.forwardRef((e,t)=>{const{type:n,...r}=e,o=r,i=r;return X.createElement(of.Provider,{scope:e.__scopeAccordion},n==="multiple"?X.createElement(CE,Y({},i,{ref:t})):X.createElement(EE,Y({},o,{ref:t})))});og.propTypes={type(e){const t=e.value||e.defaultValue;return e.type&&!["single","multiple"].includes(e.type)?new Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`."):e.type==="multiple"&&typeof t=="string"?new Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`."):e.type==="single"&&Array.isArray(t)?new Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`."):null}};const[ig,wE]=ql(Ir),[ag,_E]=ql(Ir,{collapsible:!1}),EE=X.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},collapsible:i=!1,...a}=e,[l,s]=or({prop:n,defaultProp:r,onChange:o});return X.createElement(ig,{scope:e.__scopeAccordion,value:l?[l]:[],onItemOpen:s,onItemClose:X.useCallback(()=>i&&s(""),[i,s])},X.createElement(ag,{scope:e.__scopeAccordion,collapsible:i},X.createElement(lg,Y({},a,{ref:t}))))}),CE=X.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...i}=e,[a=[],l]=or({prop:n,defaultProp:r,onChange:o}),s=X.useCallback(d=>l((c=[])=>[...c,d]),[l]),u=X.useCallback(d=>l((c=[])=>c.filter(f=>f!==d)),[l]);return X.createElement(ig,{scope:e.__scopeAccordion,value:a,onItemOpen:s,onItemClose:u},X.createElement(ag,{scope:e.__scopeAccordion,collapsible:!0},X.createElement(lg,Y({},i,{ref:t}))))}),[bE,lf]=ql(Ir),lg=X.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:o,orientation:i="vertical",...a}=e,l=X.useRef(null),s=Ve(l,t),u=yE(n),c=Zl(o)==="ltr",f=se(e.onKeyDown,p=>{var y;if(!gE.includes(p.key))return;const v=p.target,_=u().filter($=>{var N;return!((N=$.ref.current)!==null&&N!==void 0&&N.disabled)}),m=_.findIndex($=>$.ref.current===v),g=_.length;if(m===-1)return;p.preventDefault();let x=m;const E=0,b=g-1,k=()=>{x=m+1,x>b&&(x=E)},C=()=>{x=m-1,x{const{__scopeAccordion:n,value:r,...o}=e,i=lf(Cu,n),a=wE(Cu,n),l=af(n),s=an(),u=r&&a.value.includes(r)||!1,d=i.disabled||e.disabled;return X.createElement(SE,{scope:n,open:u,disabled:d,triggerId:s},X.createElement(hE,Y({"data-orientation":i.orientation,"data-state":RE(u)},l,o,{ref:t,disabled:d,open:u,onOpenChange:c=>{c?a.onItemOpen(r):a.onItemClose(r)}})))}),jh="AccordionTrigger",TE=X.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=lf(Ir,n),i=sg(jh,n),a=_E(jh,n),l=af(n);return X.createElement(of.ItemSlot,{scope:n},X.createElement(vE,Y({"aria-disabled":i.open&&!a.collapsible||void 0,"data-orientation":o.orientation,id:i.triggerId},l,r,{ref:t})))}),$E="AccordionContent",PE=X.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,o=lf(Ir,n),i=sg($E,n),a=af(n);return X.createElement(mE,Y({role:"region","aria-labelledby":i.triggerId,"data-orientation":o.orientation},a,r,{ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}}))});function RE(e){return e?"open":"closed"}const NE=og,AE=kE,IE=TE,LE=PE;var OE="vocs_MobileSearch_searchButton";function DE(){const[e,t]=h.useState(!1);return w.jsxs(b1,{open:e,onOpenChange:t,children:[w.jsx(S1,{asChild:!0,children:w.jsx("button",{className:OE,type:"button","aria-label":"Search",children:w.jsx(Kd,{height:21,width:21})})}),w.jsx(O1,{open:e,onClose:()=>t(!1)})]})}var ME="vocs_MobileTopNav_button",jE="var(--vocs_MobileTopNav_chevronDownIcon)",FE="var(--vocs_MobileTopNav_chevronUpIcon)",zE="vocs_MobileTopNav_content",UE="vocs_MobileTopNav_curtain",Fh="vocs_MobileTopNav_curtainGroup",ec="vocs_MobileTopNav_curtainItem",VE="vocs_MobileTopNav_divider",Pa="vocs_MobileTopNav_group",BE="vocs_MobileTopNav_icon",HE="vocs_MobileTopNav_item",WE="vocs_MobileTopNav_logo",KE="vocs_MobileTopNav_menuTitle",cg="vocs_MobileTopNav_menuTrigger",ug="vocs_MobileTopNav_navigation",GE="vocs_MobileTopNav_navigationContent",ei="vocs_MobileTopNav_navigationItem",YE="vocs_MobileTopNav_trigger",QE="vocs_MobileTopNav_navigation_compact",ZE="vocs_MobileTopNav_outlinePopover",zh="vocs_MobileTopNav_outlineTrigger",XE="vocs_MobileTopNav",Uh="vocs_MobileTopNav_section",JE="vocs_MobileTopNav_separator",qE="vocs_MobileTopNav_sidebarPopover",e6="vocs_MobileTopNav_topNavPopover";function t6(e,t){let n=!1;return()=>{n=!0,setTimeout(()=>{n&&e(),n=!1},t)}}var n6="vocs_Outline_heading",r6="vocs_Outline_item",o6="vocs_Outline_items",i6="vocs_Outline_link",a6="vocs_Outline_nav",l6="vocs_Outline";function dg({minLevel:e=2,maxLevel:t=3,highlightActive:n=!0,onClickItem:r,showTitle:o=!0}={}){const{outlineFooter:i}=Ke(),{showOutline:a}=Nr(),l=typeof a=="number"?e+a-1:t,s=h.useRef(!0),{pathname:u,hash:d}=Oe(),[c,f]=h.useState([]);h.useEffect(()=>{if(typeof window>"u")return;const m=Array.from(document.querySelectorAll(`.${Z0}`));f(m)},[u]);const p=h.useMemo(()=>c?c.map(m=>{const g=m.querySelector(`.${X0}`);if(!g)return null;const x=g.getBoundingClientRect(),E=g.id,b=Number(m.tagName[1]),k=m.textContent,C=window.scrollY+x.top;return bl?null:{id:E,level:b,slugTargetElement:g,text:k,topOffset:C}}).filter(Boolean):[],[c,l,e]),[y,v]=h.useState(d.replace("#",""));if(h.useEffect(()=>{if(typeof window>"u")return;const m=new IntersectionObserver(([g])=>{var E;if(!s.current)return;const x=g.target.id;if(g.isIntersecting)v(x);else{if(!(g.target.getBoundingClientRect().top>0))return;const C=p.findIndex($=>$.id===y),S=(E=p[C-1])==null?void 0:E.id;v(S)}},{rootMargin:"0px 0px -95% 0px"});for(const g of p)m.observe(g.slugTargetElement);return()=>m.disconnect()},[y,p]),h.useEffect(()=>{if(typeof window>"u")return;const m=new IntersectionObserver(([g])=>{var E;if(!s.current)return;const x=(E=p[p.length-1])==null?void 0:E.id;g.isIntersecting?v(x):y===x&&v(p[p.length-2].id)});return m.observe(document.querySelector("[data-bottom-observer]")),()=>m.disconnect()},[y,p]),h.useEffect(()=>{if(typeof window>"u")return;const m=t6(()=>{var g,x,E;if(s.current){if(window.scrollY===0){v((g=p[0])==null?void 0:g.id);return}if(window.scrollY+document.documentElement.clientHeight>=document.documentElement.scrollHeight){v((x=p[p.length-1])==null?void 0:x.id);return}for(let b=0;bwindow.removeEventListener("scroll",m)},[p]),p.length===0)return null;const _=p.filter(m=>m.level===e);return w.jsxs("aside",{className:l6,children:[w.jsxs("nav",{className:a6,children:[o&&w.jsx("h2",{className:n6,children:"On this page"}),w.jsx(fg,{activeId:n?y:null,items:p,onClickItem:()=>{r==null||r(),s.current=!1,setTimeout(()=>{s.current=!0},500)},levelItems:_,setActiveId:v})]}),_l(i)]})}function fg({activeId:e,items:t,levelItems:n,onClickItem:r,setActiveId:o}){return w.jsx("ul",{className:o6,children:n.map(({id:i,level:a,text:l})=>{const s=`#${i}`,u=e===i,d=(()=>{var v;const f=t.findIndex(_=>_.id===i)+1,p=(v=t[f])==null?void 0:v.level;if(p<=a)return null;const y=[];for(let _=f;_{r==null||r(),o(i)},className:i6,children:l})}),d&&w.jsx(fg,{activeId:e,levelItems:d,items:t,onClickItem:r,setActiveId:o})]},i)})})}const s6=["top","right","bottom","left"],tn=Math.min,xt=Math.max,Sl=Math.round,Ra=Math.floor,Zn=e=>({x:e,y:e}),c6={left:"right",right:"left",bottom:"top",top:"bottom"},u6={start:"end",end:"start"};function bu(e,t,n){return xt(e,tn(t,n))}function wn(e,t){return typeof e=="function"?e(t):e}function _n(e){return e.split("-")[0]}function Io(e){return e.split("-")[1]}function sf(e){return e==="x"?"y":"x"}function cf(e){return e==="y"?"height":"width"}function Lo(e){return["top","bottom"].includes(_n(e))?"y":"x"}function uf(e){return sf(Lo(e))}function d6(e,t,n){n===void 0&&(n=!1);const r=Io(e),o=uf(e),i=cf(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=kl(a)),[a,kl(a)]}function f6(e){const t=kl(e);return[Su(e),t,Su(t)]}function Su(e){return e.replace(/start|end/g,t=>u6[t])}function p6(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}function h6(e,t,n,r){const o=Io(e);let i=p6(_n(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(Su)))),i}function kl(e){return e.replace(/left|right|bottom|top/g,t=>c6[t])}function v6(e){return{top:0,right:0,bottom:0,left:0,...e}}function pg(e){return typeof e!="number"?v6(e):{top:e,right:e,bottom:e,left:e}}function Tl(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Vh(e,t,n){let{reference:r,floating:o}=e;const i=Lo(t),a=uf(t),l=cf(a),s=_n(t),u=i==="y",d=r.x+r.width/2-o.width/2,c=r.y+r.height/2-o.height/2,f=r[l]/2-o[l]/2;let p;switch(s){case"top":p={x:d,y:r.y-o.height};break;case"bottom":p={x:d,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:c};break;case"left":p={x:r.x-o.width,y:c};break;default:p={x:r.x,y:r.y}}switch(Io(t)){case"start":p[a]-=f*(n&&u?-1:1);break;case"end":p[a]+=f*(n&&u?-1:1);break}return p}const m6=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,l=i.filter(Boolean),s=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:c}=Vh(u,r,s),f=r,p={},y=0;for(let v=0;v({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:l,middlewareData:s}=t,{element:u,padding:d=0}=wn(e,t)||{};if(u==null)return{};const c=pg(d),f={x:n,y:r},p=uf(o),y=cf(p),v=await a.getDimensions(u),_=p==="y",m=_?"top":"left",g=_?"bottom":"right",x=_?"clientHeight":"clientWidth",E=i.reference[y]+i.reference[p]-f[p]-i.floating[y],b=f[p]-i.reference[p],k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let C=k?k[x]:0;(!C||!await(a.isElement==null?void 0:a.isElement(k)))&&(C=l.floating[x]||i.floating[y]);const S=E/2-b/2,$=C/2-v[y]/2-1,N=tn(c[m],$),O=tn(c[g],$),M=N,L=C-v[y]-O,P=C/2-v[y]/2+S,V=bu(M,P,L),Q=!s.arrow&&Io(o)!=null&&P!==V&&i.reference[y]/2-(PM<=0)){var $,N;const M=((($=i.flip)==null?void 0:$.index)||0)+1,L=b[M];if(L)return{data:{index:M,overflows:S},reset:{placement:L}};let P=(N=S.filter(V=>V.overflows[0]<=0).sort((V,Q)=>V.overflows[1]-Q.overflows[1])[0])==null?void 0:N.placement;if(!P)switch(p){case"bestFit":{var O;const V=(O=S.map(Q=>[Q.placement,Q.overflows.filter(U=>U>0).reduce((U,I)=>U+I,0)]).sort((Q,U)=>Q[1]-U[1])[0])==null?void 0:O[0];V&&(P=V);break}case"initialPlacement":P=l;break}if(o!==P)return{reset:{placement:P}}}return{}}}};function Bh(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Hh(e){return s6.some(t=>e[t]>=0)}const x6=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=wn(e,t);switch(r){case"referenceHidden":{const i=await Mi(t,{...o,elementContext:"reference"}),a=Bh(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Hh(a)}}}case"escaped":{const i=await Mi(t,{...o,altBoundary:!0}),a=Bh(i,n.floating);return{data:{escapedOffsets:a,escaped:Hh(a)}}}default:return{}}}}};async function w6(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=_n(n),l=Io(n),s=Lo(n)==="y",u=["left","top"].includes(a)?-1:1,d=i&&s?-1:1,c=wn(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:y}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return l&&typeof y=="number"&&(p=l==="end"?y*-1:y),s?{x:p*d,y:f*u}:{x:f*u,y:p*d}}const _6=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:l}=t,s=await w6(t,e);return a===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:a}}}}},E6=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:_=>{let{x:m,y:g}=_;return{x:m,y:g}}},...s}=wn(e,t),u={x:n,y:r},d=await Mi(t,s),c=Lo(_n(o)),f=sf(c);let p=u[f],y=u[c];if(i){const _=f==="y"?"top":"left",m=f==="y"?"bottom":"right",g=p+d[_],x=p-d[m];p=bu(g,p,x)}if(a){const _=c==="y"?"top":"left",m=c==="y"?"bottom":"right",g=y+d[_],x=y-d[m];y=bu(g,y,x)}const v=l.fn({...t,[f]:p,[c]:y});return{...v,data:{x:v.x-n,y:v.y-r}}}}},C6=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:l=0,mainAxis:s=!0,crossAxis:u=!0}=wn(e,t),d={x:n,y:r},c=Lo(o),f=sf(c);let p=d[f],y=d[c];const v=wn(l,t),_=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(s){const x=f==="y"?"height":"width",E=i.reference[f]-i.floating[x]+_.mainAxis,b=i.reference[f]+i.reference[x]-_.mainAxis;pb&&(p=b)}if(u){var m,g;const x=f==="y"?"width":"height",E=["top","left"].includes(_n(o)),b=i.reference[c]-i.floating[x]+(E&&((m=a.offset)==null?void 0:m[c])||0)+(E?0:_.crossAxis),k=i.reference[c]+i.reference[x]+(E?0:((g=a.offset)==null?void 0:g[c])||0)-(E?_.crossAxis:0);yk&&(y=k)}return{[f]:p,[c]:y}}}},b6=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=()=>{},...l}=wn(e,t),s=await Mi(t,l),u=_n(n),d=Io(n),c=Lo(n)==="y",{width:f,height:p}=r.floating;let y,v;u==="top"||u==="bottom"?(y=u,v=d===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(v=u,y=d==="end"?"top":"bottom");const _=p-s.top-s.bottom,m=f-s.left-s.right,g=tn(p-s[y],_),x=tn(f-s[v],m),E=!t.middlewareData.shift;let b=g,k=x;if(c?k=d||E?tn(x,m):m:b=d||E?tn(g,_):_,E&&!d){const S=xt(s.left,0),$=xt(s.right,0),N=xt(s.top,0),O=xt(s.bottom,0);c?k=f-2*(S!==0||$!==0?S+$:xt(s.left,s.right)):b=p-2*(N!==0||O!==0?N+O:xt(s.top,s.bottom))}await a({...t,availableWidth:k,availableHeight:b});const C=await o.getDimensions(i.floating);return f!==C.width||p!==C.height?{reset:{rects:!0}}:{}}}};function Oo(e){return hg(e)?(e.nodeName||"").toLowerCase():"#document"}function Et(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function kn(e){var t;return(t=(hg(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function hg(e){return e instanceof Node||e instanceof Et(e).Node}function Je(e){return e instanceof Element||e instanceof Et(e).Element}function ln(e){return e instanceof HTMLElement||e instanceof Et(e).HTMLElement}function ku(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Et(e).ShadowRoot}function Qi(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Yt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function S6(e){return["table","td","th"].includes(Oo(e))}function df(e){const t=ff(),n=Yt(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function k6(e){let t=Xn(e);for(;ln(t)&&!So(t);){if(df(t))return t;t=Xn(t)}return null}function ff(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function So(e){return["html","body","#document"].includes(Oo(e))}function Yt(e){return Et(e).getComputedStyle(e)}function es(e){return Je(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Xn(e){if(Oo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ku(e)&&e.host||kn(e);return ku(t)?t.host:t}function vg(e){const t=Xn(e);return So(t)?e.ownerDocument?e.ownerDocument.body:e.body:ln(t)&&Qi(t)?t:vg(t)}function ji(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=vg(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=Et(o);return i?t.concat(a,a.visualViewport||[],Qi(o)?o:[],a.frameElement&&n?ji(a.frameElement):[]):t.concat(o,ji(o,[],n))}function mg(e){const t=Yt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ln(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=Sl(n)!==i||Sl(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}function pf(e){return Je(e)?e:e.contextElement}function fo(e){const t=pf(e);if(!ln(t))return Zn(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=mg(t);let a=(i?Sl(n.width):n.width)/r,l=(i?Sl(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const T6=Zn(0);function gg(e){const t=Et(e);return!ff()||!t.visualViewport?T6:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function $6(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Et(e)?!1:t}function br(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=pf(e);let a=Zn(1);t&&(r?Je(r)&&(a=fo(r)):a=fo(e));const l=$6(i,n,r)?gg(i):Zn(0);let s=(o.left+l.x)/a.x,u=(o.top+l.y)/a.y,d=o.width/a.x,c=o.height/a.y;if(i){const f=Et(i),p=r&&Je(r)?Et(r):r;let y=f,v=y.frameElement;for(;v&&r&&p!==y;){const _=fo(v),m=v.getBoundingClientRect(),g=Yt(v),x=m.left+(v.clientLeft+parseFloat(g.paddingLeft))*_.x,E=m.top+(v.clientTop+parseFloat(g.paddingTop))*_.y;s*=_.x,u*=_.y,d*=_.x,c*=_.y,s+=x,u+=E,y=Et(v),v=y.frameElement}}return Tl({width:d,height:c,x:s,y:u})}const P6=[":popover-open",":modal"];function hf(e){return P6.some(t=>{try{return e.matches(t)}catch{return!1}})}function R6(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=kn(r),l=t?hf(t.floating):!1;if(r===a||l&&i)return n;let s={scrollLeft:0,scrollTop:0},u=Zn(1);const d=Zn(0),c=ln(r);if((c||!c&&!i)&&((Oo(r)!=="body"||Qi(a))&&(s=es(r)),ln(r))){const f=br(r);u=fo(r),d.x=f.x+r.clientLeft,d.y=f.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+d.x,y:n.y*u.y-s.scrollTop*u.y+d.y}}function N6(e){return Array.from(e.getClientRects())}function yg(e){return br(kn(e)).left+es(e).scrollLeft}function A6(e){const t=kn(e),n=es(e),r=e.ownerDocument.body,o=xt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=xt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+yg(e);const l=-n.scrollTop;return Yt(r).direction==="rtl"&&(a+=xt(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:l}}function I6(e,t){const n=Et(e),r=kn(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;const u=ff();(!u||u&&t==="fixed")&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l,y:s}}function L6(e,t){const n=br(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=ln(e)?fo(e):Zn(1),a=e.clientWidth*i.x,l=e.clientHeight*i.y,s=o*i.x,u=r*i.y;return{width:a,height:l,x:s,y:u}}function Wh(e,t,n){let r;if(t==="viewport")r=I6(e,n);else if(t==="document")r=A6(kn(e));else if(Je(t))r=L6(t,n);else{const o=gg(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Tl(r)}function xg(e,t){const n=Xn(e);return n===t||!Je(n)||So(n)?!1:Yt(n).position==="fixed"||xg(n,t)}function O6(e,t){const n=t.get(e);if(n)return n;let r=ji(e,[],!1).filter(l=>Je(l)&&Oo(l)!=="body"),o=null;const i=Yt(e).position==="fixed";let a=i?Xn(e):e;for(;Je(a)&&!So(a);){const l=Yt(a),s=df(a);!s&&l.position==="fixed"&&(o=null),(i?!s&&!o:!s&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Qi(a)&&!s&&xg(e,a))?r=r.filter(d=>d!==a):o=l,a=Xn(a)}return t.set(e,r),r}function D6(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?hf(t)?[]:O6(t,this._c):[].concat(n),r],l=a[0],s=a.reduce((u,d)=>{const c=Wh(t,d,o);return u.top=xt(c.top,u.top),u.right=tn(c.right,u.right),u.bottom=tn(c.bottom,u.bottom),u.left=xt(c.left,u.left),u},Wh(t,l,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function M6(e){const{width:t,height:n}=mg(e);return{width:t,height:n}}function j6(e,t,n){const r=ln(t),o=kn(t),i=n==="fixed",a=br(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const s=Zn(0);if(r||!r&&!i)if((Oo(t)!=="body"||Qi(o))&&(l=es(t)),r){const c=br(t,!0,i,t);s.x=c.x+t.clientLeft,s.y=c.y+t.clientTop}else o&&(s.x=yg(o));const u=a.left+l.scrollLeft-s.x,d=a.top+l.scrollTop-s.y;return{x:u,y:d,width:a.width,height:a.height}}function tc(e){return Yt(e).position==="static"}function Kh(e,t){return!ln(e)||Yt(e).position==="fixed"?null:t?t(e):e.offsetParent}function wg(e,t){const n=Et(e);if(hf(e))return n;if(!ln(e)){let o=Xn(e);for(;o&&!So(o);){if(Je(o)&&!tc(o))return o;o=Xn(o)}return n}let r=Kh(e,t);for(;r&&S6(r)&&tc(r);)r=Kh(r,t);return r&&So(r)&&tc(r)&&!df(r)?n:r||k6(e)||n}const F6=async function(e){const t=this.getOffsetParent||wg,n=this.getDimensions,r=await n(e.floating);return{reference:j6(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function z6(e){return Yt(e).direction==="rtl"}const _g={convertOffsetParentRelativeRectToViewportRelativeRect:R6,getDocumentElement:kn,getClippingRect:D6,getOffsetParent:wg,getElementRects:F6,getClientRects:N6,getDimensions:M6,getScale:fo,isElement:Je,isRTL:z6};function U6(e,t){let n=null,r;const o=kn(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function a(l,s){l===void 0&&(l=!1),s===void 0&&(s=1),i();const{left:u,top:d,width:c,height:f}=e.getBoundingClientRect();if(l||t(),!c||!f)return;const p=Ra(d),y=Ra(o.clientWidth-(u+c)),v=Ra(o.clientHeight-(d+f)),_=Ra(u),g={rootMargin:-p+"px "+-y+"px "+-v+"px "+-_+"px",threshold:xt(0,tn(1,s))||1};let x=!0;function E(b){const k=b[0].intersectionRatio;if(k!==s){if(!x)return a();k?a(!1,k):r=setTimeout(()=>{a(!1,1e-7)},1e3)}x=!1}try{n=new IntersectionObserver(E,{...g,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,g)}n.observe(e)}return a(!0),i}function V6(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:s=!1}=r,u=pf(e),d=o||i?[...u?ji(u):[],...ji(t)]:[];d.forEach(m=>{o&&m.addEventListener("scroll",n,{passive:!0}),i&&m.addEventListener("resize",n)});const c=u&&l?U6(u,n):null;let f=-1,p=null;a&&(p=new ResizeObserver(m=>{let[g]=m;g&&g.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var x;(x=p)==null||x.observe(t)})),n()}),u&&!s&&p.observe(u),p.observe(t));let y,v=s?br(e):null;s&&_();function _(){const m=br(e);v&&(m.x!==v.x||m.y!==v.y||m.width!==v.width||m.height!==v.height)&&n(),v=m,y=requestAnimationFrame(_)}return n(),()=>{var m;d.forEach(g=>{o&&g.removeEventListener("scroll",n),i&&g.removeEventListener("resize",n)}),c==null||c(),(m=p)==null||m.disconnect(),p=null,s&&cancelAnimationFrame(y)}}const B6=_6,H6=E6,W6=y6,K6=b6,G6=x6,Gh=g6,Y6=C6,Q6=(e,t,n)=>{const r=new Map,o={platform:_g,...n},i={...o.platform,_c:r};return m6(e,t,{...o,platform:i})};var Ga=typeof document<"u"?h.useLayoutEffect:h.useEffect;function $l(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!$l(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!$l(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Eg(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Yh(e,t){const n=Eg(e);return Math.round(t*n)/n}function Qh(e){const t=h.useRef(e);return Ga(()=>{t.current=e}),t}function Cg(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:l=!0,whileElementsMounted:s,open:u}=e,[d,c]=h.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=h.useState(r);$l(f,r)||p(r);const[y,v]=h.useState(null),[_,m]=h.useState(null),g=h.useCallback(U=>{U!==k.current&&(k.current=U,v(U))},[]),x=h.useCallback(U=>{U!==C.current&&(C.current=U,m(U))},[]),E=i||y,b=a||_,k=h.useRef(null),C=h.useRef(null),S=h.useRef(d),$=s!=null,N=Qh(s),O=Qh(o),M=h.useCallback(()=>{if(!k.current||!C.current)return;const U={placement:t,strategy:n,middleware:f};O.current&&(U.platform=O.current),Q6(k.current,C.current,U).then(I=>{const B={...I,isPositioned:!0};L.current&&!$l(S.current,B)&&(S.current=B,Ro.flushSync(()=>{c(B)}))})},[f,t,n,O]);Ga(()=>{u===!1&&S.current.isPositioned&&(S.current.isPositioned=!1,c(U=>({...U,isPositioned:!1})))},[u]);const L=h.useRef(!1);Ga(()=>(L.current=!0,()=>{L.current=!1}),[]),Ga(()=>{if(E&&(k.current=E),b&&(C.current=b),E&&b){if(N.current)return N.current(E,b,M);M()}},[E,b,M,N,$]);const P=h.useMemo(()=>({reference:k,floating:C,setReference:g,setFloating:x}),[g,x]),V=h.useMemo(()=>({reference:E,floating:b}),[E,b]),Q=h.useMemo(()=>{const U={position:n,left:0,top:0};if(!V.floating)return U;const I=Yh(V.floating,d.x),B=Yh(V.floating,d.y);return l?{...U,transform:"translate("+I+"px, "+B+"px)",...Eg(V.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:I,top:B}},[n,l,V.floating,d.x,d.y]);return h.useMemo(()=>({...d,update:M,refs:P,elements:V,floatingStyles:Q}),[d,M,P,V,Q])}const Z6=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Gh({element:r.current,padding:o}).fn(n):{}:r?Gh({element:r,padding:o}).fn(n):{}}}},bg=(e,t)=>({...B6(e),options:[e,t]}),Sg=(e,t)=>({...H6(e),options:[e,t]}),X6=(e,t)=>({...Y6(e),options:[e,t]}),J6=(e,t)=>({...W6(e),options:[e,t]}),q6=(e,t)=>({...K6(e),options:[e,t]}),e8=(e,t)=>({...G6(e),options:[e,t]}),kg=(e,t)=>({...Z6(e),options:[e,t]});function t8(e){const[t,n]=h.useState(void 0);return xn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,l;if("borderBoxSize"in i){const s=i.borderBoxSize,u=Array.isArray(s)?s[0]:s;a=u.inlineSize,l=u.blockSize}else a=e.offsetWidth,l=e.offsetHeight;n({width:a,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const Tg="Popper",[$g,Pg]=Cn(Tg),[n8,Rg]=$g(Tg),r8=e=>{const{__scopePopper:t,children:n}=e,[r,o]=h.useState(null);return h.createElement(n8,{scope:t,anchor:r,onAnchorChange:o},n)},o8="PopperAnchor",i8=h.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Rg(o8,n),a=h.useRef(null),l=Ve(t,a);return h.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:h.createElement(fe.div,Y({},o,{ref:l}))}),Ng="PopperContent",[a8,xk]=$g(Ng),l8=h.forwardRef((e,t)=>{var n,r,o,i,a,l,s,u;const{__scopePopper:d,side:c="bottom",sideOffset:f=0,align:p="center",alignOffset:y=0,arrowPadding:v=0,avoidCollisions:_=!0,collisionBoundary:m=[],collisionPadding:g=0,sticky:x="partial",hideWhenDetached:E=!1,updatePositionStrategy:b="optimized",onPlaced:k,...C}=e,S=Rg(Ng,d),[$,N]=h.useState(null),O=Ve(t,ar=>N(ar)),[M,L]=h.useState(null),P=t8(M),V=(n=P==null?void 0:P.width)!==null&&n!==void 0?n:0,Q=(r=P==null?void 0:P.height)!==null&&r!==void 0?r:0,U=c+(p!=="center"?"-"+p:""),I=typeof g=="number"?g:{top:0,right:0,bottom:0,left:0,...g},B=Array.isArray(m)?m:[m],G=B.length>0,ie={padding:I,boundary:B.filter(s8),altBoundary:G},{refs:le,floatingStyles:Fe,placement:De,isPositioned:ye,middlewareData:xe}=Cg({strategy:"fixed",placement:U,whileElementsMounted:(...ar)=>V6(...ar,{animationFrame:b==="always"}),elements:{reference:S.anchor},middleware:[bg({mainAxis:f+Q,alignmentAxis:y}),_&&Sg({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?X6():void 0,...ie}),_&&J6({...ie}),q6({...ie,apply:({elements:ar,rects:Qt,availableWidth:ts,availableHeight:ns})=>{const{width:rs,height:os}=Qt.reference,Lr=ar.floating.style;Lr.setProperty("--radix-popper-available-width",`${ts}px`),Lr.setProperty("--radix-popper-available-height",`${ns}px`),Lr.setProperty("--radix-popper-anchor-width",`${rs}px`),Lr.setProperty("--radix-popper-anchor-height",`${os}px`)}}),M&&kg({element:M,padding:v}),c8({arrowWidth:V,arrowHeight:Q}),E&&e8({strategy:"referenceHidden",...ie})]}),[Re,pe]=Ag(De),Se=lt(k);xn(()=>{ye&&(Se==null||Se())},[ye,Se]);const Ot=(o=xe.arrow)===null||o===void 0?void 0:o.x,Dt=(i=xe.arrow)===null||i===void 0?void 0:i.y,Ne=((a=xe.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[ir,Zi]=h.useState();return xn(()=>{$&&Zi(window.getComputedStyle($).zIndex)},[$]),h.createElement("div",{ref:le.setFloating,"data-radix-popper-content-wrapper":"",style:{...Fe,transform:ye?Fe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ir,"--radix-popper-transform-origin":[(l=xe.transformOrigin)===null||l===void 0?void 0:l.x,(s=xe.transformOrigin)===null||s===void 0?void 0:s.y].join(" ")},dir:e.dir},h.createElement(a8,{scope:d,placedSide:Re,onArrowChange:L,arrowX:Ot,arrowY:Dt,shouldHideArrow:Ne},h.createElement(fe.div,Y({"data-side":Re,"data-align":pe},C,{ref:O,style:{...C.style,animation:ye?void 0:"none",opacity:(u=xe.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))});function s8(e){return e!==null}const c8=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:l,rects:s,middlewareData:u}=t,c=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,f=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[y,v]=Ag(l),_={start:"0%",center:"50%",end:"100%"}[v],m=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+f/2,g=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+p/2;let x="",E="";return y==="bottom"?(x=c?_:`${m}px`,E=`${-p}px`):y==="top"?(x=c?_:`${m}px`,E=`${s.floating.height+p}px`):y==="right"?(x=`${-p}px`,E=c?_:`${g}px`):y==="left"&&(x=`${s.floating.width+p}px`,E=c?_:`${g}px`),{data:{x,y:E}}}});function Ag(e){const[t,n="center"]=e.split("-");return[t,n]}const u8=r8,d8=i8,f8=l8,Ig="Popover",[Lg,wk]=Cn(Ig,[Pg]),vf=Pg(),[p8,Do]=Lg(Ig),h8=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,l=vf(t),s=h.useRef(null),[u,d]=h.useState(!1),[c=!1,f]=or({prop:r,defaultProp:o,onChange:i});return h.createElement(u8,l,h.createElement(p8,{scope:t,contentId:an(),triggerRef:s,open:c,onOpenChange:f,onOpenToggle:h.useCallback(()=>f(p=>!p),[f]),hasCustomAnchor:u,onCustomAnchorAdd:h.useCallback(()=>d(!0),[]),onCustomAnchorRemove:h.useCallback(()=>d(!1),[]),modal:a},n))},v8="PopoverTrigger",m8=h.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Do(v8,n),i=vf(n),a=Ve(t,o.triggerRef),l=h.createElement(fe.button,Y({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Mg(o.open)},r,{ref:a,onClick:se(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?l:h.createElement(d8,Y({asChild:!0},i),l)}),Og="PopoverPortal",[g8,y8]=Lg(Og,{forceMount:void 0}),x8=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=Do(Og,t);return h.createElement(g8,{scope:t,forceMount:n},h.createElement(bn,{present:n||i.open},h.createElement(s1,{asChild:!0,container:o},r)))},Fi="PopoverContent",w8=h.forwardRef((e,t)=>{const n=y8(Fi,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=Do(Fi,e.__scopePopover);return h.createElement(bn,{present:r||i.open},i.modal?h.createElement(_8,Y({},o,{ref:t})):h.createElement(E8,Y({},o,{ref:t})))}),_8=h.forwardRef((e,t)=>{const n=Do(Fi,e.__scopePopover),r=h.useRef(null),o=Ve(t,r),i=h.useRef(!1);return h.useEffect(()=>{const a=r.current;if(a)return y1(a)},[]),h.createElement(Yd,{as:bo,allowPinchZoom:!0},h.createElement(Dg,Y({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:se(e.onCloseAutoFocus,a=>{var l;a.preventDefault(),i.current||(l=n.triggerRef.current)===null||l===void 0||l.focus()}),onPointerDownOutside:se(e.onPointerDownOutside,a=>{const l=a.detail.originalEvent,s=l.button===0&&l.ctrlKey===!0,u=l.button===2||s;i.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:se(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),E8=h.forwardRef((e,t)=>{const n=Do(Fi,e.__scopePopover),r=h.useRef(!1),o=h.useRef(!1);return h.createElement(Dg,Y({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,i),!i.defaultPrevented){var l;r.current||(l=n.triggerRef.current)===null||l===void 0||l.focus(),i.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:i=>{var a,l;(a=e.onInteractOutside)===null||a===void 0||a.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=i.target;((l=n.triggerRef.current)===null||l===void 0?void 0:l.contains(s))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}}))}),Dg=h.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:u,onInteractOutside:d,...c}=e,f=Do(Fi,n),p=vf(n);return c1(),h.createElement(a1,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},h.createElement(Gd,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:d,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:u,onDismiss:()=>f.onOpenChange(!1)},h.createElement(f8,Y({"data-state":Mg(f.open),role:"dialog",id:f.contentId},p,c,{ref:t,style:{...c.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))});function Mg(e){return e?"open":"closed"}const C8=h8,b8=m8,S8=x8,k8=w8;var T8="vocs_Popover";Vt.Root=C8;Vt.Trigger=b8;function Vt({children:e,className:t}){return w.jsx(S8,{children:w.jsx(k8,{className:D(T8,t),sideOffset:12,children:e})})}var $8="vocs_Sidebar_backLink",P8="vocs_Sidebar_divider",R8="vocs_Sidebar_group",li="vocs_Sidebar_item",jg="vocs_Sidebar_items",N8="vocs_Sidebar_level",A8="vocs_Sidebar_levelCollapsed",I8="vocs_Sidebar_levelInset",L8="vocs_Sidebar_logo",O8="vocs_Sidebar_logoWrapper",D8="vocs_Sidebar_navigation",M8="vocs_Sidebar",Fg="vocs_Sidebar_section",j8="vocs_Sidebar_sectionCollapse",F8="vocs_Sidebar_sectionCollapseActive",z8="vocs_Sidebar_sectionHeader",U8="vocs_Sidebar_sectionHeaderActive",Zh="vocs_Sidebar_sectionTitle";function zg(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 39 69",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Chevron Right"}),w.jsx("path",{d:"M38.8697 34.7461C38.8697 33.6719 38.4791 32.6953 37.649 31.8652L7.47318 1.8848C6.74078 1.1035 5.76418 0.712891 4.64118 0.712891C2.34618 0.712891 0.588379 2.42189 0.588379 4.71679C0.588379 5.79099 1.07668 6.81639 1.76028 7.59769L29.0552 34.7461L1.76028 61.8945C1.07668 62.6758 0.588379 63.6523 0.588379 64.7754C0.588379 67.0703 2.34618 68.7793 4.64118 68.7793C5.76418 68.7793 6.74078 68.3887 7.47318 67.6074L37.649 37.627C38.4791 36.7969 38.8697 35.8203 38.8697 34.7461Z",fill:"currentColor"})]})}function Ug(e){var u;const{className:t,onClickItem:n}=e,{previousPath:r}=Rr(),o=h.useRef(null),i=Yl(),[a,l]=h.useState("/");if(h.useEffect(()=>{typeof window>"u"||r&&l(r)},[i.key,i.backLink]),!i)return null;const s=V8(i.items);return w.jsxs("aside",{ref:o,className:D(M8,t),children:[w.jsxs("div",{className:O8,children:[w.jsx("div",{className:L8,children:w.jsx(Qn,{to:"/",style:{alignItems:"center",display:"flex",height:"100%"},children:w.jsx(Jd,{})})}),w.jsx("div",{className:P8})]}),w.jsx("nav",{className:D8,children:w.jsxs("div",{className:R8,children:[i.backLink&&w.jsx("section",{className:Fg,children:w.jsx("div",{className:jg,children:w.jsxs(Qn,{className:D(li,$8),to:a,children:["←"," ",typeof history<"u"&&((u=history.state)!=null&&u.key)&&a!=="/"?"Back":"Home"]})})}),s.map((d,c)=>w.jsx(Bg,{depth:0,item:d,onClick:n,sidebarRef:o},`${d.text}${c}`))]})})]},i.key)}function V8(e){const t=[];let n=0;for(const r of e){if(r.items){n=t.push(r);continue}t[n]?t[n].items.push(r):t.push({text:"",items:[r]})}return t}function Vg(e,t){return e.find(n=>Kl(t,n.link??"")||n.link===t?!0:n.items?Vg(n.items,t):!1)}function Bg(e){const{depth:t,item:n,onClick:r,sidebarRef:o}=e,i=h.useRef(null),{pathname:a}=Oe(),l=Qw(n.link??""),s=h.useMemo(()=>n.items?!!Vg(n.items,a):!1,[n.items,a]),[u,d]=h.useState(()=>l||!n.items||s?!1:!!n.collapsed),c=n.collapsed!==void 0&&n.items!==void 0,f=h.useCallback(v=>{"key"in v&&v.key!=="Enter"||n.link||d(_=>!_)},[n.link]),p=h.useCallback(v=>{"key"in v&&v.key!=="Enter"||n.link&&d(_=>!_)},[n.link]),y=h.useRef(!0);return h.useEffect(()=>{!y.current||(y.current=!1,!Kl(a,n.link??""))||requestAnimationFrame(()=>{var g,x,E;const _=((g=i.current)==null?void 0:g.offsetTop)??0,m=((x=o==null?void 0:o.current)==null?void 0:x.clientHeight)??0;_0&&t<5&&n.items.map((v,_)=>w.jsx(Bg,{depth:t+1,item:v,onClick:r,sidebarRef:o},`${v.text}${_}`))})]}):w.jsx(w.Fragment,{children:n.link?w.jsx(Qn,{ref:i,"data-active":!!l,onClick:r,className:li,to:n.link,children:n.text}):w.jsx("div",{className:li,children:n.text})})}function B8(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 69 39",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Chevron Down"}),w.jsx("path",{d:"M34.8677 38.8398C35.9419 38.8398 37.0161 38.4492 37.7485 37.6191L67.729 7.44339C68.4614 6.71089 68.9009 5.73439 68.9009 4.61129C68.9009 2.31639 67.1919 0.558594 64.897 0.558594C63.8227 0.558594 62.7485 1.04689 62.0161 1.73049L32.5727 31.2715H37.1138L7.67042 1.73049C6.93802 1.04689 5.96142 0.558594 4.83842 0.558594C2.54342 0.558594 0.785645 2.31639 0.785645 4.61129C0.785645 5.73439 1.22512 6.71089 1.95752 7.44339L31.9868 37.6191C32.768 38.4492 33.7446 38.8398 34.8677 38.8398Z",fill:"currentColor"})]})}function H8(){return w.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 69 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[w.jsx("title",{children:"Chevron Up"}),w.jsx("path",{d:"M1.95752 32.2441C1.22512 32.9277 0.785645 33.9531 0.785645 35.0762C0.785645 37.3711 2.54342 39.1289 4.83842 39.1289C5.96142 39.1289 6.98682 38.6895 7.67042 37.957L37.1138 8.36716H32.5727L62.0161 37.957C62.6997 38.6895 63.8227 39.1289 64.897 39.1289C67.1919 39.1289 68.9009 37.3711 68.9009 35.0762C68.9009 33.9531 68.4614 32.9277 67.729 32.2441L37.7485 2.06836C37.0161 1.23826 35.9419 0.847656 34.8677 0.847656C33.7446 0.847656 32.7192 1.23826 31.9868 2.06836L1.95752 32.2441Z",fill:"currentColor"})]})}function W8(){return w.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 79 48",fill:"none",children:[w.jsx("title",{children:"Menu"}),w.jsx("path",{fill:"currentColor",d:"M19.528 47.232h40.87c1.952 0 3.515-1.562 3.515-3.564a3.5 3.5 0 0 0-3.516-3.516H19.528a3.501 3.501 0 0 0-3.515 3.516c0 2.002 1.562 3.564 3.515 3.564ZM12.057 27.262h55.81a3.501 3.501 0 0 0 3.516-3.516 3.501 3.501 0 0 0-3.515-3.515h-55.81a3.501 3.501 0 0 0-3.516 3.515 3.501 3.501 0 0 0 3.515 3.516ZM4.391 7.34H75.29c2.002 0 3.515-1.563 3.515-3.516 0-2.002-1.513-3.564-3.515-3.564H4.39C2.438.26.876 1.822.876 3.824A3.501 3.501 0 0 0 4.39 7.34Z"})]})}Tu.Curtain=J8;function Tu(){var n,r;const e=Ke(),{showLogo:t}=Nr();return w.jsxs("div",{className:XE,children:[w.jsxs("div",{className:Uh,children:[t&&w.jsx("div",{className:Pa,children:w.jsx("div",{className:WE,children:w.jsx(Qn,{to:"/",style:{alignItems:"center",display:"flex",height:"100%"},children:w.jsx(Jd,{})})})}),e.topNav&&w.jsx(w.Fragment,{children:w.jsxs("div",{className:Pa,children:[w.jsx(K8,{items:e.topNav}),w.jsx(Y8,{items:e.topNav})]})})]}),w.jsxs("div",{className:Uh,children:[w.jsx("div",{className:Pa,style:{marginRight:"-8px"},children:w.jsx(DE,{})}),e.socials&&((n=e.socials)==null?void 0:n.length)>0&&w.jsxs(w.Fragment,{children:[w.jsx("div",{className:VE}),w.jsx("div",{className:Pa,style:{marginLeft:"-8px"},children:(r=e.socials)==null?void 0:r.map((o,i)=>w.jsx(X8,{...o},i))})]})]})]})}function K8({items:e}){const{pathname:t}=Oe(),n=Gi({pathname:t,items:e});return w.jsx(B1,{className:ug,children:w.jsx(H1,{children:e.map((r,o)=>r!=null&&r.link?w.jsx(Jl,{active:n==null?void 0:n.includes(r.id),href:r.link,children:r.text},o):w.jsxs(W1,{className:HE,children:[w.jsx(K1,{active:n==null?void 0:n.includes(r.id),children:r.text}),w.jsx(G1,{className:zE,children:w.jsx(G8,{items:r.items||[]})})]},o))})})}function G8({items:e}){const{pathname:t}=Oe(),n=Gi({pathname:t,items:e});return w.jsx("ul",{children:e==null?void 0:e.map((r,o)=>w.jsx(Jl,{active:n.includes(r.id),href:r.link,children:r.text},o))})}function Y8({items:e}){var s;const[t,n]=h.useState(!1),{pathname:r}=Oe(),o=Gi({pathname:r,items:e}),i=e.filter(u=>u.id===o[0])[0],{basePath:a}=Ke(),l=a;return w.jsx("div",{className:D(ug,QE),children:i?w.jsxs(Vt.Root,{modal:!0,open:t,onOpenChange:n,children:[w.jsxs(Vt.Trigger,{className:D(cg,ei),children:[i.text,w.jsx(ct,{label:"Menu",icon:B8,size:"11px"})]}),w.jsx(Vt,{className:e6,children:w.jsx(NE,{type:"single",collapsible:!0,style:{display:"flex",flexDirection:"column"},children:e.map((u,d)=>{var c;return u!=null&&u.link?w.jsx(on,{"data-active":o.includes(u.id),className:ei,href:u.link,onClick:()=>n(!1),variant:"styleless",children:u.text},d):w.jsxs(AE,{value:d.toString(),children:[w.jsx(IE,{className:D(ei,YE),"data-active":o.includes(u.id),style:Gt({[jE]:`url(${l}/.vocs/icons/chevron-down.svg)`,[FE]:`url(${l}/.vocs/icons/chevron-up.svg)`}),children:u.text}),w.jsx(LE,{className:GE,children:(c=u.items)==null?void 0:c.map((f,p)=>w.jsx(on,{className:ei,href:f.link,onClick:()=>n(!1),variant:"styleless",children:f.text},p))})]},d)})})})]}):(s=e[0])!=null&&s.link?w.jsx(on,{className:ei,href:e[0].link,variant:"styleless",children:e[0].text}):null})}const Q8={discord:Y1,github:Q1,telegram:Z1,warpcast:X1,x:J1},Z8={discord:"21px",github:"18px",telegram:"21px",warpcast:"18px",x:"16px"};function X8({icon:e,label:t,link:n,type:r}){return w.jsx("a",{className:ME,href:n,target:"_blank",rel:"noopener noreferrer",children:w.jsx(ct,{className:BE,label:t,icon:Q8[e],size:Z8[r]||"18px"})})}function J8({enableScrollToTop:e}){const{pathname:t}=Oe(),{layout:n,showSidebar:r}=Nr(),{frontmatter:o={}}=Rr(),i=Yl(),[a,l]=h.useState(!1),[s,u]=h.useState(!1),d=h.useMemo(()=>{if(!i||n==="minimal")return;const p=Hg({sidebarItems:i.items,pathname:t});return p==null?void 0:p.text},[n,t,i]),c=h.useMemo(()=>{var p;if(!(typeof window>"u"))return(p=document.querySelector(".vocs_Content h1"))==null?void 0:p.textContent},[]),f=d||o.title||c;return w.jsxs("div",{className:UE,children:[w.jsx("div",{className:Fh,children:w.jsx("div",{className:ec,children:r?w.jsxs(Vt.Root,{modal:!0,open:s,onOpenChange:u,children:[w.jsxs(Vt.Trigger,{className:cg,children:[w.jsx(ct,{label:"Menu",icon:W8,size:"13px"}),w.jsx("div",{className:KE,children:f})]}),w.jsx(Vt,{className:qE,children:w.jsx(Ug,{onClickItem:()=>u(!1)})})]}):f})}),w.jsxs("div",{className:Fh,children:[e&&w.jsxs(w.Fragment,{children:[w.jsx("div",{className:ec,children:w.jsxs("button",{className:zh,onClick:()=>window.scrollTo({behavior:"smooth",top:0}),type:"button",children:["Top",w.jsx(ct,{label:"Scroll to top",icon:H8,size:"10px"})]})}),w.jsx("div",{className:JE})]}),n==="docs"&&w.jsx("div",{className:ec,children:w.jsxs(Vt.Root,{modal:!0,open:a,onOpenChange:l,children:[w.jsxs(Vt.Trigger,{className:zh,children:["On this page",w.jsx(ct,{label:"On this page",icon:zg,size:"10px"})]}),w.jsx(Vt,{className:ZE,children:w.jsx(dg,{onClickItem:()=>l(!1),showTitle:!1})})]})})]})]})}function Hg({sidebarItems:e,pathname:t}){const n=t.replace(/(.+)\/$/,"$1");for(const r of e){if((r==null?void 0:r.link)===n)return r;if(r.items){const o=Hg({sidebarItems:r.items,pathname:n});if(o)return o}}}var q8="vocs_SkipLink";const Wg="vocs-content";function eC(){const{pathname:e}=Oe();return w.jsx("a",{className:D(q8,r1),href:`${e}#${Wg}`,children:"Skip to content"})}var tC="vocs_DocsLayout_content",nC="vocs_DocsLayout_content_withSidebar",rC="vocs_DocsLayout_content_withTopNav",oC="vocs_DocsLayout_gutterLeft",iC="vocs_DocsLayout_gutterRight",aC="vocs_DocsLayout_gutterRight_withSidebar",lC="vocs_DocsLayout_gutterTop",sC="vocs_DocsLayout_gutterTopCurtain",cC="vocs_DocsLayout_gutterTopCurtain_hidden",uC="vocs_DocsLayout_gutterTopCurtain_withSidebar",dC="vocs_DocsLayout_gutterTop_offsetLeftGutter",fC="vocs_DocsLayout_gutterTop_sticky",pC="vocs_DocsLayout",hC="vocs_DocsLayout_sidebar";function $u({children:e}){var p,y;const{banner:t,font:n}=Ke(),{frontmatter:r={}}=Rr(),{content:o}=r,{layout:i,showOutline:a,showSidebar:l,showTopNav:s}=Nr(),{ref:u,inView:d}=Q0({initialInView:!0,rootMargin:"100px 0px 0px 0px"}),[c,f]=mu("banner",!0);return w.jsxs("div",{className:pC,"data-layout":i,style:Gt({[t3]:c?t==null?void 0:t.height:void 0,[oh.default]:(p=n==null?void 0:n.default)!=null&&p.google?`${n.default.google}, ${rh.default}`:void 0,[oh.mono]:(y=n==null?void 0:n.mono)!=null&&y.google?`${n.mono.google}, ${rh.mono}`:void 0}),children:[w.jsx(eC,{}),c&&w.jsx(C3,{hide:()=>f(!1)}),l&&w.jsx("div",{className:oC,children:w.jsx(Ug,{className:hC})}),s&&w.jsxs(w.Fragment,{children:[w.jsxs("div",{ref:u,className:D(lC,l&&dC,(i==="minimal"||i==="landing")&&fC),children:[w.jsx(Eu,{}),w.jsx(Tu,{})]}),w.jsxs("div",{className:D(sC,l&&uC,(i==="minimal"||i==="landing")&&cC),children:[w.jsx(Eu.Curtain,{}),w.jsx(Tu.Curtain,{enableScrollToTop:!d})]})]}),a&&w.jsx("div",{className:D(iC,l&&aC),children:w.jsx(dg,{})}),w.jsxs("div",{id:Wg,className:D(tC,l&&nC,s&&rC),style:Gt({[Ds.horizontalPadding]:o==null?void 0:o.horizontalPadding,[Ds.width]:o==null?void 0:o.width,[Ds.verticalPadding]:o==null?void 0:o.verticalPadding}),children:[w.jsx(e1,{children:e}),w.jsx(oE,{})]}),w.jsx("div",{"data-bottom-observer":!0})]})}const Pu={},Kg=X.createContext(Pu);function vC(e){const t=X.useContext(Kg);return X.useMemo(function(){return typeof e=="function"?e(t):{...t,...e}},[t,e])}function mC(e){let t;return e.disableParentContext?t=typeof e.components=="function"?e.components(Pu):e.components||Pu:t=vC(e.components),X.createElement(Kg.Provider,{value:t},e.children)}var Gg={exports:{}},gC="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",yC=gC,xC=yC;function Yg(){}function Qg(){}Qg.resetWarningCache=Yg;var wC=function(){function e(r,o,i,a,l,s){if(s!==xC){var u=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 u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Qg,resetWarningCache:Yg};return n.PropTypes=n,n};Gg.exports=wC();var _C=Gg.exports;const _e=Jn(_C);function EC(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var Zg=h,CC=EC(Zg);function Xh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bC(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var SC=!!(typeof window<"u"&&window.document&&window.document.createElement);function kC(e,t,n){if(typeof e!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof t!="function")throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof n<"u"&&typeof n!="function")throw new Error("Expected mapStateOnServer to either be undefined or a function.");function r(o){return o.displayName||o.name||"Component"}return function(i){if(typeof i!="function")throw new Error("Expected WrappedComponent to be a React component.");var a=[],l;function s(){l=e(a.map(function(d){return d.props})),u.canUseDOM?t(l):n&&(l=n(l))}var u=function(d){bC(c,d);function c(){return d.apply(this,arguments)||this}c.peek=function(){return l},c.rewind=function(){if(c.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var y=l;return l=void 0,a=[],y};var f=c.prototype;return f.UNSAFE_componentWillMount=function(){a.push(this),s()},f.componentDidUpdate=function(){s()},f.componentWillUnmount=function(){var y=a.indexOf(this);a.splice(y,1),s()},f.render=function(){return CC.createElement(i,this.props)},c}(Zg.PureComponent);return Xh(u,"displayName","SideEffect("+r(i)+")"),Xh(u,"canUseDOM",SC),u}}var TC=kC;const $C=Jn(TC);var PC=typeof Element<"u",RC=typeof Map=="function",NC=typeof Set=="function",AC=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Ya(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Ya(e[r],t[r]))return!1;return!0}var i;if(RC&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!Ya(r.value[1],t.get(r.value[0])))return!1;return!0}if(NC&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(AC&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(PC&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&e.$$typeof)&&!Ya(e[o[r]],t[o[r]]))return!1;return!0}return e!==e&&t!==t}var IC=function(t,n){try{return Ya(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const LC=Jn(IC);/* object-assign (c) Sindre Sorhus @license MIT -*/var Jh=Object.getOwnPropertySymbols,OC=Object.prototype.hasOwnProperty,DC=Object.prototype.propertyIsEnumerable;function MC(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function jC(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(r.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(i){o[i]=i}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var FC=jC()?Object.assign:function(e,t){for(var n,r=MC(e),o,i=1;i=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},GC=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e},Ru=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return n===!1?String(t):String(t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},YC=function(t){var n=po(t,ee.TITLE),r=po(t,zi.TITLE_TEMPLATE);if(r&&n)return r.replace(/%s/g,function(){return Array.isArray(n)?n.join(""):n});var o=po(t,zi.DEFAULT_TITLE);return n||o||void 0},QC=function(t){return po(t,zi.ON_CHANGE_CLIENT_STATE)||function(){}},nc=function(t,n){return n.filter(function(r){return typeof r[t]<"u"}).map(function(r){return r[t]}).reduce(function(r,o){return ft({},r,o)},{})},ZC=function(t,n){return n.filter(function(r){return typeof r[ee.BASE]<"u"}).map(function(r){return r[ee.BASE]}).reverse().reduce(function(r,o){if(!r.length)for(var i=Object.keys(o),a=0;a=0;r--){var o=t[r];if(o.hasOwnProperty(n))return o[n]}return null},XC=function(t){return{baseTag:ZC([Ee.HREF,Ee.TARGET],t),bodyAttributes:nc(gr.BODY,t),defer:po(t,zi.DEFER),encode:po(t,zi.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:nc(gr.HTML,t),linkTags:ti(ee.LINK,[Ee.REL,Ee.HREF],t),metaTags:ti(ee.META,[Ee.NAME,Ee.CHARSET,Ee.HTTPEQUIV,Ee.PROPERTY,Ee.ITEM_PROP],t),noscriptTags:ti(ee.NOSCRIPT,[Ee.INNER_HTML],t),onChangeClientState:QC(t),scriptTags:ti(ee.SCRIPT,[Ee.SRC,Ee.INNER_HTML],t),styleTags:ti(ee.STYLE,[Ee.CSS_TEXT],t),title:YC(t),titleAttributes:nc(gr.TITLE,t)}},Nu=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout(function(){Nu(t)},0)}}(),ev=function(t){return clearTimeout(t)},JC=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Nu:global.requestAnimationFrame||Nu,qC=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||ev:global.cancelAnimationFrame||ev,e9=function(t){return console&&typeof console.warn=="function"&&console.warn(t)},ni=null,t9=function(t){ni&&qC(ni),t.defer?ni=JC(function(){tv(t,function(){ni=null})}):(tv(t),ni=null)},tv=function(t,n){var r=t.baseTag,o=t.bodyAttributes,i=t.htmlAttributes,a=t.linkTags,l=t.metaTags,s=t.noscriptTags,u=t.onChangeClientState,d=t.scriptTags,c=t.styleTags,f=t.title,p=t.titleAttributes;Au(ee.BODY,o),Au(ee.HTML,i),n9(f,p);var y={baseTag:Hr(ee.BASE,r),linkTags:Hr(ee.LINK,a),metaTags:Hr(ee.META,l),noscriptTags:Hr(ee.NOSCRIPT,s),scriptTags:Hr(ee.SCRIPT,d),styleTags:Hr(ee.STYLE,c)},v={},_={};Object.keys(y).forEach(function(m){var g=y[m],x=g.newTags,E=g.oldTags;x.length&&(v[m]=x),E.length&&(_[m]=y[m].oldTags)}),n&&n(),u(t,v,_)},X1=function(t){return Array.isArray(t)?t.join(""):t},n9=function(t,n){typeof t<"u"&&document.title!==t&&(document.title=X1(t)),Au(ee.TITLE,n)},Au=function(t,n){var r=document.getElementsByTagName(t)[0];if(r){for(var o=r.getAttribute(Bt),i=o?o.split(","):[],a=[].concat(i),l=Object.keys(n),s=0;s=0;f--)r.removeAttribute(a[f]);i.length===a.length?r.removeAttribute(Bt):r.getAttribute(Bt)!==l.join(",")&&r.setAttribute(Bt,l.join(","))}},Hr=function(t,n){var r=document.head||document.querySelector(ee.HEAD),o=r.querySelectorAll(t+"["+Bt+"]"),i=Array.prototype.slice.call(o),a=[],l=void 0;return n&&n.length&&n.forEach(function(s){var u=document.createElement(t);for(var d in s)if(s.hasOwnProperty(d))if(d===Ee.INNER_HTML)u.innerHTML=s.innerHTML;else if(d===Ee.CSS_TEXT)u.styleSheet?u.styleSheet.cssText=s.cssText:u.appendChild(document.createTextNode(s.cssText));else{var c=typeof s[d]>"u"?"":s[d];u.setAttribute(d,c)}u.setAttribute(Bt,"true"),i.some(function(f,p){return l=p,u.isEqualNode(f)})?i.splice(l,1):a.push(u)}),i.forEach(function(s){return s.parentNode.removeChild(s)}),a.forEach(function(s){return r.appendChild(s)}),{oldTags:i,newTags:a}},J1=function(t){return Object.keys(t).reduce(function(n,r){var o=typeof t[r]<"u"?r+'="'+t[r]+'"':""+r;return n?n+" "+o:o},"")},r9=function(t,n,r,o){var i=J1(r),a=X1(n);return i?"<"+t+" "+Bt+'="true" '+i+">"+Ru(a,o)+"":"<"+t+" "+Bt+'="true">'+Ru(a,o)+""},o9=function(t,n,r){return n.reduce(function(o,i){var a=Object.keys(i).filter(function(u){return!(u===Ee.INNER_HTML||u===Ee.CSS_TEXT)}).reduce(function(u,d){var c=typeof i[d]>"u"?d:d+'="'+Ru(i[d],r)+'"';return u?u+" "+c:c},""),l=i.innerHTML||i.cssText||"",s=VC.indexOf(t)===-1;return o+"<"+t+" "+Bt+'="true" '+a+(s?"/>":">"+l+"")},"")},q1=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[Pl[o]||o]=t[o],r},n)},i9=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[UC[o]||o]=t[o],r},n)},a9=function(t,n,r){var o,i=(o={key:n},o[Bt]=!0,o),a=q1(r,i);return[X.createElement(ee.TITLE,a,n)]},l9=function(t,n){return n.map(function(r,o){var i,a=(i={key:o},i[Bt]=!0,i);return Object.keys(r).forEach(function(l){var s=Pl[l]||l;if(s===Ee.INNER_HTML||s===Ee.CSS_TEXT){var u=r.innerHTML||r.cssText;a.dangerouslySetInnerHTML={__html:u}}else a[s]=r[l]}),X.createElement(t,a)})},sn=function(t,n,r){switch(t){case ee.TITLE:return{toComponent:function(){return a9(t,n.title,n.titleAttributes)},toString:function(){return r9(t,n.title,n.titleAttributes,r)}};case gr.BODY:case gr.HTML:return{toComponent:function(){return q1(n)},toString:function(){return J1(n)}};default:return{toComponent:function(){return l9(t,n)},toString:function(){return o9(t,n,r)}}}},ey=function(t){var n=t.baseTag,r=t.bodyAttributes,o=t.encode,i=t.htmlAttributes,a=t.linkTags,l=t.metaTags,s=t.noscriptTags,u=t.scriptTags,d=t.styleTags,c=t.title,f=c===void 0?"":c,p=t.titleAttributes;return{base:sn(ee.BASE,n,o),bodyAttributes:sn(gr.BODY,r,o),htmlAttributes:sn(gr.HTML,i,o),link:sn(ee.LINK,a,o),meta:sn(ee.META,l,o),noscript:sn(ee.NOSCRIPT,s,o),script:sn(ee.SCRIPT,u,o),style:sn(ee.STYLE,d,o),title:sn(ee.TITLE,{title:f,titleAttributes:p},o)}},s9=function(t){var n,r;return r=n=function(o){KC(i,o);function i(){return HC(this,i),GC(this,o.apply(this,arguments))}return i.prototype.shouldComponentUpdate=function(l){return!LC(this.props,l)},i.prototype.mapNestedChildrenToProps=function(l,s){if(!s)return null;switch(l.type){case ee.SCRIPT:case ee.NOSCRIPT:return{innerHTML:s};case ee.STYLE:return{cssText:s}}throw new Error("<"+l.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},i.prototype.flattenArrayTypeChildren=function(l){var s,u=l.child,d=l.arrayTypeChildren,c=l.newChildProps,f=l.nestedChildren;return ft({},d,(s={},s[u.type]=[].concat(d[u.type]||[],[ft({},c,this.mapNestedChildrenToProps(u,f))]),s))},i.prototype.mapObjectTypeChildren=function(l){var s,u,d=l.child,c=l.newProps,f=l.newChildProps,p=l.nestedChildren;switch(d.type){case ee.TITLE:return ft({},c,(s={},s[d.type]=p,s.titleAttributes=ft({},f),s));case ee.BODY:return ft({},c,{bodyAttributes:ft({},f)});case ee.HTML:return ft({},c,{htmlAttributes:ft({},f)})}return ft({},c,(u={},u[d.type]=ft({},f),u))},i.prototype.mapArrayTypeChildrenToProps=function(l,s){var u=ft({},s);return Object.keys(l).forEach(function(d){var c;u=ft({},u,(c={},c[d]=l[d],c))}),u},i.prototype.warnOnInvalidChildren=function(l,s){return!0},i.prototype.mapChildrenToProps=function(l,s){var u=this,d={};return X.Children.forEach(l,function(c){if(!(!c||!c.props)){var f=c.props,p=f.children,y=qh(f,["children"]),v=i9(y);switch(u.warnOnInvalidChildren(c,p),c.type){case ee.LINK:case ee.META:case ee.NOSCRIPT:case ee.SCRIPT:case ee.STYLE:d=u.flattenArrayTypeChildren({child:c,arrayTypeChildren:d,newChildProps:v,nestedChildren:p});break;default:s=u.mapObjectTypeChildren({child:c,newProps:s,newChildProps:v,nestedChildren:p});break}}}),s=this.mapArrayTypeChildrenToProps(d,s),s},i.prototype.render=function(){var l=this.props,s=l.children,u=qh(l,["children"]),d=ft({},u);return s&&(d=this.mapChildrenToProps(s,d)),X.createElement(t,d)},WC(i,null,[{key:"canUseDOM",set:function(l){t.canUseDOM=l}}]),i}(X.Component),n.propTypes={base:_e.object,bodyAttributes:_e.object,children:_e.oneOfType([_e.arrayOf(_e.node),_e.node]),defaultTitle:_e.string,defer:_e.bool,encodeSpecialCharacters:_e.bool,htmlAttributes:_e.object,link:_e.arrayOf(_e.object),meta:_e.arrayOf(_e.object),noscript:_e.arrayOf(_e.object),onChangeClientState:_e.func,script:_e.arrayOf(_e.object),style:_e.arrayOf(_e.object),title:_e.string,titleAttributes:_e.object,titleTemplate:_e.string},n.defaultProps={defer:!0,encodeSpecialCharacters:!0},n.peek=t.peek,n.rewind=function(){var o=t.rewind();return o||(o=ey({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),o},r},c9=function(){return null},u9=$C(XC,t9,ey)(c9),Iu=s9(u9);Iu.renderStatic=Iu.rewind;var rc="vocs_Anchor",d9="vocs_Autolink";function f9(e){return e.href?w.jsx(Gl,{...e,className:D(e.className,d9),to:e.href}):null}function p9(e){const{children:t,href:n}=e,{pathname:r}=Oe();return t&&typeof t=="object"&&"props"in t&&t.props["data-autolink-icon"]?w.jsx(f9,{className:D(e.className,rc),...e}):n!=null&&n.match(/^#/)?w.jsx("a",{className:D(e.className,rc),...e,href:`${r}${n}`}):w.jsx(on,{className:D(e.className,rc),...e})}var h9="vocs_Callout_danger",v9="vocs_Callout_info",m9="vocs_Callout_note",ty="vocs_Callout",g9="vocs_Callout_success",y9="vocs_Callout_tip",x9="vocs_Callout_warning";const w9=Object.freeze(Object.defineProperty({__proto__:null,danger:h9,info:v9,note:m9,root:ty,success:g9,tip:y9,warning:x9},Symbol.toStringTag,{value:"Module"}));function _9({className:e,children:t,type:n}){return w.jsx("aside",{className:D(e,ty,w9[n]),children:t})}var E9="vocs_Aside";function C9(e){const t=D(e.className,E9);return"data-callout"in e?w.jsx(_9,{className:t,type:e["data-callout"],children:e.children}):w.jsx("aside",{...e,className:t})}var b9="vocs_Blockquote";function S9(e){return w.jsx("blockquote",{...e,className:D(e.className,b9)})}var k9="vocs_Code";function T9(e){const t=$9(e.children);return w.jsx("code",{...e,className:D(e.className,k9),children:t})}function $9(e){return Array.isArray(e)?e.map((t,n)=>{var r,o,i;return t.props&&"data-line"in t.props&&typeof t.props.children=="string"&&t.props.children.trim()===""&&((i=(o=(r=e[n+1])==null?void 0:r.props)==null?void 0:o.className)!=null&&i.includes("twoslash-tag-line"))?null:t}).filter(Boolean):e}var P9="vocs_Details";function R9(e){return w.jsx("details",{...e,className:D(e.className,P9)})}var N9="vocs_Authors_authors",A9="vocs_Authors_link",I9="vocs_Authors",nv="vocs_Authors_separator";function ny(e){const{frontmatter:t}=Rr(),{authors:n=t==null?void 0:t.authors,date:r=t==null?void 0:t.date}=e,o=h.useMemo(()=>{if(n)return Array.isArray(n)?n:n.split(",").map(a=>a.trim())},[n]),i=h.useMemo(()=>r?new Date(r).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}):null,[r]);return w.jsxs("div",{className:I9,children:[i,o&&(i?" by ":"By "),w.jsx("span",{className:N9,children:o==null?void 0:o.map((a,l)=>{const{text:s,url:u}=L9(a);return w.jsxs(h.Fragment,{children:[u?w.jsx("a",{className:A9,href:u,target:"_blank",rel:"noopener noreferrer",children:s}):s,lw.jsxs(h.Fragment,{children:[w.jsx("div",{className:M9,children:w.jsxs(Qn,{to:e.path,children:[w.jsx("h2",{className:z9,children:e.title}),w.jsx(ny,{authors:e.authors,date:e.date}),w.jsxs("p",{className:O9,children:[e.description," ",w.jsx("span",{className:j9,children:"[→]"})]})]})}),tw.jsxs(h.Fragment,{children:[w.jsx("div",{className:Q9,children:t.name}),t.items.map((r,o)=>{var i;return w.jsx("div",{className:G9,style:Gt({[B9]:r.length.toString(),[H9]:`${((i=t.height)==null?void 0:i.toString())??"40"}px`}),children:r.map((a,l)=>w.jsx(on,{className:D(V9,a?Y9:void 0),hideExternalIcon:!0,href:a==null?void 0:a.link,variant:"styleless",children:w.jsx("img",{className:W9,src:a==null?void 0:a.image,alt:a==null?void 0:a.name})},l))},o)})]},n))})}var X9="var(--vocs_AutolinkIcon_iconUrl)",J9="vocs_AutolinkIcon";function q9(e){const{basePath:t}=Ke(),n=t;return w.jsx("div",{...e,className:D(e.className,J9),style:Gt({[X9]:`url(${n}/.vocs/icons/link.svg)`})})}const oc="rovingFocusGroup.onEntryFocus",eb={bubbles:!1,cancelable:!0},mf="RovingFocusGroup",[Lu,ry,tb]=Xl(mf),[nb,oy]=Cn(mf,[tb]),[rb,ob]=nb(mf),ib=h.forwardRef((e,t)=>h.createElement(Lu.Provider,{scope:e.__scopeRovingFocusGroup},h.createElement(Lu.Slot,{scope:e.__scopeRovingFocusGroup},h.createElement(ab,Y({},e,{ref:t}))))),ab=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:s,onEntryFocus:u,...d}=e,c=h.useRef(null),f=Ve(t,c),p=Zl(i),[y=null,v]=or({prop:a,defaultProp:l,onChange:s}),[_,m]=h.useState(!1),g=lt(u),x=ry(n),E=h.useRef(!1),[b,k]=h.useState(0);return h.useEffect(()=>{const C=c.current;if(C)return C.addEventListener(oc,g),()=>C.removeEventListener(oc,g)},[g]),h.createElement(rb,{scope:n,orientation:r,dir:p,loop:o,currentTabStopId:y,onItemFocus:h.useCallback(C=>v(C),[v]),onItemShiftTab:h.useCallback(()=>m(!0),[]),onFocusableItemAdd:h.useCallback(()=>k(C=>C+1),[]),onFocusableItemRemove:h.useCallback(()=>k(C=>C-1),[])},h.createElement(fe.div,Y({tabIndex:_||b===0?-1:0,"data-orientation":r},d,{ref:f,style:{outline:"none",...e.style},onMouseDown:se(e.onMouseDown,()=>{E.current=!0}),onFocus:se(e.onFocus,C=>{const S=!E.current;if(C.target===C.currentTarget&&S&&!_){const $=new CustomEvent(oc,eb);if(C.currentTarget.dispatchEvent($),!$.defaultPrevented){const N=x().filter(V=>V.focusable),O=N.find(V=>V.active),M=N.find(V=>V.id===y),P=[O,M,...N].filter(Boolean).map(V=>V.ref.current);iy(P)}}E.current=!1}),onBlur:se(e.onBlur,()=>m(!1))})))}),lb="RovingFocusGroupItem",sb=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...a}=e,l=an(),s=i||l,u=ob(lb,n),d=u.currentTabStopId===s,c=ry(n),{onFocusableItemAdd:f,onFocusableItemRemove:p}=u;return h.useEffect(()=>{if(r)return f(),()=>p()},[r,f,p]),h.createElement(Lu.ItemSlot,{scope:n,id:s,focusable:r,active:o},h.createElement(fe.span,Y({tabIndex:d?0:-1,"data-orientation":u.orientation},a,{ref:t,onMouseDown:se(e.onMouseDown,y=>{r?u.onItemFocus(s):y.preventDefault()}),onFocus:se(e.onFocus,()=>u.onItemFocus(s)),onKeyDown:se(e.onKeyDown,y=>{if(y.key==="Tab"&&y.shiftKey){u.onItemShiftTab();return}if(y.target!==y.currentTarget)return;const v=db(y,u.orientation,u.dir);if(v!==void 0){y.preventDefault();let m=c().filter(g=>g.focusable).map(g=>g.ref.current);if(v==="last")m.reverse();else if(v==="prev"||v==="next"){v==="prev"&&m.reverse();const g=m.indexOf(y.currentTarget);m=u.loop?fb(m,g+1):m.slice(g+1)}setTimeout(()=>iy(m))}})})))}),cb={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ub(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function db(e,t,n){const r=ub(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return cb[r]}function iy(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function fb(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const pb=ib,hb=sb,ay="Tabs",[vb,_k]=Cn(ay,[oy]),ly=oy(),[mb,gf]=vb(ay),gb=h.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:i,orientation:a="horizontal",dir:l,activationMode:s="automatic",...u}=e,d=Zl(l),[c,f]=or({prop:r,onChange:o,defaultProp:i});return h.createElement(mb,{scope:n,baseId:an(),value:c,onValueChange:f,orientation:a,dir:d,activationMode:s},h.createElement(fe.div,Y({dir:d,"data-orientation":a},u,{ref:t})))}),yb="TabsList",xb=h.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,i=gf(yb,n),a=ly(n);return h.createElement(pb,Y({asChild:!0},a,{orientation:i.orientation,dir:i.dir,loop:r}),h.createElement(fe.div,Y({role:"tablist","aria-orientation":i.orientation},o,{ref:t})))}),wb="TabsTrigger",_b=h.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...i}=e,a=gf(wb,n),l=ly(n),s=sy(a.baseId,r),u=cy(a.baseId,r),d=r===a.value;return h.createElement(hb,Y({asChild:!0},l,{focusable:!o,active:d}),h.createElement(fe.button,Y({type:"button",role:"tab","aria-selected":d,"aria-controls":u,"data-state":d?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:s},i,{ref:t,onMouseDown:se(e.onMouseDown,c=>{!o&&c.button===0&&c.ctrlKey===!1?a.onValueChange(r):c.preventDefault()}),onKeyDown:se(e.onKeyDown,c=>{[" ","Enter"].includes(c.key)&&a.onValueChange(r)}),onFocus:se(e.onFocus,()=>{const c=a.activationMode!=="manual";!d&&!o&&c&&a.onValueChange(r)})})))}),Eb="TabsContent",Cb=h.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:i,...a}=e,l=gf(Eb,n),s=sy(l.baseId,r),u=cy(l.baseId,r),d=r===l.value,c=h.useRef(d);return h.useEffect(()=>{const f=requestAnimationFrame(()=>c.current=!1);return()=>cancelAnimationFrame(f)},[]),h.createElement(bn,{present:o||d},({present:f})=>h.createElement(fe.div,Y({"data-state":d?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":s,hidden:!f,id:u,tabIndex:0},a,{ref:t,style:{...e.style,animationDuration:c.current?"0s":void 0}}),f&&i))});function sy(e,t){return`${e}-trigger-${t}`}function cy(e,t){return`${e}-content-${t}`}const bb=gb,Sb=xb,kb=_b,Tb=Cb;var $b="vocs_Tabs_content",Pb="vocs_Tabs_list",Rb="vocs_Tabs",Nb="vocs_Tabs_trigger";function Ab(e){return w.jsx(bb,{...e,className:D(e.className,Rb)})}function Ib(e){return w.jsx(Sb,{...e,className:D(e.className,Pb)})}function Lb(e){return w.jsx(kb,{...e,className:D(e.className,Nb)})}function Ob(e){return w.jsx(Tb,{...e,className:D(e.className,$b)})}var Db="vocs_CodeGroup";function Mb({children:e}){if(!Array.isArray(e))return null;const t=e.map(n=>{const r=n.props["data-title"]?n:n.props.children,{props:o}=r,i=o["data-title"],a=o.children;return{title:i,content:a}});return w.jsxs(Ab,{className:Db,defaultValue:t[0].title,children:[w.jsx(Ib,{"aria-label":"Code group",children:t.map(({title:n},r)=>w.jsx(Lb,{value:n||r.toString(),children:n},n||r.toString()))}),t.map(({title:n,content:r},o)=>{var a,l;const i=(l=(a=r.props)==null?void 0:a.className)==null?void 0:l.includes("shiki");return w.jsx(Ob,{"data-shiki":i,value:n||o.toString(),children:r},n||o.toString())})]})}var jb="vocs_Div",Fb="vocs_Step_content",zb="vocs_Step",uy="vocs_Step_title",Ub="vocs_H2";function dy(e){return w.jsx(Ao,{...e,className:D(e.className,Ub),level:2})}var Vb="vocs_H3";function fy(e){return w.jsx(Ao,{...e,className:D(e.className,Vb),level:3})}var Bb="vocs_H4";function py(e){return w.jsx(Ao,{...e,className:D(e.className,Bb),level:4})}var Hb="vocs_H5";function hy(e){return w.jsx(Ao,{...e,className:D(e.className,Hb),level:5})}var Wb="vocs_H6";function vy(e){return w.jsx(Ao,{...e,className:D(e.className,Wb),level:6})}function Kb({children:e,className:t,title:n,titleLevel:r=2}){const o=(()=>{if(r===2)return dy;if(r===3)return fy;if(r===4)return py;if(r===5)return hy;if(r===6)return vy;throw new Error("Invalid.")})();return w.jsxs("div",{className:D(t,zb),children:[typeof n=="string"?w.jsx(o,{className:uy,children:n}):n,w.jsx("div",{className:Fb,children:e})]})}var Gb="vocs_Steps";function Yb({children:e,className:t}){return w.jsx("div",{className:D(t,Gb),children:e})}function Qb({children:e}){return Array.isArray(e)?w.jsx(Yb,{children:e.map(({props:t},n)=>{const[r,...o]=Array.isArray(t.children)?t.children:[t.children];return w.jsx(Kb,{title:h.cloneElement(r,{className:uy}),children:o},n)})}):null}var Zb="vocs_Subtitle";function Xb({children:e}){return w.jsx("div",{className:Zb,role:"doc-subtitle",children:e})}function Jb(e){const{layout:t}=Nr(),n=D(e.className,jb);return e.className==="code-group"?w.jsx(Mb,{...e,className:n}):"data-authors"in e?w.jsx(ny,{}):"data-blog-posts"in e?w.jsx(U9,{}):"data-sponsors"in e?w.jsx(Z9,{}):"data-autolink-icon"in e&&t==="docs"?w.jsx(q9,{...e,className:n}):"data-vocs-steps"in e?w.jsx(Qb,{...e,className:n}):e.role==="doc-subtitle"?w.jsx(Xb,{...e}):w.jsx("div",{...e,className:n})}var qb="vocs_Figcaption";function eS(e){const t=D(e.className,qb);return w.jsx("figcaption",{...e,className:t})}var tS="vocs_Figure";function nS(e){const t=D(e.className,tS);return w.jsx("figure",{...e,className:t})}var rS="vocs_Header";function oS(e){return w.jsx("header",{...e,className:D(e.className,rS)})}var iS="vocs_HorizontalRule";function aS(e){return w.jsx("hr",{...e,className:D(e.className,iS)})}var lS="vocs_List_ordered",sS="vocs_List",cS="vocs_List_unordered";function ov({ordered:e,...t}){const n=e?"ol":"ul";return w.jsx(n,{...t,className:D(t.className,sS,e?lS:cS)})}var uS="vocs_ListItem";function dS(e){return w.jsx("li",{...e,className:D(e.className,uS)})}function fS(){const e=h.useRef(null),[t,n]=h.useState(!1);h.useEffect(()=>{if(!t)return;const o=setTimeout(()=>n(!1),1e3);return()=>clearTimeout(o)},[t]);function r(){var a;n(!0);const o=(a=e.current)==null?void 0:a.cloneNode(!0),i=o==null?void 0:o.querySelectorAll("button,.line.diff.remove,.twoslash-popup-info-hover,.twoslash-popup-info,.twoslash-meta-line,.twoslash-tag-line");for(const l of i??[])l.remove();navigator.clipboard.writeText(o==null?void 0:o.textContent)}return{copied:t,copy:r,ref:e}}var pS="vocs_CopyButton";function hS(){return w.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 68 67",children:[w.jsx("title",{children:"Checkmark"}),w.jsx("path",{fill:"currentColor",d:"M26.175 66.121c1.904 0 3.418-.83 4.492-2.49L66.263 7.332c.83-1.27 1.123-2.295 1.123-3.32 0-2.393-1.563-4.004-4.004-4.004-1.758 0-2.734.586-3.809 2.295L25.98 56.209 8.304 32.381c-1.123-1.514-2.198-2.149-3.809-2.149-2.441 0-4.2 1.71-4.2 4.15 0 1.026.44 2.15 1.27 3.224l19.971 25.927c1.367 1.758 2.734 2.588 4.639 2.588Z"})]})}function vS(){return w.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 82 82",children:[w.jsx("title",{children:"Copy"}),w.jsx("path",{fill:"currentColor",d:"M12.451 63.281h38.38c8.3 0 12.45-4.053 12.45-12.256v-38.77C63.281 4.054 59.131 0 50.831 0H12.45C4.101 0 0 4.053 0 12.256v38.77C0 59.227 4.102 63.28 12.451 63.28Zm.098-7.031c-3.516 0-5.518-1.904-5.518-5.615V12.647c0-3.711 2.002-5.616 5.518-5.616h38.183c3.516 0 5.518 1.905 5.518 5.615v37.989c0 3.71-2.002 5.615-5.518 5.615H12.55Z"}),w.jsx("path",{stroke:"currentColor",strokeWidth:"6.75px",d:"M69.385 78.266h-38.38c-3.679 0-5.782-.894-6.987-2.081-1.196-1.178-2.088-3.219-2.088-6.8v-38.77c0-3.581.892-5.622 2.088-6.8 1.205-1.187 3.308-2.08 6.988-2.08h38.379c3.65 0 5.758.89 6.973 2.084 1.203 1.182 2.103 3.225 2.103 6.796v38.77c0 3.57-.9 5.614-2.103 6.796-1.215 1.193-3.323 2.085-6.973 2.085Z"})]})}function mS({copy:e,copied:t}){return w.jsx("button",{className:pS,onClick:e,type:"button",children:t?w.jsx(ct,{label:"Copied",size:"14px",icon:hS}):w.jsx(ct,{label:"Copy",size:"18px",icon:vS})})}var gS="vocs_CodeBlock";function yS(e){return w.jsx("div",{...e,className:D(e.className,gS)})}function xS(){return w.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 94 99",fill:"none",children:[w.jsx("title",{children:"File"}),w.jsx("rect",{width:"77px",height:"89px",x:"8px",y:"3px",stroke:"currentColor",strokeWidth:"6px",rx:"7px"}),w.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"6px",d:"M25 22h43M25 35h43M25 48h22"})]})}function wS(){return w.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 79 95",fill:"none",children:[w.jsx("title",{children:"Terminal"}),w.jsx("path",{fill:"currentColor",d:"M38.281 34.033c0-1.074-.39-2.05-1.22-2.88L6.885 1.171C6.152.39 5.175 0 4.053 0 1.758 0 0 1.709 0 4.004c0 1.074.488 2.1 1.172 2.88l27.295 27.15L1.172 61.181C.488 61.962 0 62.939 0 64.062c0 2.295 1.758 4.004 4.053 4.004 1.123 0 2.1-.39 2.832-1.172l30.176-29.98c.83-.83 1.22-1.807 1.22-2.88Z"}),w.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"8px",d:"M36 75h55"})]})}var _S="vocs_CodeTitle";function ES({children:e,className:t,language:n,...r}){return w.jsxs("div",{...r,className:D(t,_S),children:[n==="bash"?w.jsx(ct,{label:"Terminal",size:"14px",icon:wS,style:{marginTop:3}}):e.match(/\.(.*)$/)?w.jsx(ct,{label:"File",size:"14px",icon:xS,style:{marginTop:1}}):null,e]})}var CS="vocs_Pre",bS="vocs_Pre_wrapper";function SS({children:e,className:t,...n}){const{copied:r,copy:o,ref:i}=fS();function a(u){return!u||typeof u!="object"?u:"props"in u?{...u,props:{...u.props,children:Array.isArray(u.props.children)?u.props.children.map(a):a(u.props.children)}}:u}const l=h.useMemo(()=>a(e),[e]);return(u=>t!=null&&t.includes("shiki")?w.jsxs(yS,{children:[n["data-title"]&&w.jsx(ES,{language:n["data-lang"],children:n["data-title"]}),u]}):u)(w.jsx("div",{className:D(bS),children:w.jsxs("pre",{ref:i,...n,className:D(t,CS),children:["data-language"in n&&w.jsx(mS,{copied:r,copy:o}),l]})}))}var kS="vocs_Footnotes";function TS(e){return w.jsx("section",{...e,className:D(e.className,kS)})}var iv="vocs_Section";function $S(e){return"data-footnotes"in e?w.jsx(TS,{...e,className:D(e.className,iv)}):w.jsx("section",{...e,className:D(e.className,iv)})}var av="vocs_Span";function Qa(e,t){if(!e||!t)return!1;const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&ku(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function Ou(e,t){const n=["mouse","pen"];return n.push("",void 0),n.includes(e)}function Na(e){return(e==null?void 0:e.ownerDocument)||document}function PS(e){return"composedPath"in e?e.composedPath()[0]:e.target}const my={...Hu},RS=my.useInsertionEffect,NS=RS||(e=>e());function Du(e){const t=h.useRef(()=>{});return NS(()=>{t.current=e}),h.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o"floating-ui-"+Math.random().toString(36).slice(2,6)+AS++;function IS(){const[e,t]=h.useState(()=>lv?sv():void 0);return ko(()=>{e==null&&t(sv())},[]),h.useEffect(()=>{lv=!0},[]),e}const LS=my.useId,gy=LS||IS,OS=h.forwardRef(function(t,n){const{context:{placement:r,elements:{floating:o},middlewareData:{arrow:i}},width:a=14,height:l=7,tipRadius:s=0,strokeWidth:u=0,staticOffset:d,stroke:c,d:f,style:{transform:p,...y}={},...v}=t,_=gy();if(!o)return null;const m=u*2,g=m/2,x=a/2*(s/-8+1),E=l/2*s/4,[b,k]=r.split("-"),C=_1.isRTL(o),S=!!f,$=b==="top"||b==="bottom",N=d&&k==="end"?"bottom":"top";let O=d&&k==="end"?"right":"left";d&&C&&(O=k==="end"?"left":"right");const M=(i==null?void 0:i.x)!=null?d||i.x:"",L=(i==null?void 0:i.y)!=null?d||i.y:"",P=f||"M0,0"+(" H"+a)+(" L"+(a-x)+","+(l-E))+(" Q"+a/2+","+l+" "+x+","+(l-E))+" Z",V={top:S?"rotate(180deg)":"",left:S?"rotate(90deg)":"rotate(-90deg)",bottom:S?"":"rotate(180deg)",right:S?"rotate(-90deg)":"rotate(90deg)"}[b];return h.createElement("svg",Mu({},v,{"aria-hidden":!0,ref:n,width:S?a:a+m,height:a,viewBox:"0 0 "+a+" "+(l>a?l:a),style:{position:"absolute",pointerEvents:"none",[O]:M,[N]:L,[b]:$||S?"100%":"calc(100% - "+m/2+"px)",transform:""+V+(p??""),...y}}),m>0&&h.createElement("path",{clipPath:"url(#"+_+")",fill:"none",stroke:c,strokeWidth:m+(f?0:1),d:P}),h.createElement("path",{stroke:m&&!f?v.fill:"none",d:P}),h.createElement("clipPath",{id:_},h.createElement("rect",{x:-g,y:g*(S?-1:1),width:a+m,height:a})))});function DS(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(o=>o(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,((r=e.get(t))==null?void 0:r.filter(o=>o!==n))||[])}}}const MS=h.createContext(null),jS=h.createContext(null),yy=()=>{var e;return((e=h.useContext(MS))==null?void 0:e.id)||null},xy=()=>h.useContext(jS);function FS(e){return"data-floating-ui-"+e}function cv(e){const t=h.useRef(e);return ko(()=>{t.current=e}),t}const uv=FS("safe-polygon");function ic(e,t,n){return n&&!Ou(n)?0:typeof e=="number"?e:e==null?void 0:e[t]}function zS(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,dataRef:o,events:i,elements:{domReference:a,floating:l}}=e,{enabled:s=!0,delay:u=0,handleClose:d=null,mouseOnly:c=!1,restMs:f=0,move:p=!0}=t,y=xy(),v=yy(),_=cv(d),m=cv(u),g=h.useRef(),x=h.useRef(-1),E=h.useRef(),b=h.useRef(-1),k=h.useRef(!0),C=h.useRef(!1),S=h.useRef(()=>{}),$=h.useCallback(()=>{var L;const P=(L=o.current.openEvent)==null?void 0:L.type;return(P==null?void 0:P.includes("mouse"))&&P!=="mousedown"},[o]);h.useEffect(()=>{if(!s)return;function L(P){let{open:V}=P;V||(clearTimeout(x.current),clearTimeout(b.current),k.current=!0)}return i.on("openchange",L),()=>{i.off("openchange",L)}},[s,i]),h.useEffect(()=>{if(!s||!_.current||!n)return;function L(V){$()&&r(!1,V,"hover")}const P=Na(l).documentElement;return P.addEventListener("mouseleave",L),()=>{P.removeEventListener("mouseleave",L)}},[l,n,r,s,_,$]);const N=h.useCallback(function(L,P,V){P===void 0&&(P=!0),V===void 0&&(V="hover");const Q=ic(m.current,"close",g.current);Q&&!E.current?(clearTimeout(x.current),x.current=window.setTimeout(()=>r(!1,L,V),Q)):P&&(clearTimeout(x.current),r(!1,L,V))},[m,r]),O=Du(()=>{S.current(),E.current=void 0}),M=Du(()=>{if(C.current){const L=Na(l).body;L.style.pointerEvents="",L.removeAttribute(uv),C.current=!1}});return h.useEffect(()=>{if(!s)return;function L(){return o.current.openEvent?["click","mousedown"].includes(o.current.openEvent.type):!1}function P(U){if(clearTimeout(x.current),k.current=!1,c&&!Ou(g.current)||f>0&&!ic(m.current,"open"))return;const I=ic(m.current,"open",g.current);I?x.current=window.setTimeout(()=>{r(!0,U,"hover")},I):r(!0,U,"hover")}function V(U){if(L())return;S.current();const I=Na(l);if(clearTimeout(b.current),_.current&&o.current.floatingContext){n||clearTimeout(x.current),E.current=_.current({...o.current.floatingContext,tree:y,x:U.clientX,y:U.clientY,onClose(){M(),O(),N(U,!0,"safe-polygon")}});const G=E.current;I.addEventListener("mousemove",G),S.current=()=>{I.removeEventListener("mousemove",G)};return}(g.current==="touch"?!Qa(l,U.relatedTarget):!0)&&N(U)}function Q(U){L()||o.current.floatingContext&&(_.current==null||_.current({...o.current.floatingContext,tree:y,x:U.clientX,y:U.clientY,onClose(){M(),O(),N(U)}})(U))}if(Je(a)){const U=a;return n&&U.addEventListener("mouseleave",Q),l==null||l.addEventListener("mouseleave",Q),p&&U.addEventListener("mousemove",P,{once:!0}),U.addEventListener("mouseenter",P),U.addEventListener("mouseleave",V),()=>{n&&U.removeEventListener("mouseleave",Q),l==null||l.removeEventListener("mouseleave",Q),p&&U.removeEventListener("mousemove",P),U.removeEventListener("mouseenter",P),U.removeEventListener("mouseleave",V)}}},[a,l,s,e,c,f,p,N,O,M,r,n,y,m,_,o]),ko(()=>{var L;if(s&&n&&(L=_.current)!=null&&L.__options.blockPointerEvents&&$()){const V=Na(l).body;if(V.setAttribute(uv,""),V.style.pointerEvents="none",C.current=!0,Je(a)&&l){var P;const Q=a,U=y==null||(P=y.nodesRef.current.find(I=>I.id===v))==null||(P=P.context)==null?void 0:P.elements.floating;return U&&(U.style.pointerEvents=""),Q.style.pointerEvents="auto",l.style.pointerEvents="auto",()=>{Q.style.pointerEvents="",l.style.pointerEvents=""}}}},[s,n,v,l,a,y,_,$]),ko(()=>{n||(g.current=void 0,O(),M())},[n,O,M]),h.useEffect(()=>()=>{O(),clearTimeout(x.current),clearTimeout(b.current),M()},[s,a,O,M]),h.useMemo(()=>{if(!s)return{};function L(P){g.current=P.pointerType}return{reference:{onPointerDown:L,onPointerEnter:L,onMouseMove(P){function V(){k.current||r(!0,P.nativeEvent,"hover")}c&&!Ou(g.current)||n||f===0||(clearTimeout(b.current),g.current==="touch"?V():b.current=window.setTimeout(V,f))}},floating:{onMouseEnter(){clearTimeout(x.current)},onMouseLeave(P){N(P.nativeEvent,!1)}}}},[s,c,n,f,r,N])}function US(e,t){let n=e.filter(o=>{var i;return o.parentId===t&&((i=o.context)==null?void 0:i.open)}),r=n;for(;r.length;)r=e.filter(o=>{var i;return(i=r)==null?void 0:i.some(a=>{var l;return o.parentId===a.id&&((l=o.context)==null?void 0:l.open)})}),n=n.concat(r);return n}function VS(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=gy(),i=h.useRef({}),[a]=h.useState(()=>DS()),l=yy()!=null,[s,u]=h.useState(r.reference),d=Du((p,y,v)=>{i.current.openEvent=p?y:void 0,a.emit("openchange",{open:p,event:y,reason:v,nested:l}),n==null||n(p,y,v)}),c=h.useMemo(()=>({setPositionReference:u}),[]),f=h.useMemo(()=>({reference:s||r.reference||null,floating:r.floating||null,domReference:r.reference}),[s,r.reference,r.floating]);return h.useMemo(()=>({dataRef:i,open:t,onOpenChange:d,elements:f,events:a,floatingId:o,refs:c}),[t,d,f,a,o,c])}function BS(e){e===void 0&&(e={});const{nodeId:t}=e,n=VS({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[i,a]=h.useState(null),[l,s]=h.useState(null),d=(o==null?void 0:o.reference)||i,c=h.useRef(null),f=xy();ko(()=>{d&&(c.current=d)},[d]);const p=C1({...e,elements:{...o,...l&&{reference:l}}}),y=h.useCallback(x=>{const E=Je(x)?{getBoundingClientRect:()=>x.getBoundingClientRect(),contextElement:x}:x;s(E),p.refs.setReference(E)},[p.refs]),v=h.useCallback(x=>{(Je(x)||x===null)&&(c.current=x,a(x)),(Je(p.refs.reference.current)||p.refs.reference.current===null||x!==null&&!Je(x))&&p.refs.setReference(x)},[p.refs]),_=h.useMemo(()=>({...p.refs,setReference:v,setPositionReference:y,domReference:c}),[p.refs,v,y]),m=h.useMemo(()=>({...p.elements,domReference:d}),[p.elements,d]),g=h.useMemo(()=>({...p,...r,refs:_,elements:m,nodeId:t}),[p,_,m,t,r]);return ko(()=>{r.dataRef.current.floatingContext=g;const x=f==null?void 0:f.nodesRef.current.find(E=>E.id===t);x&&(x.context=g)}),h.useMemo(()=>({...p,context:g,refs:_,elements:m}),[p,_,m,g])}const dv="active",fv="selected";function ac(e,t,n){const r=new Map,o=n==="item";let i=e;if(o&&e){const{[dv]:a,[fv]:l,...s}=e;i=s}return{...n==="floating"&&{tabIndex:-1},...i,...t.map(a=>{const l=a?a[n]:null;return typeof l=="function"?e?l(e):null:l}).concat(e).reduce((a,l)=>(l&&Object.entries(l).forEach(s=>{let[u,d]=s;if(!(o&&[dv,fv].includes(u)))if(u.indexOf("on")===0){if(r.has(u)||r.set(u,[]),typeof d=="function"){var c;(c=r.get(u))==null||c.push(d),a[u]=function(){for(var f,p=arguments.length,y=new Array(p),v=0;v_(...y)).find(_=>_!==void 0)}}}else a[u]=d}),a),{})}}function HS(e){e===void 0&&(e=[]);const t=e,n=h.useCallback(i=>ac(i,e,"reference"),t),r=h.useCallback(i=>ac(i,e,"floating"),t),o=h.useCallback(i=>ac(i,e,"item"),e.map(i=>i==null?void 0:i.item));return h.useMemo(()=>({getReferenceProps:n,getFloatingProps:r,getItemProps:o}),[n,r,o])}function pv(e,t){const[n,r]=e;let o=!1;const i=t.length;for(let a=0,l=i-1;a=r!=c>=r&&n<=(d-s)*(r-u)/(c-u)+s&&(o=!o)}return o}function WS(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}function KS(e){e===void 0&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let o,i=!1,a=null,l=null,s=performance.now();function u(c,f){const p=performance.now(),y=p-s;if(a===null||l===null||y===0)return a=c,l=f,s=p,null;const v=c-a,_=f-l,g=Math.sqrt(v*v+_*_)/y;return a=c,l=f,s=p,g}const d=c=>{let{x:f,y:p,placement:y,elements:v,onClose:_,nodeId:m,tree:g}=c;return function(E){function b(){clearTimeout(o),_()}if(clearTimeout(o),!v.domReference||!v.floating||y==null||f==null||p==null)return;const{clientX:k,clientY:C}=E,S=[k,C],$=PS(E),N=E.type==="mouseleave",O=Qa(v.floating,$),M=Qa(v.domReference,$),L=v.domReference.getBoundingClientRect(),P=v.floating.getBoundingClientRect(),V=y.split("-")[0],Q=f>P.right-P.width/2,U=p>P.bottom-P.height/2,I=WS(S,L),B=P.width>L.width,G=P.height>L.height,ie=(B?L:P).left,le=(B?L:P).right,Fe=(G?L:P).top,De=(G?L:P).bottom;if(O&&(i=!0,!N))return;if(M&&(i=!1),M&&!N){i=!0;return}if(N&&Je(E.relatedTarget)&&Qa(v.floating,E.relatedTarget)||g&&US(g.nodesRef.current,m).some(Re=>{let{context:pe}=Re;return pe==null?void 0:pe.open}))return;if(V==="top"&&p>=L.bottom-1||V==="bottom"&&p<=L.top+1||V==="left"&&f>=L.right-1||V==="right"&&f<=L.left+1)return b();let ye=[];switch(V){case"top":ye=[[ie,L.top+1],[ie,P.bottom-1],[le,P.bottom-1],[le,L.top+1]];break;case"bottom":ye=[[ie,P.top+1],[ie,L.bottom-1],[le,L.bottom-1],[le,P.top+1]];break;case"left":ye=[[P.right-1,De],[P.right-1,Fe],[L.left+1,Fe],[L.left+1,De]];break;case"right":ye=[[L.right-1,De],[L.right-1,Fe],[P.left+1,Fe],[P.left+1,De]];break}function xe(Re){let[pe,Se]=Re;switch(V){case"top":{const Ot=[B?pe+t/2:Q?pe+t*4:pe-t*4,Se+t+1],Dt=[B?pe-t/2:Q?pe+t*4:pe-t*4,Se+t+1],Ne=[[P.left,Q||B?P.bottom-t:P.top],[P.right,Q?B?P.bottom-t:P.top:P.bottom-t]];return[Ot,Dt,...Ne]}case"bottom":{const Ot=[B?pe+t/2:Q?pe+t*4:pe-t*4,Se-t],Dt=[B?pe-t/2:Q?pe+t*4:pe-t*4,Se-t],Ne=[[P.left,Q||B?P.top+t:P.bottom],[P.right,Q?B?P.top+t:P.bottom:P.top+t]];return[Ot,Dt,...Ne]}case"left":{const Ot=[pe+t+1,G?Se+t/2:U?Se+t*4:Se-t*4],Dt=[pe+t+1,G?Se-t/2:U?Se+t*4:Se-t*4];return[...[[U||G?P.right-t:P.left,P.top],[U?G?P.right-t:P.left:P.right-t,P.bottom]],Ot,Dt]}case"right":{const Ot=[pe-t,G?Se+t/2:U?Se+t*4:Se-t*4],Dt=[pe-t,G?Se-t/2:U?Se+t*4:Se-t*4],Ne=[[U||G?P.left+t:P.right,P.top],[U?G?P.left+t:P.right:P.left+t,P.bottom]];return[Ot,Dt,...Ne]}}}if(!pv([k,C],ye)){if(i&&!I)return b();if(!N&&r){const Re=u(E.clientX,E.clientY);if(Re!==null&&Re<.1)return b()}pv([k,C],xe([f,p]))?!i&&r&&(o=window.setTimeout(b,40)):b()}}};return d.__options={blockPointerEvents:n},d}function GS({children:e,...t}){const[n,r]=e,o=h.useRef(null),[i,a]=h.useState(!1),{context:l,refs:s,floatingStyles:u}=BS({middleware:[k1({element:o}),b1(8),S1()],open:i,onOpenChange:a,placement:"bottom-start"}),d=zS(l,{handleClose:KS()}),{getReferenceProps:c,getFloatingProps:f}=HS([d]),p=r.props.children,y=n.props.children;return w.jsxs("span",{...t,children:[w.jsx("span",{className:"twoslash-target",ref:s.setReference,...c(),children:p}),i&&w.jsxs("div",{className:"twoslash-popup-info-hover",ref:s.setFloating,style:u,...f(),children:[w.jsx(OS,{ref:o,context:l,fill:ih.background5,height:3,stroke:ih.border2,strokeWidth:1,width:7}),w.jsx("div",{className:"twoslash-popup-scroll-container",children:y})]})]})}function YS(e){var n;const t=D(e.className,av);return(n=e.className)!=null&&n.includes("twoslash-hover")?w.jsx(GS,{...e,className:t}):w.jsx("span",{...e,className:D(e.className,av)})}var QS="vocs_CalloutTitle";function ZS({className:e,children:t}){return w.jsx("strong",{className:D(e,QS),children:t})}var hv="vocs_Strong";function XS(e){return"data-callout-title"in e&&typeof e.children=="string"?w.jsx(ZS,{...e,className:D(e.className,hv),children:e.children}):w.jsx("strong",{...e,className:D(e.className,hv)})}var JS="vocs_Summary";function qS(e){return w.jsx("summary",{...e,className:D(e.className,JS)})}var ek="vocs_Table";function tk(e){return w.jsx("table",{...e,className:D(e.className,ek)})}var nk="vocs_TableCell";function rk(e){return w.jsx("td",{...e,className:D(e.className,nk)})}var ok="vocs_TableHeader";function ik(e){return w.jsx("th",{...e,className:D(e.className,ok)})}var ak="vocs_TableRow";function lk(e){return w.jsx("tr",{...e,className:D(e.className,ak)})}const sk={a:p9,aside:C9,blockquote:S9,code:T9,details:R9,div:Jb,pre:SS,header:oS,figcaption:eS,figure:nS,h1:J0,h2:dy,h3:fy,h4:py,h5:hy,h6:vy,hr:aS,kd:Lg,li:dS,ol:e=>w.jsx(ov,{ordered:!0,...e}),p:q0,section:$S,span:YS,strong:XS,summary:qS,table:tk,td:rk,th:ik,tr:lk,ul:e=>w.jsx(ov,{ordered:!1,...e})};function ck(){const{pathname:e}=Oe(),t=Ke(),{ogImageUrl:n}=t;if(!n)return;if(typeof n=="string")return n;const r=h.useMemo(()=>{const o=Object.keys(n).filter(i=>e.startsWith(i));return o[o.length-1]},[n,e]);if(r)return n[r]}function ju(e){const{children:t,filePath:n,frontmatter:r,lastUpdatedAt:o,path:i}=e,{pathname:a}=Oe(),l=h.useRef();return h.useEffect(()=>{l.current=a}),w.jsxs(w.Fragment,{children:[w.jsx(uk,{frontmatter:r}),typeof window<"u"&&w.jsx(P3,{}),w.jsx(mC,{components:sk,children:w.jsx(H4,{frontmatter:r,path:i,children:w.jsx(ng.Provider,{value:{filePath:n,frontmatter:r,lastUpdatedAt:o,previousPath:l.current},children:t})})})]})}function uk({frontmatter:e}){var c,f,p,y,v,_;const t=Ke(),n=ck(),{baseUrl:r,font:o,iconUrl:i,logoUrl:a}=t,l=(e==null?void 0:e.title)??t.title,s=(e==null?void 0:e.description)??t.description,u=t.title&&!l.includes(t.title),d=typeof window<"u"&&window.location.hostname==="localhost";return w.jsxs(Iu,{defaultTitle:t.title,titleTemplate:u?t.titleTemplate:void 0,children:[l&&w.jsx("title",{children:l}),r&&!0&&!d&&w.jsx("base",{href:r}),s!=="undefined"&&w.jsx("meta",{name:"description",content:s}),i&&typeof i=="string"&&w.jsx("link",{rel:"icon",href:i,type:lc(i)}),i&&typeof i!="string"&&w.jsx("link",{rel:"icon",href:i.light,type:lc(i.light)}),i&&typeof i!="string"&&w.jsx("link",{rel:"icon",href:i.dark,type:lc(i.dark),media:"(prefers-color-scheme: dark)"}),w.jsx("meta",{property:"og:type",content:"website"}),w.jsx("meta",{property:"og:title",content:l||t.title}),r&&w.jsx("meta",{property:"og:url",content:r}),s!=="undefined"&&w.jsx("meta",{property:"og:description",content:s}),n&&w.jsx("meta",{property:"og:image",content:n.replace("%logo",`${r||""}${typeof a=="string"?a:(a==null?void 0:a.dark)||""}`).replace("%title",l||"").replace("%description",(s!=="undefined"?s:"")||"")}),(((c=o==null?void 0:o.default)==null?void 0:c.google)||((f=o==null?void 0:o.mono)==null?void 0:f.google))&&w.jsx("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(((p=o==null?void 0:o.default)==null?void 0:p.google)||((y=o==null?void 0:o.mono)==null?void 0:y.google))&&w.jsx("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:""}),((v=o==null?void 0:o.default)==null?void 0:v.google)&&w.jsx("link",{href:`https://fonts.googleapis.com/css2?family=${o.default.google}:wght@300;400;500&display=swap`,rel:"stylesheet"}),((_=o==null?void 0:o.mono)==null?void 0:_.google)&&w.jsx("link",{href:`https://fonts.googleapis.com/css2?family=${o.mono.google}:wght@300;400;500&display=swap`,rel:"stylesheet"}),w.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),n&&w.jsx("meta",{property:"twitter:image",content:n.replace("%logo",`${r||""}${typeof a=="string"?a:(a==null?void 0:a.dark)||""}`).replace("%title",l||"").replace("%description",(s!=="undefined"?s:"")||"")})]})}function lc(e){if(e.endsWith(".svg"))return"image/svg+xml";if(e.endsWith(".png"))return"image/png";if(e.endsWith(".jpg"))return"image/jpeg";if(e.endsWith(".ico"))return"image/x-icon";if(e.endsWith(".webp"))return"image/webp"}const dk=(()=>{const e=Wd.find(({path:t})=>t==="*");return e?{path:e.path,lazy:async()=>{const{frontmatter:t,...n}=await e.lazy();return{...n,element:w.jsx(ju,{frontmatter:t,path:e.path,children:w.jsx($u,{children:w.jsx(n.default,{})})})}}}:{path:"*",lazy:void 0,element:w.jsx(ju,{frontmatter:{layout:"minimal"},path:"*",children:w.jsx($u,{children:w.jsx(q3,{})})})}})(),vv=[...Wd.filter(({path:e})=>e!=="*").map(e=>({path:e.path,lazy:async()=>{const{frontmatter:t,...n}=await e.lazy();return{...n,element:w.jsx(ju,{filePath:e.filePath,frontmatter:t,lastUpdatedAt:e.lastUpdatedAt,path:e.path,children:w.jsx($u,{children:w.jsx(n.default,{})})})}}})),dk];async function fk(e,t){var r;const n=(r=fr(e,window.location,t))==null?void 0:r.filter(o=>o.route.lazy);n&&(n==null?void 0:n.length)>0&&await Promise.all(n.map(async o=>{const i=await o.route.lazy();Object.assign(o.route,{...i,lazy:void 0})}))}function pk(){const e=document.querySelectorAll('style[data-vocs-temp-style="true"]');for(const t of e)t.remove()}hk();async function hk(){const e=G0().basePath;await fk(vv,e),pk();const t=m3(vv,{basename:e});P0(document.getElementById("app"),w.jsx(M3,{children:w.jsx(S3,{router:t})}))}export{Ob as C,on as L,Ab as R,Lb as T,Y6 as a,Ib as b,D as c,vC as d,w as j,Ke as u}; +*/var Jh=Object.getOwnPropertySymbols,OC=Object.prototype.hasOwnProperty,DC=Object.prototype.propertyIsEnumerable;function MC(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function jC(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(r.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(i){o[i]=i}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var FC=jC()?Object.assign:function(e,t){for(var n,r=MC(e),o,i=1;i=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},GC=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e},Ru=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return n===!1?String(t):String(t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},YC=function(t){var n=po(t,ee.TITLE),r=po(t,zi.TITLE_TEMPLATE);if(r&&n)return r.replace(/%s/g,function(){return Array.isArray(n)?n.join(""):n});var o=po(t,zi.DEFAULT_TITLE);return n||o||void 0},QC=function(t){return po(t,zi.ON_CHANGE_CLIENT_STATE)||function(){}},nc=function(t,n){return n.filter(function(r){return typeof r[t]<"u"}).map(function(r){return r[t]}).reduce(function(r,o){return ft({},r,o)},{})},ZC=function(t,n){return n.filter(function(r){return typeof r[ee.BASE]<"u"}).map(function(r){return r[ee.BASE]}).reverse().reduce(function(r,o){if(!r.length)for(var i=Object.keys(o),a=0;a=0;r--){var o=t[r];if(o.hasOwnProperty(n))return o[n]}return null},XC=function(t){return{baseTag:ZC([Ee.HREF,Ee.TARGET],t),bodyAttributes:nc(gr.BODY,t),defer:po(t,zi.DEFER),encode:po(t,zi.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:nc(gr.HTML,t),linkTags:ti(ee.LINK,[Ee.REL,Ee.HREF],t),metaTags:ti(ee.META,[Ee.NAME,Ee.CHARSET,Ee.HTTPEQUIV,Ee.PROPERTY,Ee.ITEM_PROP],t),noscriptTags:ti(ee.NOSCRIPT,[Ee.INNER_HTML],t),onChangeClientState:QC(t),scriptTags:ti(ee.SCRIPT,[Ee.SRC,Ee.INNER_HTML],t),styleTags:ti(ee.STYLE,[Ee.CSS_TEXT],t),title:YC(t),titleAttributes:nc(gr.TITLE,t)}},Nu=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout(function(){Nu(t)},0)}}(),ev=function(t){return clearTimeout(t)},JC=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Nu:global.requestAnimationFrame||Nu,qC=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||ev:global.cancelAnimationFrame||ev,eb=function(t){return console&&typeof console.warn=="function"&&console.warn(t)},ni=null,tb=function(t){ni&&qC(ni),t.defer?ni=JC(function(){tv(t,function(){ni=null})}):(tv(t),ni=null)},tv=function(t,n){var r=t.baseTag,o=t.bodyAttributes,i=t.htmlAttributes,a=t.linkTags,l=t.metaTags,s=t.noscriptTags,u=t.onChangeClientState,d=t.scriptTags,c=t.styleTags,f=t.title,p=t.titleAttributes;Au(ee.BODY,o),Au(ee.HTML,i),nb(f,p);var y={baseTag:Hr(ee.BASE,r),linkTags:Hr(ee.LINK,a),metaTags:Hr(ee.META,l),noscriptTags:Hr(ee.NOSCRIPT,s),scriptTags:Hr(ee.SCRIPT,d),styleTags:Hr(ee.STYLE,c)},v={},_={};Object.keys(y).forEach(function(m){var g=y[m],x=g.newTags,E=g.oldTags;x.length&&(v[m]=x),E.length&&(_[m]=y[m].oldTags)}),n&&n(),u(t,v,_)},Xg=function(t){return Array.isArray(t)?t.join(""):t},nb=function(t,n){typeof t<"u"&&document.title!==t&&(document.title=Xg(t)),Au(ee.TITLE,n)},Au=function(t,n){var r=document.getElementsByTagName(t)[0];if(r){for(var o=r.getAttribute(Bt),i=o?o.split(","):[],a=[].concat(i),l=Object.keys(n),s=0;s=0;f--)r.removeAttribute(a[f]);i.length===a.length?r.removeAttribute(Bt):r.getAttribute(Bt)!==l.join(",")&&r.setAttribute(Bt,l.join(","))}},Hr=function(t,n){var r=document.head||document.querySelector(ee.HEAD),o=r.querySelectorAll(t+"["+Bt+"]"),i=Array.prototype.slice.call(o),a=[],l=void 0;return n&&n.length&&n.forEach(function(s){var u=document.createElement(t);for(var d in s)if(s.hasOwnProperty(d))if(d===Ee.INNER_HTML)u.innerHTML=s.innerHTML;else if(d===Ee.CSS_TEXT)u.styleSheet?u.styleSheet.cssText=s.cssText:u.appendChild(document.createTextNode(s.cssText));else{var c=typeof s[d]>"u"?"":s[d];u.setAttribute(d,c)}u.setAttribute(Bt,"true"),i.some(function(f,p){return l=p,u.isEqualNode(f)})?i.splice(l,1):a.push(u)}),i.forEach(function(s){return s.parentNode.removeChild(s)}),a.forEach(function(s){return r.appendChild(s)}),{oldTags:i,newTags:a}},Jg=function(t){return Object.keys(t).reduce(function(n,r){var o=typeof t[r]<"u"?r+'="'+t[r]+'"':""+r;return n?n+" "+o:o},"")},rb=function(t,n,r,o){var i=Jg(r),a=Xg(n);return i?"<"+t+" "+Bt+'="true" '+i+">"+Ru(a,o)+"":"<"+t+" "+Bt+'="true">'+Ru(a,o)+""},ob=function(t,n,r){return n.reduce(function(o,i){var a=Object.keys(i).filter(function(u){return!(u===Ee.INNER_HTML||u===Ee.CSS_TEXT)}).reduce(function(u,d){var c=typeof i[d]>"u"?d:d+'="'+Ru(i[d],r)+'"';return u?u+" "+c:c},""),l=i.innerHTML||i.cssText||"",s=VC.indexOf(t)===-1;return o+"<"+t+" "+Bt+'="true" '+a+(s?"/>":">"+l+"")},"")},qg=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[Pl[o]||o]=t[o],r},n)},ib=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[UC[o]||o]=t[o],r},n)},ab=function(t,n,r){var o,i=(o={key:n},o[Bt]=!0,o),a=qg(r,i);return[X.createElement(ee.TITLE,a,n)]},lb=function(t,n){return n.map(function(r,o){var i,a=(i={key:o},i[Bt]=!0,i);return Object.keys(r).forEach(function(l){var s=Pl[l]||l;if(s===Ee.INNER_HTML||s===Ee.CSS_TEXT){var u=r.innerHTML||r.cssText;a.dangerouslySetInnerHTML={__html:u}}else a[s]=r[l]}),X.createElement(t,a)})},sn=function(t,n,r){switch(t){case ee.TITLE:return{toComponent:function(){return ab(t,n.title,n.titleAttributes)},toString:function(){return rb(t,n.title,n.titleAttributes,r)}};case gr.BODY:case gr.HTML:return{toComponent:function(){return qg(n)},toString:function(){return Jg(n)}};default:return{toComponent:function(){return lb(t,n)},toString:function(){return ob(t,n,r)}}}},ey=function(t){var n=t.baseTag,r=t.bodyAttributes,o=t.encode,i=t.htmlAttributes,a=t.linkTags,l=t.metaTags,s=t.noscriptTags,u=t.scriptTags,d=t.styleTags,c=t.title,f=c===void 0?"":c,p=t.titleAttributes;return{base:sn(ee.BASE,n,o),bodyAttributes:sn(gr.BODY,r,o),htmlAttributes:sn(gr.HTML,i,o),link:sn(ee.LINK,a,o),meta:sn(ee.META,l,o),noscript:sn(ee.NOSCRIPT,s,o),script:sn(ee.SCRIPT,u,o),style:sn(ee.STYLE,d,o),title:sn(ee.TITLE,{title:f,titleAttributes:p},o)}},sb=function(t){var n,r;return r=n=function(o){KC(i,o);function i(){return HC(this,i),GC(this,o.apply(this,arguments))}return i.prototype.shouldComponentUpdate=function(l){return!LC(this.props,l)},i.prototype.mapNestedChildrenToProps=function(l,s){if(!s)return null;switch(l.type){case ee.SCRIPT:case ee.NOSCRIPT:return{innerHTML:s};case ee.STYLE:return{cssText:s}}throw new Error("<"+l.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},i.prototype.flattenArrayTypeChildren=function(l){var s,u=l.child,d=l.arrayTypeChildren,c=l.newChildProps,f=l.nestedChildren;return ft({},d,(s={},s[u.type]=[].concat(d[u.type]||[],[ft({},c,this.mapNestedChildrenToProps(u,f))]),s))},i.prototype.mapObjectTypeChildren=function(l){var s,u,d=l.child,c=l.newProps,f=l.newChildProps,p=l.nestedChildren;switch(d.type){case ee.TITLE:return ft({},c,(s={},s[d.type]=p,s.titleAttributes=ft({},f),s));case ee.BODY:return ft({},c,{bodyAttributes:ft({},f)});case ee.HTML:return ft({},c,{htmlAttributes:ft({},f)})}return ft({},c,(u={},u[d.type]=ft({},f),u))},i.prototype.mapArrayTypeChildrenToProps=function(l,s){var u=ft({},s);return Object.keys(l).forEach(function(d){var c;u=ft({},u,(c={},c[d]=l[d],c))}),u},i.prototype.warnOnInvalidChildren=function(l,s){return!0},i.prototype.mapChildrenToProps=function(l,s){var u=this,d={};return X.Children.forEach(l,function(c){if(!(!c||!c.props)){var f=c.props,p=f.children,y=qh(f,["children"]),v=ib(y);switch(u.warnOnInvalidChildren(c,p),c.type){case ee.LINK:case ee.META:case ee.NOSCRIPT:case ee.SCRIPT:case ee.STYLE:d=u.flattenArrayTypeChildren({child:c,arrayTypeChildren:d,newChildProps:v,nestedChildren:p});break;default:s=u.mapObjectTypeChildren({child:c,newProps:s,newChildProps:v,nestedChildren:p});break}}}),s=this.mapArrayTypeChildrenToProps(d,s),s},i.prototype.render=function(){var l=this.props,s=l.children,u=qh(l,["children"]),d=ft({},u);return s&&(d=this.mapChildrenToProps(s,d)),X.createElement(t,d)},WC(i,null,[{key:"canUseDOM",set:function(l){t.canUseDOM=l}}]),i}(X.Component),n.propTypes={base:_e.object,bodyAttributes:_e.object,children:_e.oneOfType([_e.arrayOf(_e.node),_e.node]),defaultTitle:_e.string,defer:_e.bool,encodeSpecialCharacters:_e.bool,htmlAttributes:_e.object,link:_e.arrayOf(_e.object),meta:_e.arrayOf(_e.object),noscript:_e.arrayOf(_e.object),onChangeClientState:_e.func,script:_e.arrayOf(_e.object),style:_e.arrayOf(_e.object),title:_e.string,titleAttributes:_e.object,titleTemplate:_e.string},n.defaultProps={defer:!0,encodeSpecialCharacters:!0},n.peek=t.peek,n.rewind=function(){var o=t.rewind();return o||(o=ey({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),o},r},cb=function(){return null},ub=$C(XC,tb,ey)(cb),Iu=sb(ub);Iu.renderStatic=Iu.rewind;var rc="vocs_Anchor",db="vocs_Autolink";function fb(e){return e.href?w.jsx(Gl,{...e,className:D(e.className,db),to:e.href}):null}function pb(e){const{children:t,href:n}=e,{pathname:r}=Oe();return t&&typeof t=="object"&&"props"in t&&t.props["data-autolink-icon"]?w.jsx(fb,{className:D(e.className,rc),...e}):n!=null&&n.match(/^#/)?w.jsx("a",{className:D(e.className,rc),...e,href:`${r}${n}`}):w.jsx(on,{className:D(e.className,rc),...e})}var hb="vocs_Callout_danger",vb="vocs_Callout_info",mb="vocs_Callout_note",ty="vocs_Callout",gb="vocs_Callout_success",yb="vocs_Callout_tip",xb="vocs_Callout_warning";const wb=Object.freeze(Object.defineProperty({__proto__:null,danger:hb,info:vb,note:mb,root:ty,success:gb,tip:yb,warning:xb},Symbol.toStringTag,{value:"Module"}));function _b({className:e,children:t,type:n}){return w.jsx("aside",{className:D(e,ty,wb[n]),children:t})}var Eb="vocs_Aside";function Cb(e){const t=D(e.className,Eb);return"data-callout"in e?w.jsx(_b,{className:t,type:e["data-callout"],children:e.children}):w.jsx("aside",{...e,className:t})}var bb="vocs_Blockquote";function Sb(e){return w.jsx("blockquote",{...e,className:D(e.className,bb)})}var kb="vocs_Code";function Tb(e){const t=$b(e.children);return w.jsx("code",{...e,className:D(e.className,kb),children:t})}function $b(e){return Array.isArray(e)?e.map((t,n)=>{var r,o,i;return t.props&&"data-line"in t.props&&typeof t.props.children=="string"&&t.props.children.trim()===""&&((i=(o=(r=e[n+1])==null?void 0:r.props)==null?void 0:o.className)!=null&&i.includes("twoslash-tag-line"))?null:t}).filter(Boolean):e}var Pb="vocs_Details";function Rb(e){return w.jsx("details",{...e,className:D(e.className,Pb)})}var Nb="vocs_Authors_authors",Ab="vocs_Authors_link",Ib="vocs_Authors",nv="vocs_Authors_separator";function ny(e){const{frontmatter:t}=Rr(),{authors:n=t==null?void 0:t.authors,date:r=t==null?void 0:t.date}=e,o=h.useMemo(()=>{if(n)return Array.isArray(n)?n:n.split(",").map(a=>a.trim())},[n]),i=h.useMemo(()=>r?new Date(r).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}):null,[r]);return w.jsxs("div",{className:Ib,children:[i,o&&(i?" by ":"By "),w.jsx("span",{className:Nb,children:o==null?void 0:o.map((a,l)=>{const{text:s,url:u}=Lb(a);return w.jsxs(h.Fragment,{children:[u?w.jsx("a",{className:Ab,href:u,target:"_blank",rel:"noopener noreferrer",children:s}):s,lw.jsxs(h.Fragment,{children:[w.jsx("div",{className:Mb,children:w.jsxs(Qn,{to:e.path,children:[w.jsx("h2",{className:zb,children:e.title}),w.jsx(ny,{authors:e.authors,date:e.date}),w.jsxs("p",{className:Ob,children:[e.description," ",w.jsx("span",{className:jb,children:"[→]"})]})]})}),tw.jsxs(h.Fragment,{children:[w.jsx("div",{className:Qb,children:t.name}),t.items.map((r,o)=>{var i;return w.jsx("div",{className:Gb,style:Gt({[Bb]:r.length.toString(),[Hb]:`${((i=t.height)==null?void 0:i.toString())??"40"}px`}),children:r.map((a,l)=>w.jsx(on,{className:D(Vb,a?Yb:void 0),hideExternalIcon:!0,href:a==null?void 0:a.link,variant:"styleless",children:w.jsx("img",{className:Wb,src:a==null?void 0:a.image,alt:a==null?void 0:a.name})},l))},o)})]},n))})}var Xb="var(--vocs_AutolinkIcon_iconUrl)",Jb="vocs_AutolinkIcon";function qb(e){const{basePath:t}=Ke(),n=t;return w.jsx("div",{...e,className:D(e.className,Jb),style:Gt({[Xb]:`url(${n}/.vocs/icons/link.svg)`})})}const oc="rovingFocusGroup.onEntryFocus",eS={bubbles:!1,cancelable:!0},mf="RovingFocusGroup",[Lu,ry,tS]=Xl(mf),[nS,oy]=Cn(mf,[tS]),[rS,oS]=nS(mf),iS=h.forwardRef((e,t)=>h.createElement(Lu.Provider,{scope:e.__scopeRovingFocusGroup},h.createElement(Lu.Slot,{scope:e.__scopeRovingFocusGroup},h.createElement(aS,Y({},e,{ref:t}))))),aS=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:s,onEntryFocus:u,...d}=e,c=h.useRef(null),f=Ve(t,c),p=Zl(i),[y=null,v]=or({prop:a,defaultProp:l,onChange:s}),[_,m]=h.useState(!1),g=lt(u),x=ry(n),E=h.useRef(!1),[b,k]=h.useState(0);return h.useEffect(()=>{const C=c.current;if(C)return C.addEventListener(oc,g),()=>C.removeEventListener(oc,g)},[g]),h.createElement(rS,{scope:n,orientation:r,dir:p,loop:o,currentTabStopId:y,onItemFocus:h.useCallback(C=>v(C),[v]),onItemShiftTab:h.useCallback(()=>m(!0),[]),onFocusableItemAdd:h.useCallback(()=>k(C=>C+1),[]),onFocusableItemRemove:h.useCallback(()=>k(C=>C-1),[])},h.createElement(fe.div,Y({tabIndex:_||b===0?-1:0,"data-orientation":r},d,{ref:f,style:{outline:"none",...e.style},onMouseDown:se(e.onMouseDown,()=>{E.current=!0}),onFocus:se(e.onFocus,C=>{const S=!E.current;if(C.target===C.currentTarget&&S&&!_){const $=new CustomEvent(oc,eS);if(C.currentTarget.dispatchEvent($),!$.defaultPrevented){const N=x().filter(V=>V.focusable),O=N.find(V=>V.active),M=N.find(V=>V.id===y),P=[O,M,...N].filter(Boolean).map(V=>V.ref.current);iy(P)}}E.current=!1}),onBlur:se(e.onBlur,()=>m(!1))})))}),lS="RovingFocusGroupItem",sS=h.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...a}=e,l=an(),s=i||l,u=oS(lS,n),d=u.currentTabStopId===s,c=ry(n),{onFocusableItemAdd:f,onFocusableItemRemove:p}=u;return h.useEffect(()=>{if(r)return f(),()=>p()},[r,f,p]),h.createElement(Lu.ItemSlot,{scope:n,id:s,focusable:r,active:o},h.createElement(fe.span,Y({tabIndex:d?0:-1,"data-orientation":u.orientation},a,{ref:t,onMouseDown:se(e.onMouseDown,y=>{r?u.onItemFocus(s):y.preventDefault()}),onFocus:se(e.onFocus,()=>u.onItemFocus(s)),onKeyDown:se(e.onKeyDown,y=>{if(y.key==="Tab"&&y.shiftKey){u.onItemShiftTab();return}if(y.target!==y.currentTarget)return;const v=dS(y,u.orientation,u.dir);if(v!==void 0){y.preventDefault();let m=c().filter(g=>g.focusable).map(g=>g.ref.current);if(v==="last")m.reverse();else if(v==="prev"||v==="next"){v==="prev"&&m.reverse();const g=m.indexOf(y.currentTarget);m=u.loop?fS(m,g+1):m.slice(g+1)}setTimeout(()=>iy(m))}})})))}),cS={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function uS(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function dS(e,t,n){const r=uS(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return cS[r]}function iy(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function fS(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const pS=iS,hS=sS,ay="Tabs",[vS,_k]=Cn(ay,[oy]),ly=oy(),[mS,gf]=vS(ay),gS=h.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:i,orientation:a="horizontal",dir:l,activationMode:s="automatic",...u}=e,d=Zl(l),[c,f]=or({prop:r,onChange:o,defaultProp:i});return h.createElement(mS,{scope:n,baseId:an(),value:c,onValueChange:f,orientation:a,dir:d,activationMode:s},h.createElement(fe.div,Y({dir:d,"data-orientation":a},u,{ref:t})))}),yS="TabsList",xS=h.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,i=gf(yS,n),a=ly(n);return h.createElement(pS,Y({asChild:!0},a,{orientation:i.orientation,dir:i.dir,loop:r}),h.createElement(fe.div,Y({role:"tablist","aria-orientation":i.orientation},o,{ref:t})))}),wS="TabsTrigger",_S=h.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...i}=e,a=gf(wS,n),l=ly(n),s=sy(a.baseId,r),u=cy(a.baseId,r),d=r===a.value;return h.createElement(hS,Y({asChild:!0},l,{focusable:!o,active:d}),h.createElement(fe.button,Y({type:"button",role:"tab","aria-selected":d,"aria-controls":u,"data-state":d?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:s},i,{ref:t,onMouseDown:se(e.onMouseDown,c=>{!o&&c.button===0&&c.ctrlKey===!1?a.onValueChange(r):c.preventDefault()}),onKeyDown:se(e.onKeyDown,c=>{[" ","Enter"].includes(c.key)&&a.onValueChange(r)}),onFocus:se(e.onFocus,()=>{const c=a.activationMode!=="manual";!d&&!o&&c&&a.onValueChange(r)})})))}),ES="TabsContent",CS=h.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:i,...a}=e,l=gf(ES,n),s=sy(l.baseId,r),u=cy(l.baseId,r),d=r===l.value,c=h.useRef(d);return h.useEffect(()=>{const f=requestAnimationFrame(()=>c.current=!1);return()=>cancelAnimationFrame(f)},[]),h.createElement(bn,{present:o||d},({present:f})=>h.createElement(fe.div,Y({"data-state":d?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":s,hidden:!f,id:u,tabIndex:0},a,{ref:t,style:{...e.style,animationDuration:c.current?"0s":void 0}}),f&&i))});function sy(e,t){return`${e}-trigger-${t}`}function cy(e,t){return`${e}-content-${t}`}const bS=gS,SS=xS,kS=_S,TS=CS;var $S="vocs_Tabs_content",PS="vocs_Tabs_list",RS="vocs_Tabs",NS="vocs_Tabs_trigger";function AS(e){return w.jsx(bS,{...e,className:D(e.className,RS)})}function IS(e){return w.jsx(SS,{...e,className:D(e.className,PS)})}function LS(e){return w.jsx(kS,{...e,className:D(e.className,NS)})}function OS(e){return w.jsx(TS,{...e,className:D(e.className,$S)})}var DS="vocs_CodeGroup";function MS({children:e}){if(!Array.isArray(e))return null;const t=e.map(n=>{const r=n.props["data-title"]?n:n.props.children,{props:o}=r,i=o["data-title"],a=o.children;return{title:i,content:a}});return w.jsxs(AS,{className:DS,defaultValue:t[0].title,children:[w.jsx(IS,{"aria-label":"Code group",children:t.map(({title:n},r)=>w.jsx(LS,{value:n||r.toString(),children:n},n||r.toString()))}),t.map(({title:n,content:r},o)=>{var a,l;const i=(l=(a=r.props)==null?void 0:a.className)==null?void 0:l.includes("shiki");return w.jsx(OS,{"data-shiki":i,value:n||o.toString(),children:r},n||o.toString())})]})}var jS="vocs_Div",FS="vocs_Step_content",zS="vocs_Step",uy="vocs_Step_title",US="vocs_H2";function dy(e){return w.jsx(Ao,{...e,className:D(e.className,US),level:2})}var VS="vocs_H3";function fy(e){return w.jsx(Ao,{...e,className:D(e.className,VS),level:3})}var BS="vocs_H4";function py(e){return w.jsx(Ao,{...e,className:D(e.className,BS),level:4})}var HS="vocs_H5";function hy(e){return w.jsx(Ao,{...e,className:D(e.className,HS),level:5})}var WS="vocs_H6";function vy(e){return w.jsx(Ao,{...e,className:D(e.className,WS),level:6})}function KS({children:e,className:t,title:n,titleLevel:r=2}){const o=(()=>{if(r===2)return dy;if(r===3)return fy;if(r===4)return py;if(r===5)return hy;if(r===6)return vy;throw new Error("Invalid.")})();return w.jsxs("div",{className:D(t,zS),children:[typeof n=="string"?w.jsx(o,{className:uy,children:n}):n,w.jsx("div",{className:FS,children:e})]})}var GS="vocs_Steps";function YS({children:e,className:t}){return w.jsx("div",{className:D(t,GS),children:e})}function QS({children:e}){return Array.isArray(e)?w.jsx(YS,{children:e.map(({props:t},n)=>{const[r,...o]=Array.isArray(t.children)?t.children:[t.children];return w.jsx(KS,{title:h.cloneElement(r,{className:uy}),children:o},n)})}):null}var ZS="vocs_Subtitle";function XS({children:e}){return w.jsx("div",{className:ZS,role:"doc-subtitle",children:e})}function JS(e){const{layout:t}=Nr(),n=D(e.className,jS);return e.className==="code-group"?w.jsx(MS,{...e,className:n}):"data-authors"in e?w.jsx(ny,{}):"data-blog-posts"in e?w.jsx(Ub,{}):"data-sponsors"in e?w.jsx(Zb,{}):"data-autolink-icon"in e&&t==="docs"?w.jsx(qb,{...e,className:n}):"data-vocs-steps"in e?w.jsx(QS,{...e,className:n}):e.role==="doc-subtitle"?w.jsx(XS,{...e}):w.jsx("div",{...e,className:n})}var qS="vocs_Figcaption";function e9(e){const t=D(e.className,qS);return w.jsx("figcaption",{...e,className:t})}var t9="vocs_Figure";function n9(e){const t=D(e.className,t9);return w.jsx("figure",{...e,className:t})}var r9="vocs_Header";function o9(e){return w.jsx("header",{...e,className:D(e.className,r9)})}var i9="vocs_HorizontalRule";function a9(e){return w.jsx("hr",{...e,className:D(e.className,i9)})}var l9="vocs_List_ordered",s9="vocs_List",c9="vocs_List_unordered";function ov({ordered:e,...t}){const n=e?"ol":"ul";return w.jsx(n,{...t,className:D(t.className,s9,e?l9:c9)})}var u9="vocs_ListItem";function d9(e){return w.jsx("li",{...e,className:D(e.className,u9)})}function f9(){const e=h.useRef(null),[t,n]=h.useState(!1);h.useEffect(()=>{if(!t)return;const o=setTimeout(()=>n(!1),1e3);return()=>clearTimeout(o)},[t]);function r(){var a;n(!0);const o=(a=e.current)==null?void 0:a.cloneNode(!0),i=o==null?void 0:o.querySelectorAll("button,.line.diff.remove,.twoslash-popup-info-hover,.twoslash-popup-info,.twoslash-meta-line,.twoslash-tag-line");for(const l of i??[])l.remove();navigator.clipboard.writeText(o==null?void 0:o.textContent)}return{copied:t,copy:r,ref:e}}var p9="vocs_CopyButton";function h9(){return w.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 68 67",children:[w.jsx("title",{children:"Checkmark"}),w.jsx("path",{fill:"currentColor",d:"M26.175 66.121c1.904 0 3.418-.83 4.492-2.49L66.263 7.332c.83-1.27 1.123-2.295 1.123-3.32 0-2.393-1.563-4.004-4.004-4.004-1.758 0-2.734.586-3.809 2.295L25.98 56.209 8.304 32.381c-1.123-1.514-2.198-2.149-3.809-2.149-2.441 0-4.2 1.71-4.2 4.15 0 1.026.44 2.15 1.27 3.224l19.971 25.927c1.367 1.758 2.734 2.588 4.639 2.588Z"})]})}function v9(){return w.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 82 82",children:[w.jsx("title",{children:"Copy"}),w.jsx("path",{fill:"currentColor",d:"M12.451 63.281h38.38c8.3 0 12.45-4.053 12.45-12.256v-38.77C63.281 4.054 59.131 0 50.831 0H12.45C4.101 0 0 4.053 0 12.256v38.77C0 59.227 4.102 63.28 12.451 63.28Zm.098-7.031c-3.516 0-5.518-1.904-5.518-5.615V12.647c0-3.711 2.002-5.616 5.518-5.616h38.183c3.516 0 5.518 1.905 5.518 5.615v37.989c0 3.71-2.002 5.615-5.518 5.615H12.55Z"}),w.jsx("path",{stroke:"currentColor",strokeWidth:"6.75px",d:"M69.385 78.266h-38.38c-3.679 0-5.782-.894-6.987-2.081-1.196-1.178-2.088-3.219-2.088-6.8v-38.77c0-3.581.892-5.622 2.088-6.8 1.205-1.187 3.308-2.08 6.988-2.08h38.379c3.65 0 5.758.89 6.973 2.084 1.203 1.182 2.103 3.225 2.103 6.796v38.77c0 3.57-.9 5.614-2.103 6.796-1.215 1.193-3.323 2.085-6.973 2.085Z"})]})}function m9({copy:e,copied:t}){return w.jsx("button",{className:p9,onClick:e,type:"button",children:t?w.jsx(ct,{label:"Copied",size:"14px",icon:h9}):w.jsx(ct,{label:"Copy",size:"18px",icon:v9})})}var g9="vocs_CodeBlock";function y9(e){return w.jsx("div",{...e,className:D(e.className,g9)})}function x9(){return w.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 94 99",fill:"none",children:[w.jsx("title",{children:"File"}),w.jsx("rect",{width:"77px",height:"89px",x:"8px",y:"3px",stroke:"currentColor",strokeWidth:"6px",rx:"7px"}),w.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"6px",d:"M25 22h43M25 35h43M25 48h22"})]})}function w9(){return w.jsxs("svg",{width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 79 95",fill:"none",children:[w.jsx("title",{children:"Terminal"}),w.jsx("path",{fill:"currentColor",d:"M38.281 34.033c0-1.074-.39-2.05-1.22-2.88L6.885 1.171C6.152.39 5.175 0 4.053 0 1.758 0 0 1.709 0 4.004c0 1.074.488 2.1 1.172 2.88l27.295 27.15L1.172 61.181C.488 61.962 0 62.939 0 64.062c0 2.295 1.758 4.004 4.053 4.004 1.123 0 2.1-.39 2.832-1.172l30.176-29.98c.83-.83 1.22-1.807 1.22-2.88Z"}),w.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"8px",d:"M36 75h55"})]})}var _9="vocs_CodeTitle";function E9({children:e,className:t,language:n,...r}){return w.jsxs("div",{...r,className:D(t,_9),children:[n==="bash"?w.jsx(ct,{label:"Terminal",size:"14px",icon:w9,style:{marginTop:3}}):e.match(/\.(.*)$/)?w.jsx(ct,{label:"File",size:"14px",icon:x9,style:{marginTop:1}}):null,e]})}var C9="vocs_Pre",b9="vocs_Pre_wrapper";function S9({children:e,className:t,...n}){const{copied:r,copy:o,ref:i}=f9();function a(u){return!u||typeof u!="object"?u:"props"in u?{...u,props:{...u.props,children:Array.isArray(u.props.children)?u.props.children.map(a):a(u.props.children)}}:u}const l=h.useMemo(()=>a(e),[e]);return(u=>t!=null&&t.includes("shiki")?w.jsxs(y9,{children:[n["data-title"]&&w.jsx(E9,{language:n["data-lang"],children:n["data-title"]}),u]}):u)(w.jsx("div",{className:D(b9),children:w.jsxs("pre",{ref:i,...n,className:D(t,C9),children:["data-language"in n&&w.jsx(m9,{copied:r,copy:o}),l]})}))}var k9="vocs_Footnotes";function T9(e){return w.jsx("section",{...e,className:D(e.className,k9)})}var iv="vocs_Section";function $9(e){return"data-footnotes"in e?w.jsx(T9,{...e,className:D(e.className,iv)}):w.jsx("section",{...e,className:D(e.className,iv)})}var av="vocs_Span";function Qa(e,t){if(!e||!t)return!1;const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&ku(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function Ou(e,t){const n=["mouse","pen"];return n.push("",void 0),n.includes(e)}function Na(e){return(e==null?void 0:e.ownerDocument)||document}function P9(e){return"composedPath"in e?e.composedPath()[0]:e.target}const my={...Hu},R9=my.useInsertionEffect,N9=R9||(e=>e());function Du(e){const t=h.useRef(()=>{});return N9(()=>{t.current=e}),h.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o"floating-ui-"+Math.random().toString(36).slice(2,6)+A9++;function I9(){const[e,t]=h.useState(()=>lv?sv():void 0);return ko(()=>{e==null&&t(sv())},[]),h.useEffect(()=>{lv=!0},[]),e}const L9=my.useId,gy=L9||I9,O9=h.forwardRef(function(t,n){const{context:{placement:r,elements:{floating:o},middlewareData:{arrow:i}},width:a=14,height:l=7,tipRadius:s=0,strokeWidth:u=0,staticOffset:d,stroke:c,d:f,style:{transform:p,...y}={},...v}=t,_=gy();if(!o)return null;const m=u*2,g=m/2,x=a/2*(s/-8+1),E=l/2*s/4,[b,k]=r.split("-"),C=_g.isRTL(o),S=!!f,$=b==="top"||b==="bottom",N=d&&k==="end"?"bottom":"top";let O=d&&k==="end"?"right":"left";d&&C&&(O=k==="end"?"left":"right");const M=(i==null?void 0:i.x)!=null?d||i.x:"",L=(i==null?void 0:i.y)!=null?d||i.y:"",P=f||"M0,0"+(" H"+a)+(" L"+(a-x)+","+(l-E))+(" Q"+a/2+","+l+" "+x+","+(l-E))+" Z",V={top:S?"rotate(180deg)":"",left:S?"rotate(90deg)":"rotate(-90deg)",bottom:S?"":"rotate(180deg)",right:S?"rotate(-90deg)":"rotate(90deg)"}[b];return h.createElement("svg",Mu({},v,{"aria-hidden":!0,ref:n,width:S?a:a+m,height:a,viewBox:"0 0 "+a+" "+(l>a?l:a),style:{position:"absolute",pointerEvents:"none",[O]:M,[N]:L,[b]:$||S?"100%":"calc(100% - "+m/2+"px)",transform:""+V+(p??""),...y}}),m>0&&h.createElement("path",{clipPath:"url(#"+_+")",fill:"none",stroke:c,strokeWidth:m+(f?0:1),d:P}),h.createElement("path",{stroke:m&&!f?v.fill:"none",d:P}),h.createElement("clipPath",{id:_},h.createElement("rect",{x:-g,y:g*(S?-1:1),width:a+m,height:a})))});function D9(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(o=>o(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,((r=e.get(t))==null?void 0:r.filter(o=>o!==n))||[])}}}const M9=h.createContext(null),j9=h.createContext(null),yy=()=>{var e;return((e=h.useContext(M9))==null?void 0:e.id)||null},xy=()=>h.useContext(j9);function F9(e){return"data-floating-ui-"+e}function cv(e){const t=h.useRef(e);return ko(()=>{t.current=e}),t}const uv=F9("safe-polygon");function ic(e,t,n){return n&&!Ou(n)?0:typeof e=="number"?e:e==null?void 0:e[t]}function z9(e,t){t===void 0&&(t={});const{open:n,onOpenChange:r,dataRef:o,events:i,elements:{domReference:a,floating:l}}=e,{enabled:s=!0,delay:u=0,handleClose:d=null,mouseOnly:c=!1,restMs:f=0,move:p=!0}=t,y=xy(),v=yy(),_=cv(d),m=cv(u),g=h.useRef(),x=h.useRef(-1),E=h.useRef(),b=h.useRef(-1),k=h.useRef(!0),C=h.useRef(!1),S=h.useRef(()=>{}),$=h.useCallback(()=>{var L;const P=(L=o.current.openEvent)==null?void 0:L.type;return(P==null?void 0:P.includes("mouse"))&&P!=="mousedown"},[o]);h.useEffect(()=>{if(!s)return;function L(P){let{open:V}=P;V||(clearTimeout(x.current),clearTimeout(b.current),k.current=!0)}return i.on("openchange",L),()=>{i.off("openchange",L)}},[s,i]),h.useEffect(()=>{if(!s||!_.current||!n)return;function L(V){$()&&r(!1,V,"hover")}const P=Na(l).documentElement;return P.addEventListener("mouseleave",L),()=>{P.removeEventListener("mouseleave",L)}},[l,n,r,s,_,$]);const N=h.useCallback(function(L,P,V){P===void 0&&(P=!0),V===void 0&&(V="hover");const Q=ic(m.current,"close",g.current);Q&&!E.current?(clearTimeout(x.current),x.current=window.setTimeout(()=>r(!1,L,V),Q)):P&&(clearTimeout(x.current),r(!1,L,V))},[m,r]),O=Du(()=>{S.current(),E.current=void 0}),M=Du(()=>{if(C.current){const L=Na(l).body;L.style.pointerEvents="",L.removeAttribute(uv),C.current=!1}});return h.useEffect(()=>{if(!s)return;function L(){return o.current.openEvent?["click","mousedown"].includes(o.current.openEvent.type):!1}function P(U){if(clearTimeout(x.current),k.current=!1,c&&!Ou(g.current)||f>0&&!ic(m.current,"open"))return;const I=ic(m.current,"open",g.current);I?x.current=window.setTimeout(()=>{r(!0,U,"hover")},I):r(!0,U,"hover")}function V(U){if(L())return;S.current();const I=Na(l);if(clearTimeout(b.current),_.current&&o.current.floatingContext){n||clearTimeout(x.current),E.current=_.current({...o.current.floatingContext,tree:y,x:U.clientX,y:U.clientY,onClose(){M(),O(),N(U,!0,"safe-polygon")}});const G=E.current;I.addEventListener("mousemove",G),S.current=()=>{I.removeEventListener("mousemove",G)};return}(g.current==="touch"?!Qa(l,U.relatedTarget):!0)&&N(U)}function Q(U){L()||o.current.floatingContext&&(_.current==null||_.current({...o.current.floatingContext,tree:y,x:U.clientX,y:U.clientY,onClose(){M(),O(),N(U)}})(U))}if(Je(a)){const U=a;return n&&U.addEventListener("mouseleave",Q),l==null||l.addEventListener("mouseleave",Q),p&&U.addEventListener("mousemove",P,{once:!0}),U.addEventListener("mouseenter",P),U.addEventListener("mouseleave",V),()=>{n&&U.removeEventListener("mouseleave",Q),l==null||l.removeEventListener("mouseleave",Q),p&&U.removeEventListener("mousemove",P),U.removeEventListener("mouseenter",P),U.removeEventListener("mouseleave",V)}}},[a,l,s,e,c,f,p,N,O,M,r,n,y,m,_,o]),ko(()=>{var L;if(s&&n&&(L=_.current)!=null&&L.__options.blockPointerEvents&&$()){const V=Na(l).body;if(V.setAttribute(uv,""),V.style.pointerEvents="none",C.current=!0,Je(a)&&l){var P;const Q=a,U=y==null||(P=y.nodesRef.current.find(I=>I.id===v))==null||(P=P.context)==null?void 0:P.elements.floating;return U&&(U.style.pointerEvents=""),Q.style.pointerEvents="auto",l.style.pointerEvents="auto",()=>{Q.style.pointerEvents="",l.style.pointerEvents=""}}}},[s,n,v,l,a,y,_,$]),ko(()=>{n||(g.current=void 0,O(),M())},[n,O,M]),h.useEffect(()=>()=>{O(),clearTimeout(x.current),clearTimeout(b.current),M()},[s,a,O,M]),h.useMemo(()=>{if(!s)return{};function L(P){g.current=P.pointerType}return{reference:{onPointerDown:L,onPointerEnter:L,onMouseMove(P){function V(){k.current||r(!0,P.nativeEvent,"hover")}c&&!Ou(g.current)||n||f===0||(clearTimeout(b.current),g.current==="touch"?V():b.current=window.setTimeout(V,f))}},floating:{onMouseEnter(){clearTimeout(x.current)},onMouseLeave(P){N(P.nativeEvent,!1)}}}},[s,c,n,f,r,N])}function U9(e,t){let n=e.filter(o=>{var i;return o.parentId===t&&((i=o.context)==null?void 0:i.open)}),r=n;for(;r.length;)r=e.filter(o=>{var i;return(i=r)==null?void 0:i.some(a=>{var l;return o.parentId===a.id&&((l=o.context)==null?void 0:l.open)})}),n=n.concat(r);return n}function V9(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=gy(),i=h.useRef({}),[a]=h.useState(()=>D9()),l=yy()!=null,[s,u]=h.useState(r.reference),d=Du((p,y,v)=>{i.current.openEvent=p?y:void 0,a.emit("openchange",{open:p,event:y,reason:v,nested:l}),n==null||n(p,y,v)}),c=h.useMemo(()=>({setPositionReference:u}),[]),f=h.useMemo(()=>({reference:s||r.reference||null,floating:r.floating||null,domReference:r.reference}),[s,r.reference,r.floating]);return h.useMemo(()=>({dataRef:i,open:t,onOpenChange:d,elements:f,events:a,floatingId:o,refs:c}),[t,d,f,a,o,c])}function B9(e){e===void 0&&(e={});const{nodeId:t}=e,n=V9({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[i,a]=h.useState(null),[l,s]=h.useState(null),d=(o==null?void 0:o.reference)||i,c=h.useRef(null),f=xy();ko(()=>{d&&(c.current=d)},[d]);const p=Cg({...e,elements:{...o,...l&&{reference:l}}}),y=h.useCallback(x=>{const E=Je(x)?{getBoundingClientRect:()=>x.getBoundingClientRect(),contextElement:x}:x;s(E),p.refs.setReference(E)},[p.refs]),v=h.useCallback(x=>{(Je(x)||x===null)&&(c.current=x,a(x)),(Je(p.refs.reference.current)||p.refs.reference.current===null||x!==null&&!Je(x))&&p.refs.setReference(x)},[p.refs]),_=h.useMemo(()=>({...p.refs,setReference:v,setPositionReference:y,domReference:c}),[p.refs,v,y]),m=h.useMemo(()=>({...p.elements,domReference:d}),[p.elements,d]),g=h.useMemo(()=>({...p,...r,refs:_,elements:m,nodeId:t}),[p,_,m,t,r]);return ko(()=>{r.dataRef.current.floatingContext=g;const x=f==null?void 0:f.nodesRef.current.find(E=>E.id===t);x&&(x.context=g)}),h.useMemo(()=>({...p,context:g,refs:_,elements:m}),[p,_,m,g])}const dv="active",fv="selected";function ac(e,t,n){const r=new Map,o=n==="item";let i=e;if(o&&e){const{[dv]:a,[fv]:l,...s}=e;i=s}return{...n==="floating"&&{tabIndex:-1},...i,...t.map(a=>{const l=a?a[n]:null;return typeof l=="function"?e?l(e):null:l}).concat(e).reduce((a,l)=>(l&&Object.entries(l).forEach(s=>{let[u,d]=s;if(!(o&&[dv,fv].includes(u)))if(u.indexOf("on")===0){if(r.has(u)||r.set(u,[]),typeof d=="function"){var c;(c=r.get(u))==null||c.push(d),a[u]=function(){for(var f,p=arguments.length,y=new Array(p),v=0;v_(...y)).find(_=>_!==void 0)}}}else a[u]=d}),a),{})}}function H9(e){e===void 0&&(e=[]);const t=e,n=h.useCallback(i=>ac(i,e,"reference"),t),r=h.useCallback(i=>ac(i,e,"floating"),t),o=h.useCallback(i=>ac(i,e,"item"),e.map(i=>i==null?void 0:i.item));return h.useMemo(()=>({getReferenceProps:n,getFloatingProps:r,getItemProps:o}),[n,r,o])}function pv(e,t){const[n,r]=e;let o=!1;const i=t.length;for(let a=0,l=i-1;a=r!=c>=r&&n<=(d-s)*(r-u)/(c-u)+s&&(o=!o)}return o}function W9(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}function K9(e){e===void 0&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let o,i=!1,a=null,l=null,s=performance.now();function u(c,f){const p=performance.now(),y=p-s;if(a===null||l===null||y===0)return a=c,l=f,s=p,null;const v=c-a,_=f-l,g=Math.sqrt(v*v+_*_)/y;return a=c,l=f,s=p,g}const d=c=>{let{x:f,y:p,placement:y,elements:v,onClose:_,nodeId:m,tree:g}=c;return function(E){function b(){clearTimeout(o),_()}if(clearTimeout(o),!v.domReference||!v.floating||y==null||f==null||p==null)return;const{clientX:k,clientY:C}=E,S=[k,C],$=P9(E),N=E.type==="mouseleave",O=Qa(v.floating,$),M=Qa(v.domReference,$),L=v.domReference.getBoundingClientRect(),P=v.floating.getBoundingClientRect(),V=y.split("-")[0],Q=f>P.right-P.width/2,U=p>P.bottom-P.height/2,I=W9(S,L),B=P.width>L.width,G=P.height>L.height,ie=(B?L:P).left,le=(B?L:P).right,Fe=(G?L:P).top,De=(G?L:P).bottom;if(O&&(i=!0,!N))return;if(M&&(i=!1),M&&!N){i=!0;return}if(N&&Je(E.relatedTarget)&&Qa(v.floating,E.relatedTarget)||g&&U9(g.nodesRef.current,m).some(Re=>{let{context:pe}=Re;return pe==null?void 0:pe.open}))return;if(V==="top"&&p>=L.bottom-1||V==="bottom"&&p<=L.top+1||V==="left"&&f>=L.right-1||V==="right"&&f<=L.left+1)return b();let ye=[];switch(V){case"top":ye=[[ie,L.top+1],[ie,P.bottom-1],[le,P.bottom-1],[le,L.top+1]];break;case"bottom":ye=[[ie,P.top+1],[ie,L.bottom-1],[le,L.bottom-1],[le,P.top+1]];break;case"left":ye=[[P.right-1,De],[P.right-1,Fe],[L.left+1,Fe],[L.left+1,De]];break;case"right":ye=[[L.right-1,De],[L.right-1,Fe],[P.left+1,Fe],[P.left+1,De]];break}function xe(Re){let[pe,Se]=Re;switch(V){case"top":{const Ot=[B?pe+t/2:Q?pe+t*4:pe-t*4,Se+t+1],Dt=[B?pe-t/2:Q?pe+t*4:pe-t*4,Se+t+1],Ne=[[P.left,Q||B?P.bottom-t:P.top],[P.right,Q?B?P.bottom-t:P.top:P.bottom-t]];return[Ot,Dt,...Ne]}case"bottom":{const Ot=[B?pe+t/2:Q?pe+t*4:pe-t*4,Se-t],Dt=[B?pe-t/2:Q?pe+t*4:pe-t*4,Se-t],Ne=[[P.left,Q||B?P.top+t:P.bottom],[P.right,Q?B?P.top+t:P.bottom:P.top+t]];return[Ot,Dt,...Ne]}case"left":{const Ot=[pe+t+1,G?Se+t/2:U?Se+t*4:Se-t*4],Dt=[pe+t+1,G?Se-t/2:U?Se+t*4:Se-t*4];return[...[[U||G?P.right-t:P.left,P.top],[U?G?P.right-t:P.left:P.right-t,P.bottom]],Ot,Dt]}case"right":{const Ot=[pe-t,G?Se+t/2:U?Se+t*4:Se-t*4],Dt=[pe-t,G?Se-t/2:U?Se+t*4:Se-t*4],Ne=[[U||G?P.left+t:P.right,P.top],[U?G?P.left+t:P.right:P.left+t,P.bottom]];return[Ot,Dt,...Ne]}}}if(!pv([k,C],ye)){if(i&&!I)return b();if(!N&&r){const Re=u(E.clientX,E.clientY);if(Re!==null&&Re<.1)return b()}pv([k,C],xe([f,p]))?!i&&r&&(o=window.setTimeout(b,40)):b()}}};return d.__options={blockPointerEvents:n},d}function G9({children:e,...t}){const[n,r]=e,o=h.useRef(null),[i,a]=h.useState(!1),{context:l,refs:s,floatingStyles:u}=B9({middleware:[kg({element:o}),bg(8),Sg()],open:i,onOpenChange:a,placement:"bottom-start"}),d=z9(l,{handleClose:K9()}),{getReferenceProps:c,getFloatingProps:f}=H9([d]),p=r.props.children,y=n.props.children;return w.jsxs("span",{...t,children:[w.jsx("span",{className:"twoslash-target",ref:s.setReference,...c(),children:p}),i&&w.jsxs("div",{className:"twoslash-popup-info-hover",ref:s.setFloating,style:u,...f(),children:[w.jsx(O9,{ref:o,context:l,fill:ih.background5,height:3,stroke:ih.border2,strokeWidth:1,width:7}),w.jsx("div",{className:"twoslash-popup-scroll-container",children:y})]})]})}function Y9(e){var n;const t=D(e.className,av);return(n=e.className)!=null&&n.includes("twoslash-hover")?w.jsx(G9,{...e,className:t}):w.jsx("span",{...e,className:D(e.className,av)})}var Q9="vocs_CalloutTitle";function Z9({className:e,children:t}){return w.jsx("strong",{className:D(e,Q9),children:t})}var hv="vocs_Strong";function X9(e){return"data-callout-title"in e&&typeof e.children=="string"?w.jsx(Z9,{...e,className:D(e.className,hv),children:e.children}):w.jsx("strong",{...e,className:D(e.className,hv)})}var J9="vocs_Summary";function q9(e){return w.jsx("summary",{...e,className:D(e.className,J9)})}var ek="vocs_Table";function tk(e){return w.jsx("table",{...e,className:D(e.className,ek)})}var nk="vocs_TableCell";function rk(e){return w.jsx("td",{...e,className:D(e.className,nk)})}var ok="vocs_TableHeader";function ik(e){return w.jsx("th",{...e,className:D(e.className,ok)})}var ak="vocs_TableRow";function lk(e){return w.jsx("tr",{...e,className:D(e.className,ak)})}const sk={a:pb,aside:Cb,blockquote:Sb,code:Tb,details:Rb,div:JS,pre:S9,header:o9,figcaption:e9,figure:n9,h1:J0,h2:dy,h3:fy,h4:py,h5:hy,h6:vy,hr:a9,kd:L1,li:d9,ol:e=>w.jsx(ov,{ordered:!0,...e}),p:q0,section:$9,span:Y9,strong:X9,summary:q9,table:tk,td:rk,th:ik,tr:lk,ul:e=>w.jsx(ov,{ordered:!1,...e})};function ck(){const{pathname:e}=Oe(),t=Ke(),{ogImageUrl:n}=t;if(!n)return;if(typeof n=="string")return n;const r=h.useMemo(()=>{const o=Object.keys(n).filter(i=>e.startsWith(i));return o[o.length-1]},[n,e]);if(r)return n[r]}function ju(e){const{children:t,filePath:n,frontmatter:r,lastUpdatedAt:o,path:i}=e,{pathname:a}=Oe(),l=h.useRef();return h.useEffect(()=>{l.current=a}),w.jsxs(w.Fragment,{children:[w.jsx(uk,{frontmatter:r}),typeof window<"u"&&w.jsx(P7,{}),w.jsx(mC,{components:sk,children:w.jsx(H_,{frontmatter:r,path:i,children:w.jsx(n1.Provider,{value:{filePath:n,frontmatter:r,lastUpdatedAt:o,previousPath:l.current},children:t})})})]})}function uk({frontmatter:e}){var c,f,p,y,v,_;const t=Ke(),n=ck(),{baseUrl:r,font:o,iconUrl:i,logoUrl:a}=t,l=(e==null?void 0:e.title)??t.title,s=(e==null?void 0:e.description)??t.description,u=t.title&&!l.includes(t.title),d=typeof window<"u"&&window.location.hostname==="localhost";return w.jsxs(Iu,{defaultTitle:t.title,titleTemplate:u?t.titleTemplate:void 0,children:[l&&w.jsx("title",{children:l}),r&&!0&&!d&&w.jsx("base",{href:r}),s!=="undefined"&&w.jsx("meta",{name:"description",content:s}),i&&typeof i=="string"&&w.jsx("link",{rel:"icon",href:i,type:lc(i)}),i&&typeof i!="string"&&w.jsx("link",{rel:"icon",href:i.light,type:lc(i.light)}),i&&typeof i!="string"&&w.jsx("link",{rel:"icon",href:i.dark,type:lc(i.dark),media:"(prefers-color-scheme: dark)"}),w.jsx("meta",{property:"og:type",content:"website"}),w.jsx("meta",{property:"og:title",content:l||t.title}),r&&w.jsx("meta",{property:"og:url",content:r}),s!=="undefined"&&w.jsx("meta",{property:"og:description",content:s}),n&&w.jsx("meta",{property:"og:image",content:n.replace("%logo",`${r||""}${typeof a=="string"?a:(a==null?void 0:a.dark)||""}`).replace("%title",l||"").replace("%description",(s!=="undefined"?s:"")||"")}),(((c=o==null?void 0:o.default)==null?void 0:c.google)||((f=o==null?void 0:o.mono)==null?void 0:f.google))&&w.jsx("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(((p=o==null?void 0:o.default)==null?void 0:p.google)||((y=o==null?void 0:o.mono)==null?void 0:y.google))&&w.jsx("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:""}),((v=o==null?void 0:o.default)==null?void 0:v.google)&&w.jsx("link",{href:`https://fonts.googleapis.com/css2?family=${o.default.google}:wght@300;400;500&display=swap`,rel:"stylesheet"}),((_=o==null?void 0:o.mono)==null?void 0:_.google)&&w.jsx("link",{href:`https://fonts.googleapis.com/css2?family=${o.mono.google}:wght@300;400;500&display=swap`,rel:"stylesheet"}),w.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),n&&w.jsx("meta",{property:"twitter:image",content:n.replace("%logo",`${r||""}${typeof a=="string"?a:(a==null?void 0:a.dark)||""}`).replace("%title",l||"").replace("%description",(s!=="undefined"?s:"")||"")})]})}function lc(e){if(e.endsWith(".svg"))return"image/svg+xml";if(e.endsWith(".png"))return"image/png";if(e.endsWith(".jpg"))return"image/jpeg";if(e.endsWith(".ico"))return"image/x-icon";if(e.endsWith(".webp"))return"image/webp"}const dk=(()=>{const e=Wd.find(({path:t})=>t==="*");return e?{path:e.path,lazy:async()=>{const{frontmatter:t,...n}=await e.lazy();return{...n,element:w.jsx(ju,{frontmatter:t,path:e.path,children:w.jsx($u,{children:w.jsx(n.default,{})})})}}}:{path:"*",lazy:void 0,element:w.jsx(ju,{frontmatter:{layout:"minimal"},path:"*",children:w.jsx($u,{children:w.jsx(q7,{})})})}})(),vv=[...Wd.filter(({path:e})=>e!=="*").map(e=>({path:e.path,lazy:async()=>{const{frontmatter:t,...n}=await e.lazy();return{...n,element:w.jsx(ju,{filePath:e.filePath,frontmatter:t,lastUpdatedAt:e.lastUpdatedAt,path:e.path,children:w.jsx($u,{children:w.jsx(n.default,{})})})}}})),dk];async function fk(e,t){var r;const n=(r=fr(e,window.location,t))==null?void 0:r.filter(o=>o.route.lazy);n&&(n==null?void 0:n.length)>0&&await Promise.all(n.map(async o=>{const i=await o.route.lazy();Object.assign(o.route,{...i,lazy:void 0})}))}function pk(){const e=document.querySelectorAll('style[data-vocs-temp-style="true"]');for(const t of e)t.remove()}hk();async function hk(){const e=G0().basePath;await fk(vv,e),pk();const t=m7(vv,{basename:e});P0(document.getElementById("app"),w.jsx(M7,{children:w.jsx(S7,{router:t})}))}export{OS as C,on as L,AS as R,LS as T,Y4 as a,IS as b,D as c,vC as d,w as j,Ke as u}; diff --git a/assets/index-BhFkPhY_.js b/assets/index-dGVxWMdP.js similarity index 99% rename from assets/index-BhFkPhY_.js rename to assets/index-dGVxWMdP.js index 92373480..0ad81a61 100644 --- a/assets/index-BhFkPhY_.js +++ b/assets/index-dGVxWMdP.js @@ -1,4 +1,4 @@ -import{j as e,L as p,c as s,u as f,a as u,R as b,b as g,T as r,C as i,d as m}from"./index-DxjPKUrw.js";var j="vocs_Button_button",v="vocs_Button_button_accent";function k({children:a,className:t,href:n,variant:h}){return e.jsx(p,{className:s(t,j,h==="accent"&&v),href:n,variant:"styleless",children:a})}var N="vocs_HomePage_button",w="vocs_HomePage_buttons",y="vocs_HomePage_description",_="vocs_HomePage_logo",c="vocs_HomePage_packageManager",F="vocs_HomePage",P="vocs_HomePage_tabs",o="vocs_HomePage_tabsContent",C="vocs_HomePage_tabsList",D="vocs_HomePage_tagline",H="vocs_HomePage_title";function z({children:a,className:t}){return e.jsx("div",{className:s(t,F),children:a})}function I({className:a}){const{logoUrl:t,title:n}=f();return t?e.jsx("div",{className:s(a,_),children:e.jsx(u,{})}):e.jsx("h1",{className:s(a,H),children:n})}function L({children:a,className:t}){return e.jsx("div",{className:s(t,D),children:a})}function M({children:a,className:t}){return e.jsx("div",{className:s(t,y),children:a})}function E({children:a,className:t}){return e.jsx("div",{className:s(t,w),children:a})}function l(a){return e.jsx(k,{...a,className:s(N,a.className)})}function B({name:a,type:t="install"}){return e.jsxs(b,{className:P,defaultValue:"npm",children:[e.jsxs(g,{className:C,children:[e.jsx(r,{value:"npm",children:"npm"}),e.jsx(r,{value:"pnpm",children:"pnpm"}),e.jsx(r,{value:"yarn",children:"yarn"})]}),e.jsxs(i,{className:o,value:"npm",children:[e.jsx("span",{className:c,children:"npm"})," ",t==="init"?"init":"install"," ",a]}),e.jsxs(i,{className:o,value:"pnpm",children:[e.jsx("span",{className:c,children:"pnpm"})," ",t==="init"?"create":"add"," ",a]}),e.jsxs(i,{className:o,value:"yarn",children:[e.jsx("span",{className:c,children:"yarn"})," ",t==="init"?"create":"add"," ",a]})]})}const R=Object.freeze(Object.defineProperty({__proto__:null,Button:l,Buttons:E,Description:M,InstallPackage:B,Logo:I,Root:z,Tagline:L},Symbol.toStringTag,{value:"Module"})),T={title:"Effect SDK ·",content:{width:"100%"},layout:"landing",logo:!1};function d(a){const t={code:"code",div:"div",pre:"pre",span:"span",...m(),...a.components};return R||x("HomePage",!1),l||x("HomePage.Button",!0),e.jsxs(e.Fragment,{children:[e.jsx("div",{style:{background:`linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 1) 100%), +import{j as e,L as p,c as s,u as f,a as u,R as b,b as g,T as r,C as i,d as m}from"./index-BTxi3UaB.js";var j="vocs_Button_button",v="vocs_Button_button_accent";function k({children:a,className:t,href:n,variant:h}){return e.jsx(p,{className:s(t,j,h==="accent"&&v),href:n,variant:"styleless",children:a})}var N="vocs_HomePage_button",w="vocs_HomePage_buttons",y="vocs_HomePage_description",_="vocs_HomePage_logo",c="vocs_HomePage_packageManager",F="vocs_HomePage",P="vocs_HomePage_tabs",o="vocs_HomePage_tabsContent",C="vocs_HomePage_tabsList",D="vocs_HomePage_tagline",H="vocs_HomePage_title";function z({children:a,className:t}){return e.jsx("div",{className:s(t,F),children:a})}function I({className:a}){const{logoUrl:t,title:n}=f();return t?e.jsx("div",{className:s(a,_),children:e.jsx(u,{})}):e.jsx("h1",{className:s(a,H),children:n})}function L({children:a,className:t}){return e.jsx("div",{className:s(t,D),children:a})}function M({children:a,className:t}){return e.jsx("div",{className:s(t,y),children:a})}function E({children:a,className:t}){return e.jsx("div",{className:s(t,w),children:a})}function l(a){return e.jsx(k,{...a,className:s(N,a.className)})}function B({name:a,type:t="install"}){return e.jsxs(b,{className:P,defaultValue:"npm",children:[e.jsxs(g,{className:C,children:[e.jsx(r,{value:"npm",children:"npm"}),e.jsx(r,{value:"pnpm",children:"pnpm"}),e.jsx(r,{value:"yarn",children:"yarn"})]}),e.jsxs(i,{className:o,value:"npm",children:[e.jsx("span",{className:c,children:"npm"})," ",t==="init"?"init":"install"," ",a]}),e.jsxs(i,{className:o,value:"pnpm",children:[e.jsx("span",{className:c,children:"pnpm"})," ",t==="init"?"create":"add"," ",a]}),e.jsxs(i,{className:o,value:"yarn",children:[e.jsx("span",{className:c,children:"yarn"})," ",t==="init"?"create":"add"," ",a]})]})}const R=Object.freeze(Object.defineProperty({__proto__:null,Button:l,Buttons:E,Description:M,InstallPackage:B,Logo:I,Root:z,Tagline:L},Symbol.toStringTag,{value:"Module"})),T={title:"Effect SDK ·",content:{width:"100%"},layout:"landing",logo:!1};function d(a){const t={code:"code",div:"div",pre:"pre",span:"span",...m(),...a.components};return R||x("HomePage",!1),l||x("HomePage.Button",!0),e.jsxs(e.Fragment,{children:[e.jsx("div",{style:{background:`linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 1) 100%), url('/preview-bg.png') `},className:"absolute mx-auto w-full top-20 bottom-0 bg-no-repeat max-sm:w-[200%] max-sm:-left-[200px] max-sm:hidden bg-cover left-0"}),` `,e.jsx("div",{className:"max-w-[1120px] mx-auto vp-doc relative px-[24px] mb-[96px] mt-[32px] md:px-0 md:mb-[64px]",children:e.jsx("div",{className:"pt-[48px] max-sm:pt-0",children:e.jsxs("div",{className:"max-sm:px-0 flex justify-between z-0 max-md:justify-center",children:[e.jsxs("div",{className:"space-y-8 max-w-[400px] flex flex-col items-start max-md:items-center",children:[e.jsx("img",{className:"h-[72px] dark:invert-[1] max-sm:h-[60px]",src:"/logo.png",alt:"Effect logo"}),e.jsx("div",{className:"font-regular text-[21px] max-sm:text-[18px] text-[#919193] max-md:text-center",children:"Effect AI is the data network for training next-gen transparent AI models. Integrate the SDK into your app and tap into a global, decentralized workforce."}),e.jsxs("div",{className:"flex justify-center space-x-2",children:[e.jsx(l,{href:"/docs/getting-started",variant:"accent",children:"Get started"}),e.jsx(l,{href:"https://github.com/effectai",children:"GitHub"})]})]}),e.jsxs("div",{className:"flex flex-col justify-between w-[440px] space-y-10 max-lg:w-[300px] max-md:hidden",children:[e.jsx("div",{id:"home-install",className:"h-full",children:e.jsxs(t.div,{className:"code-group",children:[e.jsx(t.div,{"data-title":"npm",children:e.jsx(t.pre,{className:"shiki shiki-themes github-light github-dark-dimmed",style:{backgroundColor:"#fff","--shiki-dark-bg":"#22272e",color:"#24292e","--shiki-dark":"#adbac7"},tabIndex:"0","data-title":"npm","data-lang":"bash",children:e.jsx(t.code,{children:e.jsxs(t.span,{className:"line",children:[e.jsx(t.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"npm"}),e.jsx(t.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" i"}),e.jsx(t.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" @effectai/sdk"})]})})})}),e.jsx(t.div,{"data-title":"pnpm",children:e.jsx(t.pre,{className:"shiki shiki-themes github-light github-dark-dimmed",style:{backgroundColor:"#fff","--shiki-dark-bg":"#22272e",color:"#24292e","--shiki-dark":"#adbac7"},tabIndex:"0","data-title":"pnpm","data-lang":"bash",children:e.jsx(t.code,{children:e.jsxs(t.span,{className:"line",children:[e.jsx(t.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"pnpm"}),e.jsx(t.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" i"}),e.jsx(t.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" @effectai/sdk"})]})})})}),e.jsx(t.div,{"data-title":"bun",children:e.jsx(t.pre,{className:"shiki shiki-themes github-light github-dark-dimmed",style:{backgroundColor:"#fff","--shiki-dark-bg":"#22272e",color:"#24292e","--shiki-dark":"#adbac7"},tabIndex:"0","data-title":"bun","data-lang":"bash",children:e.jsx(t.code,{children:e.jsxs(t.span,{className:"line",children:[e.jsx(t.span,{style:{color:"#6F42C1","--shiki-dark":"#F69D50"},children:"bun"}),e.jsx(t.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" i"}),e.jsx(t.span,{style:{color:"#032F62","--shiki-dark":"#96D0FF"},children:" @effectai/sdk"})]})})})})]})}),e.jsxs("div",{className:"flex justify-between space-x-2",children:[e.jsxs("a",{href:"https://github.com/effectai/effect-network/stargazers",className:"cursor-pointer h-[36px] max-w-[120px] flex-1 relative rounded-lg overflow-hidden border border-black/10 dark:border-white/20",style:{color:"inherit"},rel:"noreferrer noopener",target:"_blank",children:[e.jsxs("div",{className:"absolute flex z-[1] p-[6px] h-full w-full",children:[e.jsx("div",{className:"flex-1 bg-white/60 dark:bg-black/40 flex items-center w-full h-full rounded-md",children:e.jsx("span",{className:"font-medium text-[15px] opacity-80 leading-none w-full text-center",children:"stars"})}),e.jsx("div",{className:"flex items-center h-full px-2",children:e.jsx("span",{className:"font-medium text-[15px] text-center leading-none w-full text-black dark:text-white",children:"56"})})]}),e.jsx("div",{className:"absolute left-0 right-0 top-0 bottom-0 bg-black/5 dark:bg-white/5 z-0"}),e.jsx("div",{className:"absolute left-0 right-0 top-0 bottom-0 backdrop-blur-[2px] backdrop-filter z-0"})]}),e.jsxs("a",{href:"",className:"cursor-pointer h-[36px] max-w-[160px] flex-1 relative rounded-lg overflow-hidden border border-green-400/50",style:{color:"inherit"},rel:"noreferrer noopener",target:"_blank",children:[e.jsxs("div",{className:"absolute flex z-[1] p-[6px] h-full w-full",children:[e.jsx("div",{className:"flex-1 bg-white/60 dark:bg-black/40 flex items-center w-full h-full rounded-md",children:e.jsx("span",{className:"font-medium text-[15px] leading-none opacity-80 w-full text-center",children:"coverage"})}),e.jsx("div",{className:"flex items-center h-full px-2",children:e.jsx("span",{className:"font-medium text-[15px] leading-none text-center w-full text-green-400",children:"63.34%"})})]}),e.jsx("div",{className:"absolute left-0 right-0 top-0 bottom-0 bg-green-400 opacity-10 z-[0]"}),e.jsx("div",{className:"absolute left-0 right-0 top-0 bottom-0 backdrop-blur-[2px] backdrop-filter z-[0]"})]}),e.jsxs("a",{href:"https://github.com/effectai/effect-network/blob/master/LICENSE",className:"cursor-pointer h-[36px] max-w-[130px] flex-1 relative rounded-lg overflow-hidden border border-black/10 dark:border-white/20 max-lg:hidden",style:{color:"inherit"},rel:"noreferrer noopener",target:"_blank",children:[e.jsxs("div",{className:"absolute flex z-[1] p-[6px] h-full w-full",children:[e.jsx("div",{className:"flex-1 bg-white/60 dark:bg-black/40 flex items-center w-full h-full rounded-md",children:e.jsx("span",{className:"font-medium text-[15px] leading-none opacity-80 w-full text-center",children:"license"})}),e.jsx("div",{className:"flex items-center h-full px-2",children:e.jsx("span",{className:"font-medium text-[15px] leading-none text-center w-full text-black dark:text-white",children:"MIT"})})]}),e.jsx("div",{className:"absolute left-0 right-0 top-0 bottom-0 bg-black/5 dark:bg-white/5 z-[0]"}),e.jsx("div",{className:"absolute left-0 right-0 top-0 bottom-0 backdrop-blur-[2px] backdrop-filter z-[0]"})]})]})]})]})})})]})}function $(a={}){const{wrapper:t}={...m(),...a.components};return t?e.jsx(t,{...a,children:e.jsx(d,{...a})}):d(a)}function x(a,t){throw new Error("Expected "+(t?"component":"object")+" `"+a+"` to be defined: you likely forgot to import, pass, or provide it.")}export{$ as default,T as frontmatter}; diff --git a/assets/introduction-C9oaz1wo.js b/assets/introduction-CQaVpgJM.js similarity index 96% rename from assets/introduction-C9oaz1wo.js rename to assets/introduction-CQaVpgJM.js index 9d0160f9..27ac15bb 100644 --- a/assets/introduction-C9oaz1wo.js +++ b/assets/introduction-CQaVpgJM.js @@ -1,4 +1,4 @@ -import{d as i,j as e}from"./index-DxjPKUrw.js";const r={title:"Why Effect AI",description:"undefined"};function a(t){const n={a:"a",div:"div",h1:"h1",h2:"h2",header:"header",p:"p",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(n.header,{children:e.jsxs(n.h1,{id:"why-effect-ai",children:["Why Effect AI",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#why-effect-ai",children:e.jsx(n.div,{"data-autolink-icon":!0})})]})}),` +import{d as i,j as e}from"./index-BTxi3UaB.js";const r={title:"Why Effect AI",description:"undefined"};function a(t){const n={a:"a",div:"div",h1:"h1",h2:"h2",header:"header",p:"p",...i(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(n.header,{children:e.jsxs(n.h1,{id:"why-effect-ai",children:["Why Effect AI",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#why-effect-ai",children:e.jsx(n.div,{"data-autolink-icon":!0})})]})}),` `,e.jsxs(n.h2,{id:"problems",children:["Problems",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#problems",children:e.jsx(n.div,{"data-autolink-icon":!0})})]}),` `,e.jsx(n.p,{children:`AI will be the pivotal technology of the future that will transcend us into a new era of efficiency and innovation. However, the development of AI models is contingent upon the availability of high-quality training data. diff --git a/assets/introduction-kUGjGDtY.js b/assets/introduction-CY0XrFzt.js similarity index 99% rename from assets/introduction-kUGjGDtY.js rename to assets/introduction-CY0XrFzt.js index befe4a08..2f0c3ffa 100644 --- a/assets/introduction-kUGjGDtY.js +++ b/assets/introduction-CY0XrFzt.js @@ -1,4 +1,4 @@ -import{d as a,j as e}from"./index-DxjPKUrw.js";const l={title:"Introduction",description:"undefined"};function t(i){const s={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",...a(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx(s.header,{children:e.jsxs(s.h1,{id:"introduction",children:["Introduction",e.jsx(s.a,{"aria-hidden":"true",tabIndex:"-1",href:"#introduction",children:e.jsx(s.div,{"data-autolink-icon":!0})})]})}),` +import{d as a,j as e}from"./index-BTxi3UaB.js";const l={title:"Introduction",description:"undefined"};function t(i){const s={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",...a(),...i.components};return e.jsxs(e.Fragment,{children:[e.jsx(s.header,{children:e.jsxs(s.h1,{id:"introduction",children:["Introduction",e.jsx(s.a,{"aria-hidden":"true",tabIndex:"-1",href:"#introduction",children:e.jsx(s.div,{"data-autolink-icon":!0})})]})}),` `,e.jsx(s.p,{children:"As described in the previous section, with campaigns, a template is a blueprint that allows you to input data and display it in a specific format. They are the interface used by the workers of EffectAI to interact with the data and perform the tasks required by the client."}),` `,e.jsx(s.p,{children:"In this section, we will provide an overview of the template engine, explain the basic concepts and components of a template, and guide you through the process of creating your own template."}),` `,e.jsxs(s.p,{children:["We will be creating a simple template that lets users create bounding boxes around objects in an image. This will be done with the help of the open-source data annotation tool called ",e.jsx(s.a,{href:"https://labelstud.io/",children:"Label Studio"}),"."]}),` diff --git a/assets/introduction-C3Z5lqDn.js b/assets/introduction-DnGY0G7i.js similarity index 97% rename from assets/introduction-C3Z5lqDn.js rename to assets/introduction-DnGY0G7i.js index 5858ca3c..5d4e6064 100644 --- a/assets/introduction-C3Z5lqDn.js +++ b/assets/introduction-DnGY0G7i.js @@ -1,4 +1,4 @@ -import{d as i,j as e}from"./index-DxjPKUrw.js";const r={title:"Data Collection",description:"undefined"};function a(n){const t={a:"a",div:"div",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",strong:"strong",ul:"ul",...i(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx(t.header,{children:e.jsxs(t.h1,{id:"data-collection",children:["Data Collection",e.jsx(t.a,{"aria-hidden":"true",tabIndex:"-1",href:"#data-collection",children:e.jsx(t.div,{"data-autolink-icon":!0})})]})}),` +import{d as i,j as e}from"./index-BTxi3UaB.js";const r={title:"Data Collection",description:"undefined"};function a(n){const t={a:"a",div:"div",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",strong:"strong",ul:"ul",...i(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx(t.header,{children:e.jsxs(t.h1,{id:"data-collection",children:["Data Collection",e.jsx(t.a,{"aria-hidden":"true",tabIndex:"-1",href:"#data-collection",children:e.jsx(t.div,{"data-autolink-icon":!0})})]})}),` `,e.jsx(t.p,{children:`The primary use case of the Effect Network SDK revolves around leveraging its capabilities for data collection. In this section, we'll guide you through setting up your first data collection campaign. Whether you're building AI models, conducting surveys, or enhancing automated processes, the Effect Network offers a robust infrastructure to support your needs in a completely open, decentralized an transparent way.`}),` diff --git a/assets/labelstudio-cifO2D5V.js b/assets/labelstudio-CKEaF1LS.js similarity index 99% rename from assets/labelstudio-cifO2D5V.js rename to assets/labelstudio-CKEaF1LS.js index 30e807db..766d742a 100644 --- a/assets/labelstudio-cifO2D5V.js +++ b/assets/labelstudio-CKEaF1LS.js @@ -1,4 +1,4 @@ -import{d as e,j as s}from"./index-DxjPKUrw.js";const a={title:"Label Studio example",description:"undefined"};function n(i){const l={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",img:"img",p:"p",pre:"pre",span:"span",...e(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(l.header,{children:s.jsxs(l.h1,{id:"label-studio-example",children:["Label Studio example",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#label-studio-example",children:s.jsx(l.div,{"data-autolink-icon":!0})})]})}),` +import{d as e,j as s}from"./index-BTxi3UaB.js";const a={title:"Label Studio example",description:"undefined"};function n(i){const l={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",img:"img",p:"p",pre:"pre",span:"span",...e(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(l.header,{children:s.jsxs(l.h1,{id:"label-studio-example",children:["Label Studio example",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#label-studio-example",children:s.jsx(l.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(l.p,{children:["Here we will show an example of how to use ",s.jsx(l.a,{href:"https://labelstud.io/",children:"Label Studio"})," to label images for object detection."]}),` `,s.jsx(l.p,{children:s.jsx(l.img,{src:"/labelstudioocr.png",alt:"Example"})}),` `,s.jsx(l.p,{children:`As discussed before we will be using the Label Studio to create a labeling task for object detection. @@ -366,7 +366,7 @@ This script uses `,s.jsx(l.a,{href:"https://bun.sh/",children:"bun.sh"}),"."]}), `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" version: "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"1"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),` `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" reward: "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"1"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),` `,s.jsxs(l.span,{className:"line",children:[s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" maxTaskTime: "}),s.jsx(l.span,{style:{color:"#005CC5","--shiki-dark":"#6CB6FF"},children:"1"}),s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:","})]}),` -`,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" qualitications: [],"})}),` +`,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" qualifications: [],"})}),` `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:" },"})}),` `,s.jsx(l.span,{className:"line",children:s.jsx(l.span,{style:{color:"#24292E","--shiki-dark":"#ADBAC7"},children:"};"})}),` `,s.jsx(l.span,{className:"line","data-empty-line":!0,children:" "}),` diff --git a/assets/local-development-DAdIxJWM.js b/assets/local-development-BbDw4hG7.js similarity index 88% rename from assets/local-development-DAdIxJWM.js rename to assets/local-development-BbDw4hG7.js index 1fa0da65..fd7eeeb4 100644 --- a/assets/local-development-DAdIxJWM.js +++ b/assets/local-development-BbDw4hG7.js @@ -1 +1 @@ -import{d as a,j as t}from"./index-DxjPKUrw.js";const r={title:"Local Development",description:"undefined"};function o(n){const e={a:"a",div:"div",h1:"h1",header:"header",...a(),...n.components};return t.jsx(e.header,{children:t.jsxs(e.h1,{id:"local-development",children:["Local Development",t.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#local-development",children:t.jsx(e.div,{"data-autolink-icon":!0})})]})})}function i(n={}){const{wrapper:e}={...a(),...n.components};return e?t.jsx(e,{...n,children:t.jsx(o,{...n})}):o(n)}export{i as default,r as frontmatter}; +import{d as a,j as t}from"./index-BTxi3UaB.js";const r={title:"Local Development",description:"undefined"};function o(n){const e={a:"a",div:"div",h1:"h1",header:"header",...a(),...n.components};return t.jsx(e.header,{children:t.jsxs(e.h1,{id:"local-development",children:["Local Development",t.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#local-development",children:t.jsx(e.div,{"data-autolink-icon":!0})})]})})}function i(n={}){const{wrapper:e}={...a(),...n.components};return e?t.jsx(e,{...n,children:t.jsx(o,{...n})}):o(n)}export{i as default,r as frontmatter}; diff --git a/assets/payout-B6oZg56b.js b/assets/payout-RyMb6rmY.js similarity index 99% rename from assets/payout-B6oZg56b.js rename to assets/payout-RyMb6rmY.js index 0d0c25bb..d8735fe6 100644 --- a/assets/payout-B6oZg56b.js +++ b/assets/payout-RyMb6rmY.js @@ -1,4 +1,4 @@ -import{d as a,j as s}from"./index-DxjPKUrw.js";const n={title:"payout",description:"undefined"};function e(i){const l={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...a(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(l.header,{children:s.jsxs(l.h1,{id:"payout",children:["payout",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#payout",children:s.jsx(l.div,{"data-autolink-icon":!0})})]})}),` +import{d as a,j as s}from"./index-BTxi3UaB.js";const n={title:"payout",description:"undefined"};function e(i){const l={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...a(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(l.header,{children:s.jsxs(l.h1,{id:"payout",children:["payout",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#payout",children:s.jsx(l.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(l.h2,{id:"description",children:["Description",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#description",children:s.jsx(l.div,{"data-autolink-icon":!0})})]}),` `,s.jsx(l.p,{children:`This function is used to claim the task reward that is locked in the escrow for the done tasks. Every time a task is done, the reward is locked in the escrow until the timeout is reached. diff --git a/assets/placeholders-ABHgRcwq.js b/assets/placeholders-ABHgRcwq.js new file mode 100644 index 00000000..6c2d3f0a --- /dev/null +++ b/assets/placeholders-ABHgRcwq.js @@ -0,0 +1 @@ +import{d as r,j as n}from"./index-BTxi3UaB.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/placeholders-jzHg2ErV.js b/assets/placeholders-jzHg2ErV.js deleted file mode 100644 index 31c3b5fb..00000000 --- a/assets/placeholders-jzHg2ErV.js +++ /dev/null @@ -1 +0,0 @@ -import{d as r,j as n}from"./index-DxjPKUrw.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/reserve-task-CGGXR8ns.js b/assets/reserve-task-CGGXR8ns.js deleted file mode 100644 index 31c3b5fb..00000000 --- a/assets/reserve-task-CGGXR8ns.js +++ /dev/null @@ -1 +0,0 @@ -import{d as r,j as n}from"./index-DxjPKUrw.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/reserve-task-m00rYVov.js b/assets/reserve-task-m00rYVov.js new file mode 100644 index 00000000..6c2d3f0a --- /dev/null +++ b/assets/reserve-task-m00rYVov.js @@ -0,0 +1 @@ +import{d as r,j as n}from"./index-BTxi3UaB.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/submit-task-CcfoMfIC.js b/assets/submit-task-CcfoMfIC.js new file mode 100644 index 00000000..6c2d3f0a --- /dev/null +++ b/assets/submit-task-CcfoMfIC.js @@ -0,0 +1 @@ +import{d as r,j as n}from"./index-BTxi3UaB.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/submit-task-Due6Wi4q.js b/assets/submit-task-Due6Wi4q.js deleted file mode 100644 index 31c3b5fb..00000000 --- a/assets/submit-task-Due6Wi4q.js +++ /dev/null @@ -1 +0,0 @@ -import{d as r,j as n}from"./index-DxjPKUrw.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/swap-Dz287hUA.js b/assets/swap-DWuyHSv6.js similarity index 99% rename from assets/swap-Dz287hUA.js rename to assets/swap-DWuyHSv6.js index 0eb82679..a0e11624 100644 --- a/assets/swap-Dz287hUA.js +++ b/assets/swap-DWuyHSv6.js @@ -1,4 +1,4 @@ -import{d as a,j as s}from"./index-DxjPKUrw.js";const r={title:"swap",description:"undefined"};function l(e){const n={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...a(),...e.components};return s.jsxs(s.Fragment,{children:[s.jsx(n.header,{children:s.jsxs(n.h1,{id:"swap",children:["swap",s.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#swap",children:s.jsx(n.div,{"data-autolink-icon":!0})})]})}),` +import{d as a,j as s}from"./index-BTxi3UaB.js";const r={title:"swap",description:"undefined"};function l(e){const n={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...a(),...e.components};return s.jsxs(s.Fragment,{children:[s.jsx(n.header,{children:s.jsxs(n.h1,{id:"swap",children:["swap",s.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#swap",children:s.jsx(n.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(n.h2,{id:"description",children:["Description",s.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#description",children:s.jsx(n.div,{"data-autolink-icon":!0})})]}),` `,s.jsx(n.p,{children:`This function is used to swap tokens from EFX to USDT or vice versa. Note that the function requires a client object that is used to interact with the blockchain. diff --git a/assets/terminology-ClXVlQBb.js b/assets/terminology-9WcsP1Qa.js similarity index 99% rename from assets/terminology-ClXVlQBb.js rename to assets/terminology-9WcsP1Qa.js index 9f4de2d1..2bde8dae 100644 --- a/assets/terminology-ClXVlQBb.js +++ b/assets/terminology-9WcsP1Qa.js @@ -1,4 +1,4 @@ -import{d as s,j as e}from"./index-DxjPKUrw.js";const i={title:"Terminology",description:"undefined"};function o(t){const n={a:"a",blockquote:"blockquote",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",ul:"ul",...s(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(n.header,{children:e.jsxs(n.h1,{id:"terminology",children:["Terminology",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#terminology",children:e.jsx(n.div,{"data-autolink-icon":!0})})]})}),` +import{d as s,j as e}from"./index-BTxi3UaB.js";const i={title:"Terminology",description:"undefined"};function o(t){const n={a:"a",blockquote:"blockquote",code:"code",div:"div",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",ul:"ul",...s(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(n.header,{children:e.jsxs(n.h1,{id:"terminology",children:["Terminology",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#terminology",children:e.jsx(n.div,{"data-autolink-icon":!0})})]})}),` `,e.jsxs(n.h2,{id:"accounts",children:["Accounts",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#accounts",children:e.jsx(n.div,{"data-autolink-icon":!0})})]}),` `,e.jsx(n.p,{children:`Antelope accounts are different compared to other EVM blockchains, and other kinds of blockchains in the space. You still will be working with a private key, but your private key can be linked to several accounts.`}),` diff --git a/assets/transfer-D3r-1EC6.js b/assets/transfer-D3r-1EC6.js new file mode 100644 index 00000000..6c2d3f0a --- /dev/null +++ b/assets/transfer-D3r-1EC6.js @@ -0,0 +1 @@ +import{d as r,j as n}from"./index-BTxi3UaB.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/transfer-CHEWxACI.js b/assets/transfer-GkLLVaeQ.js similarity index 99% rename from assets/transfer-CHEWxACI.js rename to assets/transfer-GkLLVaeQ.js index 86f20297..171594e7 100644 --- a/assets/transfer-CHEWxACI.js +++ b/assets/transfer-GkLLVaeQ.js @@ -1,4 +1,4 @@ -import{d as e,j as s}from"./index-DxjPKUrw.js";const r={title:"VTransfer",description:"undefined"};function n(l){const i={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...e(),...l.components};return s.jsxs(s.Fragment,{children:[s.jsx(i.header,{children:s.jsxs(i.h1,{id:"vtransfer",children:["VTransfer",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#vtransfer",children:s.jsx(i.div,{"data-autolink-icon":!0})})]})}),` +import{d as e,j as s}from"./index-BTxi3UaB.js";const r={title:"VTransfer",description:"undefined"};function n(l){const i={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...e(),...l.components};return s.jsxs(s.Fragment,{children:[s.jsx(i.header,{children:s.jsxs(i.h1,{id:"vtransfer",children:["VTransfer",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#vtransfer",children:s.jsx(i.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(i.h2,{id:"description",children:["Description",s.jsx(i.a,{"aria-hidden":"true",tabIndex:"-1",href:"#description",children:s.jsx(i.div,{"data-autolink-icon":!0})})]}),` `,s.jsx(i.p,{children:`Transfer EFX tokens from one vAccount to another. Effect accounts are created so that users can interact with the Effect Network platform. diff --git a/assets/transfer-ke5453AR.js b/assets/transfer-ke5453AR.js deleted file mode 100644 index 31c3b5fb..00000000 --- a/assets/transfer-ke5453AR.js +++ /dev/null @@ -1 +0,0 @@ -import{d as r,j as n}from"./index-DxjPKUrw.js";const a=void 0;function o(t){return n.jsx(n.Fragment,{})}function u(t={}){const{wrapper:e}={...r(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o()}export{u as default,a as frontmatter}; diff --git a/assets/types-DZSS5pFr.js b/assets/types-mcce6rHw.js similarity index 99% rename from assets/types-DZSS5pFr.js rename to assets/types-mcce6rHw.js index 035c18ed..0c46d6e8 100644 --- a/assets/types-DZSS5pFr.js +++ b/assets/types-mcce6rHw.js @@ -1,4 +1,4 @@ -import{d as r,j as s}from"./index-DxjPKUrw.js";const l={title:"Types",description:"Glossary of Types in the effect sdk."};function n(i){const e={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",pre:"pre",span:"span",...r(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsxs(e.header,{children:[s.jsxs(e.h1,{id:"types",children:["Types",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#types",children:s.jsx(e.div,{"data-autolink-icon":!0})})]}),s.jsx(e.div,{role:"doc-subtitle",children:"Glossary of Types in the effect sdk."})]}),` +import{d as r,j as s}from"./index-BTxi3UaB.js";const l={title:"Types",description:"Glossary of Types in the effect sdk."};function n(i){const e={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",pre:"pre",span:"span",...r(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsxs(e.header,{children:[s.jsxs(e.h1,{id:"types",children:["Types",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#types",children:s.jsx(e.div,{"data-autolink-icon":!0})})]}),s.jsx(e.div,{role:"doc-subtitle",children:"Glossary of Types in the effect sdk."})]}),` `,s.jsxs(e.h2,{id:"campaign",children:["Campaign",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#campaign",children:s.jsx(e.div,{"data-autolink-icon":!0})})]}),` `,s.jsx(e.p,{children:s.jsx(e.a,{href:"https://github.com/effectai/effect-js/blob/main/src/types/campaign.ts",children:"See Type"})}),` `,s.jsxs(e.h2,{id:"client-options",children:["Client Options",s.jsx(e.a,{"aria-hidden":"true",tabIndex:"-1",href:"#client-options",children:s.jsx(e.div,{"data-autolink-icon":!0})})]}),` diff --git a/assets/withdraw-GxKREANf.js b/assets/withdraw-DYZpYlrM.js similarity index 99% rename from assets/withdraw-GxKREANf.js rename to assets/withdraw-DYZpYlrM.js index fc8a83a5..b826c267 100644 --- a/assets/withdraw-GxKREANf.js +++ b/assets/withdraw-DYZpYlrM.js @@ -1,4 +1,4 @@ -import{d as a,j as s}from"./index-DxjPKUrw.js";const n={title:"withdraw",description:"undefined"};function e(i){const l={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...a(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(l.header,{children:s.jsxs(l.h1,{id:"withdraw",children:["withdraw",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#withdraw",children:s.jsx(l.div,{"data-autolink-icon":!0})})]})}),` +import{d as a,j as s}from"./index-BTxi3UaB.js";const n={title:"withdraw",description:"undefined"};function e(i){const l={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...a(),...i.components};return s.jsxs(s.Fragment,{children:[s.jsx(l.header,{children:s.jsxs(l.h1,{id:"withdraw",children:["withdraw",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#withdraw",children:s.jsx(l.div,{"data-autolink-icon":!0})})]})}),` `,s.jsxs(l.h2,{id:"description",children:["Description",s.jsx(l.a,{"aria-hidden":"true",tabIndex:"-1",href:"#description",children:s.jsx(l.div,{"data-autolink-icon":!0})})]}),` `,s.jsx(l.p,{children:`User are able to deposit funds into their vAccount or claim the funds from escrow and have them deposited in to their vAccount. These funds can be withdrawn to the user's wallet by calling the withdraw action.`}),` diff --git a/docs/authentication/index.html b/docs/authentication/index.html index a7666749..8ee2b218 100644 --- a/docs/authentication/index.html +++ b/docs/authentication/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/collecting-data/adding-tasks/index.html b/docs/collecting-data/adding-tasks/index.html index a99536ec..fb88f483 100644 --- a/docs/collecting-data/adding-tasks/index.html +++ b/docs/collecting-data/adding-tasks/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/collecting-data/collecting-results/index.html b/docs/collecting-data/collecting-results/index.html index 0b4b4e1d..d16174ce 100644 --- a/docs/collecting-data/collecting-results/index.html +++ b/docs/collecting-data/collecting-results/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/collecting-data/create-a-campaign/index.html b/docs/collecting-data/create-a-campaign/index.html index 52804ddc..df10d586 100644 --- a/docs/collecting-data/create-a-campaign/index.html +++ b/docs/collecting-data/create-a-campaign/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/collecting-data/create-a-template/index.html b/docs/collecting-data/create-a-template/index.html index a1cb0620..c48f055f 100644 --- a/docs/collecting-data/create-a-template/index.html +++ b/docs/collecting-data/create-a-template/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/collecting-data/introduction/index.html b/docs/collecting-data/introduction/index.html index 78217e47..b460918d 100644 --- a/docs/collecting-data/introduction/index.html +++ b/docs/collecting-data/introduction/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/compatibility/index.html b/docs/compatibility/index.html index 9d0288c0..7dc8adc1 100644 --- a/docs/compatibility/index.html +++ b/docs/compatibility/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/faq/index.html b/docs/faq/index.html index 2a6da133..9d57db9f 100644 --- a/docs/faq/index.html +++ b/docs/faq/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/getting-started/index.html b/docs/getting-started/index.html index 53d72bb5..47d20d8a 100644 --- a/docs/getting-started/index.html +++ b/docs/getting-started/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/glossary/terminology/index.html b/docs/glossary/terminology/index.html index e6ea4650..3c21c831 100644 --- a/docs/glossary/terminology/index.html +++ b/docs/glossary/terminology/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/glossary/types/index.html b/docs/glossary/types/index.html index 2da2d8b7..b7b78e81 100644 --- a/docs/glossary/types/index.html +++ b/docs/glossary/types/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/introduction/index.html b/docs/introduction/index.html index 7def27f2..a42ea949 100644 --- a/docs/introduction/index.html +++ b/docs/introduction/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/local-development/index.html b/docs/local-development/index.html index 3781f2de..e050db17 100644 --- a/docs/local-development/index.html +++ b/docs/local-development/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/tasks/batches/create-batch/index.html b/docs/tasks/batches/create-batch/index.html index b8f06ea8..d09f8f20 100644 --- a/docs/tasks/batches/create-batch/index.html +++ b/docs/tasks/batches/create-batch/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/tasks/batches/get-batch/index.html b/docs/tasks/batches/get-batch/index.html index 5f6f26ce..4ca924d7 100644 --- a/docs/tasks/batches/get-batch/index.html +++ b/docs/tasks/batches/get-batch/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/tasks/campaigns/create-campaign/index.html b/docs/tasks/campaigns/create-campaign/index.html index b7dbbfb6..272ae7fe 100644 --- a/docs/tasks/campaigns/create-campaign/index.html +++ b/docs/tasks/campaigns/create-campaign/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/tasks/campaigns/get-all-campaigns/index.html b/docs/tasks/campaigns/get-all-campaigns/index.html index afd07257..f9645ba2 100644 --- a/docs/tasks/campaigns/get-all-campaigns/index.html +++ b/docs/tasks/campaigns/get-all-campaigns/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/tasks/campaigns/get-campaign-by-id/index.html b/docs/tasks/campaigns/get-campaign-by-id/index.html index 6ede5852..0753bf19 100644 --- a/docs/tasks/campaigns/get-campaign-by-id/index.html +++ b/docs/tasks/campaigns/get-campaign-by-id/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/tasks/campaigns/get-campaigns/index.html b/docs/tasks/campaigns/get-campaigns/index.html index 171ac572..23525f78 100644 --- a/docs/tasks/campaigns/get-campaigns/index.html +++ b/docs/tasks/campaigns/get-campaigns/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/tasks/get-acc-task-idx/index.html b/docs/tasks/get-acc-task-idx/index.html index 8eb828fd..2b0d6bff 100644 --- a/docs/tasks/get-acc-task-idx/index.html +++ b/docs/tasks/get-acc-task-idx/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/tasks/get-repetions/index.html b/docs/tasks/get-repetions/index.html index 162fe198..5bc93dea 100644 --- a/docs/tasks/get-repetions/index.html +++ b/docs/tasks/get-repetions/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/tasks/get-submissions/index.html b/docs/tasks/get-submissions/index.html index 95ae0a95..09025ee7 100644 --- a/docs/tasks/get-submissions/index.html +++ b/docs/tasks/get-submissions/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/tasks/get-task/index.html b/docs/tasks/get-task/index.html index c22fdcbf..6f83fcef 100644 --- a/docs/tasks/get-task/index.html +++ b/docs/tasks/get-task/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/tasks/reservations/get-reservations/index.html b/docs/tasks/reservations/get-reservations/index.html index 6bfb6c8c..377d8bb6 100644 --- a/docs/tasks/reservations/get-reservations/index.html +++ b/docs/tasks/reservations/get-reservations/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/tasks/reservations/reserve-task/index.html b/docs/tasks/reservations/reserve-task/index.html index 68bf0da4..25da488a 100644 --- a/docs/tasks/reservations/reserve-task/index.html +++ b/docs/tasks/reservations/reserve-task/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/tasks/submit-task/index.html b/docs/tasks/submit-task/index.html index cbe7604b..f6cf7e5e 100644 --- a/docs/tasks/submit-task/index.html +++ b/docs/tasks/submit-task/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/templates/introduction/index.html b/docs/templates/introduction/index.html index 7b029828..e286345c 100644 --- a/docs/templates/introduction/index.html +++ b/docs/templates/introduction/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/templates/labelstudio/index.html b/docs/templates/labelstudio/index.html index 68c0d145..033ac85f 100644 --- a/docs/templates/labelstudio/index.html +++ b/docs/templates/labelstudio/index.html @@ -12,7 +12,7 @@ - + @@ -384,7 +384,7 @@

version: 1, reward: 1, maxTaskTime: 1, - qualitications: [], + qualifications: [], }, }; diff --git a/docs/templates/placeholders/index.html b/docs/templates/placeholders/index.html index 0818f799..67f0337a 100644 --- a/docs/templates/placeholders/index.html +++ b/docs/templates/placeholders/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/token/get-balance/index.html b/docs/token/get-balance/index.html index 052009f0..8c2cee97 100644 --- a/docs/token/get-balance/index.html +++ b/docs/token/get-balance/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/token/get-price/index.html b/docs/token/get-price/index.html index 0c41583f..8cf9eb01 100644 --- a/docs/token/get-price/index.html +++ b/docs/token/get-price/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/token/swap/index.html b/docs/token/swap/index.html index 915a7d82..369bc83b 100644 --- a/docs/token/swap/index.html +++ b/docs/token/swap/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/token/transfer/index.html b/docs/token/transfer/index.html index a21e9655..35c26018 100644 --- a/docs/token/transfer/index.html +++ b/docs/token/transfer/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/vaccount/claim/index.html b/docs/vaccount/claim/index.html index 569189c3..7ba8c887 100644 --- a/docs/vaccount/claim/index.html +++ b/docs/vaccount/claim/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/vaccount/create-account/index.html b/docs/vaccount/create-account/index.html index 7b61ea8e..445b9fc0 100644 --- a/docs/vaccount/create-account/index.html +++ b/docs/vaccount/create-account/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/vaccount/deposit/index.html b/docs/vaccount/deposit/index.html index 46fece15..a6d56666 100644 --- a/docs/vaccount/deposit/index.html +++ b/docs/vaccount/deposit/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/vaccount/get-accounts/index.html b/docs/vaccount/get-accounts/index.html index b1329e12..8987f851 100644 --- a/docs/vaccount/get-accounts/index.html +++ b/docs/vaccount/get-accounts/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/vaccount/get-avatar/index.html b/docs/vaccount/get-avatar/index.html index 4272baa5..bfa3f249 100644 --- a/docs/vaccount/get-avatar/index.html +++ b/docs/vaccount/get-avatar/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/vaccount/get-or-create/index.html b/docs/vaccount/get-or-create/index.html index 429bd6b9..2442bc0c 100644 --- a/docs/vaccount/get-or-create/index.html +++ b/docs/vaccount/get-or-create/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/vaccount/get-pending-payments/index.html b/docs/vaccount/get-pending-payments/index.html index a5a6f140..53d60c88 100644 --- a/docs/vaccount/get-pending-payments/index.html +++ b/docs/vaccount/get-pending-payments/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/vaccount/payout/index.html b/docs/vaccount/payout/index.html index 3de0c162..f49f5902 100644 --- a/docs/vaccount/payout/index.html +++ b/docs/vaccount/payout/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/vaccount/transfer/index.html b/docs/vaccount/transfer/index.html index dfa292ad..4d33ad33 100644 --- a/docs/vaccount/transfer/index.html +++ b/docs/vaccount/transfer/index.html @@ -12,7 +12,7 @@ - + diff --git a/docs/vaccount/withdraw/index.html b/docs/vaccount/withdraw/index.html index 13083f67..0b153333 100644 --- a/docs/vaccount/withdraw/index.html +++ b/docs/vaccount/withdraw/index.html @@ -12,7 +12,7 @@ - + diff --git a/index.html b/index.html index 15226672..346f941a 100644 --- a/index.html +++ b/index.html @@ -12,7 +12,7 @@ - +