Page Not Found
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
From 3e14b87591d7a0ca1df594fcc083da885732187a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 16 Aug 2024 00:54:22 +0000 Subject: [PATCH] deploy: aa31d4bf57fc53c0ee9e0dcf5aa09e4b9c337a91 --- 404.html | 10 +- ...tyles.8479cce4.css => styles.75d13af0.css} | 2 +- ...ntend-1b6545652091fd0596484bf7c78a65f0.png | Bin 0 -> 56232 bytes assets/js/0058b4c6.3a79af21.js | 1 + assets/js/050e3d06.086187aa.js | 1 + assets/js/0656a78f.123e06fe.js | 1 - assets/js/17896441.177b6dc6.js | 1 - assets/js/17896441.39173264.js | 1 + assets/js/19a7702c.21ef7465.js | 1 + ...93b7f.c6833656.js => 1df93b7f.8e31bb0c.js} | 2 +- assets/js/1f391b9e.cf006864.js | 1 - assets/js/1f391b9e.fffe4ac4.js | 1 + assets/js/1fc3c7b7.edb32c90.js | 1 + assets/js/1fc8c953.57971c3c.js | 1 + assets/js/202.a8ba3b4d.js | 1 + assets/js/2aeac215.a1f7cf28.js | 1 + assets/js/2b5143bb.cfa46805.js | 1 + assets/js/33971a9f.32a4ce7a.js | 1 + assets/js/3634a328.f31f45da.js | 1 + ...91541.00719339.js => 36994c47.13b731a0.js} | 2 +- ...be207.0af12c61.js => 393be207.d54c775d.js} | 2 +- assets/js/404.f920b001.js | 1 - assets/js/41048e27.241d0273.js | 1 + assets/js/4add082f.22dcabff.js | 1 + assets/js/50542428.a3c1c120.js | 1 - assets/js/51b0b2b9.17f42068.js | 1 + assets/js/54c82979.fd07a87a.js | 1 - assets/js/552c3073.3b0307e2.js | 1 - assets/js/569.de75f64a.js | 1 - ...5c892.90927f58.js => 5e95c892.5f1835c3.js} | 2 +- assets/js/656.1bab6eaf.js | 1 + assets/js/6bdcc902.45aff715.js | 1 + assets/js/7661071f.1af38cc6.js | 1 - assets/js/7661071f.b319c938.js | 1 + .../js/{772.cb3cd0c9.js => 772.f07de380.js} | 2 +- assets/js/935f2afb.5103b238.js | 1 - assets/js/959d578c.ed876304.js | 1 - assets/js/9e4087bc.1d6214ac.js | 1 - assets/js/9e4087bc.8f871e72.js | 1 + assets/js/a678a43c.451160b8.js | 1 - assets/js/a6aa9e1f.5fabfd69.js | 1 - assets/js/a6aa9e1f.c54ca8a9.js | 1 + ...34565.d6279eba.js => a7456010.56220c68.js} | 2 +- assets/js/a7bd4aaa.3525ef70.js | 1 - assets/js/a7bd4aaa.f65ef267.js | 1 + assets/js/a94703ab.0d7cf4e4.js | 1 - assets/js/a94703ab.7aadd628.js | 1 + ...783bb.4b16174e.js => aba21aa0.8b3aa7e9.js} | 2 +- assets/js/acecf23e.42c09d02.js | 1 + assets/js/b2b675dd.bb2c3dc1.js | 1 - assets/js/b2f554cd.f045041b.js | 1 - assets/js/babfac57.4cda457f.js | 1 + assets/js/c15d9823.5f015b89.js | 1 + assets/js/ccc49370.32627df2.js | 1 - assets/js/ccc49370.80ab64ee.js | 1 + assets/js/d39a7708.301efb82.js | 1 + assets/js/d8aff4de.6b0045c2.js | 1 + assets/js/d9f32620.82041f59.js | 1 + assets/js/d9f32620.98d371b8.js | 1 - assets/js/e0a19902.5c4e77c8.js | 1 - assets/js/e0a19902.67975529.js | 1 + assets/js/f81c1134.3b261413.js | 1 + assets/js/fe9e6083.03563c85.js | 1 - assets/js/main.262a7cdc.js | 2 - assets/js/main.a5c611b2.js | 2 + ...CENSE.txt => main.a5c611b2.js.LICENSE.txt} | 0 assets/js/runtime~main.03745cd0.js | 1 + assets/js/runtime~main.5d8fd01e.js | 1 - blog.html | 12 +-- blog/archive.html | 10 +- blog/welcome.html | 12 +-- docs/Introduction.html | 58 ++++++++++-- docs/Resources/block-explorer.html | 27 ------ docs/bitcoin-wrapping.html | 21 ----- docs/discussions/FAQ.html | 53 +++++++++++ docs/discussions/core-philosophy.html | 19 ++++ docs/discussions/dex.html | 19 ++++ docs/discussions/wrapping.html | 19 ++++ docs/getting-started.html | 19 ---- .../creating-your-first-smart-contract.html | 34 ------- docs/getting-started/running-a-node.html | 42 --------- docs/getting-started/sdk.html | 25 ----- docs/getting-started/why-vsc.html | 32 ------- docs/how-to/generate-wallet.html | 25 +++++ docs/how-to/host-node.html | 46 +++++++++ docs/references/account-types.html | 30 ++++++ docs/references/api.html | 73 +++++++++++++++ docs/references/block-explorers.html | 36 +++++++ docs/references/client.html | 52 +++++++++++ docs/references/contract-template.html | 24 +++++ docs/references/examples.html | 57 ++++++++++++ docs/references/sdk.html | 50 ++++++++++ docs/tutorials/first-contract.html | 88 ++++++++++++++++++ docs/tutorials/invoke-contract.html | 60 ++++++++++++ index.html | 10 +- markdown-page.html | 10 +- sitemap.xml | 2 +- 97 files changed, 776 insertions(+), 274 deletions(-) rename assets/css/{styles.8479cce4.css => styles.75d13af0.css} (68%) create mode 100644 assets/images/guess-game-frontend-1b6545652091fd0596484bf7c78a65f0.png create mode 100644 assets/js/0058b4c6.3a79af21.js create mode 100644 assets/js/050e3d06.086187aa.js delete mode 100644 assets/js/0656a78f.123e06fe.js delete mode 100644 assets/js/17896441.177b6dc6.js create mode 100644 assets/js/17896441.39173264.js create mode 100644 assets/js/19a7702c.21ef7465.js rename assets/js/{1df93b7f.c6833656.js => 1df93b7f.8e31bb0c.js} (63%) delete mode 100644 assets/js/1f391b9e.cf006864.js create mode 100644 assets/js/1f391b9e.fffe4ac4.js create mode 100644 assets/js/1fc3c7b7.edb32c90.js create mode 100644 assets/js/1fc8c953.57971c3c.js create mode 100644 assets/js/202.a8ba3b4d.js create mode 100644 assets/js/2aeac215.a1f7cf28.js create mode 100644 assets/js/2b5143bb.cfa46805.js create mode 100644 assets/js/33971a9f.32a4ce7a.js create mode 100644 assets/js/3634a328.f31f45da.js rename assets/js/{1c091541.00719339.js => 36994c47.13b731a0.js} (64%) rename assets/js/{393be207.0af12c61.js => 393be207.d54c775d.js} (95%) delete mode 100644 assets/js/404.f920b001.js create mode 100644 assets/js/41048e27.241d0273.js create mode 100644 assets/js/4add082f.22dcabff.js delete mode 100644 assets/js/50542428.a3c1c120.js create mode 100644 assets/js/51b0b2b9.17f42068.js delete mode 100644 assets/js/54c82979.fd07a87a.js delete mode 100644 assets/js/552c3073.3b0307e2.js delete mode 100644 assets/js/569.de75f64a.js rename assets/js/{5e95c892.90927f58.js => 5e95c892.5f1835c3.js} (81%) create mode 100644 assets/js/656.1bab6eaf.js create mode 100644 assets/js/6bdcc902.45aff715.js delete mode 100644 assets/js/7661071f.1af38cc6.js create mode 100644 assets/js/7661071f.b319c938.js rename assets/js/{772.cb3cd0c9.js => 772.f07de380.js} (95%) delete mode 100644 assets/js/935f2afb.5103b238.js delete mode 100644 assets/js/959d578c.ed876304.js delete mode 100644 assets/js/9e4087bc.1d6214ac.js create mode 100644 assets/js/9e4087bc.8f871e72.js delete mode 100644 assets/js/a678a43c.451160b8.js delete mode 100644 assets/js/a6aa9e1f.5fabfd69.js create mode 100644 assets/js/a6aa9e1f.c54ca8a9.js rename assets/js/{a7434565.d6279eba.js => a7456010.56220c68.js} (64%) delete mode 100644 assets/js/a7bd4aaa.3525ef70.js create mode 100644 assets/js/a7bd4aaa.f65ef267.js delete mode 100644 assets/js/a94703ab.0d7cf4e4.js create mode 100644 assets/js/a94703ab.7aadd628.js rename assets/js/{247783bb.4b16174e.js => aba21aa0.8b3aa7e9.js} (64%) create mode 100644 assets/js/acecf23e.42c09d02.js delete mode 100644 assets/js/b2b675dd.bb2c3dc1.js delete mode 100644 assets/js/b2f554cd.f045041b.js create mode 100644 assets/js/babfac57.4cda457f.js create mode 100644 assets/js/c15d9823.5f015b89.js delete mode 100644 assets/js/ccc49370.32627df2.js create mode 100644 assets/js/ccc49370.80ab64ee.js create mode 100644 assets/js/d39a7708.301efb82.js create mode 100644 assets/js/d8aff4de.6b0045c2.js create mode 100644 assets/js/d9f32620.82041f59.js delete mode 100644 assets/js/d9f32620.98d371b8.js delete mode 100644 assets/js/e0a19902.5c4e77c8.js create mode 100644 assets/js/e0a19902.67975529.js create mode 100644 assets/js/f81c1134.3b261413.js delete mode 100644 assets/js/fe9e6083.03563c85.js delete mode 100644 assets/js/main.262a7cdc.js create mode 100644 assets/js/main.a5c611b2.js rename assets/js/{main.262a7cdc.js.LICENSE.txt => main.a5c611b2.js.LICENSE.txt} (100%) create mode 100644 assets/js/runtime~main.03745cd0.js delete mode 100644 assets/js/runtime~main.5d8fd01e.js delete mode 100644 docs/Resources/block-explorer.html delete mode 100644 docs/bitcoin-wrapping.html create mode 100644 docs/discussions/FAQ.html create mode 100644 docs/discussions/core-philosophy.html create mode 100644 docs/discussions/dex.html create mode 100644 docs/discussions/wrapping.html delete mode 100644 docs/getting-started.html delete mode 100644 docs/getting-started/creating-your-first-smart-contract.html delete mode 100644 docs/getting-started/running-a-node.html delete mode 100644 docs/getting-started/sdk.html delete mode 100644 docs/getting-started/why-vsc.html create mode 100644 docs/how-to/generate-wallet.html create mode 100644 docs/how-to/host-node.html create mode 100644 docs/references/account-types.html create mode 100644 docs/references/api.html create mode 100644 docs/references/block-explorers.html create mode 100644 docs/references/client.html create mode 100644 docs/references/contract-template.html create mode 100644 docs/references/examples.html create mode 100644 docs/references/sdk.html create mode 100644 docs/tutorials/first-contract.html create mode 100644 docs/tutorials/invoke-contract.html diff --git a/404.html b/404.html index 34c8681..c411174 100644 --- a/404.html +++ b/404.html @@ -2,18 +2,18 @@
- +We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
_7lsB2g zBzQ}o2cU`2Ftm)>`vwt>)3U%R_W!h?N1KcB)Q*D|%#hA?F@=-GZ#P_5 O6ce1s6+g(TVa})=oVnX8gGStVL5E}}vjds|O zx8yW%^zuyDo~G#4OmD-|y^VlSv4W)&eUPGVf@-nTy;e|;-r&~{SFX(8hhIbabakmP zE|={b#clAmSk_WHf L?iG|uD(18{!b*0pe{D^a^&wL8 m+wBR4UC*<>`^j=9_3aA-{gOLU1d))0xLS@?{vW;f>X{ z*wQxD2hqBfmXuSK;&;<|E#9&h^*(Fj+#EfBNU&n}`Dl{oa(fwrp6@8M!~n9x-seS7 znX)h6nAY+gOvU@5NoKAVO7f%aj90)r#zE1#?n}8s-jOC ts`DLr^o@@emojA%wbT_QQbD}SRX9tQS-uI zyu(CZ60*tyVa`LXia{#yiWL(VNY({y)z8^ix1{lwc12D201dijr)d;|qYwYNwUZU- zvzxXoRvC>OxCp5QJ2B6L-NtZhYV3~_@dKiI)3s&uf3>I>&+UwMSqIkZjTJ$v+6u{g zi9z5DUaz`%d3Rc8bDA#6g2^^6B#=AQ#;Vk?^>U252e{2>s|Q)CBW~a8LiDJhlgxLF z#*ydqsV2n*7^p}_Lx;Ce4s-QRq4^bO32z2D 5ib!@3HKxsQ=DIj zf|hR~)L;%s4Q5#1`-+I^7o8m~Yg4Pg*X~Zj!!FVPwSQ2y-G0P=-B`tjWxi*1Oaiin zW4N!vB!fp0o76nlQs@o)5}BlyYTc|2(2M0e6|7VNCb}w?DcJ+!@7Yz`d5Rl~kJ)0l z#B*EXBwRK=$m9PecW$j4YPdJGLVO}SY@G(tb`gf!RLB$Ii>kFJNr&C@H|g>m^`R3u zY12x@uYJ0pZzrr({R(oQza3@BBfYdRaYCyNpR#I%o(ktKjpQ8pc-zEc#nwT6bt>+` zZeIFnS>M(OE(=txxE;QIi@3X?NAbW8!q0NzA8%c*-$OJtkg}HpJuB2iR_*p07+hY7 ze(Mr1lGsgE7e1eXN;zI!L$Cy=8?qhWX0)i*<|1PAZ~1to)yMG>lBqsrR$Fgk2^|tB zJ9xVV(LS1e;G2wFbXm-t?mh1vp$hrZ{`Iqh)i`u#o2s6eHG2JXJG?Dd@WY<(uU&aP zOEWKM6`SjT%#5*3JdbRrSMXjU+IM3_OKk*UIJjtgdF1IR7neuN5el^bWL5rt>Uv!m ze|bqLyhhE@{(-2dSfn-Oi^`T!->!j+pr8l!G?4Fuj?q#@cApEEB?fHRZ9mv>q>`F@ z;gWF)9O)FOp2NjtKhJrt24#>gRc}JRnWiRi^ze&A*CTWE#HT210@B%=>_%&gRWYFn z(#+ *P)%ciiGd9wEQZLaTr)3 zxhk6oIOTCl)hN#OODP_Q)R=u%9EOtvn@}G8wZl{IG)8u!CEm=}n0=Y4U2wTy)Bkah zVGJl4O+7uXC464CnT }! znz##Lv+eLJB25#;&6F%)ZuwKBcc@x^g_py6q=bOfeRFx^(8~Guw}W_dv0A+*)eFOs zY6Zr+3tK!)6f66;8)5#Oo>z_GnLO4>hkETjCx>A@{W~joDQu6ZZ*0OwoQ7{GdCI0E z%hSokYdi(=mY|YwtXW;PzC;mrHUcUUeSgkrd$kbe9X7m}?}I#FJOv@4RZB-@Xd9a= z@DDW(MLnzDTv8QyS9TxZR9RVdP)sM S@fhPh(%#V=7zMT^VF1J)lS`Vzndtv#^K%01B3>tt*I@RO2S4; zdut7O(lY;!es`Us{fJAjEg_Z=3g!T7Mj3VBziHqxNq3s8+-#ldTsUmbSS*(Z5g&Lq z>WEU0C9kba tuc{d!s(X5AY`C5~29d#*u zY$s)4gF~eNL>gQviVO27-HB|L%i5kUu0Er>=-q3=gEn8JRdXzVY`wDLgWQ$_!m}$z zT=QAlRtIwjlf1qfS4fa(x#tRAMVD^3>?_n &H@S`bKIn}$xT-WV2jfo+-5|%APCo{?G z!#EpVqs3~2ekb?BADKEG%K;B8MloJ$IwF$e8FTip$??+EK{o2KG6RVa?=!H{S+mxS z3^I_|HQpZ1yGmh$q6!hYI=-T- qmW9fsGJc?7Tq{ZesgFw&}Hb}euGl7Ax z73AfxYtF-2fsGKI%hY6EkuY{%m^Dv|Gj`u@mOzT^M6~th9$%FB2BQ`$437$3Wz{PC znucO3kWB9s3ndZ1c*F>_c?Gv2sHxsg)Cc#4x{J}sYMp*+r3l>8Jai?69l+CAqZ4(y zNP-95E2yt+){l3v3itxyByH(2M-JDt+Kd$u^(f8UsYx6T%Q3gf!ng>b-Wa`B+s4nG z8LDUX9kFdv>V9gcWnJ29o4{eiF!frachwJPvwSvNzP9-Y6d-cbO&5n+VcyxcYP`_A zp2%kDeux9fxG^tK`Q>F|q;z$5n^s~qF0{#on8buq&pab;M~N^|F $px ^*6^4v bTCV*z~r!d`o Q(NHg|d3|QcE Pd5Qj1-h zLMzf&B{pZ`&ORNPKjzkX)?-sPU ($ zHx~c)Tk3CR01OBq-tO}o5TyYJ7*R`4D^Au)%?#2?73zwp{Un}*u^-6O^5LNIo -xKrQkA&&Wa8cZHQ>Sk+88q40(+?!-C2GQ4_c$b$%3B vVA-jS0`!5(3y3Tz7lAvgY>gt}=mz$N!O5Pcs1Us^vF=``@9p9)Tbg$J>B&S@p&_ z5%vG*nCm}XU7)^4b?09?^Z(jcnSRgqU;Xmf|2dBDzm|3$@Mqt+V1M(&uUUo7fP+t< zluhI-v4t c9 zIPy=xAJ$K!7aw0U?Hi)1FQ5*utVEf7e9cx_iuz8XM$CZ|G~fK^3&8KY-#h^Pr{v&H zrM!cZ{U3nCV&y6>B7X~8+lu%BMo=K2gsCdwDIx{=hacuIU%Ej?U%J<6X}%63e~WV` zoB;S`wf$ckHvfBHMg52Hn)S`!V&Z$R6tC52_8@Mso`?%qI|{g|{X1;_&jpJAnIQ9j z-m|~M=Ko_s|L?H5js`n^hqP2a{Fl5$^*d~SNE5mLT@d^qKi>JjJ#0Q)jHy!n?~UMI zC7VQ8{ET7`vu_R={`V&M-~Ia>{{k4^1lVDc64?tcdzXVX><`zuy+-)k1S0(J{057A zCg9(FmhdkC5cTnGlmGE&1UtT4tA}KQQW(a!O&k|$c+&3w^~bS~O0bkG$yr&+=Xy>v zpFVvuE&JgC`s06?LSFeC-#YsIc-AKB)~)$Jd!UeLqy!YMBnbRiyhBNp`BVirw LMn99PN+<*Ky)}wy%Q~vXZE>b@MBG3KEMC^Uyl>>ZF@9cfjeh&D4l(_dP>+pex zdw*%y{bL8~e%u29$$uUGf!?T%zbE{j+}UH$e=nB4X!QQ-oPLVBn|*orYYM0GnRHpD z0nBSeF@=TCGtOi|a5_EUslbGcyZKYj7qRz}ZhRhE_k7VfL_IU^3ljRh$v I_}$>x8+ zzFc3un8BAowKVA#0gE9V5bsYddlCvTx?IcV{mulPm-a0)ZAeRRIv!Rm)T7VL9A~rH z;Hmm7z@scce9Ry&tMrwqD9Fsh;a2MFZkzY74;YE}^1Qv~TFqI{NeA$2IY~8 o+^c +Q_+DjyEiq*@l{K|DO>Eh(s9}5i!@{yHtJSRfFPF@j zO?mR9U-cI}A}k@SE^I06YyKy7JinJe?6lv}zw?C1{6O Jnh53-1&f6*{ML?e)q3*+*QCjWjB$e|u8vJvmp7-#AS!?asp9>;Cr-{hUw( z6k@M&&*;8IMvpJ<)%92JUu|9?QM&+gZvXHr{p=Zos-dda5Eivn%vVn?oXplF?2)bg z)ARKIohtM ~F(XdUU&O3s4O!nE9 zTzKKTckjw#=+IDKs<3X^d++q=qaRdUHyIP-_R+6U?!>82%TM2>&Bpz6Ha)}zF>SJ~ zvbW?x>T_%_e#~~!JU47lPJ!0v9WQO{{S4%FgCFZ=%eD_!ThL@Fo!y%&i|OZJ+L@m( zq^lVB#R^f|lVyL>plRn+94Y9cVN*+O_app}^sc{mtT(9&ryN@O%Ih`q>fUd?+`RZh zl9Gjw_vA|6$yr72?Pck|JtW4b;dHxVv18Bv-KYOKd6>FVVNbfkKeuP9wWGh~NW1Ng zF7T5kg^nGmbd`|41Ziq}@|mA&yGXns7I?S+pPF+oh{3~i|B09wn@#0tw(Nfzy}>i& zUlF76ETH0FwwDFyE@)nKncJ)U%sTQ@RIZE}w4c}f=VlF?kIva)l}>vi*Y^X(-84IG znK7&D_)o;AidtBc6?Dfc_5{)TqXU<)@xo!McM#*#hAg`;`Rg-aNAF6QWW1R5Ah4 zs<&_uV5D+`$%HkY?&Ia}cJrgKEA`>hN&1J>Ki{w47?Gyxd+hlC9Cmk=hkht &K{uy(L*iwN1Yb%rDQc!b(-@y{j)^-;8$wIMT!AcUVK4nxL~YeExzwg{KSo_q_i; z 6&Z+ZiBI(@kX1#bu#E+90&{?*{v&=cviKNcYQ=)P_At2|=037LD$@LFAi z06SXf9CkG9uYC+b?UqF|LH7fF*v3*mlqa{{OQ$TJwEC0k|26i#KXsi!G}Bwk`mgZ; zb(B-IiP%EAS>6Pz-}fxwzMyl#PWgLj^8KLwMcuCvCOjujMMNgrgx+Nren=xy`_{gz z&uY9@vuf~`%=Y@UCd+l&SNCYhf_Evi+c-`Pq{rQJRWo;!_FZ!K#eM&&{byRYdWe#? zX93-X(hKcBreu?#vFAucadA5=*FEQM{@vnz5I|i|V+f6&RSj>SJwW6{`qS#nRlR*| z0RVKpqD_06x&`OguTtHwLYh$;c;Ed}{g9dbKE3zfv~+4#7N`$GzjNv7I*m(3^@Pds zlBFtc<1n8v`h8?Ur8wlTeaCQ9{Q5=Xh04V2i?nwo0Ob#9?rTA 65;yx}ZTHb}?+v;Zv{cxAqC?%5sTtR*tUB5(CrPvpDt% zziypyJox<&AVB@ Ptv~k@386Z% f`TDN_f%*^) zpme$a3J|E>b7;H{iT)KJ{M!BtK%h2fouScc@+&}~wrdCP?>C#!F96}!=3fEAFU0%` z5Plu~SAalm|3ReQuK?lK_Fn-4wY`5I`1v*R{Q?kvZT=M?P=(ccUm9;tG5-P(sNH|8 z3HB>M_zAd^*QGvoUoo~$qoJN(7S%8>cC{?(SKLM&?8mlfNZZ=LoU?-suzRqPI{64~ z^3<|H%>;&-oPQDuY3}@ JsCwOn3i9jfS7-Mj 3!9B{T z#+Qbl?;@;9UW;32iR(|_nwI~eq*F8~`i?X{o#$-a*%$WxCtZxL?Gxc=8`3D#(qOVs zA^UnW*yyLay{D;L5G)Ud8E}Hp;6Js1fAYIUAaWOjtH<6aE`{8!xQqB{PJ(#uP${}u z5h^yobC%;DLJlgS3U6rErrr@sG_6rssNj6n7j&KPhl+oXI+)|TY@)V3d4Yq6!VJPJ ze%cN8eUVNs^4%O^Mwuvgma6^?lBiRr(iooAh-X`YqgJV3E2rI0)B4T^0Bt#9`q_n* zQD$`)>@EcSun`Ywfl^kta!7xvK1<16=I-wbuT9grtaj> FkZxSrH w6X8Knvh*c|6? zD;6kO7#O*eFCQPX!zvnlicR&6N$S15T&2;`AL)-sDrDl_-*6lsJq-x5N$$yW7N=M% z&HC=q{lCK5 r-S?o9c|27p%vtP7j z{jXNx_X>Y*_wUoQe{&wc&j Tnj;hAipyPYy?&Rnw|udj&ia zavXa6J{L<_W=YXNz|eeN`=&CefNqC7_M6N~p;vwn7}BBd&~Y`hUD;U~Bv|^Fs9mKY z)|rkg9f5iv7CmqT_6Or@y}=_~$OjH}M;?YADyXJMVF1b0gpCm_qs(RJvW&{Y0k&s! zpU(=8d(;eR4HOttGXx=ZD{yp2;=#U!gIn))2P$35q?{N!F$JIo&-RbVmp~cEjvyyh z*{cgG?|qCevlVOO>y8F+>Wf9of6+S}_|>NV$l3h~&Gsi8!T{<{>)f2GytBy?@@{CB zoe*$ASm63C(>P1@1B=cFpvtfI2G=ufc-^15*%#{6Vs-0{-t*c!f{QO7_8XmH0G~Yj z7wibj)2C()2Uy+!8Ot{WA0iF`v}mD!-?K_$fenMPx3-X1!}XFZDj7<*>7#B>iluzy zd(KQ}bYknqc#9e6;8Wp$+*hOL;(ow*qrgp8WVQT<$GUDeBzZ(Vh|gBywn&+qhgcr- z>fB7#uzn(1r)?YDnEf#%t|&9v!FoPX1Sz1t@EK?25){&-!z7^QfN-6Ox9-+k$f471 zpXp6zu0Ov%(w*$j&c|4OciEvXaxj_12)JkbT*yz6@ocwDma%sV;(0 *VL^e1#Gt$WQHmed1<68|DUwlu$qd*59K z>d|C9r_{`OKBAEcEJ0E7aQuP}3piCK1H~KG7{3?JnHZ|2_^Dgo8>;=}94^6wiN}vq zR&9E3gS~Z#%@Sh>)i;vaH9g=4C#Q^{o#lkTGdA@cC}~QjFS24t@5w#qOYb=jml$q^ z$B(Qvn1TM_*L-PwB~Fbb>+xu)Du7$r7Z~(CexOob*HAUYn`}rZ{aa$$AwAQ=P!AFN z)Ra=!6g^x)c!k1RUPMtAoTk)E%UwQy<*wI_o!oYzCrbzz=bp&F;?ec3_>fFq+NJ=; zM`S%M;BU>JLiZj-~s+?hE6`4k3C`XoPX927w{`3xVXNUbQONQkU}FbRA}5V{i50 zwZ6$N2J9_%Q8Te3J26y-tdTXmj)S0zQM#}MpoH#|xJr$kXBTZgA_yp&6j@4nx!djM#* zZj)LwB{5dDeRYXV7tw|(P-1GEUtE0rAgMC%1*Mka*#dt3GU;))Y|WhdvNuGOXX+36 zimQs^`Ox*;FFbtqq6#F7Ht)>a3dSn$UskVe?7mA`6S4r^H`h9b*y%1;G$wcQ?2c z&8>Skb1<1M8pYbz*kG{Q+%8iy2g}A_#G9=+%(<05re=)E7AC|w94>r6v|?k4KtRDR z=FBLozJ+YN*akZr;xeQqx#iYe4bbz0<&2p7m#)H2Cfng2)V1kbP6pktFtzq*DFvn1 zkBWsEVR`3v=Q?1kc}|DT-1;B$` LrZZ9mx?Y2jqB Sajte6zq&yHfkK6SHU{`=jBaG%|;R#P|XaFdR@2Ubps zJ8vf#KlfT;preGROd_WvqzCiJ>o;$e&ebe_MQ^mRxWPZYH2}^ew6`P&yFOkHj;kzZ ziS8)wDjpqULLzs^u^6)14Rl{yS?kyrqVw@}w?eVRrkS(mUpaT?20`L?E)P03JJ?m& z>fDreFR>r~+|a0LQ@$}6eVS!9O_3}3Rjb&p^`*vRTYMvBl*eODYX%P_tT<*rjykQq z=z*PyMjW3X;2^pWsYqs1R)Ly6E(XDVU7YR6l3^Stm|IYhxeMQ6>{FcCV=Skn@o2I; z!Pl$U6G9Sl5Q?&ke#C^Hc3 ic zAxzvtrOMH_8C)82{KN(5rp!MY@6I-3_4q*G7g8$QBWO%P-TH0{{`pZ%*|J;dUKq`? ztZal&Le^|e7nBZXJAnAh)mgPc=-pFpx)&GPYy64*&L5nNh6YBJ!} @Xy%@+DDUY<&*s+t|ugCRJ9sjti@OX~o?9$iM8(O4pct zYPb1W0%R;z3%z;+TCrU h^yTB zcnpj#_-d}@P4LF{j0YM>4bQ}*Yj^4(bW=V2V^Sx4)>>J|LN0!2sj->l;}Bdt%zp-t zd38qY>lvGimv_x($D!T=!Be4-k+X$jg+t=Wy?y$j_crdA^{lCVLBw}qEx54NqG7(T zPHMLAN^e2Q!&MNWtCV=-GzwApk=-)A`q?3bh2^HcO4F=&ppQs)%!ZTko~nzU35^|Y zZolz4HX-xvl5OlJN9AP5d6H_BChuldw_R+%XZ5jIXZ$B#{80Yoj_oH;mZHRu%)Ncl z$|^j&nQj$)i$3IHA5Ug!aEOv5M}qdckieJw@8l&nrank1{;3?H5r6V(kH@{!0e2f! zgixom`nbB1i*jnO6v%O>CdT!AEIagY+$p&6h)JEk!dpIshc6Tq{9bEx5H{*@p())Z z$x_c(raBQ1Fx_yQMX}9ifLtC cy&J{; z%jNcXU`9x}mwnqo0~Z_g$d`_u>a;5o5)wQTnV-HQTj~X}%<#H1dZID)`G(M;2S&>p z#V&V~0~5B`Mqc=Nwg5|2&PuhAT`?fexctIR`%%ljX~mIgzKh1L{t8SOo~=9SOt|~; zf=LZIWbVd{G#$zXh?zDbVnJR~WNSj$SjM(pa9gtfcIb(vd8 A(3*uyDmI_k3;P_YNnl< z*HbA4q9(q0tASxn*i|(Orj_~B0H+CyotGWYqgG$TB>nAvItRy4#Rqd%4d#}~b WnVrhVZcPD}Lh=kJ38Vi-s_^V+^D3biLO6|>k zOZ|XQHg^PEA!t+-JHc)GLSF?`>$V$>$h;ftCm6BXEX6~?MAi)32qd!*@*Y`@K#Is zE5e&|N*@s+r<%V3cl%Swupnn26lMoUnN=CchqkTofx4{j>-XP3Js2-T>4v;1SP)gM zhmRKXMUTz89S981ckB2tRBym5Q{mu>5bmrM@f|7ea2n*|bNnOb)8i=1F{W?tn|s}S zwz}4uoxo=zpn|BlE0QnXc-gx@O2@lD6 N7Qun9k1wag_1l(a)V-+^_2 zuR#bGlgLnh#h#-K)p*n*Uq^+=h}Zh$baMpzCaQ+=K?xrqX=ssv+}(+{!lK-Xy+XQq zM(Y#ddWlJ8PjTzFnlC3W0nG}sv$mKmdPkaCH80LID%hiH%`m7M;@0YDsrP7eU-e(2 z^e~GR;7qQvQDBF>Ed_#|^$uCYqFZ@EWIKoXD@5XCZ#t|)f7j6Y_2cfeFZuAR7biv{ zP715WQ}wQ<`f>j(A6fT8*9Q+ujeAD<%c|2!l!Jh-EF%=)shTyCfKR;c3Z-+k1wE`T ztU`6Dy;43yVfGM9`0GLYl>evExKgp+IOaPLqKOBNe1K_(T}buO$ofT{T=sS^2VbL% zOA7+FyUJ6DX8+2u=?k9Ditqx%zqM2u(sd1e9yl0ecF*uUF;a|^MJ_D&XbUAs7jtV? zz8@rI*a6t9QZ2?rvK%jdeJh&itzZuuOxt-x#oVX_($`vv$fIxYh>h{N+Xr()V)fEb zo0%XBeBJEcMDkb-6B>Ex^9wn^y%R65!)>psFFH&)3VVHCL@_Ty*O#QXM_ITeE^mDM ze2krE%d0N`0L 9s6+2kAW*N4LU4$b3?vjSo|9k`+@NHP%lhIk@Y*{ zsR6QU&fRe2|HILFw>6o4U;jH}!4VZ3y^Tr{5D<}GGKzq7rFRshLy#IEKt_??q?b?z zrAQ4mAwUwP_t0BHB9PESAV46rJp7(FaQ|^%*EwhHwLW|ANL|^qjR|)eYoq*)oBNZi z&i21I=Ya}IxwmDgD>ems4GmI452qX=#<0%|#8~OQWqN6mps&RUe~I3^Vodxr$cQ^M zDnk?-OBD8jI78!5D%H@;jP|{gb(YL)cC!RngsP;@%J%ufO|Xfb^MThr78&QQF|59a zQgVyzLxZ%YKfI46F5T!*xd}l*BkyPPz;65y4 }zga90u%7OID;|Hb$w5%R!Mt|k+9GJ5LJ`qPg=*EBRVoK0 zove0uF1=e`TWGCVtAYHVn4J+IK9KFD*AK=69F+c*{O|=2SRQ0gh;I6*iye6rE%!6u zW *V9RWgqnm@5_pLb{k$bWp^P?Ydt-gX~A5jOPi5fCLM9s6B=fceg)akMh;% ze@CGtm7widsp&M}YD`LPtqZt~_Dr_1p`l@TNJv!l&!7LuMZ@ qaLHC4YLR)cvC&c_k?g zfl|b6G%S5fGmy%QcS^}0x$W%eOy&OX#-DHIknAVeJ_~vK;z&~)CdWku_it52-q%%O zQ#u8Ps>1#&N{|Ush&?$Jr3Y+J&y6DkK@RIB?#tg_POSeyPcu#PrR`LedJBZ5XEX}U zR(ACW?_X6}e@8A8!86a{tHkKq@#}r|8J=III{Q%5r-#cwtaV#Fz3Y4-%AXGQZ zjjmj|qIrdf6?w q*(%CH;;!Eu;8-myiaT8@m@3MEdxD=gzNR$?-u!q+*o*IB$b4VXqg5`PraiN3 zd6Uf4!@c7WQR+84aB XCD{rW2uO^x?Azzyh(eCHlv=ytYs)Xy3WOKxA8mFOk0`!+ZBMhdDQ!G= zHgkGw`|=QSN;G-kGDcKX-2sLqhHV}h?Fn9o#~*(?JWAO+Wl>}7&ldBa@!w!b3>d~O zobFaLFq%+4oy1JQCcS+xmEMnZmY&RL^%-{p$swc+XHSQ#@gqfS)p- 37J$K1*I7=b* sVzPyk^ z1M*DBP40B0_npvFL;${9=Lq{2OcAUmtm`$Pd9O;etVUdITPIw=YX8f#&ZX*ENe4oa z%7;Pk hMn3li`Ph5UB`~S_}gQ7{h#jFV_7R3p3Pz@|1sIVCWi> z*}U!q^xF2)FEO>v5kz^O(L@ROw;Z=?>OPlLXEfRj_>EDJRL+H!g0NtFSg%4bmsS=M zbGnCBXj=sq%Dkh?JAeH(t>Svh Ll`td4$BZUJ~>ADM4UPAl_ kaxeclR zagQmP@KgXIK6g6j<+Mcp{{GC*v_6p3p7=$>Q{5U_Q|(SVEmKGml&LF#q4FJ4kG5LU zaTpu=piE~<;A!YVj=Q8L!!+3DFigu{kCT d%kS_75Cr4 33WVO9s!wru2 z-Hp?N{5*phcly6*q<{TgRx3~QI%w@koc-}I1uh_eWtTUIKik6OEQ_~Mdbq5#JiTDC zuwD@$x!d)tasK!8uv&f%iM?F9@3ktLne!~}-SYgyI;-^~9=rF38@YWyE>FmRg{jHg zfBJP^7!;jmJRWxH_Oh%&%-rpgW%Ub4!sLXgA3rpt&3X_yy+)H=GU5jm80!ht 8^uRt@P4WqKk3J^{fr+Ut~=h1>AyMK9; zH-S!4W#h3A#$r0128ciFcHHjV|4s2YGV}W1lJdss*pEF%smiRJmQ#D|be{T~Yir6u z`(K|5ifTA(nbCLSS-yU2&!5%cRX;h!(h%Mr`L^!rCIWoVen%c&ot#Z}`I(fW_FS<` z14wNbQdmA(k!}R$;O9C^9_TMWRPD->-8a|$5Xm-pHIR=B=IjSey_Jfojc4N<|DIH} zsGpi0=7PgIWFbOeq>)Z@&vw@-vU7>)@P7<`wvqO#bQnt2&`$Ur&Uv;E7y6~urvFhk zY2}q*Z40-lS@D-Dpv8i=>hn62du+?fa!<~xGHr}_x78DE41d9q7#mfk>PX+t$Kvrg z#L6J{TwOZ!hG+Xye*o<}%xl9DyaH1*#-fM2 <9P~Pim zv=$n4*5qZz2(q^_V3 LxXd>vi!XmXefc7EzaBt1`B=4^`t}OLfW;_e z2@Vg^tWW_!K;+^)`S!t@(Y=)z0iOTvzc$A&60?QHFn!|9f7q_gQ3_A461YfWKIv0l zh6nRhU0~?`9By7NFl(?qizd_ZZ>K4ROx*72-F|xu-ZO>pAKn;0usMmapzPv t8RtOYt5@U#Md z*S|X})DypZbJ=|P;bB{Rx 5gnQ(?7q2Sv1~Mu zvP`iHzp9QNQmk8q^I~)ku5TDGUb5BE-JWJ#weZDe`1`?h5|Gdo;2^uU!Rq$+9-r{z zkt=65`yd!OaGrNwsUMTo)hku`;MgV-3J%H4aTW4W1*&@5acrxk#JI+ra(^b40r!EP zWeQkD=0(NumlzT^+KnQw`TSb9W94{~Y9n2^%a|PY+w7i>C@4#Icg+7G@{J4Jr&)6U z`^m`b&X*MB0ICOH@rwusDLuK-h(8-^qk}7x+*Aa2uhm31mVJsUs0rzb^C7S=_r>Km zNu&O;eW-{)pA_mH1$UtibKu_9X>cF)oz?mPRtpTY*XYdUzh}%kA{)>!TZmX&q)!=} zsUn%aqo%k7c=(90zv2&_3pTS%5>PmfZ_bB?)&|&RlSHDKd$fE|A@MCmShFhECpomb z09wz!2*Bnd(3{1*3le}ltd9CQr2#>;^?kJtdwf_MhfxEL*Lr_L`oAj|lTMNLTmt=? zHu+1~IGtb=@wCPLKYOa28$LIJrjWjfo8i%Z8Yuqs!&ZswDxxtp{+j~Cf8=Ske_cA4 znsfO M-hibQI3c98cC#fYy2LFEjZ*Ct4(4QqZ@y4Plfn~EE{@n zD#J`8VW~rZ&ewJebguBk;`nA(kdM1Cd;a`04Sdf?us6L0c+OGZCJ$qJE{xn;HwPN{ zKo1Cm&Wm2}_d8N4`LtW7r`87t(z)y+-OSzj60l47$M!q}VJu{SoUN$!(d?Z1;^@i& zlk&R3T`7Rjv@+!*kg3GA9Mz-sx$UZzD-Z8qhK=51?vpk|{bwPeWji-{X !wi|b#R&|-YaJ60OTb08`M7 &dua5%0|fe{#d_$QeY!N!$n%U<^vA&dpu>({43XDOKyIGbT)w^O}(!I zNPNxFyYbT|noCQ5L;k^}UD}ACo!xqA3Xqt%C6o-@g-C-{ich`#0&}5I9Jk}Qxw)yZ zRKB}>_kVAi7#rV(e&ym%|C*WU?Ox$MHbk7#RNpBnE6dDyJz|(#Mqx=P8XA^cU#Im( zCEub`<}bG)TSz2QeE-C=27Zcn=S%Cj#h%nFdU|>eg0TIe>Z7ib#KfV>F$X=pgt}34 z0bp&&l`9weD|b#Q!a#Mwj)#u&8~o|=Vi@YtY+av`b95PHPn?9sak-tEJ$YCX__eC> z`|BR$-fn+|I|m2Hr{PQO7okWK-Jv)Xz-RRMKFdI|(Fi1TNKNh1Ao{Rb|J3dL!trr9 zax1tSQpLH)p+MwVG7j({7TVoeP4LF!Zg3sqW3QV@sRS0zVw$z-aglAe@?T5B{X7@I zU7izyTT@NH6S?lD=1bRpYfa9_W7^L+zc;3W=>o6sw;8>qr7nPj_?69v2V);Bgl~0S z^L;zjj`n|{+6s`f1M<&_i*EOAFPx+l%_xQh@+z%XsF#*LcN@5;0Y0+P8H+jGns209 zI-+Zgs%!)y+w#k8am~!oz%JK>!RxZT7%98?Cbtd8U>^5(_rgE+t_(xj2C| qKb3qS zrY0?YKD*xar2eVF`{ }XTW0qSH*Ll*ZsTr?%gwa#u`7Y$@5u! z$mB^=R18YQC^0SHq`JP&-)F4W23jUCZ(AQ>(hwiO5hOJ{-_&GI2g)+({E^`c-g4b@ zVvg}ms!36i774e!p_$1aYmmjrs&=eU@3v{7W)tr*zDdR|EWc#-|Lpkq*#3sJ!`*Cc z9*K~&c7go;I>mo;M0t1~r6@vu-p@4Q?2OdMb(Dmr<&oj~EnETid B>9k*{R;qyzo9|7&z)YQ0rA-BHY`Xx-6In^@QB zSHRNaS!mU0qqQ(;4SjswoG;hE8V@}XRM{192K%TiS}B26)_t{a8uS(EOVr)vZijhY zeiXyIy}9U_#Vw}$+v{6Y@nw<2w-HsZRetBrIUNV?JeNqrUSWBZHcTFVcbxGHC})PG zj#1n-I!~kTO5vWaEO_hxd%F39@P~l$@mws82Jx649jEBJ;DGcT!yu({`XH};a!&^W zw~zvOZy709pzj@ia&WUxCFG4);9up2UiGz&e9v$x1qx>Q%UhCnQwDH4mAUz_a=|-# zN}!KKx-3nGIGRP@*6=m+IrhM*w5JHpHeOtETw=>5mir^IIjwNgvF!s>4#=RaY)qh+ zhsEF5=j!ZrpP+E`h~SlvGaEB{k_@w+ud0#S#K|5JGXi&&mqnm}RM)k`5lO-K#QNt2 zjS$>oqX?+xbf;$2|DtU%vzdyk;)&wfCpCe|f9h~tX;^&+_r$Rjx?2oa%3lxpJ(h}y z3idD|rE1a}n`uEO`$zvQV-IjtRU5Xp;)=}n)or!RvODCxpRBUSX5c{IKVmB82OUn8 z?fJZFXiEbY4$OM2;hLv%XCA$cCuP BLJoK;q>H0BJ;Z4+S(KLi zsJ2NkFQhyhZ9miBTpd-}=3Tsc=1=k_=oWDa_eguPVi11HEnm-SYbP9?Igv!O{4i{B z&YwCZ%+zfCc^c+odDs7vUS2B1OiEouEeBM!+yWlN`B}N2@v`BzJ=ib%Zo-C~V{(C~ zfe~gC9$a3`ZZBH&$xi%v$MHWbY(}ULslh8%;bhJ$+d6GjJ9dFW*ccS5a;1su+0jU; zf7!Of&YEC4HFTN&Rs7dGSC-B_($-dVcv_n3Y*l8iy29dC_P`-abG^qD(Q?^$3WNM4 zN08;^%kxomI6gwiR(zfF)sbLOy7zOOdSEUNTe!(Lx3ul;;S}io#M2@}H~AU{4RLAo8XCf6;f> zy}0~z+$7V }RZ$Uze)apz1J{!hbA-lwe?zhk2MZl(h|UIs)}CM^j2klLRG*ID>( zK>#-(;W3Ld9+wST*UhzcbXCq)dB_=p^hMe^td?23?}XRwh`HI0wE$8Mka2zz9S?67 zS2=E}ig!zzCxJH_ErKTZJ>I9V0ev={v%p7HGZ{hN<)~on^pk#>;H6h&@N!*}#MSUt zre&NBj79YPba)ez@)xi&fq2A7W0|&y7~LP0fRWpuxr9nvX!v9FRz!FelvwoY;lqFS zs4ncelyB`UutcbEWxK6Uzu(z`6>h)hdg1obicAP3zJd5QbD;J_g&*G~0FQ7ea_kCJ z56cx}I<_%5Mu}|hZ&N?{Hh-KYp>wc)Xyjw0GhVR3w6Ky}(2^rHO@R>41G5HfR#6uL z5m9dn68nV3`J|7c+`D}WwsIH#gWU}9`LqJ@0e8+&q3%uy^Aj*Gs};-2P?3w+_9^6_ z^=J#LsRj?Xx3+cmMcax(wT6+cL;YeW){e$0D=xntN%SYgPp$r)#h;MQYT0CU$6(9=P9=+lJtsBLG@tb za-&18Y&c0H9sXgS`})|LW&G=+NWFJax{s(g?#zr{FU=%Y^A{!Yna;o7p*N;wGXLe& zyY#i;2 $5`U`B~Sf}U2F?176Y>iDm4XwlJPU32&p z_P;BX(Wt5(gul4H($3 h;nHDSjTg^BQE)M0@{`W)* zhv&~Kou6ZDf&vfNLV{Y}ivf$zfaz5thg=hKv-$&b@OL|wN~zysdk9LP8pVXx!1llv z+p#vw7x$EvvTFX8>Cm|3%H)%9R{=D?OAG_?pjY~=>akx4G9}MVb{C?f;uoGB|K32c z^ZX=)uJ%E@3)7mN7W8`PaG1J^3eNn+Foi<7em#C%R(y&@LP>EJhnxSfx+0*;7jmq> zKev{nap!IQU;Qg9JPH;JhP#$aP(;M1n&wij3B@?`szARw=_iw=WrMEX5P+bbo_Byg z{?{YzZqgm?6hT0sVU?Wc*d*qO%ae1X*Sc|u%DzjJbN(Vlq^w;!tq##_pl>(_+3B0} zr|FM$3%NZ%01tQkoa&xim=cEl_l~)Et^R&$Hi{+X!w2V(7G!8hALj$Z |M-7C#_xL%+!$29j?|uswmjQNzd;g@g6;7oOxtw$cTa4x&I=Px6@f$+5_jrsqiy zC!v~SNWmh=IR$H89Y#G^7o_NCK1VN5TZc)z`AJEPR2U)Hnb9i&2mx R#Bx zQ+?Wn*g~k?M%_YbCXIBvL4jc|&2z-YUS}@NsSMu-vZ%IgEY8b*0i7S dCmL1D7*HV;@&XZ#V2;> z8nRu_*zGJIhFm_Z*_){nrmpSg@S#e^tlN&SepwhTw}2Je%{SlN_YZum=B;DAl=~fg zv*zjj)o5+a0@ZAw3;%BqSZaV+Z_pNNN@9Gxa%eDdr0>hiB*J+AcO6EBEg$u|BZ#W* zx3#vYrX3`h5 BgJEvoU_!$7|?$A0O2m{qmpE0AJzpAk4cV4ZqEmbG|rNuprKM0 zuqhAYWd2!+o;cMe75N&=aT_b#hXS=aZ2`XzMjt-6%r!NE_A*4pc5Yq&2p?S=|8@u@ zf=D^4Sc>)%P0mGX*ybb~k{fE!?>*ldm5wZXOu?TQuq5}9>sJ5C=*vLbrMpO0VgOT6 z&t^uwHi++b)tf~0BXx^v0hQHwm{_*wd`IWJZBcgUhrz J-tg4Amqbs6L||y9d9%`b&%Oapw$h0~{R!1;r@ycJA9>BOV$VV=N57qltHHW| z-%@um?)l~5igtY6*-J$$pA2_8I(_t*zerewiXX&~mDv(4vQH`2avbKdcdh1TOT6rr zHj_X%wO8D2Zc_L!^YR`ezgx)aRgks_7DeDaHK%(t>7gT0^qa)ne%bFYM@5Akr?M4> zzLol 4vi0)!Dk_ $EM*6Hs&_wlq=I*{IXS|gj4ZHP0H0#2YW;SCcj!{*)?(mZ9Ck Q1;4i9e)ymQ^SPGi|P=pZ+N>y5K@&Mrgd;sr#B8OVJ Fv@ZYJ{C+liU*DrGj#G~kh) z0@!@Ez_lht>bbv1_(WvcgPxaIXfMDQY}5AbR0DuITc=lXMfpKmjBFSWU7HvGsb5;Y z;@AlffGrNxk2V^`J~)Y9PPAO4nHT(*y#?K0vwzZHfjt}PcxWIcSic&9K8kYx7AA!I z7ky8n-P!Hq|JRYkv&F?Fi|}?u;E+NsdfkT!ZXNAtUHHjj@Gwe_0+JKJ4nNU-h`B#A z 4S}drVFyt|!(1kCpc#y&YyDK6^Je)XU_Xsn-s9I%SQ|iDx$WvGJa4uE)95nj4?T z?JVdro$u94ZdYrG)AsoVN>tTf)7PfvH1bym(co>|+-UT6Tn**#X~K;F52WsUvx; z*eB{|h^874_|PbDdmrH3&4s29E#CD7Q5M`k@;k68WN5zZXbPBcz3!Ug+#ffiK&l9^ z3+QD^q!cl#?U@$wN3gj*`JR{8!k2T~v=|-%>$Fv*-=s;o_c*8zoRS%_U~$3r#1$R- zeJvRZuTnp6A2=+VvYtf8WtOPGn^kYZF+lvc$ucYHMNkuU>9LLsi@l}Ex%XTgh;92m z=hI=06^;R64ubnpWsEYsVZ5{`@ziPW6U1=!z9pEb>TzmAk#HcdVFfL;>UIPa&$?kg z3URk>aEfHj@TVt9zJuo25U1Rk@k?)&Yr+xs)M(q+R&)EIA1QTZBWc@P$5`D+7?7$u zt8NKJQe&{5@ov#6{9#2f5l^baGTYRdo7`0SM1v~}-c52Hd#XT&WJ(0X WW_415##BN~}am4!A7qdFU z%$A(HOfLv9V(30Gv9pq^ek?W83*j5i9@4;#ym{zhBZ?n2 >}+mT>HwN)-oZw~O9@-H$2OW24m#}xL*U>t0%%L9gfS$UFUohm|3 zu<`7qh1KC0R3>}oD&Tl-ge-XL!qZD;x@uWTV9udLf`FvXEp)+gCg4^wC`qYN=Un|D zIQhejH;u)?ux)NfKG9%*Q^hcW`EuUK*gkW(1!Dk~74xR9Vk~pK!&`kg-}2nSU}r1v z!1-4YC7{N-UUQ(KdU0FvQw9AwVaTGSqNY^HdmA|_7kisD)6Eb2zeZ9Yo3^37H|?6v z59I01>xSNi#yk#0q>8;%+kT`p@X6UXphsfMdg_xcatIHalJ$*=D&LyPCl4}zh&TqT zZ)}>CdXg5>b(V !{Cv@{!w1T3hA5G?Vm47 zS+7{}uhrK3`J$oiAhak<8Zr7JG9%Jy&F+PPu$Uz6q=wyRkK@+%W0y?$S!b2mRO4^* z_ITULO=k!{4j$z1`($$6ut=pS+qGel=Yz8|bsn_#v-ny;?di?Rtu0$r%g)pLWn6`Y zna)7q_EyQ4)&f3CO-;?SM*lAS7KOsMwME-wUA{YjYkzI1GdMDgs25A&&dzw9YbB?C zcgkaU!PYK5A>nS?09MU+H_pt&hE+j GQPV;K zRzB*{1G=oNDYkhUqZB*xJiz!6(ooj^4XMF;Xg-pPwD~O=F_4KlM<^7Acx+7gz+~yy zFHAPMlEQh!VIMN1`p?chIaygmkRNco-5^GNVP3vw-G98}$AS&Qiy-iz$Va!-Wu@Q$ zsk@q1-(X4wS*xt!9f-xhLP$d9TlI^jv^6JRKgyf RZ`mey;uvS0ecDbHXD z#-2$M;+K@3&9Oy3AF3qEHC$S->!R4XETxWHHw@E8G=-q{>_ut~{(~!$EXi4%dA8%U zgYYQUPigrir_yF)-UK`GK1KViM1PvZAG+eSQ`LOQ0~cgmufE5Z5v9Bg^C#|G3)a&+ z#w+Y5V#!DSjrXF1cIyTc)MzI*&Ig@rtOxM>F)*h3;~KJkgT5^@JVWtE$kCzLNhNlK z(j!%hO=SyL0?|knFtni5Ewh9CcKKx-!$w!rw~Z(PjoijcBQg+H59ac%cY7w%MFEHP z>;8;0(Pgrkr@4SAaP&R0kfo=pR8j2$kVS7e_`%ojC4M_X31+kB;R&CPupO3f)$xVO!#bonbN-w(M{Y*!(4rWAmS6Lv8nJFp? zP-0f`(?HJ-@YMLFAheIMI%b;_F;@6VfyKgp;|gDyha?jSYR-@aJ01))IMiSx5HAUv z5@`L2-)B+^G8=%>Mgd$%hk;!cpV6&wzlT=h^?|o2B{zPUBzYD$3}s5I?@f}{sZ^6= z=a^*C{!;I-#E-=rZOaa%2#YnP78LAs@k>8x=?O!-rQgLLMFIVfC*it+C1 {vDN`V3GIsU^c&6o+0V*~38(x8-QnL!s*7=VSOo>`k5|QK zKtRfD6Dr3n1t3VdT|LzeJf7T%+u0B;f)bfAvjMEsPbo=|*B0+HYmRngm#?8_L^yI( z;QaL8jUtFBS43^7f)4WXEnM4i!L_&7wu=#ca$)j6s!RS@MniAA=#TR|NZ^c*W@S>2 zJsaq?6&3r&;n93sRQJpv(z3!W@ko!Xjfs=*+!`^VgF1O~n^@f<=Jl!7rtgh?`Y)E& zZ{uK1Z`}1Yu20{(2Hh^N800xL3@EW&L{6Z9nWF#+$L6ZKmgt%lOA; z+3o7#>6xV{wj-A4iZbEh@%mwJpxP~W$he0Q+kG3Ea`TS1Cd_CR?fbWb-!^?`X44$a z=-5jzueMPtHhK#`4J`RopZdEgz3lx_4w-F#JA7}J8#myJTTDR|fnS`f2X;N$BePjv zq81$c)$NwY;conTUCQH1 M?&gTrwRXKzbzq zxoHo210WU=mnf+hCKh9UNF39}2RRqu8Jdigz)Z~B_b<##!^I`GUxm15tPL0@AP~D8 zxD7^0jczmQstTL1`OV85q*Dv`Lhf8%5}TT5+MV&u9+`<%)Xv6|(K#Y?xD3fZz!qAA ze+7C`f8xJqpJPEs)K=8An<9SN(?al;>2Pqur_P%u0bo^2K4l|;2<8RAIwX7PrRH(f zEzCC>YhZ4!k~5^gf?L#3o4No|RMJF0tH{#&?)$Os&~s_wS)El(P;t$lm%46~6?AlU z45X!`q^hpW&s_*8RY?QF4X^5&;bFPZq#oSFqo1(2U85mweJL$C+*lnnx|zW0sSdWb zva+(YywA?QO3oCl3RJd>cuz5UBVGq@xO?Gd)?Zv$NB(t)iA}kzERKgV+__d4SstA( zU!Ve~jMsZ7to*TL;p`Z)SwXRQez$^oVY-mrv8v4<=MEv>$*SoYl0How=!NaDtzVTz z=9AwPDO>N;(_0Qlo->3w6`1PenIC4Cnv{?yn}M13*)2C1ea`ONW)YMRZr}9(TFeLu zDarq#%utR;wfyLE?`n}*9yqt(fu~8|<40-MADwdhifi-ns}R*TJ4<1hqpf>v_=%eK z>9lzWs*+}m)#96NJ|n6vY8&?UA6y#r#0`xr{TFEI4NK=xX=!C#xxy0jC2(yL35I1E zW-dKQD{HCy8+Ja!i@rtM8*2Y7TZYrH4_!}q;=Ey7tC*ctV%|C{G2XA>JXKeJKS5&5 z27XO`Y^=xD>$!_L9C&kf7RKfDg8jaTX hgb%*#NMc#1RAn)oGgvSKhq#URg8e&@Ut)%3Yh5MyZ@@fWF z#Kth{Ti=NBhpJZ%Gz;_3shOqr<4_yxL4>hIdhx9xwIv^mSNg59t9tRqAXu>TaTOIN z(bls?dH{GSJ$_^)ul5SR@^^M!q(85Y?tFkM@=e1*3ptgOV0F~9B`SKOO{}E7v{+db zX2Nu#N!Z6#U~&o@(v!=wuUs9t+_W8vtCLw4i148MOQQ}B?0U)`8_4~xvt9i(rZ_*9 zc1OnhylSuNRPx*_Wj)g$Xzv&jA$c!>6q%g#y+35&QQdM90 q8UehpPsxLC-3aMVzzh0RNrugHH&2u z`8FgW0eU3;h+&bg^{}03uiA)~R+>VCCQC*nk$*(|1(1d{++s5XuTnIn4GL5pKRPgZ zq-Qp>iPv$N9U~(jV{82(f+Q&-N4fKvd#lS#xMDah!%7b=7M}N>u;jw<)D%-#@0+jU zkMdZ3a5q0YOxai+kogR)ZhUjFYdF=nJI&yqq8NL-^OesbM#+M6n5cEmtgC_Bpo?Fe z8}@f`J9KH$*1iDtZSnu2C&1)Fv4>0PqjEBefbS;BRbQool&)N$WbSX4g9`b6|J|A( z>u4~8o*Lj31;_<%bEfJ-hBpu#;)6c(@XmkUrllAb?sl}#5C!;4@Qe0eqbWxhNmD7@ zKT}k?DIomleY#{ZRP~J?ob4{B=*&U{%YXHc0ULIz6I^wFD_>RJO|Cz2JmdCnd1d0b zOa%YCtH0Iq)HI^65JaD?5@Ff);J*o|+s74YV`vdSI{*MBtG{pcyV!dR@H(pY3c2$9 z`IAm>R$HkRLh21Z?Y--5yw%>y5iXWra9fzg0Ch>3$Kw<5xTGk|fe+$>q5T5hli=)R zn8D-_b(N>0%s0?7!K;JZGf*&FzRGY3a3iMYsIPp;vD^j0_T%nGo4VC(oa08A1* }f+R?AqY+j!mRP6d$vs&T`;Kg?#757Fr4z+7*nAyqEm6^hJ?}ws_ zdW!tBE$VZ9*1W@&b55h+8PX5Dyf4Lfo ygl~8}2;^cB#XMa92Tgv$N#T2aJ z6eiCUeda+4@8oyRZbVweu@_pPJ%fkVfBz 3|!L^F@y7C2ZGU33vm;eSP 2s;lhX!eg5V$gOf6<2P+Fs4gCbNoIZn zlL||U*)E_ahMrS~MNJyI%YLuSte2^XqL{;FK7gFZ7NpU$VeON)`$E-r`=O4_(x%ff zk(r7gH)yir0_r!X)U)Fl{ Z^E4dL%HA;BLeBl3ScCmm9HOt3 zGQMHB{MBBNXY*H9mG8)&AW`y7+Q^nQ+yR|bOaD2ym|{9%SDMw2@+N8g^J1Gb`VKn^ zt@DNu|LnbcE<5x`dVX6{C@AOIYjYb$wyys9kjeTJ6I%+SZ}{V@N LK zdkuR;h1fY~f}PeW I>9@9@9ufq{XML5b(ne|o#SFD{YZ zSX$;}Jz)8_=85EUo}{Eq&3}s!>qV%VW-ef{*>tQuOy;bkrP2ct{moibM%dWdxtLvV z-wz~X5RE8@=H`BQ53HTa P&3C`AoI8`J>N7ssGG~GsJElJYckxq20Pku-acH_TKYP5b_5f zmKCFpQz9Z5P=Ap=_VH^MrSd^8xwNzp;Jd$5Sb#g^GaR_bqMMZ9deJ1sJM%Bx?j*qN z-aNi{Vq&42Fy9~qkiZP&9H&L+Glokyq`rSk&`+5?u&&jzuq1C_UO9w6R{p7lo_*dJ zbU=GfmSUUsY)+o))`rPDy_m}Qp0^gjeyQh~tnB6n&4O}JZT2$N-D{v-XOlNH0LXcl z>-X|HdBe@q+dRL(M);-en*j8{OV7t+=H}6Z5jG0W?2qvjQhIq5l453mCtCTbMJzx= zIM>gtsMfB>pvY?;|Gj?T4^bwN+{>~%gNj }(P~b#oL^_HLFnR4Sd8}z>uNsPivRwI zAs=6mv*B|gxT-G*J* ;de0*)p)R9`E7(l^k*b zf~`FdHK?q63h4<3givr+4D);ctIhN+oe3X*GEzfRu9{8o_G}m6h^I-k&xO4wzkxJw z^H2Sl$->_zK%@DCWrRd;J{)l68Sp+;$P;SCna(acwI_*LU}%?NgNI3*9nX>h8~6 z@~`u%PWUIbmk%M9JL{krN7=63{+|9vElyZ)VaOsSWFn^N*?E`@&L;EbNhN<751MEe z!B|Q2S!JK9=csf8on%-Lz(F04Ky(i6n(2tz N2aSlESG5R|_aobm&L z4cu=Q&UG_rfyNPChd!pq?JZl>>8U9IyLbWA)bx$*0rm|T4mUXY Mx4_Cpk0r5ky@|%sKWp}@K{q0`=;ZU+7lAB}?vy6tbJ&?d@=?jX6D>u4s-1^u) zxLERaI)YG*lE5YB+mWg4$V>-qe})G@VHtXTsxl+O)pjAg?Uw+uMyk8Ggck2tWrl4? zn^%2)a9C`B8uI%d!3g`!a>rS4rH8 ghp-b2NPE%Z}mUc8 Fh+=w#~wkW|YM%8h{wEV@-Ql|(nF zQ(4Ye+88HuPBAw&!e=rR0B7E=uhI+~_HXja?G4{zyWuVx|8rn-+X#{IEbMUoHf=vw z(&qdqcs9iOYO~JBUEY@I`HH1GGlR1NU}PV_fyWm&jB-{W1RZ9u6>Y9c#tSLb_K5u0 z{QA{wcV&GUVwk~I<*Tj+Pnv!99VAA4&S?s|beA}cetEfhrT_3lAN!v5T(VqZnc_!i zm2t5@^79u#mxFMp&iaQsIBz`ok^$gpZN+I7@~mpG-b=%8>)1Tl?=aY%+{syX0&NuB zUUSbBK%Pe;8+$ dQ lg3e>%?W`6*fEfqAMY*PUIAsjqmfUJT)Qw zEZBxSuNX%ia^UXqz))=#0pFcm8kf`DqzEpj~ zL44+1!t@EOyCs+U!~y;LZMt;PeQr+@BcYOlSR1IK~jCH zt?vHpOm8;KLtYQFnvPKV2JTUHboqGC=VueMwnsPhDB|X?OCI}4!Xg{GM4nb7V+!CU zPY>|@eHviR_udO=xz_y+=I1URphKXTc4Cyn82wUxAfHXGP;Vqr^2{XSL5~P2x&CbM zVOX>{i|)vF-p&_4%cpXXX5W%@Pe9lnV?71c9@g!k!lvoUnPsVXg{|Gk_8&D-m|5!V z^U4hg$a3xLb;e}p*(J4RWSmXJ`BJAvcVbZl9jToXTWwnx%FhLJh$=iZYDGjA1-@NL zl>>w|>}TqviyDQ~*AM#52!TJUM|(!;ewjO1%sS01{JfYg^I_#XE%(5s16SMiO!3y1 zeW?~co{|;R_XfRYVT)Ebu_G$4(}JiE6Yfl`@5;Z6TuN{AaDy_IY){XnCVIV&j-xVd zmPyxt9IKCMa)$ 4Fv4S_X_a$p*kjGvICc?L z>vurhl}_`tEwc?8+f4LCry(6ILP#c&p6-}Sqn5VE_cCQJuKg`tz!kI*hhXwxhLFKO zzc)37dpy2M-o=JBmv=b5I+R7O(+;YdA#Mg{%0&iM!4`Xj{^!2-X&6Z~>i9=W%M0iP zp;yC`yyU)l+g&PD@ZgTcl#aH+hCaIb;w70E$E1kO{K-GPP+no*pbFVW1(3yRPPUuA zIQpWSf_8n@n$i3J001%yjqMW-! m}x=*r#Sp@BIz437a^JnD4!} zC-jm8dX#e~$OC4M4Wx -E?r`JAIcaZ(9zmbAxgtD{{8Q<==cZ{r z+!b*P7+rc_ZxNAr5`IDU69vXF9U4W@KS^OLD~0!XjRx{8eK*}U7b;&?z3fRzF-f~M z39BwKzvmj}TUEZRvi`oxh?_ C{qi JyNbFlt4XGr(Fl0^Zj4ge<0I zp^bgJ7H2ZT=~EN5-d4h}`ct}iDA*ztZZ|=~6zH;_z!HdmPlQ5I8g^A-^)@*?s2=dD z#2!3O2#Mfj7S`+JSPx=) *V-H)hLd(2agL2@1qaZLuX1@6>{M7v+YpMX_w~jz_;Mt7^s`1 zpz`AP{QSlXFFXGuY-azcg+ozAB@gPEHZhLX>Lm>ZCihj>)aY0J%VBIh!5SZ*U%*#T zz( 20oSPj6W#D<23l)pp;tWOfAO6_5LocCixIIS#maI+a0#D7yB z-n!6bNhhAW9C|W#Zf{dZ@OV67q{;kw|KJ45b>`NCUw-LX7f5|*!1~& UW0(OpCZKj2NiLx%OC8+@m(kA|E`neuB~@_G)Z`$qxR>X=x4J?+5#pS~}Kg_ySo@ zX`6=AT(BmnJZ?|(u)U3(@b8g^C* `kd&zdaf`PqMl?UjnbUBELCX1%j#jJ-TC|84*XY^{K7-SY> >*Y )7kq>p1s1*Y`X>sW8pKCzjNA *YLBb zDr)@I(ORNX`mH0A8tPgYTe1JckNNH`{q3g{H;i7nL=6I)oq8OjJY%wT#+Xsg{!N_{ zyX)z|X7W1BB=)dd3_dLzhKajy#*GC_?j3~Y{k=7|^I26JOd9OXhd_XCWWgUN+c*O# zL9w_oW_|>dIhrtW%Zu|K!f_ AEWq(NO`V@W{~ zKe~9IOC4J9iqs(9Gb35`L7_-F!@SYI=XYKgo8`BB?$_yU6U||n$)mb+>C8-xa%(>_ zZVJt{Z+G5E89)LQaC*)TLE*Y$uhVb~e*6ZdncY3vqxN!6 PnN|dvYjs5{%U3v%2 -Go0n#AB4(O~L7GKA7%BG5VV7Be%Or^So^HIjaIakmaDsK-dJ$M3 z?j=I-2qchPO?X$en^2Z4L@5+5))Z=I@Dha{&y}%L9v=Zh)}N8WA|Yep8QZ~;fhNTh zzOj(dwB33Pf$AwU3q-*vzsS!x(Yj?xd!s;0C+H+&vm;<^M8O2)=Rv4ZPI=4lGwP@- z>byw*n>ii@E8lyBDK|i9`{^?cYtlDlC1#Q`#;dYAAL0Mjob%VNWjoI~4&TH&JWlI5 zqhZB9=nbEe>1z|7&N53XvP_Ao;4LASZ{QA>7Jb|pw%Ladt^(zjyR^0=g%Jx*QRPjR zlwapLbZkN~uJusNlE5htVq=@(pv|Yi;UvnU)49>Df^)S_JYCHo+Tns^Yf%E@vMWBp z4`{2v?lNb*vU0_?zp^%Z2!)k&O}59|IpE_G-op(c(figv0s>x{uRJhwf0+tn2h4gw zr~fHXJUe$@dnju3!wDnkw;UYh-wcE4-$4cLw()^2pVz4**AR>ALL6p}3e-4y=Zx?c zM{_1p^Tw5B=taOER^s-~>YV%5OpEhyvDREMci-{)k%-j$kQzKAi-Bk>7l#-$pF6=l zqOS7Ig%Dgmr3{tzBg~OuC}Ekvk5amxJih$8ye UgI_wd1Pcn)`%vEdMsc3!xSB bkUHfI~hMS7qDoi>x|-ZxzSiXoGT8S`nKCfz%UlJsrc84ug1&ow_hv z+q?C9Amz_>zwHC}(Eje`ILMYnb>#5MP=4C)J7x!@6K`Btthph3$1z-0n!@GhC{{G{ zuK`|bB2JzyF+W`R5k1hKJ#`s)R`87RAM%lTYK{$NasEP7L#G^LD%-1*eaT`bH)B5e zXjDiHetwoHNWU5c2k 3q FML+v%z(9d$_hMILs4I2F1_D{VJ!kCMdcl@JI|%!Y<5@#_C93Af1oEW^p{yHi9}M zen9CWgikEMAD4s+o{Ut!lEbkDs+|=M44Wbsrrkc-JUE0lbkN`P>uPgRf2;Mj`8O0t zQzxZ$zCkeiv$N3Zp~`>6gVwU-Jwe8^{W;cj@dc&(8|gWcfZfVE%D+taICuP}Z)&_& z0M|Z1HCPD*Gn0kcQ_WaUgBI*~vBI1<;gSa{bl~33otx!fPef9tbdkg!B8ox)eC_ZH z`#~O-eYJj2U>;lJysn(~r;69sxG=)M-4u!Z$km=Wz>8oEeJSm2?$ueCIiSgr2AIP5 zBKuAg?W?5t_>9WRE8N}O`v-=Gy7jeWOiZSykyj@s5)>_QQQ`iL3fo&w5fPs7U>1+f z?6JFf*}3o(GauhLr41&@@^S%`sGzW*pnw45b$;5edZauCekC$iZ*>3U1CoAhv_M!y zB>C6}4u{) It$vHr*V3(-TICU +$m`VP#ot1IMKp!Q`@ zx(sS+3_IHYcw@_S 2zpTrv#lr?$Mn z!My3{S`P;Jd_O^&ZVtGQE$#L7O}@2$HrQRw9;#TPLUQX-%nxcXPbq`L4SOtLPeFIN z{BgfyD#I`Ix v2<0k*$5LZ> Y4M*I-qlO8srTSNTNr_gn%J*-mR~*!5n%G|~bvrA+g?y8>S+g* zVhj$0B;`dQvj_U*Au5*l?L)H%fUaS;i+Xr%T0&E9DnFjgxK(?-hB|=nP}sTc32Nh; zHAYqggjA!E(HNaidRwwGUeQ&8V?d=$cSDq;$$p>GVkfu9l>ZeyCGz#sOUzJb;g-D% z^xNAxJsk5YKE42*MlZiyF)IrHQhqI;*y3YR$^Yc3nN{Y2P=F!VT4@8ye|2~!Nt)eZ z{`U}9jz|=!h7+RtGfn?C#N8t(xGLx~mi~2Ec_TnUB7e)|OBY>i!! GEk9~T zxYB#_zFY0$%whDX5#1|R{5GqV0GzMWxmvu~vnLDlAQsr5FsY*TezY7Isk~XV8f%}1 zyKn{YO1$2pf05P|XT*VVdh=Np$CCYOi@$`_KU$niBUDXb&*>MAOmVqfvoiV??G=u_ z6`vU`oE)sEpB^ZtstnOrL7TTsN}{BSJfPYq(t?(e3s{K%G(L4Y(D-LVU9h^mcNuw9 z< hFvZV&R@A85DRAucrkPdev;`YX zS=92v)*oRTvi^Xa-E%~wzv*lzPs2^JRr(kz?nrITR3olhqu$kHK=+oYm}?GgyF?2% z&XfVYfastgScRE@dY<>20j8qS)+`SbW^z}Rvt@JOX6 6?%UMj;+7M~`Da=5K)@yzXx=-t9y*U>bSGGH& zKzEUm^`&-{(9gm~M3ay8c$2jmjeS}@Rwht6FH|ZeisJS}UU#&L{_il#EaiPGo&yx) zd${2RWKmZiCvJ@cxf(*%wo; G`( zmY@YuU^B@8KPUb8DWdI4Gk$+DFg SK#-o*n z8qBFBy5l&Vg-kQhA)g?cu~xim;%*yaKv52 ;t>_@!7mbC)|8=r>e@LO&_tt1{IC!m8_nvf zth4?>rX(#zn3H)^P{^J%Y`6#TBFUe!@tyl+rQ#(>T@zS}JuG_sgqBlk$51XXv(IZ2 zY4biPIAp+G``i^jgiV@+k6BxvgMSs78!pSxgfjMDp1E4>RtQ>iUggIRdKQRx{qahZ z$p3Bn`V-6yu$M u z`}{(Sderg7#RK38Jtm@MwiKiFSEjNZ*Q7;%Kb&klsfAQ){*{V59gPaaOF(@pA!{Xc zP1Z)9FNmTR-_mff3jGiz=D;V%5lHqE#d18+rQvsF(^o((?I+=jG=U@IFjHT<%>zsu z!?ke6`uj}xT_=B!(Y@eczPgJNfeMUtLPk`J j<`04s&|4=`n&)G*MXt`L z#tlFDnt|xbgq}XKXWwLPuC~M4Ec8Ukk>I jsr|d|oRXYujdQU3E8r4ldUyhA9ku*$)$88DVur#IUM`yO zUiiuxoKwlt{9!y)ZD*HLH3Yn|uxWz4X{+8eZQlbZ7R*@h8y$98J&dp2k^`->Fi(K~ zw1~xXA_~XHJzW{VMs{n%6C#zB9$Q;Z=BcTk@@bX`#6Hf^!8AC+oTXM;Q2;5-D=0sh z4&WRW9L7#|O^-ZMkn9^AoapGWe9OVkW&~+K ?&x6d*TML+h9plMHgS78y0kA2W$plzFSJ<>u|av-imro9pH7VCtq87E% @*^XxbM6dmX z^a9?OIP)s4r~2r+{f3 ;^%T$u2;g1>7~i-ouBq`wu7SRZ`6Cuw3S(R z4YJ6yd1Oan$){l77Ke3^iSOnlzc>sg#`LyvQA8C4l3csT*x8J_N?wn%n!@ zaSh7VIIcP@kNjSS4Mgk_Z)kACCPrs;i)~<{Liq9WJ1~E%5$5&q4)28-X>M5|zQtow zzqyzr8yi+jW-14_E?oQ|Ewy-nmey-E!L-CcM7#AyM0n0^wxgdDp!?Hqe1m;hlcWj- z2=9Ce43P%@s2#FjmHLvF#*R;!sVTgQ*22ZvX^<1JJX4+%8w)+ Y72( -KPYiU$Z} zS)LQKnyL}MTA3H~4B&&QtJ#>7;}R+AehG&P$Ql1#UI5{y3nPM54Ws8rTQ4L{>bK3p za)L4!SK?@qlZxQ|MvY0(5AOk&b$miXLSAhd*sWYDQQiIaP-=Gx5}sPrA+g()gL#R? zuQ}hBSci-LWg*mPnv<40L3@gd?x5$BS>gqTnx@tJUK8Qp=Ibfj74c7_v9190ZYgu8 z^3rtV2aSx0k~8O=-<78*teAI2Juge&Q-7&-)^X=v*&z>AC6aTZIFBuPf?QwS{wKx1 zUa5-z*U(7P+lJiM7s0PZHPYtXAJ<#hQF6~R;EQbVcUHEtz0vb_~x@G zg3A^>TA2~)8G6pF?$#9Zo#}LW4siGG4BHu|-ZOAV<& 8qe?f7wsT8yXWPPx#l==j=|BGV`?gnBx+l zZ!h jpA8kM#!6Ay{9jLWz8Gp^a_`Aprv+_&_nA^isX>BF>RnPrFN=ea! z-$mAhpV@DH{f4}wesDrIw^pMz%Xy5NU*`Y4gE}NMHN84%(DrLr%|^BK%RS#xOwjEt zfMLU}( faln8eWex~fVl|Adh)?DgW&2)aA+wM9y zGEq4;$3U(HAIRCR$LFl%KW$anW356w2otg8BoTppFMDe?_a6hIei~|alo;$EQnt(K zhR4CEF@4k2si?q{r7{!T+4?1VJ+C;5U6IVmeJI_g$DaR&r2tN)R7}Bqvf#%u@?8|y z;c9$J{gp(5tYPqnr$T*3+ZVy~h^x^N>J8f`Og(e;^$pm4vPW~*2luViZ>Cp}rV);} zG~B4)&3tyj@vt(mpP$(c5@F9`T{l?nP5r6oHZ!WnqLIr+?$M_fE8#%z+Bh(=3nUF- z^%XVCa>~IqpuK9b)E~J;Tid@PCK2)hOF#8d+Vbuav6OQ{twr={+ e2!63#8D&QHJYEvOD)}!jJI^Xq#auuFT(M-U zlYye7l`jS%?L;ZR61|4zZ;F gnfyam1u6eyOFpo>-D!f_` z!X>mIIZi;flE#mQQp@<1<^UV**I&4&pI#5xgxkI9JrYUX!|Y7FpYVf;+RxQ01(**& z-u|G)_(h~#Cq~vCG&t7h$^#y$2X>o%z+pX-{FfKcQK8Pr4~7#ZCk%j!cb2_)8VtCm zUolyDa3eQ{iMTS-c1@{)Qmtw@_jnL%q)YD9X2_U0* -n3IFUzq#-0+@e`sqj4AAOhleoI(U#7ZT5t;xfGTW43G8Z)9; zH4!qy{H#3uVgAF1hGqE=HJ)c02p6eDe~#k;ab1TC+wh#GtMT>-6XxNJG0!F7w_Zw+ z0_j5}W08GOB!x1Iq(Gq1jwCp^gS@s+MX2fZ2=Ny4UB-4^H|bJMPQU4Obe(qh@2=P^ zBEx9j5oL^Y>wxzP7Su(YW<6u?jRD)hix3&93@#=+^I%}&-#g2{IUDUp=hROp@b}>{ zjfAk0woBWG=h4LPsloEs<<9n-2BO%d6Kl$XAT=4 dOE2}$GexILQkPinZ>J`;&YvRV1mxOHq?%|0%DH7Km3W9wY#n5qh5}N zdu&TMyGD({4_ZML$#uKM?~>9P+b%Kj0><;$`z2JV*4vaD<)=n6@zokz5Nc})QCn#> zWj<}v#@5ao<*|4@nhWNMr>zv#dw}lfAD4#xz1C96 hxr@ptJXlC^%~2oCcpP z>?kZ>vAV&hbg$9ZICegOZ2z96q?BoyWge=X6mS+T)4c9oFO>UUSvSo73u%nZuAv1j zCue^5m@E~#PD@_u&>mCIdGzuz%OD2 XjxkU%wZO2hZuQFE)qTY>- zEN*WwvOZYHZ{|_XfY<`P=A%3Jq C|2*y!acB2V#Qu>ZUXZ~exvt|2c|yJu_-_^ zEH~Km4)e|@4<_dP;w|s*YpX1)76P|**Ae@)dq=VAIk@<0xSVfpUTP4fQlAu$mU35x zmjykfh_^`x;fRP(7?PkZej}UH_~3*_RWh9QsUIH$ Ia+)MT9FYHw^?(K;je7^z}dq+;Jkv5U~OSXk1ILS#O <05gJ#Uqy& z#t)yHmCBc21gQ0#9q$kRthsBKuF)glst?|zlR#ERR904I>0>hsgnHD}bk1%`_8`mF z9V!PG7FLUH?jMcRtlC(Xx{RqmuxRY!kDo8~E~)nI!Rm+Wwa5#c)Rou$Dl4oWd+2ef zca3BL{hA$d@|92-{&z+`N0cK_U5SB4+1f2yR^_K9Ml@mP`4OhJCVW4xzrwFti`Qjh zXiTN>Zbe3bI12QWew_MUTyB`!W)=9B;44u{&q7DysBT~B88_pYKhktg)XkG B9ygP%N& z%a8GJ00d>MxZ7EGmr@TWX7d0=i|nPQ8cz7*n=NkuEF7JECxW&fMb6pY-8jFzB>eey z)J{e+N4+NH)bXz(^4&cD^*i;+$7(OqXI#?K506i(PxX3D+0TB1{$U@fdT4Jqf*hJG znYXa3cXEF3l^Lb}EKLuMUtnbCl(d^@b9o`GS;0_zvh&8 VPnh7AKGWD3YQ^<0WqTflKlSPvJgO?d_e8mTi7h$%*9~1qm2lB zTN|WfMA)Z$jrGem4)ODkUgZaE#QNv3-@Tt#+f*S^nHX}B=`|H7qLWO2v-YqQ!=fa` zA)Ri`7ltFa-eO2OC@SHn1p32GMQM(z*b&WKRiTcg(SnFUc7Monrs?h!?b%*;PmFh% z+4}x5CzgGTsQ<#M!0UnRG2uq_{IrtyMC!50nOux(cU%y{=g}DfuLw8Elgw2T^=?d5 zHh4YS *gM=433+0bZD~*>CsLDYgaX_4^OA@y%M)k zh@aQO8))6)_t8JD4Qn1;$i@3>gf5lV_A+7S=lu(@d3DUE#K428+;i^A7n_U%PgB*b zacLGr+XDL|3tEK~XEYxnj8@~>cZoa9^wEZS1T)gH$?n&R+C95Yy7@ZQazVYK8JNL+ zrfqcKLD7*?QC+%;1|2HT%n6)}4hsA==JWA-2<+40Xp;%7&YQ+czl<2Lf0fwB*m9P` z0 4Tx5I>?GvZ$&q4=DiBN^^1)#e}?wd5Lcsjt@VL z8H~g33b5$PJm@=nwBk;lKzrcD@Ax0*4Y{&PBSY@?WdOH|T#eF_khmC<_MAear~S+C z{h1OX4kdDp!5d;SrMi-*b{kRGgy?2wm0cA)mw4@dzON)e-Up6HHL~}IO**I>+{aMd z =b#&K`}@+a;wE*c27%FH#SBVY-ixAGGZ1e;ulzGw8Z1l|JG{X z_*us`yZHVm=yeg?&LZQjXWQ^UV^P5?e41utyQ6s*wfp`B3@*aP;$ygm?=+Sbx9m3h z^*9~ULo1YyPG)UY2cQ)W2OUsnWBCExl9>m^%JyM3#=3PC%Jat) QYt4h z{g1W#2y~OU0OIV)<+ KZ9`%HavYDXcAhRSN#0)E=%1po)^O{-oP zcMseAlN;xvw={pYG3{BMwH(L88E|-hk_c2YM%s5JHl&CDWWB-QOfgRFMH0|ontRex zd9^}A;kVfz {if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const o=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;o?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var Y=n(9670);const K=new Set,X=new Set,J=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,ee={prefetch(e){if(!(e=>!J()&&!X.has(e)&&!K.has(e))(e))return!1;K.add(e);const t=(0,d.f)(u.Z,e).flatMap((e=>{return t=e.route.path,Object.entries(W).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,Y.Z)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?Q(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!J()&&!X.has(e))(e)&&(X.add(e),O(e))},te=Object.freeze(ee),ne=Boolean(!0);if(l.Z.canUseDOM){window.docusaurus=te;const e=document.getElementById("__docusaurus"),t=(0,p.jsx)(i.B6,{children:(0,p.jsx)(a.VK,{children:(0,p.jsx)(V,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},l=()=>{if(ne)r.startTransition((()=>{o.hydrateRoot(e,t,{onRecoverableError:n})}));else{const a=o.createRoot(e,{onRecoverableError:n});r.startTransition((()=>{a.render(t)}))}};O(window.location.pathname).then(l)}},8940:(e,t,n)=>{"use strict";n.d(t,{_:()=>d,M:()=>p});var r=n(7294),o=n(6809);const a=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/docs","mainDocId":"Introduction","docs":[{"id":"bitcoin-wrapping","path":"/docs/bitcoin-wrapping","sidebar":"tutorialSidebar"},{"id":"getting-started/first-smart-contract","path":"/docs/getting-started/creating-your-first-smart-contract","sidebar":"tutorialSidebar"},{"id":"getting-started/index","path":"/docs/getting-started/","sidebar":"tutorialSidebar"},{"id":"getting-started/Running a node","path":"/docs/getting-started/running-a-node","sidebar":"tutorialSidebar"},{"id":"getting-started/sdk","path":"/docs/getting-started/sdk","sidebar":"tutorialSidebar"},{"id":"getting-started/why-vsc","path":"/docs/getting-started/why-vsc","sidebar":"tutorialSidebar"},{"id":"Introduction","path":"/docs/Introduction","sidebar":"tutorialSidebar"},{"id":"Resources/block-explorer","path":"/docs/Resources/block-explorer","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/docs/Introduction","label":"Introduction"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var l=n(7529);const s=JSON.parse('{"docusaurusVersion":"3.1.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.1.0"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.1.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.1.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.1.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.1.0"},"@gracefullight/docusaurus-plugin-vercel-analytics":{"type":"package","name":"@gracefullight/docusaurus-plugin-vercel-analytics","version":"1.0.0"}}}');var u=n(5893);const c={siteConfig:o.default,siteMetadata:s,globalData:a,i18n:i,codeTranslations:l},d=r.createContext(c);function p(e){let{children:t}=e;return(0,u.jsx)(d.Provider,{value:c,children:t})}},4763:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(7294),o=n(412),a=n(5742),i=n(8780),l=n(6040),s=n(5893);function u(e){let{error:t,tryAgain:n}=e;return(0,s.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,s.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,s.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,s.jsx)(c,{error:t})]})}function c(e){let{error:t}=e;const n=(0,i.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,s.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function d(e){let{error:t,tryAgain:n}=e;return(0,s.jsxs)(f,{fallback:()=>(0,s.jsx)(u,{error:t,tryAgain:n}),children:[(0,s.jsx)(a.Z,{children:(0,s.jsx)("title",{children:"Page Error"})}),(0,s.jsx)(l.Z,{children:(0,s.jsx)(u,{error:t,tryAgain:n})})]})}const p=e=>(0,s.jsx)(d,{...e});class f extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.Z.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??p)(e)}return e??null}}},412:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,o={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5742:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});n(7294);var r=n(405),o=n(5893);function a(e){return(0,o.jsx)(r.ql,{...e})}},3692:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(7294),o=n(3727),a=n(8780),i=n(2263),l=n(3919),s=n(412),u=n(8138),c=n(4996),d=n(5893);function p(e,t){let{isNavLink:n,to:p,href:f,activeClassName:m,isActive:g,"data-noBrokenLinkCheck":h,autoAddBaseUrl:y=!0,...b}=e;const{siteConfig:{trailingSlash:v,baseUrl:w}}=(0,i.Z)(),{withBaseUrl:k}=(0,c.C)(),x=(0,u.Z)(),S=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>S.current));const E=p||f;const C=(0,l.Z)(E),_=E?.replace("pathname://","");let T=void 0!==_?(j=_,y&&(e=>e.startsWith("/"))(j)?k(j):j):void 0;var j;T&&C&&(T=(0,a.applyTrailingSlash)(T,{trailingSlash:v,baseUrl:w}));const A=(0,r.useRef)(!1),L=n?o.OL:o.rU,N=s.Z.canUseIntersectionObserver,R=(0,r.useRef)(),P=()=>{A.current||null==T||(window.docusaurus.preload(T),A.current=!0)};(0,r.useEffect)((()=>(!N&&C&&null!=T&&window.docusaurus.prefetch(T),()=>{N&&R.current&&R.current.disconnect()})),[R,T,N,C]);const O=T?.startsWith("#")??!1,D=!T||!C||O;return D||h||x.collectLink(T),D?(0,d.jsx)("a",{ref:S,href:T,...E&&!C&&{target:"_blank",rel:"noopener noreferrer"},...b}):(0,d.jsx)(L,{...b,onMouseEnter:P,onTouchStart:P,innerRef:e=>{S.current=e,N&&e&&C&&(R.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(R.current.unobserve(e),R.current.disconnect(),null!=T&&window.docusaurus.prefetch(T))}))})),R.current.observe(e))},to:T,...n&&{isActive:g,activeClassName:m}})}const f=r.forwardRef(p)},1875:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=()=>null},5999:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u,I:()=>s});var r=n(7294),o=n(5893);function a(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(7529);function l(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function s(e,t){let{message:n,id:r}=e;return a(l({message:n,id:r}),t)}function u(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("IllegalLB8TL$#I}jSs-6zFl!&v7WLgTLTURDhmL~# k4uLM4z>&K&3Xaa4D`yX5ckKg7b-;*0%|;DY@;Gr9T4pQ|d0e39+GT0=|l< zu96>SNz>v>1R(3{Kgw5;t}fkdSY^0opl0G5_`bYMOvx27Yz1}IJ_1$CbD7zqU$s#^ zS>jh8( mYvC;;vG8Vf(h%5 z-DTYr;F3+ail*+`j=&OkE>qkMFSV0qsV2?W|AB;CC2?JO`kMRYb8F8E^sV8R1=jON zzrHMfzBQZ$8wmN#fqdQmpoQy_2UXO&E7@0rZ;M>)M1KE#?TOVh>i SO>b@4DN z=8yYVT-jTTOB9>*L4iS-{+Zvo4lYcNv $0^xKRA#& z>vOfyCL%M(N P);WLE=Rz% %aR9En5; *Yw$^`X=>NS&HTBQMwD_O$1%dDNlYiOV|8wI14&r~SWsEof%e?-#`Wa^RFKYgO xZgskHx#fR~7Y8e@d;c49{r{^=&7W`1IT;MZ;(Y* {e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"link","label":"Introduction","href":"/docs/Introduction","docId":"Introduction","unlisted":false},{"type":"category","label":"discussions","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"FAQ","href":"/docs/discussions/FAQ","docId":"discussions/FAQ","unlisted":false},{"type":"link","label":"core-philosophy","href":"/docs/discussions/core-philosophy","docId":"discussions/core-philosophy","unlisted":false},{"type":"link","label":"dex","href":"/docs/discussions/dex","docId":"discussions/dex","unlisted":false},{"type":"link","label":"wrapping","href":"/docs/discussions/wrapping","docId":"discussions/wrapping","unlisted":false}]},{"type":"category","label":"how-to","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Generate wallet","href":"/docs/how-to/generate-wallet","docId":"how-to/generate-wallet","unlisted":false},{"type":"link","label":"Running a node","href":"/docs/how-to/host-node","docId":"how-to/host-node","unlisted":false}]},{"type":"category","label":"references","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Account types","href":"/docs/references/account-types","docId":"references/account-types","unlisted":false},{"type":"link","label":"API documentation","href":"/docs/references/api","docId":"references/api","unlisted":false},{"type":"link","label":"Block explorers","href":"/docs/references/block-explorers","docId":"references/block-explorers","unlisted":false},{"type":"link","label":"VSC client","href":"/docs/references/client","docId":"references/client","unlisted":false},{"type":"link","label":"contract-template","href":"/docs/references/contract-template","docId":"references/contract-template","unlisted":false},{"type":"link","label":"Examples","href":"/docs/references/examples","docId":"references/examples","unlisted":false},{"type":"link","label":"SDK","href":"/docs/references/sdk","docId":"references/sdk","unlisted":false}]},{"type":"category","label":"tutorials","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Creating your first smart contract","href":"/docs/tutorials/first-contract","docId":"tutorials/first-contract","unlisted":false},{"type":"link","label":"Invoke contract","href":"/docs/tutorials/invoke-contract","docId":"tutorials/invoke-contract","unlisted":false}]}]},"docs":{"discussions/core-philosophy":{"id":"discussions/core-philosophy","title":"core-philosophy","description":"","sidebar":"tutorialSidebar"},"discussions/dex":{"id":"discussions/dex","title":"dex","description":"","sidebar":"tutorialSidebar"},"discussions/FAQ":{"id":"discussions/FAQ","title":"FAQ","description":"Do we supply node snapshots for node operators?","sidebar":"tutorialSidebar"},"discussions/wrapping":{"id":"discussions/wrapping","title":"wrapping","description":"","sidebar":"tutorialSidebar"},"how-to/generate-wallet":{"id":"how-to/generate-wallet","title":"Generate wallet","description":"VSC on its layer 2 supports ed25519 compatible wallets. Those are called lite accounts in the context of VSC. They can be generated in various ways. Below you have the current recommended options.","sidebar":"tutorialSidebar"},"how-to/host-node":{"id":"how-to/host-node","title":"Running a node","description":"This document will guide you through the process of setting up a VSC node .","sidebar":"tutorialSidebar"},"Introduction":{"id":"Introduction","title":"Introduction","description":"What is VSC?","sidebar":"tutorialSidebar"},"references/account-types":{"id":"references/account-types","title":"Account types","description":"The VSC network supports various account types for authentification.","sidebar":"tutorialSidebar"},"references/api":{"id":"references/api","title":"API documentation","description":"The VSC API can be used to retrieve various kinds of information about the VSC network. It is the core building block when it comes to creating applications on top of VSC.","sidebar":"tutorialSidebar"},"references/block-explorers":{"id":"references/block-explorers","title":"Block explorers","description":"vsc.techcoderx.com","sidebar":"tutorialSidebar"},"references/client":{"id":"references/client","title":"VSC client","description":"The VSC clients are libraries that serve a set of wrappers and abstraction layers to more easily communicate with the VSC network.","sidebar":"tutorialSidebar"},"references/contract-template":{"id":"references/contract-template","title":"contract-template","description":"talk about technical restrictions (eg only json objects in db storage, only strings as input params etc)","sidebar":"tutorialSidebar"},"references/examples":{"id":"references/examples","title":"Examples","description":"This document lists sample projects that build on top of VSC. They can serve as guidance and inspiration for your project.","sidebar":"tutorialSidebar"},"references/sdk":{"id":"references/sdk","title":"SDK","description":"The VSC sdks are libraries that abstract away various functionalities that are useful in the context of coding a VSC smart contract.","sidebar":"tutorialSidebar"},"tutorials/first-contract":{"id":"tutorials/first-contract","title":"Creating your first smart contract","description":"This tutorial helps you to create your first simple Hello-world smart contract!","sidebar":"tutorialSidebar"},"tutorials/invoke-contract":{"id":"tutorials/invoke-contract","title":"Invoke contract","description":"This guide explains how to invoke a contract on the VSC network via javascript code.","sidebar":"tutorialSidebar"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/050e3d06.086187aa.js b/assets/js/050e3d06.086187aa.js new file mode 100644 index 0000000..1bd2d6e --- /dev/null +++ b/assets/js/050e3d06.086187aa.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[147],{9669:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>s,default:()=>h,frontMatter:()=>r,metadata:()=>i,toc:()=>d});var o=n(5893),c=n(1151);const r={},s="API documentation",i={id:"references/api",title:"API documentation",description:"The VSC API can be used to retrieve various kinds of information about the VSC network. It is the core building block when it comes to creating applications on top of VSC.",source:"@site/docs/references/api.md",sourceDirName:"references",slug:"/references/api",permalink:"/docs/references/api",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Account types",permalink:"/docs/references/account-types"},next:{title:"Block explorers",permalink:"/docs/references/block-explorers"}},a={},d=[{value:"Filter options",id:"filter-options",level:2},{value:"Contract state",id:"contract-state",level:2},{value:"Contract output",id:"contract-output",level:2},{value:"Find transaction",id:"find-transaction",level:2},{value:"Local node info",id:"local-node-info",level:2},{value:"Get Account balance",id:"get-account-balance",level:2},{value:"Submit Transaction V1",id:"submit-transaction-v1",level:2},{value:"Other endpoints",id:"other-endpoints",level:2}];function l(e){const t={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",p:"p",pre:"pre",strong:"strong",...(0,c.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.h1,{id:"api-documentation",children:"API documentation"}),"\n",(0,o.jsx)(t.p,{children:"The VSC API can be used to retrieve various kinds of information about the VSC network. It is the core building block when it comes to creating applications on top of VSC."}),"\n",(0,o.jsxs)(t.p,{children:["Based on GraphQL it provides flexible options to retrieve data. It lets ",(0,o.jsx)(t.em,{children:"you"})," define the data structure you want to receive. You can read more about GraphQL ",(0,o.jsx)(t.a,{href:"https://graphql.org/learn/",children:"here"}),". It is activated per default on all VSC nodes under the path ",(0,o.jsx)(t.code,{children:"NODE_IP:1337/api/v1/graphql"}),"."]}),"\n",(0,o.jsx)(t.p,{children:"This url is used for queries in the code, but can also be accessed in the browser (GraphiQL explorer)."}),"\n",(0,o.jsxs)(t.p,{children:["We have a public API, accessible to everyone under ",(0,o.jsx)(t.a,{href:"https://api.vsc.eco/api/v1/graphql",children:"https://api.vsc.eco/api/v1/graphql"}),"."]}),"\n",(0,o.jsxs)(t.p,{children:["This document focuses on the functionalities the API offers, be aware that the state of the API changes frequently in these early stages of development so this document might not be up to date. If a query doesn't work or you think a feature is missing entirely, feel free to contact the VSC dev team on ",(0,o.jsx)(t.a,{href:"https://discord.gg/a8eXS7TC",children:"discord"}),"!"]}),"\n",(0,o.jsx)(t.h2,{id:"filter-options",children:"Filter options"}),"\n",(0,o.jsx)(t.p,{children:"Various queries support filters to help you enclose your search. The sample inputs for those filters are listed below."}),"\n",(0,o.jsx)(t.h2,{id:"contract-state",children:"Contract state"}),"\n",(0,o.jsx)(t.p,{children:"Allows you to retrieve the (IPFS) data stored by a contract execution. It allows you to retrieve data from specific contract executions, therefore you also have the ability to inspect past executions, which don't represent the current state of the contract anymore."}),"\n",(0,o.jsxs)(t.p,{children:["As an input it takes the id of the ",(0,o.jsx)(t.code,{children:"contract output"})," (a type of VSC transaction). You can find the id's for example ",(0,o.jsx)(t.a,{href:"https://vsc.techcoderx.com/block-by-hash/bafyreigzaqrifacmjw4ecwt2jolu46ommphf3wcow22tjg7fodem7gheoa",children:"in the block explorer"}),"(the one transaction)."]}),"\n",(0,o.jsx)(t.p,{children:"Example query:"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-txt",children:'{\n contractState(id:"bafyreiazuqoxbhmkeygxf5tiifbvy6czjjyk4vot7nproi646gxp6rgcny"){\n id\n stateKeys\n }\n}\n'})}),"\n",(0,o.jsx)(t.h2,{id:"contract-output",children:"Contract output"}),"\n",(0,o.jsxs)(t.p,{children:["This endpoint helps you to find ",(0,o.jsx)(t.code,{children:"contract output"})," transaction data you need to query the state of your contract execution. Thereby usually those 2 queries are executed sequentially."]}),"\n",(0,o.jsx)(t.p,{children:"Generally this endpoint is queried with the available filter options. Without them it just returns the last contract outputs, which is not a reliable query to get to the contract outputs you care about."}),"\n",(0,o.jsx)(t.p,{children:"Supported filters"}),"\n",(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.strong,{children:"byInput"})," -> ",(0,o.jsx)(t.a,{href:"https://vsc.techcoderx.com/block-by-hash/bafyreic3mmkxy4fw2b23qu73lnbpcnqfn5tcgu623gnj6jyvsfw6xl6yom",children:"contract call id"}),"\ne.g.: ",(0,o.jsx)(t.code,{children:"bafyreidwbhe7qrxt2ocpdruikfu3fjktoihgra3ybec3ecni6yd2jlh73e"})]}),"\n",(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.strong,{children:"byOutput"})," -> ",(0,o.jsx)(t.a,{href:"https://vsc.techcoderx.com/block-by-hash/bafyreigzaqrifacmjw4ecwt2jolu46ommphf3wcow22tjg7fodem7gheoa",children:"contract output id"}),"\ne.g.: ",(0,o.jsx)(t.code,{children:"bafyreiazuqoxbhmkeygxf5tiifbvy6czjjyk4vot7nproi646gxp6rgcny"})]}),"\n",(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.strong,{children:"byContract"})," -> contract address\ne.g.: ",(0,o.jsx)(t.code,{children:"vs41q9c3yg9af6z8ptpc29pujuc9lj99qkwha2vdmwx7ketnyxtlpgv0d97pguchqe9s"})]}),"\n",(0,o.jsxs)(t.blockquote,{children:["\n",(0,o.jsx)(t.p,{children:"Nice to know: This is the most convenient method to get the contract output id that represents the current state of the contract. Fetch contract outputs by contract id, sort by recency, specify to return the id and limit the query by one entry. The result should be the contract output id that represents the current state."}),"\n"]}),"\n",(0,o.jsx)(t.p,{children:"Example query:"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-txt",children:'{\n findContractOutput(filterOptions: {byContract: "vs41q9c3yg9af6z8ptpc29pujuc9lj99qkwha2vdmwx7ketnyxtlpgv0d97pguchqe9s", limit: 1}) {\n outputs {\n id\n }\n }\n}\n'})}),"\n",(0,o.jsx)(t.h2,{id:"find-transaction",children:"Find transaction"}),"\n",(0,o.jsxs)(t.p,{children:["This query can be used to find general transaction data. This query, in contrast to the ",(0,o.jsx)(t.code,{children:"contract output"})," query, is not limited to only finding contract outputs, but all kinds of transaction types (also unconfirmed ones)."]}),"\n",(0,o.jsx)(t.p,{children:"Supported filters"}),"\n",(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.strong,{children:"byId"})," -> transaction id\ne.g.: ",(0,o.jsx)(t.code,{children:"bafyreidwbhe7qrxt2ocpdruikfu3fjktoihgra3ybec3ecni6yd2jlh73e"})]}),"\n",(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.strong,{children:"byStatus"})," -> transaction confirmation status\ne.g.: ",(0,o.jsx)(t.code,{children:"CONFIRMED"}),", ",(0,o.jsx)(t.code,{children:"UNCONFIRMED"})]}),"\n",(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.strong,{children:"byContract"})," -> contract address\ne.g.: ",(0,o.jsx)(t.code,{children:"vs41q9c3yg9af6z8ptpc29pujuc9lj99qkwha2vdmwx7ketnyxtlpgv0d97pguchqe9s"})]}),"\n",(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.strong,{children:"byAccount"})," -> account\ne.g.: ",(0,o.jsx)(t.code,{children:"did:key:z6Mkfn53NL5m9ncAprAUQpAhceUECRTfiZ7VV3xEcpKERJC4"})]}),"\n",(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.strong,{children:"byOpCategory"})," -> transaction operation category\ne.g.: ",(0,o.jsx)(t.code,{children:"call_contract"})]}),"\n",(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.strong,{children:"byAction"})," -> entrypoint invoked on contract\ne.g.: ",(0,o.jsx)(t.code,{children:"processXYZ"}),", ",(0,o.jsx)(t.code,{children:"mint"}),", ",(0,o.jsx)(t.code,{children:"testJSON"})]}),"\n",(0,o.jsx)(t.p,{children:"Example query:"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-txt",children:'{\n findTransaction(filterOptions: {byContract: "vs41q9c3yg9af6z8ptpc29pujuc9lj99qkwha2vdmwx7ketnyxtlpgv0d97pguchqe9s", limit: 1}) {\n txs {\n id\n first_seen\n anchored_height\n }\n }\n}\n'})}),"\n",(0,o.jsx)(t.h2,{id:"local-node-info",children:"Local node info"}),"\n",(0,o.jsx)(t.p,{children:"This query can be used to figure out a node's identity."}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-txt",children:"{\n localNodeInfo {\n peer_id\n }\n}\n"})}),"\n",(0,o.jsx)(t.h2,{id:"get-account-balance",children:"Get Account balance"}),"\n",(0,o.jsx)(t.p,{children:"The endpoint serves account balances that are tied to the supplied address."}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-txt",children:'{\n getAccountBalance(account: "hive:vaultec") {\n account\n tokens {\n HBD\n HIVE\n }\n }\n}\n'})}),"\n",(0,o.jsx)(t.h2,{id:"submit-transaction-v1",children:"Submit Transaction V1"}),"\n",(0,o.jsxs)(t.p,{children:["This endpoint is used to submit transactions to the VSC node. If you want to ingest transactions over this endpoint, please use the ",(0,o.jsx)(t.a,{href:"https://github.com/vsc-eco/client",children:"VSC client"})," or get inspiration from it's codebase."]}),"\n",(0,o.jsx)(t.h2,{id:"other-endpoints",children:"Other endpoints"}),"\n",(0,o.jsx)(t.p,{children:"The other available endpoints are mainly directed at node operation and power-users of the VSC network. They are not commonly used in normal operation. If you have questions in regards to those endpoints, please consult the VSC devs."})]})}function h(e={}){const{wrapper:t}={...(0,c.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>i,a:()=>s});var o=n(7294);const c={},r=o.createContext(c);function s(e){const t=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:s(e.components),o.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/0656a78f.123e06fe.js b/assets/js/0656a78f.123e06fe.js deleted file mode 100644 index 9d42ae9..0000000 --- a/assets/js/0656a78f.123e06fe.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[234],{6817:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>s,default:()=>u,frontMatter:()=>r,metadata:()=>a,toc:()=>l});var i=n(5893),o=n(1151);const r={title:"Why VSC?",sidebar_position:1},s=void 0,a={id:"getting-started/why-vsc",title:"Why VSC?",description:"Before picking a technology to use in your project, it's important to research and evaluate each one to determine a best fit technology for your use case. This document will give you a rough overview of what VSC does and enough details to make an informed decision for your project.",source:"@site/docs/getting-started/why-vsc.md",sourceDirName:"getting-started",slug:"/getting-started/why-vsc",permalink:"/docs/getting-started/why-vsc",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:1,frontMatter:{title:"Why VSC?",sidebar_position:1},sidebar:"tutorialSidebar",previous:{title:"Getting Started",permalink:"/docs/getting-started/"},next:{title:"Running a node",permalink:"/docs/getting-started/running-a-node"}},c={},l=[{value:"Key information",id:"key-information",level:4}];function d(e){const t={h4:"h4",li:"li",p:"p",ul:"ul",...(0,o.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.p,{children:"Before picking a technology to use in your project, it's important to research and evaluate each one to determine a best fit technology for your use case. This document will give you a rough overview of what VSC does and enough details to make an informed decision for your project."}),"\n",(0,i.jsx)(t.h4,{id:"key-information",children:"Key information"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Open & customizable smart contracts (custom NFTs, tokens, and more)"}),"\n",(0,i.jsx)(t.li,{children:"Improved onboarding by supporting native lite accounts with Ethereum & Social Logins"}),"\n",(0,i.jsx)(t.li,{children:"Smart contracts are feeless & lightning fast, powered by Hive."}),"\n",(0,i.jsx)(t.li,{children:"Send & receive native Bitcoin within your smart contract."}),"\n",(0,i.jsx)(t.li,{children:"State of the art cross chain functionality. VSC goes cross chain, with support for Bitcoin wrapping and more in the future using xclaim to guarantee security."}),"\n",(0,i.jsx)(t.li,{children:"Upgradeable & future proof - The VSC network can be easily upgraded to add new functionality for use within smart contract(s)"}),"\n",(0,i.jsx)(t.li,{children:"Long term scalability - with the addition of horizontal scaling, VSC will be prepared for massive future growth. The success of one project does not increase RC for others."}),"\n",(0,i.jsx)(t.li,{children:"Access to DeFi infrastructure & state of the art wrapping technology."}),"\n",(0,i.jsx)(t.li,{children:"Code in any language! VSC uses webassembly as a smart contract VM, which provide a variety of language options and interopability with pre-existing libraries. Currently, we support AssemblyScript (JavaScript like), with plans to add Rust, Golang and many more in the future."}),"\n",(0,i.jsx)(t.li,{children:"Decentralized & permissionless, VSC employs hybrid a DPoS and PoS consensus system for maximum security & efficiency"}),"\n"]})]})}function u(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>a,a:()=>s});var i=n(7294);const o={},r=i.createContext(o);function s(e){const t=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),i.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/17896441.177b6dc6.js b/assets/js/17896441.177b6dc6.js deleted file mode 100644 index a125255..0000000 --- a/assets/js/17896441.177b6dc6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[918],{8945:(e,t,n)=>{n.r(t),n.d(t,{default:()=>de});var s=n(7294),a=n(1944),i=n(902),l=n(5893);const o=s.createContext(null);function r(e){let{children:t,content:n}=e;const a=function(e){return(0,s.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,contentTitle:e.contentTitle,toc:e.toc})),[e])}(n);return(0,l.jsx)(o.Provider,{value:a,children:t})}function c(){const e=(0,s.useContext)(o);if(null===e)throw new i.i6("DocProvider");return e}function d(){const{metadata:e,frontMatter:t,assets:n}=c();return(0,l.jsx)(a.d,{title:e.title,description:e.description,keywords:t.keywords,image:n.image??t.image})}var u=n(6905),m=n(7524),h=n(5999),v=n(2244);function x(e){const{previous:t,next:n}=e;return(0,l.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,h.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[t&&(0,l.jsx)(v.Z,{...t,subLabel:(0,l.jsx)(h.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,l.jsx)(v.Z,{...n,subLabel:(0,l.jsx)(h.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}function p(){const{metadata:e}=c();return(0,l.jsx)(x,{previous:e.previous,next:e.next})}var b=n(2263),g=n(3692),f=n(143),j=n(5281),L=n(373),N=n(4477);const C={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,l.jsx)(h.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:(0,l.jsx)("b",{children:n.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return(0,l.jsx)(h.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:(0,l.jsx)("b",{children:n.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function _(e){const t=C[e.versionMetadata.banner];return(0,l.jsx)(t,{...e})}function Z(e){let{versionLabel:t,to:n,onClick:s}=e;return(0,l.jsx)(h.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:(0,l.jsx)("b",{children:(0,l.jsx)(g.Z,{to:n,onClick:s,children:(0,l.jsx)(h.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function k(e){let{className:t,versionMetadata:n}=e;const{siteConfig:{title:s}}=(0,b.Z)(),{pluginId:a}=(0,f.gA)({failfast:!0}),{savePreferredVersionName:i}=(0,L.J)(a),{latestDocSuggestion:o,latestVersionSuggestion:r}=(0,f.Jo)(a),c=o??(d=r).docs.find((e=>e.id===d.mainDocId));var d;return(0,l.jsxs)("div",{className:(0,u.Z)(t,j.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,l.jsx)("div",{children:(0,l.jsx)(_,{siteTitle:s,versionMetadata:n})}),(0,l.jsx)("div",{className:"margin-top--md",children:(0,l.jsx)(Z,{versionLabel:r.label,to:c.path,onClick:()=>i(r.name)})})]})}function T(e){let{className:t}=e;const n=(0,N.E)();return n.banner?(0,l.jsx)(k,{className:t,versionMetadata:n}):null}function U(e){let{className:t}=e;const n=(0,N.E)();return n.badge?(0,l.jsx)("span",{className:(0,u.Z)(t,j.k.docs.docVersionBadge,"badge badge--secondary"),children:(0,l.jsx)(h.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label},children:"Version: {versionLabel}"})}):null}function H(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n}=e;return(0,l.jsx)(h.Z,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:(0,l.jsx)("b",{children:(0,l.jsx)("time",{dateTime:new Date(1e3*t).toISOString(),children:n})})},children:" on {date}"})}function y(e){let{lastUpdatedBy:t}=e;return(0,l.jsx)(h.Z,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:(0,l.jsx)("b",{children:t})},children:" by {user}"})}function w(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:n,lastUpdatedBy:s}=e;return(0,l.jsxs)("span",{className:j.k.common.lastUpdated,children:[(0,l.jsx)(h.Z,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:t&&n?(0,l.jsx)(H,{lastUpdatedAt:t,formattedLastUpdatedAt:n}):"",byUser:s?(0,l.jsx)(y,{lastUpdatedBy:s}):""},children:"Last updated{atDate}{byUser}"}),!1]})}var A=n(4881),M=n(6233);const E={lastUpdated:"lastUpdated_vwxv"};function I(e){return(0,l.jsx)("div",{className:(0,u.Z)(j.k.docs.docFooterTagsRow,"row margin-bottom--sm"),children:(0,l.jsx)("div",{className:"col",children:(0,l.jsx)(M.Z,{...e})})})}function B(e){let{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:s,formattedLastUpdatedAt:a}=e;return(0,l.jsxs)("div",{className:(0,u.Z)(j.k.docs.docFooterEditMetaRow,"row"),children:[(0,l.jsx)("div",{className:"col",children:t&&(0,l.jsx)(A.Z,{editUrl:t})}),(0,l.jsx)("div",{className:(0,u.Z)("col",E.lastUpdated),children:(n||s)&&(0,l.jsx)(w,{lastUpdatedAt:n,formattedLastUpdatedAt:a,lastUpdatedBy:s})})]})}function O(){const{metadata:e}=c(),{editUrl:t,lastUpdatedAt:n,formattedLastUpdatedAt:s,lastUpdatedBy:a,tags:i}=e,o=i.length>0,r=!!(t||n||a);return o||r?(0,l.jsxs)("footer",{className:(0,u.Z)(j.k.docs.docFooter,"docusaurus-mt-lg"),children:[o&&(0,l.jsx)(I,{tags:i}),r&&(0,l.jsx)(B,{editUrl:t,lastUpdatedAt:n,lastUpdatedBy:a,formattedLastUpdatedAt:s})]}):null}var S=n(6043),V=n(3743);const P={tocCollapsibleButton:"tocCollapsibleButton_TO0P",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_MG3E"};function R(e){let{collapsed:t,...n}=e;return(0,l.jsx)("button",{type:"button",...n,className:(0,u.Z)("clean-btn",P.tocCollapsibleButton,!t&&P.tocCollapsibleButtonExpanded,n.className),children:(0,l.jsx)(h.Z,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component",children:"On this page"})})}const D={tocCollapsible:"tocCollapsible_ETCw",tocCollapsibleContent:"tocCollapsibleContent_vkbj",tocCollapsibleExpanded:"tocCollapsibleExpanded_sAul"};function F(e){let{toc:t,className:n,minHeadingLevel:s,maxHeadingLevel:a}=e;const{collapsed:i,toggleCollapsed:o}=(0,S.u)({initialState:!0});return(0,l.jsxs)("div",{className:(0,u.Z)(D.tocCollapsible,!i&&D.tocCollapsibleExpanded,n),children:[(0,l.jsx)(R,{collapsed:i,onClick:o}),(0,l.jsx)(S.z,{lazy:!0,className:D.tocCollapsibleContent,collapsed:i,children:(0,l.jsx)(V.Z,{toc:t,minHeadingLevel:s,maxHeadingLevel:a})})]})}const z={tocMobile:"tocMobile_ITEo"};function q(){const{toc:e,frontMatter:t}=c();return(0,l.jsx)(F,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:(0,u.Z)(j.k.docs.docTocMobile,z.tocMobile)})}var G=n(9407);function W(){const{toc:e,frontMatter:t}=c();return(0,l.jsx)(G.Z,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:j.k.docs.docTocDesktop})}var $=n(2503),J=n(1404);function Q(e){let{children:t}=e;const n=function(){const{metadata:e,frontMatter:t,contentTitle:n}=c();return t.hide_title||void 0!==n?null:e.title}();return(0,l.jsxs)("div",{className:(0,u.Z)(j.k.docs.docMarkdown,"markdown"),children:[n&&(0,l.jsx)("header",{children:(0,l.jsx)($.Z,{as:"h1",children:n})}),(0,l.jsx)(J.Z,{children:t})]})}var X=n(2802),Y=n(8596),K=n(4996);function ee(e){return(0,l.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,l.jsx)("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"})})}const te={breadcrumbHomeIcon:"breadcrumbHomeIcon_YNFT"};function ne(){const e=(0,K.Z)("/");return(0,l.jsx)("li",{className:"breadcrumbs__item",children:(0,l.jsx)(g.Z,{"aria-label":(0,h.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,l.jsx)(ee,{className:te.breadcrumbHomeIcon})})})}const se={breadcrumbsContainer:"breadcrumbsContainer_Z_bl"};function ae(e){let{children:t,href:n,isLast:s}=e;const a="breadcrumbs__link";return s?(0,l.jsx)("span",{className:a,itemProp:"name",children:t}):n?(0,l.jsx)(g.Z,{className:a,href:n,itemProp:"item",children:(0,l.jsx)("span",{itemProp:"name",children:t})}):(0,l.jsx)("span",{className:a,children:t})}function ie(e){let{children:t,active:n,index:s,addMicrodata:a}=e;return(0,l.jsxs)("li",{...a&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,u.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n}),children:[t,(0,l.jsx)("meta",{itemProp:"position",content:String(s+1)})]})}function le(){const e=(0,X.s1)(),t=(0,Y.Ns)();return e?(0,l.jsx)("nav",{className:(0,u.Z)(j.k.docs.docBreadcrumbs,se.breadcrumbsContainer),"aria-label":(0,h.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,l.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[t&&(0,l.jsx)(ne,{}),e.map(((t,n)=>{const s=n===e.length-1,a="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,l.jsx)(ie,{active:s,index:n,addMicrodata:!!a,children:(0,l.jsx)(ae,{href:a,isLast:s,children:t.label})},n)}))]})}):null}var oe=n(2212);const re={docItemContainer:"docItemContainer_Djhp",docItemCol:"docItemCol_VOVn"};function ce(e){let{children:t}=e;const n=function(){const{frontMatter:e,toc:t}=c(),n=(0,m.i)(),s=e.hide_table_of_contents,a=!s&&t.length>0;return{hidden:s,mobile:a?(0,l.jsx)(q,{}):void 0,desktop:!a||"desktop"!==n&&"ssr"!==n?void 0:(0,l.jsx)(W,{})}}(),{metadata:{unlisted:s}}=c();return(0,l.jsxs)("div",{className:"row",children:[(0,l.jsxs)("div",{className:(0,u.Z)("col",!n.hidden&&re.docItemCol),children:[s&&(0,l.jsx)(oe.Z,{}),(0,l.jsx)(T,{}),(0,l.jsxs)("div",{className:re.docItemContainer,children:[(0,l.jsxs)("article",{children:[(0,l.jsx)(le,{}),(0,l.jsx)(U,{}),n.mobile,(0,l.jsx)(Q,{children:t}),(0,l.jsx)(O,{})]}),(0,l.jsx)(p,{})]})]}),n.desktop&&(0,l.jsx)("div",{className:"col col--3",children:n.desktop})]})}function de(e){const t=`docs-doc-id-${e.content.metadata.id}`,n=e.content;return(0,l.jsx)(r,{content:e.content,children:(0,l.jsxs)(a.FG,{className:t,children:[(0,l.jsx)(d,{}),(0,l.jsx)(ce,{children:(0,l.jsx)(n,{})})]})})}},4881:(e,t,n)=>{n.d(t,{Z:()=>d});n(7294);var s=n(5999),a=n(5281),i=n(3692),l=n(6905);const o={iconEdit:"iconEdit_Z9Sw"};var r=n(5893);function c(e){let{className:t,...n}=e;return(0,r.jsx)("svg",{fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,l.Z)(o.iconEdit,t),"aria-hidden":"true",...n,children:(0,r.jsx)("g",{children:(0,r.jsx)("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})})})}function d(e){let{editUrl:t}=e;return(0,r.jsxs)(i.Z,{to:t,className:a.k.common.editThisPage,children:[(0,r.jsx)(c,{}),(0,r.jsx)(s.Z,{id:"theme.common.editThisPage",description:"The link label to edit the current page",children:"Edit this page"})]})}},2244:(e,t,n)=>{n.d(t,{Z:()=>l});n(7294);var s=n(6905),a=n(3692),i=n(5893);function l(e){const{permalink:t,title:n,subLabel:l,isNext:o}=e;return(0,i.jsxs)(a.Z,{className:(0,s.Z)("pagination-nav__link",o?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[l&&(0,i.jsx)("div",{className:"pagination-nav__sublabel",children:l}),(0,i.jsx)("div",{className:"pagination-nav__label",children:n})]})}},9407:(e,t,n)=>{n.d(t,{Z:()=>c});n(7294);var s=n(6905),a=n(3743);const i={tableOfContents:"tableOfContents_bqdL",docItemContainer:"docItemContainer_F8PC"};var l=n(5893);const o="table-of-contents__link toc-highlight",r="table-of-contents__link--active";function c(e){let{className:t,...n}=e;return(0,l.jsx)("div",{className:(0,s.Z)(i.tableOfContents,"thin-scrollbar",t),children:(0,l.jsx)(a.Z,{...n,linkClassName:o,linkActiveClassName:r})})}},3743:(e,t,n)=>{n.d(t,{Z:()=>x});var s=n(7294),a=n(6668);function i(e){const t=e.map((e=>({...e,parentIndex:-1,children:[]}))),n=Array(7).fill(-1);t.forEach(((e,t)=>{const s=n.slice(2,e.level);e.parentIndex=Math.max(...s),n[e.level]=t}));const s=[];return t.forEach((e=>{const{parentIndex:n,...a}=e;n>=0?t[n].children.push(a):s.push(a)})),s}function l(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:s}=e;return t.flatMap((e=>{const t=l({toc:e.children,minHeadingLevel:n,maxHeadingLevel:s});return function(e){return e.level>=n&&e.level<=s}(e)?[{...e,children:t}]:t}))}function o(e){const t=e.getBoundingClientRect();return t.top===t.bottom?o(e.parentNode):t}function r(e,t){let{anchorTopOffset:n}=t;const s=e.find((e=>o(e).top>=n));if(s){return function(e){return e.top>0&&e.bottom {e.current=t?0:document.querySelector(".navbar").clientHeight}),[t]),e}function d(e){const t=(0,s.useRef)(void 0),n=c();(0,s.useEffect)((()=>{if(!e)return()=>{};const{linkClassName:s,linkActiveClassName:a,minHeadingLevel:i,maxHeadingLevel:l}=e;function o(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(s),o=function(e){let{minHeadingLevel:t,maxHeadingLevel:n}=e;const s=[];for(let a=t;a<=n;a+=1)s.push(`h${a}.anchor`);return Array.from(document.querySelectorAll(s.join()))}({minHeadingLevel:i,maxHeadingLevel:l}),c=r(o,{anchorTopOffset:n.current}),d=e.find((e=>c&&c.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e)));e.forEach((e=>{!function(e,n){n?(t.current&&t.current!==e&&t.current.classList.remove(a),e.classList.add(a),t.current=e):e.classList.remove(a)}(e,e===d)}))}return document.addEventListener("scroll",o),document.addEventListener("resize",o),o(),()=>{document.removeEventListener("scroll",o),document.removeEventListener("resize",o)}}),[e,n])}var u=n(3692),m=n(5893);function h(e){let{toc:t,className:n,linkClassName:s,isChild:a}=e;return t.length?(0,m.jsx)("ul",{className:a?void 0:n,children:t.map((e=>(0,m.jsxs)("li",{children:[(0,m.jsx)(u.Z,{to:`#${e.id}`,className:s??void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,m.jsx)(h,{isChild:!0,toc:e.children,className:n,linkClassName:s})]},e.id)))}):null}const v=s.memo(h);function x(e){let{toc:t,className:n="table-of-contents table-of-contents__left-border",linkClassName:o="table-of-contents__link",linkActiveClassName:r,minHeadingLevel:c,maxHeadingLevel:u,...h}=e;const x=(0,a.L)(),p=c??x.tableOfContents.minHeadingLevel,b=u??x.tableOfContents.maxHeadingLevel,g=function(e){let{toc:t,minHeadingLevel:n,maxHeadingLevel:a}=e;return(0,s.useMemo)((()=>l({toc:i(t),minHeadingLevel:n,maxHeadingLevel:a})),[t,n,a])}({toc:t,minHeadingLevel:p,maxHeadingLevel:b});return d((0,s.useMemo)((()=>{if(o&&r)return{linkClassName:o,linkActiveClassName:r,minHeadingLevel:p,maxHeadingLevel:b}}),[o,r,p,b])),(0,m.jsx)(v,{toc:g,className:n,linkClassName:o,...h})}},6233:(e,t,n)=>{n.d(t,{Z:()=>d});n(7294);var s=n(6905),a=n(5999),i=n(3692);const l={tag:"tag_zVej",tagRegular:"tagRegular_sFm0",tagWithCount:"tagWithCount_h2kH"};var o=n(5893);function r(e){let{permalink:t,label:n,count:a}=e;return(0,o.jsxs)(i.Z,{href:t,className:(0,s.Z)(l.tag,a?l.tagWithCount:l.tagRegular),children:[n,a&&(0,o.jsx)("span",{children:a})]})}const c={tags:"tags_jXut",tag:"tag_QGVx"};function d(e){let{tags:t}=e;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("b",{children:(0,o.jsx)(a.Z,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),(0,o.jsx)("ul",{className:(0,s.Z)(c.tags,"padding--none","margin-left--sm"),children:t.map((e=>{let{label:t,permalink:n}=e;return(0,o.jsx)("li",{className:c.tag,children:(0,o.jsx)(r,{label:t,permalink:n})},n)}))})]})}},2212:(e,t,n)=>{n.d(t,{Z:()=>h});n(7294);var s=n(6905),a=n(5999),i=n(5742),l=n(5893);function o(){return(0,l.jsx)(a.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function r(){return(0,l.jsx)(a.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function c(){return(0,l.jsx)(i.Z,{children:(0,l.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}var d=n(5281),u=n(9047);function m(e){let{className:t}=e;return(0,l.jsx)(u.Z,{type:"caution",title:(0,l.jsx)(o,{}),className:(0,s.Z)(t,d.k.common.unlistedBanner),children:(0,l.jsx)(r,{})})}function h(e){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c,{}),(0,l.jsx)(m,{...e})]})}}}]); \ No newline at end of file diff --git a/assets/js/17896441.39173264.js b/assets/js/17896441.39173264.js new file mode 100644 index 0000000..cc28cc6 --- /dev/null +++ b/assets/js/17896441.39173264.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[918],{7362:(e,n,t)=>{t.r(n),t.d(n,{default:()=>ae});var s=t(7294),a=t(8264),i=t(902),l=t(5893);const o=s.createContext(null);function r(e){let{children:n,content:t}=e;const a=function(e){return(0,s.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,contentTitle:e.contentTitle,toc:e.toc})),[e])}(t);return(0,l.jsx)(o.Provider,{value:a,children:n})}function c(){const e=(0,s.useContext)(o);if(null===e)throw new i.i6("DocProvider");return e}function d(){const{metadata:e,frontMatter:n,assets:t}=c();return(0,l.jsx)(a.d,{title:e.title,description:e.description,keywords:n.keywords,image:t.image??n.image})}var u=t(6905),m=t(7524),h=t(5999),v=t(2244);function x(e){const{previous:n,next:t}=e;return(0,l.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,h.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[n&&(0,l.jsx)(v.Z,{...n,subLabel:(0,l.jsx)(h.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),t&&(0,l.jsx)(v.Z,{...t,subLabel:(0,l.jsx)(h.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}function b(){const{metadata:e}=c();return(0,l.jsx)(x,{previous:e.previous,next:e.next})}var g=t(2263),p=t(3692),f=t(143),j=t(5281),L=t(373),C=t(4477);const N={unreleased:function(e){let{siteTitle:n,versionMetadata:t}=e;return(0,l.jsx)(h.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:n,versionLabel:(0,l.jsx)("b",{children:t.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function(e){let{siteTitle:n,versionMetadata:t}=e;return(0,l.jsx)(h.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:n,versionLabel:(0,l.jsx)("b",{children:t.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function _(e){const n=N[e.versionMetadata.banner];return(0,l.jsx)(n,{...e})}function k(e){let{versionLabel:n,to:t,onClick:s}=e;return(0,l.jsx)(h.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:n,latestVersionLink:(0,l.jsx)("b",{children:(0,l.jsx)(p.Z,{to:t,onClick:s,children:(0,l.jsx)(h.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function Z(e){let{className:n,versionMetadata:t}=e;const{siteConfig:{title:s}}=(0,g.default)(),{pluginId:a}=(0,f.gA)({failfast:!0}),{savePreferredVersionName:i}=(0,L.J)(a),{latestDocSuggestion:o,latestVersionSuggestion:r}=(0,f.Jo)(a),c=o??(d=r).docs.find((e=>e.id===d.mainDocId));var d;return(0,l.jsxs)("div",{className:(0,u.Z)(n,j.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,l.jsx)("div",{children:(0,l.jsx)(_,{siteTitle:s,versionMetadata:t})}),(0,l.jsx)("div",{className:"margin-top--md",children:(0,l.jsx)(k,{versionLabel:r.label,to:c.path,onClick:()=>i(r.name)})})]})}function T(e){let{className:n}=e;const t=(0,C.E)();return t.banner?(0,l.jsx)(Z,{className:n,versionMetadata:t}):null}function H(e){let{className:n}=e;const t=(0,C.E)();return t.badge?(0,l.jsx)("span",{className:(0,u.Z)(n,j.k.docs.docVersionBadge,"badge badge--secondary"),children:(0,l.jsx)(h.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:t.label},children:"Version: {versionLabel}"})}):null}var M=t(6233),I=t(7265);function E(){const{metadata:e}=c(),{editUrl:n,lastUpdatedAt:t,lastUpdatedBy:s,tags:a}=e,i=a.length>0,o=!!(n||t||s);return i||o?(0,l.jsxs)("footer",{className:(0,u.Z)(j.k.docs.docFooter,"docusaurus-mt-lg"),children:[i&&(0,l.jsx)("div",{className:(0,u.Z)("row margin-top--sm",j.k.docs.docFooterTagsRow),children:(0,l.jsx)("div",{className:"col",children:(0,l.jsx)(M.Z,{tags:a})})}),o&&(0,l.jsx)(I.Z,{className:(0,u.Z)("margin-top--sm",j.k.docs.docFooterEditMetaRow),editUrl:n,lastUpdatedAt:t,lastUpdatedBy:s})]}):null}var w=t(6043),y=t(3743);const A={tocCollapsibleButton:"tocCollapsibleButton_TO0P",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_MG3E"};function B(e){let{collapsed:n,...t}=e;return(0,l.jsx)("button",{type:"button",...t,className:(0,u.Z)("clean-btn",A.tocCollapsibleButton,!n&&A.tocCollapsibleButtonExpanded,t.className),children:(0,l.jsx)(h.Z,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component",children:"On this page"})})}const O={tocCollapsible:"tocCollapsible_ETCw",tocCollapsibleContent:"tocCollapsibleContent_vkbj",tocCollapsibleExpanded:"tocCollapsibleExpanded_sAul"};function V(e){let{toc:n,className:t,minHeadingLevel:s,maxHeadingLevel:a}=e;const{collapsed:i,toggleCollapsed:o}=(0,w.u)({initialState:!0});return(0,l.jsxs)("div",{className:(0,u.Z)(O.tocCollapsible,!i&&O.tocCollapsibleExpanded,t),children:[(0,l.jsx)(B,{collapsed:i,onClick:o}),(0,l.jsx)(w.z,{lazy:!0,className:O.tocCollapsibleContent,collapsed:i,children:(0,l.jsx)(y.Z,{toc:n,minHeadingLevel:s,maxHeadingLevel:a})})]})}const P={tocMobile:"tocMobile_ITEo"};function R(){const{toc:e,frontMatter:n}=c();return(0,l.jsx)(V,{toc:e,minHeadingLevel:n.toc_min_heading_level,maxHeadingLevel:n.toc_max_heading_level,className:(0,u.Z)(j.k.docs.docTocMobile,P.tocMobile)})}var S=t(9407);function F(){const{toc:e,frontMatter:n}=c();return(0,l.jsx)(S.Z,{toc:e,minHeadingLevel:n.toc_min_heading_level,maxHeadingLevel:n.toc_max_heading_level,className:j.k.docs.docTocDesktop})}var U=t(2503),z=t(3538);function D(e){let{children:n}=e;const t=function(){const{metadata:e,frontMatter:n,contentTitle:t}=c();return n.hide_title||void 0!==t?null:e.title}();return(0,l.jsxs)("div",{className:(0,u.Z)(j.k.docs.docMarkdown,"markdown"),children:[t&&(0,l.jsx)("header",{children:(0,l.jsx)(U.Z,{as:"h1",children:t})}),(0,l.jsx)(z.Z,{children:n})]})}var q=t(2802),G=t(8596),W=t(4996);function $(e){return(0,l.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,l.jsx)("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"})})}const J={breadcrumbHomeIcon:"breadcrumbHomeIcon_YNFT"};function Q(){const e=(0,W.ZP)("/");return(0,l.jsx)("li",{className:"breadcrumbs__item",children:(0,l.jsx)(p.Z,{"aria-label":(0,h.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,l.jsx)($,{className:J.breadcrumbHomeIcon})})})}const X={breadcrumbsContainer:"breadcrumbsContainer_Z_bl"};function Y(e){let{children:n,href:t,isLast:s}=e;const a="breadcrumbs__link";return s?(0,l.jsx)("span",{className:a,itemProp:"name",children:n}):t?(0,l.jsx)(p.Z,{className:a,href:t,itemProp:"item",children:(0,l.jsx)("span",{itemProp:"name",children:n})}):(0,l.jsx)("span",{className:a,children:n})}function K(e){let{children:n,active:t,index:s,addMicrodata:a}=e;return(0,l.jsxs)("li",{...a&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},className:(0,u.Z)("breadcrumbs__item",{"breadcrumbs__item--active":t}),children:[n,(0,l.jsx)("meta",{itemProp:"position",content:String(s+1)})]})}function ee(){const e=(0,q.s1)(),n=(0,G.Ns)();return e?(0,l.jsx)("nav",{className:(0,u.Z)(j.k.docs.docBreadcrumbs,X.breadcrumbsContainer),"aria-label":(0,h.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,l.jsxs)("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",children:[n&&(0,l.jsx)(Q,{}),e.map(((n,t)=>{const s=t===e.length-1,a="category"===n.type&&n.linkUnlisted?void 0:n.href;return(0,l.jsx)(K,{active:s,index:t,addMicrodata:!!a,children:(0,l.jsx)(Y,{href:a,isLast:s,children:n.label})},t)}))]})}):null}var ne=t(2212);const te={docItemContainer:"docItemContainer_Djhp",docItemCol:"docItemCol_VOVn"};function se(e){let{children:n}=e;const t=function(){const{frontMatter:e,toc:n}=c(),t=(0,m.i)(),s=e.hide_table_of_contents,a=!s&&n.length>0;return{hidden:s,mobile:a?(0,l.jsx)(R,{}):void 0,desktop:!a||"desktop"!==t&&"ssr"!==t?void 0:(0,l.jsx)(F,{})}}(),{metadata:{unlisted:s}}=c();return(0,l.jsxs)("div",{className:"row",children:[(0,l.jsxs)("div",{className:(0,u.Z)("col",!t.hidden&&te.docItemCol),children:[s&&(0,l.jsx)(ne.Z,{}),(0,l.jsx)(T,{}),(0,l.jsxs)("div",{className:te.docItemContainer,children:[(0,l.jsxs)("article",{children:[(0,l.jsx)(ee,{}),(0,l.jsx)(H,{}),t.mobile,(0,l.jsx)(D,{children:n}),(0,l.jsx)(E,{})]}),(0,l.jsx)(b,{})]})]}),t.desktop&&(0,l.jsx)("div",{className:"col col--3",children:t.desktop})]})}function ae(e){const n=`docs-doc-id-${e.content.metadata.id}`,t=e.content;return(0,l.jsx)(r,{content:e.content,children:(0,l.jsxs)(a.FG,{className:n,children:[(0,l.jsx)(d,{}),(0,l.jsx)(se,{children:(0,l.jsx)(t,{})})]})})}},2244:(e,n,t)=>{t.d(n,{Z:()=>l});t(7294);var s=t(6905),a=t(3692),i=t(5893);function l(e){const{permalink:n,title:t,subLabel:l,isNext:o}=e;return(0,i.jsxs)(a.Z,{className:(0,s.Z)("pagination-nav__link",o?"pagination-nav__link--next":"pagination-nav__link--prev"),to:n,children:[l&&(0,i.jsx)("div",{className:"pagination-nav__sublabel",children:l}),(0,i.jsx)("div",{className:"pagination-nav__label",children:t})]})}},9407:(e,n,t)=>{t.d(n,{Z:()=>c});t(7294);var s=t(6905),a=t(3743);const i={tableOfContents:"tableOfContents_bqdL",docItemContainer:"docItemContainer_F8PC"};var l=t(5893);const o="table-of-contents__link toc-highlight",r="table-of-contents__link--active";function c(e){let{className:n,...t}=e;return(0,l.jsx)("div",{className:(0,s.Z)(i.tableOfContents,"thin-scrollbar",n),children:(0,l.jsx)(a.Z,{...t,linkClassName:o,linkActiveClassName:r})})}},3743:(e,n,t)=>{t.d(n,{Z:()=>x});var s=t(7294),a=t(6668);function i(e){const n=e.map((e=>({...e,parentIndex:-1,children:[]}))),t=Array(7).fill(-1);n.forEach(((e,n)=>{const s=t.slice(2,e.level);e.parentIndex=Math.max(...s),t[e.level]=n}));const s=[];return n.forEach((e=>{const{parentIndex:t,...a}=e;t>=0?n[t].children.push(a):s.push(a)})),s}function l(e){let{toc:n,minHeadingLevel:t,maxHeadingLevel:s}=e;return n.flatMap((e=>{const n=l({toc:e.children,minHeadingLevel:t,maxHeadingLevel:s});return function(e){return e.level>=t&&e.level<=s}(e)?[{...e,children:n}]:n}))}function o(e){const n=e.getBoundingClientRect();return n.top===n.bottom?o(e.parentNode):n}function r(e,n){let{anchorTopOffset:t}=n;const s=e.find((e=>o(e).top>=t));if(s){return function(e){return e.top>0&&e.bottom {e.current=n?0:document.querySelector(".navbar").clientHeight}),[n]),e}function d(e){const n=(0,s.useRef)(void 0),t=c();(0,s.useEffect)((()=>{if(!e)return()=>{};const{linkClassName:s,linkActiveClassName:a,minHeadingLevel:i,maxHeadingLevel:l}=e;function o(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(s),o=function(e){let{minHeadingLevel:n,maxHeadingLevel:t}=e;const s=[];for(let a=n;a<=t;a+=1)s.push(`h${a}.anchor`);return Array.from(document.querySelectorAll(s.join()))}({minHeadingLevel:i,maxHeadingLevel:l}),c=r(o,{anchorTopOffset:t.current}),d=e.find((e=>c&&c.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e)));e.forEach((e=>{!function(e,t){t?(n.current&&n.current!==e&&n.current.classList.remove(a),e.classList.add(a),n.current=e):e.classList.remove(a)}(e,e===d)}))}return document.addEventListener("scroll",o),document.addEventListener("resize",o),o(),()=>{document.removeEventListener("scroll",o),document.removeEventListener("resize",o)}}),[e,t])}var u=t(3692),m=t(5893);function h(e){let{toc:n,className:t,linkClassName:s,isChild:a}=e;return n.length?(0,m.jsx)("ul",{className:a?void 0:t,children:n.map((e=>(0,m.jsxs)("li",{children:[(0,m.jsx)(u.Z,{to:`#${e.id}`,className:s??void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,m.jsx)(h,{isChild:!0,toc:e.children,className:t,linkClassName:s})]},e.id)))}):null}const v=s.memo(h);function x(e){let{toc:n,className:t="table-of-contents table-of-contents__left-border",linkClassName:o="table-of-contents__link",linkActiveClassName:r,minHeadingLevel:c,maxHeadingLevel:u,...h}=e;const x=(0,a.L)(),b=c??x.tableOfContents.minHeadingLevel,g=u??x.tableOfContents.maxHeadingLevel,p=function(e){let{toc:n,minHeadingLevel:t,maxHeadingLevel:a}=e;return(0,s.useMemo)((()=>l({toc:i(n),minHeadingLevel:t,maxHeadingLevel:a})),[n,t,a])}({toc:n,minHeadingLevel:b,maxHeadingLevel:g});return d((0,s.useMemo)((()=>{if(o&&r)return{linkClassName:o,linkActiveClassName:r,minHeadingLevel:b,maxHeadingLevel:g}}),[o,r,b,g])),(0,m.jsx)(v,{toc:p,className:t,linkClassName:o,...h})}},6233:(e,n,t)=>{t.d(n,{Z:()=>d});t(7294);var s=t(6905),a=t(5999),i=t(3692);const l={tag:"tag_zVej",tagRegular:"tagRegular_sFm0",tagWithCount:"tagWithCount_h2kH"};var o=t(5893);function r(e){let{permalink:n,label:t,count:a,description:r}=e;return(0,o.jsxs)(i.Z,{href:n,title:r,className:(0,s.Z)(l.tag,a?l.tagWithCount:l.tagRegular),children:[t,a&&(0,o.jsx)("span",{children:a})]})}const c={tags:"tags_jXut",tag:"tag_QGVx"};function d(e){let{tags:n}=e;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("b",{children:(0,o.jsx)(a.Z,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),(0,o.jsx)("ul",{className:(0,s.Z)(c.tags,"padding--none","margin-left--sm"),children:n.map((e=>(0,o.jsx)("li",{className:c.tag,children:(0,o.jsx)(r,{...e})},e.permalink)))})]})}},2212:(e,n,t)=>{t.d(n,{Z:()=>h});t(7294);var s=t(6905),a=t(5999),i=t(5742),l=t(5893);function o(){return(0,l.jsx)(a.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function r(){return(0,l.jsx)(a.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function c(){return(0,l.jsx)(i.Z,{children:(0,l.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}var d=t(5281),u=t(9047);function m(e){let{className:n}=e;return(0,l.jsx)(u.Z,{type:"caution",title:(0,l.jsx)(o,{}),className:(0,s.Z)(n,d.k.common.unlistedBanner),children:(0,l.jsx)(r,{})})}function h(e){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c,{}),(0,l.jsx)(m,{...e})]})}}}]); \ No newline at end of file diff --git a/assets/js/19a7702c.21ef7465.js b/assets/js/19a7702c.21ef7465.js new file mode 100644 index 0000000..cfc2902 --- /dev/null +++ b/assets/js/19a7702c.21ef7465.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[641],{4755:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>u,contentTitle:()=>r,default:()=>p,frontMatter:()=>i,metadata:()=>c,toc:()=>d});var n=t(5893),o=t(1151);const i={},r=void 0,c={id:"discussions/dex",title:"dex",description:"",source:"@site/docs/discussions/dex.md",sourceDirName:"discussions",slug:"/discussions/dex",permalink:"/docs/discussions/dex",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"core-philosophy",permalink:"/docs/discussions/core-philosophy"},next:{title:"wrapping",permalink:"/docs/discussions/wrapping"}},u={},d=[];function a(e){return(0,n.jsx)(n.Fragment,{})}function p(e={}){const{wrapper:s}={...(0,o.a)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(a,{...e})}):a()}},1151:(e,s,t)=>{t.d(s,{Z:()=>c,a:()=>r});var n=t(7294);const o={},i=n.createContext(o);function r(e){const s=n.useContext(i);return n.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),n.createElement(i.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1df93b7f.c6833656.js b/assets/js/1df93b7f.8e31bb0c.js similarity index 63% rename from assets/js/1df93b7f.c6833656.js rename to assets/js/1df93b7f.8e31bb0c.js index 77ffb76..a3bc1ab 100644 --- a/assets/js/1df93b7f.c6833656.js +++ b/assets/js/1df93b7f.8e31bb0c.js @@ -1 +1 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[237],{6989:(e,s,n)=>{n.r(s),n.d(s,{default:()=>g});n(7294);function t(e){var s,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(s=0;s (0,l.jsx)(h,{...e},s)))})})})}const f={heroBanner:"heroBanner_qdFl",buttons:"buttons_AeoN"};function m(){const{siteConfig:e}=(0,a.Z)();return(0,l.jsx)("header",{className:i("hero hero--primary",f.heroBanner),children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsx)("h1",{className:"hero__title",children:e.title}),(0,l.jsx)("p",{className:"hero__subtitle",children:e.tagline}),(0,l.jsx)("div",{className:f.buttons,children:(0,l.jsx)(r.Z,{className:"button button--secondary button--lg",to:"/docs/getting-started/running-a-node",children:"Run a VSC node - 5min \u23f1\ufe0f"})})]})})}function g(){const{siteConfig:e}=(0,a.Z)();return(0,l.jsxs)(c.Z,{title:`Hello from ${e.title}`,description:"Description will go into a meta tag in ",children:[(0,l.jsx)(m,{}),(0,l.jsx)("main",{children:(0,l.jsx)(u,{})})]})}},570:(e,s,n)=>{n.d(s,{Z:()=>t});const t=n.p+"assets/images/splash_1-c57beb2f7a41649c77cdf2b0655a4b2f.png"},6990:(e,s,n)=>{n.d(s,{Z:()=>t});const t=n.p+"assets/images/splash_2-51db070d25ee1e5174f2149f676f6081.png"},6631:(e,s,n)=>{n.d(s,{Z:()=>t});const t=n.p+"assets/images/splash_3-11819a0c054deae72f586348674788c1.png"}}]); \ No newline at end of file +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[237],{6989:(e,s,n)=>{n.r(s),n.d(s,{default:()=>g});n(7294);function t(e){var s,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(s=0;s(0,l.jsx)(h,{...e},s)))})})})}const f={heroBanner:"heroBanner_qdFl",buttons:"buttons_AeoN"};function m(){const{siteConfig:e}=(0,a.default)();return(0,l.jsx)("header",{className:i("hero hero--primary",f.heroBanner),children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsx)("h1",{className:"hero__title",children:e.title}),(0,l.jsx)("p",{className:"hero__subtitle",children:e.tagline}),(0,l.jsx)("div",{className:f.buttons,children:(0,l.jsx)(r.Z,{className:"button button--secondary button--lg",to:"/docs/getting-started/running-a-node",children:"Run a VSC node - 5min \u23f1\ufe0f"})})]})})}function g(){const{siteConfig:e}=(0,a.default)();return(0,l.jsxs)(c.Z,{title:`Hello from ${e.title}`,description:"Description will go into a meta tag in ",children:[(0,l.jsx)(m,{}),(0,l.jsx)("main",{children:(0,l.jsx)(u,{})})]})}},570:(e,s,n)=>{n.d(s,{Z:()=>t});const t=n.p+"assets/images/splash_1-c57beb2f7a41649c77cdf2b0655a4b2f.png"},6990:(e,s,n)=>{n.d(s,{Z:()=>t});const t=n.p+"assets/images/splash_2-51db070d25ee1e5174f2149f676f6081.png"},6631:(e,s,n)=>{n.d(s,{Z:()=>t});const t=n.p+"assets/images/splash_3-11819a0c054deae72f586348674788c1.png"}}]); \ No newline at end of file diff --git a/assets/js/1f391b9e.cf006864.js b/assets/js/1f391b9e.cf006864.js deleted file mode 100644 index b3fdf14..0000000 --- a/assets/js/1f391b9e.cf006864.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[85],{4247:(e,n,t)=>{t.r(n),t.d(n,{default:()=>u});t(7294);var i=t(6905),a=t(1944),s=t(5281),l=t(6040),r=t(1404),c=t(9407),o=t(2212);const d={mdxPageWrapper:"mdxPageWrapper_j9I6"};var m=t(5893);function u(e){const{content:n}=e,{metadata:{title:t,description:u,frontMatter:f,unlisted:v},assets:h}=n,{keywords:g,wrapperClassName:x,hide_table_of_contents:p}=f,L=h.image??f.image;return(0,m.jsx)(a.FG,{className:(0,i.Z)(x??s.k.wrapper.mdxPages,s.k.page.mdxPage),children:(0,m.jsxs)(l.Z,{children:[(0,m.jsx)(a.d,{title:t,description:u,keywords:g,image:L}),(0,m.jsx)("main",{className:"container container--fluid margin-vert--lg",children:(0,m.jsxs)("div",{className:(0,i.Z)("row",d.mdxPageWrapper),children:[(0,m.jsxs)("div",{className:(0,i.Z)("col",!p&&"col--8"),children:[v&&(0,m.jsx)(o.Z,{}),(0,m.jsx)("article",{children:(0,m.jsx)(r.Z,{children:(0,m.jsx)(n,{})})})]}),!p&&n.toc.length>0&&(0,m.jsx)("div",{className:"col col--2",children:(0,m.jsx)(c.Z,{toc:n.toc,minHeadingLevel:f.toc_min_heading_level,maxHeadingLevel:f.toc_max_heading_level})})]})})]})})}},9407:(e,n,t)=>{t.d(n,{Z:()=>o});t(7294);var i=t(6905),a=t(3743);const s={tableOfContents:"tableOfContents_bqdL",docItemContainer:"docItemContainer_F8PC"};var l=t(5893);const r="table-of-contents__link toc-highlight",c="table-of-contents__link--active";function o(e){let{className:n,...t}=e;return(0,l.jsx)("div",{className:(0,i.Z)(s.tableOfContents,"thin-scrollbar",n),children:(0,l.jsx)(a.Z,{...t,linkClassName:r,linkActiveClassName:c})})}},3743:(e,n,t)=>{t.d(n,{Z:()=>h});var i=t(7294),a=t(6668);function s(e){const n=e.map((e=>({...e,parentIndex:-1,children:[]}))),t=Array(7).fill(-1);n.forEach(((e,n)=>{const i=t.slice(2,e.level);e.parentIndex=Math.max(...i),t[e.level]=n}));const i=[];return n.forEach((e=>{const{parentIndex:t,...a}=e;t>=0?n[t].children.push(a):i.push(a)})),i}function l(e){let{toc:n,minHeadingLevel:t,maxHeadingLevel:i}=e;return n.flatMap((e=>{const n=l({toc:e.children,minHeadingLevel:t,maxHeadingLevel:i});return function(e){return e.level>=t&&e.level<=i}(e)?[{...e,children:n}]:n}))}function r(e){const n=e.getBoundingClientRect();return n.top===n.bottom?r(e.parentNode):n}function c(e,n){let{anchorTopOffset:t}=n;const i=e.find((e=>r(e).top>=t));if(i){return function(e){return e.top>0&&e.bottom{e.current=n?0:document.querySelector(".navbar").clientHeight}),[n]),e}function d(e){const n=(0,i.useRef)(void 0),t=o();(0,i.useEffect)((()=>{if(!e)return()=>{};const{linkClassName:i,linkActiveClassName:a,minHeadingLevel:s,maxHeadingLevel:l}=e;function r(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(i),r=function(e){let{minHeadingLevel:n,maxHeadingLevel:t}=e;const i=[];for(let a=n;a<=t;a+=1)i.push(`h${a}.anchor`);return Array.from(document.querySelectorAll(i.join()))}({minHeadingLevel:s,maxHeadingLevel:l}),o=c(r,{anchorTopOffset:t.current}),d=e.find((e=>o&&o.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e)));e.forEach((e=>{!function(e,t){t?(n.current&&n.current!==e&&n.current.classList.remove(a),e.classList.add(a),n.current=e):e.classList.remove(a)}(e,e===d)}))}return document.addEventListener("scroll",r),document.addEventListener("resize",r),r(),()=>{document.removeEventListener("scroll",r),document.removeEventListener("resize",r)}}),[e,t])}var m=t(3692),u=t(5893);function f(e){let{toc:n,className:t,linkClassName:i,isChild:a}=e;return n.length?(0,u.jsx)("ul",{className:a?void 0:t,children:n.map((e=>(0,u.jsxs)("li",{children:[(0,u.jsx)(m.Z,{to:`#${e.id}`,className:i??void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,u.jsx)(f,{isChild:!0,toc:e.children,className:t,linkClassName:i})]},e.id)))}):null}const v=i.memo(f);function h(e){let{toc:n,className:t="table-of-contents table-of-contents__left-border",linkClassName:r="table-of-contents__link",linkActiveClassName:c,minHeadingLevel:o,maxHeadingLevel:m,...f}=e;const h=(0,a.L)(),g=o??h.tableOfContents.minHeadingLevel,x=m??h.tableOfContents.maxHeadingLevel,p=function(e){let{toc:n,minHeadingLevel:t,maxHeadingLevel:a}=e;return(0,i.useMemo)((()=>l({toc:s(n),minHeadingLevel:t,maxHeadingLevel:a})),[n,t,a])}({toc:n,minHeadingLevel:g,maxHeadingLevel:x});return d((0,i.useMemo)((()=>{if(r&&c)return{linkClassName:r,linkActiveClassName:c,minHeadingLevel:g,maxHeadingLevel:x}}),[r,c,g,x])),(0,u.jsx)(v,{toc:p,className:t,linkClassName:r,...f})}},2212:(e,n,t)=>{t.d(n,{Z:()=>f});t(7294);var i=t(6905),a=t(5999),s=t(5742),l=t(5893);function r(){return(0,l.jsx)(a.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function c(){return(0,l.jsx)(a.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function o(){return(0,l.jsx)(s.Z,{children:(0,l.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}var d=t(5281),m=t(9047);function u(e){let{className:n}=e;return(0,l.jsx)(m.Z,{type:"caution",title:(0,l.jsx)(r,{}),className:(0,i.Z)(n,d.k.common.unlistedBanner),children:(0,l.jsx)(c,{})})}function f(e){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(o,{}),(0,l.jsx)(u,{...e})]})}}}]); \ No newline at end of file diff --git a/assets/js/1f391b9e.fffe4ac4.js b/assets/js/1f391b9e.fffe4ac4.js new file mode 100644 index 0000000..f92f471 --- /dev/null +++ b/assets/js/1f391b9e.fffe4ac4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[85],{4247:(e,n,t)=>{t.r(n),t.d(n,{default:()=>f});t(7294);var a=t(6905),s=t(8264),i=t(5281),l=t(6040),r=t(3538),c=t(9407),o=t(2212),d=t(7265);const m={mdxPageWrapper:"mdxPageWrapper_j9I6"};var u=t(5893);function f(e){const{content:n}=e,{metadata:{title:t,editUrl:f,description:v,frontMatter:h,unlisted:g,lastUpdatedBy:x,lastUpdatedAt:p},assets:L}=n,{keywords:j,wrapperClassName:N,hide_table_of_contents:C}=h,H=L.image??h.image,k=!!(f||p||x);return(0,u.jsx)(s.FG,{className:(0,a.Z)(N??i.k.wrapper.mdxPages,i.k.page.mdxPage),children:(0,u.jsxs)(l.Z,{children:[(0,u.jsx)(s.d,{title:t,description:v,keywords:j,image:H}),(0,u.jsx)("main",{className:"container container--fluid margin-vert--lg",children:(0,u.jsxs)("div",{className:(0,a.Z)("row",m.mdxPageWrapper),children:[(0,u.jsxs)("div",{className:(0,a.Z)("col",!C&&"col--8"),children:[g&&(0,u.jsx)(o.Z,{}),(0,u.jsx)("article",{children:(0,u.jsx)(r.Z,{children:(0,u.jsx)(n,{})})}),k&&(0,u.jsx)(d.Z,{className:(0,a.Z)("margin-top--sm",i.k.pages.pageFooterEditMetaRow),editUrl:f,lastUpdatedAt:p,lastUpdatedBy:x})]}),!C&&n.toc.length>0&&(0,u.jsx)("div",{className:"col col--2",children:(0,u.jsx)(c.Z,{toc:n.toc,minHeadingLevel:h.toc_min_heading_level,maxHeadingLevel:h.toc_max_heading_level})})]})})]})})}},9407:(e,n,t)=>{t.d(n,{Z:()=>o});t(7294);var a=t(6905),s=t(3743);const i={tableOfContents:"tableOfContents_bqdL",docItemContainer:"docItemContainer_F8PC"};var l=t(5893);const r="table-of-contents__link toc-highlight",c="table-of-contents__link--active";function o(e){let{className:n,...t}=e;return(0,l.jsx)("div",{className:(0,a.Z)(i.tableOfContents,"thin-scrollbar",n),children:(0,l.jsx)(s.Z,{...t,linkClassName:r,linkActiveClassName:c})})}},3743:(e,n,t)=>{t.d(n,{Z:()=>h});var a=t(7294),s=t(6668);function i(e){const n=e.map((e=>({...e,parentIndex:-1,children:[]}))),t=Array(7).fill(-1);n.forEach(((e,n)=>{const a=t.slice(2,e.level);e.parentIndex=Math.max(...a),t[e.level]=n}));const a=[];return n.forEach((e=>{const{parentIndex:t,...s}=e;t>=0?n[t].children.push(s):a.push(s)})),a}function l(e){let{toc:n,minHeadingLevel:t,maxHeadingLevel:a}=e;return n.flatMap((e=>{const n=l({toc:e.children,minHeadingLevel:t,maxHeadingLevel:a});return function(e){return e.level>=t&&e.level<=a}(e)?[{...e,children:n}]:n}))}function r(e){const n=e.getBoundingClientRect();return n.top===n.bottom?r(e.parentNode):n}function c(e,n){let{anchorTopOffset:t}=n;const a=e.find((e=>r(e).top>=t));if(a){return function(e){return e.top>0&&e.bottom {e.current=n?0:document.querySelector(".navbar").clientHeight}),[n]),e}function d(e){const n=(0,a.useRef)(void 0),t=o();(0,a.useEffect)((()=>{if(!e)return()=>{};const{linkClassName:a,linkActiveClassName:s,minHeadingLevel:i,maxHeadingLevel:l}=e;function r(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(a),r=function(e){let{minHeadingLevel:n,maxHeadingLevel:t}=e;const a=[];for(let s=n;s<=t;s+=1)a.push(`h${s}.anchor`);return Array.from(document.querySelectorAll(a.join()))}({minHeadingLevel:i,maxHeadingLevel:l}),o=c(r,{anchorTopOffset:t.current}),d=e.find((e=>o&&o.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e)));e.forEach((e=>{!function(e,t){t?(n.current&&n.current!==e&&n.current.classList.remove(s),e.classList.add(s),n.current=e):e.classList.remove(s)}(e,e===d)}))}return document.addEventListener("scroll",r),document.addEventListener("resize",r),r(),()=>{document.removeEventListener("scroll",r),document.removeEventListener("resize",r)}}),[e,t])}var m=t(3692),u=t(5893);function f(e){let{toc:n,className:t,linkClassName:a,isChild:s}=e;return n.length?(0,u.jsx)("ul",{className:s?void 0:t,children:n.map((e=>(0,u.jsxs)("li",{children:[(0,u.jsx)(m.Z,{to:`#${e.id}`,className:a??void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,u.jsx)(f,{isChild:!0,toc:e.children,className:t,linkClassName:a})]},e.id)))}):null}const v=a.memo(f);function h(e){let{toc:n,className:t="table-of-contents table-of-contents__left-border",linkClassName:r="table-of-contents__link",linkActiveClassName:c,minHeadingLevel:o,maxHeadingLevel:m,...f}=e;const h=(0,s.L)(),g=o??h.tableOfContents.minHeadingLevel,x=m??h.tableOfContents.maxHeadingLevel,p=function(e){let{toc:n,minHeadingLevel:t,maxHeadingLevel:s}=e;return(0,a.useMemo)((()=>l({toc:i(n),minHeadingLevel:t,maxHeadingLevel:s})),[n,t,s])}({toc:n,minHeadingLevel:g,maxHeadingLevel:x});return d((0,a.useMemo)((()=>{if(r&&c)return{linkClassName:r,linkActiveClassName:c,minHeadingLevel:g,maxHeadingLevel:x}}),[r,c,g,x])),(0,u.jsx)(v,{toc:p,className:t,linkClassName:r,...f})}},2212:(e,n,t)=>{t.d(n,{Z:()=>f});t(7294);var a=t(6905),s=t(5999),i=t(5742),l=t(5893);function r(){return(0,l.jsx)(s.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function c(){return(0,l.jsx)(s.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function o(){return(0,l.jsx)(i.Z,{children:(0,l.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}var d=t(5281),m=t(9047);function u(e){let{className:n}=e;return(0,l.jsx)(m.Z,{type:"caution",title:(0,l.jsx)(r,{}),className:(0,a.Z)(n,d.k.common.unlistedBanner),children:(0,l.jsx)(c,{})})}function f(e){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(o,{}),(0,l.jsx)(u,{...e})]})}}}]); \ No newline at end of file diff --git a/assets/js/1fc3c7b7.edb32c90.js b/assets/js/1fc3c7b7.edb32c90.js new file mode 100644 index 0000000..be03477 --- /dev/null +++ b/assets/js/1fc3c7b7.edb32c90.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[518],{8713:(s,e,o)=>{o.r(e),o.d(e,{assets:()=>u,contentTitle:()=>c,default:()=>p,frontMatter:()=>i,metadata:()=>r,toc:()=>d});var t=o(5893),n=o(1151);const i={},c=void 0,r={id:"discussions/core-philosophy",title:"core-philosophy",description:"",source:"@site/docs/discussions/core-philosophy.md",sourceDirName:"discussions",slug:"/discussions/core-philosophy",permalink:"/docs/discussions/core-philosophy",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"FAQ",permalink:"/docs/discussions/FAQ"},next:{title:"dex",permalink:"/docs/discussions/dex"}},u={},d=[];function a(s){return(0,t.jsx)(t.Fragment,{})}function p(s={}){const{wrapper:e}={...(0,n.a)(),...s.components};return e?(0,t.jsx)(e,{...s,children:(0,t.jsx)(a,{...s})}):a()}},1151:(s,e,o)=>{o.d(e,{Z:()=>r,a:()=>c});var t=o(7294);const n={},i=t.createContext(n);function c(s){const e=t.useContext(i);return t.useMemo((function(){return"function"==typeof s?s(e):{...e,...s}}),[e,s])}function r(s){let e;return e=s.disableParentContext?"function"==typeof s.components?s.components(n):s.components||n:c(s.components),t.createElement(i.Provider,{value:e},s.children)}}}]); \ No newline at end of file diff --git a/assets/js/1fc8c953.57971c3c.js b/assets/js/1fc8c953.57971c3c.js new file mode 100644 index 0000000..4697c7a --- /dev/null +++ b/assets/js/1fc8c953.57971c3c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[400],{8369:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>i,default:()=>p,frontMatter:()=>r,metadata:()=>c,toc:()=>u});var s=n(5893),o=n(1151);const r={},i=void 0,c={id:"discussions/wrapping",title:"wrapping",description:"",source:"@site/docs/discussions/wrapping.md",sourceDirName:"discussions",slug:"/discussions/wrapping",permalink:"/docs/discussions/wrapping",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"dex",permalink:"/docs/discussions/dex"},next:{title:"Generate wallet",permalink:"/docs/how-to/generate-wallet"}},a={},u=[];function d(e){return(0,s.jsx)(s.Fragment,{})}function p(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d()}},1151:(e,t,n)=>{n.d(t,{Z:()=>c,a:()=>i});var s=n(7294);const o={},r=s.createContext(o);function i(e){const t=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/202.a8ba3b4d.js b/assets/js/202.a8ba3b4d.js new file mode 100644 index 0000000..9feaa7f --- /dev/null +++ b/assets/js/202.a8ba3b4d.js @@ -0,0 +1 @@ +(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[202],{1262:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});n(7294);var o=n(2389),s=n(5893);function i(e){let{children:t,fallback:n}=e;return(0,o.Z)()?(0,s.jsx)(s.Fragment,{children:t?.()}):n??null}},9047:(e,t,n)=>{"use strict";n.d(t,{Z:()=>T});var o=n(7294),s=n(5893);function i(e){const{mdxAdmonitionTitle:t,rest:n}=function(e){const t=o.Children.toArray(e),n=t.find((e=>o.isValidElement(e)&&"mdxAdmonitionTitle"===e.type)),i=t.filter((e=>e!==n)),r=n?.props.children;return{mdxAdmonitionTitle:r,rest:i.length>0?(0,s.jsx)(s.Fragment,{children:i}):null}}(e.children),i=e.title??t;return{...e,...i&&{title:i},children:n}}var r=n(6905),a=n(5999),c=n(5281);const l={admonition:"admonition_xJq3",admonitionHeading:"admonitionHeading_Gvgb",admonitionIcon:"admonitionIcon_Rf37",admonitionContent:"admonitionContent_BuS1"};function d(e){let{type:t,className:n,children:o}=e;return(0,s.jsx)("div",{className:(0,r.Z)(c.k.common.admonition,c.k.common.admonitionType(t),l.admonition,n),children:o})}function u(e){let{icon:t,title:n}=e;return(0,s.jsxs)("div",{className:l.admonitionHeading,children:[(0,s.jsx)("span",{className:l.admonitionIcon,children:t}),n]})}function m(e){let{children:t}=e;return t?(0,s.jsx)("div",{className:l.admonitionContent,children:t}):null}function h(e){const{type:t,icon:n,title:o,children:i,className:r}=e;return(0,s.jsxs)(d,{type:t,className:r,children:[o||n?(0,s.jsx)(u,{title:o,icon:n}):null,(0,s.jsx)(m,{children:i})]})}function p(e){return(0,s.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const f={icon:(0,s.jsx)(p,{}),title:(0,s.jsx)(a.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function g(e){return(0,s.jsx)(h,{...f,...e,className:(0,r.Z)("alert alert--secondary",e.className),children:e.children})}function b(e){return(0,s.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const v={icon:(0,s.jsx)(b,{}),title:(0,s.jsx)(a.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function x(e){return(0,s.jsx)(h,{...v,...e,className:(0,r.Z)("alert alert--success",e.className),children:e.children})}function j(e){return(0,s.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const y={icon:(0,s.jsx)(j,{}),title:(0,s.jsx)(a.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function k(e){return(0,s.jsx)(h,{...y,...e,className:(0,r.Z)("alert alert--info",e.className),children:e.children})}function w(e){return(0,s.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const C={icon:(0,s.jsx)(w,{}),title:(0,s.jsx)(a.Z,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function N(e){return(0,s.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const B={icon:(0,s.jsx)(N,{}),title:(0,s.jsx)(a.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const _={icon:(0,s.jsx)(w,{}),title:(0,s.jsx)(a.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};const L={...{note:g,tip:x,info:k,warning:function(e){return(0,s.jsx)(h,{...C,...e,className:(0,r.Z)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,s.jsx)(h,{...B,...e,className:(0,r.Z)("alert alert--danger",e.className),children:e.children})}},...{secondary:e=>(0,s.jsx)(g,{title:"secondary",...e}),important:e=>(0,s.jsx)(k,{title:"important",...e}),success:e=>(0,s.jsx)(x,{title:"success",...e}),caution:function(e){return(0,s.jsx)(h,{..._,...e,className:(0,r.Z)("alert alert--warning",e.className),children:e.children})}}};function T(e){const t=i(e),n=(o=t.type,L[o]||(console.warn(`No admonition component found for admonition type "${o}". Using Info as fallback.`),L.info));var o;return(0,s.jsx)(n,{...t})}},9286:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>$});var o=n(7294),s=n(2389),i=n(6905),r=n(2949),a=n(6668);function c(){const{prism:e}=(0,a.L)(),{colorMode:t}=(0,r.I)(),n=e.theme,o=e.darkTheme||n;return"dark"===t?o:n}var l=n(5281),d=n(7594),u=n.n(d);const m=/title=(? ["'])(?.*?)\1/,h=/\{(? [\d,-]+)\}/,p={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},f={...p,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},vbnet:{start:"(?:_\\s*)?['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},g=Object.keys(p);function b(e,t){const n=e.map((e=>{const{start:n,end:o}=f[e];return`(?:${n}\\s*(${t.flatMap((e=>[e.line,e.block?.start,e.block?.end].filter(Boolean))).join("|")})\\s*${o})`})).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function v(e,t){let n=e.replace(/\n$/,"");const{language:o,magicComments:s,metastring:i}=t;if(i&&h.test(i)){const e=i.match(h).groups.range;if(0===s.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${i}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const t=s[0].className,o=u()(e).filter((e=>e>0)).map((e=>[e-1,[t]]));return{lineClassNames:Object.fromEntries(o),code:n}}if(void 0===o)return{lineClassNames:{},code:n};const r=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return b(["js","jsBlock"],t);case"jsx":case"tsx":return b(["js","jsBlock","jsx"],t);case"html":return b(["js","jsBlock","html"],t);case"python":case"py":case"bash":return b(["bash"],t);case"markdown":case"md":return b(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return b(["tex"],t);case"lua":case"haskell":case"sql":return b(["lua"],t);case"wasm":return b(["wasm"],t);case"vb":case"vba":case"visual-basic":return b(["vb","rem"],t);case"vbnet":return b(["vbnet","rem"],t);case"batch":return b(["rem"],t);case"basic":return b(["rem","f90"],t);case"fsharp":return b(["js","ml"],t);case"ocaml":case"sml":return b(["ml"],t);case"fortran":return b(["f90"],t);case"cobol":return b(["cobol"],t);default:return b(g,t)}}(o,s),a=n.split("\n"),c=Object.fromEntries(s.map((e=>[e.className,{start:0,range:""}]))),l=Object.fromEntries(s.filter((e=>e.line)).map((e=>{let{className:t,line:n}=e;return[n,t]}))),d=Object.fromEntries(s.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.start,t]}))),m=Object.fromEntries(s.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.end,t]})));for(let u=0;u void 0!==e));l[t]?c[l[t]].range+=`${u},`:d[t]?c[d[t]].start=u:m[t]&&(c[m[t]].range+=`${c[m[t]].start}-${u-1},`),a.splice(u,1)}n=a.join("\n");const p={};return Object.entries(c).forEach((e=>{let[t,{range:n}]=e;u()(n).forEach((e=>{p[e]??=[],p[e].push(t)}))})),{lineClassNames:p,code:n}}const x={codeBlockContainer:"codeBlockContainer_Ckt0"};var j=n(5893);function y(e){let{as:t,...n}=e;const o=function(e){const t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach((e=>{let[o,s]=e;const i=t[o];i&&"string"==typeof s&&(n[i]=s)})),n}(c());return(0,j.jsx)(t,{...n,style:o,className:(0,i.Z)(n.className,x.codeBlockContainer,l.k.common.codeBlock)})}const k={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"};function w(e){let{children:t,className:n}=e;return(0,j.jsx)(y,{as:"pre",tabIndex:0,className:(0,i.Z)(k.codeBlockStandalone,"thin-scrollbar",n),children:(0,j.jsx)("code",{className:k.codeBlockLines,children:t})})}var C=n(902);const N={attributes:!0,characterData:!0,childList:!0,subtree:!0};function B(e,t){const[n,s]=(0,o.useState)(),i=(0,o.useCallback)((()=>{s(e.current?.closest("[role=tabpanel][hidden]"))}),[e,s]);(0,o.useEffect)((()=>{i()}),[i]),function(e,t,n){void 0===n&&(n=N);const s=(0,C.zX)(t),i=(0,C.Ql)(n);(0,o.useEffect)((()=>{const t=new MutationObserver(s);return e&&t.observe(e,i),()=>t.disconnect()}),[e,s,i])}(n,(e=>{e.forEach((e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),i())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}var _=n(4798);const L={codeLine:"codeLine_lJS_",codeLineNumber:"codeLineNumber_Tfdd",codeLineContent:"codeLineContent_feaV"};function T(e){let{line:t,classNames:n,showLineNumbers:o,getLineProps:s,getTokenProps:r}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");const a=s({line:t,className:(0,i.Z)(n,o&&L.codeLine)}),c=t.map(((e,t)=>(0,j.jsx)("span",{...r({token:e})},t)));return(0,j.jsxs)("span",{...a,children:[o?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("span",{className:L.codeLineNumber}),(0,j.jsx)("span",{className:L.codeLineContent,children:c})]}):c,(0,j.jsx)("br",{})]})}var E=n(5999);function S(e){return(0,j.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,j.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function Z(e){return(0,j.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,j.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}const R={copyButtonCopied:"copyButtonCopied_obH4",copyButtonIcons:"copyButtonIcons_eSgA",copyButtonIcon:"copyButtonIcon_y97N",copyButtonSuccessIcon:"copyButtonSuccessIcon_LjdS"};function M(e){let{code:t,className:n}=e;const[s,r]=(0,o.useState)(!1),a=(0,o.useRef)(void 0),c=(0,o.useCallback)((()=>{!function(e,t){let{target:n=document.body}=void 0===t?{}:t;if("string"!=typeof e)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);const o=document.createElement("textarea"),s=document.activeElement;o.value=e,o.setAttribute("readonly",""),o.style.contain="strict",o.style.position="absolute",o.style.left="-9999px",o.style.fontSize="12pt";const i=document.getSelection(),r=i.rangeCount>0&&i.getRangeAt(0);n.append(o),o.select(),o.selectionStart=0,o.selectionEnd=e.length;let a=!1;try{a=document.execCommand("copy")}catch{}o.remove(),r&&(i.removeAllRanges(),i.addRange(r)),s&&s.focus()}(t),r(!0),a.current=window.setTimeout((()=>{r(!1)}),1e3)}),[t]);return(0,o.useEffect)((()=>()=>window.clearTimeout(a.current)),[]),(0,j.jsx)("button",{type:"button","aria-label":s?(0,E.I)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,E.I)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,E.I)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,i.Z)("clean-btn",n,R.copyButton,s&&R.copyButtonCopied),onClick:c,children:(0,j.jsxs)("span",{className:R.copyButtonIcons,"aria-hidden":"true",children:[(0,j.jsx)(S,{className:R.copyButtonIcon}),(0,j.jsx)(Z,{className:R.copyButtonSuccessIcon})]})})}function A(e){return(0,j.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,j.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}const z={wordWrapButtonIcon:"wordWrapButtonIcon_Bwma",wordWrapButtonEnabled:"wordWrapButtonEnabled_EoeP"};function O(e){let{className:t,onClick:n,isEnabled:o}=e;const s=(0,E.I)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,j.jsx)("button",{type:"button",onClick:n,className:(0,i.Z)("clean-btn",t,o&&z.wordWrapButtonEnabled),"aria-label":s,title:s,children:(0,j.jsx)(A,{className:z.wordWrapButtonIcon,"aria-hidden":"true"})})}function P(e){let{children:t,className:n="",metastring:s,title:r,showLineNumbers:l,language:d}=e;const{prism:{defaultLanguage:u,magicComments:h}}=(0,a.L)(),p=function(e){return e?.toLowerCase()}(d??function(e){const t=e.split(" ").find((e=>e.startsWith("language-")));return t?.replace(/language-/,"")}(n)??u),f=c(),g=function(){const[e,t]=(0,o.useState)(!1),[n,s]=(0,o.useState)(!1),i=(0,o.useRef)(null),r=(0,o.useCallback)((()=>{const n=i.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t((e=>!e))}),[i,e]),a=(0,o.useCallback)((()=>{const{scrollWidth:e,clientWidth:t}=i.current,n=e>t||i.current.querySelector("code").hasAttribute("style");s(n)}),[i]);return B(i,a),(0,o.useEffect)((()=>{a()}),[e,a]),(0,o.useEffect)((()=>(window.addEventListener("resize",a,{passive:!0}),()=>{window.removeEventListener("resize",a)})),[a]),{codeBlockRef:i,isEnabled:e,isCodeScrollable:n,toggle:r}}(),b=function(e){return e?.match(m)?.groups.title??""}(s)||r,{lineClassNames:x,code:w}=v(t,{metastring:s,language:p,magicComments:h}),C=l??function(e){return Boolean(e?.includes("showLineNumbers"))}(s);return(0,j.jsxs)(y,{as:"div",className:(0,i.Z)(n,p&&!n.includes(`language-${p}`)&&`language-${p}`),children:[b&&(0,j.jsx)("div",{className:k.codeBlockTitle,children:b}),(0,j.jsxs)("div",{className:k.codeBlockContent,children:[(0,j.jsx)(_.y$,{theme:f,code:w,language:p??"text",children:e=>{let{className:t,style:n,tokens:o,getLineProps:s,getTokenProps:r}=e;return(0,j.jsx)("pre",{tabIndex:0,ref:g.codeBlockRef,className:(0,i.Z)(t,k.codeBlock,"thin-scrollbar"),style:n,children:(0,j.jsx)("code",{className:(0,i.Z)(k.codeBlockLines,C&&k.codeBlockLinesWithNumbering),children:o.map(((e,t)=>(0,j.jsx)(T,{line:e,getLineProps:s,getTokenProps:r,classNames:x[t],showLineNumbers:C},t)))})})}}),(0,j.jsxs)("div",{className:k.buttonGroup,children:[(g.isEnabled||g.isCodeScrollable)&&(0,j.jsx)(O,{className:k.codeButton,onClick:()=>g.toggle(),isEnabled:g.isEnabled}),(0,j.jsx)(M,{className:k.codeButton,code:w})]})]})]})}function $(e){let{children:t,...n}=e;const i=(0,s.Z)(),r=function(e){return o.Children.toArray(e).some((e=>(0,o.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),a="string"==typeof r?P:w;return(0,j.jsx)(a,{...n,children:r},String(i))}},7265:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});n(7294);var o=n(6905),s=n(5999),i=n(5281),r=n(3692);const a={iconEdit:"iconEdit_Z9Sw"};var c=n(5893);function l(e){let{className:t,...n}=e;return(0,c.jsx)("svg",{fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,o.Z)(a.iconEdit,t),"aria-hidden":"true",...n,children:(0,c.jsx)("g",{children:(0,c.jsx)("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})})})}function d(e){let{editUrl:t}=e;return(0,c.jsxs)(r.Z,{to:t,className:i.k.common.editThisPage,children:[(0,c.jsx)(l,{}),(0,c.jsx)(s.Z,{id:"theme.common.editThisPage",description:"The link label to edit the current page",children:"Edit this page"})]})}var u=n(9788);function m(e){let{lastUpdatedAt:t}=e;const n=new Date(t),o=(0,u.P)({day:"numeric",month:"short",year:"numeric",timeZone:"UTC"}).format(n);return(0,c.jsx)(s.Z,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:(0,c.jsx)("b",{children:(0,c.jsx)("time",{dateTime:n.toISOString(),itemProp:"dateModified",children:o})})},children:" on {date}"})}function h(e){let{lastUpdatedBy:t}=e;return(0,c.jsx)(s.Z,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:(0,c.jsx)("b",{children:t})},children:" by {user}"})}function p(e){let{lastUpdatedAt:t,lastUpdatedBy:n}=e;return(0,c.jsxs)("span",{className:i.k.common.lastUpdated,children:[(0,c.jsx)(s.Z,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:t?(0,c.jsx)(m,{lastUpdatedAt:t}):"",byUser:n?(0,c.jsx)(h,{lastUpdatedBy:n}):""},children:"Last updated{atDate}{byUser}"}),!1]})}const f={lastUpdated:"lastUpdated_JAkA"};function g(e){let{className:t,editUrl:n,lastUpdatedAt:s,lastUpdatedBy:i}=e;return(0,c.jsxs)("div",{className:(0,o.Z)("row",t),children:[(0,c.jsx)("div",{className:"col",children:n&&(0,c.jsx)(d,{editUrl:n})}),(0,c.jsx)("div",{className:(0,o.Z)("col",f.lastUpdated),children:(s||i)&&(0,c.jsx)(p,{lastUpdatedAt:s,lastUpdatedBy:i})})]})}},3538:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Z});var o=n(7294),s=n(1151),i=n(5742),r=n(3010),a=n.n(r),c=n(5893);function l(e){return(0,c.jsx)("code",{...e})}var d=n(3692);var u=n(6905),m=n(788),h=n(8138),p=n(2389),f=n(6043);const g={details:"details_lb9f",isBrowser:"isBrowser_bmU9",collapsibleContent:"collapsibleContent_i85q"};function b(e){return!!e&&("SUMMARY"===e.tagName||b(e.parentElement))}function v(e,t){return!!e&&(e===t||v(e.parentElement,t))}function x(e){let{summary:t,children:n,...s}=e;(0,h.Z)().collectAnchor(s.id);const i=(0,p.Z)(),r=(0,o.useRef)(null),{collapsed:a,setCollapsed:l}=(0,f.u)({initialState:!s.open}),[d,u]=(0,o.useState)(s.open),x=o.isValidElement(t)?t:(0,c.jsx)("summary",{children:t??"Details"});return(0,c.jsxs)("details",{...s,ref:r,open:d,"data-collapsed":a,className:(0,m.Z)(g.details,i&&g.isBrowser,s.className),onMouseDown:e=>{b(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const t=e.target;b(t)&&v(t,r.current)&&(e.preventDefault(),a?(l(!1),u(!0)):l(!0))},children:[x,(0,c.jsx)(f.z,{lazy:!1,collapsed:a,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{l(e),u(!e)},children:(0,c.jsx)("div",{className:g.collapsibleContent,children:n})})]})}const j={details:"details_b_Ee"},y="alert alert--info";function k(e){let{...t}=e;return(0,c.jsx)(x,{...t,className:(0,u.Z)(y,j.details,t.className)})}function w(e){const t=o.Children.toArray(e.children),n=t.find((e=>o.isValidElement(e)&&"summary"===e.type)),s=(0,c.jsx)(c.Fragment,{children:t.filter((e=>e!==n))});return(0,c.jsx)(k,{...e,summary:n,children:s})}var C=n(2503);function N(e){return(0,c.jsx)(C.Z,{...e})}const B={containsTaskList:"containsTaskList_mC6p"};function _(e){if(void 0!==e)return(0,u.Z)(e,e?.includes("contains-task-list")&&B.containsTaskList)}const L={img:"img_ev3q"};var T=n(9047),E=n(1875);const S={Head:i.Z,details:w,Details:w,code:function(e){return function(e){return void 0!==e.children&&o.Children.toArray(e.children).every((e=>"string"==typeof e&&!e.includes("\n")))}(e)?(0,c.jsx)(l,{...e}):(0,c.jsx)(a(),{...e})},a:function(e){return(0,c.jsx)(d.Z,{...e})},pre:function(e){return(0,c.jsx)(c.Fragment,{children:e.children})},ul:function(e){return(0,c.jsx)("ul",{...e,className:_(e.className)})},li:function(e){return(0,h.Z)().collectAnchor(e.id),(0,c.jsx)("li",{...e})},img:function(e){return(0,c.jsx)("img",{decoding:"async",loading:"lazy",...e,className:(t=e.className,(0,u.Z)(t,L.img))});var t},h1:e=>(0,c.jsx)(N,{as:"h1",...e}),h2:e=>(0,c.jsx)(N,{as:"h2",...e}),h3:e=>(0,c.jsx)(N,{as:"h3",...e}),h4:e=>(0,c.jsx)(N,{as:"h4",...e}),h5:e=>(0,c.jsx)(N,{as:"h5",...e}),h6:e=>(0,c.jsx)(N,{as:"h6",...e}),admonition:T.Z,mermaid:E.Z};function Z(e){let{children:t}=e;return(0,c.jsx)(s.Z,{components:S,children:t})}},9788:(e,t,n)=>{"use strict";n.d(t,{P:()=>s});var o=n(2263);function s(e){void 0===e&&(e={});const{i18n:{currentLocale:t}}=(0,o.default)(),n=function(){const{i18n:{currentLocale:e,localeConfigs:t}}=(0,o.default)();return t[e].calendar}();return new Intl.DateTimeFormat(t,{calendar:n,...e})}},7594:(e,t)=>{function n(e){let t,n=[];for(let o of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(o))n.push(parseInt(o,10));else if(t=o.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,o,s,i]=t;if(o&&i){o=parseInt(o),i=parseInt(i);const e=o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCodeblockThemeConfig=void 0;var o=n(1506);Object.defineProperty(t,"useCodeblockThemeConfig",{enumerable:!0,get:function(){return o.useCodeblockThemeConfig}})},1506:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useCodeblockThemeConfig=void 0;const s=o(n(2263)),i={showGithubLink:!0,githubLinkLabel:"View on GitHub",showRunmeLink:!1,runmeLinkLabel:"Checkout via Runme"};t.useCodeblockThemeConfig=function(){const{siteConfig:{themeConfig:e}}=(0,s.default)();return Object.assign(i,e.codeblock||{})}},3010:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=o(n(7294)),i=o(n(7381)),r=o(n(9286));t.default=(r.default,e=>function(e){return e.reference||e.metastring?.split(" ").includes("reference")}(e)?s.default.createElement(i.default,{...e}):s.default.createElement(r.default,{...e}))},8339:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getRunmeLink=t.RunmeLink=void 0;const s=o(n(7294)),i=o(n(1262)),r=n(7965),a=n(6275),c=n(4354),l=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,d=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;function u(e){let{reference:t,metastring:n}=e;const o=navigator.userAgent||navigator.vendor||window.opera,i=(0,r.useCodeblockThemeConfig)(),a=!function(e){return l.test(e)||d.test(e.substr(0,4))}(o)&&i.showRunmeLink&&n;return a?s.default.createElement("a",{href:`vscode://stateful.runme?${m(t,n)}`,className:"runmeLink",target:"_blank",style:c.buttonStyles},i.runmeLinkLabel):null}function m(e,t){const n=new URLSearchParams({command:"setup"}),o=t.match(/runmeRepository="(? [^"]*)"/),s=t.match(/runmeFileToOpen="(? [^"]*)"/),i=t.match(/useHTTPS|useHTTPS=(false|true)/);if(e.endsWith(".md"))return n.set("fileToOpen",(0,a.parseReference)(e).url),n.toString();if(s?.groups?.fileToOpen)return n.set("fileToOpen",s.groups.fileToOpen),o?.groups?.repository&&n.set("repository",o.groups.repository),n.toString();const{org:r,repo:c,title:l}=(0,a.parseReference)(e),d=i&&i.input&&(i.input.includes("useHTTPS=true")||i.input.includes(" useHTTPS ")||i.input.endsWith("useHTTPS"))?"https://github.com/":"git@github.com:";return n.set("repository",`${d}${r}/${c}.git`),n.set("fileToOpen",l.split("/").slice(0,-1).join("/")+"/README.md"),n.toString()}t.RunmeLink=function(e){return s.default.createElement(i.default,null,(()=>s.default.createElement(u,{...e})))},t.getRunmeLink=m},4354:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buttonStyles=t.initialFetchResultState=void 0,t.initialFetchResultState={code:"loading...",error:null,loading:null},t.buttonStyles={margin:"0 10px"}},7381:function(e,t,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var s=Object.getOwnPropertyDescriptor(t,n);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,s)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return s(t,e),t},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const a=i(n(7294)),c=r(n(9286)),l=n(7965),d=n(8339),u=n(6275),m=n(4354),h={fontSize:".9em",fontWeight:600,color:"#0E75DD",textAlign:"right",paddingBottom:"13px",textDecoration:"underline"};t.default=function(e){const[t,n]=(0,a.useReducer)(u.codeReducer,m.initialFetchResultState),o=(0,u.parseReference)(e.children);!1!==t.loading&&(0,u.fetchCode)(o,n);const s=e.metastring?.match(/title="(? [^"]*)"/),i={...e,metastring:s?.groups?.title?`${e.metastring} title="${s?.groups?.title}"`:`${e.metastring} title="${o.title}"`,children:m.initialFetchResultState.code},r=(0,l.useCodeblockThemeConfig)(),p=r.showGithubLink||r.showRunmeLink;return a.default.createElement("div",{className:"docusaurus-theme-github-codeblock"},a.default.createElement(c.default,{...i},t.code),p&&a.default.createElement("div",{style:h},a.default.createElement(d.RunmeLink,{reference:e.children,metastring:e.metastring}),r.showGithubLink&&a.default.createElement("a",{href:e.children,className:"githubLink",style:m.buttonStyles,target:"_blank"},r.githubLinkLabel)))}},6275:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.codeReducer=t.fetchCode=t.parseReference=void 0;const o=n(4354);t.parseReference=function(e){const t=e.slice(e.indexOf("https")),[o,s]=t.split("#"),[i,r,a,c,...l]=new n.g.URL(o).pathname.split("/").slice(1),[d,u]=s?s.split("-").map((e=>parseInt(e.slice(1),10)-1)):[0,1/0];return{url:`https://raw.githubusercontent.com/${i}/${r}/${c}/${l.join("/")}`,fromLine:d,toLine:u,title:l.join("/"),org:i,repo:r}},t.fetchCode=async function(e,t){let n,{url:o,fromLine:s,toLine:i}=e;try{n=await fetch(o)}catch(c){return t({type:"error",value:c})}if(200!==n.status){return t({type:"error",value:await n.text()})}const r=(await n.text()).split("\n").slice(s,(i||s)+1),a=r.reduce(((e,t)=>{if(0===t.length)return e;const n=t.match(/^\s+/);return n?Math.min(e,n[0].length):0}),1/0);return 0===r.length?t({type:"error",value:`Error: No code found at ${o} from line ${s} to line ${i}`}):t({type:"loaded",value:r.map((e=>e.slice(a))).join("\n")})},t.codeReducer=function(e,t){let{type:n,value:s}=t;switch(n){case"reset":return o.initialFetchResultState;case"loading":return{...e,loading:!0};case"loaded":case"error":return{...e,code:s,loading:!1};default:return e}}},1151:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,a:()=>r});var o=n(7294);const s={},i=o.createContext(s);function r(e){const t=o.useContext(i);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),o.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2aeac215.a1f7cf28.js b/assets/js/2aeac215.a1f7cf28.js new file mode 100644 index 0000000..700151b --- /dev/null +++ b/assets/js/2aeac215.a1f7cf28.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[439],{4565:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>h,frontMatter:()=>r,metadata:()=>c,toc:()=>a});var o=n(5893),s=n(1151);const r={},i="Creating your first smart contract",c={id:"tutorials/first-contract",title:"Creating your first smart contract",description:"This tutorial helps you to create your first simple Hello-world smart contract!",source:"@site/docs/tutorials/first-contract.md",sourceDirName:"tutorials",slug:"/tutorials/first-contract",permalink:"/docs/tutorials/first-contract",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"SDK",permalink:"/docs/references/sdk"},next:{title:"Invoke contract",permalink:"/docs/tutorials/invoke-contract"}},l={},a=[{value:"Prerequisites",id:"prerequisites",level:2},{value:"NodeJS version 16",id:"nodejs-version-16",level:3},{value:"IPFS",id:"ipfs",level:3},{value:"Git",id:"git",level:3},{value:"Hive account",id:"hive-account",level:3},{value:"Environment setup",id:"environment-setup",level:3},{value:"Code the contract",id:"code-the-contract",level:3},{value:"Test",id:"test",level:3},{value:"Deploy",id:"deploy",level:3},{value:"Validate",id:"validate",level:3}];function d(e){const t={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.h1,{id:"creating-your-first-smart-contract",children:"Creating your first smart contract"}),"\n",(0,o.jsxs)(t.p,{children:["This tutorial helps you to create your first simple ",(0,o.jsx)(t.code,{children:"Hello-world"})," smart contract!"]}),"\n",(0,o.jsx)(t.h2,{id:"prerequisites",children:"Prerequisites"}),"\n",(0,o.jsx)(t.h3,{id:"nodejs-version-16",children:"NodeJS version 16"}),"\n",(0,o.jsx)(t.p,{children:"Our current ecosystem uses NodeJS version 16 LTS."}),"\n",(0,o.jsxs)(t.p,{children:["You can download the installer for windows ",(0,o.jsx)(t.a,{href:"https://nodejs.org/dist/v16.20.2/node-v16.20.2-x64.msi",children:"here"}),"."]}),"\n",(0,o.jsxs)(t.p,{children:["If you are also using NodeJS for other projects, that require a different NodeJS version, we recommend ",(0,o.jsx)(t.a,{href:"https://github.com/coreybutler/nvm-windows",children:"nvm-windows (windows)"})," and ",(0,o.jsx)(t.a,{href:"https://github.com/nvm-sh/nvm",children:"nvm (linux)"}),". Nvm is an abbreviation for ",(0,o.jsx)(t.em,{children:"node version manager"})," and helps you to keep track and switch to multiple versions of node on one operating system."]}),"\n",(0,o.jsx)(t.h3,{id:"ipfs",children:"IPFS"}),"\n",(0,o.jsx)(t.p,{children:"You need IPFS to be able to ingest data into the VSC network."}),"\n",(0,o.jsxs)(t.p,{children:["For a user friendly desktop application you can use ",(0,o.jsx)(t.code,{children:"IPFS Desktop"}),". It is available for windows/ mac/ ubuntu ",(0,o.jsx)(t.a,{href:"https://docs.ipfs.tech/install/ipfs-desktop/#install-instructions",children:"here"}),"."]}),"\n",(0,o.jsxs)(t.p,{children:["For a more classical cli experience you can refer to the ",(0,o.jsx)(t.a,{href:"https://docs.ipfs.tech/install/command-line/#install-official-binary-distributions",children:"binary installation tutorials"}),"."]}),"\n",(0,o.jsx)(t.h3,{id:"git",children:"Git"}),"\n",(0,o.jsxs)(t.p,{children:["You need to install Git to clone the template repository. Refer to the ",(0,o.jsx)(t.a,{href:"https://git-scm.com/downloads",children:"official installation instructions"}),"."]}),"\n",(0,o.jsx)(t.h3,{id:"hive-account",children:"Hive account"}),"\n",(0,o.jsxs)(t.p,{children:["A Hive account is required to deploy the contract to the VSC network, if you dont have one already please visit ",(0,o.jsx)(t.a,{href:"https://signup.hive.io",children:"signup.hive.io"}),"."]}),"\n",(0,o.jsx)(t.h3,{id:"environment-setup",children:"Environment setup"}),"\n",(0,o.jsxs)(t.ol,{children:["\n",(0,o.jsxs)(t.li,{children:["Clone our smart contract template repo locally: ",(0,o.jsx)(t.code,{children:"git clone https://github.com/vsc-eco/contract-template.git"})]}),"\n",(0,o.jsx)(t.li,{children:(0,o.jsx)(t.code,{children:"cd contract-template"})}),"\n",(0,o.jsxs)(t.li,{children:["Open with your favorite code editor. We recommend ",(0,o.jsx)(t.a,{href:"https://code.visualstudio.com/download",children:"visual studio code"})]}),"\n",(0,o.jsxs)(t.li,{children:["install the node modules: ",(0,o.jsx)(t.code,{children:"npm i"})]}),"\n"]}),"\n",(0,o.jsx)(t.h3,{id:"code-the-contract",children:"Code the contract"}),"\n",(0,o.jsxs)(t.p,{children:["The file that is used as an initial compilation target for the contract is ",(0,o.jsx)(t.code,{children:"assembly/index.ts"}),"."]}),"\n",(0,o.jsx)(t.p,{children:"By default, it is filled with sample code. We will remove all existing code from the file so that it is empty."}),"\n",(0,o.jsxs)(t.blockquote,{children:["\n",(0,o.jsxs)(t.p,{children:["For our simple example we will write a contract with one entrypoint that logs and stores ",(0,o.jsx)(t.code,{children:"Hello world"}),"."]}),"\n"]}),"\n",(0,o.jsx)(t.p,{children:"We start by defining an entrypoint method. The methods name is important, it is also the name that is used to interact with the contract afterwards!"}),"\n",(0,o.jsxs)(t.blockquote,{children:["\n",(0,o.jsxs)(t.p,{children:["It is also important that you ",(0,o.jsx)(t.em,{children:"export"})," the method. Only exported methods can be used as contract entrypoints."]}),"\n"]}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-typescript",children:"export function MyFirstContractTest(): void {\n \n}\n"})}),"\n",(0,o.jsxs)(t.p,{children:["Then we start populating this method with some code. We will use the built in ",(0,o.jsx)(t.code,{children:"console.log"})," mechanics to log and ",(0,o.jsx)(t.code,{children:"db.setObject()"})," from the VSC sdk to store data inside of the contract."]}),"\n",(0,o.jsxs)(t.p,{children:["To learn more about the exposed functionalities of the VSC sdk visit ",(0,o.jsx)(t.a,{href:"/docs/references/sdk",children:"this document"}),"."]}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-typescript",children:'import { db } from \'@vsc.eco/sdk/assembly\';\n\nexport function myFirstContractTest(): void {\n console.log("Hello world debug!")\n db.setObject("my-storage-key", "Hello world prod!")\n}\n'})}),"\n",(0,o.jsx)(t.h3,{id:"test",children:"Test"}),"\n",(0,o.jsxs)(t.p,{children:["For testing our contract, we use ",(0,o.jsx)(t.a,{href:"https://jestjs.io/",children:(0,o.jsx)(t.em,{children:"jest"})}),"."]}),"\n",(0,o.jsxs)(t.p,{children:["The file we are going to write our tests under is ",(0,o.jsx)(t.code,{children:"tests/index.ts"}),". It also contains sample code that can be removed. Don't remove the entire testing suite, though!"]}),"\n",(0,o.jsx)(t.p,{children:"The basic setup after the removal of the sample code looks like this."}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-typescript",children:'import {\n contract,\n reset,\n stateCache,\n setContractImport,\n} from "@vsc.eco/contract-testing-utils";\n\nimport { expect } from "chai";\nconst beforeAll = globalThis.beforeAll || globalThis.before;\n\nconst contractImport = import("../build/debug");\n\nbeforeAll(() => setContractImport(contractImport));\n\nbeforeEach(reset);\n\ndescribe("hello-world", () => {\n\n});\n'})}),"\n",(0,o.jsxs)(t.p,{children:["We can now start to implement our test. For that, we use ",(0,o.jsx)(t.em,{children:"jest's"})," commonly used ",(0,o.jsx)(t.code,{children:"it()"})," syntax and insert expect statements to the test suite can verify our results. For now, we will test if a contract invocation actually changes the contract state. This may look like this:"]}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-typescript",children:'import {\n contract,\n reset,\n stateCache,\n setContractImport,\n} from "@vsc.eco/contract-testing-utils";\n\nimport { expect } from "chai";\nconst beforeAll = globalThis.beforeAll || globalThis.before;\n\nconst contractImport = import("../build/debug");\n\nbeforeAll(() => setContractImport(contractImport));\n\nbeforeEach(reset);\n\ndescribe("hello-world", () => {\n it("should set a value in persisting storage", () => {\n contract.myFirstContractTest()\n \n expect(stateCache.get("my-storage-key")).to.equal("Hello world prod!");\n });\n});\n\n'})}),"\n",(0,o.jsx)(t.p,{children:"But before we can execute the test, we need to compile our assembly script code to webassembly (the more generic, language agnostic compilation target)."}),"\n",(0,o.jsxs)(t.blockquote,{children:["\n",(0,o.jsx)(t.p,{children:"We need to recompile every time we have done some changes on the assembly script code!"}),"\n"]}),"\n",(0,o.jsx)(t.p,{children:"For that we use:"}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.code,{children:"npm run asbuild:debug"})}),"\n",(0,o.jsxs)(t.blockquote,{children:["\n",(0,o.jsxs)(t.p,{children:["As a side note, ",(0,o.jsx)(t.code,{children:"assembly/index.ts"})," is ",(0,o.jsx)(t.em,{children:"assembly script"})," code. It looks similar to typescript, but is a superset of it. The tests are written in ",(0,o.jsx)(t.em,{children:"typescript"})," and what is being compiled to a contract is just the ",(0,o.jsx)(t.em,{children:"assembly script"})," code."]}),"\n"]}),"\n",(0,o.jsx)(t.p,{children:"Now we can run the tests with:"}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.code,{children:"npm run test"})}),"\n",(0,o.jsxs)(t.p,{children:["The tests should succeed and we should see the log ",(0,o.jsx)(t.code,{children:"Hello world debug!"})," in our console. If this is the case for you, you are good to go!"]}),"\n",(0,o.jsx)(t.h3,{id:"deploy",children:"Deploy"}),"\n",(0,o.jsxs)(t.p,{children:["The ",(0,o.jsx)(t.code,{children:"contract-template"})," repository contains a deployment script to upload your contract to the VSC network. Keep in mind that an IPFS client needs to be running for a successful operation."]}),"\n",(0,o.jsx)(t.p,{children:"We can run the deployment script with:"}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.code,{children:"npm run deploy"})}),"\n",(0,o.jsx)(t.h3,{id:"validate",children:"Validate"}),"\n",(0,o.jsxs)(t.p,{children:["The deployed contract should now be visible ",(0,o.jsx)(t.a,{href:"/docs/references/block-explorers#contract-information",children:"in the block explorer"}),"."]}),"\n",(0,o.jsxs)(t.p,{children:["Now it's time to invoke our contract's ",(0,o.jsx)(t.code,{children:"MyFirstContractTest"})," method on the VSC network."]}),"\n",(0,o.jsxs)(t.p,{children:["For that, we are going to create a small demo application that makes use of the ",(0,o.jsx)(t.em,{children:"VSC client"}),". Please ",(0,o.jsx)(t.a,{href:"/docs/tutorials/invoke-contract",children:"refer to this guide"})," for how to do so. After you created the application and sent the transaction to the VSC network come back to this guide."]}),"\n",(0,o.jsx)(t.p,{children:"After a short amount of time, after the submission of the transaction, we should be able to see our transaction included in one of the latest VSC blocks."}),"\n",(0,o.jsxs)(t.p,{children:["First, we should see a ",(0,o.jsx)(t.code,{children:"CALL_CONTRACT"})," operation. This transaction is the directly linked to our transaction submission."]}),"\n",(0,o.jsxs)(t.p,{children:["In the consecutive block, we should see a ",(0,o.jsx)(t.code,{children:"CONTRACT_OUTPUT"})," transaction. This is the actual processed result by the network."]}),"\n",(0,o.jsxs)(t.p,{children:["We verify the functionality of our method, by checking the contract storage. Whilst the outputs of log method calls are also attached to a ",(0,o.jsx)(t.code,{children:"CONTRACT_OUTPUT"}),", it is ",(0,o.jsx)(t.em,{children:"NOT"})," the recommended way of debugging a contract on the live network."]}),"\n",(0,o.jsxs)(t.p,{children:["We expect the contract state to contain a key by the name of ",(0,o.jsx)(t.code,{children:"my-storage-key"})," with the value ",(0,o.jsx)(t.code,{children:"Hello world prod!"}),"."]}),"\n",(0,o.jsxs)(t.p,{children:["To check the contract's current state please refer to the ",(0,o.jsx)(t.a,{href:"/docs/references/api#contract-state",children:"API documentation"}),"."]}),"\n",(0,o.jsx)(t.p,{children:"If your contract's state contains this data, congratulations! You have successfully created, tested and deployed your first contract on the VSC network!"})]})}function h(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>c,a:()=>i});var o=n(7294);const s={},r=o.createContext(s);function i(e){const t=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),o.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2b5143bb.cfa46805.js b/assets/js/2b5143bb.cfa46805.js new file mode 100644 index 0000000..583e415 --- /dev/null +++ b/assets/js/2b5143bb.cfa46805.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[853],{9521:(e,o,t)=>{t.r(o),t.d(o,{assets:()=>d,contentTitle:()=>i,default:()=>l,frontMatter:()=>r,metadata:()=>a,toc:()=>c});var n=t(5893),s=t(1151);const r={},i="FAQ",a={id:"discussions/FAQ",title:"FAQ",description:"Do we supply node snapshots for node operators?",source:"@site/docs/discussions/FAQ.md",sourceDirName:"discussions",slug:"/discussions/FAQ",permalink:"/docs/discussions/FAQ",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Introduction",permalink:"/docs/Introduction"},next:{title:"core-philosophy",permalink:"/docs/discussions/core-philosophy"}},d={},c=[{value:"Do we supply node snapshots for node operators?",id:"do-we-supply-node-snapshots-for-node-operators",level:2},{value:"Are there any node rewards?",id:"are-there-any-node-rewards",level:2},{value:"When will I be able to deploy my token on VSC?",id:"when-will-i-be-able-to-deploy-my-token-on-vsc",level:2},{value:"How do I run a node?",id:"how-do-i-run-a-node",level:2},{value:"Why do I see Error: No withdrawals to process?",id:"why-do-i-see-error-no-withdrawals-to-process",level:2},{value:"How do to update a node?",id:"how-do-to-update-a-node",level:2},{value:"How to check if a node is up to date?",id:"how-to-check-if-a-node-is-up-to-date",level:2},{value:"How do I migrate from the vsc-node repo to the vsc-deployment repo?",id:"how-do-i-migrate-from-the-vsc-node-repo-to-the-vsc-deployment-repo",level:2},{value:"How do I start writing a smart contract on VSC?",id:"how-do-i-start-writing-a-smart-contract-on-vsc",level:2},{value:"Why is the documentation structured in this way?",id:"why-is-the-documentation-structured-in-this-way",level:2}];function h(e){const o={a:"a",code:"code",em:"em",h1:"h1",h2:"h2",li:"li",ol:"ol",p:"p",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.h1,{id:"faq",children:"FAQ"}),"\n",(0,n.jsx)(o.h2,{id:"do-we-supply-node-snapshots-for-node-operators",children:"Do we supply node snapshots for node operators?"}),"\n",(0,n.jsx)(o.p,{children:"No, you're node should sync up in ~1 day. If it takes significantly longer than that, contact us."}),"\n",(0,n.jsx)(o.h2,{id:"are-there-any-node-rewards",children:"Are there any node rewards?"}),"\n",(0,n.jsx)(o.p,{children:"Not yet. We have plans of doing a proof of burn model were node operators essentially buy credits to produce blocks. Then, when you produce blocks, you'd get a small reward on top of your initial investment.\nNote: We are not guaranteeing any specifics at the moment. This is subject to change as we do addition research."}),"\n",(0,n.jsx)(o.h2,{id:"when-will-i-be-able-to-deploy-my-token-on-vsc",children:"When will I be able to deploy my token on VSC?"}),"\n",(0,n.jsx)(o.p,{children:"We do not have a specific timeline for this.\nHowever, we are currently working on token and wrapping technology internally with HIVE, HBD, and BTC. Once all the kinks are ironed out with that, we will define public token standard(s) and create a reference implementation for each of those standard(s)."}),"\n",(0,n.jsx)(o.h2,{id:"how-do-i-run-a-node",children:"How do I run a node?"}),"\n",(0,n.jsxs)(o.p,{children:["Checkout ",(0,n.jsx)(o.a,{href:"https://github.com/vsc-eco/vsc-deployment",children:"this repository"}),"."]}),"\n",(0,n.jsx)(o.h2,{id:"why-do-i-see-error-no-withdrawals-to-process",children:"Why do I see Error: No withdrawals to process?"}),"\n",(0,n.jsx)(o.p,{children:"This is typically normal, especially when your node is re-indexing. Most blocks don't generate withdrawals from the multisig, at the moment. In fact, at the time of writing, there should only be 1 withdrawal from vaultec, so you should see this message many times in your logs."}),"\n",(0,n.jsx)(o.h2,{id:"how-do-to-update-a-node",children:"How do to update a node?"}),"\n",(0,n.jsx)(o.p,{children:"Firstly, be sure to use the deployment from #4 \u2060faqs\u2060 and then run sudo docker-compose up -d. This will pull the latest VSC node docker image automatically."}),"\n",(0,n.jsx)(o.h2,{id:"how-to-check-if-a-node-is-up-to-date",children:"How to check if a node is up to date?"}),"\n",(0,n.jsx)(o.p,{children:(0,n.jsx)(o.code,{children:"sudo docker-compose exec vsc-node cat .git/refs/heads/main"})}),"\n",(0,n.jsx)(o.p,{children:"This will show you the commit you are on."}),"\n",(0,n.jsxs)(o.p,{children:["Then you can compare it the latest commit in the vsc-node ",(0,n.jsx)(o.a,{href:"https://github.com/vsc-eco/vsc-node/commits/main/",children:"GitHub repo"}),"."]}),"\n",(0,n.jsx)(o.h2,{id:"how-do-i-migrate-from-the-vsc-node-repo-to-the-vsc-deployment-repo",children:"How do I migrate from the vsc-node repo to the vsc-deployment repo?"}),"\n",(0,n.jsxs)(o.ol,{children:["\n",(0,n.jsx)(o.li,{children:"cd ~/vsc-node (or where ever your vsc-node repo is)"}),"\n",(0,n.jsx)(o.li,{children:"sudo docker-compose down"}),"\n",(0,n.jsx)(o.li,{children:"sudo ./migrate.sh"}),"\n",(0,n.jsx)(o.li,{children:"cd ../vsc-deployment (or where ever you set the new repo to be)"}),"\n",(0,n.jsx)(o.li,{children:"sudo docker-compose up -d"}),"\n"]}),"\n",(0,n.jsx)(o.h2,{id:"how-do-i-start-writing-a-smart-contract-on-vsc",children:"How do I start writing a smart contract on VSC?"}),"\n",(0,n.jsxs)(o.p,{children:["This is our contract template. It should be enough to get started. There is usage and suggestions in ",(0,n.jsx)(o.a,{href:"https://github.com/vsc-eco/contract-template",children:"this repo"})," README."]}),"\n",(0,n.jsxs)(o.p,{children:["Also, ",(0,n.jsx)(o.a,{href:"https://github.com/vsc-eco/dex",children:"here is a DEX"})," that we are working on that tries to use/showcase best practices for writing VSC contracts."]}),"\n",(0,n.jsx)(o.p,{children:"As for a formal docs site, we don't have that at the moment."}),"\n",(0,n.jsx)(o.p,{children:"However, you can checkout the AssemblyScript docs for usage of the smart contract language. It is very similar to TypeScript. Then, everything you need to interface with the VSC chain state is available in the @vsc.eco/sdk npm package."}),"\n",(0,n.jsx)(o.p,{children:"If you have any concrete suggestions about what we should include in a formal documentation site, please let us know."}),"\n",(0,n.jsx)(o.h2,{id:"why-is-the-documentation-structured-in-this-way",children:"Why is the documentation structured in this way?"}),"\n",(0,n.jsxs)(o.p,{children:["The documentation approach is based on the ",(0,n.jsx)(o.em,{children:"Di\xe1taxis"})," principle. You can watch a summary about it ",(0,n.jsx)(o.a,{href:"https://www.youtube.com/watch?v=t4vKPhjcMZg",children:"here"}),"."]})]})}function l(e={}){const{wrapper:o}={...(0,s.a)(),...e.components};return o?(0,n.jsx)(o,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},1151:(e,o,t)=>{t.d(o,{Z:()=>a,a:()=>i});var n=t(7294);const s={},r=n.createContext(s);function i(e){const o=n.useContext(r);return n.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function a(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),n.createElement(r.Provider,{value:o},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/33971a9f.32a4ce7a.js b/assets/js/33971a9f.32a4ce7a.js new file mode 100644 index 0000000..bdc5be0 --- /dev/null +++ b/assets/js/33971a9f.32a4ce7a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[440],{609:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>s,default:()=>u,frontMatter:()=>i,metadata:()=>c,toc:()=>d});var o=t(5893),r=t(1151);const i={},s="Running a node",c={id:"how-to/host-node",title:"Running a node",description:"This document will guide you through the process of setting up a VSC node .",source:"@site/docs/how-to/host-node.mdx",sourceDirName:"how-to",slug:"/how-to/host-node",permalink:"/docs/how-to/host-node",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Generate wallet",permalink:"/docs/how-to/generate-wallet"},next:{title:"Account types",permalink:"/docs/references/account-types"}},l={},d=[{value:"Prerequisites",id:"prerequisites",level:2},{value:"Video guide",id:"video-guide",level:2},{value:"Setup",id:"setup",level:2}];function a(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",ul:"ul",...(0,r.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"running-a-node",children:"Running a node"}),"\n",(0,o.jsx)(n.p,{children:"This document will guide you through the process of setting up a VSC node ."}),"\n",(0,o.jsx)(n.h2,{id:"prerequisites",children:"Prerequisites"}),"\n",(0,o.jsx)(n.p,{children:"Requirements:"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsx)(n.li,{children:"Hive account (50HP, will rise in the future)"}),"\n",(0,o.jsx)(n.li,{children:"Technical knowledge of using a command line interface"}),"\n",(0,o.jsxs)(n.li,{children:["Docker and docker-compose installed. Please see ",(0,o.jsx)(n.a,{href:"https://docs.docker.com/get-docker/",children:"https://docs.docker.com/get-docker/"})," for installation guide for docker."]}),"\n"]}),"\n",(0,o.jsx)(n.p,{children:"System requirements are very low, in the future requirements will rise as network usage incrases."}),"\n",(0,o.jsx)(n.p,{children:"System requirements:"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsx)(n.li,{children:"Raspberry pi 4 or better"}),"\n",(0,o.jsx)(n.li,{children:"4 cores, 2GB ram or better"}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"video-guide",children:"Video guide"}),"\n",(0,o.jsx)("iframe",{src:"https://3speak.tv/watch?v=vsc.network/uthosijv",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture; fullscreen"}),"\n",(0,o.jsx)(n.h2,{id:"setup",children:"Setup"}),"\n",(0,o.jsx)(n.p,{children:"The setup:"}),"\n",(0,o.jsxs)(n.p,{children:["1 ) ",(0,o.jsx)(n.code,{children:"git clone https://github.com/vsc-eco/vsc-node"})]}),"\n",(0,o.jsxs)(n.p,{children:["2 ) ",(0,o.jsx)(n.code,{children:"cd vsc-node"})]}),"\n",(0,o.jsx)(n.p,{children:"3 ) < Fill in .env file here >"}),"\n",(0,o.jsx)(n.p,{children:"You'll need to create a .env file with the following values from the .env.example file."}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{children:"# Fill these in with your hive account details\nHIVE_ACCOUNT=Insert hive account username\nHIVE_ACCOUNT_POSTING=Insert hive account posting key\nHIVE_ACCOUNT_ACTIVE=Insert hive account active key\n"})}),"\n",(0,o.jsx)(n.p,{children:"We generally recommend you use a different Hive account from your main account."}),"\n",(0,o.jsxs)(n.p,{children:["4 ) ",(0,o.jsx)(n.code,{children:"docker-compose up -d"})]}),"\n",(0,o.jsx)(n.p,{children:"You should be off to the races at this point! We can verify that your node is operating correctly on our discord server. Please actively monitor our Hive blog and discord server for incoming updates regarding VSC. You will need to consistent update your node as we release new versions of the software. Staying up to date with the rest of the network is critical in ensuring reliable operation of the network."}),"\n",(0,o.jsx)(n.p,{children:"You can disable automatic updates by setting the environment variable AUTO_UPDATE to false. However, we recommend to keep this feature enabled to ensure the node is always up-to-date. In our rapidly evolving ecosystem, it's crucial to keep the node updated for optimal network health."})]})}function u(e={}){const{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(a,{...e})}):a(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>c,a:()=>s});var o=t(7294);const r={},i=o.createContext(r);function s(e){const n=o.useContext(i);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),o.createElement(i.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/3634a328.f31f45da.js b/assets/js/3634a328.f31f45da.js new file mode 100644 index 0000000..5ce2fa0 --- /dev/null +++ b/assets/js/3634a328.f31f45da.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[241],{8258:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>i,default:()=>h,frontMatter:()=>r,metadata:()=>c,toc:()=>u});var o=n(5893),s=n(1151);const r={},i="Account types",c={id:"references/account-types",title:"Account types",description:"The VSC network supports various account types for authentification.",source:"@site/docs/references/account-types.md",sourceDirName:"references",slug:"/references/account-types",permalink:"/docs/references/account-types",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Running a node",permalink:"/docs/how-to/host-node"},next:{title:"API documentation",permalink:"/docs/references/api"}},a={},u=[{value:"DID | Private/ Public key",id:"did--private-public-key",level:2},{value:"HIVE",id:"hive",level:2},{value:"ETH",id:"eth",level:2}];function l(e){const t={a:"a",em:"em",h1:"h1",h2:"h2",p:"p",...(0,s.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.h1,{id:"account-types",children:"Account types"}),"\n",(0,o.jsx)(t.p,{children:"The VSC network supports various account types for authentification."}),"\n",(0,o.jsx)(t.h2,{id:"did--private-public-key",children:"DID | Private/ Public key"}),"\n",(0,o.jsxs)(t.p,{children:["You can authenticate yourself with an ",(0,o.jsx)(t.em,{children:"ed25519"})," compatible private/ public key pair."]}),"\n",(0,o.jsxs)(t.p,{children:["For a tutorial on how to generate such keys, please take a look at ",(0,o.jsx)(t.a,{href:"/docs/how-to/generate-wallet",children:"this document"}),"."]}),"\n",(0,o.jsx)(t.h2,{id:"hive",children:"HIVE"}),"\n",(0,o.jsxs)(t.p,{children:["You can directly use your ",(0,o.jsx)(t.a,{href:"https://hive.io/",children:"HIVE"})," account to communicate with the VSC network."]}),"\n",(0,o.jsx)(t.p,{children:"To register a HIVE account, you need someone with an existing account to invite you to the network."}),"\n",(0,o.jsxs)(t.p,{children:["This is also offered as a service by various providers. For more information please take a look at ",(0,o.jsx)(t.a,{href:"https://signup.hive.io/",children:"HIVE's signup page"}),"."]}),"\n",(0,o.jsx)(t.h2,{id:"eth",children:"ETH"}),"\n",(0,o.jsx)(t.p,{children:"We do support Ethereum based wallets."}),"\n",(0,o.jsxs)(t.p,{children:["Create your Ethereum wallet via a ",(0,o.jsx)(t.a,{href:"https://ethereum.org/en/wallets/",children:"known provider"})," with access to your keys. We only support self-custodial wallets."]})]})}function h(e={}){const{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>c,a:()=>i});var o=n(7294);const s={},r=o.createContext(s);function i(e){const t=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),o.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/1c091541.00719339.js b/assets/js/36994c47.13b731a0.js similarity index 64% rename from assets/js/1c091541.00719339.js rename to assets/js/36994c47.13b731a0.js index 180dfe6..fa16292 100644 --- a/assets/js/1c091541.00719339.js +++ b/assets/js/36994c47.13b731a0.js @@ -1 +1 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[271],{4469:s=>{s.exports=JSON.parse('{"name":"docusaurus-plugin-content-blog","id":"default"}')}}]); \ No newline at end of file +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[208],{4468:s=>{s.exports=JSON.parse('{"name":"docusaurus-plugin-content-blog","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/393be207.0af12c61.js b/assets/js/393be207.d54c775d.js similarity index 95% rename from assets/js/393be207.0af12c61.js rename to assets/js/393be207.d54c775d.js index 462bc88..55088be 100644 --- a/assets/js/393be207.0af12c61.js +++ b/assets/js/393be207.d54c775d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[414],{1181:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>p,contentTitle:()=>s,default:()=>l,frontMatter:()=>r,metadata:()=>c,toc:()=>d});var o=t(5893),a=t(1151);const r={title:"Markdown page example"},s="Markdown page example",c={type:"mdx",permalink:"/markdown-page",source:"@site/src/pages/markdown-page.md",title:"Markdown page example",description:"You don't need React to write simple standalone pages.",frontMatter:{title:"Markdown page example"},unlisted:!1},p={},d=[];function i(e){const n={h1:"h1",p:"p",...(0,a.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"markdown-page-example",children:"Markdown page example"}),"\n",(0,o.jsx)(n.p,{children:"You don't need React to write simple standalone pages."})]})}function l(e={}){const{wrapper:n}={...(0,a.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(i,{...e})}):i(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>c,a:()=>s});var o=t(7294);const a={},r=o.createContext(a);function s(e){const n=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:s(e.components),o.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[414],{9925:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>p,contentTitle:()=>s,default:()=>l,frontMatter:()=>r,metadata:()=>c,toc:()=>d});var o=t(5893),a=t(1151);const r={title:"Markdown page example"},s="Markdown page example",c={type:"mdx",permalink:"/markdown-page",source:"@site/src/pages/markdown-page.md",title:"Markdown page example",description:"You don't need React to write simple standalone pages.",frontMatter:{title:"Markdown page example"},unlisted:!1},p={},d=[];function i(e){const n={h1:"h1",p:"p",...(0,a.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"markdown-page-example",children:"Markdown page example"}),"\n",(0,o.jsx)(n.p,{children:"You don't need React to write simple standalone pages."})]})}function l(e={}){const{wrapper:n}={...(0,a.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(i,{...e})}):i(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>c,a:()=>s});var o=t(7294);const a={},r=o.createContext(a);function s(e){const n=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:s(e.components),o.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/404.f920b001.js b/assets/js/404.f920b001.js deleted file mode 100644 index 4e410c0..0000000 --- a/assets/js/404.f920b001.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[404],{9047:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Z});var s=n(7294),o=n(5893);function c(e){const{mdxAdmonitionTitle:t,rest:n}=function(e){const t=s.Children.toArray(e),n=t.find((e=>s.isValidElement(e)&&"mdxAdmonitionTitle"===e.type)),c=t.filter((e=>e!==n)),a=n?.props.children;return{mdxAdmonitionTitle:a,rest:c.length>0?(0,o.jsx)(o.Fragment,{children:c}):null}}(e.children),c=e.title??t;return{...e,...c&&{title:c},children:n}}var a=n(6905),r=n(5999),i=n(5281);const l={admonition:"admonition_xJq3",admonitionHeading:"admonitionHeading_Gvgb",admonitionIcon:"admonitionIcon_Rf37",admonitionContent:"admonitionContent_BuS1"};function d(e){let{type:t,className:n,children:s}=e;return(0,o.jsx)("div",{className:(0,a.Z)(i.k.common.admonition,i.k.common.admonitionType(t),l.admonition,n),children:s})}function u(e){let{icon:t,title:n}=e;return(0,o.jsxs)("div",{className:l.admonitionHeading,children:[(0,o.jsx)("span",{className:l.admonitionIcon,children:t}),n]})}function m(e){let{children:t}=e;return t?(0,o.jsx)("div",{className:l.admonitionContent,children:t}):null}function h(e){const{type:t,icon:n,title:s,children:c,className:a}=e;return(0,o.jsxs)(d,{type:t,className:a,children:[(0,o.jsx)(u,{title:s,icon:n}),(0,o.jsx)(m,{children:c})]})}function p(e){return(0,o.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const f={icon:(0,o.jsx)(p,{}),title:(0,o.jsx)(r.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function x(e){return(0,o.jsx)(h,{...f,...e,className:(0,a.Z)("alert alert--secondary",e.className),children:e.children})}function g(e){return(0,o.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const b={icon:(0,o.jsx)(g,{}),title:(0,o.jsx)(r.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function j(e){return(0,o.jsx)(h,{...b,...e,className:(0,a.Z)("alert alert--success",e.className),children:e.children})}function v(e){return(0,o.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const y={icon:(0,o.jsx)(v,{}),title:(0,o.jsx)(r.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function N(e){return(0,o.jsx)(h,{...y,...e,className:(0,a.Z)("alert alert--info",e.className),children:e.children})}function k(e){return(0,o.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const B={icon:(0,o.jsx)(k,{}),title:(0,o.jsx)(r.Z,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function C(e){return(0,o.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,o.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const w={icon:(0,o.jsx)(C,{}),title:(0,o.jsx)(r.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const L={icon:(0,o.jsx)(k,{}),title:(0,o.jsx)(r.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};const E={...{note:x,tip:j,info:N,warning:function(e){return(0,o.jsx)(h,{...B,...e,className:(0,a.Z)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,o.jsx)(h,{...w,...e,className:(0,a.Z)("alert alert--danger",e.className),children:e.children})}},...{secondary:e=>(0,o.jsx)(x,{title:"secondary",...e}),important:e=>(0,o.jsx)(N,{title:"important",...e}),success:e=>(0,o.jsx)(j,{title:"success",...e}),caution:function(e){return(0,o.jsx)(h,{...L,...e,className:(0,a.Z)("alert alert--warning",e.className),children:e.children})}}};function Z(e){const t=c(e),n=(s=t.type,E[s]||(console.warn(`No admonition component found for admonition type "${s}". Using Info as fallback.`),E.info));var s;return(0,o.jsx)(n,{...t})}},1404:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ie});var s=n(7294),o=n(1151),c=n(5742),a=n(2389),r=n(6905),i=n(2949),l=n(6668);function d(){const{prism:e}=(0,l.L)(),{colorMode:t}=(0,i.I)(),n=e.theme,s=e.darkTheme||n;return"dark"===t?s:n}var u=n(5281),m=n(7594),h=n.n(m);const p=/title=(? ["'])(?.*?)\1/,f=/\{(? [\d,-]+)\}/,x={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},g={...x,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},b=Object.keys(x);function j(e,t){const n=e.map((e=>{const{start:n,end:s}=g[e];return`(?:${n}\\s*(${t.flatMap((e=>[e.line,e.block?.start,e.block?.end].filter(Boolean))).join("|")})\\s*${s})`})).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function v(e,t){let n=e.replace(/\n$/,"");const{language:s,magicComments:o,metastring:c}=t;if(c&&f.test(c)){const e=c.match(f).groups.range;if(0===o.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${c}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const t=o[0].className,s=h()(e).filter((e=>e>0)).map((e=>[e-1,[t]]));return{lineClassNames:Object.fromEntries(s),code:n}}if(void 0===s)return{lineClassNames:{},code:n};const a=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return j(["js","jsBlock"],t);case"jsx":case"tsx":return j(["js","jsBlock","jsx"],t);case"html":return j(["js","jsBlock","html"],t);case"python":case"py":case"bash":return j(["bash"],t);case"markdown":case"md":return j(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return j(["tex"],t);case"lua":case"haskell":case"sql":return j(["lua"],t);case"wasm":return j(["wasm"],t);case"vb":case"vbnet":case"vba":case"visual-basic":return j(["vb","rem"],t);case"batch":return j(["rem"],t);case"basic":return j(["rem","f90"],t);case"fsharp":return j(["js","ml"],t);case"ocaml":case"sml":return j(["ml"],t);case"fortran":return j(["f90"],t);case"cobol":return j(["cobol"],t);default:return j(b,t)}}(s,o),r=n.split("\n"),i=Object.fromEntries(o.map((e=>[e.className,{start:0,range:""}]))),l=Object.fromEntries(o.filter((e=>e.line)).map((e=>{let{className:t,line:n}=e;return[n,t]}))),d=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.start,t]}))),u=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.end,t]})));for(let h=0;h void 0!==e));l[t]?i[l[t]].range+=`${h},`:d[t]?i[d[t]].start=h:u[t]&&(i[u[t]].range+=`${i[u[t]].start}-${h-1},`),r.splice(h,1)}n=r.join("\n");const m={};return Object.entries(i).forEach((e=>{let[t,{range:n}]=e;h()(n).forEach((e=>{m[e]??=[],m[e].push(t)}))})),{lineClassNames:m,code:n}}const y={codeBlockContainer:"codeBlockContainer_Ckt0"};var N=n(5893);function k(e){let{as:t,...n}=e;const s=function(e){const t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach((e=>{let[s,o]=e;const c=t[s];c&&"string"==typeof o&&(n[c]=o)})),n}(d());return(0,N.jsx)(t,{...n,style:s,className:(0,r.Z)(n.className,y.codeBlockContainer,u.k.common.codeBlock)})}const B={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"};function C(e){let{children:t,className:n}=e;return(0,N.jsx)(k,{as:"pre",tabIndex:0,className:(0,r.Z)(B.codeBlockStandalone,"thin-scrollbar",n),children:(0,N.jsx)("code",{className:B.codeBlockLines,children:t})})}var w=n(902);const L={attributes:!0,characterData:!0,childList:!0,subtree:!0};function E(e,t){const[n,o]=(0,s.useState)(),c=(0,s.useCallback)((()=>{o(e.current?.closest("[role=tabpanel][hidden]"))}),[e,o]);(0,s.useEffect)((()=>{c()}),[c]),function(e,t,n){void 0===n&&(n=L);const o=(0,w.zX)(t),c=(0,w.Ql)(n);(0,s.useEffect)((()=>{const t=new MutationObserver(o);return e&&t.observe(e,c),()=>t.disconnect()}),[e,o,c])}(n,(e=>{e.forEach((e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),c())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}var Z=n(4798);const T={codeLine:"codeLine_lJS_",codeLineNumber:"codeLineNumber_Tfdd",codeLineContent:"codeLineContent_feaV"};function _(e){let{line:t,classNames:n,showLineNumbers:s,getLineProps:o,getTokenProps:c}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");const a=o({line:t,className:(0,r.Z)(n,s&&T.codeLine)}),i=t.map(((e,t)=>(0,N.jsx)("span",{...c({token:e,key:t})},t)));return(0,N.jsxs)("span",{...a,children:[s?(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)("span",{className:T.codeLineNumber}),(0,N.jsx)("span",{className:T.codeLineContent,children:i})]}):i,(0,N.jsx)("br",{})]})}var S=n(5999);function I(e){return(0,N.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,N.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function A(e){return(0,N.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,N.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}const M={copyButtonCopied:"copyButtonCopied_obH4",copyButtonIcons:"copyButtonIcons_eSgA",copyButtonIcon:"copyButtonIcon_y97N",copyButtonSuccessIcon:"copyButtonSuccessIcon_LjdS"};function z(e){let{code:t,className:n}=e;const[o,c]=(0,s.useState)(!1),a=(0,s.useRef)(void 0),i=(0,s.useCallback)((()=>{!function(e,t){let{target:n=document.body}=void 0===t?{}:t;if("string"!=typeof e)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);const s=document.createElement("textarea"),o=document.activeElement;s.value=e,s.setAttribute("readonly",""),s.style.contain="strict",s.style.position="absolute",s.style.left="-9999px",s.style.fontSize="12pt";const c=document.getSelection(),a=c.rangeCount>0&&c.getRangeAt(0);n.append(s),s.select(),s.selectionStart=0,s.selectionEnd=e.length;let r=!1;try{r=document.execCommand("copy")}catch{}s.remove(),a&&(c.removeAllRanges(),c.addRange(a)),o&&o.focus()}(t),c(!0),a.current=window.setTimeout((()=>{c(!1)}),1e3)}),[t]);return(0,s.useEffect)((()=>()=>window.clearTimeout(a.current)),[]),(0,N.jsx)("button",{type:"button","aria-label":o?(0,S.I)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,S.I)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,S.I)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,r.Z)("clean-btn",n,M.copyButton,o&&M.copyButtonCopied),onClick:i,children:(0,N.jsxs)("span",{className:M.copyButtonIcons,"aria-hidden":"true",children:[(0,N.jsx)(I,{className:M.copyButtonIcon}),(0,N.jsx)(A,{className:M.copyButtonSuccessIcon})]})})}function H(e){return(0,N.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,N.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}const R={wordWrapButtonIcon:"wordWrapButtonIcon_Bwma",wordWrapButtonEnabled:"wordWrapButtonEnabled_EoeP"};function V(e){let{className:t,onClick:n,isEnabled:s}=e;const o=(0,S.I)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,N.jsx)("button",{type:"button",onClick:n,className:(0,r.Z)("clean-btn",t,s&&R.wordWrapButtonEnabled),"aria-label":o,title:o,children:(0,N.jsx)(H,{className:R.wordWrapButtonIcon,"aria-hidden":"true"})})}function $(e){let{children:t,className:n="",metastring:o,title:c,showLineNumbers:a,language:i}=e;const{prism:{defaultLanguage:u,magicComments:m}}=(0,l.L)(),h=function(e){return e?.toLowerCase()}(i??function(e){const t=e.split(" ").find((e=>e.startsWith("language-")));return t?.replace(/language-/,"")}(n)??u),f=d(),x=function(){const[e,t]=(0,s.useState)(!1),[n,o]=(0,s.useState)(!1),c=(0,s.useRef)(null),a=(0,s.useCallback)((()=>{const n=c.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t((e=>!e))}),[c,e]),r=(0,s.useCallback)((()=>{const{scrollWidth:e,clientWidth:t}=c.current,n=e>t||c.current.querySelector("code").hasAttribute("style");o(n)}),[c]);return E(c,r),(0,s.useEffect)((()=>{r()}),[e,r]),(0,s.useEffect)((()=>(window.addEventListener("resize",r,{passive:!0}),()=>{window.removeEventListener("resize",r)})),[r]),{codeBlockRef:c,isEnabled:e,isCodeScrollable:n,toggle:a}}(),g=function(e){return e?.match(p)?.groups.title??""}(o)||c,{lineClassNames:b,code:j}=v(t,{metastring:o,language:h,magicComments:m}),y=a??function(e){return Boolean(e?.includes("showLineNumbers"))}(o);return(0,N.jsxs)(k,{as:"div",className:(0,r.Z)(n,h&&!n.includes(`language-${h}`)&&`language-${h}`),children:[g&&(0,N.jsx)("div",{className:B.codeBlockTitle,children:g}),(0,N.jsxs)("div",{className:B.codeBlockContent,children:[(0,N.jsx)(Z.y$,{theme:f,code:j,language:h??"text",children:e=>{let{className:t,style:n,tokens:s,getLineProps:o,getTokenProps:c}=e;return(0,N.jsx)("pre",{tabIndex:0,ref:x.codeBlockRef,className:(0,r.Z)(t,B.codeBlock,"thin-scrollbar"),style:n,children:(0,N.jsx)("code",{className:(0,r.Z)(B.codeBlockLines,y&&B.codeBlockLinesWithNumbering),children:s.map(((e,t)=>(0,N.jsx)(_,{line:e,getLineProps:o,getTokenProps:c,classNames:b[t],showLineNumbers:y},t)))})})}}),(0,N.jsxs)("div",{className:B.buttonGroup,children:[(x.isEnabled||x.isCodeScrollable)&&(0,N.jsx)(V,{className:B.codeButton,onClick:()=>x.toggle(),isEnabled:x.isEnabled}),(0,N.jsx)(z,{className:B.codeButton,code:j})]})]})]})}function W(e){let{children:t,...n}=e;const o=(0,a.Z)(),c=function(e){return s.Children.toArray(e).some((e=>(0,s.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),r="string"==typeof c?$:C;return(0,N.jsx)(r,{...n,children:c},String(o))}function P(e){return(0,N.jsx)("code",{...e})}var D=n(3692);var O=n(788),q=n(6043);const F={details:"details_lb9f",isBrowser:"isBrowser_bmU9",collapsibleContent:"collapsibleContent_i85q"};function G(e){return!!e&&("SUMMARY"===e.tagName||G(e.parentElement))}function U(e,t){return!!e&&(e===t||U(e.parentElement,t))}function J(e){let{summary:t,children:n,...o}=e;const c=(0,a.Z)(),r=(0,s.useRef)(null),{collapsed:i,setCollapsed:l}=(0,q.u)({initialState:!o.open}),[d,u]=(0,s.useState)(o.open),m=s.isValidElement(t)?t:(0,N.jsx)("summary",{children:t??"Details"});return(0,N.jsxs)("details",{...o,ref:r,open:d,"data-collapsed":i,className:(0,O.Z)(F.details,c&&F.isBrowser,o.className),onMouseDown:e=>{G(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const t=e.target;G(t)&&U(t,r.current)&&(e.preventDefault(),i?(l(!1),u(!0)):l(!0))},children:[m,(0,N.jsx)(q.z,{lazy:!1,collapsed:i,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{l(e),u(!e)},children:(0,N.jsx)("div",{className:F.collapsibleContent,children:n})})]})}const Y={details:"details_b_Ee"},K="alert alert--info";function Q(e){let{...t}=e;return(0,N.jsx)(J,{...t,className:(0,r.Z)(K,Y.details,t.className)})}function X(e){const t=s.Children.toArray(e.children),n=t.find((e=>s.isValidElement(e)&&"summary"===e.type)),o=(0,N.jsx)(N.Fragment,{children:t.filter((e=>e!==n))});return(0,N.jsx)(Q,{...e,summary:n,children:o})}var ee=n(2503);function te(e){return(0,N.jsx)(ee.Z,{...e})}const ne={containsTaskList:"containsTaskList_mC6p"};function se(e){if(void 0!==e)return(0,r.Z)(e,e?.includes("contains-task-list")&&ne.containsTaskList)}const oe={img:"img_ev3q"};var ce=n(9047),ae=n(1875);const re={Head:c.Z,details:X,Details:X,code:function(e){return function(e){return void 0!==e.children&&s.Children.toArray(e.children).every((e=>"string"==typeof e&&!e.includes("\n")))}(e)?(0,N.jsx)(P,{...e}):(0,N.jsx)(W,{...e})},a:function(e){return(0,N.jsx)(D.Z,{...e})},pre:function(e){return(0,N.jsx)(N.Fragment,{children:e.children})},ul:function(e){return(0,N.jsx)("ul",{...e,className:se(e.className)})},img:function(e){return(0,N.jsx)("img",{loading:"lazy",...e,className:(t=e.className,(0,r.Z)(t,oe.img))});var t},h1:e=>(0,N.jsx)(te,{as:"h1",...e}),h2:e=>(0,N.jsx)(te,{as:"h2",...e}),h3:e=>(0,N.jsx)(te,{as:"h3",...e}),h4:e=>(0,N.jsx)(te,{as:"h4",...e}),h5:e=>(0,N.jsx)(te,{as:"h5",...e}),h6:e=>(0,N.jsx)(te,{as:"h6",...e}),admonition:ce.Z,mermaid:ae.Z};function ie(e){let{children:t}=e;return(0,N.jsx)(o.Z,{components:re,children:t})}},7594:(e,t)=>{function n(e){let t,n=[];for(let s of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(s))n.push(parseInt(s,10));else if(t=s.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,s,o,c]=t;if(s&&c){s=parseInt(s),c=parseInt(c);const e=s {"use strict";n.d(t,{Z:()=>r,a:()=>a});var s=n(7294);const o={},c=s.createContext(o);function a(e){const t=s.useContext(c);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),s.createElement(c.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/41048e27.241d0273.js b/assets/js/41048e27.241d0273.js new file mode 100644 index 0000000..1252883 --- /dev/null +++ b/assets/js/41048e27.241d0273.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[135],{4731:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>s,default:()=>d,frontMatter:()=>r,metadata:()=>i,toc:()=>l});var o=n(5893),c=n(1151);const r={},s="Block explorers",i={id:"references/block-explorers",title:"Block explorers",description:"vsc.techcoderx.com",source:"@site/docs/references/block-explorers.md",sourceDirName:"references",slug:"/references/block-explorers",permalink:"/docs/references/block-explorers",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"API documentation",permalink:"/docs/references/api"},next:{title:"VSC client",permalink:"/docs/references/client"}},a={},l=[{value:"vsc.techcoderx.com",id:"vsctechcoderxcom",level:2},{value:"Block information",id:"block-information",level:3},{value:"Transaction view",id:"transaction-view",level:3},{value:"Witness information",id:"witness-information",level:3},{value:"Contract information",id:"contract-information",level:3}];function h(e){const t={a:"a",em:"em",h1:"h1",h2:"h2",h3:"h3",p:"p",...(0,c.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.h1,{id:"block-explorers",children:"Block explorers"}),"\n",(0,o.jsx)(t.h2,{id:"vsctechcoderxcom",children:"vsc.techcoderx.com"}),"\n",(0,o.jsx)(t.p,{children:"To this day, we have one mature block explorer in our ecosystem."}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.a,{href:"https://vsc.techcoderx.com/",children:"https://vsc.techcoderx.com/"})}),"\n",(0,o.jsxs)(t.p,{children:["The block explorer was created and is maintained by ",(0,o.jsx)(t.em,{children:"techcoderx"}),"."]}),"\n",(0,o.jsx)(t.p,{children:"It exposes various metrics of the VSC network, which we elaborate on further below."}),"\n",(0,o.jsx)(t.h3,{id:"block-information",children:"Block information"}),"\n",(0,o.jsxs)(t.p,{children:["Inspect the block structure of the VSC network under ",(0,o.jsx)(t.a,{href:"https://vsc.techcoderx.com/blocks",children:"/blocks"}),"."]}),"\n",(0,o.jsx)(t.p,{children:"Click on a block hash to get a detailed view of its content. You can, for example, inspect the included transactions."}),"\n",(0,o.jsx)(t.h3,{id:"transaction-view",children:"Transaction view"}),"\n",(0,o.jsx)(t.p,{children:"By clicking on transaction hashes in various parts of the block explorer you are thrown into the transaction view."}),"\n",(0,o.jsx)(t.p,{children:"Depending on the transaction type it exposes various information that is important in the current context."}),"\n",(0,o.jsxs)(t.p,{children:["For example, a contract invocation ",(0,o.jsx)(t.a,{href:"https://vsc.techcoderx.com/vsc-tx/bafyreibt46bpmtrx7ixqnreu2543j7lnhhdac7nlqs2kalwz445ahr7y6m",children:"(example)"}),' would show you the entrypoint/ contract action that was executed ("play" in this example) and the parameters/ payload ("80" in this example).']}),"\n",(0,o.jsx)(t.p,{children:"As a side note, when a contract invocation was successful and produced a contract output transaction, the result of the contract output transaction is also shown on the contract invocation transaction for a more seamless user experience!"}),"\n",(0,o.jsx)(t.h3,{id:"witness-information",children:"Witness information"}),"\n",(0,o.jsxs)(t.p,{children:["If you host a VSC node you can checkout if your node is registered and up to date under ",(0,o.jsx)(t.a,{href:"https://vsc.techcoderx.com/witnesses",children:"/witnesses"}),"."]}),"\n",(0,o.jsx)(t.h3,{id:"contract-information",children:"Contract information"}),"\n",(0,o.jsxs)(t.p,{children:["You can check if your contract was successfully deployed to the VSC network by checking ",(0,o.jsx)(t.a,{href:"https://vsc.techcoderx.com/contracts",children:"/contracts"}),"."]})]})}function d(e={}){const{wrapper:t}={...(0,c.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(h,{...e})}):h(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>i,a:()=>s});var o=n(7294);const c={},r=o.createContext(c);function s(e){const t=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:s(e.components),o.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/4add082f.22dcabff.js b/assets/js/4add082f.22dcabff.js new file mode 100644 index 0000000..34e0c58 --- /dev/null +++ b/assets/js/4add082f.22dcabff.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[759],{3994:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>r,default:()=>d,frontMatter:()=>s,metadata:()=>l,toc:()=>o});var c=n(5893),i=n(1151);const s={},r="VSC client",l={id:"references/client",title:"VSC client",description:"The VSC clients are libraries that serve a set of wrappers and abstraction layers to more easily communicate with the VSC network.",source:"@site/docs/references/client.md",sourceDirName:"references",slug:"/references/client",permalink:"/docs/references/client",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Block explorers",permalink:"/docs/references/block-explorers"},next:{title:"contract-template",permalink:"/docs/references/contract-template"}},a={},o=[{value:"VSC javascript client",id:"vsc-javascript-client",level:2},{value:"Installation",id:"installation",level:3},{value:"Account logins",id:"account-logins",level:3},{value:"DID | Private/ Public key",id:"did--private-public-key",level:4},{value:"ETH",id:"eth",level:4},{value:"Functionalities",id:"functionalities",level:3},{value:"Invoke contracts",id:"invoke-contracts",level:4},{value:"API calls",id:"api-calls",level:4}];function h(e){const t={a:"a",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",...(0,i.a)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(t.h1,{id:"vsc-client",children:"VSC client"}),"\n",(0,c.jsx)(t.p,{children:"The VSC clients are libraries that serve a set of wrappers and abstraction layers to more easily communicate with the VSC network."}),"\n",(0,c.jsx)(t.h2,{id:"vsc-javascript-client",children:"VSC javascript client"}),"\n",(0,c.jsxs)(t.p,{children:["The API documentation can be found ",(0,c.jsx)(t.a,{href:"https://vsc-eco.github.io/client/",children:"here"}),"."]}),"\n",(0,c.jsx)(t.h3,{id:"installation",children:"Installation"}),"\n",(0,c.jsxs)(t.p,{children:["The ",(0,c.jsx)(t.a,{href:"https://github.com/vsc-eco/client",children:"VSC javascript client"})," can be installed via ",(0,c.jsx)(t.a,{href:"https://www.npmjs.com/package/@vsc.eco/client",children:(0,c.jsx)(t.em,{children:"npm"})}),"."]}),"\n",(0,c.jsx)(t.p,{children:(0,c.jsx)(t.code,{children:"npm i @vsc.eco/client"})}),"\n",(0,c.jsx)(t.h3,{id:"account-logins",children:"Account logins"}),"\n",(0,c.jsx)(t.p,{children:"You choose from various login methods to authenticate yourself on the VSC network. Listed below are the currently available options for this client."}),"\n",(0,c.jsxs)(t.p,{children:["For more information, like creating an account for a specific account type, visit ",(0,c.jsx)(t.a,{href:"/docs/references/account-types",children:"this document"}),"."]}),"\n",(0,c.jsx)(t.h4,{id:"did--private-public-key",children:"DID | Private/ Public key"}),"\n",(0,c.jsxs)(t.p,{children:["You can use your generated ",(0,c.jsx)(t.em,{children:"ed25519"})," compatible wallet with the VSC client in the following way."]}),"\n",(0,c.jsxs)(t.ol,{children:["\n",(0,c.jsx)(t.li,{children:"convert the private key into hex bytes"}),"\n",(0,c.jsxs)(t.li,{children:["register a new ",(0,c.jsx)(t.em,{children:"Ed25519Provider"})," with the converted secret"]}),"\n",(0,c.jsx)(t.li,{children:"generate a DID and authenticate it"}),"\n",(0,c.jsx)(t.li,{children:"login to the VSC client"}),"\n"]}),"\n",(0,c.jsx)(t.pre,{children:(0,c.jsx)(t.code,{className:"language-js",metastring:"reference",children:"https://github.com/vsc-eco/client/blob/main/src/tests/testBench.ts#L11-L20\n"})}),"\n",(0,c.jsxs)(t.p,{children:["In the example above the private key that is used is ",(0,c.jsx)(t.strong,{children:"44ab29dc82f227322cb924cdc66815da8edc9cb0b409f5ced26ced57e6077aa6"}),"."]}),"\n",(0,c.jsx)(t.h4,{id:"eth",children:"ETH"}),"\n",(0,c.jsx)(t.p,{children:"You can use your Ethereum wallet with the VSC client by following the steps below."}),"\n",(0,c.jsxs)(t.ol,{children:["\n",(0,c.jsx)(t.li,{children:"sha256 hash your private key and convert it to hex"}),"\n",(0,c.jsx)(t.li,{children:"reference the account in the Web3 provider"}),"\n",(0,c.jsx)(t.li,{children:"use the provider to authenticate your VSC client"}),"\n"]}),"\n",(0,c.jsx)(t.pre,{children:(0,c.jsx)(t.code,{className:"language-js",metastring:"reference",children:"https://github.com/vsc-eco/client/blob/main/src/tests/ethTest.ts#L15-L46\n"})}),"\n",(0,c.jsxs)(t.p,{children:["In the example above the private key that is used is ",(0,c.jsx)(t.strong,{children:"44ab29dc82f227322cb924cdc66815da8edc9cb0b409f5ced26ced57e6077aa6"}),"."]}),"\n",(0,c.jsx)(t.h3,{id:"functionalities",children:"Functionalities"}),"\n",(0,c.jsx)(t.h4,{id:"invoke-contracts",children:"Invoke contracts"}),"\n",(0,c.jsxs)(t.p,{children:["You can invoke contracts via the VSC client. We have a ",(0,c.jsx)(t.a,{href:"/docs/tutorials/invoke-contract",children:"separate guide"})," on how to do so."]}),"\n",(0,c.jsx)(t.h4,{id:"api-calls",children:"API calls"}),"\n",(0,c.jsx)(t.p,{children:"We have not yet implemented API abstractions in the VSC client."})]})}function d(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,c.jsx)(t,{...e,children:(0,c.jsx)(h,{...e})}):h(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>l,a:()=>r});var c=n(7294);const i={},s=c.createContext(i);function r(e){const t=c.useContext(s);return c.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),c.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/50542428.a3c1c120.js b/assets/js/50542428.a3c1c120.js deleted file mode 100644 index 101ff8e..0000000 --- a/assets/js/50542428.a3c1c120.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[724],{981:(t,e,r)=>{r.r(e),r.d(e,{assets:()=>a,contentTitle:()=>o,default:()=>u,frontMatter:()=>s,metadata:()=>c,toc:()=>l});var n=r(5893),i=r(1151);const s={slug:"creating-your-first-smart-contract",title:"Creating your first smart contract",sidebar_position:3},o="Creating your first smart contract",c={id:"getting-started/first-smart-contract",title:"Creating your first smart contract",description:"Prerequisites",source:"@site/docs/getting-started/first-smart-contract.md",sourceDirName:"getting-started",slug:"/getting-started/creating-your-first-smart-contract",permalink:"/docs/getting-started/creating-your-first-smart-contract",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:3,frontMatter:{slug:"creating-your-first-smart-contract",title:"Creating your first smart contract",sidebar_position:3},sidebar:"tutorialSidebar",previous:{title:"Running a node",permalink:"/docs/getting-started/running-a-node"},next:{title:"Smart Contract SDK",permalink:"/docs/getting-started/sdk"}},a={},l=[{value:"Prerequisites",id:"prerequisites",level:3}];function d(t){const e={a:"a",code:"code",h1:"h1",h3:"h3",li:"li",ol:"ol",ul:"ul",...(0,i.a)(),...t.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(e.h1,{id:"creating-your-first-smart-contract",children:"Creating your first smart contract"}),"\n",(0,n.jsx)(e.h3,{id:"prerequisites",children:"Prerequisites"}),"\n",(0,n.jsxs)(e.ul,{children:["\n",(0,n.jsx)(e.li,{children:"NodeJS"}),"\n",(0,n.jsx)(e.li,{children:"IPFS"}),"\n",(0,n.jsx)(e.li,{children:"Git or Github Desktop"}),"\n",(0,n.jsx)(e.li,{children:"Mongodb Server"}),"\n",(0,n.jsx)(e.li,{children:"Mongodb Compass (optional)"}),"\n",(0,n.jsx)(e.li,{children:"Visual Studio Code"}),"\n",(0,n.jsxs)(e.li,{children:["A Hive account, if you dont have one already please visit ",(0,n.jsx)(e.a,{href:"https://signup.hive.io",children:"signup.hive.io"})]}),"\n"]}),"\n",(0,n.jsxs)(e.ol,{children:["\n",(0,n.jsxs)(e.li,{children:["Clone our smart contract template repo locally: ",(0,n.jsx)(e.code,{children:"git clone https://github.com/vsc-eco/contract-template.git"})]}),"\n",(0,n.jsx)(e.li,{children:(0,n.jsx)(e.code,{children:"cd contract-template"})}),"\n",(0,n.jsx)(e.li,{children:"Open visual studio code: `code .``"}),"\n"]})]})}function u(t={}){const{wrapper:e}={...(0,i.a)(),...t.components};return e?(0,n.jsx)(e,{...t,children:(0,n.jsx)(d,{...t})}):d(t)}},1151:(t,e,r)=>{r.d(e,{Z:()=>c,a:()=>o});var n=r(7294);const i={},s=n.createContext(i);function o(t){const e=n.useContext(s);return n.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function c(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(i):t.components||i:o(t.components),n.createElement(s.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/assets/js/51b0b2b9.17f42068.js b/assets/js/51b0b2b9.17f42068.js new file mode 100644 index 0000000..c63614a --- /dev/null +++ b/assets/js/51b0b2b9.17f42068.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[762],{9113:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>h,frontMatter:()=>r,metadata:()=>s,toc:()=>c});var o=n(5893),a=n(1151);const r={},l="Generate wallet",s={id:"how-to/generate-wallet",title:"Generate wallet",description:"VSC on its layer 2 supports ed25519 compatible wallets. Those are called lite accounts in the context of VSC. They can be generated in various ways. Below you have the current recommended options.",source:"@site/docs/how-to/generate-wallet.md",sourceDirName:"how-to",slug:"/how-to/generate-wallet",permalink:"/docs/how-to/generate-wallet",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"wrapping",permalink:"/docs/discussions/wrapping"},next:{title:"Running a node",permalink:"/docs/how-to/host-node"}},i={},c=[{value:"Official wallet generator",id:"official-wallet-generator",level:2}];function d(e){const t={a:"a",em:"em",h1:"h1",h2:"h2",p:"p",...(0,a.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.h1,{id:"generate-wallet",children:"Generate wallet"}),"\n",(0,o.jsxs)(t.p,{children:["VSC on its layer 2 supports ",(0,o.jsx)(t.em,{children:"ed25519"})," compatible wallets. Those are called lite accounts in the context of VSC. They can be generated in various ways. Below you have the current recommended options."]}),"\n",(0,o.jsx)(t.h2,{id:"official-wallet-generator",children:"Official wallet generator"}),"\n",(0,o.jsx)(t.p,{children:"The offical recommended way to generate a lite account is via the wallet generator repository."}),"\n",(0,o.jsx)(t.p,{children:"It is based on NodeJS and is fairly lightweight."}),"\n",(0,o.jsx)(t.p,{children:"Clone the repository, install the node modules and run the generator."}),"\n",(0,o.jsxs)(t.p,{children:["Take a look at ",(0,o.jsx)(t.a,{href:"https://github.com/vsc-eco/wallet-generator",children:"the repository here"}),"."]})]})}function h(e={}){const{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>s,a:()=>l});var o=n(7294);const a={},r=o.createContext(a);function l(e){const t=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:l(e.components),o.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/54c82979.fd07a87a.js b/assets/js/54c82979.fd07a87a.js deleted file mode 100644 index 1b83e12..0000000 --- a/assets/js/54c82979.fd07a87a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[329],{6495:(t,e,n)=>{n.r(e),n.d(e,{assets:()=>a,contentTitle:()=>s,default:()=>p,frontMatter:()=>i,metadata:()=>c,toc:()=>d});var o=n(5893),r=n(1151);const i={title:"Getting Started",sidebar_position:2},s=void 0,c={id:"getting-started/index",title:"Getting Started",description:'To get started, check out "running a node"',source:"@site/docs/getting-started/index.md",sourceDirName:"getting-started",slug:"/getting-started/",permalink:"/docs/getting-started/",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:2,frontMatter:{title:"Getting Started",sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Introduction",permalink:"/docs/Introduction"},next:{title:"Why VSC?",permalink:"/docs/getting-started/why-vsc"}},a={},d=[];function u(t){const e={p:"p",...(0,r.a)(),...t.components};return(0,o.jsx)(e.p,{children:'To get started, check out "running a node"'})}function p(t={}){const{wrapper:e}={...(0,r.a)(),...t.components};return e?(0,o.jsx)(e,{...t,children:(0,o.jsx)(u,{...t})}):u(t)}},1151:(t,e,n)=>{n.d(e,{Z:()=>c,a:()=>s});var o=n(7294);const r={},i=o.createContext(r);function s(t){const e=o.useContext(i);return o.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function c(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(r):t.components||r:s(t.components),o.createElement(i.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/assets/js/552c3073.3b0307e2.js b/assets/js/552c3073.3b0307e2.js deleted file mode 100644 index 957c6cc..0000000 --- a/assets/js/552c3073.3b0307e2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[38],{7116:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>s,default:()=>u,frontMatter:()=>o,metadata:()=>c,toc:()=>d});var r=t(5893),i=t(1151);const o={slug:"running-a-node",sidebar_position:2},s="Running a node",c={id:"getting-started/Running a node",title:"Running a node",description:"This tutorial will guide you through the process of setting up a VSC node .",source:"@site/docs/getting-started/Running a node.mdx",sourceDirName:"getting-started",slug:"/getting-started/running-a-node",permalink:"/docs/getting-started/running-a-node",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:2,frontMatter:{slug:"running-a-node",sidebar_position:2},sidebar:"tutorialSidebar",previous:{title:"Why VSC?",permalink:"/docs/getting-started/why-vsc"},next:{title:"Creating your first smart contract",permalink:"/docs/getting-started/creating-your-first-smart-contract"}},a={},d=[];function l(e){const n={a:"a",code:"code",h1:"h1",li:"li",p:"p",pre:"pre",ul:"ul",...(0,i.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("iframe",{src:"https://3speak.tv/embed?v=vsc.network/vqtkycsg",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"}),"\n",(0,r.jsx)(n.h1,{id:"running-a-node",children:"Running a node"}),"\n",(0,r.jsx)(n.p,{children:"This tutorial will guide you through the process of setting up a VSC node ."}),"\n",(0,r.jsx)(n.p,{children:"Requirements:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Hive account (50HP, will rise in the future)"}),"\n",(0,r.jsx)(n.li,{children:"Technical knowledge of using a command line interface"}),"\n",(0,r.jsxs)(n.li,{children:["Docker and docker-compose installed. Please see ",(0,r.jsx)(n.a,{href:"https://docs.docker.com/get-docker/",children:"https://docs.docker.com/get-docker/"})," for installation guide for docker."]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"System requirements are very low, in the future requirements will rise as network usage incrases."}),"\n",(0,r.jsx)(n.p,{children:"System requirements:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Raspberry pi 4 or better"}),"\n",(0,r.jsx)(n.li,{children:"4 cores, 2GB ram or better"}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"The setup:"}),"\n",(0,r.jsxs)(n.p,{children:["1 ) ",(0,r.jsx)(n.code,{children:"git clone https://github.com/vsc-eco/vsc-node"})]}),"\n",(0,r.jsxs)(n.p,{children:["2 ) ",(0,r.jsx)(n.code,{children:"cd vsc-node"})]}),"\n",(0,r.jsx)(n.p,{children:"3 ) < Fill in .env file here >"}),"\n",(0,r.jsx)(n.p,{children:"You'll need to create a .env file with the following values from the .env.example file."}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"# Fill these in with your hive account details\r\nHIVE_ACCOUNT=Insert hive account username\r\nHIVE_ACCOUNT_POSTING=Insert hive account posting key\r\nHIVE_ACCOUNT_ACTIVE=Insert hive account active key\n"})}),"\n",(0,r.jsx)(n.p,{children:"We generally recommend you use a different Hive account from your main account."}),"\n",(0,r.jsxs)(n.p,{children:["4 ) ",(0,r.jsx)(n.code,{children:"docker-compose up -d"})]}),"\n",(0,r.jsx)(n.p,{children:"You should be off to the races at this point! We can verify that your node is operating correctly on our discord server. Please actively monitor our Hive blog and discord server for incoming updates regarding VSC. You will need to consistent update your node as we release new versions of the software. Staying up to date with the rest of the network is critical in ensuring reliable operation of the network."})]})}function u(e={}){const{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>c,a:()=>s});var r=t(7294);const i={},o=r.createContext(i);function s(e){const n=r.useContext(o);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:s(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/569.de75f64a.js b/assets/js/569.de75f64a.js deleted file mode 100644 index 10d2c5a..0000000 --- a/assets/js/569.de75f64a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[569],{1460:(e,t,s)=>{s.d(t,{Z:()=>f});var a=s(7294),n=s(6905),r=s(6040),l=s(7524),i=s(3692),o=s(5999),c=s(6550),m=s(8596);function d(e){const{pathname:t}=(0,c.TH)();return(0,a.useMemo)((()=>e.filter((e=>function(e,t){return!(e.unlisted&&!(0,m.Mg)(e.permalink,t))}(e,t)))),[e,t])}const u={sidebar:"sidebar_re4s",sidebarItemTitle:"sidebarItemTitle_pO2u",sidebarItemList:"sidebarItemList_Yudw",sidebarItem:"sidebarItem__DBe",sidebarItemLink:"sidebarItemLink_mo7H",sidebarItemLinkActive:"sidebarItemLinkActive_I1ZP"};var h=s(5893);function g(e){let{sidebar:t}=e;const s=d(t.items);return(0,h.jsx)("aside",{className:"col col--3",children:(0,h.jsxs)("nav",{className:(0,n.Z)(u.sidebar,"thin-scrollbar"),"aria-label":(0,o.I)({id:"theme.blog.sidebar.navAriaLabel",message:"Blog recent posts navigation",description:"The ARIA label for recent posts in the blog sidebar"}),children:[(0,h.jsx)("div",{className:(0,n.Z)(u.sidebarItemTitle,"margin-bottom--md"),children:t.title}),(0,h.jsx)("ul",{className:(0,n.Z)(u.sidebarItemList,"clean-list"),children:s.map((e=>(0,h.jsx)("li",{className:u.sidebarItem,children:(0,h.jsx)(i.Z,{isNavLink:!0,to:e.permalink,className:u.sidebarItemLink,activeClassName:u.sidebarItemLinkActive,children:e.title})},e.permalink)))})]})})}var p=s(3102);function x(e){let{sidebar:t}=e;const s=d(t.items);return(0,h.jsx)("ul",{className:"menu__list",children:s.map((e=>(0,h.jsx)("li",{className:"menu__list-item",children:(0,h.jsx)(i.Z,{isNavLink:!0,to:e.permalink,className:"menu__link",activeClassName:"menu__link--active",children:e.title})},e.permalink)))})}function j(e){return(0,h.jsx)(p.Zo,{component:x,props:e})}function b(e){let{sidebar:t}=e;const s=(0,l.i)();return t?.items.length?"mobile"===s?(0,h.jsx)(j,{sidebar:t}):(0,h.jsx)(g,{sidebar:t}):null}function f(e){const{sidebar:t,toc:s,children:a,...l}=e,i=t&&t.items.length>0;return(0,h.jsx)(r.Z,{...l,children:(0,h.jsx)("div",{className:"container margin-vert--lg",children:(0,h.jsxs)("div",{className:"row",children:[(0,h.jsx)(b,{sidebar:t}),(0,h.jsx)("main",{className:(0,n.Z)("col",{"col--7":i,"col--9 col--offset-1":!i}),itemScope:!0,itemType:"https://schema.org/Blog",children:a}),s&&(0,h.jsx)("div",{className:"col col--2",children:s})]})})})}},756:(e,t,s)=>{s.d(t,{Z:()=>D});var a=s(7294),n=s(6905),r=s(9460),l=s(4996),i=s(5893);function o(e){let{children:t,className:s}=e;const{frontMatter:a,assets:n,metadata:{description:o}}=(0,r.C)(),{withBaseUrl:c}=(0,l.C)(),m=n.image??a.image,d=a.keywords??[];return(0,i.jsxs)("article",{className:s,itemProp:"blogPost",itemScope:!0,itemType:"https://schema.org/BlogPosting",children:[o&&(0,i.jsx)("meta",{itemProp:"description",content:o}),m&&(0,i.jsx)("link",{itemProp:"image",href:c(m,{absolute:!0})}),d.length>0&&(0,i.jsx)("meta",{itemProp:"keywords",content:d.join(",")}),t]})}var c=s(3692);const m={title:"title_f1Hy"};function d(e){let{className:t}=e;const{metadata:s,isBlogPostPage:a}=(0,r.C)(),{permalink:l,title:o}=s,d=a?"h1":"h2";return(0,i.jsx)(d,{className:(0,n.Z)(m.title,t),itemProp:"headline",children:a?o:(0,i.jsx)(c.Z,{itemProp:"url",to:l,children:o})})}var u=s(5999),h=s(2263);const g=["zero","one","two","few","many","other"];function p(e){return g.filter((t=>e.includes(t)))}const x={locale:"en",pluralForms:p(["one","other"]),select:e=>1===e?"one":"other"};function j(){const{i18n:{currentLocale:e}}=(0,h.Z)();return(0,a.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:p(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),x}}),[e])}function b(){const e=j();return{selectMessage:(t,s)=>function(e,t,s){const a=e.split("|");if(1===a.length)return a[0];a.length>s.pluralForms.length&&console.error(`For locale=${s.locale}, a maximum of ${s.pluralForms.length} plural forms are expected (${s.pluralForms.join(",")}), but the message contains ${a.length}: ${e}`);const n=s.select(t),r=s.pluralForms.indexOf(n);return a[Math.min(r,a.length-1)]}(s,t,e)}}const f={container:"container_mt6G"};function v(e){let{readingTime:t}=e;const s=function(){const{selectMessage:e}=b();return t=>{const s=Math.ceil(t);return e(s,(0,u.I)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:s}))}}();return(0,i.jsx)(i.Fragment,{children:s(t)})}function _(e){let{date:t,formattedDate:s}=e;return(0,i.jsx)("time",{dateTime:t,itemProp:"datePublished",children:s})}function N(){return(0,i.jsx)(i.Fragment,{children:" \xb7 "})}function P(e){let{className:t}=e;const{metadata:s}=(0,r.C)(),{date:a,formattedDate:l,readingTime:o}=s;return(0,i.jsxs)("div",{className:(0,n.Z)(f.container,"margin-vert--md",t),children:[(0,i.jsx)(_,{date:a,formattedDate:l}),void 0!==o&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(N,{}),(0,i.jsx)(v,{readingTime:o})]})]})}function Z(e){return e.href?(0,i.jsx)(c.Z,{...e}):(0,i.jsx)(i.Fragment,{children:e.children})}function k(e){let{author:t,className:s}=e;const{name:a,title:r,url:l,imageURL:o,email:c}=t,m=l||c&&`mailto:${c}`||void 0;return(0,i.jsxs)("div",{className:(0,n.Z)("avatar margin-bottom--sm",s),children:[o&&(0,i.jsx)(Z,{href:m,className:"avatar__photo-link",children:(0,i.jsx)("img",{className:"avatar__photo",src:o,alt:a,itemProp:"image"})}),a&&(0,i.jsxs)("div",{className:"avatar__intro",itemProp:"author",itemScope:!0,itemType:"https://schema.org/Person",children:[(0,i.jsx)("div",{className:"avatar__name",children:(0,i.jsx)(Z,{href:m,itemProp:"url",children:(0,i.jsx)("span",{itemProp:"name",children:a})})}),r&&(0,i.jsx)("small",{className:"avatar__subtitle",itemProp:"description",children:r})]})]})}const C={authorCol:"authorCol_Hf19",imageOnlyAuthorRow:"imageOnlyAuthorRow_pa_O",imageOnlyAuthorCol:"imageOnlyAuthorCol_G86a"};function T(e){let{className:t}=e;const{metadata:{authors:s},assets:a}=(0,r.C)();if(0===s.length)return null;const l=s.every((e=>{let{name:t}=e;return!t}));return(0,i.jsx)("div",{className:(0,n.Z)("margin-top--md margin-bottom--sm",l?C.imageOnlyAuthorRow:"row",t),children:s.map(((e,t)=>(0,i.jsx)("div",{className:(0,n.Z)(!l&&"col col--6",l?C.imageOnlyAuthorCol:C.authorCol),children:(0,i.jsx)(k,{author:{...e,imageURL:a.authorsImageUrls[t]??e.imageURL}})},t)))})}function w(){return(0,i.jsxs)("header",{children:[(0,i.jsx)(d,{}),(0,i.jsx)(P,{}),(0,i.jsx)(T,{})]})}var I=s(8780),F=s(1404);function L(e){let{children:t,className:s}=e;const{isBlogPostPage:a}=(0,r.C)();return(0,i.jsx)("div",{id:a?I.blogPostContainerID:void 0,className:(0,n.Z)("markdown",s),itemProp:"articleBody",children:(0,i.jsx)(F.Z,{children:t})})}var y=s(4881),B=s(6233);function R(){return(0,i.jsx)("b",{children:(0,i.jsx)(u.Z,{id:"theme.blog.post.readMore",description:"The label used in blog post item excerpts to link to full blog posts",children:"Read More"})})}function M(e){const{blogPostTitle:t,...s}=e;return(0,i.jsx)(c.Z,{"aria-label":(0,u.I)({message:"Read more about {title}",id:"theme.blog.post.readMoreLabel",description:"The ARIA label for the link to full blog posts from excerpts"},{title:t}),...s,children:(0,i.jsx)(R,{})})}const A={blogPostFooterDetailsFull:"blogPostFooterDetailsFull_mRVl"};function O(){const{metadata:e,isBlogPostPage:t}=(0,r.C)(),{tags:s,title:a,editUrl:l,hasTruncateMarker:o}=e,c=!t&&o,m=s.length>0;return m||c||l?(0,i.jsxs)("footer",{className:(0,n.Z)("row docusaurus-mt-lg",t&&A.blogPostFooterDetailsFull),children:[m&&(0,i.jsx)("div",{className:(0,n.Z)("col",{"col--9":c}),children:(0,i.jsx)(B.Z,{tags:s})}),t&&l&&(0,i.jsx)("div",{className:"col margin-top--sm",children:(0,i.jsx)(y.Z,{editUrl:l})}),c&&(0,i.jsx)("div",{className:(0,n.Z)("col text--right",{"col--3":m}),children:(0,i.jsx)(M,{blogPostTitle:a,to:e.permalink})})]}):null}function D(e){let{children:t,className:s}=e;const a=function(){const{isBlogPostPage:e}=(0,r.C)();return e?void 0:"margin-bottom--xl"}();return(0,i.jsxs)(o,{className:(0,n.Z)(a,s),children:[(0,i.jsx)(w,{}),(0,i.jsx)(L,{children:t}),(0,i.jsx)(O,{})]})}},4881:(e,t,s)=>{s.d(t,{Z:()=>m});s(7294);var a=s(5999),n=s(5281),r=s(3692),l=s(6905);const i={iconEdit:"iconEdit_Z9Sw"};var o=s(5893);function c(e){let{className:t,...s}=e;return(0,o.jsx)("svg",{fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,l.Z)(i.iconEdit,t),"aria-hidden":"true",...s,children:(0,o.jsx)("g",{children:(0,o.jsx)("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})})})}function m(e){let{editUrl:t}=e;return(0,o.jsxs)(r.Z,{to:t,className:n.k.common.editThisPage,children:[(0,o.jsx)(c,{}),(0,o.jsx)(a.Z,{id:"theme.common.editThisPage",description:"The link label to edit the current page",children:"Edit this page"})]})}},2244:(e,t,s)=>{s.d(t,{Z:()=>l});s(7294);var a=s(6905),n=s(3692),r=s(5893);function l(e){const{permalink:t,title:s,subLabel:l,isNext:i}=e;return(0,r.jsxs)(n.Z,{className:(0,a.Z)("pagination-nav__link",i?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[l&&(0,r.jsx)("div",{className:"pagination-nav__sublabel",children:l}),(0,r.jsx)("div",{className:"pagination-nav__label",children:s})]})}},6233:(e,t,s)=>{s.d(t,{Z:()=>m});s(7294);var a=s(6905),n=s(5999),r=s(3692);const l={tag:"tag_zVej",tagRegular:"tagRegular_sFm0",tagWithCount:"tagWithCount_h2kH"};var i=s(5893);function o(e){let{permalink:t,label:s,count:n}=e;return(0,i.jsxs)(r.Z,{href:t,className:(0,a.Z)(l.tag,n?l.tagWithCount:l.tagRegular),children:[s,n&&(0,i.jsx)("span",{children:n})]})}const c={tags:"tags_jXut",tag:"tag_QGVx"};function m(e){let{tags:t}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("b",{children:(0,i.jsx)(n.Z,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),(0,i.jsx)("ul",{className:(0,a.Z)(c.tags,"padding--none","margin-left--sm"),children:t.map((e=>{let{label:t,permalink:s}=e;return(0,i.jsx)("li",{className:c.tag,children:(0,i.jsx)(o,{label:t,permalink:s})},s)}))})]})}},9460:(e,t,s)=>{s.d(t,{C:()=>o,n:()=>i});var a=s(7294),n=s(902),r=s(5893);const l=a.createContext(null);function i(e){let{children:t,content:s,isBlogPostPage:n=!1}=e;const i=function(e){let{content:t,isBlogPostPage:s}=e;return(0,a.useMemo)((()=>({metadata:t.metadata,frontMatter:t.frontMatter,assets:t.assets,toc:t.toc,isBlogPostPage:s})),[t,s])}({content:s,isBlogPostPage:n});return(0,r.jsx)(l.Provider,{value:i,children:t})}function o(){const e=(0,a.useContext)(l);if(null===e)throw new n.i6("BlogPostProvider");return e}}}]); \ No newline at end of file diff --git a/assets/js/5e95c892.90927f58.js b/assets/js/5e95c892.5f1835c3.js similarity index 81% rename from assets/js/5e95c892.90927f58.js rename to assets/js/5e95c892.5f1835c3.js index c53c0b2..f441219 100644 --- a/assets/js/5e95c892.90927f58.js +++ b/assets/js/5e95c892.5f1835c3.js @@ -1 +1 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[661],{1892:(e,s,c)=>{c.r(s),c.d(s,{default:()=>l});c(7294);var r=c(6905),u=c(1944),a=c(5281),d=c(8790),n=c(6040),t=c(5893);function l(e){return(0,t.jsx)(u.FG,{className:(0,r.Z)(a.k.wrapper.docsPages),children:(0,t.jsx)(n.Z,{children:(0,d.H)(e.route.routes)})})}}}]); \ No newline at end of file +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[661],{1892:(e,s,c)=>{c.r(s),c.d(s,{default:()=>l});c(7294);var r=c(6905),u=c(8264),a=c(5281),d=c(8790),n=c(6040),t=c(5893);function l(e){return(0,t.jsx)(u.FG,{className:(0,r.Z)(a.k.wrapper.docsPages),children:(0,t.jsx)(n.Z,{children:(0,d.H)(e.route.routes)})})}}}]); \ No newline at end of file diff --git a/assets/js/656.1bab6eaf.js b/assets/js/656.1bab6eaf.js new file mode 100644 index 0000000..1a66665 --- /dev/null +++ b/assets/js/656.1bab6eaf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[656],{1460:(e,t,a)=>{a.d(t,{Z:()=>j});var n=a(7294),s=a(6905),r=a(6040),i=a(7524),l=a(3692),o=a(5999),c=a(6550),d=a(8596);function m(e){const{pathname:t}=(0,c.TH)();return(0,n.useMemo)((()=>e.filter((e=>function(e,t){return!(e.unlisted&&!(0,d.Mg)(e.permalink,t))}(e,t)))),[e,t])}const u={sidebar:"sidebar_re4s",sidebarItemTitle:"sidebarItemTitle_pO2u",sidebarItemList:"sidebarItemList_Yudw",sidebarItem:"sidebarItem__DBe",sidebarItemLink:"sidebarItemLink_mo7H",sidebarItemLinkActive:"sidebarItemLinkActive_I1ZP"};var g=a(5893);function h(e){let{sidebar:t}=e;const a=m(t.items);return(0,g.jsx)("aside",{className:"col col--3",children:(0,g.jsxs)("nav",{className:(0,s.Z)(u.sidebar,"thin-scrollbar"),"aria-label":(0,o.I)({id:"theme.blog.sidebar.navAriaLabel",message:"Blog recent posts navigation",description:"The ARIA label for recent posts in the blog sidebar"}),children:[(0,g.jsx)("div",{className:(0,s.Z)(u.sidebarItemTitle,"margin-bottom--md"),children:t.title}),(0,g.jsx)("ul",{className:(0,s.Z)(u.sidebarItemList,"clean-list"),children:a.map((e=>(0,g.jsx)("li",{className:u.sidebarItem,children:(0,g.jsx)(l.Z,{isNavLink:!0,to:e.permalink,className:u.sidebarItemLink,activeClassName:u.sidebarItemLinkActive,children:e.title})},e.permalink)))})]})})}var p=a(3102);function f(e){let{sidebar:t}=e;const a=m(t.items);return(0,g.jsx)("ul",{className:"menu__list",children:a.map((e=>(0,g.jsx)("li",{className:"menu__list-item",children:(0,g.jsx)(l.Z,{isNavLink:!0,to:e.permalink,className:"menu__link",activeClassName:"menu__link--active",children:e.title})},e.permalink)))})}function x(e){return(0,g.jsx)(p.Zo,{component:f,props:e})}function b(e){let{sidebar:t}=e;const a=(0,i.i)();return t?.items.length?"mobile"===a?(0,g.jsx)(x,{sidebar:t}):(0,g.jsx)(h,{sidebar:t}):null}function j(e){const{sidebar:t,toc:a,children:n,...i}=e,l=t&&t.items.length>0;return(0,g.jsx)(r.Z,{...i,children:(0,g.jsx)("div",{className:"container margin-vert--lg",children:(0,g.jsxs)("div",{className:"row",children:[(0,g.jsx)(b,{sidebar:t}),(0,g.jsx)("main",{className:(0,s.Z)("col",{"col--7":l,"col--9 col--offset-1":!l}),children:n}),a&&(0,g.jsx)("div",{className:"col col--2",children:a})]})})})}},9188:(e,t,a)=>{a.d(t,{Z:()=>$});var n=a(7294),s=a(6905),r=a(9460),i=a(5893);function l(e){let{children:t,className:a}=e;return(0,i.jsx)("article",{className:a,children:t})}var o=a(3692);const c={title:"title_f1Hy"};function d(e){let{className:t}=e;const{metadata:a,isBlogPostPage:n}=(0,r.C)(),{permalink:l,title:d}=a,m=n?"h1":"h2";return(0,i.jsx)(m,{className:(0,s.Z)(c.title,t),children:n?d:(0,i.jsx)(o.Z,{to:l,children:d})})}var m=a(5999),u=a(2263);const g=["zero","one","two","few","many","other"];function h(e){return g.filter((t=>e.includes(t)))}const p={locale:"en",pluralForms:h(["one","other"]),select:e=>1===e?"one":"other"};function f(){const{i18n:{currentLocale:e}}=(0,u.default)();return(0,n.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:h(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),p}}),[e])}function x(){const e=f();return{selectMessage:(t,a)=>function(e,t,a){const n=e.split("|");if(1===n.length)return n[0];n.length>a.pluralForms.length&&console.error(`For locale=${a.locale}, a maximum of ${a.pluralForms.length} plural forms are expected (${a.pluralForms.join(",")}), but the message contains ${n.length}: ${e}`);const s=a.select(t),r=a.pluralForms.indexOf(s);return n[Math.min(r,n.length-1)]}(a,t,e)}}var b=a(9788);const j={container:"container_mt6G"};function v(e){let{readingTime:t}=e;const a=function(){const{selectMessage:e}=x();return t=>{const a=Math.ceil(t);return e(a,(0,m.I)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:a}))}}();return(0,i.jsx)(i.Fragment,{children:a(t)})}function N(e){let{date:t,formattedDate:a}=e;return(0,i.jsx)("time",{dateTime:t,children:a})}function _(){return(0,i.jsx)(i.Fragment,{children:" \xb7 "})}function k(e){let{className:t}=e;const{metadata:a}=(0,r.C)(),{date:n,readingTime:l}=a,o=(0,b.P)({day:"numeric",month:"long",year:"numeric",timeZone:"UTC"});return(0,i.jsxs)("div",{className:(0,s.Z)(j.container,"margin-vert--md",t),children:[(0,i.jsx)(N,{date:n,formattedDate:(c=n,o.format(new Date(c)))}),void 0!==l&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(_,{}),(0,i.jsx)(v,{readingTime:l})]})]});var c}function Z(e){return e.href?(0,i.jsx)(o.Z,{...e}):(0,i.jsx)(i.Fragment,{children:e.children})}function P(e){let{author:t,className:a}=e;const{name:n,title:r,url:l,imageURL:o,email:c}=t,d=l||c&&`mailto:${c}`||void 0;return(0,i.jsxs)("div",{className:(0,s.Z)("avatar margin-bottom--sm",a),children:[o&&(0,i.jsx)(Z,{href:d,className:"avatar__photo-link",children:(0,i.jsx)("img",{className:"avatar__photo",src:o,alt:n})}),n&&(0,i.jsxs)("div",{className:"avatar__intro",children:[(0,i.jsx)("div",{className:"avatar__name",children:(0,i.jsx)(Z,{href:d,children:(0,i.jsx)("span",{children:n})})}),r&&(0,i.jsx)("small",{className:"avatar__subtitle",children:r})]})]})}const w={authorCol:"authorCol_Hf19",imageOnlyAuthorRow:"imageOnlyAuthorRow_pa_O",imageOnlyAuthorCol:"imageOnlyAuthorCol_G86a"};function C(e){let{className:t}=e;const{metadata:{authors:a},assets:n}=(0,r.C)();if(0===a.length)return null;const l=a.every((e=>{let{name:t}=e;return!t}));return(0,i.jsx)("div",{className:(0,s.Z)("margin-top--md margin-bottom--sm",l?w.imageOnlyAuthorRow:"row",t),children:a.map(((e,t)=>(0,i.jsx)("div",{className:(0,s.Z)(!l&&"col col--6",l?w.imageOnlyAuthorCol:w.authorCol),children:(0,i.jsx)(P,{author:{...e,imageURL:n.authorsImageUrls[t]??e.imageURL}})},t)))})}function y(){return(0,i.jsxs)("header",{children:[(0,i.jsx)(d,{}),(0,i.jsx)(k,{}),(0,i.jsx)(C,{})]})}var I=a(8780),T=a(3538);function L(e){let{children:t,className:a}=e;const{isBlogPostPage:n}=(0,r.C)();return(0,i.jsx)("div",{id:n?I.blogPostContainerID:void 0,className:(0,s.Z)("markdown",a),children:(0,i.jsx)(T.Z,{children:t})})}var M=a(5281),B=a(7265),U=a(6233);function R(){return(0,i.jsx)("b",{children:(0,i.jsx)(m.Z,{id:"theme.blog.post.readMore",description:"The label used in blog post item excerpts to link to full blog posts",children:"Read More"})})}function A(e){const{blogPostTitle:t,...a}=e;return(0,i.jsx)(o.Z,{"aria-label":(0,m.I)({message:"Read more about {title}",id:"theme.blog.post.readMoreLabel",description:"The ARIA label for the link to full blog posts from excerpts"},{title:t}),...a,children:(0,i.jsx)(R,{})})}function O(){const{metadata:e,isBlogPostPage:t}=(0,r.C)(),{tags:a,title:n,editUrl:l,hasTruncateMarker:o,lastUpdatedBy:c,lastUpdatedAt:d}=e,m=!t&&o,u=a.length>0;if(!(u||m||l))return null;if(t){const e=!!(l||d||c);return(0,i.jsxs)("footer",{className:"docusaurus-mt-lg",children:[u&&(0,i.jsx)("div",{className:(0,s.Z)("row","margin-top--sm",M.k.blog.blogFooterEditMetaRow),children:(0,i.jsx)("div",{className:"col",children:(0,i.jsx)(U.Z,{tags:a})})}),e&&(0,i.jsx)(B.Z,{className:(0,s.Z)("margin-top--sm",M.k.blog.blogFooterEditMetaRow),editUrl:l,lastUpdatedAt:d,lastUpdatedBy:c})]})}return(0,i.jsxs)("footer",{className:"row docusaurus-mt-lg",children:[u&&(0,i.jsx)("div",{className:(0,s.Z)("col",{"col--9":m}),children:(0,i.jsx)(U.Z,{tags:a})}),m&&(0,i.jsx)("div",{className:(0,s.Z)("col text--right",{"col--3":u}),children:(0,i.jsx)(A,{blogPostTitle:n,to:e.permalink})})]})}function $(e){let{children:t,className:a}=e;const n=function(){const{isBlogPostPage:e}=(0,r.C)();return e?void 0:"margin-bottom--xl"}();return(0,i.jsxs)(l,{className:(0,s.Z)(n,a),children:[(0,i.jsx)(y,{}),(0,i.jsx)(L,{children:t}),(0,i.jsx)(O,{})]})}},2244:(e,t,a)=>{a.d(t,{Z:()=>i});a(7294);var n=a(6905),s=a(3692),r=a(5893);function i(e){const{permalink:t,title:a,subLabel:i,isNext:l}=e;return(0,r.jsxs)(s.Z,{className:(0,n.Z)("pagination-nav__link",l?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t,children:[i&&(0,r.jsx)("div",{className:"pagination-nav__sublabel",children:i}),(0,r.jsx)("div",{className:"pagination-nav__label",children:a})]})}},6233:(e,t,a)=>{a.d(t,{Z:()=>d});a(7294);var n=a(6905),s=a(5999),r=a(3692);const i={tag:"tag_zVej",tagRegular:"tagRegular_sFm0",tagWithCount:"tagWithCount_h2kH"};var l=a(5893);function o(e){let{permalink:t,label:a,count:s,description:o}=e;return(0,l.jsxs)(r.Z,{href:t,title:o,className:(0,n.Z)(i.tag,s?i.tagWithCount:i.tagRegular),children:[a,s&&(0,l.jsx)("span",{children:s})]})}const c={tags:"tags_jXut",tag:"tag_QGVx"};function d(e){let{tags:t}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("b",{children:(0,l.jsx)(s.Z,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),(0,l.jsx)("ul",{className:(0,n.Z)(c.tags,"padding--none","margin-left--sm"),children:t.map((e=>(0,l.jsx)("li",{className:c.tag,children:(0,l.jsx)(o,{...e})},e.permalink)))})]})}},9460:(e,t,a)=>{a.d(t,{C:()=>o,n:()=>l});var n=a(7294),s=a(902),r=a(5893);const i=n.createContext(null);function l(e){let{children:t,content:a,isBlogPostPage:s=!1}=e;const l=function(e){let{content:t,isBlogPostPage:a}=e;return(0,n.useMemo)((()=>({metadata:t.metadata,frontMatter:t.frontMatter,assets:t.assets,toc:t.toc,isBlogPostPage:a})),[t,a])}({content:a,isBlogPostPage:s});return(0,r.jsx)(i.Provider,{value:l,children:t})}function o(){const e=(0,n.useContext)(i);if(null===e)throw new s.i6("BlogPostProvider");return e}},136:(e,t,a)=>{a.d(t,{C:()=>d,i:()=>m});var n=a(4996),s=a(2263),r=a(5102);var i=a(9460);const l=e=>new Date(e).toISOString();function o(e){const t=e.map(u);return{author:1===t.length?t[0]:t}}function c(e,t,a){return e?{image:g({imageUrl:t(e,{absolute:!0}),caption:`title image for the blog post: ${a}`})}:{}}function d(e){const{siteConfig:t}=(0,s.default)(),{withBaseUrl:a}=(0,n.Cg)(),{metadata:{blogDescription:r,blogTitle:i,permalink:d}}=e,m=`${t.url}${d}`;return{"@context":"https://schema.org","@type":"Blog","@id":m,mainEntityOfPage:m,headline:i,description:r,blogPost:e.items.map((e=>function(e,t,a){const{assets:n,frontMatter:s,metadata:r}=e,{date:i,title:d,description:m,lastUpdatedAt:u}=r,g=n.image??s.image,h=s.keywords??[],p=`${t.url}${r.permalink}`,f=u?l(u):void 0;return{"@type":"BlogPosting","@id":p,mainEntityOfPage:p,url:p,headline:d,name:d,description:m,datePublished:i,...f?{dateModified:f}:{},...o(r.authors),...c(g,a,d),...h?{keywords:h}:{}}}(e.content,t,a)))}}function m(){const e=function(){const e=(0,r.Z)(),t=e?.data?.blogMetadata;if(!t)throw new Error("useBlogMetadata() can't be called on the current route because the blog metadata could not be found in route context");return t}(),{assets:t,metadata:a}=(0,i.C)(),{siteConfig:d}=(0,s.default)(),{withBaseUrl:m}=(0,n.Cg)(),{date:u,title:g,description:h,frontMatter:p,lastUpdatedAt:f}=a,x=t.image??p.image,b=p.keywords??[],j=f?l(f):void 0,v=`${d.url}${a.permalink}`;return{"@context":"https://schema.org","@type":"BlogPosting","@id":v,mainEntityOfPage:v,url:v,headline:g,name:g,description:h,datePublished:u,...j?{dateModified:j}:{},...o(a.authors),...c(x,m,g),...b?{keywords:b}:{},isPartOf:{"@type":"Blog","@id":`${d.url}${e.blogBasePath}`,name:e.blogTitle}}}function u(e){return{"@type":"Person",...e.name?{name:e.name}:{},...e.title?{description:e.title}:{},...e.url?{url:e.url}:{},...e.email?{email:e.email}:{},...e.imageURL?{image:e.imageURL}:{}}}function g(e){let{imageUrl:t,caption:a}=e;return{"@type":"ImageObject","@id":t,url:t,contentUrl:t,caption:a}}}}]); \ No newline at end of file diff --git a/assets/js/6bdcc902.45aff715.js b/assets/js/6bdcc902.45aff715.js new file mode 100644 index 0000000..cab6b9e --- /dev/null +++ b/assets/js/6bdcc902.45aff715.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[992],{4579:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>s,default:()=>h,frontMatter:()=>r,metadata:()=>c,toc:()=>d});var i=t(5893),o=t(1151);const r={},s="Invoke contract",c={id:"tutorials/invoke-contract",title:"Invoke contract",description:"This guide explains how to invoke a contract on the VSC network via javascript code.",source:"@site/docs/tutorials/invoke-contract.md",sourceDirName:"tutorials",slug:"/tutorials/invoke-contract",permalink:"/docs/tutorials/invoke-contract",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Creating your first smart contract",permalink:"/docs/tutorials/first-contract"}},a={},d=[{value:"Environment setup",id:"environment-setup",level:2},{value:"VSC client based - setup",id:"vsc-client-based---setup",level:3},{value:"HIVE based - setup",id:"hive-based---setup",level:3},{value:"The payload",id:"the-payload",level:2},{value:"The code",id:"the-code",level:2},{value:"VSC client based - code",id:"vsc-client-based---code",level:3},{value:"HIVE based - code",id:"hive-based---code",level:2},{value:"Execution",id:"execution",level:2}];function l(e){const n={code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",strong:"strong",...(0,o.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"invoke-contract",children:"Invoke contract"}),"\n",(0,i.jsx)(n.p,{children:"This guide explains how to invoke a contract on the VSC network via javascript code."}),"\n",(0,i.jsxs)(n.p,{children:["There are currently 2 options to do so. Either by using the ",(0,i.jsx)(n.em,{children:"VSC client"})," or by sending HIVE layer 1 transactions via e.g. the ",(0,i.jsx)(n.em,{children:"@hiveio/dhive"})," library."]}),"\n",(0,i.jsx)(n.h2,{id:"environment-setup",children:"Environment setup"}),"\n",(0,i.jsx)(n.p,{children:"We will use a simple NodeJS setup for our contract invocation code. To start we initialize an empty project:"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"npm init -y"})}),"\n",(0,i.jsx)(n.p,{children:"Now we will create a file we can put our code in. In this tutorail we will create it in the root of the project."}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"/index.js"})}),"\n",(0,i.jsx)(n.p,{children:"For the next step, we edit the package.json file and add a script to start our application."}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:'"start": "node --experimental-specifier-resolution=node index.js"'})}),"\n",(0,i.jsx)(n.p,{children:'Since we will be using ES modules (import statements), we also need to add the "type": "module" field to our package.json file.'}),"\n",(0,i.jsx)(n.p,{children:"The package.json then may look something like this:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-json",children:'{\n "name": "invoke-contract-test",\n "version": "1.0.0",\n "description": "",\n "main": "index.js",\n "scripts": {\n "test": "echo \\"Error: no test specified\\" && exit 1",\n "start": "node --experimental-specifier-resolution=node index.js"\n },\n "keywords": [],\n "author": "",\n "license": "ISC",\n "dependencies": {},\n "type": "module"\n}\n'})}),"\n",(0,i.jsx)(n.p,{children:"Afterwards, we will install the minimally required packages."}),"\n",(0,i.jsx)(n.h3,{id:"vsc-client-based---setup",children:"VSC client based - setup"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"npm install @vsc.eco/client dids key-did-provider-ed25519 key-did-resolver"})}),"\n",(0,i.jsx)(n.h3,{id:"hive-based---setup",children:"HIVE based - setup"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"npm install @hiveio/dhive"})}),"\n",(0,i.jsx)(n.h2,{id:"the-payload",children:"The payload"}),"\n",(0,i.jsx)(n.p,{children:"A VSC transaction usually contains a payload. The payload may be any arbitrary data the contract endpoint accepts."}),"\n",(0,i.jsx)(n.p,{children:"In our example, we will use a simple JSON with some mock data."}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-json",children:"{\n hello: 'World'\n}\n"})}),"\n",(0,i.jsx)(n.p,{children:"The payload is the most interesting part for developers who build on top of VSC, your contract logic determines what a contract may require as input information."}),"\n",(0,i.jsx)(n.h2,{id:"the-code",children:"The code"}),"\n",(0,i.jsxs)(n.p,{children:["We will now populate the ",(0,i.jsx)(n.code,{children:"index.js"})," file with code in order to finally send the transaction."]}),"\n",(0,i.jsx)(n.p,{children:"Depending on the chosen method there are slight differences in the configuration. Regardless, there are a lot of common options like the transaction datastructure that are explained below."}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"op"}),": the type of transaction that is sent (contract invocation = 'call_contract')\n",(0,i.jsx)(n.strong,{children:"action"}),": the entrypoint (method name) of the contract that is called\n",(0,i.jsx)(n.strong,{children:"contract_id"}),": the id of the contract that we want to invoke\n",(0,i.jsx)(n.strong,{children:"payload"}),": the data that is provided to the execution context of the contract invocation"]}),"\n",(0,i.jsx)(n.h3,{id:"vsc-client-based---code",children:"VSC client based - code"}),"\n",(0,i.jsx)(n.p,{children:"The VSC client setup uses the DID authentification method in this example. For this, we need to provide the private key of our public/ private key pair."}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-js",children:"import { vClient, vTransaction, hexToUint8Array } from '@vsc.eco/client'\nimport { DID } from 'dids'\nimport { Ed25519Provider } from 'key-did-provider-ed25519'\nimport KeyResolver from 'key-did-resolver'\n\nvoid (async () => {\n const privateKey = 'my-private-key'\n\n const client = new vClient({\n api: 'https://api.vsc.eco:443',\n loginType: 'offchain'\n })\n const secret = hexToUint8Array(privateKey)\n const keyPrivate = new Ed25519Provider(secret)\n const did = new DID({ provider: keyPrivate, resolver: KeyResolver.getResolver() })\n await did.authenticate()\n \n await client.login(did)\n const tx = new vTransaction()\n tx.setTx({\n op: 'call_contract',\n action: 'testJSON',\n contract_id: 'vs41q9c3ygq38nldzh209g5aw0knllm45px5ycrwx5sv0jxddmd9ve4r0z6frcvv9h2j',\n payload: {\n hello: 'World'\n }\n })\n await tx.broadcast(client);\n})()\n"})}),"\n",(0,i.jsx)(n.h2,{id:"hive-based---code",children:"HIVE based - code"}),"\n",(0,i.jsx)(n.p,{children:"For the HIVE based setup we supply our HIVE account name and our HIVE account posting private key."}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-js",children:"import { Client, PrivateKey } from '@hiveio/dhive'\n\nvoid (async () => {\n const hiveAccount = 'my-hive-account-name'\n const hiveAccountPosting = 'my-hive-posting-key'\n\n const broadcast = await Client.broadcast.json({\n\n required_auths: [],\n required_posting_auths: [hiveAccount],\n id: \"vsc.tx\",\n json: JSON.stringify({\n net_id: \"testnet/0bf2e474-6b9e-4165-ad4e-a0d78968d20c\",\n __v: '0.1',\n __t: 'native',\n tx: {\n op: 'call_contract',\n action: 'testJSON',\n contract_id: 'vs41q9c3ygq38nldzh209g5aw0knllm45px5ycrwx5sv0jxddmd9ve4r0z6frcvv9h2j',\n payload: {\n hello: 'World'\n }\n }\n })\n }, PrivateKey.fromString(hiveAccountPosting))\n})()\n"})}),"\n",(0,i.jsx)(n.h2,{id:"execution",children:"Execution"}),"\n",(0,i.jsx)(n.p,{children:"We can now run our example via:"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"npm run start"})}),"\n",(0,i.jsx)(n.p,{children:"and should see the newly generated transaction ID in the console."}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-js",children:"{\n data: {\n submitTransactionV1: {\n id: 'bafyreienfcot24lizhpml45ileeoy5lsobdtjlb4n7dh3k7z7zlpqpyi6u'\n }\n }\n}\n"})}),"\n",(0,i.jsx)(n.p,{children:"If you get this response your contract invocation was successfully published to the VSC network!"})]})}function h(e={}){const{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(l,{...e})}):l(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>c,a:()=>s});var i=t(7294);const o={},r=i.createContext(o);function s(e){const n=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),i.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/7661071f.1af38cc6.js b/assets/js/7661071f.1af38cc6.js deleted file mode 100644 index b904764..0000000 --- a/assets/js/7661071f.1af38cc6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[642],{3174:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>l,contentTitle:()=>r,default:()=>d,frontMatter:()=>s,metadata:()=>a,toc:()=>u});var n=o(5893),c=o(1151);const s={slug:"welcome",title:"Welcome"},r=void 0,a={permalink:"/blog/welcome",source:"@site/blog/2021-08-26-welcome/index.md",title:"Welcome",description:"You can find all our blog posts on our Hive blog//peakd.com/@vsc.network",date:"2021-08-26T00:00:00.000Z",formattedDate:"August 26, 2021",tags:[],readingTime:.06,hasTruncateMarker:!1,authors:[],frontMatter:{slug:"welcome",title:"Welcome"},unlisted:!1},l={authorsImageUrls:[]},u=[];function i(e){const t={a:"a",p:"p",...(0,c.a)(),...e.components};return(0,n.jsxs)(t.p,{children:["You can find all our blog posts on our Hive blog: ",(0,n.jsx)(t.a,{href:"https://peakd.com/@vsc.network",children:"https://peakd.com/@vsc.network"})]})}function d(e={}){const{wrapper:t}={...(0,c.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(i,{...e})}):i(e)}},1151:(e,t,o)=>{o.d(t,{Z:()=>a,a:()=>r});var n=o(7294);const c={},s=n.createContext(c);function r(e){const t=n.useContext(s);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:r(e.components),n.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/7661071f.b319c938.js b/assets/js/7661071f.b319c938.js new file mode 100644 index 0000000..2b7549d --- /dev/null +++ b/assets/js/7661071f.b319c938.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[642],{3174:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>l,contentTitle:()=>r,default:()=>p,frontMatter:()=>s,metadata:()=>a,toc:()=>u});var n=o(5893),c=o(1151);const s={slug:"welcome",title:"Welcome"},r=void 0,a={permalink:"/blog/welcome",source:"@site/blog/2021-08-26-welcome/index.md",title:"Welcome",description:"You can find all our blog posts on our Hive blog//peakd.com/@vsc.network",date:"2021-08-26T00:00:00.000Z",tags:[],readingTime:.06,hasTruncateMarker:!1,authors:[],frontMatter:{slug:"welcome",title:"Welcome"},unlisted:!1},l={authorsImageUrls:[]},u=[];function i(e){const t={a:"a",p:"p",...(0,c.a)(),...e.components};return(0,n.jsxs)(t.p,{children:["You can find all our blog posts on our Hive blog: ",(0,n.jsx)(t.a,{href:"https://peakd.com/@vsc.network",children:"https://peakd.com/@vsc.network"})]})}function p(e={}){const{wrapper:t}={...(0,c.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(i,{...e})}):i(e)}},1151:(e,t,o)=>{o.d(t,{Z:()=>a,a:()=>r});var n=o(7294);const c={},s=n.createContext(c);function r(e){const t=n.useContext(s);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:r(e.components),n.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/772.cb3cd0c9.js b/assets/js/772.f07de380.js similarity index 95% rename from assets/js/772.cb3cd0c9.js rename to assets/js/772.f07de380.js index 0118494..76218ef 100644 --- a/assets/js/772.cb3cd0c9.js +++ b/assets/js/772.f07de380.js @@ -1 +1 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[772],{5658:(e,t,n)=>{n.d(t,{Z:()=>a});n(7294);var i=n(6905),o=n(5999),s=n(2503),r=n(5893);function a(e){let{className:t}=e;return(0,r.jsx)("main",{className:(0,i.Z)("container margin-vert--xl",t),children:(0,r.jsx)("div",{className:"row",children:(0,r.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,r.jsx)(s.Z,{as:"h1",className:"hero__title",children:(0,r.jsx)(o.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,r.jsx)("p",{children:(0,r.jsx)(o.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,r.jsx)("p",{children:(0,r.jsx)(o.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}},1772:(e,t,n)=>{n.r(t),n.d(t,{default:()=>d});n(7294);var i=n(5999),o=n(1944),s=n(6040),r=n(5658),a=n(5893);function d(){const e=(0,i.I)({id:"theme.NotFound.title",message:"Page Not Found"});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.d,{title:e}),(0,a.jsx)(s.Z,{children:(0,a.jsx)(r.Z,{})})]})}}}]); \ No newline at end of file +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[772],{5658:(e,t,n)=>{n.d(t,{Z:()=>a});n(7294);var i=n(6905),o=n(5999),s=n(2503),r=n(5893);function a(e){let{className:t}=e;return(0,r.jsx)("main",{className:(0,i.Z)("container margin-vert--xl",t),children:(0,r.jsx)("div",{className:"row",children:(0,r.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,r.jsx)(s.Z,{as:"h1",className:"hero__title",children:(0,r.jsx)(o.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,r.jsx)("p",{children:(0,r.jsx)(o.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,r.jsx)("p",{children:(0,r.jsx)(o.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}},1772:(e,t,n)=>{n.r(t),n.d(t,{default:()=>d});n(7294);var i=n(5999),o=n(8264),s=n(6040),r=n(5658),a=n(5893);function d(){const e=(0,i.I)({id:"theme.NotFound.title",message:"Page Not Found"});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.d,{title:e}),(0,a.jsx)(s.Z,{children:(0,a.jsx)(r.Z,{})})]})}}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.5103b238.js b/assets/js/935f2afb.5103b238.js deleted file mode 100644 index ebd296e..0000000 --- a/assets/js/935f2afb.5103b238.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[53],{1109:t=>{t.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"link","label":"Introduction","href":"/docs/Introduction","docId":"Introduction","unlisted":false},{"type":"category","label":"Getting Started","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Why VSC?","href":"/docs/getting-started/why-vsc","docId":"getting-started/why-vsc","unlisted":false},{"type":"link","label":"Running a node","href":"/docs/getting-started/running-a-node","docId":"getting-started/Running a node","unlisted":false},{"type":"link","label":"Creating your first smart contract","href":"/docs/getting-started/creating-your-first-smart-contract","docId":"getting-started/first-smart-contract","unlisted":false},{"type":"link","label":"Smart Contract SDK","href":"/docs/getting-started/sdk","docId":"getting-started/sdk","unlisted":false}],"href":"/docs/getting-started/"},{"type":"category","label":"Resources","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Block Explorer","href":"/docs/Resources/block-explorer","docId":"Resources/block-explorer","unlisted":false}]},{"type":"link","label":"Cross Chain DeFi & Wrapping","href":"/docs/bitcoin-wrapping","docId":"bitcoin-wrapping","unlisted":false}]},"docs":{"bitcoin-wrapping":{"id":"bitcoin-wrapping","title":"Cross Chain DeFi & Wrapping","description":"VSC\'s mission extends beyond its innovative smart contract capabilities. It aspires to become the driving force behind the integration of various cryptocurrencies, starting with Bitcoin, into the HIVE ecosystem through a process known as wrapping. This approach paves the way for the seamless transfer and utilization of Bitcoin and potentially other cryptocurrencies within the HIVE network.","sidebar":"tutorialSidebar"},"getting-started/first-smart-contract":{"id":"getting-started/first-smart-contract","title":"Creating your first smart contract","description":"Prerequisites","sidebar":"tutorialSidebar"},"getting-started/index":{"id":"getting-started/index","title":"Getting Started","description":"To get started, check out \\"running a node\\"","sidebar":"tutorialSidebar"},"getting-started/Running a node":{"id":"getting-started/Running a node","title":"Running a node","description":"This tutorial will guide you through the process of setting up a VSC node .","sidebar":"tutorialSidebar"},"getting-started/sdk":{"id":"getting-started/sdk","title":"Smart Contract SDK","description":"VSC provides a robust Assemblyscript SDK for use within your smart contract.","sidebar":"tutorialSidebar"},"getting-started/why-vsc":{"id":"getting-started/why-vsc","title":"Why VSC?","description":"Before picking a technology to use in your project, it\'s important to research and evaluate each one to determine a best fit technology for your use case. This document will give you a rough overview of what VSC does and enough details to make an informed decision for your project.","sidebar":"tutorialSidebar"},"Introduction":{"id":"Introduction","title":"Introduction","description":"VSC (virtual smart chain) is a next generation smart contract L2 built on the Hive blockchain. VSC not only aims to bring smart contracts to Hive, but completely change the onboarding experience by introducing native lite accounts and cross chain login functionality, support decentralized and secure wrapping technology, and power the future of DAPPs on Hive. VSC operates as sidechain to Hive, this gives us a significant amount of flexibility to advance and build new features, along with the ability to scale the L2 network in the future. Using Hive as a clearing and synchronization method, VSC can push huge amounts of data with little to no overhead on the Hive L1. This approach allows VSC to inherit a lot of Hive\'s lower level functions such as feeless transactions and 3s block time. VSC uses Webassembly for smart contracts, which us to support any language that comiles down to native webassembly. The flexibility this gives to developers is emmense, where as EVM chains Solidity is the only option. Currently we support AssemblyScript (JavaScript like) with more languages to be added in the future as we vet and build out development tools for each programming language.","sidebar":"tutorialSidebar"},"Resources/block-explorer":{"id":"Resources/block-explorer","title":"Block Explorer","description":"A block explorer built by a community member (@techcoderx) is currently live, and the only block explorer available at hs point in time. Nonetheless, it supports important graphical functions for consuming & debugging VSC transcations","sidebar":"tutorialSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/959d578c.ed876304.js b/assets/js/959d578c.ed876304.js deleted file mode 100644 index 2671333..0000000 --- a/assets/js/959d578c.ed876304.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[221],{6716:(t,e,n)=>{n.r(e),n.d(e,{assets:()=>c,contentTitle:()=>i,default:()=>l,frontMatter:()=>o,metadata:()=>a,toc:()=>d});var r=n(5893),s=n(1151);const o={title:"Smart Contract SDK",sidebar_position:4},i=void 0,a={id:"getting-started/sdk",title:"Smart Contract SDK",description:"VSC provides a robust Assemblyscript SDK for use within your smart contract.",source:"@site/docs/getting-started/sdk.md",sourceDirName:"getting-started",slug:"/getting-started/sdk",permalink:"/docs/getting-started/sdk",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:4,frontMatter:{title:"Smart Contract SDK",sidebar_position:4},sidebar:"tutorialSidebar",previous:{title:"Creating your first smart contract",permalink:"/docs/getting-started/creating-your-first-smart-contract"},next:{title:"Block Explorer",permalink:"/docs/Resources/block-explorer"}},c={},d=[{value:"APIs",id:"apis",level:3}];function u(t){const e={h3:"h3",li:"li",p:"p",ul:"ul",...(0,s.a)(),...t.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(e.p,{children:"VSC provides a robust Assemblyscript SDK for use within your smart contract.\r\nThe SDK provides smart contract developers with many essential functions such as data manipulation, sending/receiving tokens, cryptographic functions and more"}),"\n",(0,r.jsx)(e.h3,{id:"apis",children:"APIs"}),"\n",(0,r.jsxs)(e.ul,{children:["\n",(0,r.jsx)(e.li,{children:"crypto.sha256"}),"\n",(0,r.jsx)(e.li,{}),"\n"]})]})}function l(t={}){const{wrapper:e}={...(0,s.a)(),...t.components};return e?(0,r.jsx)(e,{...t,children:(0,r.jsx)(u,{...t})}):u(t)}},1151:(t,e,n)=>{n.d(e,{Z:()=>a,a:()=>i});var r=n(7294);const s={},o=r.createContext(s);function i(t){const e=r.useContext(o);return r.useMemo((function(){return"function"==typeof t?t(e):{...e,...t}}),[e,t])}function a(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(s):t.components||s:i(t.components),r.createElement(o.Provider,{value:e},t.children)}}}]); \ No newline at end of file diff --git a/assets/js/9e4087bc.1d6214ac.js b/assets/js/9e4087bc.1d6214ac.js deleted file mode 100644 index d0633b3..0000000 --- a/assets/js/9e4087bc.1d6214ac.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[608],{3169:(e,s,r)=>{r.r(s),r.d(s,{default:()=>o});r(7294);var t=r(3692),a=r(5999),i=r(1944),c=r(6040),n=r(2503),l=r(5893);function d(e){let{year:s,posts:r}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.Z,{as:"h3",id:s,children:s}),(0,l.jsx)("ul",{children:r.map((e=>(0,l.jsx)("li",{children:(0,l.jsxs)(t.Z,{to:e.metadata.permalink,children:[e.metadata.formattedDate," - ",e.metadata.title]})},e.metadata.date)))})]})}function h(e){let{years:s}=e;return(0,l.jsx)("section",{className:"margin-vert--lg",children:(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"row",children:s.map(((e,s)=>(0,l.jsx)("div",{className:"col col--4 margin-vert--lg",children:(0,l.jsx)(d,{...e})},s)))})})})}function o(e){let{archive:s}=e;const r=(0,a.I)({id:"theme.blog.archive.title",message:"Archive",description:"The page & hero title of the blog archive page"}),t=(0,a.I)({id:"theme.blog.archive.description",message:"Archive",description:"The page & hero description of the blog archive page"}),d=function(e){const s=e.reduce(((e,s)=>{const r=s.metadata.date.split("-")[0],t=e.get(r)??[];return e.set(r,[s,...t])}),new Map);return Array.from(s,(e=>{let[s,r]=e;return{year:s,posts:r}}))}(s.blogPosts);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i.d,{title:r,description:t}),(0,l.jsxs)(c.Z,{children:[(0,l.jsx)("header",{className:"hero hero--primary",children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsx)(n.Z,{as:"h1",className:"hero__title",children:r}),(0,l.jsx)("p",{className:"hero__subtitle",children:t})]})}),(0,l.jsx)("main",{children:d.length>0&&(0,l.jsx)(h,{years:d})})]})]})}}}]); \ No newline at end of file diff --git a/assets/js/9e4087bc.8f871e72.js b/assets/js/9e4087bc.8f871e72.js new file mode 100644 index 0000000..f60fbc8 --- /dev/null +++ b/assets/js/9e4087bc.8f871e72.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[608],{3169:(e,t,r)=>{r.r(t),r.d(t,{default:()=>m});r(7294);var a=r(3692),n=r(5999),s=r(8264),i=r(9788),c=r(6040),l=r(2503),o=r(5893);function d(e){let{year:t,posts:r}=e;const n=(0,i.P)({day:"numeric",month:"long",timeZone:"UTC"});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(l.Z,{as:"h3",id:t,children:t}),(0,o.jsx)("ul",{children:r.map((e=>{return(0,o.jsx)("li",{children:(0,o.jsxs)(a.Z,{to:e.metadata.permalink,children:[(t=e.metadata.date,n.format(new Date(t)))," - ",e.metadata.title]})},e.metadata.date);var t}))})]})}function h(e){let{years:t}=e;return(0,o.jsx)("section",{className:"margin-vert--lg",children:(0,o.jsx)("div",{className:"container",children:(0,o.jsx)("div",{className:"row",children:t.map(((e,t)=>(0,o.jsx)("div",{className:"col col--4 margin-vert--lg",children:(0,o.jsx)(d,{...e})},t)))})})})}function m(e){let{archive:t}=e;const r=(0,n.I)({id:"theme.blog.archive.title",message:"Archive",description:"The page & hero title of the blog archive page"}),a=(0,n.I)({id:"theme.blog.archive.description",message:"Archive",description:"The page & hero description of the blog archive page"}),i=function(e){const t=e.reduce(((e,t)=>{const r=t.metadata.date.split("-")[0],a=e.get(r)??[];return e.set(r,[t,...a])}),new Map);return Array.from(t,(e=>{let[t,r]=e;return{year:t,posts:r}}))}(t.blogPosts);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.d,{title:r,description:a}),(0,o.jsxs)(c.Z,{children:[(0,o.jsx)("header",{className:"hero hero--primary",children:(0,o.jsxs)("div",{className:"container",children:[(0,o.jsx)(l.Z,{as:"h1",className:"hero__title",children:r}),(0,o.jsx)("p",{className:"hero__subtitle",children:a})]})}),(0,o.jsx)("main",{children:i.length>0&&(0,o.jsx)(h,{years:i})})]})]})}},9788:(e,t,r)=>{r.d(t,{P:()=>n});var a=r(2263);function n(e){void 0===e&&(e={});const{i18n:{currentLocale:t}}=(0,a.default)(),r=function(){const{i18n:{currentLocale:e,localeConfigs:t}}=(0,a.default)();return t[e].calendar}();return new Intl.DateTimeFormat(t,{calendar:r,...e})}}}]); \ No newline at end of file diff --git a/assets/js/a678a43c.451160b8.js b/assets/js/a678a43c.451160b8.js deleted file mode 100644 index e2fe305..0000000 --- a/assets/js/a678a43c.451160b8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[789],{6934:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>s,default:()=>u,frontMatter:()=>r,metadata:()=>a,toc:()=>p});var i=n(5893),o=n(1151);const r={title:"Cross Chain DeFi & Wrapping"},s=void 0,a={id:"bitcoin-wrapping",title:"Cross Chain DeFi & Wrapping",description:"VSC's mission extends beyond its innovative smart contract capabilities. It aspires to become the driving force behind the integration of various cryptocurrencies, starting with Bitcoin, into the HIVE ecosystem through a process known as wrapping. This approach paves the way for the seamless transfer and utilization of Bitcoin and potentially other cryptocurrencies within the HIVE network.",source:"@site/docs/bitcoin-wrapping.md",sourceDirName:".",slug:"/bitcoin-wrapping",permalink:"/docs/bitcoin-wrapping",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{title:"Cross Chain DeFi & Wrapping"},sidebar:"tutorialSidebar",previous:{title:"Block Explorer",permalink:"/docs/Resources/block-explorer"}},c={},p=[];function l(e){const t={a:"a",p:"p",...(0,o.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.p,{children:"VSC's mission extends beyond its innovative smart contract capabilities. It aspires to become the driving force behind the integration of various cryptocurrencies, starting with Bitcoin, into the HIVE ecosystem through a process known as wrapping. This approach paves the way for the seamless transfer and utilization of Bitcoin and potentially other cryptocurrencies within the HIVE network."}),"\n",(0,i.jsx)(t.p,{children:"VSC's ambitious roadmap includes plans for extending this wrapping capability to Ethereum (ETH), Litecoin (LTC), Dogecoin (DOGE), and potentially more digital assets. Currently, the goal is to build a full fleged wrapping system for the above cryptocurrency. However, this might not work for all cryptocurrencies or all assets. As a result VSC has support for atomic cross chain swaps using HTLCs. HTLCs, a fundamental feature of VSC, enable secure and trustless cross-chain transactions. With HTLC support, users can lock up assets on one blockchain while simultaneously generating a cryptographic proof that unlocks the equivalent amount on HIVE, seamlessly bridging the two ecosystems, therefore ultimately contributing to a more integrated and versatile crypto landscape."}),"\n",(0,i.jsxs)(t.p,{children:["The full fleged wrapping approach we are going for is based off the ",(0,i.jsx)(t.a,{href:"https://xclaim.io",children:"xclaim.io framework"}),". XClaim is a well known and trusted wrapping procedure currently in use on Ethereum & Polkadot. We will be applying similar concepts here for wrapping of Bitcoin & other cryptocurrencies onto Hive."]})]})}function u(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(l,{...e})}):l(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>a,a:()=>s});var i=n(7294);const o={},r=i.createContext(o);function s(e){const t=i.useContext(r);return i.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),i.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/a6aa9e1f.5fabfd69.js b/assets/js/a6aa9e1f.5fabfd69.js deleted file mode 100644 index e01bb91..0000000 --- a/assets/js/a6aa9e1f.5fabfd69.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[89],{3269:(e,t,a)=>{a.r(t),a.d(t,{default:()=>j});a(7294);var n=a(6905),s=a(2263),i=a(1944),r=a(5281),l=a(1460),o=a(5999),g=a(2244),c=a(5893);function d(e){const{metadata:t}=e,{previousPage:a,nextPage:n}=t;return(0,c.jsxs)("nav",{className:"pagination-nav","aria-label":(0,o.I)({id:"theme.blog.paginator.navAriaLabel",message:"Blog list page navigation",description:"The ARIA label for the blog pagination"}),children:[a&&(0,c.jsx)(g.Z,{permalink:a,title:(0,c.jsx)(o.Z,{id:"theme.blog.paginator.newerEntries",description:"The label used to navigate to the newer blog posts page (previous page)",children:"Newer Entries"})}),n&&(0,c.jsx)(g.Z,{permalink:n,title:(0,c.jsx)(o.Z,{id:"theme.blog.paginator.olderEntries",description:"The label used to navigate to the older blog posts page (next page)",children:"Older Entries"}),isNext:!0})]})}var p=a(197),m=a(9460),u=a(756);function h(e){let{items:t,component:a=u.Z}=e;return(0,c.jsx)(c.Fragment,{children:t.map((e=>{let{content:t}=e;return(0,c.jsx)(m.n,{content:t,children:(0,c.jsx)(a,{children:(0,c.jsx)(t,{})})},t.metadata.permalink)}))})}function x(e){const{metadata:t}=e,{siteConfig:{title:a}}=(0,s.Z)(),{blogDescription:n,blogTitle:r,permalink:l}=t,o="/"===l?a:r;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(i.d,{title:o,description:n}),(0,c.jsx)(p.Z,{tag:"blog_posts_list"})]})}function b(e){const{metadata:t,items:a,sidebar:n}=e;return(0,c.jsxs)(l.Z,{sidebar:n,children:[(0,c.jsx)(h,{items:a}),(0,c.jsx)(d,{metadata:t})]})}function j(e){return(0,c.jsxs)(i.FG,{className:(0,n.Z)(r.k.wrapper.blogPages,r.k.page.blogListPage),children:[(0,c.jsx)(x,{...e}),(0,c.jsx)(b,{...e})]})}}}]); \ No newline at end of file diff --git a/assets/js/a6aa9e1f.c54ca8a9.js b/assets/js/a6aa9e1f.c54ca8a9.js new file mode 100644 index 0000000..c058557 --- /dev/null +++ b/assets/js/a6aa9e1f.c54ca8a9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[89],{2727:(e,t,n)=>{n.r(t),n.d(t,{default:()=>k});n(7294);var a=n(6905),i=n(2263),s=n(8264),r=n(5281),l=n(1460),o=n(5999),c=n(2244),d=n(5893);function g(e){const{metadata:t}=e,{previousPage:n,nextPage:a}=t;return(0,d.jsxs)("nav",{className:"pagination-nav","aria-label":(0,o.I)({id:"theme.blog.paginator.navAriaLabel",message:"Blog list page navigation",description:"The ARIA label for the blog pagination"}),children:[n&&(0,d.jsx)(c.Z,{permalink:n,title:(0,d.jsx)(o.Z,{id:"theme.blog.paginator.newerEntries",description:"The label used to navigate to the newer blog posts page (previous page)",children:"Newer Entries"})}),a&&(0,d.jsx)(c.Z,{permalink:a,title:(0,d.jsx)(o.Z,{id:"theme.blog.paginator.olderEntries",description:"The label used to navigate to the older blog posts page (next page)",children:"Older Entries"}),isNext:!0})]})}var p=n(197),u=n(9460),x=n(9188);function h(e){let{items:t,component:n=x.Z}=e;return(0,d.jsx)(d.Fragment,{children:t.map((e=>{let{content:t}=e;return(0,d.jsx)(u.n,{content:t,children:(0,d.jsx)(n,{children:(0,d.jsx)(t,{})})},t.metadata.permalink)}))})}var j=n(5742),m=n(136);function b(e){const t=(0,m.C)(e);return(0,d.jsx)(j.Z,{children:(0,d.jsx)("script",{type:"application/ld+json",children:JSON.stringify(t)})})}function f(e){const{metadata:t}=e,{siteConfig:{title:n}}=(0,i.default)(),{blogDescription:a,blogTitle:r,permalink:l}=t,o="/"===l?n:r;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(s.d,{title:o,description:a}),(0,d.jsx)(p.Z,{tag:"blog_posts_list"})]})}function v(e){const{metadata:t,items:n,sidebar:a}=e;return(0,d.jsxs)(l.Z,{sidebar:a,children:[(0,d.jsx)(h,{items:n}),(0,d.jsx)(g,{metadata:t})]})}function k(e){return(0,d.jsxs)(s.FG,{className:(0,a.Z)(r.k.wrapper.blogPages,r.k.page.blogListPage),children:[(0,d.jsx)(f,{...e}),(0,d.jsx)(b,{...e}),(0,d.jsx)(v,{...e})]})}}}]); \ No newline at end of file diff --git a/assets/js/a7434565.d6279eba.js b/assets/js/a7456010.56220c68.js similarity index 64% rename from assets/js/a7434565.d6279eba.js rename to assets/js/a7456010.56220c68.js index ce6bfb2..56ea19d 100644 --- a/assets/js/a7434565.d6279eba.js +++ b/assets/js/a7456010.56220c68.js @@ -1 +1 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[645],{5745:s=>{s.exports=JSON.parse('{"name":"docusaurus-plugin-content-pages","id":"default"}')}}]); \ No newline at end of file +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[980],{9365:s=>{s.exports=JSON.parse('{"name":"docusaurus-plugin-content-pages","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/a7bd4aaa.3525ef70.js b/assets/js/a7bd4aaa.3525ef70.js deleted file mode 100644 index f26c892..0000000 --- a/assets/js/a7bd4aaa.3525ef70.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[518],{8564:(n,s,e)=>{e.r(s),e.d(s,{default:()=>l});e(7294);var r=e(1944),o=e(3320),c=e(4477),t=e(8790),i=e(197),u=e(5893);function a(n){const{version:s}=n;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(i.Z,{version:s.version,tag:(0,o.os)(s.pluginId,s.version)}),(0,u.jsx)(r.d,{children:s.noIndex&&(0,u.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})]})}function d(n){const{version:s,route:e}=n;return(0,u.jsx)(r.FG,{className:s.className,children:(0,u.jsx)(c.q,{version:s,children:(0,t.H)(e.routes)})})}function l(n){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(a,{...n}),(0,u.jsx)(d,{...n})]})}}}]); \ No newline at end of file diff --git a/assets/js/a7bd4aaa.f65ef267.js b/assets/js/a7bd4aaa.f65ef267.js new file mode 100644 index 0000000..ac8d3e3 --- /dev/null +++ b/assets/js/a7bd4aaa.f65ef267.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[23],{8564:(n,s,e)=>{e.r(s),e.d(s,{default:()=>l});e(7294);var r=e(8264),o=e(3320),c=e(4477),t=e(8790),i=e(197),u=e(5893);function a(n){const{version:s}=n;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(i.Z,{version:s.version,tag:(0,o.os)(s.pluginId,s.version)}),(0,u.jsx)(r.d,{children:s.noIndex&&(0,u.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})]})}function d(n){const{version:s,route:e}=n;return(0,u.jsx)(r.FG,{className:s.className,children:(0,u.jsx)(c.q,{version:s,children:(0,t.H)(e.routes)})})}function l(n){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(a,{...n}),(0,u.jsx)(d,{...n})]})}}}]); \ No newline at end of file diff --git a/assets/js/a94703ab.0d7cf4e4.js b/assets/js/a94703ab.0d7cf4e4.js deleted file mode 100644 index dd284ac..0000000 --- a/assets/js/a94703ab.0d7cf4e4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[368],{2674:(e,t,n)=>{n.r(t),n.d(t,{default:()=>be});var a=n(7294),o=n(6905),i=n(1944),s=n(5281),l=n(2802),c=n(1116),r=n(5999),d=n(2466),u=n(5936);const m={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};var b=n(5893);function h(){const{shown:e,scrollToTop:t}=function(e){let{threshold:t}=e;const[n,o]=(0,a.useState)(!1),i=(0,a.useRef)(!1),{startScroll:s,cancelScroll:l}=(0,d.Ct)();return(0,d.RF)(((e,n)=>{let{scrollY:a}=e;const s=n?.scrollY;s&&(i.current?i.current=!1:a>=s?(l(),o(!1)):a {e.location.hash&&(i.current=!0,o(!1))})),{shown:n,scrollToTop:()=>s(0)}}({threshold:300});return(0,b.jsx)("button",{"aria-label":(0,r.I)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,o.Z)("clean-btn",s.k.common.backToTopButton,m.backToTopButton,e&&m.backToTopButtonShow),type:"button",onClick:t})}var p=n(1442),x=n(6550),f=n(7524),j=n(6668),k=n(1327);function _(e){return(0,b.jsx)("svg",{width:"20",height:"20","aria-hidden":"true",...e,children:(0,b.jsxs)("g",{fill:"#7a7a7a",children:[(0,b.jsx)("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),(0,b.jsx)("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})]})})}const v={collapseSidebarButton:"collapseSidebarButton_PEFL",collapseSidebarButtonIcon:"collapseSidebarButtonIcon_kv0_"};function g(e){let{onClick:t}=e;return(0,b.jsx)("button",{type:"button",title:(0,r.I)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,r.I)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,o.Z)("button button--secondary button--outline",v.collapseSidebarButton),onClick:t,children:(0,b.jsx)(_,{className:v.collapseSidebarButtonIcon})})}var C=n(9689),S=n(902);const I=Symbol("EmptyContext"),N=a.createContext(I);function T(e){let{children:t}=e;const[n,o]=(0,a.useState)(null),i=(0,a.useMemo)((()=>({expandedItem:n,setExpandedItem:o})),[n]);return(0,b.jsx)(N.Provider,{value:i,children:t})}var B=n(6043),Z=n(8596),A=n(3692),L=n(2389);function y(e){let{collapsed:t,categoryLabel:n,onClick:a}=e;return(0,b.jsx)("button",{"aria-label":t?(0,r.I)({id:"theme.DocSidebarItem.expandCategoryAriaLabel",message:"Expand sidebar category '{label}'",description:"The ARIA label to expand the sidebar category"},{label:n}):(0,r.I)({id:"theme.DocSidebarItem.collapseCategoryAriaLabel",message:"Collapse sidebar category '{label}'",description:"The ARIA label to collapse the sidebar category"},{label:n}),type:"button",className:"clean-btn menu__caret",onClick:a})}function w(e){let{item:t,onItemClick:n,activePath:i,level:c,index:r,...d}=e;const{items:u,label:m,collapsible:h,className:p,href:x}=t,{docs:{sidebar:{autoCollapseCategories:f}}}=(0,j.L)(),k=function(e){const t=(0,L.Z)();return(0,a.useMemo)((()=>e.href&&!e.linkUnlisted?e.href:!t&&e.collapsible?(0,l.LM)(e):void 0),[e,t])}(t),_=(0,l._F)(t,i),v=(0,Z.Mg)(x,i),{collapsed:g,setCollapsed:C}=(0,B.u)({initialState:()=>!!h&&(!_&&t.collapsed)}),{expandedItem:T,setExpandedItem:w}=function(){const e=(0,a.useContext)(N);if(e===I)throw new S.i6("DocSidebarItemsExpandedStateProvider");return e}(),E=function(e){void 0===e&&(e=!g),w(e?null:r),C(e)};return function(e){let{isActive:t,collapsed:n,updateCollapsed:o}=e;const i=(0,S.D9)(t);(0,a.useEffect)((()=>{t&&!i&&n&&o(!1)}),[t,i,n,o])}({isActive:_,collapsed:g,updateCollapsed:E}),(0,a.useEffect)((()=>{h&&null!=T&&T!==r&&f&&C(!0)}),[h,T,r,C,f]),(0,b.jsxs)("li",{className:(0,o.Z)(s.k.docs.docSidebarItemCategory,s.k.docs.docSidebarItemCategoryLevel(c),"menu__list-item",{"menu__list-item--collapsed":g},p),children:[(0,b.jsxs)("div",{className:(0,o.Z)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":v}),children:[(0,b.jsx)(A.Z,{className:(0,o.Z)("menu__link",{"menu__link--sublist":h,"menu__link--sublist-caret":!x&&h,"menu__link--active":_}),onClick:h?e=>{n?.(t),x?E(!1):(e.preventDefault(),E())}:()=>{n?.(t)},"aria-current":v?"page":void 0,"aria-expanded":h?!g:void 0,href:h?k??"#":k,...d,children:m}),x&&h&&(0,b.jsx)(y,{collapsed:g,categoryLabel:m,onClick:e=>{e.preventDefault(),E()}})]}),(0,b.jsx)(B.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:g,children:(0,b.jsx)(V,{items:u,tabIndex:g?-1:0,onItemClick:n,activePath:i,level:c+1})})]})}var E=n(3919),H=n(9471);const M={menuExternalLink:"menuExternalLink_NmtK"};function R(e){let{item:t,onItemClick:n,activePath:a,level:i,index:c,...r}=e;const{href:d,label:u,className:m,autoAddBaseUrl:h}=t,p=(0,l._F)(t,a),x=(0,E.Z)(d);return(0,b.jsx)("li",{className:(0,o.Z)(s.k.docs.docSidebarItemLink,s.k.docs.docSidebarItemLinkLevel(i),"menu__list-item",m),children:(0,b.jsxs)(A.Z,{className:(0,o.Z)("menu__link",!x&&M.menuExternalLink,{"menu__link--active":p}),autoAddBaseUrl:h,"aria-current":p?"page":void 0,to:d,...x&&{onClick:n?()=>n(t):void 0},...r,children:[u,!x&&(0,b.jsx)(H.Z,{})]})},u)}const W={menuHtmlItem:"menuHtmlItem_M9Kj"};function F(e){let{item:t,level:n,index:a}=e;const{value:i,defaultStyle:l,className:c}=t;return(0,b.jsx)("li",{className:(0,o.Z)(s.k.docs.docSidebarItemLink,s.k.docs.docSidebarItemLinkLevel(n),l&&[W.menuHtmlItem,"menu__list-item"],c),dangerouslySetInnerHTML:{__html:i}},a)}function P(e){let{item:t,...n}=e;switch(t.type){case"category":return(0,b.jsx)(w,{item:t,...n});case"html":return(0,b.jsx)(F,{item:t,...n});default:return(0,b.jsx)(R,{item:t,...n})}}function D(e){let{items:t,...n}=e;const a=(0,l.f)(t,n.activePath);return(0,b.jsx)(T,{children:a.map(((e,t)=>(0,b.jsx)(P,{item:e,index:t,...n},t)))})}const V=(0,a.memo)(D),U={menu:"menu_SIkG",menuWithAnnouncementBar:"menuWithAnnouncementBar_GW3s"};function K(e){let{path:t,sidebar:n,className:i}=e;const l=function(){const{isActive:e}=(0,C.nT)(),[t,n]=(0,a.useState)(e);return(0,d.RF)((t=>{let{scrollY:a}=t;e&&n(0===a)}),[e]),e&&t}();return(0,b.jsx)("nav",{"aria-label":(0,r.I)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,o.Z)("menu thin-scrollbar",U.menu,l&&U.menuWithAnnouncementBar,i),children:(0,b.jsx)("ul",{className:(0,o.Z)(s.k.docs.docSidebarMenu,"menu__list"),children:(0,b.jsx)(V,{items:n,activePath:t,level:1})})})}const Y="sidebar_njMd",z="sidebarWithHideableNavbar_wUlq",G="sidebarHidden_VK0M",O="sidebarLogo_isFc";function q(e){let{path:t,sidebar:n,onCollapse:a,isHidden:i}=e;const{navbar:{hideOnScroll:s},docs:{sidebar:{hideable:l}}}=(0,j.L)();return(0,b.jsxs)("div",{className:(0,o.Z)(Y,s&&z,i&&G),children:[s&&(0,b.jsx)(k.Z,{tabIndex:-1,className:O}),(0,b.jsx)(K,{path:t,sidebar:n}),l&&(0,b.jsx)(g,{onClick:a})]})}const J=a.memo(q);var Q=n(3102),X=n(2961);const $=e=>{let{sidebar:t,path:n}=e;const a=(0,X.e)();return(0,b.jsx)("ul",{className:(0,o.Z)(s.k.docs.docSidebarMenu,"menu__list"),children:(0,b.jsx)(V,{items:t,activePath:n,onItemClick:e=>{"category"===e.type&&e.href&&a.toggle(),"link"===e.type&&a.toggle()},level:1})})};function ee(e){return(0,b.jsx)(Q.Zo,{component:$,props:e})}const te=a.memo(ee);function ne(e){const t=(0,f.i)(),n="desktop"===t||"ssr"===t,a="mobile"===t;return(0,b.jsxs)(b.Fragment,{children:[n&&(0,b.jsx)(J,{...e}),a&&(0,b.jsx)(te,{...e})]})}const ae={expandButton:"expandButton_TmdG",expandButtonIcon:"expandButtonIcon_i1dp"};function oe(e){let{toggleSidebar:t}=e;return(0,b.jsx)("div",{className:ae.expandButton,title:(0,r.I)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,r.I)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:t,onClick:t,children:(0,b.jsx)(_,{className:ae.expandButtonIcon})})}const ie={docSidebarContainer:"docSidebarContainer_YfHR",docSidebarContainerHidden:"docSidebarContainerHidden_DPk8",sidebarViewport:"sidebarViewport_aRkj"};function se(e){let{children:t}=e;const n=(0,c.V)();return(0,b.jsx)(a.Fragment,{children:t},n?.name??"noSidebar")}function le(e){let{sidebar:t,hiddenSidebarContainer:n,setHiddenSidebarContainer:i}=e;const{pathname:l}=(0,x.TH)(),[c,r]=(0,a.useState)(!1),d=(0,a.useCallback)((()=>{c&&r(!1),!c&&(0,p.n)()&&r(!0),i((e=>!e))}),[i,c]);return(0,b.jsx)("aside",{className:(0,o.Z)(s.k.docs.docSidebarContainer,ie.docSidebarContainer,n&&ie.docSidebarContainerHidden),onTransitionEnd:e=>{e.currentTarget.classList.contains(ie.docSidebarContainer)&&n&&r(!0)},children:(0,b.jsx)(se,{children:(0,b.jsxs)("div",{className:(0,o.Z)(ie.sidebarViewport,c&&ie.sidebarViewportHidden),children:[(0,b.jsx)(ne,{sidebar:t,path:l,onCollapse:d,isHidden:c}),c&&(0,b.jsx)(oe,{toggleSidebar:d})]})})})}const ce={docMainContainer:"docMainContainer_TBSr",docMainContainerEnhanced:"docMainContainerEnhanced_lQrH",docItemWrapperEnhanced:"docItemWrapperEnhanced_JWYK"};function re(e){let{hiddenSidebarContainer:t,children:n}=e;const a=(0,c.V)();return(0,b.jsx)("main",{className:(0,o.Z)(ce.docMainContainer,(t||!a)&&ce.docMainContainerEnhanced),children:(0,b.jsx)("div",{className:(0,o.Z)("container padding-top--md padding-bottom--lg",ce.docItemWrapper,t&&ce.docItemWrapperEnhanced),children:n})})}const de={docRoot:"docRoot_UBD9",docsWrapper:"docsWrapper_hBAB"};function ue(e){let{children:t}=e;const n=(0,c.V)(),[o,i]=(0,a.useState)(!1);return(0,b.jsxs)("div",{className:de.docsWrapper,children:[(0,b.jsx)(h,{}),(0,b.jsxs)("div",{className:de.docRoot,children:[n&&(0,b.jsx)(le,{sidebar:n.items,hiddenSidebarContainer:o,setHiddenSidebarContainer:i}),(0,b.jsx)(re,{hiddenSidebarContainer:o,children:t})]})]})}var me=n(5658);function be(e){const t=(0,l.SN)(e);if(!t)return(0,b.jsx)(me.Z,{});const{docElement:n,sidebarName:a,sidebarItems:r}=t;return(0,b.jsx)(i.FG,{className:(0,o.Z)(s.k.page.docsDocPage),children:(0,b.jsx)(c.b,{name:a,items:r,children:(0,b.jsx)(ue,{children:n})})})}},5658:(e,t,n)=>{n.d(t,{Z:()=>l});n(7294);var a=n(6905),o=n(5999),i=n(2503),s=n(5893);function l(e){let{className:t}=e;return(0,s.jsx)("main",{className:(0,a.Z)("container margin-vert--xl",t),children:(0,s.jsx)("div",{className:"row",children:(0,s.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,s.jsx)(i.Z,{as:"h1",className:"hero__title",children:(0,s.jsx)(o.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,s.jsx)("p",{children:(0,s.jsx)(o.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,s.jsx)("p",{children:(0,s.jsx)(o.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}}}]); \ No newline at end of file diff --git a/assets/js/a94703ab.7aadd628.js b/assets/js/a94703ab.7aadd628.js new file mode 100644 index 0000000..2e6f68c --- /dev/null +++ b/assets/js/a94703ab.7aadd628.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[368],{2674:(e,t,n)=>{n.r(t),n.d(t,{default:()=>be});var a=n(7294),o=n(6905),i=n(8264),s=n(5281),l=n(2802),r=n(1116),c=n(5999),d=n(2466),u=n(5936);const m={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};var b=n(5893);function h(){const{shown:e,scrollToTop:t}=function(e){let{threshold:t}=e;const[n,o]=(0,a.useState)(!1),i=(0,a.useRef)(!1),{startScroll:s,cancelScroll:l}=(0,d.Ct)();return(0,d.RF)(((e,n)=>{let{scrollY:a}=e;const s=n?.scrollY;s&&(i.current?i.current=!1:a>=s?(l(),o(!1)):a {e.location.hash&&(i.current=!0,o(!1))})),{shown:n,scrollToTop:()=>s(0)}}({threshold:300});return(0,b.jsx)("button",{"aria-label":(0,c.I)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,o.Z)("clean-btn",s.k.common.backToTopButton,m.backToTopButton,e&&m.backToTopButtonShow),type:"button",onClick:t})}var p=n(1442),x=n(6550),f=n(7524),j=n(6668),k=n(1327);function v(e){return(0,b.jsx)("svg",{width:"20",height:"20","aria-hidden":"true",...e,children:(0,b.jsxs)("g",{fill:"#7a7a7a",children:[(0,b.jsx)("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),(0,b.jsx)("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})]})})}const _={collapseSidebarButton:"collapseSidebarButton_PEFL",collapseSidebarButtonIcon:"collapseSidebarButtonIcon_kv0_"};function g(e){let{onClick:t}=e;return(0,b.jsx)("button",{type:"button",title:(0,c.I)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,c.I)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,o.Z)("button button--secondary button--outline",_.collapseSidebarButton),onClick:t,children:(0,b.jsx)(v,{className:_.collapseSidebarButtonIcon})})}var C=n(9689),S=n(902);const I=Symbol("EmptyContext"),N=a.createContext(I);function T(e){let{children:t}=e;const[n,o]=(0,a.useState)(null),i=(0,a.useMemo)((()=>({expandedItem:n,setExpandedItem:o})),[n]);return(0,b.jsx)(N.Provider,{value:i,children:t})}var B=n(6043),Z=n(8596),A=n(3692),L=n(2389);function y(e){let{collapsed:t,categoryLabel:n,onClick:a}=e;return(0,b.jsx)("button",{"aria-label":t?(0,c.I)({id:"theme.DocSidebarItem.expandCategoryAriaLabel",message:"Expand sidebar category '{label}'",description:"The ARIA label to expand the sidebar category"},{label:n}):(0,c.I)({id:"theme.DocSidebarItem.collapseCategoryAriaLabel",message:"Collapse sidebar category '{label}'",description:"The ARIA label to collapse the sidebar category"},{label:n}),"aria-expanded":!t,type:"button",className:"clean-btn menu__caret",onClick:a})}function w(e){let{item:t,onItemClick:n,activePath:i,level:r,index:c,...d}=e;const{items:u,label:m,collapsible:h,className:p,href:x}=t,{docs:{sidebar:{autoCollapseCategories:f}}}=(0,j.L)(),k=function(e){const t=(0,L.Z)();return(0,a.useMemo)((()=>e.href&&!e.linkUnlisted?e.href:!t&&e.collapsible?(0,l.LM)(e):void 0),[e,t])}(t),v=(0,l._F)(t,i),_=(0,Z.Mg)(x,i),{collapsed:g,setCollapsed:C}=(0,B.u)({initialState:()=>!!h&&(!v&&t.collapsed)}),{expandedItem:T,setExpandedItem:w}=function(){const e=(0,a.useContext)(N);if(e===I)throw new S.i6("DocSidebarItemsExpandedStateProvider");return e}(),E=function(e){void 0===e&&(e=!g),w(e?null:c),C(e)};return function(e){let{isActive:t,collapsed:n,updateCollapsed:o}=e;const i=(0,S.D9)(t);(0,a.useEffect)((()=>{t&&!i&&n&&o(!1)}),[t,i,n,o])}({isActive:v,collapsed:g,updateCollapsed:E}),(0,a.useEffect)((()=>{h&&null!=T&&T!==c&&f&&C(!0)}),[h,T,c,C,f]),(0,b.jsxs)("li",{className:(0,o.Z)(s.k.docs.docSidebarItemCategory,s.k.docs.docSidebarItemCategoryLevel(r),"menu__list-item",{"menu__list-item--collapsed":g},p),children:[(0,b.jsxs)("div",{className:(0,o.Z)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":_}),children:[(0,b.jsx)(A.Z,{className:(0,o.Z)("menu__link",{"menu__link--sublist":h,"menu__link--sublist-caret":!x&&h,"menu__link--active":v}),onClick:h?e=>{n?.(t),x?E(!1):(e.preventDefault(),E())}:()=>{n?.(t)},"aria-current":_?"page":void 0,role:h&&!x?"button":void 0,"aria-expanded":h&&!x?!g:void 0,href:h?k??"#":k,...d,children:m}),x&&h&&(0,b.jsx)(y,{collapsed:g,categoryLabel:m,onClick:e=>{e.preventDefault(),E()}})]}),(0,b.jsx)(B.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:g,children:(0,b.jsx)(V,{items:u,tabIndex:g?-1:0,onItemClick:n,activePath:i,level:r+1})})]})}var E=n(3919),H=n(9471);const M={menuExternalLink:"menuExternalLink_NmtK"};function R(e){let{item:t,onItemClick:n,activePath:a,level:i,index:r,...c}=e;const{href:d,label:u,className:m,autoAddBaseUrl:h}=t,p=(0,l._F)(t,a),x=(0,E.Z)(d);return(0,b.jsx)("li",{className:(0,o.Z)(s.k.docs.docSidebarItemLink,s.k.docs.docSidebarItemLinkLevel(i),"menu__list-item",m),children:(0,b.jsxs)(A.Z,{className:(0,o.Z)("menu__link",!x&&M.menuExternalLink,{"menu__link--active":p}),autoAddBaseUrl:h,"aria-current":p?"page":void 0,to:d,...x&&{onClick:n?()=>n(t):void 0},...c,children:[u,!x&&(0,b.jsx)(H.Z,{})]})},u)}const W={menuHtmlItem:"menuHtmlItem_M9Kj"};function F(e){let{item:t,level:n,index:a}=e;const{value:i,defaultStyle:l,className:r}=t;return(0,b.jsx)("li",{className:(0,o.Z)(s.k.docs.docSidebarItemLink,s.k.docs.docSidebarItemLinkLevel(n),l&&[W.menuHtmlItem,"menu__list-item"],r),dangerouslySetInnerHTML:{__html:i}},a)}function P(e){let{item:t,...n}=e;switch(t.type){case"category":return(0,b.jsx)(w,{item:t,...n});case"html":return(0,b.jsx)(F,{item:t,...n});default:return(0,b.jsx)(R,{item:t,...n})}}function D(e){let{items:t,...n}=e;const a=(0,l.f)(t,n.activePath);return(0,b.jsx)(T,{children:a.map(((e,t)=>(0,b.jsx)(P,{item:e,index:t,...n},t)))})}const V=(0,a.memo)(D),U={menu:"menu_SIkG",menuWithAnnouncementBar:"menuWithAnnouncementBar_GW3s"};function K(e){let{path:t,sidebar:n,className:i}=e;const l=function(){const{isActive:e}=(0,C.n)(),[t,n]=(0,a.useState)(e);return(0,d.RF)((t=>{let{scrollY:a}=t;e&&n(0===a)}),[e]),e&&t}();return(0,b.jsx)("nav",{"aria-label":(0,c.I)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,o.Z)("menu thin-scrollbar",U.menu,l&&U.menuWithAnnouncementBar,i),children:(0,b.jsx)("ul",{className:(0,o.Z)(s.k.docs.docSidebarMenu,"menu__list"),children:(0,b.jsx)(V,{items:n,activePath:t,level:1})})})}const Y="sidebar_njMd",z="sidebarWithHideableNavbar_wUlq",G="sidebarHidden_VK0M",O="sidebarLogo_isFc";function q(e){let{path:t,sidebar:n,onCollapse:a,isHidden:i}=e;const{navbar:{hideOnScroll:s},docs:{sidebar:{hideable:l}}}=(0,j.L)();return(0,b.jsxs)("div",{className:(0,o.Z)(Y,s&&z,i&&G),children:[s&&(0,b.jsx)(k.Z,{tabIndex:-1,className:O}),(0,b.jsx)(K,{path:t,sidebar:n}),l&&(0,b.jsx)(g,{onClick:a})]})}const J=a.memo(q);var Q=n(3102),X=n(2961);const $=e=>{let{sidebar:t,path:n}=e;const a=(0,X.e)();return(0,b.jsx)("ul",{className:(0,o.Z)(s.k.docs.docSidebarMenu,"menu__list"),children:(0,b.jsx)(V,{items:t,activePath:n,onItemClick:e=>{"category"===e.type&&e.href&&a.toggle(),"link"===e.type&&a.toggle()},level:1})})};function ee(e){return(0,b.jsx)(Q.Zo,{component:$,props:e})}const te=a.memo(ee);function ne(e){const t=(0,f.i)(),n="desktop"===t||"ssr"===t,a="mobile"===t;return(0,b.jsxs)(b.Fragment,{children:[n&&(0,b.jsx)(J,{...e}),a&&(0,b.jsx)(te,{...e})]})}const ae={expandButton:"expandButton_TmdG",expandButtonIcon:"expandButtonIcon_i1dp"};function oe(e){let{toggleSidebar:t}=e;return(0,b.jsx)("div",{className:ae.expandButton,title:(0,c.I)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,c.I)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:t,onClick:t,children:(0,b.jsx)(v,{className:ae.expandButtonIcon})})}const ie={docSidebarContainer:"docSidebarContainer_YfHR",docSidebarContainerHidden:"docSidebarContainerHidden_DPk8",sidebarViewport:"sidebarViewport_aRkj"};function se(e){let{children:t}=e;const n=(0,r.V)();return(0,b.jsx)(a.Fragment,{children:t},n?.name??"noSidebar")}function le(e){let{sidebar:t,hiddenSidebarContainer:n,setHiddenSidebarContainer:i}=e;const{pathname:l}=(0,x.TH)(),[r,c]=(0,a.useState)(!1),d=(0,a.useCallback)((()=>{r&&c(!1),!r&&(0,p.n)()&&c(!0),i((e=>!e))}),[i,r]);return(0,b.jsx)("aside",{className:(0,o.Z)(s.k.docs.docSidebarContainer,ie.docSidebarContainer,n&&ie.docSidebarContainerHidden),onTransitionEnd:e=>{e.currentTarget.classList.contains(ie.docSidebarContainer)&&n&&c(!0)},children:(0,b.jsx)(se,{children:(0,b.jsxs)("div",{className:(0,o.Z)(ie.sidebarViewport,r&&ie.sidebarViewportHidden),children:[(0,b.jsx)(ne,{sidebar:t,path:l,onCollapse:d,isHidden:r}),r&&(0,b.jsx)(oe,{toggleSidebar:d})]})})})}const re={docMainContainer:"docMainContainer_TBSr",docMainContainerEnhanced:"docMainContainerEnhanced_lQrH",docItemWrapperEnhanced:"docItemWrapperEnhanced_JWYK"};function ce(e){let{hiddenSidebarContainer:t,children:n}=e;const a=(0,r.V)();return(0,b.jsx)("main",{className:(0,o.Z)(re.docMainContainer,(t||!a)&&re.docMainContainerEnhanced),children:(0,b.jsx)("div",{className:(0,o.Z)("container padding-top--md padding-bottom--lg",re.docItemWrapper,t&&re.docItemWrapperEnhanced),children:n})})}const de={docRoot:"docRoot_UBD9",docsWrapper:"docsWrapper_hBAB"};function ue(e){let{children:t}=e;const n=(0,r.V)(),[o,i]=(0,a.useState)(!1);return(0,b.jsxs)("div",{className:de.docsWrapper,children:[(0,b.jsx)(h,{}),(0,b.jsxs)("div",{className:de.docRoot,children:[n&&(0,b.jsx)(le,{sidebar:n.items,hiddenSidebarContainer:o,setHiddenSidebarContainer:i}),(0,b.jsx)(ce,{hiddenSidebarContainer:o,children:t})]})]})}var me=n(5658);function be(e){const t=(0,l.SN)(e);if(!t)return(0,b.jsx)(me.Z,{});const{docElement:n,sidebarName:a,sidebarItems:c}=t;return(0,b.jsx)(i.FG,{className:(0,o.Z)(s.k.page.docsDocPage),children:(0,b.jsx)(r.b,{name:a,items:c,children:(0,b.jsx)(ue,{children:n})})})}},5658:(e,t,n)=>{n.d(t,{Z:()=>l});n(7294);var a=n(6905),o=n(5999),i=n(2503),s=n(5893);function l(e){let{className:t}=e;return(0,s.jsx)("main",{className:(0,a.Z)("container margin-vert--xl",t),children:(0,s.jsx)("div",{className:"row",children:(0,s.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,s.jsx)(i.Z,{as:"h1",className:"hero__title",children:(0,s.jsx)(o.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,s.jsx)("p",{children:(0,s.jsx)(o.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,s.jsx)("p",{children:(0,s.jsx)(o.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}}}]); \ No newline at end of file diff --git a/assets/js/247783bb.4b16174e.js b/assets/js/aba21aa0.8b3aa7e9.js similarity index 64% rename from assets/js/247783bb.4b16174e.js rename to assets/js/aba21aa0.8b3aa7e9.js index fcf186c..98204c6 100644 --- a/assets/js/247783bb.4b16174e.js +++ b/assets/js/aba21aa0.8b3aa7e9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[334],{3769:s=>{s.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]); \ No newline at end of file +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[629],{1765:s=>{s.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/acecf23e.42c09d02.js b/assets/js/acecf23e.42c09d02.js new file mode 100644 index 0000000..0bd6450 --- /dev/null +++ b/assets/js/acecf23e.42c09d02.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[393],{1838:s=>{s.exports=JSON.parse('{"blogBasePath":"/blog","blogTitle":"Blog"}')}}]); \ No newline at end of file diff --git a/assets/js/b2b675dd.bb2c3dc1.js b/assets/js/b2b675dd.bb2c3dc1.js deleted file mode 100644 index cce215b..0000000 --- a/assets/js/b2b675dd.bb2c3dc1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[533],{8017:e=>{e.exports=JSON.parse('{"permalink":"/blog","page":1,"postsPerPage":10,"totalPages":1,"totalCount":1,"blogDescription":"Blog","blogTitle":"Blog"}')}}]); \ No newline at end of file diff --git a/assets/js/b2f554cd.f045041b.js b/assets/js/b2f554cd.f045041b.js deleted file mode 100644 index 55277eb..0000000 --- a/assets/js/b2f554cd.f045041b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[477],{10:e=>{e.exports=JSON.parse('{"blogPosts":[{"id":"welcome","metadata":{"permalink":"/blog/welcome","source":"@site/blog/2021-08-26-welcome/index.md","title":"Welcome","description":"You can find all our blog posts on our Hive blog//peakd.com/@vsc.network","date":"2021-08-26T00:00:00.000Z","formattedDate":"August 26, 2021","tags":[],"readingTime":0.06,"hasTruncateMarker":false,"authors":[],"frontMatter":{"slug":"welcome","title":"Welcome"},"unlisted":false},"content":"You can find all our blog posts on our Hive blog: https://peakd.com/@vsc.network"}]}')}}]); \ No newline at end of file diff --git a/assets/js/babfac57.4cda457f.js b/assets/js/babfac57.4cda457f.js new file mode 100644 index 0000000..d412e67 --- /dev/null +++ b/assets/js/babfac57.4cda457f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[444],{7635:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>l,contentTitle:()=>a,default:()=>h,frontMatter:()=>c,metadata:()=>i,toc:()=>o});var n=t(5893),r=t(1151);const c={},a="SDK",i={id:"references/sdk",title:"SDK",description:"The VSC sdks are libraries that abstract away various functionalities that are useful in the context of coding a VSC smart contract.",source:"@site/docs/references/sdk.md",sourceDirName:"references",slug:"/references/sdk",permalink:"/docs/references/sdk",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Examples",permalink:"/docs/references/examples"},next:{title:"Creating your first smart contract",permalink:"/docs/tutorials/first-contract"}},l={},o=[{value:"VSC javascript (assemblyscript) sdk",id:"vsc-javascript-assemblyscript-sdk",level:2},{value:"Example usage",id:"example-usage",level:3},{value:"Frequently used",id:"frequently-used",level:3}];function d(e){const s={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,r.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.h1,{id:"sdk",children:"SDK"}),"\n",(0,n.jsx)(s.p,{children:"The VSC sdks are libraries that abstract away various functionalities that are useful in the context of coding a VSC smart contract."}),"\n",(0,n.jsxs)(s.blockquote,{children:["\n",(0,n.jsx)(s.p,{children:"Nice to know: They also serve access to e.g. the smart contract's database layer by exposing namespaces and interfaces. At the stage of the contract execution, invocations of such interfaces are translated to generalized calls of the VSC node. Thereby ensuring that those functionalities are equal regardless of the language implementation of the SDK."}),"\n"]}),"\n",(0,n.jsx)(s.h2,{id:"vsc-javascript-assemblyscript-sdk",children:"VSC javascript (assemblyscript) sdk"}),"\n",(0,n.jsxs)(s.p,{children:["The ",(0,n.jsx)(s.a,{href:"https://github.com/vsc-eco/sdk",children:"VSC javascript sdk"})," is a library that is compatible with assemblyscript projects, thereby it can be used directly in the ",(0,n.jsx)(s.a,{href:"git@github.com:vsc-eco/contract-template.git",children:"contract template"}),". It is included in the project by default."]}),"\n",(0,n.jsxs)(s.p,{children:["The API documentation can be found ",(0,n.jsx)(s.a,{href:"https://vsc-eco.github.io/sdk/",children:"here"}),"."]}),"\n",(0,n.jsx)(s.h3,{id:"example-usage",children:"Example usage"}),"\n",(0,n.jsx)(s.p,{children:"Import the library."}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-typescript",children:'import { db, console } from "@vsc.eco/sdk/assembly";\n'})}),"\n",(0,n.jsx)(s.p,{children:"Execute a function."}),"\n",(0,n.jsx)(s.pre,{children:(0,n.jsx)(s.code,{className:"language-typescript",children:'export function mySampleMethod(payload: String): string {\n ...\n db.setObject("key-1", payload);\n const val = db.getObject("key-1");\n console.log(val)\n ...\n}\n'})}),"\n",(0,n.jsx)(s.h3,{id:"frequently-used",children:"Frequently used"}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.strong,{children:"namespace db"})}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsx)(s.li,{children:"db.setObject"}),"\n",(0,n.jsx)(s.li,{children:"db.getObject"}),"\n"]}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.strong,{children:"namespace arrays"})}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsx)(s.li,{children:"Arrays.toHexString"}),"\n",(0,n.jsx)(s.li,{children:"Arrays.fromHexString"}),"\n"]}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.strong,{children:"namespace console"})}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsx)(s.li,{children:"console.log"}),"\n"]}),"\n",(0,n.jsx)(s.p,{children:(0,n.jsx)(s.strong,{children:"no namespace"})}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsx)(s.li,{children:"getEnv"}),"\n"]})]})}function h(e={}){const{wrapper:s}={...(0,r.a)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}},1151:(e,s,t)=>{t.d(s,{Z:()=>i,a:()=>a});var n=t(7294);const r={},c=n.createContext(r);function a(e){const s=n.useContext(c);return n.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function i(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),n.createElement(c.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/c15d9823.5f015b89.js b/assets/js/c15d9823.5f015b89.js new file mode 100644 index 0000000..3a71c94 --- /dev/null +++ b/assets/js/c15d9823.5f015b89.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[952],{2506:e=>{e.exports=JSON.parse('{"metadata":{"permalink":"/blog","page":1,"postsPerPage":10,"totalPages":1,"totalCount":1,"blogDescription":"Blog","blogTitle":"Blog"}}')}}]); \ No newline at end of file diff --git a/assets/js/ccc49370.32627df2.js b/assets/js/ccc49370.32627df2.js deleted file mode 100644 index 5c3efb2..0000000 --- a/assets/js/ccc49370.32627df2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[103],{5203:(e,n,t)=>{t.r(n),t.d(n,{default:()=>p});t(7294);var a=t(6905),i=t(1944),s=t(5281),o=t(9460),l=t(1460),r=t(756),c=t(5999),d=t(2244),u=t(5893);function m(e){const{nextItem:n,prevItem:t}=e;return(0,u.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,c.I)({id:"theme.blog.post.paginator.navAriaLabel",message:"Blog post page navigation",description:"The ARIA label for the blog posts pagination"}),children:[t&&(0,u.jsx)(d.Z,{...t,subLabel:(0,u.jsx)(c.Z,{id:"theme.blog.post.paginator.newerPost",description:"The blog post button label to navigate to the newer/previous post",children:"Newer Post"})}),n&&(0,u.jsx)(d.Z,{...n,subLabel:(0,u.jsx)(c.Z,{id:"theme.blog.post.paginator.olderPost",description:"The blog post button label to navigate to the older/next post",children:"Older Post"}),isNext:!0})]})}function g(){const{assets:e,metadata:n}=(0,o.C)(),{title:t,description:a,date:s,tags:l,authors:r,frontMatter:c}=n,{keywords:d}=c,m=e.image??c.image;return(0,u.jsxs)(i.d,{title:t,description:a,keywords:d,image:m,children:[(0,u.jsx)("meta",{property:"og:type",content:"article"}),(0,u.jsx)("meta",{property:"article:published_time",content:s}),r.some((e=>e.url))&&(0,u.jsx)("meta",{property:"article:author",content:r.map((e=>e.url)).filter(Boolean).join(",")}),l.length>0&&(0,u.jsx)("meta",{property:"article:tag",content:l.map((e=>e.label)).join(",")})]})}var h=t(9407),f=t(2212);function v(e){let{sidebar:n,children:t}=e;const{metadata:a,toc:i}=(0,o.C)(),{nextItem:s,prevItem:c,frontMatter:d,unlisted:g}=a,{hide_table_of_contents:v,toc_min_heading_level:p,toc_max_heading_level:x}=d;return(0,u.jsxs)(l.Z,{sidebar:n,toc:!v&&i.length>0?(0,u.jsx)(h.Z,{toc:i,minHeadingLevel:p,maxHeadingLevel:x}):void 0,children:[g&&(0,u.jsx)(f.Z,{}),(0,u.jsx)(r.Z,{children:t}),(s||c)&&(0,u.jsx)(m,{nextItem:s,prevItem:c})]})}function p(e){const n=e.content;return(0,u.jsx)(o.n,{content:e.content,isBlogPostPage:!0,children:(0,u.jsxs)(i.FG,{className:(0,a.Z)(s.k.wrapper.blogPages,s.k.page.blogPostPage),children:[(0,u.jsx)(g,{}),(0,u.jsx)(v,{sidebar:e.sidebar,children:(0,u.jsx)(n,{})})]})})}},9407:(e,n,t)=>{t.d(n,{Z:()=>c});t(7294);var a=t(6905),i=t(3743);const s={tableOfContents:"tableOfContents_bqdL",docItemContainer:"docItemContainer_F8PC"};var o=t(5893);const l="table-of-contents__link toc-highlight",r="table-of-contents__link--active";function c(e){let{className:n,...t}=e;return(0,o.jsx)("div",{className:(0,a.Z)(s.tableOfContents,"thin-scrollbar",n),children:(0,o.jsx)(i.Z,{...t,linkClassName:l,linkActiveClassName:r})})}},3743:(e,n,t)=>{t.d(n,{Z:()=>f});var a=t(7294),i=t(6668);function s(e){const n=e.map((e=>({...e,parentIndex:-1,children:[]}))),t=Array(7).fill(-1);n.forEach(((e,n)=>{const a=t.slice(2,e.level);e.parentIndex=Math.max(...a),t[e.level]=n}));const a=[];return n.forEach((e=>{const{parentIndex:t,...i}=e;t>=0?n[t].children.push(i):a.push(i)})),a}function o(e){let{toc:n,minHeadingLevel:t,maxHeadingLevel:a}=e;return n.flatMap((e=>{const n=o({toc:e.children,minHeadingLevel:t,maxHeadingLevel:a});return function(e){return e.level>=t&&e.level<=a}(e)?[{...e,children:n}]:n}))}function l(e){const n=e.getBoundingClientRect();return n.top===n.bottom?l(e.parentNode):n}function r(e,n){let{anchorTopOffset:t}=n;const a=e.find((e=>l(e).top>=t));if(a){return function(e){return e.top>0&&e.bottom {e.current=n?0:document.querySelector(".navbar").clientHeight}),[n]),e}function d(e){const n=(0,a.useRef)(void 0),t=c();(0,a.useEffect)((()=>{if(!e)return()=>{};const{linkClassName:a,linkActiveClassName:i,minHeadingLevel:s,maxHeadingLevel:o}=e;function l(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(a),l=function(e){let{minHeadingLevel:n,maxHeadingLevel:t}=e;const a=[];for(let i=n;i<=t;i+=1)a.push(`h${i}.anchor`);return Array.from(document.querySelectorAll(a.join()))}({minHeadingLevel:s,maxHeadingLevel:o}),c=r(l,{anchorTopOffset:t.current}),d=e.find((e=>c&&c.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e)));e.forEach((e=>{!function(e,t){t?(n.current&&n.current!==e&&n.current.classList.remove(i),e.classList.add(i),n.current=e):e.classList.remove(i)}(e,e===d)}))}return document.addEventListener("scroll",l),document.addEventListener("resize",l),l(),()=>{document.removeEventListener("scroll",l),document.removeEventListener("resize",l)}}),[e,t])}var u=t(3692),m=t(5893);function g(e){let{toc:n,className:t,linkClassName:a,isChild:i}=e;return n.length?(0,m.jsx)("ul",{className:i?void 0:t,children:n.map((e=>(0,m.jsxs)("li",{children:[(0,m.jsx)(u.Z,{to:`#${e.id}`,className:a??void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,m.jsx)(g,{isChild:!0,toc:e.children,className:t,linkClassName:a})]},e.id)))}):null}const h=a.memo(g);function f(e){let{toc:n,className:t="table-of-contents table-of-contents__left-border",linkClassName:l="table-of-contents__link",linkActiveClassName:r,minHeadingLevel:c,maxHeadingLevel:u,...g}=e;const f=(0,i.L)(),v=c??f.tableOfContents.minHeadingLevel,p=u??f.tableOfContents.maxHeadingLevel,x=function(e){let{toc:n,minHeadingLevel:t,maxHeadingLevel:i}=e;return(0,a.useMemo)((()=>o({toc:s(n),minHeadingLevel:t,maxHeadingLevel:i})),[n,t,i])}({toc:n,minHeadingLevel:v,maxHeadingLevel:p});return d((0,a.useMemo)((()=>{if(l&&r)return{linkClassName:l,linkActiveClassName:r,minHeadingLevel:v,maxHeadingLevel:p}}),[l,r,v,p])),(0,m.jsx)(h,{toc:x,className:t,linkClassName:l,...g})}},2212:(e,n,t)=>{t.d(n,{Z:()=>g});t(7294);var a=t(6905),i=t(5999),s=t(5742),o=t(5893);function l(){return(0,o.jsx)(i.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function r(){return(0,o.jsx)(i.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function c(){return(0,o.jsx)(s.Z,{children:(0,o.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}var d=t(5281),u=t(9047);function m(e){let{className:n}=e;return(0,o.jsx)(u.Z,{type:"caution",title:(0,o.jsx)(l,{}),className:(0,a.Z)(n,d.k.common.unlistedBanner),children:(0,o.jsx)(r,{})})}function g(e){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(c,{}),(0,o.jsx)(m,{...e})]})}}}]); \ No newline at end of file diff --git a/assets/js/ccc49370.80ab64ee.js b/assets/js/ccc49370.80ab64ee.js new file mode 100644 index 0000000..39a0f49 --- /dev/null +++ b/assets/js/ccc49370.80ab64ee.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[103],{9209:(e,n,t)=>{t.r(n),t.d(n,{default:()=>j});t(7294);var i=t(6905),s=t(8264),a=t(5281),o=t(9460),l=t(1460),r=t(9188),c=t(5999),d=t(2244),u=t(5893);function m(e){const{nextItem:n,prevItem:t}=e;return(0,u.jsxs)("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,c.I)({id:"theme.blog.post.paginator.navAriaLabel",message:"Blog post page navigation",description:"The ARIA label for the blog posts pagination"}),children:[t&&(0,u.jsx)(d.Z,{...t,subLabel:(0,u.jsx)(c.Z,{id:"theme.blog.post.paginator.newerPost",description:"The blog post button label to navigate to the newer/previous post",children:"Newer Post"})}),n&&(0,u.jsx)(d.Z,{...n,subLabel:(0,u.jsx)(c.Z,{id:"theme.blog.post.paginator.olderPost",description:"The blog post button label to navigate to the older/next post",children:"Older Post"}),isNext:!0})]})}function g(){const{assets:e,metadata:n}=(0,o.C)(),{title:t,description:i,date:a,tags:l,authors:r,frontMatter:c}=n,{keywords:d}=c,m=e.image??c.image;return(0,u.jsxs)(s.d,{title:t,description:i,keywords:d,image:m,children:[(0,u.jsx)("meta",{property:"og:type",content:"article"}),(0,u.jsx)("meta",{property:"article:published_time",content:a}),r.some((e=>e.url))&&(0,u.jsx)("meta",{property:"article:author",content:r.map((e=>e.url)).filter(Boolean).join(",")}),l.length>0&&(0,u.jsx)("meta",{property:"article:tag",content:l.map((e=>e.label)).join(",")})]})}var h=t(5742),f=t(136);function v(){const e=(0,f.i)();return(0,u.jsx)(h.Z,{children:(0,u.jsx)("script",{type:"application/ld+json",children:JSON.stringify(e)})})}var p=t(9407),x=t(2212);function b(e){let{sidebar:n,children:t}=e;const{metadata:i,toc:s}=(0,o.C)(),{nextItem:a,prevItem:c,frontMatter:d,unlisted:g}=i,{hide_table_of_contents:h,toc_min_heading_level:f,toc_max_heading_level:v}=d;return(0,u.jsxs)(l.Z,{sidebar:n,toc:!h&&s.length>0?(0,u.jsx)(p.Z,{toc:s,minHeadingLevel:f,maxHeadingLevel:v}):void 0,children:[g&&(0,u.jsx)(x.Z,{}),(0,u.jsx)(r.Z,{children:t}),(a||c)&&(0,u.jsx)(m,{nextItem:a,prevItem:c})]})}function j(e){const n=e.content;return(0,u.jsx)(o.n,{content:e.content,isBlogPostPage:!0,children:(0,u.jsxs)(s.FG,{className:(0,i.Z)(a.k.wrapper.blogPages,a.k.page.blogPostPage),children:[(0,u.jsx)(g,{}),(0,u.jsx)(v,{}),(0,u.jsx)(b,{sidebar:e.sidebar,children:(0,u.jsx)(n,{})})]})})}},9407:(e,n,t)=>{t.d(n,{Z:()=>c});t(7294);var i=t(6905),s=t(3743);const a={tableOfContents:"tableOfContents_bqdL",docItemContainer:"docItemContainer_F8PC"};var o=t(5893);const l="table-of-contents__link toc-highlight",r="table-of-contents__link--active";function c(e){let{className:n,...t}=e;return(0,o.jsx)("div",{className:(0,i.Z)(a.tableOfContents,"thin-scrollbar",n),children:(0,o.jsx)(s.Z,{...t,linkClassName:l,linkActiveClassName:r})})}},3743:(e,n,t)=>{t.d(n,{Z:()=>f});var i=t(7294),s=t(6668);function a(e){const n=e.map((e=>({...e,parentIndex:-1,children:[]}))),t=Array(7).fill(-1);n.forEach(((e,n)=>{const i=t.slice(2,e.level);e.parentIndex=Math.max(...i),t[e.level]=n}));const i=[];return n.forEach((e=>{const{parentIndex:t,...s}=e;t>=0?n[t].children.push(s):i.push(s)})),i}function o(e){let{toc:n,minHeadingLevel:t,maxHeadingLevel:i}=e;return n.flatMap((e=>{const n=o({toc:e.children,minHeadingLevel:t,maxHeadingLevel:i});return function(e){return e.level>=t&&e.level<=i}(e)?[{...e,children:n}]:n}))}function l(e){const n=e.getBoundingClientRect();return n.top===n.bottom?l(e.parentNode):n}function r(e,n){let{anchorTopOffset:t}=n;const i=e.find((e=>l(e).top>=t));if(i){return function(e){return e.top>0&&e.bottom {e.current=n?0:document.querySelector(".navbar").clientHeight}),[n]),e}function d(e){const n=(0,i.useRef)(void 0),t=c();(0,i.useEffect)((()=>{if(!e)return()=>{};const{linkClassName:i,linkActiveClassName:s,minHeadingLevel:a,maxHeadingLevel:o}=e;function l(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(i),l=function(e){let{minHeadingLevel:n,maxHeadingLevel:t}=e;const i=[];for(let s=n;s<=t;s+=1)i.push(`h${s}.anchor`);return Array.from(document.querySelectorAll(i.join()))}({minHeadingLevel:a,maxHeadingLevel:o}),c=r(l,{anchorTopOffset:t.current}),d=e.find((e=>c&&c.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e)));e.forEach((e=>{!function(e,t){t?(n.current&&n.current!==e&&n.current.classList.remove(s),e.classList.add(s),n.current=e):e.classList.remove(s)}(e,e===d)}))}return document.addEventListener("scroll",l),document.addEventListener("resize",l),l(),()=>{document.removeEventListener("scroll",l),document.removeEventListener("resize",l)}}),[e,t])}var u=t(3692),m=t(5893);function g(e){let{toc:n,className:t,linkClassName:i,isChild:s}=e;return n.length?(0,m.jsx)("ul",{className:s?void 0:t,children:n.map((e=>(0,m.jsxs)("li",{children:[(0,m.jsx)(u.Z,{to:`#${e.id}`,className:i??void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,m.jsx)(g,{isChild:!0,toc:e.children,className:t,linkClassName:i})]},e.id)))}):null}const h=i.memo(g);function f(e){let{toc:n,className:t="table-of-contents table-of-contents__left-border",linkClassName:l="table-of-contents__link",linkActiveClassName:r,minHeadingLevel:c,maxHeadingLevel:u,...g}=e;const f=(0,s.L)(),v=c??f.tableOfContents.minHeadingLevel,p=u??f.tableOfContents.maxHeadingLevel,x=function(e){let{toc:n,minHeadingLevel:t,maxHeadingLevel:s}=e;return(0,i.useMemo)((()=>o({toc:a(n),minHeadingLevel:t,maxHeadingLevel:s})),[n,t,s])}({toc:n,minHeadingLevel:v,maxHeadingLevel:p});return d((0,i.useMemo)((()=>{if(l&&r)return{linkClassName:l,linkActiveClassName:r,minHeadingLevel:v,maxHeadingLevel:p}}),[l,r,v,p])),(0,m.jsx)(h,{toc:x,className:t,linkClassName:l,...g})}},2212:(e,n,t)=>{t.d(n,{Z:()=>g});t(7294);var i=t(6905),s=t(5999),a=t(5742),o=t(5893);function l(){return(0,o.jsx)(s.Z,{id:"theme.unlistedContent.title",description:"The unlisted content banner title",children:"Unlisted page"})}function r(){return(0,o.jsx)(s.Z,{id:"theme.unlistedContent.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function c(){return(0,o.jsx)(a.Z,{children:(0,o.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}var d=t(5281),u=t(9047);function m(e){let{className:n}=e;return(0,o.jsx)(u.Z,{type:"caution",title:(0,o.jsx)(l,{}),className:(0,i.Z)(n,d.k.common.unlistedBanner),children:(0,o.jsx)(r,{})})}function g(e){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(c,{}),(0,o.jsx)(m,{...e})]})}}}]); \ No newline at end of file diff --git a/assets/js/d39a7708.301efb82.js b/assets/js/d39a7708.301efb82.js new file mode 100644 index 0000000..bfaa229 --- /dev/null +++ b/assets/js/d39a7708.301efb82.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[635],{2120:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>r,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>h});var s=n(5893),a=n(1151);const o={},r="Examples",i={id:"references/examples",title:"Examples",description:"This document lists sample projects that build on top of VSC. They can serve as guidance and inspiration for your project.",source:"@site/docs/references/examples.md",sourceDirName:"references",slug:"/references/examples",permalink:"/docs/references/examples",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"contract-template",permalink:"/docs/references/contract-template"},next:{title:"SDK",permalink:"/docs/references/sdk"}},c={},h=[{value:"Guess a number game",id:"guess-a-number-game",level:2},{value:"What is it about",id:"what-is-it-about",level:3},{value:"How to play",id:"how-to-play",level:3},{value:"Deploy the contract",id:"deploy-the-contract",level:4},{value:"Start the UI",id:"start-the-ui",level:4},{value:"Play the game",id:"play-the-game",level:4},{value:"What happens in the background?",id:"what-happens-in-the-background",level:3}];function l(e){const t={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",h4:"h4",img:"img",p:"p",pre:"pre",...(0,a.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"examples",children:"Examples"}),"\n",(0,s.jsx)(t.p,{children:"This document lists sample projects that build on top of VSC. They can serve as guidance and inspiration for your project."}),"\n",(0,s.jsx)(t.h2,{id:"guess-a-number-game",children:"Guess a number game"}),"\n",(0,s.jsx)(t.h3,{id:"what-is-it-about",children:"What is it about"}),"\n",(0,s.jsx)(t.p,{children:"This simple game demonstrates the feasibility of integrating the VSC network into user-facing applications."}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.img,{alt:"guess-game-frontend",src:n(2740).Z+"",width:"2560",height:"1304"})}),"\n",(0,s.jsxs)(t.p,{children:["The game is very straightforward, 2 players take guesses of numbers and the player that's guess is closer to a ",(0,s.jsx)(t.em,{children:"pseudo"})," generated random number wins the round. When a player wins a round, they advance the next step on the ladder."]}),"\n",(0,s.jsx)(t.p,{children:"At the end, the player that won the most amount of rounds wins."}),"\n",(0,s.jsx)(t.h3,{id:"how-to-play",children:"How to play"}),"\n",(0,s.jsx)(t.p,{children:"We first deploy the contract that serves as the backend of the game. Afterwards, we start 2 instances of the frontend that are then going to play against each other."}),"\n",(0,s.jsx)(t.h4,{id:"deploy-the-contract",children:"Deploy the contract"}),"\n",(0,s.jsxs)(t.p,{children:["Clone the repository of the ",(0,s.jsx)(t.a,{href:"https://github.com/Pl8tinium/vsc-app-example-guess-game-contract",children:"contract"})," and install the npm packages."]}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"git clone git@github.com:Pl8tinium/vsc-app-example-guess-game-contract.git\nnpm install\n"})}),"\n",(0,s.jsxs)(t.p,{children:["Create an ",(0,s.jsx)(t.em,{children:".env"})," file to provide your credentials for the contract deployment. Use the ",(0,s.jsx)(t.em,{children:".env.example"})," file as a template!"]}),"\n",(0,s.jsx)(t.p,{children:"Start an IPFS gateway on your local machine."}),"\n",(0,s.jsx)(t.p,{children:"Deploy the contract"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"npm run deploy\n"})}),"\n",(0,s.jsx)(t.p,{children:"In the output logs, you should be able to find the contract address."}),"\n",(0,s.jsx)(t.h4,{id:"start-the-ui",children:"Start the UI"}),"\n",(0,s.jsxs)(t.p,{children:["Clone the repository of the ",(0,s.jsx)(t.a,{href:"https://github.com/Pl8tinium/vsc-app-example-guess-game-frontend",children:"frontend"})," and install the npm packages."]}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"git clone git@github.com:Pl8tinium/vsc-app-example-guess-game-frontend.git\nnpm install\n"})}),"\n",(0,s.jsx)(t.p,{children:"Start the frontend."}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"npm run dev\n"})}),"\n",(0,s.jsx)(t.p,{children:"The logs should hint you the localhost address the server was bound to. Open this address twice to simulate a 2 player environment."}),"\n",(0,s.jsx)(t.p,{children:"You can also start the frontend on another machine if you want to simulate a real world scenario or genuinely just want to play the game with someone else."}),"\n",(0,s.jsx)(t.h4,{id:"play-the-game",children:"Play the game"}),"\n",(0,s.jsx)(t.p,{children:"Both players need to provide authentification credentials. This can be done by either using a HIVE or light account."}),"\n",(0,s.jsx)(t.p,{children:"After credentials are provided the contract address needs to be input."}),"\n",(0,s.jsxs)(t.p,{children:["Now start the contract status check by pressing the button ",(0,s.jsx)(t.code,{children:"Enable contract status check"}),". This process regularly scans the contract storage for changes so that your frontend can react to it."]}),"\n",(0,s.jsxs)(t.p,{children:["One of the 2 players can now start the game session by clicking start game. The other player can then join via the button ",(0,s.jsx)(t.code,{children:"Join game"}),"."]}),"\n",(0,s.jsxs)(t.blockquote,{children:["\n",(0,s.jsxs)(t.p,{children:["Note: The current block times don't provide instant feedback to your actions. Press the buttons once and wait for some time, before you press the buttons again. Do ",(0,s.jsx)(t.em,{children:"NOT"})," spam the buttons. You can also see the state of your transaction in a VSC block explorer and you can check the developer console of the frontend for possible errors related to the submission."]}),"\n"]}),"\n",(0,s.jsxs)(t.p,{children:["The game should now be initiated. Both players can, independently of each other, take a random guess. Just insert a number into the text box and confirm with ",(0,s.jsx)(t.code,{children:"Submit guess"}),"."]}),"\n",(0,s.jsxs)(t.p,{children:["This process repeats until a winner is found. The UI updates accordingly and the game can be reset (replayed) by the ",(0,s.jsx)(t.code,{children:"Reset game"})," button."]}),"\n",(0,s.jsx)(t.h3,{id:"what-happens-in-the-background",children:"What happens in the background?"}),"\n",(0,s.jsx)(t.p,{children:"The logic of the smart contract is the core of the game. It prevents players from cheating by being responsible for the random number generation and the decision making when it comes to announcing the winner."}),"\n",(0,s.jsxs)(t.p,{children:["Under the hood, it has multiple entrypoints that mirror the basic functionalities that were described in the ",(0,s.jsx)(t.em,{children:"play the game"})," section. The frontend is simply just a wrapper to invoke those functions."]}),"\n",(0,s.jsx)(t.p,{children:"Don't hesitate to take a look at the code! It should be fairly simple to understand, because of it's very basic functionality."})]})}function d(e={}){const{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},2740:(e,t,n)=>{n.d(t,{Z:()=>s});const s=n.p+"assets/images/guess-game-frontend-1b6545652091fd0596484bf7c78a65f0.png"},1151:(e,t,n)=>{n.d(t,{Z:()=>i,a:()=>r});var s=n(7294);const a={},o=s.createContext(a);function r(e){const t=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:r(e.components),s.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/d8aff4de.6b0045c2.js b/assets/js/d8aff4de.6b0045c2.js new file mode 100644 index 0000000..1274505 --- /dev/null +++ b/assets/js/d8aff4de.6b0045c2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[790],{4625:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>p,frontMatter:()=>s,metadata:()=>a,toc:()=>l});var r=n(5893),o=n(1151);const s={},c=void 0,a={id:"references/contract-template",title:"contract-template",description:"talk about technical restrictions (eg only json objects in db storage, only strings as input params etc)",source:"@site/docs/references/contract-template.md",sourceDirName:"references",slug:"/references/contract-template",permalink:"/docs/references/contract-template",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"VSC client",permalink:"/docs/references/client"},next:{title:"Examples",permalink:"/docs/references/examples"}},i={},l=[];function u(e){const t={p:"p",...(0,o.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.p,{children:"talk about technical restrictions (eg only json objects in db storage, only strings as input params etc)"}),"\n",(0,r.jsx)(t.p,{children:"also talk about libraries like bigint, how to install/ use them..."}),"\n",(0,r.jsx)(t.p,{children:"talk about that you can split your contract in multiple ts files"}),"\n",(0,r.jsx)(t.p,{children:"i'd also like to fix the vite debugging capabilities of the contract and explain how to debug with breakpoints here"}),"\n",(0,r.jsx)(t.p,{children:"Also for first contract tutorial, i assume that we fixed the JSON only contraint of the persistance layer"}),"\n",(0,r.jsx)(t.p,{children:"Also talk about nodemon live rebuild"})]})}function p(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>a,a:()=>c});var r=n(7294);const o={},s=r.createContext(o);function c(e){const t=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),r.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/d9f32620.82041f59.js b/assets/js/d9f32620.82041f59.js new file mode 100644 index 0000000..a72fce2 --- /dev/null +++ b/assets/js/d9f32620.82041f59.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[914],{8123:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>l,contentTitle:()=>r,default:()=>p,frontMatter:()=>s,metadata:()=>a,toc:()=>u});var n=o(5893),c=o(1151);const s={slug:"welcome",title:"Welcome"},r=void 0,a={permalink:"/blog/welcome",source:"@site/blog/2021-08-26-welcome/index.md",title:"Welcome",description:"You can find all our blog posts on our Hive blog//peakd.com/@vsc.network",date:"2021-08-26T00:00:00.000Z",tags:[],readingTime:.06,hasTruncateMarker:!1,authors:[],frontMatter:{slug:"welcome",title:"Welcome"},unlisted:!1},l={authorsImageUrls:[]},u=[];function i(e){const t={a:"a",p:"p",...(0,c.a)(),...e.components};return(0,n.jsxs)(t.p,{children:["You can find all our blog posts on our Hive blog: ",(0,n.jsx)(t.a,{href:"https://peakd.com/@vsc.network",children:"https://peakd.com/@vsc.network"})]})}function p(e={}){const{wrapper:t}={...(0,c.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(i,{...e})}):i(e)}},1151:(e,t,o)=>{o.d(t,{Z:()=>a,a:()=>r});var n=o(7294);const c={},s=n.createContext(c);function r(e){const t=n.useContext(s);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:r(e.components),n.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/d9f32620.98d371b8.js b/assets/js/d9f32620.98d371b8.js deleted file mode 100644 index 6f0f07e..0000000 --- a/assets/js/d9f32620.98d371b8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[914],{8123:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>l,contentTitle:()=>r,default:()=>d,frontMatter:()=>s,metadata:()=>a,toc:()=>u});var n=o(5893),c=o(1151);const s={slug:"welcome",title:"Welcome"},r=void 0,a={permalink:"/blog/welcome",source:"@site/blog/2021-08-26-welcome/index.md",title:"Welcome",description:"You can find all our blog posts on our Hive blog//peakd.com/@vsc.network",date:"2021-08-26T00:00:00.000Z",formattedDate:"August 26, 2021",tags:[],readingTime:.06,hasTruncateMarker:!1,authors:[],frontMatter:{slug:"welcome",title:"Welcome"},unlisted:!1},l={authorsImageUrls:[]},u=[];function i(e){const t={a:"a",p:"p",...(0,c.a)(),...e.components};return(0,n.jsxs)(t.p,{children:["You can find all our blog posts on our Hive blog: ",(0,n.jsx)(t.a,{href:"https://peakd.com/@vsc.network",children:"https://peakd.com/@vsc.network"})]})}function d(e={}){const{wrapper:t}={...(0,c.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(i,{...e})}):i(e)}},1151:(e,t,o)=>{o.d(t,{Z:()=>a,a:()=>r});var n=o(7294);const c={},s=n.createContext(c);function r(e){const t=n.useContext(s);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:r(e.components),n.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/e0a19902.5c4e77c8.js b/assets/js/e0a19902.5c4e77c8.js deleted file mode 100644 index 4504a98..0000000 --- a/assets/js/e0a19902.5c4e77c8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[394],{6572:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>s,default:()=>d,frontMatter:()=>a,metadata:()=>r,toc:()=>l});var o=n(5893),i=n(1151);const a={sidebar_position:1},s=void 0,r={id:"Introduction",title:"Introduction",description:"VSC (virtual smart chain) is a next generation smart contract L2 built on the Hive blockchain. VSC not only aims to bring smart contracts to Hive, but completely change the onboarding experience by introducing native lite accounts and cross chain login functionality, support decentralized and secure wrapping technology, and power the future of DAPPs on Hive. VSC operates as sidechain to Hive, this gives us a significant amount of flexibility to advance and build new features, along with the ability to scale the L2 network in the future. Using Hive as a clearing and synchronization method, VSC can push huge amounts of data with little to no overhead on the Hive L1. This approach allows VSC to inherit a lot of Hive's lower level functions such as feeless transactions and 3s block time. VSC uses Webassembly for smart contracts, which us to support any language that comiles down to native webassembly. The flexibility this gives to developers is emmense, where as EVM chains Solidity is the only option. Currently we support AssemblyScript (JavaScript like) with more languages to be added in the future as we vet and build out development tools for each programming language.",source:"@site/docs/Introduction.md",sourceDirName:".",slug:"/Introduction",permalink:"/docs/Introduction",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",next:{title:"Getting Started",permalink:"/docs/getting-started/"}},c={},l=[];function u(e){const t={p:"p",...(0,i.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.p,{children:"VSC (virtual smart chain) is a next generation smart contract L2 built on the Hive blockchain. VSC not only aims to bring smart contracts to Hive, but completely change the onboarding experience by introducing native lite accounts and cross chain login functionality, support decentralized and secure wrapping technology, and power the future of DAPPs on Hive. VSC operates as sidechain to Hive, this gives us a significant amount of flexibility to advance and build new features, along with the ability to scale the L2 network in the future. Using Hive as a clearing and synchronization method, VSC can push huge amounts of data with little to no overhead on the Hive L1. This approach allows VSC to inherit a lot of Hive's lower level functions such as feeless transactions and 3s block time. VSC uses Webassembly for smart contracts, which us to support any language that comiles down to native webassembly. The flexibility this gives to developers is emmense, where as EVM chains Solidity is the only option. Currently we support AssemblyScript (JavaScript like) with more languages to be added in the future as we vet and build out development tools for each programming language."}),"\n",(0,o.jsx)(t.p,{children:"Already, VSC will power fully decentralized and trustless Bitcoin wrapping, along with many others. The time is now to start building on VSC."}),"\n",(0,o.jsx)(t.p,{children:"What do you think?"})]})}function d(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(u,{...e})}):u(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>r,a:()=>s});var o=n(7294);const i={},a=o.createContext(i);function s(e){const t=o.useContext(a);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:s(e.components),o.createElement(a.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/e0a19902.67975529.js b/assets/js/e0a19902.67975529.js new file mode 100644 index 0000000..a4e47e3 --- /dev/null +++ b/assets/js/e0a19902.67975529.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[394],{155:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>s,default:()=>d,frontMatter:()=>r,metadata:()=>a,toc:()=>l});var o=n(5893),i=n(1151);const r={sidebar_position:1},s="Introduction",a={id:"Introduction",title:"Introduction",description:"What is VSC?",source:"@site/docs/Introduction.md",sourceDirName:".",slug:"/Introduction",permalink:"/docs/Introduction",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",next:{title:"FAQ",permalink:"/docs/discussions/FAQ"}},c={},l=[{value:"What is VSC?",id:"what-is-vsc",level:2},{value:"Getting started",id:"getting-started",level:2},{value:"Create an account",id:"create-an-account",level:3},{value:"Write your first smart contract",id:"write-your-first-smart-contract",level:3},{value:"The ecosystem",id:"the-ecosystem",level:2},{value:"Block explorer",id:"block-explorer",level:3},{value:"VSC client",id:"vsc-client",level:3},{value:"Contract template",id:"contract-template",level:3},{value:"VSC sdks",id:"vsc-sdks",level:3},{value:"Topics of interest",id:"topics-of-interest",level:2},{value:"Host your own node",id:"host-your-own-node",level:3},{value:"Bitcoin wrapping",id:"bitcoin-wrapping",level:3},{value:"Dex",id:"dex",level:3},{value:"Account types",id:"account-types",level:3},{value:"Contract example",id:"contract-example",level:3},{value:"FAQ",id:"faq",level:3},{value:"The architecture",id:"the-architecture",level:2},{value:"API documentation",id:"api-documentation",level:3},{value:"The VSC node",id:"the-vsc-node",level:3}];function h(e){const t={a:"a",em:"em",h1:"h1",h2:"h2",h3:"h3",p:"p",...(0,i.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.h1,{id:"introduction",children:"Introduction"}),"\n",(0,o.jsx)(t.h2,{id:"what-is-vsc",children:"What is VSC?"}),"\n",(0,o.jsx)(t.p,{children:"VSC (virtual smart chain) is a next generation smart contract L2 built on the Hive blockchain. VSC not only aims to bring smart contracts to Hive, but completely change the onboarding experience by introducing native lite accounts and cross chain login functionality, support decentralized and secure wrapping technology, and power the future of DAPPs on Hive."}),"\n",(0,o.jsx)(t.p,{children:"VSC operates as a sidechain to Hive, this gives us a significant amount of flexibility to advance and build new features, along with the ability to scale the L2 network in the future. Using Hive as a clearing and synchronization method, VSC can push huge amounts of data with little to no overhead on the Hive L1. This approach allows VSC to inherit a lot of Hive's lower level functions such as feeless transactions and 3s block time."}),"\n",(0,o.jsx)(t.p,{children:"VSC uses Webassembly for smart contracts, which us to support any language that compiles down to native webassembly. The flexibility this gives to developers is emmense, where as EVM chains Solidity is the only option. Currently we support AssemblyScript (JavaScript like) with more languages to be added in the future as we vet and build out development tools for each programming language."}),"\n",(0,o.jsxs)(t.p,{children:["We want to make programming on HIVE easy, cheap and most importantly ",(0,o.jsx)(t.em,{children:"available to everyone"}),"."]}),"\n",(0,o.jsx)(t.h2,{id:"getting-started",children:"Getting started"}),"\n",(0,o.jsx)(t.p,{children:"We are in the early roots of the project. Nevertheless, we want to give you a pleasant onboarding experience to our ecosystem. Here you will find various guides that help you through your journey of discovering and experiencing the capabilities of the VSC ecosystem."}),"\n",(0,o.jsx)(t.h3,{id:"create-an-account",children:"Create an account"}),"\n",(0,o.jsxs)(t.p,{children:["To get started create an ",(0,o.jsx)(t.em,{children:"ed25519"})," compatible private/ public key pair that will represent your wallet. Checkout ",(0,o.jsx)(t.a,{href:"/docs/how-to/generate-wallet",children:"this"})," guide for how to do so."]}),"\n",(0,o.jsx)(t.h3,{id:"write-your-first-smart-contract",children:"Write your first smart contract"}),"\n",(0,o.jsxs)(t.p,{children:["Writing your first contract is easy! Dive into the rabbit hole ",(0,o.jsx)(t.a,{href:"/docs/tutorials/first-contract",children:"here"}),"."]}),"\n",(0,o.jsx)(t.h2,{id:"the-ecosystem",children:"The ecosystem"}),"\n",(0,o.jsxs)(t.p,{children:["The VSC ecosystem continuously grows. Inform yourself about the components that are important for ",(0,o.jsx)(t.em,{children:"you"})," to build on top of VSC!"]}),"\n",(0,o.jsx)(t.h3,{id:"block-explorer",children:"Block explorer"}),"\n",(0,o.jsxs)(t.p,{children:["Navigating a decentralized network without a block explorer would result in a highly negative user experience. Thereby we have ",(0,o.jsx)(t.a,{href:"/docs/references/block-explorers",children:"this section"})," on block explorers, which gives you various information regarding this topic."]}),"\n",(0,o.jsx)(t.h3,{id:"vsc-client",children:"VSC client"}),"\n",(0,o.jsxs)(t.p,{children:["To make it easy for developers to build applications that integrate the VSC network we have developed the VSC client. It bridges the gap between the end user facing web2 code and the web3 aspects of the VSC network. ",(0,o.jsx)(t.a,{href:"/docs/references/client",children:"Inform yourself here"}),"."]}),"\n",(0,o.jsx)(t.h3,{id:"contract-template",children:"Contract template"}),"\n",(0,o.jsxs)(t.p,{children:["The contract template is the development environment for your contracts. It contains various tools for testing and validating your contracts capabilities up to scripts for easy deployment to the VSC network. Read more ",(0,o.jsx)(t.a,{href:"/docs/references/contract-template",children:"here"}),"."]}),"\n",(0,o.jsx)(t.h3,{id:"vsc-sdks",children:"VSC sdks"}),"\n",(0,o.jsxs)(t.p,{children:["One of the goals of VSC is to provide language-agnostic smart contract writing capabilities. For that reason we are using webassembly. Plain webassembly without any helper functions is just a little too primitive. Thereby we create VSC sdk's that expose and abstract basic functionalities like persistance or encryption in a library so that the developer doesn't need to care about those basic premises. ",(0,o.jsx)(t.a,{href:"/docs/references/sdk",children:"Read more about the implementations here"}),"."]}),"\n",(0,o.jsx)(t.h2,{id:"topics-of-interest",children:"Topics of interest"}),"\n",(0,o.jsx)(t.p,{children:"Here you can find a list of different points of interest."}),"\n",(0,o.jsx)(t.h3,{id:"host-your-own-node",children:"Host your own node"}),"\n",(0,o.jsx)(t.p,{children:"We need YOU. A decentralized network without node operators is like a democracy with one leader. That just doesn't feel right."}),"\n",(0,o.jsx)(t.p,{children:"You help us to scale and make the network more secure."}),"\n",(0,o.jsx)(t.p,{children:"By participating in the VSC network you will receive reimbursements for your node operation."}),"\n",(0,o.jsxs)(t.p,{children:["Interested? ",(0,o.jsx)(t.a,{href:"/docs/how-to/host-node",children:"Checkout how to host a node here"}),"."]}),"\n",(0,o.jsx)(t.h3,{id:"bitcoin-wrapping",children:"Bitcoin wrapping"}),"\n",(0,o.jsxs)(t.p,{children:["VSC's mission extends beyond its innovative smart contract capabilities. It aspires to become the driving force behind the integration of various cryptocurrencies, starting with Bitcoin, into the HIVE ecosystem through a process known as wrapping. This approach paves the way for the seamless transfer and utilization of Bitcoin and potentially other cryptocurrencies within the HIVE network. ",(0,o.jsx)(t.a,{href:"/docs/discussions/wrapping",children:"Read more here"})]}),"\n",(0,o.jsx)(t.h3,{id:"dex",children:"Dex"}),"\n",(0,o.jsxs)(t.p,{children:["We are building a decentralized exchange that allows users to exchange various currencies on top of your network. This is a crucial part of the VSC ecosystem as it allows users to exchange their assets in a decentralized manner. ",(0,o.jsx)(t.a,{href:"./references/dex.md",children:"Inform yourself about the current state here"}),"."]}),"\n",(0,o.jsx)(t.h3,{id:"account-types",children:"Account types"}),"\n",(0,o.jsxs)(t.p,{children:["One of our main goals is to improve the accessibility of smart contract creation and invocation. This is supported by the integration of various account types in the VSC network. Learn about ",(0,o.jsx)(t.a,{href:"/docs/references/account-types",children:"our supported authentication methods here"}),"."]}),"\n",(0,o.jsx)(t.h3,{id:"contract-example",children:"Contract example"}),"\n",(0,o.jsxs)(t.p,{children:["We have various example contracts/ applications that can be used as inspiration for your development journey. ",(0,o.jsx)(t.a,{href:"/docs/references/examples",children:"You can see the full list here"}),"."]}),"\n",(0,o.jsx)(t.h3,{id:"faq",children:"FAQ"}),"\n",(0,o.jsxs)(t.p,{children:["The most frequently asked questions get a spot in our FAQ document. This should be your entrypoint in case you are stuck. ",(0,o.jsx)(t.a,{href:"/docs/discussions/FAQ",children:"Checkout the document here"})]}),"\n",(0,o.jsx)(t.h2,{id:"the-architecture",children:"The architecture"}),"\n",(0,o.jsx)(t.p,{children:"Here we give you an overview of the VSC architecture. This is important to understand the underlying principles of the VSC network."}),"\n",(0,o.jsx)(t.h3,{id:"api-documentation",children:"API documentation"}),"\n",(0,o.jsxs)(t.p,{children:["The API of the VSC node can be queried for various information regarding the network. To get an overview of the available data checkout ",(0,o.jsx)(t.a,{href:"/docs/references/api",children:"this document"}),"."]}),"\n",(0,o.jsx)(t.h3,{id:"the-vsc-node",children:"The VSC node"}),"\n",(0,o.jsxs)(t.p,{children:["The core principles of the VSC network, how they complement each other, and why we have chosen certain technologies is explained in detail ",(0,o.jsx)(t.a,{href:"/docs/discussions/core-philosophy",children:"here"}),"."]})]})}function d(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(h,{...e})}):h(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>a,a:()=>s});var o=n(7294);const i={},r=o.createContext(i);function s(e){const t=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:s(e.components),o.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f81c1134.3b261413.js b/assets/js/f81c1134.3b261413.js new file mode 100644 index 0000000..df2f220 --- /dev/null +++ b/assets/js/f81c1134.3b261413.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[31],{4108:e=>{e.exports=JSON.parse('{"archive":{"blogPosts":[{"id":"welcome","metadata":{"permalink":"/blog/welcome","source":"@site/blog/2021-08-26-welcome/index.md","title":"Welcome","description":"You can find all our blog posts on our Hive blog//peakd.com/@vsc.network","date":"2021-08-26T00:00:00.000Z","tags":[],"readingTime":0.06,"hasTruncateMarker":false,"authors":[],"frontMatter":{"slug":"welcome","title":"Welcome"},"unlisted":false},"content":"You can find all our blog posts on our Hive blog: https://peakd.com/@vsc.network"}]}}')}}]); \ No newline at end of file diff --git a/assets/js/fe9e6083.03563c85.js b/assets/js/fe9e6083.03563c85.js deleted file mode 100644 index aa16e0e..0000000 --- a/assets/js/fe9e6083.03563c85.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[559],{7391:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>p,frontMatter:()=>s,metadata:()=>i,toc:()=>a});var n=r(5893),o=r(1151);const s={title:"Block Explorer"},c="Blockexplorer",i={id:"Resources/block-explorer",title:"Block Explorer",description:"A block explorer built by a community member (@techcoderx) is currently live, and the only block explorer available at hs point in time. Nonetheless, it supports important graphical functions for consuming & debugging VSC transcations",source:"@site/docs/Resources/block-explorer.md",sourceDirName:"Resources",slug:"/Resources/block-explorer",permalink:"/docs/Resources/block-explorer",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{title:"Block Explorer"},sidebar:"tutorialSidebar",previous:{title:"Smart Contract SDK",permalink:"/docs/getting-started/sdk"},next:{title:"Cross Chain DeFi & Wrapping",permalink:"/docs/bitcoin-wrapping"}},l={},a=[];function u(e){const t={a:"a",h1:"h1",li:"li",p:"p",ul:"ul",...(0,o.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"blockexplorer",children:"Blockexplorer"}),"\n",(0,n.jsx)(t.p,{children:"A block explorer built by a community member (@techcoderx) is currently live, and the only block explorer available at hs point in time. Nonetheless, it supports important graphical functions for consuming & debugging VSC transcations"}),"\n",(0,n.jsxs)(t.p,{children:[(0,n.jsx)(t.a,{href:"https://vsc.techcoderx.com",children:"Block explorer 'VSC blocks'"})," by ",(0,n.jsx)(t.a,{href:"https://github.com/techcoderx",children:"techcoderx"})]}),"\n",(0,n.jsx)(t.p,{children:"Current features include:"}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsx)(t.li,{children:"Viewing witness status"}),"\n",(0,n.jsx)(t.li,{children:"Viewing VSC blocks & transactions"}),"\n",(0,n.jsx)(t.li,{children:"Multisig information such as withdrawels from VSC"}),"\n"]})]})}function p(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(u,{...e})}):u(e)}},1151:(e,t,r)=>{r.d(t,{Z:()=>i,a:()=>c});var n=r(7294);const o={},s=n.createContext(o);function c(e){const t=n.useContext(s);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),n.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/main.262a7cdc.js b/assets/js/main.262a7cdc.js deleted file mode 100644 index 4d20167..0000000 --- a/assets/js/main.262a7cdc.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see main.262a7cdc.js.LICENSE.txt */ -(self.webpackChunkvsc_docu=self.webpackChunkvsc_docu||[]).push([[179],{723:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});n(7294);var r=n(8356),o=n.n(r),a=n(6887);const i={"0656a78f":[()=>n.e(234).then(n.bind(n,6817)),"@site/docs/getting-started/why-vsc.md",6817],17896441:[()=>Promise.all([n.e(532),n.e(404),n.e(918)]).then(n.bind(n,8945)),"@theme/DocItem",8945],"1c091541":[()=>n.e(271).then(n.t.bind(n,4469,19)),"/home/runner/work/docs/docs/.docusaurus/docusaurus-plugin-content-blog/default/plugin-route-context-module-100.json",4469],"1df93b7f":[()=>Promise.all([n.e(532),n.e(237)]).then(n.bind(n,6989)),"@site/src/pages/index.tsx",6989],"1f391b9e":[()=>Promise.all([n.e(532),n.e(404),n.e(85)]).then(n.bind(n,4247)),"@theme/MDXPage",4247],"247783bb":[()=>n.e(334).then(n.t.bind(n,3769,19)),"/home/runner/work/docs/docs/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",3769],"393be207":[()=>n.e(414).then(n.bind(n,1181)),"@site/src/pages/markdown-page.md",1181],50542428:[()=>n.e(724).then(n.bind(n,981)),"@site/docs/getting-started/first-smart-contract.md",981],"54c82979":[()=>n.e(329).then(n.bind(n,6495)),"@site/docs/getting-started/index.md",6495],"552c3073":[()=>n.e(38).then(n.bind(n,7116)),"@site/docs/getting-started/Running a node.mdx",7116],"5e95c892":[()=>n.e(661).then(n.bind(n,1892)),"@theme/DocsRoot",1892],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,6809)),"@generated/docusaurus.config",6809],"7661071f":[()=>n.e(642).then(n.bind(n,3174)),"@site/blog/2021-08-26-welcome/index.md?truncated=true",3174],"814f3328":[()=>n.e(535).then(n.t.bind(n,5641,19)),"~blog/default/blog-post-list-prop-default.json",5641],"935f2afb":[()=>n.e(53).then(n.t.bind(n,1109,19)),"~docs/default/version-current-metadata-prop-751.json",1109],"959d578c":[()=>n.e(221).then(n.bind(n,6716)),"@site/docs/getting-started/sdk.md",6716],"9e4087bc":[()=>n.e(608).then(n.bind(n,3169)),"@theme/BlogArchivePage",3169],a678a43c:[()=>n.e(789).then(n.bind(n,6934)),"@site/docs/bitcoin-wrapping.md",6934],a6aa9e1f:[()=>Promise.all([n.e(532),n.e(404),n.e(569),n.e(89)]).then(n.bind(n,3269)),"@theme/BlogListPage",3269],a7434565:[()=>n.e(645).then(n.t.bind(n,5745,19)),"/home/runner/work/docs/docs/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",5745],a7bd4aaa:[()=>n.e(518).then(n.bind(n,8564)),"@theme/DocVersionRoot",8564],a94703ab:[()=>Promise.all([n.e(532),n.e(368)]).then(n.bind(n,2674)),"@theme/DocRoot",2674],b2b675dd:[()=>n.e(533).then(n.t.bind(n,8017,19)),"~blog/default/blog-c06.json",8017],b2f554cd:[()=>n.e(477).then(n.t.bind(n,10,19)),"~blog/default/blog-archive-80c.json",10],ccc49370:[()=>Promise.all([n.e(532),n.e(404),n.e(569),n.e(103)]).then(n.bind(n,5203)),"@theme/BlogPostPage",5203],d9f32620:[()=>n.e(914).then(n.bind(n,8123)),"@site/blog/2021-08-26-welcome/index.md",8123],e0a19902:[()=>n.e(394).then(n.bind(n,6572)),"@site/docs/Introduction.md",6572],fe9e6083:[()=>n.e(559).then(n.bind(n,7391)),"@site/docs/Resources/block-explorer.md",7391]};var l=n(5893);function s(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,l.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,l.jsx)("p",{children:String(t)}),(0,l.jsx)("div",{children:(0,l.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,l.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,l.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,l.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n(9670),c=n(226);function d(e,t){if("*"===e)return o()({loading:s,loader:()=>n.e(772).then(n.bind(n,1772)),modules:["@theme/NotFound"],webpack:()=>[1772],render(e,t){const n=e.default;return(0,l.jsx)(c.z,{value:{plugin:{name:"native",id:"default"}},children:(0,l.jsx)(n,{...t})})}});const r=a[`${e}-${t}`],d={},p=[],f=[],m=(0,u.Z)(r);return Object.entries(m).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],p.push(r[1]),f.push(r[2]))})),o().Map({loading:s,loader:d,modules:p,webpack:()=>f,render(t,n){const o=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const a=r.default;if(!a)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof a&&"function"!=typeof a||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{a[e]=r[e]}));let i=o;const l=n.split(".");l.slice(0,-1).forEach((e=>{i=i[e]})),i[l[l.length-1]]=a}));const a=o.__comp;delete o.__comp;const i=o.__context;return delete o.__context,(0,l.jsx)(c.z,{value:i,children:(0,l.jsx)(a,{...o,...n})})}})}const p=[{path:"/blog",component:d("/blog","3b1"),exact:!0},{path:"/blog/archive",component:d("/blog/archive","d5c"),exact:!0},{path:"/blog/welcome",component:d("/blog/welcome","5d4"),exact:!0},{path:"/markdown-page",component:d("/markdown-page","9d5"),exact:!0},{path:"/docs",component:d("/docs","1ca"),routes:[{path:"/docs",component:d("/docs","f97"),routes:[{path:"/docs",component:d("/docs","d1f"),routes:[{path:"/docs/bitcoin-wrapping",component:d("/docs/bitcoin-wrapping","725"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/getting-started",component:d("/docs/getting-started","14e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/getting-started/creating-your-first-smart-contract",component:d("/docs/getting-started/creating-your-first-smart-contract","9a4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/getting-started/running-a-node",component:d("/docs/getting-started/running-a-node","327"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/getting-started/sdk",component:d("/docs/getting-started/sdk","61d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/getting-started/why-vsc",component:d("/docs/getting-started/why-vsc","0a9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/Introduction",component:d("/docs/Introduction","de5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/Resources/block-explorer",component:d("/docs/Resources/block-explorer","362"),exact:!0,sidebar:"tutorialSidebar"}]}]}]},{path:"/",component:d("/","39f"),exact:!0},{path:"*",component:d("*")}]},8934:(e,t,n)=>{"use strict";n.d(t,{_:()=>a,t:()=>i});var r=n(7294),o=n(5893);const a=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,o.jsx)(a.Provider,{value:n,children:t})}},7221:(e,t,n)=>{"use strict";var r=n(7294),o=n(745),a=n(3727),i=n(405),l=n(412);const s=[n(2497),n(3310),n(8320),n(2295)];var u=n(723),c=n(6550),d=n(8790),p=n(5893);function f(e){let{children:t}=e;return(0,p.jsx)(p.Fragment,{children:t})}var m=n(5742),g=n(2263),h=n(4996),y=n(6668),b=n(1944),v=n(4711),w=n(9727),k=n(3320),x=n(8780),S=n(197);function E(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,g.Z)(),r=(0,v.l)(),o=n[e].htmlLang,a=e=>e.replace("-","_");return(0,p.jsxs)(m.Z,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,p.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,p.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,p.jsx)("meta",{property:"og:locale",content:a(o)}),Object.values(n).filter((e=>o!==e.htmlLang)).map((e=>(0,p.jsx)("meta",{property:"og:locale:alternate",content:a(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function C(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,g.Z)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,g.Z)(),{pathname:r}=(0,c.TH)();return e+(0,x.applyTrailingSlash)((0,h.Z)(r),{trailingSlash:n,baseUrl:t})}(),o=t?`${n}${t}`:r;return(0,p.jsxs)(m.Z,{children:[(0,p.jsx)("meta",{property:"og:url",content:o}),(0,p.jsx)("link",{rel:"canonical",href:o})]})}function _(){const{i18n:{currentLocale:e}}=(0,g.Z)(),{metadata:t,image:n}=(0,y.L)();return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(m.Z,{children:[(0,p.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,p.jsx)("body",{className:w.h})]}),n&&(0,p.jsx)(b.d,{image:n}),(0,p.jsx)(C,{}),(0,p.jsx)(E,{}),(0,p.jsx)(S.Z,{tag:k.HX,locale:e}),(0,p.jsx)(m.Z,{children:t.map(((e,t)=>(0,p.jsx)("meta",{...e},t)))})]})}const T=new Map;function j(e){if(T.has(e.pathname))return{...e,pathname:T.get(e.pathname)};if((0,d.f)(u.Z,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return T.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return T.set(e.pathname,t),{...e,pathname:t}}var A=n(8934),L=n(8940),N=n(469);function R(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r {const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>o.forEach((e=>e?.()))}const P=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,N.Z)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,o=t.hash===n.hash,a=t.search===n.search;if(r&&o&&!a)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),R("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function O(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,d.f)(u.Z,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class D extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=l.Z.canUseDOM?R("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=R("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),O(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,p.jsx)(P,{previousLocation:this.previousLocation,location:t,children:(0,p.jsx)(c.AW,{location:t,render:()=>e})})}}const I=D,F="__docusaurus-base-url-issue-banner-container",M="__docusaurus-base-url-issue-banner",z="__docusaurus-base-url-issue-banner-suggestion-container";function B(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '${F}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n \n\n`}(e)).replace(/Your Docusaurus site did not load properly.
\nA very common reason is a wrong site baseUrl configuration.
\nCurrent configured baseUrl = ${e} ${"/"===e?" (default value)":""}
\nWe suggest trying baseUrl =
\nchildren",t),new Error("The Docusaurus component only accept simple string values");const i=l({message:t,id:n});return(0,o.jsx)(o.Fragment,{children:a(i,r)})}},9935:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});const r="default"},3919:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function o(e){return void 0!==e&&!r(e)}n.d(t,{Z:()=>o,b:()=>r})},4996:(e,t,n)=>{"use strict";n.d(t,{C:()=>i,Z:()=>l});var r=n(7294),o=n(2263),a=n(3919);function i(){const{siteConfig:{baseUrl:e,url:t}}=(0,o.Z)(),n=(0,r.useCallback)(((n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:o=!1,absolute:i=!1}=void 0===r?{}:r;if(!n||n.startsWith("#")||(0,a.b)(n))return n;if(o)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const l=n.startsWith(t)?n:t+n.replace(/^\//,"");return i?e+l:l}(t,e,n,r)),[t,e]);return{withBaseUrl:n}}function l(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},8138:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(7294);n(5893);const o=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),a=()=>(0,r.useContext)(o);function i(){return a()}},2263:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(7294),o=n(8940);function a(){return(0,r.useContext)(o._)}},2389:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(7294),o=n(8934);function a(){return(0,r.useContext)(o._)}},469:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294);const o=n(412).Z.canUseDOM?r.useLayoutEffect:r.useEffect},9670:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function o(e){const t={};return function e(n,o){Object.entries(n).forEach((n=>{let[a,i]=n;const l=o?`${o}.${a}`:a;r(i)?e(i,l):t[l]=i}))}(e),t}},226:(e,t,n)=>{"use strict";n.d(t,{_:()=>a,z:()=>i});var r=n(7294),o=n(5893);const a=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(a),l=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...n?.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return(0,o.jsx)(a.Provider,{value:l,children:t})}},143:(e,t,n)=>{"use strict";n.d(t,{Iw:()=>g,gA:()=>p,_r:()=>c,Jo:()=>h,zh:()=>d,yW:()=>m,gB:()=>f});var r=n(6550),o=n(2263),a=n(9935);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,o.Z)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}const l=e=>e.versions.find((e=>e.isLast));function s(e,t){const n=function(e,t){const n=l(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.LX)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),o=n?.docs.find((e=>!!(0,r.LX)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:o,alternateDocVersions:o?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(o.id):{}}}const u={},c=()=>i("docusaurus-plugin-content-docs")??u,d=e=>function(e,t,n){void 0===t&&(t=a.m),void 0===n&&(n={});const r=i(e),o=r?.[t];if(!o&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return o}("docusaurus-plugin-content-docs",e,{failfast:!0});function p(e){void 0===e&&(e={});const t=c(),{pathname:n}=(0,r.TH)();return function(e,t,n){void 0===n&&(n={});const o=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})})),a=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!a&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return a}(t,n,e)}function f(e){return d(e).versions}function m(e){const t=d(e);return l(t)}function g(e){const t=d(e),{pathname:n}=(0,r.TH)();return s(t,n)}function h(e){const t=d(e),{pathname:n}=(0,r.TH)();return function(e,t){const n=l(e);return{latestDocSuggestion:s(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},8320:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(4865),o=n.n(r);o().configure({showSpinner:!1});const a={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{o().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){o().done()}}},3310:(e,t,n)=>{"use strict";n.r(t);var r=n(4798),o=n(6809);!function(e){const{themeConfig:{prism:t}}=o.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(6854),n(6726)(`./prism-${e}`)})),delete globalThis.Prism}(r.p1)},2503:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});n(7294);var r=n(6905),o=n(5999),a=n(6668),i=n(3692),l=n(8138);const s={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};var u=n(5893);function c(e){let{as:t,id:n,...c}=e;const d=(0,l.Z)(),{navbar:{hideOnScroll:p}}=(0,a.L)();if("h1"===t||!n)return(0,u.jsx)(t,{...c,id:void 0});d.collectAnchor(n);const f=(0,o.I)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof c.children?c.children:n});return(0,u.jsxs)(t,{...c,className:(0,r.Z)("anchor",p?s.anchorWithHideOnScrollNavbar:s.anchorWithStickyNavbar,c.className),id:n,children:[c.children,(0,u.jsx)(i.Z,{className:"hash-link",to:`#${n}`,"aria-label":f,title:f,children:"\u200b"})]})}},9471:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});n(7294);const r={iconExternalLink:"iconExternalLink_nPIU"};var o=n(5893);function a(e){let{width:t=13.5,height:n=13.5}=e;return(0,o.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,o.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},6040:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ft});var r=n(7294),o=n(6905),a=n(4763),i=n(1944),l=n(6550),s=n(5999),u=n(5936),c=n(5893);const d="__docusaurus_skipToContent_fallback";function p(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function f(){const e=(0,r.useRef)(null),{action:t}=(0,l.k6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&p(t)}),[]);return(0,u.S)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&p(e.current)})),{containerRef:e,onClick:n}}const m=(0,s.I)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function g(e){const t=e.children??m,{containerRef:n,onClick:r}=f();return(0,c.jsx)("div",{ref:n,role:"region","aria-label":m,children:(0,c.jsx)("a",{...e,href:`#${d}`,onClick:r,children:t})})}var h=n(5281),y=n(9727);const b={skipToContent:"skipToContent_fXgn"};function v(){return(0,c.jsx)(g,{className:b.skipToContent})}var w=n(6668),k=n(9689);function x(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:o=1.2,className:a,...i}=e;return(0,c.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,c.jsx)("g",{stroke:r,strokeWidth:o,children:(0,c.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const S={closeButton:"closeButton_CVFx"};function E(e){return(0,c.jsx)("button",{type:"button","aria-label":(0,s.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,o.Z)("clean-btn close",S.closeButton,e.className),children:(0,c.jsx)(x,{width:14,height:14,strokeWidth:3.1})})}const C={content:"content_knG7"};function _(e){const{announcementBar:t}=(0,w.L)(),{content:n}=t;return(0,c.jsx)("div",{...e,className:(0,o.Z)(C.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const T={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function j(){const{announcementBar:e}=(0,w.L)(),{isActive:t,close:n}=(0,k.nT)();if(!t)return null;const{backgroundColor:r,textColor:o,isCloseable:a}=e;return(0,c.jsxs)("div",{className:T.announcementBar,style:{backgroundColor:r,color:o},role:"banner",children:[a&&(0,c.jsx)("div",{className:T.announcementBarPlaceholder}),(0,c.jsx)(_,{className:T.announcementBarContent}),a&&(0,c.jsx)(E,{onClick:n,className:T.announcementBarClose})]})}var A=n(2961),L=n(2466);var N=n(902),R=n(3102);const P=r.createContext(null);function O(e){let{children:t}=e;const n=function(){const e=(0,A.e)(),t=(0,R.HY)(),[n,o]=(0,r.useState)(!1),a=null!==t.component,i=(0,N.D9)(a);return(0,r.useEffect)((()=>{a&&!i&&o(!0)}),[a,i]),(0,r.useEffect)((()=>{a?e.shown||o(!0):o(!1)}),[e.shown,a]),(0,r.useMemo)((()=>[n,o]),[n])}();return(0,c.jsx)(P.Provider,{value:n,children:t})}function D(e){if(e.component){const t=e.component;return(0,c.jsx)(t,{...e.props})}}function I(){const e=(0,r.useContext)(P);if(!e)throw new N.i6("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,o=(0,r.useCallback)((()=>n(!1)),[n]),a=(0,R.HY)();return(0,r.useMemo)((()=>({shown:t,hide:o,content:D(a)})),[o,a,t])}function F(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:a}=I();return(0,c.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,c.jsxs)("div",{className:(0,o.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":a}),children:[(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var M=n(2949),z=n(2389);function B(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function $(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}const U={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function q(e){let{className:t,buttonClassName:n,value:r,onChange:a}=e;const i=(0,z.Z)(),l=(0,s.I)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,s.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,s.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,c.jsx)("div",{className:(0,o.Z)(U.toggle,t),children:(0,c.jsxs)("button",{className:(0,o.Z)("clean-btn",U.toggleButton,!i&&U.toggleButtonDisabled,n),type:"button",onClick:()=>a("dark"===r?"light":"dark"),disabled:!i,title:l,"aria-label":l,"aria-live":"polite",children:[(0,c.jsx)(B,{className:(0,o.Z)(U.toggleIcon,U.lightToggleIcon)}),(0,c.jsx)($,{className:(0,o.Z)(U.toggleIcon,U.darkToggleIcon)})]})})}const H=r.memo(q),Z={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function G(e){let{className:t}=e;const n=(0,w.L)().navbar.style,r=(0,w.L)().colorMode.disableSwitch,{colorMode:o,setColorMode:a}=(0,M.I)();return r?null:(0,c.jsx)(H,{className:t,buttonClassName:"dark"===n?Z.darkNavbarColorModeToggle:void 0,value:o,onChange:a})}var V=n(1327);function W(){return(0,c.jsx)(V.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Q(){const e=(0,A.e)();return(0,c.jsx)("button",{type:"button","aria-label":(0,s.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,c.jsx)(x,{color:"var(--ifm-color-emphasis-600)"})})}function Y(){return(0,c.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,c.jsx)(W,{}),(0,c.jsx)(G,{className:"margin-right--md"}),(0,c.jsx)(Q,{})]})}var K=n(3692),X=n(4996),J=n(3919);function ee(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var te=n(9471);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:o,label:a,html:i,isDropdownLink:l,prependBaseUrlToHref:s,...u}=e;const d=(0,X.Z)(r),p=(0,X.Z)(t),f=(0,X.Z)(o,{forcePrependBaseUrl:!0}),m=a&&o&&!(0,J.Z)(o),g=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,c.jsxs)(c.Fragment,{children:[a,m&&(0,c.jsx)(te.Z,{...l&&{width:12,height:12}})]})};return o?(0,c.jsx)(K.Z,{href:s?f:o,...u,...g}):(0,c.jsx)(K.Z,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?ee(n,t.pathname):t.pathname.startsWith(p)},...u,...g})}function re(e){let{className:t,isDropdownItem:n=!1,...r}=e;const a=(0,c.jsx)(ne,{className:(0,o.Z)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,c.jsx)("li",{children:a}):a}function oe(e){let{className:t,isDropdownItem:n,...r}=e;return(0,c.jsx)("li",{className:"menu__list-item",children:(0,c.jsx)(ne,{className:(0,o.Z)("menu__link",t),...r})})}function ae(e){let{mobile:t=!1,position:n,...r}=e;const o=t?oe:re;return(0,c.jsx)(o,{...r,activeClassName:r.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var ie=n(6043),le=n(8596),se=n(2263);const ue={dropdownNavbarItemMobile:"dropdownNavbarItemMobile_S0Fm"};function ce(e,t){return e.some((e=>function(e,t){return!!(0,le.Mg)(e.to,t)||!!ee(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function de(e){let{items:t,position:n,className:a,onClick:i,...l}=e;const s=(0,r.useRef)(null),[u,d]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{s.current&&!s.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[s]),(0,c.jsxs)("div",{ref:s,className:(0,o.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":u}),children:[(0,c.jsx)(ne,{"aria-haspopup":"true","aria-expanded":u,role:"button",href:l.to?void 0:"#",className:(0,o.Z)("navbar__link",a),...l,onClick:l.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!u))},children:l.children??l.label}),(0,c.jsx)("ul",{className:"dropdown__menu",children:t.map(((e,t)=>(0,r.createElement)(Ce,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function pe(e){let{items:t,className:n,position:a,onClick:i,...s}=e;const u=function(){const{siteConfig:{baseUrl:e}}=(0,se.Z)(),{pathname:t}=(0,l.TH)();return t.replace(e,"/")}(),d=ce(t,u),{collapsed:p,toggleCollapsed:f,setCollapsed:m}=(0,ie.u)({initialState:()=>!d});return(0,r.useEffect)((()=>{d&&m(!d)}),[u,d,m]),(0,c.jsxs)("li",{className:(0,o.Z)("menu__list-item",{"menu__list-item--collapsed":p}),children:[(0,c.jsx)(ne,{role:"button",className:(0,o.Z)(ue.dropdownNavbarItemMobile,"menu__link menu__link--sublist menu__link--sublist-caret",n),...s,onClick:e=>{e.preventDefault(),f()},children:s.children??s.label}),(0,c.jsx)(ie.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:p,children:t.map(((e,t)=>(0,r.createElement)(Ce,{mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active",...e,key:t})))})]})}function fe(e){let{mobile:t=!1,...n}=e;const r=t?pe:de;return(0,c.jsx)(r,{...n})}var me=n(4711);function ge(e){let{width:t=20,height:n=20,...r}=e;return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,c.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}const he="iconLanguage_nlXk";var ye=n(1875);const be={navbarSearchContainer:"navbarSearchContainer_Bca1"};function ve(e){let{children:t,className:n}=e;return(0,c.jsx)("div",{className:(0,o.Z)(n,be.navbarSearchContainer),children:t})}var we=n(143),ke=n(2802);var xe=n(373);const Se=e=>e.docs.find((t=>t.id===e.mainDocId));const Ee={default:ae,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:o="",...a}=e;const{i18n:{currentLocale:i,locales:u,localeConfigs:d}}=(0,se.Z)(),p=(0,me.l)(),{search:f,hash:m}=(0,l.TH)(),g=[...n,...u.map((e=>{const n=`${`pathname://${p.createUrl({locale:e,fullyQualified:!1})}`}${f}${m}${o}`;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...r],h=t?(0,s.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return(0,c.jsx)(fe,{...a,mobile:t,label:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(ge,{className:he}),h]}),items:g})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,c.jsx)(ve,{className:n,children:(0,c.jsx)(ye.Z,{})})},dropdown:fe,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:a=!1}=e;const i=a?"li":"div";return(0,c.jsx)(i,{className:(0,o.Z)({navbar__item:!r&&!a,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,we.Iw)(r),i=(0,ke.vY)(t,r),l=a?.path===i?.path;return null===i||i.unlisted&&!l?null:(0,c.jsx)(ae,{exact:!0,...o,isActive:()=>l||!!a?.sidebar&&a.sidebar===i.sidebar,label:n??i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,we.Iw)(r),i=(0,ke.oz)(t,r).link;if(!i)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,c.jsx)(ae,{exact:!0,...o,isActive:()=>a?.sidebar===t,label:n??i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...o}=e;const a=(0,ke.lO)(r)[0],i=t??a.label,l=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(a).path;return(0,c.jsx)(ae,{...o,label:i,to:l})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:o,dropdownItemsAfter:a,...i}=e;const{search:u,hash:d}=(0,l.TH)(),p=(0,we.Iw)(n),f=(0,we.gB)(n),{savePreferredVersionName:m}=(0,xe.J)(n),g=[...o,...f.map((e=>{const t=p.alternateDocVersions[e.name]??Se(e);return{label:e.label,to:`${t.path}${u}${d}`,isActive:()=>e===p.activeVersion,onClick:()=>m(e.name)}})),...a],h=(0,ke.lO)(n)[0],y=t&&g.length>1?(0,s.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):h.label,b=t&&g.length>1?void 0:Se(h).path;return g.length<=1?(0,c.jsx)(ae,{...i,mobile:t,label:y,to:b,isActive:r?()=>!1:void 0}):(0,c.jsx)(fe,{...i,mobile:t,label:y,to:b,items:g,isActive:r?()=>!1:void 0})}};function Ce(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),o=Ee[r];if(!o)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,c.jsx)(o,{...n})}function _e(){const e=(0,A.e)(),t=(0,w.L)().navbar.items;return(0,c.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(Ce,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function Te(e){return(0,c.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,c.jsx)(s.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function je(){const e=0===(0,w.L)().navbar.items.length,t=I();return(0,c.jsxs)(c.Fragment,{children:[!e&&(0,c.jsx)(Te,{onClick:()=>t.hide()}),t.content]})}function Ae(){const e=(0,A.e)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?(0,c.jsx)(F,{header:(0,c.jsx)(Y,{}),primaryMenu:(0,c.jsx)(_e,{}),secondaryMenu:(0,c.jsx)(je,{})}):null}const Le={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function Ne(e){return(0,c.jsx)("div",{role:"presentation",...e,className:(0,o.Z)("navbar-sidebar__backdrop",e.className)})}function Re(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:a}}=(0,w.L)(),i=(0,A.e)(),{navbarRef:l,isNavbarVisible:d}=function(e){const[t,n]=(0,r.useState)(e),o=(0,r.useRef)(!1),a=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(a.current=e.getBoundingClientRect().height)}),[]);return(0,L.RF)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i =l?n(!1):i+u {if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return o.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return(0,c.jsxs)("nav",{ref:l,"aria-label":(0,s.I)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,o.Z)("navbar","navbar--fixed-top",n&&[Le.navbarHideable,!d&&Le.navbarHidden],{"navbar--dark":"dark"===a,"navbar--primary":"primary"===a,"navbar-sidebar--show":i.shown}),children:[t,(0,c.jsx)(Ne,{onClick:i.toggle}),(0,c.jsx)(Ae,{})]})}var Pe=n(8780);const Oe={errorBoundaryError:"errorBoundaryError_a6uf",errorBoundaryFallback:"errorBoundaryFallback_VBag"};function De(e){return(0,c.jsx)("button",{type:"button",...e,children:(0,c.jsx)(s.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function Ie(e){let{error:t}=e;const n=(0,Pe.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,c.jsx)("p",{className:Oe.errorBoundaryError,children:n})}class Fe extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const Me="right";function ze(e){let{width:t=30,height:n=30,className:r,...o}=e;return(0,c.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...o,children:(0,c.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function Be(){const{toggle:e,shown:t}=(0,A.e)();return(0,c.jsx)("button",{onClick:e,"aria-label":(0,s.I)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,c.jsx)(ze,{})})}const $e={colorModeToggle:"colorModeToggle_DEke"};function Ue(e){let{items:t}=e;return(0,c.jsx)(c.Fragment,{children:t.map(((e,t)=>(0,c.jsx)(Fe,{onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,c.jsx)(Ce,{...e})},t)))})}function qe(e){let{left:t,right:n}=e;return(0,c.jsxs)("div",{className:"navbar__inner",children:[(0,c.jsx)("div",{className:"navbar__items",children:t}),(0,c.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function He(){const e=(0,A.e)(),t=(0,w.L)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??Me)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),o=t.find((e=>"search"===e.type));return(0,c.jsx)(qe,{left:(0,c.jsxs)(c.Fragment,{children:[!e.disabled&&(0,c.jsx)(Be,{}),(0,c.jsx)(W,{}),(0,c.jsx)(Ue,{items:n})]}),right:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(Ue,{items:r}),(0,c.jsx)(G,{className:$e.colorModeToggle}),!o&&(0,c.jsx)(ve,{children:(0,c.jsx)(ye.Z,{})})]})})}function Ze(){return(0,c.jsx)(Re,{children:(0,c.jsx)(He,{})})}function Ge(e){let{item:t}=e;const{to:n,href:r,label:o,prependBaseUrlToHref:a,...i}=t,l=(0,X.Z)(n),s=(0,X.Z)(r,{forcePrependBaseUrl:!0});return(0,c.jsxs)(K.Z,{className:"footer__link-item",...r?{href:a?s:r}:{to:l},...i,children:[o,r&&!(0,J.Z)(r)&&(0,c.jsx)(te.Z,{})]})}function Ve(e){let{item:t}=e;return t.html?(0,c.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)("li",{className:"footer__item",children:(0,c.jsx)(Ge,{item:t})},t.href??t.to)}function We(e){let{column:t}=e;return(0,c.jsxs)("div",{className:"col footer__col",children:[(0,c.jsx)("div",{className:"footer__title",children:t.title}),(0,c.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,c.jsx)(Ve,{item:e},t)))})]})}function Qe(e){let{columns:t}=e;return(0,c.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,c.jsx)(We,{column:e},t)))})}function Ye(){return(0,c.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function Ke(e){let{item:t}=e;return t.html?(0,c.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)(Ge,{item:t})}function Xe(e){let{links:t}=e;return(0,c.jsx)("div",{className:"footer__links text--center",children:(0,c.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,c.jsxs)(r.Fragment,{children:[(0,c.jsx)(Ke,{item:e}),t.length!==n+1&&(0,c.jsx)(Ye,{})]},n)))})})}function Je(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,c.jsx)(Qe,{columns:t}):(0,c.jsx)(Xe,{links:t})}var et=n(9965);const tt={footerLogoLink:"footerLogoLink_BH7S"};function nt(e){let{logo:t}=e;const{withBaseUrl:n}=(0,X.C)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,c.jsx)(et.Z,{className:(0,o.Z)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function rt(e){let{logo:t}=e;return t.href?(0,c.jsx)(K.Z,{href:t.href,className:tt.footerLogoLink,target:t.target,children:(0,c.jsx)(nt,{logo:t})}):(0,c.jsx)(nt,{logo:t})}function ot(e){let{copyright:t}=e;return(0,c.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function at(e){let{style:t,links:n,logo:r,copyright:a}=e;return(0,c.jsx)("footer",{className:(0,o.Z)("footer",{"footer--dark":"dark"===t}),children:(0,c.jsxs)("div",{className:"container container-fluid",children:[n,(r||a)&&(0,c.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,c.jsx)("div",{className:"margin-bottom--sm",children:r}),a]})]})})}function it(){const{footer:e}=(0,w.L)();if(!e)return null;const{copyright:t,links:n,logo:r,style:o}=e;return(0,c.jsx)(at,{style:o,links:n&&n.length>0&&(0,c.jsx)(Je,{links:n}),logo:r&&(0,c.jsx)(rt,{logo:r}),copyright:t&&(0,c.jsx)(ot,{copyright:t})})}const lt=r.memo(it),st=(0,N.Qc)([M.S,k.pl,L.OC,xe.L5,i.VC,function(e){let{children:t}=e;return(0,c.jsx)(R.n2,{children:(0,c.jsx)(A.M,{children:(0,c.jsx)(O,{children:t})})})}]);function ut(e){let{children:t}=e;return(0,c.jsx)(st,{children:t})}var ct=n(2503);function dt(e){let{error:t,tryAgain:n}=e;return(0,c.jsx)("main",{className:"container margin-vert--xl",children:(0,c.jsx)("div",{className:"row",children:(0,c.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,c.jsx)(ct.Z,{as:"h1",className:"hero__title",children:(0,c.jsx)(s.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,c.jsx)("div",{className:"margin-vert--lg",children:(0,c.jsx)(De,{onClick:n,className:"button button--primary shadow--lw"})}),(0,c.jsx)("hr",{}),(0,c.jsx)("div",{className:"margin-vert--md",children:(0,c.jsx)(Ie,{error:t})})]})})})}const pt={mainWrapper:"mainWrapper_z2l0"};function ft(e){const{children:t,noFooter:n,wrapperClassName:r,title:l,description:s}=e;return(0,y.t)(),(0,c.jsxs)(ut,{children:[(0,c.jsx)(i.d,{title:l,description:s}),(0,c.jsx)(v,{}),(0,c.jsx)(j,{}),(0,c.jsx)(Ze,{}),(0,c.jsx)("div",{id:d,className:(0,o.Z)(h.k.wrapper.main,pt.mainWrapper,r),children:(0,c.jsx)(a.Z,{fallback:e=>(0,c.jsx)(dt,{...e}),children:t})}),!n&&(0,c.jsx)(lt,{})]})}},1327:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});n(7294);var r=n(3692),o=n(4996),a=n(2263),i=n(6668),l=n(9965),s=n(5893);function u(e){let{logo:t,alt:n,imageClassName:r}=e;const a={light:(0,o.Z)(t.src),dark:(0,o.Z)(t.srcDark||t.src)},i=(0,s.jsx)(l.Z,{className:t.className,sources:a,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,s.jsx)("div",{className:r,children:i}):i}function c(e){const{siteConfig:{title:t}}=(0,a.Z)(),{navbar:{title:n,logo:l}}=(0,i.L)(),{imageClassName:c,titleClassName:d,...p}=e,f=(0,o.Z)(l?.href||"/"),m=n?"":t,g=l?.alt??m;return(0,s.jsxs)(r.Z,{to:f,...p,...l?.target&&{target:l.target},children:[l&&(0,s.jsx)(u,{logo:l,alt:g,imageClassName:c}),null!=n&&(0,s.jsx)("b",{className:d,children:n})]})}},197:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});n(7294);var r=n(5742),o=n(5893);function a(e){let{locale:t,version:n,tag:a}=e;const i=t;return(0,o.jsxs)(r.Z,{children:[t&&(0,o.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,o.jsx)("meta",{name:"docusaurus_version",content:n}),a&&(0,o.jsx)("meta",{name:"docusaurus_tag",content:a}),i&&(0,o.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,o.jsx)("meta",{name:"docsearch:version",content:n}),a&&(0,o.jsx)("meta",{name:"docsearch:docusaurus_tag",content:a})]})}},9965:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(7294),o=n(788),a=n(2389),i=n(2949);const l={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};var s=n(5893);function u(e){let{className:t,children:n}=e;const u=(0,a.Z)(),{colorMode:c}=(0,i.I)();return(0,s.jsx)(s.Fragment,{children:(u?"dark"===c?["dark"]:["light"]:["light","dark"]).map((e=>{const a=n({theme:e,className:(0,o.Z)(t,l.themedComponent,l[`themedComponent--${e}`])});return(0,s.jsx)(r.Fragment,{children:a},e)}))})}function c(e){const{sources:t,className:n,alt:r,...o}=e;return(0,s.jsx)(u,{className:n,children:e=>{let{theme:n,className:a}=e;return(0,s.jsx)("img",{src:t[n],alt:r,className:a,...o})}})}},6043:(e,t,n)=>{"use strict";n.d(t,{u:()=>u,z:()=>y});var r=n(7294),o=n(412),a=n(469),i=n(1442),l=n(5893);const s="ease-in-out";function u(e){let{initialState:t}=e;const[n,o]=(0,r.useState)(t??!1),a=(0,r.useCallback)((()=>{o((e=>!e))}),[]);return{collapsed:n,setCollapsed:o,toggleCollapsed:a}}const c={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function p(e,t){const n=t?c:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function f(e){let{collapsibleRef:t,collapsed:n,animation:o}=e;const a=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=e.scrollHeight,n=o?.duration??function(e){if((0,i.n)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${o?.easing??s}`,height:`${t}px`}}function l(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!a.current)return p(e,n),void(a.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(l(),requestAnimationFrame((()=>{e.style.height=c.height,e.style.overflow=c.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{l()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,o])}function m(e){if(!o.Z.canUseDOM)return e?c:d}function g(e){let{as:t="div",collapsed:n,children:o,animation:a,onCollapseTransitionEnd:i,className:s,disableSSRStyle:u}=e;const c=(0,r.useRef)(null);return f({collapsibleRef:c,collapsed:n,animation:a}),(0,l.jsx)(t,{ref:c,style:u?void 0:m(n),onTransitionEnd:e=>{"height"===e.propertyName&&(p(c.current,n),i?.(n))},className:s,children:o})}function h(e){let{collapsed:t,...n}=e;const[o,i]=(0,r.useState)(!t),[s,u]=(0,r.useState)(t);return(0,a.Z)((()=>{t||i(!0)}),[t]),(0,a.Z)((()=>{o&&u(t)}),[o,t]),o?(0,l.jsx)(g,{...n,collapsed:s}):null}function y(e){let{lazy:t,...n}=e;const r=t?h:g;return(0,l.jsx)(r,{...n})}},9689:(e,t,n)=>{"use strict";n.d(t,{nT:()=>g,pl:()=>m});var r=n(7294),o=n(2389),a=n(12),i=n(902),l=n(6668),s=n(5893);const u=(0,a.WA)("docusaurus.announcement.dismiss"),c=(0,a.WA)("docusaurus.announcement.id"),d=()=>"true"===u.get(),p=e=>u.set(String(e)),f=r.createContext(null);function m(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,l.L)(),t=(0,o.Z)(),[n,a]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{a(d())}),[]);const i=(0,r.useCallback)((()=>{p(!0),a(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=c.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;c.set(t),r&&p(!1),!r&&d()||a(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,s.jsx)(f.Provider,{value:n,children:t})}function g(){const e=(0,r.useContext)(f);if(!e)throw new i.i6("AnnouncementBarProvider");return e}},2949:(e,t,n)=>{"use strict";n.d(t,{I:()=>y,S:()=>h});var r=n(7294),o=n(412),a=n(902),i=n(12),l=n(6668),s=n(5893);const u=r.createContext(void 0),c="theme",d=(0,i.WA)(c),p={light:"light",dark:"dark"},f=e=>e===p.dark?p.dark:p.light,m=e=>o.Z.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),g=e=>{d.set(f(e))};function h(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,l.L)(),[o,a]=(0,r.useState)(m(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:o=!0}=r;t?(a(t),o&&g(t)):(a(n?window.matchMedia("(prefers-color-scheme: dark)").matches?p.dark:p.light:e),d.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",f(o))}),[o]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==c)return;const t=d.get();null!==t&&i(f(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const s=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||s.current?s.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:o,setColorMode:i,get isDarkTheme(){return o===p.dark},setLightTheme(){i(p.light)},setDarkTheme(){i(p.dark)}})),[o,i])}();return(0,s.jsx)(u.Provider,{value:n,children:t})}function y(){const e=(0,r.useContext)(u);if(null==e)throw new a.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},373:(e,t,n)=>{"use strict";n.d(t,{J:()=>v,L5:()=>y});var r=n(7294),o=n(143),a=n(9935),i=n(6668),l=n(2802),s=n(902),u=n(12),c=n(5893);const d=e=>`docs-preferred-version-${e}`,p={save:(e,t,n)=>{(0,u.WA)(d(e),{persistence:t}).set(n)},read:(e,t)=>(0,u.WA)(d(e),{persistence:t}).get(),clear:(e,t)=>{(0,u.WA)(d(e),{persistence:t}).del()}},f=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const m=r.createContext(null);function g(){const e=(0,o._r)(),t=(0,i.L)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[a,l]=(0,r.useState)((()=>f(n)));(0,r.useEffect)((()=>{l(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function o(e){const t=p.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(p.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,o(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[a,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){p.save(e,t,n),l((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function h(e){let{children:t}=e;const n=g();return(0,c.jsx)(m.Provider,{value:n,children:t})}function y(e){let{children:t}=e;return l.cE?(0,c.jsx)(h,{children:t}):(0,c.jsx)(c.Fragment,{children:t})}function b(){const e=(0,r.useContext)(m);if(!e)throw new s.i6("DocsPreferredVersionContextProvider");return e}function v(e){void 0===e&&(e=a.m);const t=(0,o.zh)(e),[n,i]=b(),{preferredVersionName:l}=n[e];return{preferredVersion:t.versions.find((e=>e.name===l))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}},1116:(e,t,n)=>{"use strict";n.d(t,{V:()=>u,b:()=>s});var r=n(7294),o=n(902),a=n(5893);const i=Symbol("EmptyContext"),l=r.createContext(i);function s(e){let{children:t,name:n,items:o}=e;const i=(0,r.useMemo)((()=>n&&o?{name:n,items:o}:null),[n,o]);return(0,a.jsx)(l.Provider,{value:i,children:t})}function u(){const e=(0,r.useContext)(l);if(e===i)throw new o.i6("DocsSidebarProvider");return e}},4477:(e,t,n)=>{"use strict";n.d(t,{E:()=>s,q:()=>l});var r=n(7294),o=n(902),a=n(5893);const i=r.createContext(null);function l(e){let{children:t,version:n}=e;return(0,a.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(null===e)throw new o.i6("DocsVersionProvider");return e}},2961:(e,t,n)=>{"use strict";n.d(t,{M:()=>f,e:()=>m});var r=n(7294),o=n(3102),a=n(7524),i=n(6550),l=n(902);function s(e){!function(e){const t=(0,i.k6)(),n=(0,l.zX)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}var u=n(6668),c=n(5893);const d=r.createContext(void 0);function p(){const e=function(){const e=(0,o.HY)(),{items:t}=(0,u.L)().navbar;return 0===t.length&&!e.component}(),t=(0,a.i)(),n=!e&&"mobile"===t,[i,l]=(0,r.useState)(!1);s((()=>{if(i)return l(!1),!1}));const c=(0,r.useCallback)((()=>{l((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&l(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:c,shown:i})),[e,n,c,i])}function f(e){let{children:t}=e;const n=p();return(0,c.jsx)(d.Provider,{value:n,children:t})}function m(){const e=r.useContext(d);if(void 0===e)throw new l.i6("NavbarMobileSidebarProvider");return e}},3102:(e,t,n)=>{"use strict";n.d(t,{HY:()=>s,Zo:()=>u,n2:()=>l});var r=n(7294),o=n(902),a=n(5893);const i=r.createContext(null);function l(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,a.jsx)(i.Provider,{value:n,children:t})}function s(){const e=(0,r.useContext)(i);if(!e)throw new o.i6("NavbarSecondaryMenuContentProvider");return e[0]}function u(e){let{component:t,props:n}=e;const a=(0,r.useContext)(i);if(!a)throw new o.i6("NavbarSecondaryMenuContentProvider");const[,l]=a,s=(0,o.Ql)(n);return(0,r.useEffect)((()=>{l({component:t,props:s})}),[l,t,s]),(0,r.useEffect)((()=>()=>l({component:null,props:null})),[l]),null}},9727:(e,t,n)=>{"use strict";n.d(t,{h:()=>o,t:()=>a});var r=n(7294);const o="navigation-with-keyboard";function a(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(o),"mousedown"===e.type&&document.body.classList.remove(o)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(o),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},7524:(e,t,n)=>{"use strict";n.d(t,{i:()=>l});var r=n(7294),o=n(412);const a={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function l(e){let{desktopBreakpoint:t=i}=void 0===e?{}:e;const[n,l]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){l(function(e){if(!o.Z.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?a.desktop:a.mobile}(t))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t]),n}},5281:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},1442:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{n:()=>r})},2802:(e,t,n)=>{"use strict";n.d(t,{LM:()=>f,_F:()=>h,cE:()=>p,SN:()=>E,lO:()=>k,vY:()=>S,oz:()=>x,s1:()=>w,f:()=>b});var r=n(7294),o=n(6550),a=n(8790),i=n(143),l=n(373),s=n(4477),u=n(1116);function c(e){return Array.from(new Set(e))}var d=n(8596);const p=!!i._r;function f(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=f(t);if(e)return e}}(e):void 0:e.href}const m=(e,t)=>void 0!==e&&(0,d.Mg)(e,t),g=(e,t)=>e.some((e=>h(e,t)));function h(e,t){return"link"===e.type?m(e.href,t):"category"===e.type&&(m(e.href,t)||g(e.items,t))}function y(e,t){switch(e.type){case"category":return h(e,t)||e.items.some((e=>y(e,t)));case"link":return!e.unlisted||h(e,t);default:return!0}}function b(e,t){return(0,r.useMemo)((()=>e.filter((e=>y(e,t)))),[e,t])}function v(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const o=[];return function e(t){for(const a of t)if("category"===a.type&&((0,d.Mg)(a.href,n)||e(a.items))||"link"===a.type&&(0,d.Mg)(a.href,n)){return r&&"category"!==a.type||o.unshift(a),!0}return!1}(t),o}function w(){const e=(0,u.V)(),{pathname:t}=(0,o.TH)(),n=(0,i.gA)()?.pluginData.breadcrumbs;return!1!==n&&e?v({sidebarItems:e.items,pathname:t}):null}function k(e){const{activeVersion:t}=(0,i.Iw)(e),{preferredVersion:n}=(0,l.J)(e),o=(0,i.yW)(e);return(0,r.useMemo)((()=>c([t,n,o].filter(Boolean))),[t,n,o])}function x(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,n])}function S(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${c(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function E(e){let{route:t}=e;const n=(0,o.TH)(),r=(0,s.E)(),i=t.routes,l=i.find((e=>(0,o.LX)(n.pathname,e)));if(!l)return null;const u=l.sidebar,c=u?r.docsSidebars[u]:void 0;return{docElement:(0,a.H)(i),sidebarName:u,sidebarItems:c}}},1944:(e,t,n)=>{"use strict";n.d(t,{FG:()=>f,d:()=>d,VC:()=>m});var r=n(7294),o=n(788),a=n(5742),i=n(226);function l(){const e=r.useContext(i._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var s=n(4996),u=n(2263);var c=n(5893);function d(e){let{title:t,description:n,keywords:r,image:o,children:i}=e;const l=function(e){const{siteConfig:t}=(0,u.Z)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,s.C)(),p=o?d(o,{absolute:!0}):void 0;return(0,c.jsxs)(a.Z,{children:[t&&(0,c.jsx)("title",{children:l}),t&&(0,c.jsx)("meta",{property:"og:title",content:l}),n&&(0,c.jsx)("meta",{name:"description",content:n}),n&&(0,c.jsx)("meta",{property:"og:description",content:n}),r&&(0,c.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),p&&(0,c.jsx)("meta",{property:"og:image",content:p}),p&&(0,c.jsx)("meta",{name:"twitter:image",content:p}),i]})}const p=r.createContext(void 0);function f(e){let{className:t,children:n}=e;const i=r.useContext(p),l=(0,o.Z)(i,t);return(0,c.jsxs)(p.Provider,{value:l,children:[(0,c.jsx)(a.Z,{children:(0,c.jsx)("html",{className:l})}),n]})}function m(e){let{children:t}=e;const n=l(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const a=`plugin-id-${n.plugin.id}`;return(0,c.jsx)(f,{className:(0,o.Z)(r,a),children:t})}},902:(e,t,n)=>{"use strict";n.d(t,{D9:()=>l,Qc:()=>c,Ql:()=>u,i6:()=>s,zX:()=>i});var r=n(7294),o=n(469),a=n(5893);function i(e){const t=(0,r.useRef)(e);return(0,o.Z)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function l(e){const t=(0,r.useRef)();return(0,o.Z)((()=>{t.current=e})),t.current}class s extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function u(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function c(e){return t=>{let{children:n}=t;return(0,a.jsx)(a.Fragment,{children:e.reduceRight(((e,t)=>(0,a.jsx)(t,{children:e})),n)})}}},8596:(e,t,n)=>{"use strict";n.d(t,{Mg:()=>i,Ns:()=>l});var r=n(7294),o=n(723),a=n(2263);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function l(){const{baseUrl:e}=(0,a.Z)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function o(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(o).flatMap((e=>e.routes??[])))}(n)}({routes:o.Z,baseUrl:e})),[e])}},2466:(e,t,n)=>{"use strict";n.d(t,{Ct:()=>f,OC:()=>u,RF:()=>p});var r=n(7294),o=n(412),a=n(2389),i=(n(469),n(902)),l=n(5893);const s=r.createContext(void 0);function u(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,l.jsx)(s.Provider,{value:n,children:t})}function c(){const e=(0,r.useContext)(s);if(null==e)throw new i.i6("ScrollControllerProvider");return e}const d=()=>o.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function p(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=c(),o=(0,r.useRef)(d()),a=(0,i.zX)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=d();a(e,o.current),o.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[a,n,...t])}function f(){const e=(0,r.useRef)(null),t=(0,a.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const o=document.documentElement.scrollTop;(n&&o>e||!n&&o t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},3320:(e,t,n)=>{"use strict";n.d(t,{HX:()=>r,os:()=>o});n(2263);const r="default";function o(e,t){return`docs-${e}-${t}`}},12:(e,t,n)=>{"use strict";n.d(t,{WA:()=>s});n(7294);const r="localStorage";function o(e){let{key:t,oldValue:n,newValue:r,storage:o}=e;if(n===r)return;const a=document.createEvent("StorageEvent");a.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,o),window.dispatchEvent(a)}function a(e){if(void 0===e&&(e=r),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,i||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),i=!0),null}var t}let i=!1;const l={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function s(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(e);const n=a(t?.persistence);return null===n?l:{get:()=>{try{return n.getItem(e)}catch(t){return console.error(`Docusaurus storage error, can't get key=${e}`,t),null}},set:t=>{try{const r=n.getItem(e);n.setItem(e,t),o({key:e,oldValue:r,newValue:t,storage:n})}catch(r){console.error(`Docusaurus storage error, can't set ${e}=${t}`,r)}},del:()=>{try{const t=n.getItem(e);n.removeItem(e),o({key:e,oldValue:t,newValue:null,storage:n})}catch(t){console.error(`Docusaurus storage error, can't delete key=${e}`,t)}},listen:t=>{try{const r=r=>{r.storageArea===n&&r.key===e&&t(r)};return window.addEventListener("storage",r),()=>window.removeEventListener("storage",r)}catch(r){return console.error(`Docusaurus storage error, can't listen for changes of key=${e}`,r),()=>{}}}}}},4711:(e,t,n)=>{"use strict";n.d(t,{l:()=>i});var r=n(2263),o=n(6550),a=n(8780);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:l}}=(0,r.Z)(),{pathname:s}=(0,o.TH)(),u=(0,a.applyTrailingSlash)(s,{trailingSlash:n,baseUrl:e}),c=l===i?e:e.replace(`/${l}/`,"/"),d=u.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return`${r?t:""}${function(e){return e===i?`${c}`:`${c}${e}/`}(n)}${d}`}}}},5936:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(7294),o=n(6550),a=n(902);function i(e){const t=(0,o.TH)(),n=(0,a.D9)(t),i=(0,a.zX)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},6668:(e,t,n)=>{"use strict";n.d(t,{L:()=>o});var r=n(2263);function o(){return(0,r.Z)().siteConfig.themeConfig}},8802:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[o]=e.split(/[#?]/),a="/"===o||o===r?o:(i=o,n?function(e){return e.endsWith("/")?e:`${e}/`}(i):function(e){return e.endsWith("/")?e.slice(0,-1):e}(i));var i;return e.replace(o,a)}},4143:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},8780:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var o=n(8802);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(o).default}});var a=n(4143);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return a.getErrorCausalChain}})},9318:(e,t,n)=>{"use strict";n.d(t,{lX:()=>w,q_:()=>_,ob:()=>f,PP:()=>j,Ep:()=>p});var r=n(7462);function o(e){return"/"===e.charAt(0)}function a(e,t){for(var n=t,r=n+1,o=e.length;r =0;p--){var f=i[p];"."===f?a(i,p):".."===f?(a(i,p),d++):d&&(a(i,p),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&o(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var l=n(8776);function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function f(e,t,n,o){var a;"string"==typeof e?(a=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),a.state=t):(void 0===(a=(0,r.Z)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(a.key=n),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=i(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):o(!0):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r t?n.splice(t,n.length-t,o):n.push(o),d({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=f(e,t,g(),w.location);c.confirmTransitionTo(o,r,n,(function(e){e&&(w.entries[w.index]=o,d({action:r,location:o}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=w.index+e;return t>=0&&t {"use strict";var r=n(9864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=f(n);o&&o!==m&&e(t,o,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),g=s(n),h=0;h {"use strict";e.exports=function(e,t,n,r,o,a,i,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,a,i,l],c=0;(s=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},5826:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},2497:(e,t,n)=>{"use strict";n.r(t)},2295:(e,t,n)=>{"use strict";n.r(t)},4865:function(e,t,n){var r,o;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:' '};function o(e,t,n){return en?n:e}function a(e){return 100*(-1+e)}function i(e,t,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+a(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+a(e)+"%,0)"}:{"margin-left":a(e)+"%"}).transition="all "+t+"ms "+n,o}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=o(e,r.minimum,1),n.status=1===e?null:e;var a=n.render(!t),u=a.querySelector(r.barSelector),c=r.speed,d=r.easing;return a.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(u,i(e,c,d)),1===e?(s(a,{transition:"none",opacity:1}),a.offsetWidth,setTimeout((function(){s(a,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var o,i=t.querySelector(r.barSelector),l=e?"-100":a(n.status||0),u=document.querySelector(r.parent);return s(i,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(o=t.querySelector(r.spinnerSelector))&&f(o),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,a=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+a)in n)return r;return t}function o(e){return e=n(e),t[e]||(t[e]=r(e))}function a(e,t,n){t=o(t),e.style[t]=n}return function(e,t){var n,r,o=arguments;if(2==o.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&a(e,n,r);else a(e,o[1],o[2])}}();function u(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=p(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=p(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(o="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=o)},9901:e=>{e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to WebPlatform.org documentation. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes ( .comment
can become.namespace--comment
) or replace them with your defined ones (like.editor__comment
). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements thehighlightAll
andhighlightAllUnder
methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},2885:(e,t,n)=>{const r=n(9901),o=n(9642),a=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...a,...Object.keys(Prism.languages)];o(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(6500).resolve(t)],delete Prism.languages[e],n(6500)(t),a.add(e)}))}i.silent=!1,e.exports=i},6854:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,a){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"==typeof a&&!a(e))return e;for(var o,l=i.length;-1!==n.code.indexOf(o=t(r,l));)++l;return i[l]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,a=Object.keys(n.tokenStack);!function i(l){for(var s=0;s=a.length);s++){var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=a[o],d=n.tokenStack[c],p="string"==typeof u?u:u.content,f=t(r,c),m=p.indexOf(f);if(m>-1){++o;var g=p.substring(0,m),h=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=p.substring(m+f.length),b=[];g&&b.push.apply(b,i([g])),b.push(h),y&&b.push.apply(b,i([y])),"string"==typeof u?l.splice.apply(l,[s,1].concat(b)):u.content=b}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(Prism)},6726:(e,t,n)=>{var r={"./":2885};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=6726},6500:(e,t,n)=>{var r={"./":2885};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=6500},9642:e=>{"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n "));var l={},s=e[r];if(s){function u(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in l))for(var i in o(t,a),l[t]=!0,n[t])l[i]=!0}t(s.require,u),t(s.optional,u),t(s.modify,u)}n[r]=l,a.pop()}}return function(e){var t=n[e];return t||(o(e,r),t=n[e]),t}}function o(e){for(var t in e)return!0;return!1}return function(a,i,l){var s=function(e){var t={};for(var n in e){var r=e[n];for(var o in r)if("meta"!=o){var a=r[o];t[o]="string"==typeof a?{title:a}:a}}return t}(a),u=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var o in n={},e){var a=e[o];t(a&&a.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+o+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+o+" because it is a component.");n[t]=o}))}return n[r]||r}}(s);i=i.map(u),l=(l||[]).map(u);var c=n(i),d=n(l);i.forEach((function e(n){var r=s[n];t(r&&r.require,(function(t){t in d||(c[t]=!0,e(t))}))}));for(var p,f=r(s),m=c;o(m);){for(var g in p={},m){var h=s[g];t(h&&h.modify,(function(e){e in d&&(p[e]=!0)}))}for(var y in d)if(!(y in c))for(var b in f(y))if(b in c){p[y]=!0;break}for(var v in m=p)c[v]=!0}var w={getIds:function(){var e=[];return w.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,o){var a=o?o.series:void 0,i=o?o.parallel:e,l={},s={};function u(e){if(e in l)return l[e];s[e]=!0;var o,c=[];for(var d in t(e))d in n&&c.push(d);if(0===c.length)o=r(e);else{var p=i(c.map((function(e){var t=u(e);return delete s[e],t})));a?o=a(p,(function(){return r(e)})):r(e)}return l[e]=o}for(var c in n)u(c);var d=[];for(var p in s)d.push(l[p]);return i(d)}(f,c,t,n)}};return w}}();e.exports=t},2703:(e,t,n)=>{"use strict";var r=n(414);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=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:a,resetWarningCache:o};return n.PropTypes=n,n}},5697:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4448:(e,t,n)=>{"use strict";var r=n(7294),o=n(3840);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(m,e)||!d.call(f,e)&&(p.test(e)?m[e]=!0:(f[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,b);h[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,b);h[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,b);h[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){h[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),h.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){h[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.element"),x=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),T=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),R=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var P=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var O=Symbol.iterator;function D(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=O&&e[O]||e["@@iterator"])?e:null}var I,F=Object.assign;function M(e){if(void 0===I)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);I=t&&t[1]||""}return"\n"+I+e}var z=!1;function B(e,t){if(!e||z)return"";z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"==typeof u.stack){for(var o=u.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l]){var s="\n"+o[i].replace(" at new "," at ");return e.displayName&&s.includes(" ")&&(s=s.replace(" ",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?M(e):""}function $(e){switch(e.tag){case 5:return M(e.type);case 16:return M("Lazy");case 13:return M("Suspense");case 19:return M("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1);case 11:return e=B(e.type.render,!1);case 1:return e=B(e.type,!0);default:return""}}function U(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case x:return"Portal";case C:return"Profiler";case E:return"StrictMode";case A:return"Suspense";case L:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case j:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case N:return null!==(t=e.displayName||null)?t:U(e.type)||"Memo";case R:t=e._payload,e=e._init;try{return U(e(t))}catch(n){}}return null}function q(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(t);case 8:return t===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Z(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function G(e){e._valueTracker||(e._valueTracker=function(e){var t=Z(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function V(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Z(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function W(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var n=t.checked;return F({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function K(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function X(e,t){K(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&W(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o "+t.valueOf().toString()+"",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function pe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var fe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},me=["Webkit","ms","Moz","O"];function ge(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function he(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=ge(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(fe).forEach((function(e){me.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var ye=F({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function be(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function ke(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,Se=null,Ee=null;function Ce(e){if(e=wo(e)){if("function"!=typeof xe)throw Error(a(280));var t=e.stateNode;t&&(t=xo(t),xe(e.stateNode,e.type,t))}}function _e(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function Te(){if(Se){var e=Se,t=Ee;if(Ee=Se=null,Ce(e),t)for(e=0;e >>=0,0===e?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2;var ut=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~o;0!==l?r=dt(l):0!==(a&=i)&&(r=dt(a))}else 0!==(i=n&~o)?r=dt(i):0!==a&&(r=dt(a));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(a=t&-t)||16===o&&0!=(4194240&a)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0 n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function bt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),o=1< =Dn),Mn=String.fromCharCode(32),zn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Pn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $n(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Un=!1;var qn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!qn[e.type]:"textarea"===t}function Zn(e,t,n,r){_e(r),0<(t=Gr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Gn=null,Vn=null;function Wn(e){Mr(e,0)}function Qn(e){if(V(ko(e)))return e}function Yn(e,t){if("change"===e)return t}var Kn=!1;if(c){var Xn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Xn=Jn}else Xn=!1;Kn=Xn&&(!document.documentMode||9 =t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=W();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=W((e=t.contentWindow).document)}return t}function fr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function mr(e){var t=pr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&fr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,a=Math.min(r.start,o);r=void 0===r.end?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=cr(n,a);var i=cr(n,r);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n =document.documentMode,hr=null,yr=null,br=null,vr=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==hr||hr!==W(r)||("selectionStart"in(r=hr)&&fr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},br&&sr(br,r)||(br=r,0<(r=Gr(yr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=hr)))}function kr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xr={animationend:kr("Animation","AnimationEnd"),animationiteration:kr("Animation","AnimationIteration"),animationstart:kr("Animation","AnimationStart"),transitionend:kr("Transition","TransitionEnd")},Sr={},Er={};function Cr(e){if(Sr[e])return Sr[e];if(!xr[e])return e;var t,n=xr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Sr[e]=n[t];return e}c&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);var _r=Cr("animationend"),Tr=Cr("animationiteration"),jr=Cr("animationstart"),Ar=Cr("transitionend"),Lr=new Map,Nr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Rr(e,t){Lr.set(e,t),s(t,[e])}for(var Pr=0;Pr Eo||(e.current=So[Eo],So[Eo]=null,Eo--)}function To(e,t){Eo++,So[Eo]=e.current,e.current=t}var jo={},Ao=Co(jo),Lo=Co(!1),No=jo;function Ro(e,t){var n=e.type.contextTypes;if(!n)return jo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Po(e){return null!=(e=e.childContextTypes)}function Oo(){_o(Lo),_o(Ao)}function Do(e,t,n){if(Ao.current!==jo)throw Error(a(168));To(Ao,t),To(Lo,n)}function Io(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(a(108,q(e)||"Unknown",o));return F({},n,r)}function Fo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||jo,No=Ao.current,To(Ao,e),To(Lo,Lo.current),!0}function Mo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Io(e,t,No),r.__reactInternalMemoizedMergedChildContext=e,_o(Lo),_o(Ao),To(Ao,e)):_o(Lo),To(Lo,n)}var zo=null,Bo=!1,$o=!1;function Uo(e){null===zo?zo=[e]:zo.push(e)}function qo(){if(!$o&&null!==zo){$o=!0;var e=0,t=vt;try{var n=zo;for(vt=1;e >=i,o-=i,Ko=1<<32-it(t)+o|n< g?(h=d,d=null):h=d.sibling;var y=f(o,d,l[g],s);if(null===y){null===d&&(d=h);break}e&&d&&null===y.alternate&&t(o,d),a=i(y,a,g),null===c?u=y:c.sibling=y,c=y,d=h}if(g===l.length)return n(o,d),aa&&Jo(o,g),u;if(null===d){for(;g h?(y=g,g=null):y=g.sibling;var v=f(o,g,b.value,u);if(null===v){null===g&&(g=y);break}e&&g&&null===v.alternate&&t(o,g),l=i(v,l,h),null===d?c=v:d.sibling=v,d=v,g=y}if(b.done)return n(o,g),aa&&Jo(o,h),c;if(null===g){for(;!b.done;h++,b=s.next())null!==(b=p(o,b.value,u))&&(l=i(b,l,h),null===d?c=b:d.sibling=b,d=b);return aa&&Jo(o,h),c}for(g=r(o,g);!b.done;h++,b=s.next())null!==(b=m(g,o,h,b.value,u))&&(e&&null!==b.alternate&&g.delete(null===b.key?h:b.key),l=i(b,l,h),null===d?c=b:d.sibling=b,d=b);return e&&g.forEach((function(e){return t(o,e)})),aa&&Jo(o,h),c}return function e(r,a,i,s){if("object"==typeof i&&null!==i&&i.type===S&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case k:e:{for(var u=i.key,c=a;null!==c;){if(c.key===u){if((u=i.type)===S){if(7===c.tag){n(r,c.sibling),(a=o(c,i.props.children)).return=r,r=a;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===R&&Qa(u)===c.type){n(r,c.sibling),(a=o(c,i.props)).ref=Va(r,c,i),a.return=r,r=a;break e}n(r,c);break}t(r,c),c=c.sibling}i.type===S?((a=Iu(i.props.children,r.mode,s,i.key)).return=r,r=a):((s=Du(i.type,i.key,i.props,null,r.mode,s)).ref=Va(r,a,i),s.return=r,r=s)}return l(r);case x:e:{for(c=i.key;null!==a;){if(a.key===c){if(4===a.tag&&a.stateNode.containerInfo===i.containerInfo&&a.stateNode.implementation===i.implementation){n(r,a.sibling),(a=o(a,i.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=zu(i,r.mode,s)).return=r,r=a}return l(r);case R:return e(r,a,(c=i._init)(i._payload),s)}if(te(i))return g(r,a,i,s);if(D(i))return h(r,a,i,s);Wa(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==a&&6===a.tag?(n(r,a.sibling),(a=o(a,i)).return=r,r=a):(n(r,a),(a=Mu(i,r.mode,s)).return=r,r=a),l(r)):n(r,a)}}var Ka=Ya(!0),Xa=Ya(!1),Ja={},ei=Co(Ja),ti=Co(Ja),ni=Co(Ja);function ri(e){if(e===Ja)throw Error(a(174));return e}function oi(e,t){switch(To(ni,t),To(ti,e),To(ei,Ja),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:se(null,"");break;default:t=se(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}_o(ei),To(ei,t)}function ai(){_o(ei),_o(ti),_o(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=se(t,e.type);t!==n&&(To(ti,e),To(ei,n))}function li(e){ti.current===e&&(_o(ei),_o(ti))}var si=Co(0);function ui(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ci=[];function di(){for(var e=0;e n?n:4,e(!0);var r=fi.transition;fi.transition={};try{e(!1),t()}finally{vt=n,fi.transition=r}}function el(){return Ti().memoizedState}function tl(e,t,n){var r=nu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e))ol(t,n);else if(null!==(n=Aa(e,t,n,r))){ru(n,e,r,tu()),al(n,t,r)}}function nl(e,t,n){var r=nu(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))ol(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,n);if(o.hasEagerState=!0,o.eagerState=l,lr(l,i)){var s=t.interleaved;return null===s?(o.next=o,ja(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(u){}null!==(n=Aa(e,t,o,r))&&(ru(n,e,r,o=tu()),al(n,t,r))}}function rl(e){var t=e.alternate;return e===gi||null!==t&&t===gi}function ol(e,t){vi=bi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function al(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}var il={readContext:_a,useCallback:xi,useContext:xi,useEffect:xi,useImperativeHandle:xi,useInsertionEffect:xi,useLayoutEffect:xi,useMemo:xi,useReducer:xi,useRef:xi,useState:xi,useDebugValue:xi,useDeferredValue:xi,useTransition:xi,useMutableSource:xi,useSyncExternalStore:xi,useId:xi,unstable_isNewReconciler:!1},ll={readContext:_a,useCallback:function(e,t){return _i().memoizedState=[e,void 0===t?null:t],e},useContext:_a,useEffect:qi,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,$i(4194308,4,Vi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $i(4194308,4,e,t)},useInsertionEffect:function(e,t){return $i(4,2,e,t)},useMemo:function(e,t){var n=_i();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=_i();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tl.bind(null,gi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},_i().memoizedState=e},useState:Mi,useDebugValue:Qi,useDeferredValue:function(e){return _i().memoizedState=e},useTransition:function(){var e=Mi(!1),t=e[0];return e=Ji.bind(null,e[1]),_i().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=gi,o=_i();if(aa){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===Ls)throw Error(a(349));0!=(30&mi)||Pi(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,qi(Di.bind(null,r,i,e),[e]),r.flags|=2048,zi(9,Oi.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=_i(),t=Ls.identifierPrefix;if(aa){var n=Xo;t=":"+t+"R"+(n=(Ko&~(1<<32-it(Ko)-1)).toString(32)+n),0<(n=wi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ki++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sl={readContext:_a,useCallback:Yi,useContext:_a,useEffect:Hi,useImperativeHandle:Wi,useInsertionEffect:Zi,useLayoutEffect:Gi,useMemo:Ki,useReducer:Ai,useRef:Bi,useState:function(){return Ai(ji)},useDebugValue:Qi,useDeferredValue:function(e){return Xi(Ti(),hi.memoizedState,e)},useTransition:function(){return[Ai(ji)[0],Ti().memoizedState]},useMutableSource:Ni,useSyncExternalStore:Ri,useId:el,unstable_isNewReconciler:!1},ul={readContext:_a,useCallback:Yi,useContext:_a,useEffect:Hi,useImperativeHandle:Wi,useInsertionEffect:Zi,useLayoutEffect:Gi,useMemo:Ki,useReducer:Li,useRef:Bi,useState:function(){return Li(ji)},useDebugValue:Qi,useDeferredValue:function(e){var t=Ti();return null===hi?t.memoizedState=e:Xi(t,hi.memoizedState,e)},useTransition:function(){return[Li(ji)[0],Ti().memoizedState]},useMutableSource:Ni,useSyncExternalStore:Ri,useId:el,unstable_isNewReconciler:!1};function cl(e,t){try{var n="",r=t;do{n+=$(r),r=r.return}while(r);var o=n}catch(a){o="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:t,stack:o,digest:null}}function dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function pl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var fl="function"==typeof WeakMap?WeakMap:Map;function ml(e,t,n){(n=Oa(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Zs||(Zs=!0,Gs=r),pl(0,t)},n}function gl(e,t,n){(n=Oa(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){pl(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){pl(0,t),"function"!=typeof r&&(null===Vs?Vs=new Set([this]):Vs.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function hl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fl;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=_u.bind(null,e,t,n),t.then(e,e))}function yl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function bl(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Oa(-1,1)).tag=2,Da(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var vl=w.ReactCurrentOwner,wl=!1;function kl(e,t,n,r){t.child=null===e?Xa(t,null,n,r):Ka(t,e.child,n,r)}function xl(e,t,n,r,o){n=n.render;var a=t.ref;return Ca(t,o),r=Ei(e,t,n,r,a,o),n=Ci(),null===e||wl?(aa&&n&&ta(t),t.flags|=1,kl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Zl(e,t,o))}function Sl(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||Pu(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Du(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,El(e,t,a,r,o))}if(a=e.child,0==(e.lanes&o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(i,r)&&e.ref===t.ref)return Zl(e,t,o)}return t.flags|=1,(e=Ou(a,r)).ref=t.ref,e.return=t,t.child=e}function El(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(sr(a,r)&&e.ref===t.ref){if(wl=!1,t.pendingProps=r=a,0==(e.lanes&o))return t.lanes=e.lanes,Zl(e,t,o);0!=(131072&e.flags)&&(wl=!0)}}return Tl(e,t,n,r,o)}function Cl(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},To(Os,Ps),Ps|=n;else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,To(Os,Ps),Ps|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,To(Os,Ps),Ps|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,To(Os,Ps),Ps|=r;return kl(e,t,o,n),t.child}function _l(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Tl(e,t,n,r,o){var a=Po(n)?No:Ao.current;return a=Ro(t,a),Ca(t,o),n=Ei(e,t,n,r,a,o),r=Ci(),null===e||wl?(aa&&r&&ta(t),t.flags|=1,kl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Zl(e,t,o))}function jl(e,t,n,r,o){if(Po(n)){var a=!0;Fo(t)}else a=!1;if(Ca(t,o),null===t.stateNode)Hl(e,t),Ha(t,n,r),Ga(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,u=n.contextType;"object"==typeof u&&null!==u?u=_a(u):u=Ro(t,u=Po(n)?No:Ao.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==u)&&Za(t,i,r,u),Na=!1;var p=t.memoizedState;i.state=p,Ma(t,r,i,o),s=t.memoizedState,l!==r||p!==s||Lo.current||Na?("function"==typeof c&&($a(t,n,c,r),s=t.memoizedState),(l=Na||qa(t,n,l,r,p,s,u))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=u,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Pa(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:ya(t.type,l),i.props=u,d=t.pendingProps,p=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=_a(s):s=Ro(t,s=Po(n)?No:Ao.current);var f=n.getDerivedStateFromProps;(c="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||p!==s)&&Za(t,i,r,s),Na=!1,p=t.memoizedState,i.state=p,Ma(t,r,i,o);var m=t.memoizedState;l!==d||p!==m||Lo.current||Na?("function"==typeof f&&($a(t,n,f,r),m=t.memoizedState),(u=Na||qa(t,n,u,r,p,m,s)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=s,r=u):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Al(e,t,n,r,a,o)}function Al(e,t,n,r,o,a){_l(e,t);var i=0!=(128&t.flags);if(!r&&!i)return o&&Mo(t,n,!1),Zl(e,t,a);r=t.stateNode,vl.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Ka(t,e.child,null,a),t.child=Ka(t,null,l,a)):kl(e,t,l,a),t.memoizedState=r.state,o&&Mo(t,n,!0),t.child}function Ll(e){var t=e.stateNode;t.pendingContext?Do(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Do(0,t.context,!1),oi(e,t.containerInfo)}function Nl(e,t,n,r,o){return ma(),ga(o),t.flags|=256,kl(e,t,n,r),t.child}var Rl,Pl,Ol,Dl,Il={dehydrated:null,treeContext:null,retryLane:0};function Fl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ml(e,t,n){var r,o=t.pendingProps,i=si.current,l=!1,s=0!=(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),To(si,1&i),null===e)return ca(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(s=o.children,e=o.fallback,l?(o=t.mode,l=t.child,s={mode:"hidden",children:s},0==(1&o)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=Fu(s,o,0,null),e=Iu(e,o,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Fl(n),t.memoizedState=Il,e):zl(t,s));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,o,i,l){if(n)return 256&t.flags?(t.flags&=-257,Bl(e,t,l,r=dl(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Fu({mode:"visible",children:r.children},o,0,null),(i=Iu(i,o,l,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&Ka(t,e.child,null,l),t.child.memoizedState=Fl(l),t.memoizedState=Il,i);if(0==(1&t.mode))return Bl(e,t,l,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var s=r.dgst;return r=s,Bl(e,t,l,r=dl(i=Error(a(419)),r,void 0))}if(s=0!=(l&e.childLanes),wl||s){if(null!==(r=Ls)){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|l))?0:o)&&o!==i.retryLane&&(i.retryLane=o,La(e,o),ru(r,e,o,-1))}return hu(),Bl(e,t,l,r=dl(Error(a(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=ju.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,oa=uo(o.nextSibling),ra=t,aa=!0,ia=null,null!==e&&(Wo[Qo++]=Ko,Wo[Qo++]=Xo,Wo[Qo++]=Yo,Ko=e.id,Xo=e.overflow,Yo=t),t=zl(t,r.children),t.flags|=4096,t)}(e,t,s,o,r,i,n);if(l){l=o.fallback,s=t.mode,r=(i=e.child).sibling;var u={mode:"hidden",children:o.children};return 0==(1&s)&&t.child!==i?((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null):(o=Ou(i,u)).subtreeFlags=14680064&i.subtreeFlags,null!==r?l=Ou(r,l):(l=Iu(l,s,n,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,s=null===(s=e.child.memoizedState)?Fl(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Il,o}return e=(l=e.child).sibling,o=Ou(l,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function zl(e,t){return(t=Fu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Bl(e,t,n,r){return null!==r&&ga(r),Ka(t,e.child,null,n),(e=zl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function $l(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ea(e.return,t,n)}function Ul(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function ql(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(kl(e,t,r.children,n),0!=(2&(r=si.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&$l(e,n,t);else if(19===e.tag)$l(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(To(si,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ui(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Ul(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ui(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Ul(t,!0,n,null,a);break;case"together":Ul(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Hl(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Zl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Fs|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Ou(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ou(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Gl(e,t){if(!aa)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Vl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Wl(e,t,n){var r=t.pendingProps;switch(na(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Vl(t),null;case 1:case 17:return Po(t.type)&&Oo(),Vl(t),null;case 3:return r=t.stateNode,ai(),_o(Lo),_o(Ao),di(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(pa(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ia&&(lu(ia),ia=null))),Pl(e,t),Vl(t),null;case 5:li(t);var o=ri(ni.current);if(n=t.type,null!==e&&null!=t.stateNode)Ol(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(a(166));return Vl(t),null}if(e=ri(ei.current),pa(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[fo]=t,r[mo]=i,e=0!=(1&t.mode),n){case"dialog":zr("cancel",r),zr("close",r);break;case"iframe":case"object":case"embed":zr("load",r);break;case"video":case"audio":for(o=0;o <\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[fo]=t,e[mo]=r,Rl(e,t,!1,!1),t.stateNode=e;e:{switch(s=ve(n,r),n){case"dialog":zr("cancel",e),zr("close",e),o=r;break;case"iframe":case"object":case"embed":zr("load",e),o=r;break;case"video":case"audio":for(o=0;o qs&&(t.flags|=128,r=!0,Gl(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ui(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Gl(i,!0),null===i.tail&&"hidden"===i.tailMode&&!s.alternate&&!aa)return Vl(t),null}else 2*Ke()-i.renderingStartTime>qs&&1073741824!==n&&(t.flags|=128,r=!0,Gl(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=i.last)?n.sibling=s:t.child=s,i.last=s)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ke(),t.sibling=null,n=si.current,To(si,r?1&n|2:1&n),t):(Vl(t),null);case 22:case 23:return pu(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&Ps)&&(Vl(t),6&t.subtreeFlags&&(t.flags|=8192)):Vl(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function Ql(e,t){switch(na(t),t.tag){case 1:return Po(t.type)&&Oo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ai(),_o(Lo),_o(Ao),di(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return li(t),null;case 13:if(_o(si),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));ma()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return _o(si),null;case 4:return ai(),null;case 10:return Sa(t.type._context),null;case 22:case 23:return pu(),null;default:return null}}Rl=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Pl=function(){},Ol=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ri(ei.current);var a,i=null;switch(n){case"input":o=Q(e,o),r=Q(e,r),i=[];break;case"select":o=F({},o,{value:void 0}),r=F({},r,{value:void 0}),i=[];break;case"textarea":o=re(e,o),r=re(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(c in be(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var s=o[c];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(a in s)!s.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&s[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(i||(i=[]),i.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(i=i||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(i=i||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(l.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&zr("scroll",e),i||s===u||(i=[])):(i=i||[]).push(c,u))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Dl=function(e,t,n,r){n!==r&&(t.flags|=4)};var Yl=!1,Kl=!1,Xl="function"==typeof WeakSet?WeakSet:Set,Jl=null;function es(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){Cu(e,t,r)}else n.current=null}function ts(e,t,n){try{n()}catch(r){Cu(e,t,r)}}var ns=!1;function rs(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&ts(t,n,a)}o=o.next}while(o!==r)}}function os(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function as(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function is(e){var t=e.alternate;null!==t&&(e.alternate=null,is(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[fo],delete t[mo],delete t[ho],delete t[yo],delete t[bo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ls(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}function cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cs(e,t,n),e=e.sibling;null!==e;)cs(e,t,n),e=e.sibling}var ds=null,ps=!1;function fs(e,t,n){for(n=n.child;null!==n;)ms(e,t,n),n=n.sibling}function ms(e,t,n){if(at&&"function"==typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(ot,n)}catch(l){}switch(n.tag){case 5:Kl||es(n,t);case 6:var r=ds,o=ps;ds=null,fs(e,t,n),ps=o,null!==(ds=r)&&(ps?(e=ds,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ds.removeChild(n.stateNode));break;case 18:null!==ds&&(ps?(e=ds,n=n.stateNode,8===e.nodeType?so(e.parentNode,n):1===e.nodeType&&so(e,n),Ut(e)):so(ds,n.stateNode));break;case 4:r=ds,o=ps,ds=n.stateNode.containerInfo,ps=!0,fs(e,t,n),ds=r,ps=o;break;case 0:case 11:case 14:case 15:if(!Kl&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(0!=(2&a)||0!=(4&a))&&ts(n,t,i),o=o.next}while(o!==r)}fs(e,t,n);break;case 1:if(!Kl&&(es(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Cu(n,t,l)}fs(e,t,n);break;case 21:fs(e,t,n);break;case 22:1&n.mode?(Kl=(r=Kl)||null!==n.memoizedState,fs(e,t,n),Kl=r):fs(e,t,n);break;default:fs(e,t,n)}}function gs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xl),t.forEach((function(t){var r=Au.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function hs(e,t){var n=t.deletions;if(null!==n)for(var r=0;r o&&(o=l),r&=~i}if(r=o,10<(r=(120>(r=Ke()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cs(r/1960))-r)){e.timeoutHandle=ro(xu.bind(null,e,$s,Hs),r);break}xu(e,$s,Hs);break;default:throw Error(a(329))}}}return ou(e,Ke()),e.callbackNode===n?au.bind(null,e):null}function iu(e,t){var n=Bs;return e.current.memoizedState.isDehydrated&&(fu(e,t).flags|=256),2!==(e=yu(e,t))&&(t=$s,$s=n,null!==t&&lu(t)),e}function lu(e){null===$s?$s=e:$s.push.apply($s,e)}function su(e,t){for(t&=~zs,t&=~Ms,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0 e?16:e,null===Qs)var r=!1;else{if(e=Qs,Qs=null,Ys=0,0!=(6&As))throw Error(a(331));var o=As;for(As|=4,Jl=e.current;null!==Jl;){var i=Jl,l=i.child;if(0!=(16&Jl.flags)){var s=i.deletions;if(null!==s){for(var u=0;u Ke()-Us?fu(e,0):zs|=n),ou(e,t)}function Tu(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ct,0==(130023424&(ct<<=1))&&(ct=4194304)));var n=tu();null!==(e=La(e,t))&&(yt(e,t,n),ou(e,n))}function ju(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Tu(e,n)}function Au(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(t),Tu(e,n)}function Lu(e,t){return Ve(e,t)}function Nu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ru(e,t,n,r){return new Nu(e,t,n,r)}function Pu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ou(e,t){var n=e.alternate;return null===n?((n=Ru(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Du(e,t,n,r,o,i){var l=2;if(r=e,"function"==typeof e)Pu(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case S:return Iu(n.children,o,i,t);case E:l=8,o|=8;break;case C:return(e=Ru(12,n,t,2|o)).elementType=C,e.lanes=i,e;case A:return(e=Ru(13,n,t,o)).elementType=A,e.lanes=i,e;case L:return(e=Ru(19,n,t,o)).elementType=L,e.lanes=i,e;case P:return Fu(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case _:l=10;break e;case T:l=9;break e;case j:l=11;break e;case N:l=14;break e;case R:l=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Ru(l,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Iu(e,t,n,r){return(e=Ru(7,e,r,t)).lanes=n,e}function Fu(e,t,n,r){return(e=Ru(22,e,r,t)).elementType=P,e.lanes=n,e.stateNode={isHidden:!1},e}function Mu(e,t,n){return(e=Ru(6,e,null,t)).lanes=n,e}function zu(e,t,n){return(t=Ru(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bu(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ht(0),this.expirationTimes=ht(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ht(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function $u(e,t,n,r,o,a,i,l,s){return e=new Bu(e,t,n,l,s),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Ru(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ra(a),e}function Uu(e){if(!e)return jo;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Po(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(a(171))}if(1===e.tag){var n=e.type;if(Po(n))return Io(e,n,t)}return t}function qu(e,t,n,r,o,a,i,l,s){return(e=$u(n,r,!0,e,0,a,0,l,s)).context=Uu(null),n=e.current,(a=Oa(r=tu(),o=nu(n))).callback=null!=t?t:null,Da(n,a,o),e.current.lanes=o,yt(e,o,r),ou(e,r),e}function Hu(e,t,n,r){var o=t.current,a=tu(),i=nu(o);return n=Uu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Oa(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Da(o,t,i))&&(ru(e,o,i,a),Ia(e,o,i)),i}function Zu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Gu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n {"use strict";var r=n(3935);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},3935:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(4448)},9590:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var l,s,u,c;if(Array.isArray(e)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(!a(e[s],i[s]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;for(c=e.entries();!(s=c.next()).done;)if(!a(s.value[1],i.get(s.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(e[s]!==i[s])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((l=(u=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,u[s]))return!1;if(t&&e instanceof Element)return!1;for(s=l;0!=s--;)if(("_owner"!==u[s]&&"__v"!==u[s]&&"__o"!==u[s]||!e.$$typeof)&&!a(e[u[s]],i[u[s]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return a(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},405:(e,t,n)=>{"use strict";n.d(t,{B6:()=>Z,ql:()=>J});var r=n(7294),o=n(5697),a=n.n(o),i=n(9590),l=n.n(i),s=n(1143),u=n.n(s),c=n(6774),d=n.n(c);function p(){return p=Object.assign||function(e){for(var t=1;t =0||(o[n]=e[n]);return o}var h={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},y={rel:["amphtml","canonical","alternate"]},b={type:["application/ld+json"]},v={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},w=Object.keys(h).map((function(e){return h[e]})),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},x=Object.keys(k).reduce((function(e,t){return e[k[t]]=t,e}),{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},E=function(e){var t=S(e,h.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=S(e,"defaultTitle");return t||r||void 0},C=function(e){return S(e,"onChangeClientState")||function(){}},_=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return p({},e,t)}),{})},T=function(e,t){return t.filter((function(e){return void 0!==e[h.BASE]})).map((function(e){return e[h.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o /g,">").replace(/"/g,""").replace(/'/g,"'")},D=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},I=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[k[n]||n]=e[n],t}),t)},F=function(e,t){return t.map((function(t,n){var o,a=((o={key:n})["data-rh"]=!0,o);return Object.keys(t).forEach((function(e){var n=k[e]||e;"innerHTML"===n||"cssText"===n?a.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:a[n]=t[e]})),r.createElement(e,a)}))},M=function(e,t,n){switch(e){case h.TITLE:return{toComponent:function(){return n=t.titleAttributes,(o={key:e=t.title})["data-rh"]=!0,a=I(n,o),[r.createElement(h.TITLE,a,e)];var e,n,o,a},toString:function(){return function(e,t,n,r){var o=D(n),a=L(t);return o?"<"+e+' data-rh="true" '+o+">"+O(a,r)+""+e+">":"<"+e+' data-rh="true">'+O(a,r)+""+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return I(t)},toString:function(){return D(t)}};default:return{toComponent:function(){return F(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+O(r[t],n)+'"';return e?e+" "+o:o}),""),a=r.innerHTML||r.cssText||"",i=-1===P.indexOf(e);return t+"<"+e+' data-rh="true" '+o+(i?"/>":">"+a+""+e+">")}),"")}(e,t,n)}}}},z=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,a=e.noscriptTags,i=e.styleTags,l=e.title,s=void 0===l?"":l,u=e.titleAttributes,c=e.linkTags,d=e.metaTags,p=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var m=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,o=N(e.metaTags,v),a=N(t,y),i=N(n,b);return{priorityMethods:{toComponent:function(){return[].concat(F(h.META,o.priority),F(h.LINK,a.priority),F(h.SCRIPT,i.priority))},toString:function(){return M(h.META,o.priority,r)+" "+M(h.LINK,a.priority,r)+" "+M(h.SCRIPT,i.priority,r)}},metaTags:o.default,linkTags:a.default,scriptTags:i.default}}(e);f=m.priorityMethods,c=m.linkTags,d=m.metaTags,p=m.scriptTags}return{priority:f,base:M(h.BASE,t,r),bodyAttributes:M("bodyAttributes",n,r),htmlAttributes:M("htmlAttributes",o,r),link:M(h.LINK,c,r),meta:M(h.META,d,r),noscript:M(h.NOSCRIPT,a,r),script:M(h.SCRIPT,p,r),style:M(h.STYLE,i,r),title:M(h.TITLE,{title:s,titleAttributes:u},r)}},B=[],$=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?B:n.instances},add:function(e){(n.canUseDOM?B:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?B:n.instances).indexOf(e);(n.canUseDOM?B:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=z({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},U=r.createContext({}),q=a().shape({setHelmet:a().func,helmetInstances:a().shape({get:a().func,add:a().func,remove:a().func})}),H="undefined"!=typeof document,Z=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new $(r.props.context,t.canUseDOM),r}return f(t,e),t.prototype.render=function(){return r.createElement(U.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);Z.canUseDOM=H,Z.propTypes={context:a().shape({helmet:a().shape()}),children:a().node.isRequired},Z.defaultProps={context:{}},Z.displayName="HelmetProvider";var G=function(e,t){var n,r=document.head||document.querySelector(h.HEAD),o=r.querySelectorAll(e+"[data-rh]"),a=[].slice.call(o),i=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&("innerHTML"===o?r.innerHTML=t.innerHTML:"cssText"===o?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(o,void 0===t[o]?"":t[o]));r.setAttribute("data-rh","true"),a.some((function(e,t){return n=t,r.isEqualNode(e)}))?a.splice(n,1):i.push(r)})),a.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:a,newTags:i}},V=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),o=r?r.split(","):[],a=[].concat(o),i=Object.keys(t),l=0;l =0;d-=1)n.removeAttribute(a[d]);o.length===a.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},W=function(e,t){var n=e.baseTag,r=e.htmlAttributes,o=e.linkTags,a=e.metaTags,i=e.noscriptTags,l=e.onChangeClientState,s=e.scriptTags,u=e.styleTags,c=e.title,d=e.titleAttributes;V(h.BODY,e.bodyAttributes),V(h.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=L(e)),V(h.TITLE,t)}(c,d);var p={baseTag:G(h.BASE,n),linkTags:G(h.LINK,o),metaTags:G(h.META,a),noscriptTags:G(h.NOSCRIPT,i),scriptTags:G(h.SCRIPT,s),styleTags:G(h.STYLE,u)},f={},m={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(f[e]=n),r.length&&(m[e]=p[e].oldTags)})),t&&t(),l(e,f,m)},Q=null,Y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return p({},r,((t={})[n.type]=[].concat(r[n.type]||[],[p({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,a=e.newChildProps,i=e.nestedChildren;switch(r.type){case h.TITLE:return p({},o,((t={})[r.type]=i,t.titleAttributes=p({},a),t));case h.BODY:return p({},o,{bodyAttributes:p({},a)});case h.HTML:return p({},o,{htmlAttributes:p({},a)});default:return p({},o,((n={})[r.type]=p({},a),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=p({},t);return Object.keys(e).forEach((function(t){var r;n=p({},n,((r={})[t]=e[t],r))})),n},n.warnOnInvalidChildren=function(e,t){return u()(w.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),u()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,o={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,a=r.children,i=g(r,K),l=Object.keys(i).reduce((function(e,t){return e[x[t]||t]=i[t],e}),{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,a),s){case h.FRAGMENT:t=n.mapChildrenToProps(a,t);break;case h.LINK:case h.META:case h.NOSCRIPT:case h.SCRIPT:case h.STYLE:o=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:o,newChildProps:l,nestedChildren:a});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:a})}}})),this.mapArrayTypeChildrenToProps(o,t)},n.render=function(){var e=this.props,t=e.children,n=g(e,X),o=p({},n),a=n.helmetData;return t&&(o=this.mapChildrenToProps(t,o)),!a||a instanceof $||(a=new $(a.context,a.instances)),a?r.createElement(Y,p({},o,{context:a.value,helmetData:void 0})):r.createElement(U.Consumer,null,(function(e){return r.createElement(Y,p({},o,{context:e}))}))},t}(r.Component);J.propTypes={base:a().object,bodyAttributes:a().object,children:a().oneOfType([a().arrayOf(a().node),a().node]),defaultTitle:a().string,defer:a().bool,encodeSpecialCharacters:a().bool,htmlAttributes:a().object,link:a().arrayOf(a().object),meta:a().arrayOf(a().object),noscript:a().arrayOf(a().object),onChangeClientState:a().func,script:a().arrayOf(a().object),style:a().arrayOf(a().object),title:a().string,titleAttributes:a().object,titleTemplate:a().string,prioritizeSeoTags:a().bool,helmetData:a().object},J.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},J.displayName="Helmet"},9921:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,h=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case a:case l:case i:case f:return e;default:switch(e=e&&e.$$typeof){case u:case p:case h:case g:case s:return e;default:return t}}case o:return t}}}function x(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=p,t.Fragment=a,t.Lazy=h,t.Memo=g,t.Portal=o,t.Profiler=l,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return x(e)||k(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===p},t.isFragment=function(e){return k(e)===a},t.isLazy=function(e){return k(e)===h},t.isMemo=function(e){return k(e)===g},t.isPortal=function(e){return k(e)===o},t.isProfiler=function(e){return k(e)===l},t.isStrictMode=function(e){return k(e)===i},t.isSuspense=function(e){return k(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===l||e===i||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===s||e.$$typeof===u||e.$$typeof===p||e.$$typeof===b||e.$$typeof===v||e.$$typeof===w||e.$$typeof===y)},t.typeOf=k},9864:(e,t,n)=>{"use strict";e.exports=n(9921)},8356:(e,t,n)=>{"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t {"use strict";n.d(t,{H:()=>l,f:()=>i});var r=n(6550),o=n(7462),a=n(7294);function i(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var o=e.path?(0,r.LX)(t,e):n.length?n[n.length-1].match:r.F0.computeRootMatch(t);return o&&(n.push({route:e,match:o}),e.routes&&i(e.routes,t,n)),o})),n}function l(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?a.createElement(r.rs,n,e.map((function(e,n){return a.createElement(r.AW,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,o.Z)({},n,{},t,{route:e})):a.createElement(e.component,(0,o.Z)({},n,t,{route:e}))}})}))):null}},3727:(e,t,n)=>{"use strict";n.d(t,{OL:()=>v,VK:()=>c,rU:()=>h});var r=n(6550),o=n(5068),a=n(7294),i=n(9318),l=n(7462),s=n(3366),u=n(8776),c=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o {"use strict";n.d(t,{AW:()=>E,F0:()=>v,LX:()=>S,TH:()=>P,k6:()=>R,rs:()=>L,s6:()=>b});var r=n(5068),o=n(7294),a=n(5697),i=n.n(a),l=n(9318),s=n(8776),u=n(7462),c=n(9658),d=n.n(c),p=(n(9864),n(3366)),f=(n(8679),1073741823),m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var g=o.createContext||function(e,t){var n,a,l="__create-react-context-"+function(){var e="__global_unique_id__";return m[e]=(m[e]||0)+1}()+"__",s=function(e){function n(){for(var t,n,r,o=arguments.length,a=new Array(o),i=0;i {var r=n(5826);e.exports=f,e.exports.parse=a,e.exports.compile=function(e,t){return l(a(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function a(e,t){for(var n,r=[],a=0,i=0,l="",c=t&&t.delimiter||"/";null!=(n=o.exec(e));){var d=n[0],p=n[1],f=n.index;if(l+=e.slice(i,f),i=f+d.length,p)l+=p[1];else{var m=e[i],g=n[2],h=n[3],y=n[4],b=n[5],v=n[6],w=n[7];l&&(r.push(l),l="");var k=null!=g&&null!=m&&m!==g,x="+"===v||"*"===v,S="?"===v||"*"===v,E=n[2]||c,C=y||b;r.push({name:h||a++,prefix:g||"",delimiter:E,optional:S,repeat:x,partial:k,asterisk:!!w,pattern:C?u(C):w?".*":"[^"+s(E)+"]+?"})}}return i {"use strict";var r=n(7294),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,a={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!s.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:o,type:e,key:u,ref:c,props:a,_owner:l.current}}t.Fragment=a,t.jsx=u,t.jsxs=u},2408:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,h={};function y(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||m}function b(){}function v(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||m}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=y.prototype;var w=v.prototype=new b;w.constructor=v,g(w,y.prototype),w.isPureReactComponent=!0;var k=Array.isArray,x=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var o,a={},i=null,l=null;if(null!=t)for(o in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)x.call(t,o)&&!E.hasOwnProperty(o)&&(a[o]=t[o]);var s=arguments.length-2;if(1===s)a.children=r;else if(1 {"use strict";e.exports=n(2408)},5893:(e,t,n)=>{"use strict";e.exports=n(5251)},53:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0>>1,o=e[r];if(!(0>>1;ra(s,n))u a(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u