From d5e0ff07c7bcf8d226f6466b79347bad03153258 Mon Sep 17 00:00:00 2001 From: Zypher Game Date: Wed, 18 Oct 2023 05:59:13 +0000 Subject: [PATCH] Update from https://github.com/zypher-game/bingo-frontend/commit/599409cce0b84fda5bb38d6703e5e9458f32781e --- 1815.05036a5c.chunk.css | 1 - 1815.6a20571c.bundle.js | 1 - 2144.86892969.bundle.js | 1 + 3015.495517eb.bundle.js | 1 + 3015.6b0eebfe.chunk.css | 1 + 3571.18140d17.bundle.js | 1 - 3571.a4bc9442.chunk.css | 1 - 3677.8e956630.bundle.js | 1 - 3880.6e326582.bundle.js | 1 + 3880.7dfbfd6e.chunk.css | 1 + 4349.adddd4c1.bundle.js | 1 - 4667.f74b83c5.bundle.js | 1 - 485.a3ae1e74.chunk.css | 1 + 485.efdd5b7d.bundle.js | 1 + 5184.8bbe493c.bundle.js | 1 + ...f36b2.chunk.css => 5208.341f36b2.chunk.css | 0 ...3987b4.chunk.css => 528.643987b4.chunk.css | 0 528.fb998196.bundle.js | 2 + ....txt => 528.fb998196.bundle.js.LICENSE.txt | 6 + 5353.59ba5a4a.bundle.js | 1 - 5379.6dbd0543.bundle.js | 1 - 5379.bef17ed7.chunk.css | 1 - 5409.c97274e2.bundle.js | 2 - 5867.39fe9485.bundle.js | 1 + 5867.47179085.chunk.css | 1 + 6089.a06c10a7.bundle.js | 1 + 6089.fb3a4f7b.chunk.css | 1 + 6170.d7c54389.bundle.js | 2 - 6170.d7c54389.bundle.js.LICENSE.txt | 5 - 6403.dfc24acf.bundle.js | 1 - ...39283.chunk.css => 6665.b0339283.chunk.css | 0 6665.ed132b54.bundle.js | 2 + ...txt => 6665.ed132b54.bundle.js.LICENSE.txt | 0 7205.95a45ee7.bundle.js | 1 - 7205.f5179f4b.chunk.css | 1 - 738.7cdf4dbb.bundle.js | 1 + 738.db0da72a.chunk.css | 1 + 7881.442ade56.bundle.js | 1 - 8120.d2334977.bundle.js | 1 + 8174.087d2ec9.bundle.js | 2 - 8355.1ce02065.bundle.js | 1 + ...35d9a.bundle.js => 8376.4acbdc36.bundle.js | 4 +- ...txt => 8376.4acbdc36.bundle.js.LICENSE.txt | 0 8444.b57eacf2.bundle.js | 1 - 8513.45aca29e.bundle.js | 1 + 8526.63cf2a11.chunk.css | 1 - 8526.c14ef67d.bundle.js | 1 - 8854.10636e75.chunk.css | 1 - 8854.3c32c09c.bundle.js | 1 - 9215.203bba5e.bundle.js | 1 - 9240.07a6492c.bundle.js | 1 - 9240.5615638a.chunk.css | 1 - 9244.85ab5d5c.chunk.css | 1 - 9244.93cf0ab2.bundle.js | 1 - 9794.1bd55d22.chunk.css | 1 + 9794.f0d146a9.bundle.js | 1 + 9867.3de27864.chunk.css | 1 + 9867.e11fd627.bundle.js | 1 + 9917.498356f3.bundle.js | 1 + asset/0f862075a5.png | Bin 207828 -> 0 bytes asset/625bae35a6.jpeg | Bin 84052 -> 0 bytes asset/63048f4e81.png | Bin 41009 -> 0 bytes asset/6a17b7d7ac.png | Bin 0 -> 38918 bytes asset/7b8663f0bc.png | Bin 0 -> 2677909 bytes asset/a95c59008b.svg | 196 ------ asset/c27efff48f.png | Bin 39809 -> 0 bytes asset/c3f807f9e6.png | Bin 141871 -> 0 bytes asset/c583308522.png | Bin 0 -> 39705 bytes asset/d218341211.png | Bin 0 -> 164699 bytes asset/d23b1da8ef.svg | 154 ----- asset/d5db084a6f.png | Bin 39913 -> 0 bytes asset/f095401031.png | Bin 0 -> 504300 bytes asset/fc5fe38fcc.png | Bin 1948427 -> 0 bytes audio/close.svg | 86 +-- audio/open.svg | 84 +-- img/Upgradation.png | Bin 0 -> 43899 bytes img/bingo/NoDataIcon.svg | 13 + img/bingo/cardBg01_mrule.png | Bin 128889 -> 128742 bytes img/bingo/close.png | Bin 0 -> 644 bytes asset/2b2f4f20e5.svg => img/bingo/crown.svg | 0 img/bingo/exit.svg | 67 ++ .../bingo/loading-title.png | Bin img/bingo/note.png | Bin 0 -> 305 bytes img/bingo/pannel.png | Bin 0 -> 504300 bytes img/bingo/pannel_m.png | Bin 0 -> 164699 bytes img/bingo/question.svg | 55 ++ asset/3ada60b935.svg => img/bingo/radish.svg | 0 asset/bc60863661.svg => img/bingo/star.svg | 0 .../bingo/winerBingo.png | Bin .../389ebd0a37.png => img/bingo/your-lose.png | Bin img/home/{banner01bg.png => banner01bgV0.png} | Bin img/home/banner01bgV1.png | Bin 0 -> 1297359 bytes img/home/{banner02bg.png => banner02bgV0.png} | Bin img/home/banner02bgV1.png | Bin 0 -> 1018595 bytes img/profile/level1.svg | 228 +++++++ img/profile/level2.svg | 474 +++++++++++++ img/profile/level3.svg | 629 ++++++++++++++++++ index.html | 2 +- main.6afe3ee9.bundle.css | 1 - main.a306d697.bundle.js | 2 + ...txt => main.a306d697.bundle.js.LICENSE.txt | 0 main.f3f8a83c.bundle.css | 1 + main.fed98d39.bundle.js | 2 - runtime~main.97946f32.bundle.js | 1 + runtime~main.f3ef0f8b.bundle.js | 1 - 105 files changed, 1578 insertions(+), 489 deletions(-) delete mode 100644 1815.05036a5c.chunk.css delete mode 100644 1815.6a20571c.bundle.js create mode 100644 2144.86892969.bundle.js create mode 100644 3015.495517eb.bundle.js create mode 100644 3015.6b0eebfe.chunk.css delete mode 100644 3571.18140d17.bundle.js delete mode 100644 3571.a4bc9442.chunk.css delete mode 100644 3677.8e956630.bundle.js create mode 100644 3880.6e326582.bundle.js create mode 100644 3880.7dfbfd6e.chunk.css delete mode 100644 4349.adddd4c1.bundle.js delete mode 100644 4667.f74b83c5.bundle.js create mode 100644 485.a3ae1e74.chunk.css create mode 100644 485.efdd5b7d.bundle.js create mode 100644 5184.8bbe493c.bundle.js rename 8444.341f36b2.chunk.css => 5208.341f36b2.chunk.css (100%) rename 6170.643987b4.chunk.css => 528.643987b4.chunk.css (100%) create mode 100644 528.fb998196.bundle.js rename 8174.087d2ec9.bundle.js.LICENSE.txt => 528.fb998196.bundle.js.LICENSE.txt (54%) delete mode 100644 5353.59ba5a4a.bundle.js delete mode 100644 5379.6dbd0543.bundle.js delete mode 100644 5379.bef17ed7.chunk.css delete mode 100644 5409.c97274e2.bundle.js create mode 100644 5867.39fe9485.bundle.js create mode 100644 5867.47179085.chunk.css create mode 100644 6089.a06c10a7.bundle.js create mode 100644 6089.fb3a4f7b.chunk.css delete mode 100644 6170.d7c54389.bundle.js delete mode 100644 6170.d7c54389.bundle.js.LICENSE.txt delete mode 100644 6403.dfc24acf.bundle.js rename 6403.b0339283.chunk.css => 6665.b0339283.chunk.css (100%) create mode 100644 6665.ed132b54.bundle.js rename 5409.c97274e2.bundle.js.LICENSE.txt => 6665.ed132b54.bundle.js.LICENSE.txt (100%) delete mode 100644 7205.95a45ee7.bundle.js delete mode 100644 7205.f5179f4b.chunk.css create mode 100644 738.7cdf4dbb.bundle.js create mode 100644 738.db0da72a.chunk.css delete mode 100644 7881.442ade56.bundle.js create mode 100644 8120.d2334977.bundle.js delete mode 100644 8174.087d2ec9.bundle.js create mode 100644 8355.1ce02065.bundle.js rename 7910.dd235d9a.bundle.js => 8376.4acbdc36.bundle.js (72%) rename 7910.dd235d9a.bundle.js.LICENSE.txt => 8376.4acbdc36.bundle.js.LICENSE.txt (100%) delete mode 100644 8444.b57eacf2.bundle.js create mode 100644 8513.45aca29e.bundle.js delete mode 100644 8526.63cf2a11.chunk.css delete mode 100644 8526.c14ef67d.bundle.js delete mode 100644 8854.10636e75.chunk.css delete mode 100644 8854.3c32c09c.bundle.js delete mode 100644 9215.203bba5e.bundle.js delete mode 100644 9240.07a6492c.bundle.js delete mode 100644 9240.5615638a.chunk.css delete mode 100644 9244.85ab5d5c.chunk.css delete mode 100644 9244.93cf0ab2.bundle.js create mode 100644 9794.1bd55d22.chunk.css create mode 100644 9794.f0d146a9.bundle.js create mode 100644 9867.3de27864.chunk.css create mode 100644 9867.e11fd627.bundle.js create mode 100644 9917.498356f3.bundle.js delete mode 100644 asset/0f862075a5.png delete mode 100644 asset/625bae35a6.jpeg delete mode 100644 asset/63048f4e81.png create mode 100644 asset/6a17b7d7ac.png create mode 100644 asset/7b8663f0bc.png delete mode 100644 asset/a95c59008b.svg delete mode 100644 asset/c27efff48f.png delete mode 100644 asset/c3f807f9e6.png create mode 100644 asset/c583308522.png create mode 100644 asset/d218341211.png delete mode 100644 asset/d23b1da8ef.svg delete mode 100644 asset/d5db084a6f.png create mode 100644 asset/f095401031.png delete mode 100644 asset/fc5fe38fcc.png create mode 100644 img/Upgradation.png create mode 100644 img/bingo/NoDataIcon.svg create mode 100644 img/bingo/close.png rename asset/2b2f4f20e5.svg => img/bingo/crown.svg (100%) create mode 100644 img/bingo/exit.svg rename asset/30765e78f6.png => img/bingo/loading-title.png (100%) create mode 100644 img/bingo/note.png create mode 100644 img/bingo/pannel.png create mode 100644 img/bingo/pannel_m.png create mode 100644 img/bingo/question.svg rename asset/3ada60b935.svg => img/bingo/radish.svg (100%) rename asset/bc60863661.svg => img/bingo/star.svg (100%) rename asset/9f97e0be26.png => img/bingo/winerBingo.png (100%) rename asset/389ebd0a37.png => img/bingo/your-lose.png (100%) rename img/home/{banner01bg.png => banner01bgV0.png} (100%) create mode 100644 img/home/banner01bgV1.png rename img/home/{banner02bg.png => banner02bgV0.png} (100%) create mode 100644 img/home/banner02bgV1.png create mode 100644 img/profile/level1.svg create mode 100644 img/profile/level2.svg create mode 100644 img/profile/level3.svg delete mode 100644 main.6afe3ee9.bundle.css create mode 100644 main.a306d697.bundle.js rename main.fed98d39.bundle.js.LICENSE.txt => main.a306d697.bundle.js.LICENSE.txt (100%) create mode 100644 main.f3f8a83c.bundle.css delete mode 100644 main.fed98d39.bundle.js create mode 100644 runtime~main.97946f32.bundle.js delete mode 100644 runtime~main.f3ef0f8b.bundle.js diff --git a/1815.05036a5c.chunk.css b/1815.05036a5c.chunk.css deleted file mode 100644 index e13d284..0000000 --- a/1815.05036a5c.chunk.css +++ /dev/null @@ -1 +0,0 @@ -.invitationData_data__dkxcM{align-items:center;background:hsla(0,0%,100%,.04);border:1px solid hsla(0,0%,100%,.1);border-radius:20px;display:flex;justify-content:space-evenly;margin-bottom:54px;padding:40px 0;width:100%}@media screen and (max-width:768px){.invitationData_data__dkxcM{border-radius:10px;flex-wrap:wrap;margin-bottom:0;margin-top:24px;padding:0 20px;position:relative}.invitationData_data__dkxcM:after{height:1px;width:90%}.invitationData_data__dkxcM:after,.invitationData_data__dkxcM:before{background-color:hsla(0,0%,100%,.1);content:"";left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.invitationData_data__dkxcM:before{height:90%;width:1px}}.invitationData_data__dkxcM .invitationData_line__ON0kw{background-color:hsla(0,0%,85%,.2);height:48px;width:1px}@media screen and (max-width:768px){.invitationData_data__dkxcM .invitationData_line__ON0kw{display:none}}.invitationData_data__dkxcM .invitationData_item__luy8h{align-items:center;display:flex;flex-direction:column;height:60px}@media screen and (max-width:768px){.invitationData_data__dkxcM .invitationData_item__luy8h{height:auto;padding:16px 0;width:50%}}.invitationData_data__dkxcM .invitationData_item__luy8h span{color:hsla(0,0%,100%,.6);font-size:16px;font-weight:400;line-height:22px;margin-bottom:16px;text-align:center;white-space:nowrap}@media screen and (max-width:768px){.invitationData_data__dkxcM .invitationData_item__luy8h span{font-size:12px;margin-bottom:4px}}.invitationData_data__dkxcM .invitationData_item__luy8h em{color:#65edbc;font-size:20px;font-style:normal;font-weight:600;line-height:22px}.invitationHeader_header__JA\+fa{display:flex;flex-wrap:wrap;width:100%}@media screen and (max-width:768px){.invitationHeader_header__JA\+fa{justify-content:center}}.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF{padding-bottom:130px;padding-right:55px;padding-top:100px;position:relative;width:50%;z-index:2}@media screen and (max-width:1400px){.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF{width:60%}}@media screen and (max-width:768px){.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF{align-items:center;display:flex;flex-direction:column;padding-bottom:0;padding-right:0;padding-top:50px;width:100%}}.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF .invitationHeader_title__tY67p{color:#fff;font-size:48px;font-weight:500;line-height:60px;width:650px}@media screen and (max-width:768px){.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF .invitationHeader_title__tY67p{font-size:24px;font-weight:600;line-height:30px;margin-bottom:10px;text-align:center;width:90%}}.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF .invitationHeader_txt__PjkVi{font-size:18px;font-weight:400;opacity:.7}@media screen and (max-width:768px){.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF .invitationHeader_txt__PjkVi{font-size:14px;margin:0;text-align:center}}.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF .invitationHeader_info__Ig4\+g{display:flex;padding-top:32px}@media screen and (max-width:768px){.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF .invitationHeader_info__Ig4\+g{padding-top:24px}}.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF .invitationHeader_info__Ig4\+g .invitationHeader_flfl__kpTCn{align-items:center;background-color:#fff;border-radius:6px;display:flex;height:48px;justify-content:space-between;margin-right:24px;padding:0 4px;width:480px}@media screen and (max-width:768px){.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF .invitationHeader_info__Ig4\+g .invitationHeader_flfl__kpTCn{bottom:60px;left:0;margin-left:4%;position:fixed;width:92%;z-index:1}}.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF .invitationHeader_info__Ig4\+g .invitationHeader_flflfr__DFtp6{align-items:center;display:flex;padding-right:16px}.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF .invitationHeader_info__Ig4\+g .invitationHeader_flflfr__DFtp6 span{cursor:pointer;margin-right:16px}.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF .invitationHeader_info__Ig4\+g .invitationHeader_flflfr__DFtp6 a,.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF .invitationHeader_info__Ig4\+g .invitationHeader_flflfr__DFtp6 span{align-items:center;display:flex}.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF .invitationHeader_info__Ig4\+g .invitationHeader_flflfl__sq8H1{align-items:center;display:flex;height:40px;padding-left:16px}@media screen and (max-width:768px){.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF .invitationHeader_info__Ig4\+g .invitationHeader_flflfl__sq8H1{max-width:80%;overflow:hidden;padding-left:14px}}.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF .invitationHeader_info__Ig4\+g .invitationHeader_linkP__lswy1{color:#000;font-size:14px;font-weight:400;height:40px;line-height:40px;margin:0;overflow:hidden;padding:0 16px;text-overflow:ellipsis;white-space:nowrap;width:330px}@media screen and (max-width:768px){.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF .invitationHeader_info__Ig4\+g .invitationHeader_linkP__lswy1{padding:0 6px;width:83%}}.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF .invitationHeader_info__Ig4\+g .invitationHeader_btn__HF2YE{background:#6673ff;border-radius:4px;color:#fff;height:40px;width:120px}@media screen and (max-width:768px){.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF .invitationHeader_info__Ig4\+g .invitationHeader_btn__HF2YE{width:80px}}.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF .invitationHeader_info__Ig4\+g .invitationHeader_flfr__lHno0{align-items:center;border:1px solid #fff;border-radius:8px;cursor:pointer;display:flex;height:48px;padding:0 17px}@media screen and (max-width:768px){.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF .invitationHeader_info__Ig4\+g .invitationHeader_flfr__lHno0{height:32px;opacity:.7;padding:0 12px}}.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF .invitationHeader_info__Ig4\+g .invitationHeader_flfr__lHno0 .invitationHeader_flfrp__wCHuF{font-size:18px;font-weight:500;margin:0;padding:0 8px 0 0}@media screen and (max-width:768px){.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF .invitationHeader_info__Ig4\+g .invitationHeader_flfr__lHno0 .invitationHeader_flfrp__wCHuF{font-size:14px;padding:0 4px 0 0}}.invitationHeader_header__JA\+fa .invitationHeader_fl__MPXZF .invitationHeader_info__Ig4\+g .invitationHeader_flfr__lHno0 .invitationHeader_question__Xsur5{fill:#fff}.invitationHeader_header__JA\+fa .invitationHeader_fr__yKGIY{margin-top:30px;min-width:540px;width:40%}@media screen and (max-width:1400px){.invitationHeader_header__JA\+fa .invitationHeader_fr__yKGIY{min-width:540px;opacity:.8;position:absolute;right:0}}@media screen and (max-width:768px){.invitationHeader_header__JA\+fa .invitationHeader_fr__yKGIY{margin:-10px auto 0;min-width:auto;opacity:1;position:relative;width:80%}}@media screen and (max-width:400px){.invitationHeader_header__JA\+fa .invitationHeader_fr__yKGIY{margin:-10px 0 0;min-width:auto;width:100%}}.invitationHeader_header__JA\+fa .invitationHeader_fr__yKGIY img{display:block;width:100%}.RuleDialog_dialogContent__R6ArE{background-color:#131313;border-radius:20px;color:#fff;font-size:14px;overflow:hidden;padding:0;width:420px}@media screen and (max-width:768px){.RuleDialog_dialogContent__R6ArE{width:320px}}.RuleDialog_dialogContent__R6ArE .RuleDialog_cursor__AGO46{cursor:pointer}.RuleDialog_dialogContent__R6ArE .RuleDialog_dialogHeader__Z3r2u{background-color:#1c1c1c;display:flex;font-size:16px;font-weight:500;justify-content:space-between;padding:20px}.RuleDialog_dialogContent__R6ArE .RuleDialog_dialogHeader__Z3r2u h3{color:#fff;margin:0;padding:0}.RuleDialog_dialogContent__R6ArE .RuleDialog_dialogContainer__hDNSD{padding:20px 20px 30px}.RuleDialog_dialogContent__R6ArE .RuleDialog_dialogContainer__hDNSD p{font-size:14px;font-weight:400;line-height:24px;margin-bottom:30px}.RuleDialog_dialogContent__R6ArE .RuleDialog_dialogContainer__hDNSD p strong{color:#65edbc;font-size:14px;font-weight:600}.RuleDialog_dialogContent__R6ArE .RuleDialog_dialogContainer__hDNSD p a{display:block;margin-top:4px}.RuleDialog_dialogContent__R6ArE .RuleDialog_dialogContainer__hDNSD p a strong{font-weight:400}.RuleDialog_dialogContent__R6ArE .RuleDialog_btn__6taxw{background:#6673ff;border:none;border-radius:4px;color:#fff;display:block;font-size:16px;font-weight:600;height:40px;margin:0 auto;width:100%}.RuleDialog_dialogContent__R6ArE .RuleDialog_btn__6taxw:hover{background:#6673ff;color:#fff}.NoData_loadMore__JCdyH{margin-bottom:240px;margin-top:240px}.NoData_error__q2Zv6,.NoData_loadMore__JCdyH{display:flex;justify-content:center;position:relative}.NoData_error__q2Zv6{color:#fff;margin-bottom:40px;margin-top:40px}.invitation_invitation__kU4SO{color:#fff;position:relative}@media screen and (max-width:768px){.invitation_invitation__kU4SO{overflow:hidden;width:100vw}}.invitation_invitation__kU4SO .invitation_loadMore__hn6An{display:flex;justify-content:center;margin-bottom:40px;margin-top:40px;position:relative}.invitation_invitation__kU4SO .invitation_endLoading__8nRNU{margin-top:30px;opacity:.5;text-align:center}.invitation_invitation__kU4SO .invitation_content__ckkcJ{margin:0 auto 40px;max-width:1280px;min-height:300px;position:relative;z-index:3}@media screen and (max-width:768px){.invitation_invitation__kU4SO .invitation_content__ckkcJ{margin:0 0 40px}}.invitation_invitation__kU4SO .invitation_content__ckkcJ .invitation_main__r8GK1{padding:0 40px}@media screen and (max-width:768px){.invitation_invitation__kU4SO .invitation_content__ckkcJ .invitation_main__r8GK1{padding:0 16px}}.invitation_invitation__kU4SO .invitation_content__ckkcJ .invitation_header__hkyME{align-items:center;display:flex;padding:86px 40px 64px}.invitation_invitation__kU4SO .invitation_content__ckkcJ .invitation_header__hkyME .invitation_box__ry9Vp{margin:0 0 0 24px}.invitation_invitation__kU4SO .invitation_content__ckkcJ .invitation_header__hkyME .invitation_box__ry9Vp .invitation_address__6UvSr{color:#fff;font-size:24px;font-weight:600;line-height:30px;margin:0 0 24px}.invitation_invitation__kU4SO .invitation_content__ckkcJ .invitation_tab__c9oNR{background:hsla(0,0%,100%,.04);border-radius:20px;display:flex;height:40px;margin:0 40px 32px;width:220px}.invitation_invitation__kU4SO .invitation_content__ckkcJ .invitation_tab__c9oNR .invitation_tabItem__3v2aw{align-items:center;color:hsla(0,0%,100%,.7);cursor:pointer;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;justify-content:center}.invitation_invitation__kU4SO .invitation_content__ckkcJ .invitation_tab__c9oNR .invitation_tabItem__3v2aw.invitation_cur__HGIPw{background:#6673ff;border-radius:23px;color:#fff}.invitation_invitation__kU4SO .invitation_content__ckkcJ .invitation_container__csn0j{margin-top:-10px;padding-bottom:100px;position:relative}@media screen and (max-width:768px){.invitation_invitation__kU4SO .invitation_content__ckkcJ .invitation_container__csn0j{margin-top:-30px}}.invitation_invitation__kU4SO .invitation_content__ckkcJ .invitation_list__jhPv-{border:1px solid hsla(0,0%,100%,.1);border-radius:20px;overflow:hidden}.invitation_invitation__kU4SO .invitation_content__ckkcJ .invitation_list__jhPv- table{width:100%}.invitation_invitation__kU4SO .invitation_content__ckkcJ .invitation_list__jhPv- table thead{background:hsla(0,0%,100%,.04);border-radius:20px 20px 0 0;height:70px}.invitation_invitation__kU4SO .invitation_content__ckkcJ .invitation_list__jhPv- table thead th>div{padding:0 40px}.invitation_invitation__kU4SO .invitation_content__ckkcJ .invitation_list__jhPv- table tbody td>div{padding:16px 40px}.invitation_invitation__kU4SO .invitation_content__ckkcJ .invitation_block__7zxLp .invitation_item__UZ0qb{background:hsla(0,0%,100%,.04);border-radius:20px;display:block;height:400px;position:relative;width:304px}.RankCol_rank__jcfCI{align-items:center;display:flex}.RankCol_rank__jcfCI .RankCol_p__ji0jD{opacity:.6}.RankCol_rank__jcfCI .RankCol_rankIcon__FGCA7{display:flex;justify-content:center;width:62px}@media screen and (max-width:768px){.RankCol_rank__jcfCI .RankCol_rankIcon__FGCA7{width:42px}.RankCol_rank__jcfCI .RankCol_rankIcon__FGCA7 img{width:24px}}.RankCol_rank__jcfCI .RankCol_nospan__wjF7j{width:40px}@media screen and (max-width:768px){.RankCol_rank__jcfCI .RankCol_nospan__wjF7j{width:16px}}.RankCol_rank__jcfCI .RankCol_line__NAm-q{background:#fff;height:34px;margin:0 20px 0 0;opacity:.2;width:1px}.RankCol_rank__jcfCI .RankCol_account__59taW{display:flex;flex-direction:row}.RankCol_rank__jcfCI .RankCol_account__59taW .RankCol_avatarBorder__kfNhR{align-items:center;border:1px solid #494949;border-radius:50%;display:flex;height:34px;justify-content:center;margin-right:10px;width:34px}.RankCol_rank__jcfCI .RankCol_account__59taW p{font-weight:500} \ No newline at end of file diff --git a/1815.6a20571c.bundle.js b/1815.6a20571c.bundle.js deleted file mode 100644 index d7748c3..0000000 --- a/1815.6a20571c.bundle.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkbingo_frontend=self.webpackChunkbingo_frontend||[]).push([[1815],{76040:(e,n,t)=>{t.d(n,{i:()=>v});t(9405);var a=t(89552),i=t(18446),l=t.n(i),r=t(67294),o=t(29163);const c="NoData_loadMore__JCdyH";var s,d,m=t(53308);function u(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}const g=o.ZP.div(s||(s=u(["\n text-align: center;\n padding-top: 172px;\n padding-bottom: 273px;\n"]))),p=o.ZP.div(d||(d=u(["\n color: #fff;\n font-family: Poppins;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 30px; /* 214.286% */\n"]))),v=(0,r.memo)((e=>{let{hasError:n,loading:t,errorCss:i,loadMoreCss:l}=e;return n?r.createElement("div",{className:i},r.createElement("p",null,"Error")):t?r.createElement("div",{className:null!=l?l:c},r.createElement(a.default,{size:"large",tip:"Loading..."})):r.createElement(_,null)}),l());function _(){return r.createElement(r.Fragment,null,r.createElement(g,null,r.createElement("img",{src:m,alt:""}),r.createElement(p,null,"NO Data")))}},61815:(e,n,t)=>{t.r(n),t.d(n,{default:()=>$});var a=t(67294),i=t(9120),l=(t(1025),t(65400)),r=t(18446),o=t.n(r),c=t(44431),s=t.n(c),d=t(89250),m=t(2804),u=t(21449),g=t(59619),p=t(57142),v=t(80652),_=t(97864);const N="invitationData_data__dkxcM",I="invitationData_line__ON0kw",b="invitationData_item__luy8h",f=(0,a.memo)((e=>{let{active:n,rank:t,user_cnt_points:i,share_cnt_points:l,total:r}=e;return!n||new(s())(r).isEqualTo(0)?null:a.createElement("div",{className:N},a.createElement("div",{className:b},a.createElement("span",null,"My Ranking"),a.createElement("em",null,t)),a.createElement("div",{className:I}),a.createElement("div",{className:b},a.createElement("span",null,"My Operation Points"),a.createElement("em",null,i)),a.createElement("div",{className:I}),a.createElement("div",{className:b},a.createElement("span",null,"My Invitation Points"),a.createElement("em",null,l)),a.createElement("div",{className:I}),a.createElement("div",{className:b},a.createElement("span",null,"My Total Points"),a.createElement("em",null,r)))}),o()),E={header:"invitationHeader_header__JA+fa",fl:"invitationHeader_fl__MPXZF",title:"invitationHeader_title__tY67p",txt:"invitationHeader_txt__PjkVi",info:"invitationHeader_info__Ig4+g",flfl:"invitationHeader_flfl__kpTCn",flflfr:"invitationHeader_flflfr__DFtp6",flflfl:"invitationHeader_flflfl__sq8H1",linkP:"invitationHeader_linkP__lswy1",btn:"invitationHeader_btn__HF2YE",flfr:"invitationHeader_flfr__lHno0",flfrp:"invitationHeader_flfrp__wCHuF",question:"invitationHeader_question__Xsur5",fr:"invitationHeader_fr__yKGIY"};var h=t(54549),k=t(74942);const M="RuleDialog_dialogContent__R6ArE",y="RuleDialog_cursor__AGO46",x="RuleDialog_dialogHeader__Z3r2u",j="RuleDialog_dialogContainer__hDNSD",w="RuleDialog_btn__6taxw",C=()=>{const e=(0,m.sJ)(_.Xo),n=(0,m.Zl)(_.Xo),t=(0,a.useCallback)((()=>{n(!1)}),[]);return a.createElement(a.Fragment,null,a.createElement(k.t9,{isOpen:e,onDismiss:t},a.createElement(k.cZ,{className:M},a.createElement("div",{className:x},a.createElement("h3",null,"Point accrual guidelines"),a.createElement("div",{className:y,onClick:t},a.createElement(h.Z,null))),a.createElement("div",{className:j},a.createElement("p",null,"Accrue ",a.createElement("strong",null,"1 point")," for each individual on-chain interaction, and gain ",a.createElement("strong",null,"5 points")," each time you successfully encourage others to participate.",a.createElement("br",null),a.createElement("br",null),"Your point accumulation increases with your level of engagement. Additionally, extending invitations to more people will increase your chances of gathering more points. So, the more involved you and your invitees are, the quicker you’ll amass points!",a.createElement("a",{href:"https://interesting-crop-c73.notion.site/Invitation-Loyalty-Points-Tournament-efceb23e8d804d5cb2998cec8237e772?pvs=4",target:"_blank",rel:"noreferrer"},a.createElement("strong",null,"Learn more"))),a.createElement(l.default,{className:w,onClick:t},"Ok")))))};t(75314);var D,z=t(11187),P=t(29163);const S=P.ZP.div(D||(A=["\n display: flex;\n align-items: center;\n cursor: pointer;\n"],Z||(Z=A.slice(0)),D=Object.freeze(Object.defineProperties(A,{raw:{value:Object.freeze(Z)}}))));var A,Z;const L=(0,a.memo)((e=>{let{children:n,url:t}=e;const[i,l]=(0,a.useState)(!1),r=(0,a.useCallback)((()=>{document.hidden||i&&(z.default.success({content:"Share Successful!",className:"customMessage",style:{marginTop:"50vh"}}),l(!1))}),[i]);(0,a.useEffect)((()=>(document.addEventListener("visibilitychange",r),()=>{document.removeEventListener("visibilitychange",r)})),[r]);const o=(0,a.useCallback)((()=>{window.open(t),l(!0)}),[]);return a.createElement(S,{id:"share_button",onClick:o},n)}),o());function H(){return H=Object.assign||function(e){for(var n=1;n{let{isMobile:n}=e;const t=(0,m.sJ)(_.Xl),{account:i,chainId:r}=(0,g.a)(),o=(0,m.Zl)(_.Xo),c=(0,m.Zl)(u.LR),N=(0,d.s0)(),I=(0,a.useCallback)((()=>{o(!0)}),[]),b=(0,a.useCallback)((()=>{c(!0)}),[]),h=(0,a.useCallback)((()=>{N("/zBingo")}),[]),k=(0,a.useMemo)((()=>i&&!new(s())(t.total).isEqualTo(0)?window.location.origin+"?share="+i:"Generated after playing a game"),[i,t.total,r]),M=(0,a.useMemo)((()=>{if(i&&!new(s())(t.total).isEqualTo(0)){const e="unlock mystery boxes and 🥕Gold Points! Let us start this thrilling adventure together! @Zypher_Games",n=k,t="web3game",a="".concat("🔥 Get set for an exhilarating journey! 🙌 Join me at Zypher Games with my exclusive invitation link"," ").concat(n," ").concat(e),i=encodeURIComponent(a);return"https://twitter.com/intent/tweet?text=".concat(i,"&hashtags=").concat(t)}return""}),[i,t.total]),y=(0,a.useMemo)((()=>i?new(s())(t.total).isEqualTo(0)?a.createElement(l.default,{className:E.btn,onClick:h},"Play"):a.createElement("div",{className:E.flflfr},a.createElement("span",{onClick:()=>(0,p.Z)(k)},a.createElement(v.Z,{name:"copy_invi"})),a.createElement(L,{url:M},a.createElement(v.Z,{name:"share_invi"}))):a.createElement(l.default,{className:E.btn,onClick:b},"Play")),[i,t.total]);return a.createElement(a.Fragment,null,a.createElement("div",{className:E.header},a.createElement("div",{className:E.fl},a.createElement("h1",{className:E.title},"Loyalty Points Tournament"),a.createElement("p",{className:E.txt},"Invite friends to get GB boxes and Gold Points!"),a.createElement("div",{className:E.info},a.createElement("div",{className:E.flfl},a.createElement("div",{className:E.flflfl},a.createElement(v.Z,{name:"link02",className:E.link02}),a.createElement("p",{className:E.linkP},k)),y),a.createElement("div",{className:E.flfr,onClick:I},a.createElement("p",{className:E.flfrp},"Rule"),a.createElement(v.Z,{name:"question",className:E.question}),a.createElement(C,null)))),n&&a.createElement(f,H({active:!!i},t)),a.createElement("div",{className:E.fr},a.createElement("img",{className:E.img,src:"/img/invitation/header_bg.png",title:"invitation"}))),!n&&a.createElement(f,H({active:!!i},t)))}),o());var R=t(76040);const G={invitation:"invitation_invitation__kU4SO",loadMore:"invitation_loadMore__hn6An",endLoading:"invitation_endLoading__8nRNU",content:"invitation_content__ckkcJ",main:"invitation_main__r8GK1",header:"invitation_header__hkyME",box:"invitation_box__ry9Vp",address:"invitation_address__6UvSr",tab:"invitation_tab__c9oNR",tabItem:"invitation_tabItem__3v2aw",cur:"invitation_cur__HGIPw",container:"invitation_container__csn0j",list:"invitation_list__jhPv-",block:"invitation_block__7zxLp",item:"invitation_item__UZ0qb"};t(15144);var O,W,Y=t(2307);function B(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}const J=(0,P.ZP)(Y.Z)(O||(O=B(["\n border: 1px solid rgba(255, 255, 255, 0.1);\n border-radius: 20px;\n overflow: hidden;\n th {\n background: rgba(255, 255, 255, 0.04) !important;\n color: #fff !important;\n border: 0px !important;\n opacity: 0.6000000238418579;\n }\n .ant-table-thead > tr > th {\n text-align: right;\n }\n tr > td,\n & tr > th {\n text-align: right;\n // width: 20%;\n &:nth-child(1) {\n text-align: left;\n padding-left: 0;\n // width: 32%;\n\n // @media (max-width: 768px) {\n // width: 25%;\n // }\n }\n // &:nth-child(2) {\n // width: 8%;\n // }\n &:last-child {\n padding-right: 40px;\n @media (max-width: 768px) {\n padding-right: 10px;\n min-width: 50px;\n }\n }\n }\n tr > th {\n &:nth-child(1) {\n padding-left: 20px;\n @media (max-width: 768px) {\n padding-left: 10px;\n }\n }\n }\n .ant-table-tbody > tr {\n p {\n margin: 0;\n padding: 0;\n }\n &.even-row {\n background-color: #131313;\n td {\n padding-top: 30px;\n padding-bottom: 30px;\n\n @media (max-width: 768px) {\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n &:hover {\n background-color: rgba(19, 19, 19, 0.4);\n }\n }\n &.odd-row {\n background-color: rgba(255, 255, 255, 0.04);\n transition: background-color 0.3s;\n &:hover {\n background-color: rgba(255, 255, 255, 0.03);\n }\n }\n\n & > td {\n border: 0px;\n &:last-child {\n color: #65edbc;\n }\n\n &:hover {\n background: transparent;\n }\n }\n }\n .ant-table {\n background: transparent;\n\n ","\n\n &.ant-table-empty {\n tr {\n background-color: transparent;\n &:hover {\n background-color: transparent;\n }\n }\n }\n }\n .editable-row {\n td {\n border: 0px;\n color: #fff;\n }\n .ant-table-cell-row-hover {\n background: none !important;\n }\n &:hover {\n td {\n background: none !important;\n }\n }\n }\n tr > td,\n & tr > th {\n @media (max-width: 768px) {\n padding: 0px;\n padding-top: 10px;\n padding-bottom: 10px;\n // padding-right: 10px;\n // padding-left: 10px;\n }\n }\n"])),(e=>{let{isMobile:n}=e;return(0,P.iv)(W||(W=B(["\n @media (max-width: 768px) {\n font-size: ",";\n }\n "])),n?"12px":"14px")}));var U=t(66847);const Q={rank:"RankCol_rank__jcfCI",p:"RankCol_p__ji0jD",rankIcon:"RankCol_rankIcon__FGCA7",nospan:"RankCol_nospan__wjF7j",line:"RankCol_line__NAm-q",account:"RankCol_account__59taW",avatarBorder:"RankCol_avatarBorder__kfNhR"},F=(0,a.memo)((e=>{let{rank:n,account:t,isMobile:i,showLine:l=!1,otherStr:r}=e;const o=(0,a.useMemo)((()=>{if(n&&"undefined"!==n)return new(s())(n).isLessThan(4)?a.createElement("img",{className:Q.img,src:"/img/invitation/rank".concat(n,".svg"),title:"invitation"}):a.createElement("p",{className:Q.p},"#",n)}),[n]),c=(0,a.useMemo)((()=>i?{preLen:3,endLen:3,size:24}:{preLen:void 0,endLen:void 0,size:24}),[i]);return a.createElement("div",{className:Q.rank},o&&a.createElement("div",{className:Q.rankIcon},o),o&&(!i||l)&&a.createElement("div",{className:Q.line}),!o&&a.createElement("div",{className:Q.nospan}),a.createElement(U.Z,{className:Q.account,account:t,size:c.size,showAccount:!0,border:!1,preLen:c.preLen,endLen:c.endLen,AvatarBorder:X,otherStr:r}))}),o()),X=(0,a.memo)((e=>{let{children:n}=e;return a.createElement("div",{className:Q.avatarBorder},n)})),V=F,q=(0,a.memo)((e=>{let{isMobile:n,loading:t,hasMore:i,currentPage:l,sentryRef:r}=e;const o=(0,m.sJ)(_.ST),c=(0,a.useMemo)((()=>[{title:"Rank",dataIndex:"rank",key:"rank",render:(e,t)=>{let{user_addr:i}=t;return a.createElement(V,{rank:e,account:i,isMobile:n})}},{title:n?"Operation":"Operation Points",dataIndex:"user_cnt_points",key:"user_cnt_points",render:e=>a.createElement("p",null,e)},{title:n?"Invitation":"Invitation Points",dataIndex:"share_cnt_points",key:"share_cnt_points",render:e=>a.createElement("p",null,e)},{title:n?"Total":"Total Points",dataIndex:"total",key:"total",render:e=>a.createElement("p",null,e)}]),[n]);return a.createElement(a.Fragment,null,a.createElement("div",{className:G.tableContainer,style:{position:"relative"}},a.createElement(J,{className:G.table,dataSource:o,rowClassName:(e,n)=>n%2==0?"editable-row even-row":"editable-row odd-row",pagination:!1,columns:c,isMobile:n,rowKey:"rank",locale:{emptyText:a.createElement(R.i,{loading:t,loadMoreCss:G.loadMore})}})))}),o());var K=t(77599);const $=()=>{const{width:e}=(0,i.Z)(),n=(0,a.useMemo)((()=>e<768),[e]);(0,K.CQ)();const{sentryRef:t,rootRef:l,loading:r,currentPage:o,hasMore:c}=(0,K.pK)();return a.createElement(a.Fragment,null,a.createElement("div",{className:G.invitation,ref:l},a.createElement("div",{className:G.content},a.createElement("div",{className:G.main},a.createElement(T,{isMobile:n}),a.createElement("div",{className:G.container},a.createElement(q,{isMobile:n,hasMore:c,currentPage:o,sentryRef:t,loading:r}))))))}},53308:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2NCIgaGVpZ2h0PSI2NCIgdmlld0JveD0iMCAwIDY0IDY0IiBmaWxsPSJub25lIj4KICA8bWFzayBpZD0ibWFzazBfNDAwMl8yNDk2IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iNjQiIGhlaWdodD0iNjQiPgogICAgPHJlY3Qgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiBmaWxsPSIjRDlEOUQ5Ii8+CiAgPC9tYXNrPgogIDxnIG1hc2s9InVybCgjbWFzazBfNDAwMl8yNDk2KSI+CiAgICA8cGF0aCBkPSJNMTkuNDk1MSAxNy4zNDVINDEuNDM4IiBzdHJva2U9IndoaXRlIiBzdHJva2Utb3BhY2l0eT0iMC42IiBzdHJva2Utd2lkdGg9IjEuODI4NTciIHN0cm9rZS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jEwMzQgNjEuNzc3IDUzLjY4MjMgNjEuNzc3IDU0LjAzOTQgNjEuNDJDNTQuMzk2NCA2MS4wNjI5IDU0LjM5NjQgNjAuNDg0MSA1NC4wMzk0IDYwLjEyN0w1Mi43NDY0IDYxLjQyWk00OC4xMjk5IDU2LjgwMzVMNTIuNzQ2NCA2MS40Mkw1NC4wMzk0IDYwLjEyN0w0OS40MjI5IDU1LjUxMDVMNDguMTI5OSA1Ni44MDM1WiIgZmlsbD0iIzY2NzNGRiIvPgogIDwvZz4KPC9zdmc+"}}]); \ No newline at end of file diff --git a/2144.86892969.bundle.js b/2144.86892969.bundle.js new file mode 100644 index 0000000..8525223 --- /dev/null +++ b/2144.86892969.bundle.js @@ -0,0 +1 @@ +(self.webpackChunkbingo_frontend=self.webpackChunkbingo_frontend||[]).push([[2144],{195:(e,I,i)=>{"use strict";i.d(I,{C:()=>w});i(89858);var n,t,a,M=i(51024),r=i(94184),l=i.n(r),c=i(67294),d=i(86487),g=i(60994),o=i(39470),s=i(27384),m=i(85132),b=i(29163),j=i(9120);function N(e,I){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);I&&(n=n.filter((function(I){return Object.getOwnPropertyDescriptor(e,I).enumerable}))),i.push.apply(i,n)}return i}function u(e){for(var I=1;I{let{isMobile:I}=e;return I?"10px":"20px"}),(e=>{let{isMobile:I}=e;return I?"220px":"374px"}),(e=>{let{isMobile:I}=e;return I?"12px":"30px"})),y=b.ZP.div(t||(t=A(["\n background: linear-gradient(180deg, #fff5e8 0%, #ffeed7 100%);\n box-shadow: 0px 0px 3px #ba7e40, inset 0px -1px 1px #e9be85, inset 0px 1px 2px #ffffff;\n border-radius: ",";\n padding: ",";\n width: 100%;\n height: 100%;\n position: relative;\n z-index: 1;\n"])),(e=>{let{isMobile:I}=e;return I?"12px":"30px"}),(e=>{let{isMobile:I}=e;return I?"7px":"18px"})),p=b.ZP.div(a||(a=A(["\n display: grid;\n grid-template-columns: repeat(5, 1fr);\n grid-template-rows: repeat(5, 1fr);\n border-top: 1px solid #804700;\n border-left: 1px solid #804700;\n font-size: ",";\n color: #804700;\n width: 100%;\n height: 100%;\n border-radius: ",";\n .active {\n background: #65c60e;\n color: #fff;\n }\n .input {\n width: 80%;\n text-align: center;\n font-size: ",";\n }\n .space {\n display: flex;\n align-items: center;\n justify-content: center;\n border-bottom: 1px solid #804700;\n border-right: 1px solid #804700;\n cursor: grab;\n font-family: 'Pacifico';\n font-style: normal;\n font-weight: 400;\n &:nth-child(1) {\n border-top-left-radius: ",";\n }\n\n &:nth-child(5) {\n border-top-right-radius: ",";\n }\n\n &:nth-child(21) {\n border-bottom-left-radius: ",";\n }\n\n &:nth-child(25) {\n border-bottom-right-radius: ",";\n }\n }\n"])),(e=>{let{isMobile:I}=e;return I?"24px":"28px"}),(e=>{let{isMobile:I}=e;return I?"12px":"16px"}),(e=>{let{isMobile:I}=e;return I?"12px":"28px"}),(e=>{let{isMobile:I}=e;return I?"12px":"16px"}),(e=>{let{isMobile:I}=e;return I?"12px":"16px"}),(e=>{let{isMobile:I}=e;return I?"12px":"16px"}),(e=>{let{isMobile:I}=e;return I?"12px":"16px"})),x=e=>{const{num:I,onChange:i,onSwitch:n,editable:t,selectedNumbers:a=[]}=e,r=(0,c.useRef)(),[o,s]=(0,c.useState)(!1),[m,b]=(0,c.useState)("".concat(I)),[{isDragging:j},N]=(0,d.c)((()=>({type:"number",item:{num:I},collect:e=>({isDragging:e.isDragging(),handlerId:e.getHandlerId()})}))),[u,D]=(0,g.L)({accept:"number",drop:e=>{n(e.num,I)}}),A=j?.4:1;return N(D(r)),(0,c.useEffect)((()=>{o||(()=>{const e=i(+m);e!=+m&&b("".concat(e))})()}),[o]),c.createElement("div",{ref:r,className:l()("space",{active:a.includes(I)}),style:{opacity:A},onClick:()=>s(!0),draggable:!o},o&&t?c.createElement(M.default,{autoFocus:!0,onBlur:()=>s(!1),className:"input",onKeyDown:e=>{"Enter"===e.key&&s(!1)},value:m,onChange:e=>b(e.target.value)}):I)},w=e=>{let{cardNumbers:I,editable:i=!1,onChange:n,selectedNumbers:t}=e;const a=(0,c.useMemo)((()=>I.map((e=>e.num))),[I]),M=(0,j.d)(),r=(e,i)=>{const t=[];for(const n of I)n.num===e?t.push(u(u({},n),{},{num:i})):n.num===i?t.push(u(u({},n),{},{num:e})):t.push(u({},n));n(t)};return c.createElement(Z,{isMobile:M},c.createElement(y,{isMobile:M},c.createElement(p,{isMobile:M},c.createElement(o.W,{backend:M?m.zr:s.PD},I.map((e=>{return c.createElement(x,{selectedNumbers:t,editable:i,key:"col_".concat(e.col,"-row_").concat(e.row,"-num_").concat(e.num),num:e.num,onSwitch:r,onChange:(M=e.col,l=e.row,e=>{var i;return!Number.isNaN(e)&&!a.includes(e)&&e>0&&e<=36?(n(I.map((I=>I.col===M&&I.row===l?u(u({},I),{},{num:e}):u({},I)))),e):(null===(i=I.find((e=>e.col===M&&e.row===l)))||void 0===i?void 0:i.num)||0})});var M,l}))))))}},27370:(e,I,i)=>{"use strict";i.d(I,{yp:()=>P,Bs:()=>L,dy:()=>V});var n,t,a,M,r,l,c,d,g,o=i(18446),s=i.n(o),m=i(54549),b=i(74942),j=i(67294),N=i(39470),u=i(27384),D=i(29163),A=i(3295),Z=i(195),y=i(59687),p=i(9648),x=i(79404);function w(e,I){return I||(I=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(I)}}))}const C=(0,D.ZP)(b.t9)(n||(n=w(["\n &[data-reach-dialog-overlay] {\n z-index: 11;\n background-color: transparent;\n overflow: hidden;\n display: flex;\n align-items: center;\n\n overflow-y: ",";\n justify-content: center;\n\n background-color: rgba(0, 0, 0, 0.7);\n backdrop-filter: blur(5px);\n }\n"])),(e=>{let{$scrollOverlay:I}=e;return I&&"scroll"})),z=D.ZP.img(t||(t=w(["\n position: absolute;\n top: -10px;\n right: -16px;\n cursor: pointer;\n"]))),G=(0,D.ZP)(b.cZ)(a||(a=w(["\n position: relative;\n border: 6px solid #ac6513;\n background: #f8e9c8;\n width: 450px;\n margin: 0 10px;\n border-radius: 60px;\n filter: drop-shadow(0px 0px 41px rgba(84, 40, 0, 0.7));\n &::before {\n content: '';\n position: absolute;\n top: 19px;\n right: 19px;\n width: 68px;\n height: 53px;\n background: url(",") no-repeat;\n }\n &::after {\n content: '';\n position: absolute;\n bottom: 20px;\n left: 17px;\n width: 68px;\n height: 53px;\n background: url(",") no-repeat;\n }\n"])),x,p),T=D.ZP.div(M||(M=w(["\n display: flex;\n align-items: center;\n justify-content: center;\n // padding: 40px 0;\n"]))),S=D.ZP.div(r||(r=w(["\n width: 311px;\n height: 361px;\n @media screen and (max-width: 768px) {\n width: 255px;\n height: 295px;\n }\n"])));function h(e){let I=1,i=1;const n=[];for(let t=0;t<25;t++){const t=e[I-1][i-1];n.push({col:i,row:I,num:t}),i=5===i?1:i+1,I=1===i?I+1:I}return n}const P=(0,j.memo)((e=>{let{showDialog:I,onClose:i,cardNumbers:n,selectedNumbers:t}=e;const[a,M]=(0,j.useState)(h(n||[])),r=(0,j.useMemo)((()=>{try{return(0,A.Z)(t,a)}catch(e){return}}),[t]),l=r&&(null==r?void 0:r.length)>0?null==r?void 0:r.reduce(((e,I)=>e.concat(I))):[];return j.createElement(C,{isOpen:I,onDismiss:i},j.createElement(G,null,j.createElement(z,{src:y,alt:"close",onClick:i}),j.createElement(T,null,j.createElement(S,null,j.createElement(Z.C,{cardNumbers:a,onChange:()=>console.error("不能编辑"),editable:!1,selectedNumbers:l})))))}),s()),f=(0,D.ZP)(b.cZ)(l||(l=w(["\n background: #131313;\n border: 1px solid rgba(255, 255, 255, 0.1);\n border-radius: 20px;\n padding-top: 0px;\n padding-left: 0;\n width: 335px;\n padding-right: 0;\n"]))),W=D.ZP.div(c||(c=w(["\n background: rgba(255, 255, 255, 0.04);\n border-bottom: 1px solid rgba(255, 255, 255, 0.1);\n border-radius: 20px 20px 0px 0px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 16px 20px;\n color: #ffffff;\n"]))),X=D.ZP.div(d||(d=w(["\n display: grid;\n grid-template-columns: repeat(5, 55px);\n grid-template-rows: repeat(5, 65px);\n border-top: 1px solid rgba(255, 255, 255, 0.1);\n border-left: 1px solid rgba(255, 255, 255, 0.1);\n font-size: 28px;\n color: rgba(255, 255, 255, 0.7);\n border-radius: 16px;\n &.profileBingoItem {\n font-size: 22px;\n border-radius: 0;\n border: none;\n grid-gap: 10px;\n grid-template-columns: repeat(5, 50px);\n grid-template-rows: repeat(5, 50px);\n }\n .space {\n display: flex;\n align-items: center;\n justify-content: center;\n border-bottom: 1px solid rgba(255, 255, 255, 0.1);\n border-right: 1px solid rgba(255, 255, 255, 0.1);\n }\n"]))),k=D.ZP.div(g||(g=w(["\n display: flex;\n align-items: center;\n justify-content: center;\n border-bottom: 1px solid rgba(255, 255, 255, 0.1);\n border-right: 1px solid rgba(255, 255, 255, 0.1);\n cursor: grab;\n font-family: 'Pacifico';\n font-style: normal;\n font-weight: 400;\n font-size: 28px;\n /* border-bottom: ","; */\n /* border-right: ","; */\n color: ",";\n background: ",";\n position: relative;\n\n &.item_profileBingoItem {\n font-size: 22px;\n border-radius: 8px;\n border: 1px solid ",";\n grid-gap: 4px;\n background: ",";\n color: ",";\n }\n\n &.item_undefined {\n &::after {\n content: '';\n position: absolute;\n border: ",";\n width: ",";\n height: ",";\n top: -1px;\n left: -1px;\n }\n &:nth-child(1) {\n border-top-left-radius: 16px;\n &::after {\n border-top-left-radius: 16px;\n }\n }\n\n &:nth-child(5) {\n border-top-right-radius: 16px;\n &::after {\n border-top-right-radius: 16px;\n }\n }\n\n &:nth-child(21) {\n border-bottom-left-radius: 16px;\n &::after {\n border-bottom-left-radius: 16px;\n }\n }\n\n &:nth-child(25) {\n border-bottom-right-radius: 16px;\n &::after {\n border-bottom-right-radius: 16px;\n }\n }\n }\n"])),(e=>{let{selected:I}=e;return I?"1px solid #6673FF":"1px solid rgba(255, 255, 255, 0.1)"}),(e=>{let{selected:I}=e;return I?"1px solid #6673FF":"1px solid rgba(255, 255, 255, 0.1)"}),(e=>{let{selected:I}=e;return I&&"#6673ff"}),(e=>{let{selected:I}=e;return I&&"rgba(102, 115, 255, 0.10)"}),(e=>{let{selected:I}=e;return I?"#6673ff":"#131313"}),(e=>{let{selected:I}=e;return!I&&"#131313"}),(e=>{let{selected:I}=e;return I?"#6673ff":"rgba(255, 255, 255, 0.30)"}),(e=>{let{selected:I}=e;return I&&"1px solid #6673ff"}),(e=>{let{selected:I}=e;return I&&"56px"}),(e=>{let{selected:I}=e;return I&&"66px"})),L=e=>{let{showDialog:I,onClose:i,cardNumbers:n,selectedNumbers:t}=e;return j.createElement(C,{isOpen:I,onDismiss:i},j.createElement(f,null,j.createElement(W,null,j.createElement("div",null,"Bingo Card"),j.createElement("div",{onClick:i},j.createElement(m.Z,null))),j.createElement(T,{style:{paddingTop:"30px"}},j.createElement(V,{cardNumbers:n,selectedNumbers:t}))))},V=(0,j.memo)((e=>{let{cardNumbers:I,selectedNumbers:i,className:n}=e;const t=h(I||[]),a=(0,j.useMemo)((()=>{try{return(0,A.Z)(i,t)}catch(e){return}}),[i]),M=a&&(null==a?void 0:a.length)>0?null==a?void 0:a.reduce(((e,I)=>e.concat(I))):[];return j.createElement(X,{className:n},j.createElement(N.W,{backend:u.PD},(null!=t?t:[]).map((e=>j.createElement(k,{className:"item_".concat(n),selected:M.includes(e.num),key:"col_".concat(e.col,"-row_").concat(e.row,"-num_").concat(e.num)},e.num)))))}),s())},6087:(e,I,i)=>{"use strict";i.d(I,{VH:()=>r});var n=i(71210),t=i(9163);i(76098);let a;const M=async()=>{if(window.ethereum)return new n.Q(window.ethereum);if(window.web3)return new n.Q(window.web3.currentProvider);throw new Error("can't find default provider")},r=e=>new Promise((async(I,i)=>{if(e)I(new t.r(e));else if(a)I(a);else{const e=await M();e?(a=e,I(e)):i("can't find default provider")}}));window.addEventListener("load",(async()=>{M()}))},2039:(e,I,i)=>{"use strict";i.d(I,{Z:()=>l});var n=i(95534),t=i.n(n),a=i(63677),M=i(6087),r=i(76098);const l=async e=>{try{const I=null!=e?e:await(async()=>{const e=await(0,M.VH)(),I=await e.getNetwork();if(!Object.values(r.a_).includes(I.chainId))throw new Error("Network not supported");return I.chainId})(),i=await(0,M.VH)(t()(r.Vl[I]));return new a.m({ethersProvider:i,tryAggregate:!1,multicallCustomContractAddress:r.QO[I].multicall})}catch(e){return void console.error("Getting multicall failure:",e)}}},61664:(e,I,i)=>{"use strict";i.d(I,{Z:()=>t});var n=i(67294);function t(e,I){let i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const t=(0,n.useRef)();(0,n.useEffect)((()=>{t.current=e}),[e]),(0,n.useEffect)((()=>{function e(){const e=t.current;e&&e()}if(null!==I){i&&e();const n=setInterval(e,I);return()=>clearInterval(n)}}),[I,i])}},84689:(e,I,i)=>{"use strict";i.d(I,{z:()=>o,c:()=>s});var n=i(26820),t=i(50490),a=i(67294),M=i(76098),r=i(2039),l=i(49786),c=i(10208),d=i(80941),g=i(61664);const o=()=>{const[e,I]=(0,a.useState)(),[i,n]=(0,a.useState)(!1),t=(0,a.useCallback)((async()=>{try{const n=(await async function(){const e=M.KC.map((async e=>{const I=M.d8[e];if(!I)return;const i=await(0,d.W)(I,{method:"POST",data:JSON.stringify({query:"query MyQuery {\n gameInfos(orderBy: startedAt, orderDirection: desc, first: 40) {\n cardAddr\n endedAt\n feeAmount\n feeRatio\n id\n joinAmount\n lobbyAddr\n pCount\n source\n startedAt\n status\n winAmount\n winCardId\n winner\n }\n }",variables:{},operationName:"MyQuery"}),headers:{"Content-Type":"application/json"}});if(i.data&&i.data.data&&i.data.data.gameInfos&&i.data.data.gameInfos.length){var n;const I=i.data.data.gameInfos.map((e=>parseInt(e.id,16).toString())),t=i.data.data.gameInfos.map((e=>e.lobbyAddr)),a=i.data.data.gameInfos.filter((e=>(0,c.lR)(e.status)===l._.End)).map((e=>({winCardId:e.winCardId,cardAddr:e.cardAddr}))),M=a.map((e=>e.winCardId)),r=a.map((e=>e.cardAddr)),d=null!==(n=await s({chainId:e,lobbyAddrList:t,gameIdList:I,cardAddrList:r,winCardIdList:M}))&&void 0!==n?n:new Map;return(0,c.Ym)({chainId:e,data:i.data.data.gameInfos,recentGames:d})}}));return Promise.all(e)}()).filter((e=>!!e));if(n.length){const t=new Map;for(let a=0;a{t()}),[]),(0,g.Z)(t,5e4),{list:e,hasError:i}};const s=async e=>{let{chainId:I,lobbyAddrList:i,gameIdList:a,cardAddrList:M,winCardIdList:l}=e;try{const e=a.map(((e,I)=>({reference:"selectedNumbers"+i[I].toLowerCase()+e,contractAddress:i[I],abi:t,calls:[{methodName:"getSelectedNumbers",reference:"getSelectedNumbers",methodParameters:[e]}]}))),c=l.map(((e,I)=>({reference:"cardNumbers"+M[I].toLowerCase()+e,contractAddress:M[I],abi:n,calls:[{methodName:"getCardNumbers",reference:"getCardNumbers",methodParameters:[e]}]}))),d=await(0,r.Z)(I);if(d){const{results:I}=await d.call([...e,...c]);if(I){const e=new Map;return Object.values(I).map((I=>{const i=I.callsReturnContext[0].returnValues;e.set(I.originalContractCallContext.reference,i)})),e}}}catch(e){console.error("getRecentGameById err: ",e)}}},10208:(e,I,i)=>{"use strict";i.d(I,{Ym:()=>u,lR:()=>N,wJ:()=>D});var n=i(18446),t=i.n(n),a=i(44431),M=i.n(a),r=i(46474),l=i(67294),c=i(59619),d=i(84689),g=i(33030),o=i(76098),s=i(49786),m=i(88017);const b={[o.a_.Mainnet]:"BNB",[o.a_.Testnet]:"BT",[o.a_.Arbitrum]:"AO",[o.a_.ArbitrumGoerli]:"AGT",[o.a_.ArbitrumRinkeby]:"ARBR",[o.a_.LineaTestnet]:"LT",[o.a_.LineaMainnet]:"LM",[o.a_.POLYGON_MUMBAI]:"PM",[o.a_.POLYGON_ZKEVM]:"PZT",[o.a_.OPBNB]:"OB",[o.a_.ScrollSepoliaTestnet]:"SST",[o.a_.ScrollAlphaTestnet]:"SAT",[o.a_.OPBNBTEST]:"OBT"};var j=i(80941);function N(e){return 0===e?s._.Invalid:1===e?s._.Live:2===e?s._.End:3===e?s._.Overtime:s._.Invalid}function u(e){let{chainId:I,data:i,recentGames:n}=e;return i.map(((e,i)=>{const{cardAddr:t,endedAt:a,feeRatio:l,feeAmount:c,joinAmount:d,id:o,lobbyAddr:j,pCount:u,startedAt:D,source:A,status:Z,winAmount:y,winCardId:p,winner:x}=e||{};let w=N(Z);const C=parseInt(o,16).toString();let z,G,T="".concat(u," players"),S=d?new(M())(r.formatEther(d)).dividedBy(new(M())(u)).toNumber():"-",h="-",P="-";if(w===s._.End){T=x;const e=new(M())(r.formatEther(y));h=(0,m.lb)(e.toNumber()),P=(0,m.lb)(e.dividedBy(new(M())(S)).toNumber()),z=n.get("cardNumbers"+t.toLowerCase()+p),G=n.get("selectedNumbers"+j.toLowerCase()+C)}if(w===s._.Live){const e=1800;(0,g.b_)(D,e)&&(w=s._.Overtime)}return S="-"!==S?(0,m.lb)(Number(S),0):"-",{chainId:I,status:w,startTimeNumber:"".concat(D),startTime:(0,g.xz)(D),startTimeMobile:(0,g._X)(D),game:s.W.zBingo,winner:x,cardAddr:t,endedAt:a,feeAmount:c,feeRatio:l,lobbyAddr:j,roomID:C,roomIDStr:b[I]+"B#"+C,bingoInfo:{cardNumbers:z,selectedNumbers:G},inputPerPlayer:S,multiplier:P,win:h,winnerOrPlayers:T}}))}const D=e=>{let{historyList:I,setHistoryList:i}=e;const[n,a]=(0,l.useState)(!1),{chainId:M,account:r}=(0,c.a)(),g=(0,l.useCallback)((async()=>{i([]);try{if(M&&r){a(!0);const n=o.d8[M];if(n){const l=await(0,j.W)(n,{method:"POST",data:JSON.stringify({query:'query MyQuery {\n participantInfos(orderBy: joinTime, orderDirection: desc, where: {player: "'.concat(r,'"}) {\n cardId\n id\n joinAmount\n player\n joinTime\n gameInfo {\n cardAddr\n endedAt\n feeRatio\n feeAmount\n id\n joinAmount\n lobbyAddr\n pCount\n source\n startedAt\n status\n winAmount\n winCardId\n winner\n }\n }\n }'),variables:{},operationName:"MyQuery"}),headers:{"Content-Type":"application/json"}});if(l.data&&l.data.data&&l.data.data.participantInfos&&l.data.data.participantInfos.length){var e;const n=l.data.data.participantInfos.map((e=>parseInt(e.gameInfo.id,16).toString())),r=l.data.data.participantInfos.map((e=>e.gameInfo.lobbyAddr)),c=l.data.data.participantInfos.filter((e=>N(e.gameInfo.status)===s._.End)).map((e=>({winCardId:e.gameInfo.winCardId,cardAddr:e.gameInfo.cardAddr}))),g=c.map((e=>e.winCardId)),o=c.map((e=>e.cardAddr)),m=null!==(e=await(0,d.c)({chainId:M,lobbyAddrList:r,gameIdList:n,cardAddrList:o,winCardIdList:g}))&&void 0!==e?e:new Map;a(!1);const b=u({chainId:M,data:l.data.data.participantInfos.map((e=>e.gameInfo)),recentGames:m});0!==I.length&&t()(I,b)||i(b)}else a(!1),i([])}}}catch(e){console.error("getPlayedGames: ",e)}}),[M,r]);return(0,l.useEffect)((()=>{M&&r&&g()}),[M,r]),{playedGamesLoading:n}}},3295:(e,I,i)=>{"use strict";i.d(I,{Z:()=>n});function n(e,I){const i={},n={},t=[[],[]];for(const a of e){const{col:e,row:M}=I.find((e=>e.num===a))||{};e&&M&&(i[e]||(i[e]=[]),n[M]||(n[M]=[]),i[e].push(a),n[M].push(a),e===M&&t[0].push(a),e+M===6&&t[1].push(a))}return t.concat(Object.values(i)).concat(Object.values(n)).filter((e=>e.length>=5))}},59687:e=>{"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTgiIGhlaWdodD0iNTgiIHZpZXdCb3g9IjAgMCA1OCA1OCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMjkiIGN5PSIyOSIgcj0iMjQiIGZpbGw9IiNGOEU5QzgiLz4KPGNpcmNsZSBjeD0iMjguOTk5OSIgY3k9IjI5IiByPSIyMS45NDI5IiBmaWxsPSIjRkY2OTdGIi8+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ItaW50ZXJwb2xhdGlvbi1maWx0ZXJzPSJzUkdCIj4KPGZlRmxvb2QgZmxvb2Qtb3BhY2l0eT0iMCIgcmVzdWx0PSJCYWNrZ3JvdW5kSW1hZ2VGaXgiLz4KPGZlQmxlbmQgbW9kZT0ibm9ybWFsIiBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJCYWNrZ3JvdW5kSW1hZ2VGaXgiIHJlc3VsdD0ic2hhcGUiLz4KPGZlQ29sb3JNYXRyaXggaW49IlNvdXJjZUFscGhhIiB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMTI3IDAiIHJlc3VsdD0iaGFyZEFscGhhIi8+CjxmZU9mZnNldCBkeD0iMC41MDU4NDUiIGR5PSIwLjUwNTg0NSIvPgo8ZmVHYXVzc2lhbkJsdXIgc3RkRGV2aWF0aW9uPSIwLjI1MjkyMyIvPgo8ZmVDb21wb3NpdGUgaW4yPSJoYXJkQWxwaGEiIG9wZXJhdG9yPSJhcml0aG1ldGljIiBrMj0iLTEiIGszPSIxIi8+CjxmZUNvbG9yTWF0cml4IHR5cGU9Im1hdHJpeCIgdmFsdWVzPSIwIDAgMCAwIDAuOTQ1ODMzIDAgMCAwIDAgMC44NDI0NTkgMCAwIDAgMCAwLjY4NTcyOSAwIDAgMCAxIDAiLz4KPGZlQmxlbmQgbW9kZT0ibXVsdGlwbHkiIGluMj0ic2hhcGUiIHJlc3VsdD0iZWZmZWN0MV9pbm5lclNoYWRvd18xMjc0XzIyMDAiLz4KPC9maWx0ZXI+CjwvZGVmcz4KPC9zdmc+Cg=="},46896:()=>{},94083:()=>{}}]); \ No newline at end of file diff --git a/3015.495517eb.bundle.js b/3015.495517eb.bundle.js new file mode 100644 index 0000000..877acad --- /dev/null +++ b/3015.495517eb.bundle.js @@ -0,0 +1 @@ +(self.webpackChunkbingo_frontend=self.webpackChunkbingo_frontend||[]).push([[3015],{43733:(e,t,n)=>{"use strict";n.d(t,{id:()=>s,ZP:()=>u});var a=n(27440),i=n(76098),r=n(5975);n(59619),n(63829);const s=e=>{let{address:t,library:n,account:i}=e;return(0,r.xi)({address:t,abi:a,library:n,account:i})};const u=(e,t,n)=>(0,r.uN)({abi:a,address:null!=t?t:(0,i.$y)(e,i.iJ.Lobby),signer:n,chainId:e})},8219:(e,t,n)=>{"use strict";n.d(t,{i:()=>l,e:()=>p});var a=n(94184),i=n.n(a),r=n(67294);const s="widget_title__E8aNg",u="widget_list__0eYOt",p=(0,r.memo)((e=>{let{label:t}=e;return r.createElement("h3",{className:s},t)})),l=(0,r.memo)((e=>{let{className:t,children:n}=e;return r.createElement("div",{className:i()(u,t)},n)}))},41407:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>fe});var a=n(44431),i=n.n(a),r=n(46474),s=n(67294),u=n(2804),p=n(21449),l=n(43733);const o=JSON.parse('[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TRANSFER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getDebt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRepay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getResidue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"},{"internalType":"uint256","name":"debt_","type":"uint256"}],"name":"mintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"repayment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from_","type":"address"},{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"}]');var y=n(76098),m=n(5975);const d=(e,t,n)=>(0,m.uN)({abi:o,address:null!=t?t:(0,y.$y)(e,y.iJ.ZypherGameToken),signer:n,chainId:e});var c=n(10271),b=n(59619),f=n(61664),T=n(84689),g=n(9120),v=n(95362),h=n(9279),w=n(95534),x=n.n(w),E=n(6087);async function M(e){let{contractFun:t,contracts:n,defaultValue:a}=e;await function(e){const t=+new Date;let n;return new Promise(((a,i)=>{n=setInterval((()=>{t+1e3*e<+new Date&&(clearInterval(n),a(!0))}),10)}))}(1);const i=y.KC.filter((e=>"summary"===n.method||e!==y.a_.Arbitrum)).map((async e=>{try{const a=(0,y.$y)(e,n.contractName);if(a===h.d)throw new Error("No address: ".concat(e,", ").concat(n.contractName));const i=await t(e,a);let r;"function"==typeof n.params?r=n.params(e):Array.isArray(n.params)&&(r=n.params);const s=await i.read[n.method](r);return{method:n.method,chainId:e,response:s}}catch(t){return{method:n.method,chainId:e,response:a}}}));return Promise.all(i)}const _=(e,t)=>e.reduce(((e,n)=>new(i())(n.response[t]).plus(new(i())(e)).toString()),0),N=(e,t,n)=>e.reduce(((e,a)=>{let r=new(i())(1);t&&n&&(r=new(i())(n[y.F[a.chainId]]));return new(i())(a.response.toString()).times(r).plus(new(i())(e)).toString()}),"0");var I=n(88017),G=n(18446),C=n.n(G);const A="bannerv1_header__aIC2E",P="bannerv1_headerFl__bTkl1",S="bannerv1_headerFr__3tDHT",O="bannerv1_banner__6oS1o",k="bannerv1_bannerbg__kPSIp",R=(0,s.memo)((()=>{(0,g.d)();const e=(0,s.useCallback)((()=>{window.location.href="/#/zBingo"}),[]),t=(0,s.useCallback)((()=>{window.open("https://medium.com/@ZypherGames/slide-into-the-future-with-z2048-5ad3328fe4b1","_blank")}),[]);return s.createElement(s.Fragment,null,s.createElement("div",{className:A},s.createElement("div",{className:P},s.createElement("div",{className:O,onClick:e},s.createElement("img",{src:"/img/home/banner01bgV1.png",alt:"zbingo",className:k}))),s.createElement("div",{className:S,onClick:t},s.createElement("img",{src:"/img/home/banner02bgV1.png",alt:"points",className:k}))))}),C());n(15086);var F=n(94055),D=(n(54277),n(74048)),Z=n(29163),L=n(89082);const V={dataMain:"data_dataMain__AAynA",item:"data_item__3o28H",dataImg:"data_dataImg__o5pFF",itemDetail:"data_itemDetail__LOSxY",tit:"data_tit__Lc6-i",mun:"data_mun__joYOp",tooltip:"data_tooltip__SEso-",tooltipItem:"data_tooltipItem__VQU5-"};var B,q=n(8219);const z=Z.ZP.div(B||(K=["\n border-bottom: 1px solid rgba(255, 255, 255, 0.1);\n padding: 3px 0;\n"],j||(j=K.slice(0)),B=Object.freeze(Object.defineProperties(K,{raw:{value:Object.freeze(j)}}))));var K,j;const J=(0,s.memo)((e=>{let{total:t,className:n,dataKey:a,children:i}=e;try{return s.createElement(F.default,{overlayClassName:"datatooltip",title:s.createElement(D.default,{className:n,direction:"vertical",split:s.createElement(z,null)},y.KC.map((e=>t[a][e]?s.createElement(U,{key:e,chainId:e,dataKey:a,total:t}):null)))},i)}catch(e){return s.createElement(s.Fragment,null,i)}}),C()),U=(0,s.memo)((e=>{var t;let{chainId:n,total:a,dataKey:i}=e;const r=(0,s.useMemo)((()=>{if(i===L.q7.totalVault)return" "+y.F[n];if(i===L.q7.totalGame);else{if(i===L.q7.totalPlayers)return"";if(i===L.q7.totalPoint||i===L.q7.totalDebtObligation||i===L.q7.totalGpBurned)return" GP"}return""}),[]);return s.createElement("div",{className:V.tooltipItem},s.createElement("img",{src:y.Tf[n],alt:"",width:20}),null!==(t=a[i][n])&&void 0!==t?t:"",r)}),C()),W=(0,s.memo)((e=>{let{data:t}=e;return s.createElement(q.i,{className:V.data},s.createElement(q.e,{label:"Data"}),s.createElement("div",{className:V.dataMain},[{title:"Value",value:"totalVault",dataKey:L.q7.totalVault},{title:"Gold Points",img:"points",value:"totalPoint",dataKey:L.q7.totalPoint},{title:"Games",value:"totalGame",dataKey:L.q7.totalGame},{title:"Players",value:"totalPlayers",dataKey:L.q7.totalPlayers},{title:"Debt Obligation",value:"totalDebtObligation",dataKey:L.q7.totalDebtObligation},{title:"$GP Burned",value:"totalGpBurned",dataKey:L.q7.totalGpBurned}].map((e=>{var n;return s.createElement("div",{className:V.item,key:e.title},s.createElement(J,{dataKey:e.dataKey,total:t.total,className:V.tooltip},s.createElement("img",{src:"/img/home/data_".concat(null!==(n=e.img)&&void 0!==n?n:e.title.toLowerCase(),".svg"),alt:"",className:V.dataImg}),s.createElement("div",{className:V.itemDetail},s.createElement("div",{className:V.tit},e.title),s.createElement("div",{className:V.mun},e.dataKey===L.q7.totalVault?"$":"",t[e.value]))))}))))}),C());var $=n(28120);const H="games_games__GVWym",Y="games_main__Y0bTJ",X="games_tit__kAdkf",Q="games_txt__YLmrR",ee=(0,s.memo)((e=>{let{isMobile:t}=e;return s.createElement("div",{className:H},t?null:s.createElement(q.e,{label:"Zypher Games"}),s.createElement("div",{className:Y},s.createElement("div",{className:X},"Zypher Games"),s.createElement("div",{className:Q},"Zypher Games is an innovative on-chain gaming platform that provides a decentralized and provably fair gaming experience by harnessing the power of Zero-Knowledge Proofs (ZKPs) and Artificial Intelligence. It creates engaging and immersive fully on-chain games that showcase the transformative potential of combining blockchain and AI technology.")))}));var te,ne,ae,ie=n(97005),re=n(80652);function se(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const ue=Z.ZP.div(te||(te=se(["\n text-align: center;\n white-space: nowrap;\n overflow-x: scroll;\n overflow-y: hidden;\n display: flex;\n"]))),pe=Z.ZP.div(ne||(ne=se(["\n padding: ",";\n white-space: nowrap;\n font-size: 14px;\n display: flex;\n background-color: ",";\n border-radius: 25px;\n margin-right: ",";\n display: flex;\n justify-content: center;\n align-items: center;\n a {\n color: ",";\n font-size: ",";\n }\n"])),(e=>{let{isMobile:t}=e;return t?"4px 16px":"10px 32px"}),(e=>{let{color:t}=e;return"rgba(".concat(t,", 0.1)")}),(e=>{var t;let{gap:n}=e;return null!==(t=n+"px")&&void 0!==t?t:"10px"}),(e=>{let{color:t}=e;return"rgba(".concat(t,",1)")}),(e=>{let{isMobile:t}=e;return t?"14px":"20px"})),le=(0,Z.ZP)(re.Z)(ae||(ae=se(["\n fill: ",";\n width: ",";\n height: ",";\n display: block;\n margin-right: ",";\n"])),(e=>{let{color:t}=e;return null!=t?t:"none"}),(e=>{let{isMobile:t}=e;return t?"20px":"30px"}),(e=>{let{isMobile:t}=e;return t?"20px":"30px"}),(e=>{let{isMobile:t}=e;return t?"4px":"10px"})),oe=(0,s.memo)((()=>{const e=(0,g.d)();return s.createElement(ie.Z,{gradient:!1,pauseOnHover:!0,play:!0},s.createElement(ue,null,s.createElement(pe,{color:"81, 156, 255",gap:32,isMobile:e},s.createElement(le,{name:"twitter",color:"#519CFF",isMobile:e}),s.createElement("a",{href:"https://twitter.com/Zypher_Games",target:"_blank",rel:"noreferrer"},"Follow us on Twitter")),s.createElement(pe,{color:"126, 232, 126",gap:32,isMobile:e},s.createElement(le,{name:"parachute",color:"#7EE87E",isMobile:e}),s.createElement("a",{href:"https://medium.com/@ZypherGames/upcoming-announcement-44e69204adb1",target:"_blank",rel:"noreferrer"},"The daily login airdrop is here!")),s.createElement(pe,{color:"111, 229, 255",gap:32,isMobile:e},s.createElement(le,{name:"discord",color:"#6FE5FF",isMobile:e}),s.createElement("a",{href:"https://discord.com/invite/MKJZhS4p2T",target:"_blank",rel:"noreferrer"},"Join our Community and Explore the Game together"))))}));var ye=n(20825);const me="index_home__HJOfb",de="index_content__VV+Jk",ce="index_top__nkEEv",be="index_footer__KIgGU",fe=()=>{const{account:e}=(0,b.a)(),[t,n]=(0,u.FV)(L.Wg),a=(0,T.z)(),[o,m]=(0,u.FV)(L.rY),[h,w]=(0,s.useState)(!1),{list:G,hasError:C}=(0,s.useMemo)((()=>a),[a]);(0,s.useEffect)((()=>{if(G&&G.size){let e=[];Array.from(G.entries()).forEach((t=>{let[,n]=t;e=e.concat(n)})),m(e.sort(((e,t)=>Number(t.startTimeNumber)-Number(e.startTimeNumber))))}}),[null==G?void 0:G.size]);const A=(0,v.U)();(0,s.useEffect)((()=>{o.length?w(!1):w(!0)}),[o.length]);const P=(0,s.useCallback)((()=>{A&&M({contractFun:l.ZP,contracts:{contractName:y.iJ.Lobby,method:"summary",account:e,params:[]},defaultValue:[new(i())("0"),new(i())("0")]}).then((async t=>{const a=_(t,0),s=_(t,1),u=await async function(e){let{contractName:t,defaultValue:n}=e;const a=y.KC.filter((e=>e!==y.a_.Arbitrum)).map((async e=>{try{const n=(0,y.$y)(e,t),a=await(0,E.VH)(x()(y.Vl[e]));return{contractAddress:n,method:"getBalance",chainId:e,response:await a.getBalance(n)}}catch(t){return{contractAddress:void 0,method:"getBalance",chainId:e,response:n}}}));return Promise.all(a)}({contractName:y.iJ.Points,defaultValue:new(i())("0")}),p=N(u,!0,A),l=await M({contractFun:c.Z,contracts:{contractName:y.iJ.ZypherGameToken,method:"totalSupply",account:e,params:[]},defaultValue:new(i())("0")}),o=N(l),m=await M({contractFun:d,contracts:{contractName:y.iJ.ZypherGameToken,method:"getResidue",account:e,params:[]},defaultValue:new(i())("0")}),b=N(m),f=await M({contractFun:d,contracts:{contractName:y.iJ.ZypherGameToken,method:"getRepay",account:e,params:[]},defaultValue:new(i())("0")}),T=N(f);n({totalVault:(0,I.lb)(Number(r.formatEther(p)),2),totalPoint:(0,I.lb)(Number(r.formatEther(o)),0),totalGame:(0,I.lb)(new(i())(a).toNumber(),0),totalPlayers:(0,I.lb)(new(i())(s).toNumber(),0),totalDebtObligation:(0,I.lb)(new(i())(r.formatEther(b)).toNumber()),totalGpBurned:(0,I.lb)(new(i())(r.formatEther(T)).toNumber()),total:{[L.q7.totalGame]:Object.fromEntries(t.map((e=>[e.chainId,new(i())(e.response[0]).toString()]))),[L.q7.totalPlayers]:Object.fromEntries(t.map((e=>[e.chainId,new(i())(e.response[1]).toString()]))),[L.q7.totalVault]:Object.fromEntries(u.map((e=>[e.chainId,(0,I.lb)(Number(r.formatEther(new(i())(e.response.toString()).toString())),3)]))),[L.q7.totalPoint]:Object.fromEntries(l.map((e=>[e.chainId,(0,I.lb)(Number(r.formatEther(new(i())(e.response.toString()).toString())))]))),[L.q7.totalDebtObligation]:Object.fromEntries(m.map((e=>[e.chainId,(0,I.lb)(Number(r.formatEther(new(i())(e.response.toString()).toString())))]))),[L.q7.totalGpBurned]:Object.fromEntries(f.map((e=>[e.chainId,(0,I.lb)(Number(r.formatEther(new(i())(e.response.toString()).toString())))])))}})})).catch((e=>{console.error("An error occurred:",e)}))}),[e,A]),S=(0,u.sJ)(p.DM);(0,f.Z)(P,8e3),(0,s.useEffect)(P,[S]);const O=(0,g.d)(),k=(0,ye.b0)();return s.createElement("div",{className:me},s.createElement("div",{className:ce},s.createElement(oe,null)),s.createElement("div",{className:de},s.createElement(R,k),s.createElement(W,{data:t}),s.createElement(q.i,null,s.createElement(q.e,{label:"Games List"}),s.createElement($.Z,{account:e,dataSource:o,showFilter:!0,loading:h,hasError:C,className:"table",loadMorecss:!0})),s.createElement(ee,{isMobile:O}),s.createElement("div",{className:be},"Copyright © 2023 Zypher Games. All rights reserved.")))}},89082:(e,t,n)=>{"use strict";n.d(t,{q7:()=>r,Wg:()=>s,rY:()=>u});var a=n(2804),i=n(59314);let r;!function(e){e.totalVault="totalVault",e.totalPoint="totalPoint",e.totalGame="totalGame",e.totalPlayers="totalPlayers",e.totalDebtObligation="totalDebtObligation",e.totalGpBurned="totalGpBurned"}(r||(r={}));(0,a.cn)({key:"videoDialog",default:!1});const s=(0,a.cn)({key:"homeDateState",default:{totalVault:"0",totalPoint:"0",totalGame:"0",totalPlayers:"0",totalDebtObligation:"0",totalGpBurned:"0",total:{}},effects_UNSTABLE:[(0,i.Nh)("homeDateState")]}),u=(0,a.cn)({key:"gameListChainListState2",default:[]})},97005:(e,t,n)=>{var a=n(67294);function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=i(a);!function(e){if(!e||"undefined"==typeof window)return;const t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t)}('.marquee-container {\n overflow-x: hidden !important;\n display: flex !important;\n flex-direction: row !important;\n position: relative;\n width: var(--width);\n transform: var(--transform);\n}\n.marquee-container:hover div {\n animation-play-state: var(--pause-on-hover);\n}\n.marquee-container:active div {\n animation-play-state: var(--pause-on-click);\n}\n\n.overlay {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n.overlay::before, .overlay::after {\n background: linear-gradient(to right, var(--gradient-color));\n content: "";\n height: 100%;\n position: absolute;\n width: var(--gradient-width);\n z-index: 2;\n}\n.overlay::after {\n right: 0;\n top: 0;\n transform: rotateZ(180deg);\n}\n.overlay::before {\n left: 0;\n top: 0;\n}\n\n.marquee {\n flex: 0 0 auto;\n min-width: var(--min-width);\n z-index: 1;\n display: flex;\n flex-direction: row;\n align-items: center;\n animation: scroll var(--duration) linear var(--delay) var(--iteration-count);\n animation-play-state: var(--play);\n animation-delay: var(--delay);\n animation-direction: var(--direction);\n}\n@keyframes scroll {\n 0% {\n transform: translateX(0%);\n }\n 100% {\n transform: translateX(-100%);\n }\n}\n\n.initial-child-container {\n flex: 0 0 auto;\n display: flex;\n min-width: auto;\n flex-direction: row;\n}\n\n.child {\n transform: var(--transform);\n}');const s=a.forwardRef((function({style:e={},className:t="",autoFill:n=!1,play:i=!0,pauseOnHover:s=!1,pauseOnClick:u=!1,direction:p="left",speed:l=50,delay:o=0,loop:y=0,gradient:m=!1,gradientColor:d=[255,255,255],gradientWidth:c=200,onFinish:b,onCycleComplete:f,onMount:T,children:g},v){const[h,w]=a.useState(0),[x,E]=a.useState(0),[M,_]=a.useState(1),[N,I]=a.useState(!1),G=a.useRef(null),C=v||G,A=a.useRef(null),P=a.useCallback((()=>{if(A.current&&C.current){const e=C.current.getBoundingClientRect(),t=A.current.getBoundingClientRect();let a=e.width,i=t.width;"up"!==p&&"down"!==p||(a=e.height,i=t.height),_(n&&a&&i&&i{if(N&&(P(),A.current&&C.current)){const e=new ResizeObserver((()=>P()));return e.observe(C.current),e.observe(A.current),()=>{e&&e.disconnect()}}}),[P,C,N]),a.useEffect((()=>{P()}),[P,g]),a.useEffect((()=>{I(!0)}),[]),a.useEffect((()=>{"function"==typeof T&&T()}),[]);const S=a.useMemo((()=>n?x*M/l:xObject.assign(Object.assign({},e),{"--pause-on-hover":!i||s?"paused":"running","--pause-on-click":!i||s&&!u||u?"paused":"running","--width":"up"===p||"down"===p?"100vh":"100%","--transform":"up"===p?"rotate(-90deg)":"down"===p?"rotate(90deg)":"none"})),[e,i,s,u,p]),R=a.useMemo((()=>({"--gradient-color":`${O}, 1), ${O}, 0)`,"--gradient-width":"number"==typeof c?`${c}px`:c})),[O,c]),F=a.useMemo((()=>({"--play":i?"running":"paused","--direction":"left"===p?"normal":"reverse","--duration":`${S}s`,"--delay":`${o}s`,"--iteration-count":y?`${y}`:"infinite","--min-width":n?"auto":"100%"})),[i,p,S,o,y,n]),D=a.useMemo((()=>({"--transform":"up"===p?"rotate(90deg)":"down"===p?"rotate(-90deg)":"none"})),[p]),Z=a.useCallback((e=>[...Array(Number.isFinite(e)&&e>=0?e:0)].map(((e,t)=>r.default.createElement(a.Fragment,{key:t},a.Children.map(g,(e=>r.default.createElement("div",{style:D,className:"child"},e))))))),[D,g]);return N?r.default.createElement("div",{ref:C,style:k,className:"marquee-container "+t},m&&r.default.createElement("div",{style:R,className:"overlay"}),r.default.createElement("div",{className:"marquee",style:F,onAnimationIteration:f,onAnimationEnd:b},r.default.createElement("div",{className:"initial-child-container",ref:A},a.Children.map(g,(e=>r.default.createElement("div",{style:D,className:"child"},e)))),Z(M-1)),r.default.createElement("div",{className:"marquee",style:F},Z(M))):null}));t.Z=s},27440:e=>{"use strict";e.exports=JSON.parse('[{"inputs":[],"name":"AddressError","type":"error"},{"inputs":[],"name":"AddressInsuffcientBalance","type":"error"},{"inputs":[],"name":"BadSettings","type":"error"},{"inputs":[],"name":"InvalidGameId","type":"error"},{"inputs":[],"name":"InvalidGameStatus","type":"error"},{"inputs":[],"name":"InvalidLevel","type":"error"},{"inputs":[],"name":"InvalidNumber","type":"error"},{"inputs":[],"name":"InvalidStringBytes","type":"error"},{"inputs":[],"name":"InvalidWaitingStatus","type":"error"},{"inputs":[],"name":"NotBingo","type":"error"},{"inputs":[],"name":"OwnableInvalid","type":"error"},{"inputs":[],"name":"ReentrantCall","type":"error"},{"inputs":[{"internalType":"uint8","name":"current","type":"uint8"},{"internalType":"uint8","name":"min","type":"uint8"}],"name":"TooFewPlayers","type":"error"},{"inputs":[{"internalType":"uint8","name":"rule","type":"uint8"},{"internalType":"uint256","name":"expect","type":"uint256"},{"internalType":"uint256","name":"current","type":"uint256"}],"name":"UnavailableJoin","type":"error"},{"inputs":[],"name":"WrongTurn","type":"error"},{"inputs":[],"name":"ZyAddressNotContract","type":"error"},{"inputs":[],"name":"ZyInvalidImplementation","type":"error"},{"inputs":[],"name":"ZyNoDelegateCall","type":"error"},{"inputs":[],"name":"ZyOnlyProxy","type":"error"},{"inputs":[],"name":"ZyUnsupported","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"gameId","type":"uint256"},{"indexed":true,"internalType":"address","name":"player","type":"address"}],"name":"Bingo","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"gameId","type":"uint256"},{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"isOvertime","type":"bool"},{"indexed":false,"internalType":"uint256","name":"confiscate","type":"uint256"}],"name":"GameHalted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"gameId","type":"uint256"},{"indexed":true,"internalType":"address","name":"player","type":"address"},{"indexed":true,"internalType":"uint256","name":"cardId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"betSize","type":"uint256"},{"indexed":false,"internalType":"uint8","name":"position","type":"uint8"}],"name":"GameParticipated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"gameId","type":"uint256"},{"indexed":false,"internalType":"address","name":"cardContract","type":"address"},{"indexed":false,"internalType":"address[]","name":"players","type":"address[]"}],"name":"GameStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"player","type":"address"}],"name":"LineupJoined","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"player","type":"address"}],"name":"LineupLeft","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"gameId","type":"uint256"},{"indexed":false,"internalType":"uint32","name":"round","type":"uint32"},{"indexed":true,"internalType":"address","name":"player","type":"address"},{"indexed":false,"internalType":"uint8","name":"number","type":"uint8"}],"name":"NumberSelected","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newReward","type":"address"},{"indexed":true,"internalType":"address","name":"oldReward","type":"address"}],"name":"RewardChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[],"name":"RECENT_GAME_COUNTS","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gameId","type":"uint256"}],"name":"abandon","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"activeLevels","outputs":[{"internalType":"uint256","name":"wins","type":"uint256"},{"components":[{"internalType":"uint8","name":"level","type":"uint8"},{"internalType":"uint32","name":"minWinCounts","type":"uint32"},{"internalType":"uint32","name":"minWinRate","type":"uint32"},{"internalType":"uint32","name":"maxWinCounts","type":"uint32"},{"internalType":"uint32","name":"maxWinRate","type":"uint32"},{"internalType":"uint32","name":"startedAt","type":"uint32"},{"internalType":"uint32","name":"endedAt","type":"uint32"},{"internalType":"uint256","name":"betSize","type":"uint256"},{"internalType":"uint8","name":"expectedLines","type":"uint8"},{"internalType":"uint8","name":"minNumber","type":"uint8"},{"internalType":"uint8","name":"maxNumber","type":"uint8"}],"internalType":"struct IGameLineup.WaitingInfo[]","name":"list","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"betSize","type":"uint256"},{"internalType":"uint32","name":"minWinCounts","type":"uint32"},{"internalType":"uint32","name":"minWinRate","type":"uint32"},{"internalType":"uint32","name":"maxWinCounts","type":"uint32"},{"internalType":"uint32","name":"maxWinRate","type":"uint32"},{"internalType":"uint32","name":"startedAt","type":"uint32"},{"internalType":"uint32","name":"endedAt","type":"uint32"},{"internalType":"uint8","name":"expectedLines","type":"uint8"},{"internalType":"uint8","name":"minCardNumber","type":"uint8"},{"internalType":"uint8","name":"maxCardNumber","type":"uint8"}],"name":"addLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"gameId","type":"uint256"},{"internalType":"uint8[][]","name":"cardNumbers","type":"uint8[][]"},{"internalType":"bytes","name":"signedGameLabel","type":"bytes"}],"name":"bingo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bingoFee","outputs":[{"internalType":"contract IBingoFee","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"donationAddr","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"donationFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gameCard","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gameId","type":"uint256"}],"name":"gamePlayerCounts","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gameId","type":"uint256"}],"name":"getCurrentRound","outputs":[{"internalType":"uint32","name":"round","type":"uint32"},{"internalType":"address","name":"player","type":"address"},{"internalType":"uint32","name":"remain","type":"uint32"},{"internalType":"string","name":"status","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gameId","type":"uint256"}],"name":"getGameInfo","outputs":[{"internalType":"uint32","name":"startedAt","type":"uint32"},{"internalType":"uint32","name":"endedAt","type":"uint32"},{"internalType":"address","name":"winner","type":"address"},{"internalType":"uint256","name":"winAmount","type":"uint256"},{"components":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"cardId","type":"uint256"},{"internalType":"bool","name":"isAbandoned","type":"bool"}],"internalType":"struct IBingoRoom.Participant[]","name":"players","type":"tuple[]"},{"components":[{"internalType":"uint32","name":"round","type":"uint32"},{"internalType":"uint8","name":"number","type":"uint8"},{"internalType":"uint32","name":"timestamp","type":"uint32"},{"internalType":"address","name":"player","type":"address"}],"internalType":"struct IBingoRoom.GameRound[]","name":"rounds","type":"tuple[]"},{"components":[{"internalType":"uint256","name":"betSize","type":"uint256"},{"internalType":"uint8","name":"expectedLines","type":"uint8"},{"internalType":"uint8","name":"minNumber","type":"uint8"},{"internalType":"uint8","name":"maxNumber","type":"uint8"}],"internalType":"struct IBingoRoom.GameSettings","name":"settings","type":"tuple"},{"internalType":"string","name":"status","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNextKeyLabel","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gameId","type":"uint256"}],"name":"getSelectedNumbers","outputs":[{"internalType":"uint8[]","name":"numbers","type":"uint8[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_gameCard","type":"address"},{"internalType":"uint8","name":"_expectedLines","type":"uint8"},{"internalType":"uint8","name":"_minPlayers","type":"uint8"},{"internalType":"uint8","name":"_maxPlayers","type":"uint8"},{"internalType":"uint8","name":"minCardNumber","type":"uint8"},{"internalType":"uint8","name":"maxCardNumber","type":"uint8"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"level","type":"uint8"},{"internalType":"bytes","name":"zkCard","type":"bytes"}],"name":"join","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"leave","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lineupUsers","outputs":[{"internalType":"uint8","name":"lvId","type":"uint8"},{"internalType":"address[]","name":"list","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPlayers","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minPlayers","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"lv","type":"uint8"}],"name":"removeLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"player","type":"address"},{"internalType":"uint8[][]","name":"cardNumbers","type":"uint8[][]"},{"internalType":"bytes","name":"signedGameLabel","type":"bytes"}],"name":"restoreGame","outputs":[{"internalType":"uint256","name":"playingGameId","type":"uint256"},{"internalType":"uint32","name":"autoEndTime","type":"uint32"},{"internalType":"bool","name":"isCardContentMatched","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"gameId","type":"uint256"},{"internalType":"uint8","name":"number","type":"uint8"},{"internalType":"uint8[][]","name":"cardNumbers","type":"uint8[][]"},{"internalType":"bytes","name":"signedGameLabel","type":"bytes"}],"name":"selectAndBingo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"gameId","type":"uint256"},{"internalType":"uint8","name":"number","type":"uint8"}],"name":"selectNumber","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"bingoFee_","type":"address"}],"name":"setBingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"donationAddr_","type":"address"}],"name":"setDonationAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"donationFee_","type":"uint256"}],"name":"setDonationFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"startTimeout","type":"uint32"},{"internalType":"uint8","name":"boostRounds","type":"uint8"},{"internalType":"uint32","name":"roundGap","type":"uint32"},{"internalType":"uint32","name":"roundTimeout","type":"uint32"},{"internalType":"uint32","name":"maxDuration","type":"uint32"}],"name":"setGameTimers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"firstGameId","type":"uint256"},{"internalType":"uint256","name":"totalPlayers","type":"uint256"},{"internalType":"uint256","name":"rewardDistributed","type":"uint256"}],"name":"setInitData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"thirdParty_","type":"address"}],"name":"setThirdParty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"setVipToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"start","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"summary","outputs":[{"internalType":"uint256","name":"totalGameStarted","type":"uint256"},{"internalType":"uint256","name":"totalPlayersJoined","type":"uint256"},{"internalType":"uint256","name":"totalRewardDistributed","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"thirdParty","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timer","outputs":[{"components":[{"internalType":"uint32","name":"startTimeout","type":"uint32"},{"internalType":"uint8","name":"boostRounds","type":"uint8"},{"internalType":"uint32","name":"roundGap","type":"uint32"},{"internalType":"uint32","name":"roundTimeout","type":"uint32"},{"internalType":"uint32","name":"maxDuration","type":"uint32"}],"internalType":"struct BingoGameRoom.GameTimeout","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenVIP","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"}]')}}]); \ No newline at end of file diff --git a/3015.6b0eebfe.chunk.css b/3015.6b0eebfe.chunk.css new file mode 100644 index 0000000..2b4fa7c --- /dev/null +++ b/3015.6b0eebfe.chunk.css @@ -0,0 +1 @@ +.bannerv1_header__aIC2E{display:flex;gap:24px;justify-content:space-between}@media screen and (max-width:950px){.bannerv1_header__aIC2E{flex-direction:column;gap:16px}}.bannerv1_header__aIC2E .bannerv1_headerFl__bTkl1,.bannerv1_header__aIC2E .bannerv1_headerFr__3tDHT{border-radius:20px;cursor:pointer;overflow:hidden;position:relative;width:50%}@media screen and (max-width:950px){.bannerv1_header__aIC2E .bannerv1_headerFl__bTkl1,.bannerv1_header__aIC2E .bannerv1_headerFr__3tDHT{min-width:auto;width:100%}}@media screen and (max-width:768px){.bannerv1_header__aIC2E .bannerv1_headerFl__bTkl1,.bannerv1_header__aIC2E .bannerv1_headerFr__3tDHT{border-radius:12px}}.bannerv1_header__aIC2E .bannerv1_banner__6oS1o{align-items:center;display:flex;height:100%;justify-content:center}.bannerv1_header__aIC2E .bannerv1_bannerbg__kPSIp{width:100%}.data_dataMain__AAynA{display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between}@media screen and (max-width:768px){.data_dataMain__AAynA{gap:10px}}.data_dataMain__AAynA .data_item__3o28H{align-items:center;background:hsla(0,0%,100%,.04);border-radius:20px;display:flex;flex-basis:calc(33.33% - 24px);padding:38px 0}@media screen and (max-width:1368px){.data_dataMain__AAynA .data_item__3o28H{flex-basis:calc(50% - 24px);max-width:calc(50% - 24px);padding:18px 0}}@media screen and (max-width:768px){.data_dataMain__AAynA .data_item__3o28H{border-radius:8px;flex-basis:calc(50% - 10px);max-width:calc(50% - 10px);padding:10px 0}}.data_dataMain__AAynA .data_item__3o28H>span{align-items:center;display:flex;flex:1}.data_dataMain__AAynA .data_item__3o28H .data_dataImg__o5pFF{margin-left:38px;margin-right:16px;max-width:84px;min-width:60px;width:30%}@media screen and (max-width:768px){.data_dataMain__AAynA .data_item__3o28H .data_dataImg__o5pFF{margin-left:10px;margin-right:10px;min-width:auto;width:40px}}.data_dataMain__AAynA .data_item__3o28H .data_itemDetail__LOSxY div{margin-right:38px}@media screen and (max-width:768px){.data_dataMain__AAynA .data_item__3o28H .data_itemDetail__LOSxY div{margin-right:10px}}.data_dataMain__AAynA .data_item__3o28H .data_tit__Lc6-i{font-size:20px;font-weight:500;line-height:30px;white-space:nowrap}@media screen and (max-width:1068px){.data_dataMain__AAynA .data_item__3o28H .data_tit__Lc6-i{font-size:18px}}@media screen and (max-width:768px){.data_dataMain__AAynA .data_item__3o28H .data_tit__Lc6-i{font-size:12px;font-weight:400;line-height:18px;opacity:.6}}.data_dataMain__AAynA .data_item__3o28H .data_mun__joYOp{font-size:20px;font-size:34px;font-weight:600;line-height:30px;margin:10px 0 0}@media screen and (max-width:1368px){.data_dataMain__AAynA .data_item__3o28H .data_mun__joYOp{font-size:16px}}@media screen and (max-width:768px){.data_dataMain__AAynA .data_item__3o28H .data_mun__joYOp{font-size:14px;line-height:22px;margin:0}}.data_tooltip__SEso-{background-color:#2c2c2c;width:160px}.data_tooltipItem__VQU5-{align-items:center;display:flex;gap:10px}.widget_title__E8aNg{color:#fff;font-size:24px;font-weight:600;line-height:36px;margin:0 0 24px}@media screen and (max-width:768px){.widget_title__E8aNg{font-size:16px;line-height:32px;margin:0 0 16px}}.widget_list__0eYOt{color:#fff;margin:68px 0}@media screen and (max-width:950px){.widget_list__0eYOt{margin:0;padding:32px 0 24px}}.NoData_loadMore__JCdyH{margin-bottom:240px;margin-top:240px}.NoData_error__q2Zv6,.NoData_loadMore__JCdyH{display:flex;justify-content:center;position:relative}.NoData_error__q2Zv6{color:#fff;margin-bottom:40px;margin-top:40px}.gameListBorderSelect_borderSelect__bXlYV{position:absolute;right:0;top:-60px}div.ant-select-item{padding:10px 16px}.hyYiLfej7DeaGrnD9SAlDQ\=\={background:hsla(0,0%,100%,.04);border-radius:10px;margin-bottom:10px}.hyYiLfej7DeaGrnD9SAlDQ\=\= p{margin:0;padding:0}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\={background:hsla(0,0%,100%,.06);border-radius:10px;padding:10px}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .TDsVcS0KLemYaj3e3A5Y\+A\=\={color:hsla(0,0%,100%,.7);display:flex;font-size:12px;justify-content:space-between;line-height:22px}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .TDsVcS0KLemYaj3e3A5Y\+A\=\= .F8ga\+VQvAa-mNgOFotGtXA\=\= em{color:#fff;margin:0 8px}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .TDsVcS0KLemYaj3e3A5Y\+A\=\= .djXrC4YThClImoN-9tZ5dw\=\={align-items:center;background:rgba(0,0,0,.16);border-radius:12px;display:flex;height:22px;justify-content:center;line-height:22px;padding:0 8px}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .TDsVcS0KLemYaj3e3A5Y\+A\=\= .mAgbmQacSoldS9EfkLW\+nw\=\={background:rgba(101,237,188,.06);color:#65edbc}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\={margin-top:14px}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .EejJn\+2dIi0c9VS2ArnAJw\=\=,.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .ouUN6e03u0VYW8gUlP7cWA\=\={display:flex;justify-content:space-between}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .EejJn\+2dIi0c9VS2ArnAJw\=\=>div,.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .EejJn\+2dIi0c9VS2ArnAJw\=\=>p,.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .ouUN6e03u0VYW8gUlP7cWA\=\=>div,.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .ouUN6e03u0VYW8gUlP7cWA\=\=>p{width:33%}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .EejJn\+2dIi0c9VS2ArnAJw\=\=>div:nth-child(2),.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .EejJn\+2dIi0c9VS2ArnAJw\=\=>p:nth-child(2),.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .ouUN6e03u0VYW8gUlP7cWA\=\=>div:nth-child(2),.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .ouUN6e03u0VYW8gUlP7cWA\=\=>p:nth-child(2){justify-content:center;text-align:center}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .EejJn\+2dIi0c9VS2ArnAJw\=\=>div:last-child,.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .EejJn\+2dIi0c9VS2ArnAJw\=\=>p:last-child,.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .ouUN6e03u0VYW8gUlP7cWA\=\=>div:last-child,.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .ouUN6e03u0VYW8gUlP7cWA\=\=>p:last-child{justify-content:right;text-align:right}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .EejJn\+2dIi0c9VS2ArnAJw\=\={font-size:12px;margin-bottom:2px;opacity:.4}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .ouUN6e03u0VYW8gUlP7cWA\=\={font-size:16px;font-weight:600}.hyYiLfej7DeaGrnD9SAlDQ\=\= .PYIYCg\+ljPFIVcWaje4Rbg\=\={align-items:center;display:flex;justify-content:space-between;padding:10px}.hyYiLfej7DeaGrnD9SAlDQ\=\= .PYIYCg\+ljPFIVcWaje4Rbg\=\= .UA3b5F-dtxcskJyW6DGtrg\=\={align-items:center;display:flex;justify-content:space-between;margin-left:4px}.hyYiLfej7DeaGrnD9SAlDQ\=\= .PYIYCg\+ljPFIVcWaje4Rbg\=\= .UA3b5F-dtxcskJyW6DGtrg\=\= span{border:1px solid hsla(0,0%,100%,.2)!important;margin-left:-4px}.hyYiLfej7DeaGrnD9SAlDQ\=\= .PYIYCg\+ljPFIVcWaje4Rbg\=\= ._2ofZ0KbxbR3ufG0Togq4Ug\=\={font-size:12px;opacity:.7}.games_games__GVWym{color:#fff}.games_games__GVWym .games_main__Y0bTJ{background:url(asset/3ab33533ed.png) no-repeat 50%;background-size:100% 100%;border-radius:20px;padding:68px;text-align:center}@media screen and (max-width:1200px){.games_games__GVWym .games_main__Y0bTJ{background:url(asset/6e17bf7985.jpg) no-repeat 50%;background-size:100% 100%;border-radius:10px;overflow:hidden;padding:20px}}.games_games__GVWym .games_main__Y0bTJ .games_tit__kAdkf{font-size:32px;font-weight:600;line-height:48px}@media screen and (max-width:768px){.games_games__GVWym .games_main__Y0bTJ .games_tit__kAdkf{font-size:24px;line-height:36px;padding-top:26px}}.games_games__GVWym .games_main__Y0bTJ .games_txt__YLmrR{font-size:20px;font-weight:400;line-height:32px;margin:18px auto;max-width:1042px}@media screen and (max-width:1200px){.games_games__GVWym .games_main__Y0bTJ .games_txt__YLmrR{font-size:14px;line-height:22px}}@media screen and (max-width:768px){.games_games__GVWym .games_main__Y0bTJ .games_txt__YLmrR{margin:24px auto 76px}}.index_home__HJOfb{padding:40px 0}@media screen and (max-width:768px){.index_home__HJOfb{padding:20px 0}}.index_home__HJOfb .index_content__VV\+Jk{padding:0 40px}@media screen and (max-width:768px){.index_home__HJOfb .index_content__VV\+Jk{padding:0 16px}}.index_home__HJOfb .index_top__nkEEv{color:#fff;display:flex;margin:0 0 40px}@media screen and (max-width:768px){.index_home__HJOfb .index_top__nkEEv{margin:0 0 20px}}.index_home__HJOfb .index_top__nkEEv .index_item__FqQJg{align-items:center;background:rgba(126,232,126,.1);border-radius:25px;color:#7ee87e;display:flex;height:50px;justify-content:center;margin:0 32px 0 0;padding:0 24px}.index_home__HJOfb .index_top__nkEEv .index_item__FqQJg:nth-child(odd){background:rgba(81,156,255,.1);color:#519cff}.index_home__HJOfb .index_footer__KIgGU{color:hsla(0,0%,100%,.4);font-size:12px;font-weight:400;line-height:30px;padding:56px 0;text-align:center} \ No newline at end of file diff --git a/3571.18140d17.bundle.js b/3571.18140d17.bundle.js deleted file mode 100644 index e4b7219..0000000 --- a/3571.18140d17.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkbingo_frontend=self.webpackChunkbingo_frontend||[]).push([[3571],{6087:(e,t,n)=>{"use strict";n.d(t,{VH:()=>l});var a=n(71210),i=n(9163);n(47631);let r;const s=async()=>{if(window.ethereum)return new a.Q(window.ethereum);if(window.web3)return new a.Q(window.web3.currentProvider);throw new Error("can't find default provider")},l=e=>new Promise((async(t,n)=>{if(e)t(new i.r(e));else if(r)t(r);else{const e=await s();e?(r=e,t(e)):n("can't find default provider")}}));window.addEventListener("load",(async()=>{s()}))},43733:(e,t,n)=>{"use strict";n.d(t,{id:()=>s,ZP:()=>l});var a=n(50490),i=n(47631),r=n(5975);n(59619),n(63829);const s=e=>{let{address:t,library:n,account:i}=e;return(0,r.xi)({address:t,abi:a,library:n,account:i})};const l=(e,t,n)=>(0,r.uN)({abi:a,address:null!=t?t:(0,i.$y)(e,i.iJ.Lobby),signer:n,chainId:e})},2039:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(95534),i=n.n(a),r=n(63677),s=n(6087),l=n(47631);const o=async e=>{try{const t=null!=e?e:await(async()=>{const e=await(0,s.VH)(),t=await e.getNetwork();if(!Object.values(l.a_).includes(t.chainId))throw new Error("Network not supported");return t.chainId})(),n=await(0,s.VH)(i()(l.Vl[t]));return new r.m({ethersProvider:n,tryAggregate:!1,multicallCustomContractAddress:l.QO[t].multicall})}catch(e){return void console.error("Getting multicall failure:",e)}}},61664:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(67294);function i(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const i=(0,a.useRef)();(0,a.useEffect)((()=>{i.current=e}),[e]),(0,a.useEffect)((()=>{function e(){const e=i.current;e&&e()}if(null!==t){n&&e();const a=setInterval(e,t);return()=>clearInterval(a)}}),[t,n])}},29562:(e,t,n)=>{"use strict";n.d(t,{h:()=>d,G:()=>y});var a=n(50490),i=n(44431),r=n.n(i),s=n(67294),l=n(47631),o=n(43733),u=n(2039),p=n(74001),m=n(62882);n(80941),n(88017);const d=()=>{const[e,t]=(0,s.useState)(),[n,a]=(0,s.useState)(!1);return(0,s.useEffect)((()=>{(0,p.Z)({contractFun:o.ZP,contracts:{contractName:l.iJ.Lobby,method:"recentGames",params:["0"]},defaultValue:null}).then((async e=>{try{const n=new Map;for(let a=0;ae.gameId.toString())),{gameInfo:l}=await y({chainId:i,gameIdList:s})||{};if(l){const e=r.map(((e,t)=>(0,m.O)({chainId:i,game:e,gameIdInfo:l[t]})));n.set(i,e)}n.size&&t(n)}}catch(e){a(!0)}}))}),[]),{list:e,hasError:n}},y=async e=>{let{chainId:t,gameIdList:n}=e;try{const e=(0,l.$y)(t,l.iJ.Lobby),i=n.map((t=>({reference:l.iJ.Lobby+t,contractAddress:e,abi:a,calls:[{methodName:"getGameInfo",reference:"getGameInfo",methodParameters:[t]}]}))),s=await(0,u.Z)(t);if(s){const{results:e}=await s.call(i);if(e){return{gameInfo:Object.values(e).map((e=>{const t=e.callsReturnContext[0].returnValues;return[t[0],t[1],new(r())(t[2].hex).dividedBy(l.$d).toString(),t[3],new(r())(t[4].hex).dividedBy(l.$d).toString(),t[5],t[6],t[7]]}))}}}}catch(e){console.error("getGameInfo err: ",e)}}},8219:(e,t,n)=>{"use strict";n.d(t,{i:()=>u,e:()=>o});var a=n(94184),i=n.n(a),r=n(67294);const s="widget_title__E8aNg",l="widget_list__0eYOt",o=(0,r.memo)((e=>{let{label:t}=e;return r.createElement("h3",{className:s},t)})),u=(0,r.memo)((e=>{let{className:t,children:n}=e;return r.createElement("div",{className:i()(l,t)},n)}))},4049:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Pe});var a=n(18446),i=n.n(a),r=n(67294),s=n(44431),l=n.n(s),o=n(46474),u=n(2804),p=n(21449),m=n(43733);const d=JSON.parse('[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TRANSFER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getDebt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRepay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getResidue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"},{"internalType":"uint256","name":"debt_","type":"uint256"}],"name":"mintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"repayment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from_","type":"address"},{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"}]');var y=n(47631),c=n(5975);const b=(e,t,n)=>(0,c.uN)({abi:d,address:null!=t?t:(0,y.$y)(e,y.iJ.ZypherGameToken),signer:n,chainId:e});var f=n(10271),g=n(59619),T=n(61664),h=n(29562),v=n(9120),w=n(95362),_=n(74001);const E=(e,t)=>e.reduce(((e,n)=>new(l())(n.response[t]).plus(new(l())(e)).toString()),0),x=(e,t,n)=>e.reduce(((e,a)=>{let i=new(l())(1);t&&n&&(i=new(l())(n[y.F[a.chainId]]));return new(l())(a.response.toString()).times(i).plus(new(l())(e)).toString()}),"0");var M=n(88017),N=n(7085),I=n(94184),R=n.n(I),C=n(79655),G=n(80652),A=n(20825),O=n(59314);const P=(0,u.cn)({key:"dailyRewardsRuleDialog",default:!1,effects_UNSTABLE:[(0,O.Nh)("dailyRewardsRuleDialog")]}),B={header:"banner_header__Okx8j",headerFl:"banner_headerFl__UAbjr",headerFr:"banner_headerFr__KuVjm",banner:"banner_banner__Q6u1g",bannerbg:"banner_bannerbg__SJvR+",bannerInner:"banner_bannerInner__LblfL",bannerFlInnerImg:"banner_bannerFlInnerImg__VoKj7",bannerFlBtnWrap:"banner_bannerFlBtnWrap__mPQtQ",bannerFlBtn:"banner_bannerFlBtn__VrxZn",gameRuleBtnImg:"banner_gameRuleBtnImg__lD2Un",headerFrInner:"banner_headerFrInner__eBXcD",h23:"banner_h23__N8sGi",h22:"banner_h22__mAx37",h21:"banner_h21__mWVCf",flex:"banner_flex__Zf2ee",headerFrInnerBg:"banner_headerFrInnerBg__y2uro",btn:"banner_btn__9aiLm",btnLoading:"banner_btnLoading__ASkm9",btnClaimed:"banner_btnClaimed__ciL3A",data:"banner_data__u0ddC",dataMain:"banner_dataMain__zAdC8",item:"banner_item__iAxoF",dataImg:"banner_dataImg__4Odtt",itemDetail:"banner_itemDetail__qNbOv",tit:"banner_tit__LPzBj",mun:"banner_mun__BTPzt",tooltip:"banner_tooltip__s6UwQ",tooltipItem:"banner_tooltipItem__0wBr0"};n(1025);var D=n(65400),S=n(54549),L=n(74942);const k={dialogContent:"DailyRewardsRuleDialog_dialogContent__qqbV2",cursor:"DailyRewardsRuleDialog_cursor__II0OJ",dialogHeader:"DailyRewardsRuleDialog_dialogHeader__b2JIY",dialogContainer:"DailyRewardsRuleDialog_dialogContainer__yxHFf",btnWrap:"DailyRewardsRuleDialog_btnWrap__TBOZ4",btn:"DailyRewardsRuleDialog_btn__76dqo"},F=()=>{const e=(0,u.sJ)(P),t=(0,u.Zl)(P),n=(0,r.useCallback)((()=>{t(!1)}),[]);return r.createElement(r.Fragment,null,r.createElement(L.t9,{isOpen:e,onDismiss:n},r.createElement(L.cZ,{className:k.dialogContent},r.createElement("div",{className:k.dialogHeader},r.createElement("h3",null,"Rules"),r.createElement("div",{className:k.cursor,onClick:n},r.createElement(S.Z,null))),r.createElement("div",{className:k.dialogContainer},r.createElement("h4",null,"Daily Login Rewards: A Web3 Adventure Awaits!"),r.createElement("p",null,"Embark on the zBingo journey as we mark our V1 Grand Launch! With the Zypher gaming realm expanding, we're thrilled to enrich your experience with daily rewards."," ",r.createElement("a",{href:"https://medium.com/@ZypherGames/upcoming-announcement-44e69204adb1",target:"_blank",rel:"noreferrer"},"More Details")),r.createElement("h4",null,"📆 Event Duration: ",r.createElement("p",null,"9/26 2AM UTC - 10/10 2AM UTC")),r.createElement("h4",null," 🏆 Reward Mechanics:"),r.createElement("p",null,r.createElement("em",null),r.createElement("i",null,"Step into zBingo daily and pocket an electrifying 5,000 $GP (Gold Points)."),r.createElement("br",null),r.createElement("em",null),r.createElement("i",null,"Each unique address can claim the rewards once every 24 hours on each supported network."),r.createElement("br",null),r.createElement("em",null),r.createElement("i",null,"For our early adventurers, there's no ceiling! No initial cap on the number of participating wallets.")),r.createElement("h4",null,"Interpretation & Guidelines: "),r.createElement("p",null,"The project team reserves the right to interpret and determine the terms and conditions of the Daily Login Rewards event. If you have any questions please reach out to us on"," ",r.createElement("a",{href:"https://discord.com/invite/MKJZhS4p2T",target:"_blank",className:k.fontWhite,rel:"noreferrer"},"Discord")," ","of hello@zypher.game.")),r.createElement("div",{className:k.btnWrap},r.createElement(D.default,{className:k.btn,onClick:n},"Ok")))))};var Z=n(1413);const V={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"};var j=n(6445),z=function(e,t){return r.createElement(j.Z,(0,Z.Z)((0,Z.Z)({},e),{},{ref:t,icon:V}))};z.displayName="ArrowRightOutlined";const U=r.forwardRef(z);var K,J,W=n(89250),$=n(29163);function q(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const Y=$.ZP.div(K||(K=q(["\n border-radius: 50px;\n background: rgba(101, 237, 188, 0.1);\n padding: ",";\n display: flex;\n justify-content: space-between;\n align-items: center;\n position: relative;\n margin-top: ",";\n margin-bottom: ",";\n color: #65edbc;\n font-family: Poppins;\n font-weight: 400;\n font-size: ",";\n cursor: pointer;\n p {\n padding: ",";\n margin: 0;\n strong {\n font-weight: 600;\n }\n }\n img {\n position: absolute;\n top: 30%;\n transform: translateY(-50%);\n left: 50px;\n width: 160px;\n height: 160px;\n\n @media (max-width: 768px) {\n top: 30%;\n left: 4px;\n width: 58px;\n height: 58px;\n transform: translateY(-50%);\n }\n }\n"])),(e=>{let{isMobile:t}=e;return t?"0 20px":"0 50px"}),(e=>{let{isMobile:t}=e;return t?"28px":"100px"}),(e=>{let{isMobile:t}=e;return t?"12px":"64px"}),(e=>{let{isMobile:t}=e;return t?"12px":"22px"}),(e=>{let{isMobile:t}=e;return t?"10px 0 10px 50px":"33px 0 33px 200px"})),H=$.ZP.div(J||(J=q(["\n padding: ",";\n color: #65edbc;\n background: rgba(101, 237, 188, 0.1);\n border: 1px solid #65edbc;\n border-radius: 28px;\n font-size: ",";\n margin-left: 10px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n white-space: nowrap;\n gap: 10px;\n"])),(e=>{let{isMobile:t}=e;return t?"4px 10px":"12px 20px"}),(e=>{let{isMobile:t}=e;return t?"12px":"16px"})),Q=(0,r.memo)((e=>{let{isMobile:t}=e;const n=(0,W.s0)(),a=(0,r.useCallback)((()=>{window.open("https://medium.com/@ZypherGames/upcoming-announcement-44e69204adb1","_blank")}),[n]);return r.createElement(Y,{onClick:a,isMobile:t},r.createElement("img",{src:"/img/home/Invitation_box.png"}),r.createElement("p",null,r.createElement("strong",null,"Launch Special: Top Up Now for Limited-Time Extra GP Airdrops!")),t?null:r.createElement(H,{isMobile:t},"Go ",r.createElement(U,null)))}));let X;!function(e){e.totalVault="totalVault",e.totalPoint="totalPoint",e.totalGame="totalGame",e.totalPlayers="totalPlayers",e.totalDebtObligation="totalDebtObligation",e.totalGpBurned="totalGpBurned"}(X||(X={}));const ee=(0,r.memo)((e=>{let{pointsStr:t,dayClaimed:n,claimHandle:a,isClaimLoading:i,claimConfKey:s}=e;const l=(0,u.Zl)(P),o=(0,v.d)(),p=(0,r.useMemo)((()=>{const e=new Date,t=new Date(Date.UTC(e.getUTCFullYear(),8,26,2,0,0)),n=new Date(Date.UTC(e.getUTCFullYear(),9,10,2,0,0));return!(e>n)&&tl(!0)},"DAILY REWARDS (",r.createElement("i",null,"9/26 - 10/10"),")",r.createElement(G.Z,{name:"question_bg",className:B.question}),r.createElement(F,null)),r.createElement("h2",{className:B.h22},"LOG IN DAILY TO GET ",r.createElement("br",null),r.createElement("i",null,t)," $GP")),r.createElement(te,{claimConfKey:s},n?r.createElement("p",{className:R()(B.btn,B.btnClaimed)},"CLAIMED"):p?r.createElement("div",{className:i?R()(B.btn,B.btnLoading):B.btn,onClick:a},"CLAIM",i&&r.createElement(N.Z,null)):r.createElement("p",{className:R()(B.btn,B.btnClaimed)},"CLAIM"))))),r.createElement(Q,{isMobile:o}))}),i()),te=(0,r.memo)((e=>{let{className:t,claimConfKey:n,children:a}=e;return n&&n===A.cW.princely?r.createElement("div",{className:t}," ",a):r.createElement(r.Fragment,null,a)}),i()),ne=ee;n(15086);var ae,ie=n(94055),re=(n(54277),n(74048)),se=n(8219);const le=$.ZP.div(ae||(oe=["\n border-bottom: 1px solid rgba(255, 255, 255, 0.1);\n padding: 3px 0;\n"],ue||(ue=oe.slice(0)),ae=Object.freeze(Object.defineProperties(oe,{raw:{value:Object.freeze(ue)}}))));var oe,ue;const pe=(0,r.memo)((e=>{let{total:t,className:n,dataKey:a,children:i}=e;try{return r.createElement(ie.default,{overlayClassName:"datatooltip",title:r.createElement(re.default,{className:n,direction:"vertical",split:r.createElement(le,null)},y.KC.map((e=>t[a][e]?r.createElement(me,{key:e,chainId:e,dataKey:a,total:t}):null)))},i)}catch(e){return r.createElement(r.Fragment,null,i)}}),i()),me=(0,r.memo)((e=>{var t;let{chainId:n,total:a,dataKey:i}=e;const s=(0,r.useMemo)((()=>{if(i===X.totalVault)return" "+y.F[n];if(i===X.totalGame);else{if(i===X.totalPlayers)return"";if(i===X.totalPoint||i===X.totalDebtObligation||i===X.totalGpBurned)return" GP"}return""}),[]);return r.createElement("div",{className:B.tooltipItem},r.createElement("img",{src:y.Tf[n],alt:"",width:20}),null!==(t=a[i][n])&&void 0!==t?t:"",s)}),i()),de=(0,r.memo)((e=>{let{data:t}=e;return r.createElement(se.i,{className:B.data},r.createElement(se.e,{label:"Data"}),r.createElement("div",{className:B.dataMain},[{title:"Value",value:"totalVault",dataKey:X.totalVault},{title:"Gold Points",img:"points",value:"totalPoint",dataKey:X.totalPoint},{title:"Games",value:"totalGame",dataKey:X.totalGame},{title:"Players",value:"totalPlayers",dataKey:X.totalPlayers},{title:"Debt Obligation",value:"totalDebtObligation",dataKey:X.totalDebtObligation},{title:"$GP Burned",value:"totalGpBurned",dataKey:X.totalGpBurned}].map((e=>{var n;return r.createElement("div",{className:B.item,key:e.title},r.createElement(pe,{dataKey:e.dataKey,total:t.total,className:B.tooltip},r.createElement("img",{src:"/img/home/data_".concat(null!==(n=e.img)&&void 0!==n?n:e.title.toLowerCase(),".svg"),alt:"",className:B.dataImg}),r.createElement("div",{className:B.itemDetail},r.createElement("div",{className:B.tit},e.title),r.createElement("div",{className:B.mun},e.dataKey===X.totalVault?"$":"",t[e.value]))))}))))}),i()),ye="games_games__GVWym",ce="games_main__Y0bTJ",be="games_tit__kAdkf",fe="games_txt__YLmrR",ge=(0,r.memo)((e=>{let{isMobile:t}=e;return r.createElement("div",{className:ye},t?null:r.createElement(se.e,{label:"Zypher Games"}),r.createElement("div",{className:ce},r.createElement("div",{className:be},"Zypher Games"),r.createElement("div",{className:fe},"Zypher Games is an innovative on-chain gaming platform that provides a decentralized and provably fair gaming experience by harnessing the power of Zero-Knowledge Proofs (ZKPs) and Artificial Intelligence. It creates engaging and immersive fully on-chain games that showcase the transformative potential of combining blockchain and AI technology.")))}));var Te,he,ve,we=n(97005);function _e(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const Ee=$.ZP.div(Te||(Te=_e(["\n text-align: center;\n white-space: nowrap;\n overflow-x: scroll;\n overflow-y: hidden;\n display: flex;\n"]))),xe=$.ZP.div(he||(he=_e(["\n padding: ",";\n white-space: nowrap;\n font-size: 14px;\n display: flex;\n background-color: ",";\n border-radius: 25px;\n margin-right: ",";\n display: flex;\n justify-content: center;\n align-items: center;\n a {\n color: ",";\n font-size: ",";\n }\n"])),(e=>{let{isMobile:t}=e;return t?"4px 16px":"10px 32px"}),(e=>{let{color:t}=e;return"rgba(".concat(t,", 0.1)")}),(e=>{var t;let{gap:n}=e;return null!==(t=n+"px")&&void 0!==t?t:"10px"}),(e=>{let{color:t}=e;return"rgba(".concat(t,",1)")}),(e=>{let{isMobile:t}=e;return t?"14px":"20px"})),Me=(0,$.ZP)(G.Z)(ve||(ve=_e(["\n fill: ",";\n width: ",";\n height: ",";\n display: block;\n margin-right: ",";\n"])),(e=>{let{color:t}=e;return null!=t?t:"none"}),(e=>{let{isMobile:t}=e;return t?"20px":"30px"}),(e=>{let{isMobile:t}=e;return t?"20px":"30px"}),(e=>{let{isMobile:t}=e;return t?"4px":"10px"})),Ne=(0,r.memo)((()=>{const e=(0,v.d)();return r.createElement(we.Z,{gradient:!1,pauseOnHover:!0,play:!0},r.createElement(Ee,null,r.createElement(xe,{color:"81, 156, 255",gap:32,isMobile:e},r.createElement(Me,{name:"twitter",color:"#519CFF",isMobile:e}),r.createElement("a",{href:"https://twitter.com/Zypher_Games",target:"_blank",rel:"noreferrer"},"Follow us on Twitter")),r.createElement(xe,{color:"126, 232, 126",gap:32,isMobile:e},r.createElement(Me,{name:"parachute",color:"#7EE87E",isMobile:e}),r.createElement("a",{href:"https://medium.com/@ZypherGames/upcoming-announcement-44e69204adb1",target:"_blank",rel:"noreferrer"},"The daily login airdrop is here!")),r.createElement(xe,{color:"111, 229, 255",gap:32,isMobile:e},r.createElement(Me,{name:"discord",color:"#6FE5FF",isMobile:e}),r.createElement("a",{href:"https://discord.com/invite/MKJZhS4p2T",target:"_blank",rel:"noreferrer"},"Join our Community and Explore the Game together"))))})),Ie="index_home__HJOfb",Re="index_content__VV+Jk",Ce="index_top__nkEEv",Ge="index_footer__KIgGU";var Ae=n(89082);const Oe=()=>{const{account:e}=(0,g.a)(),[t,n]=(0,u.FV)(Ae.Wg),a=(0,h.h)(),[i,s]=(0,u.FV)(Ae.rY),[d,c]=(0,r.useState)(!1),{list:N,hasError:I}=(0,r.useMemo)((()=>a),[a]);(0,r.useEffect)((()=>{if(N&&N.size){let e=[];Array.from(N.entries()).forEach((t=>{let[,n]=t;e=e.concat(n)})),s(e)}}),[null==N?void 0:N.size]);const R=(0,w.U)();(0,r.useEffect)((()=>{i.length?c(!1):c(!0)}),[i.length]);const C=(0,r.useCallback)((()=>{R&&(0,_.Z)({contractFun:m.ZP,contracts:{contractName:y.iJ.Lobby,method:"summary",account:e,params:[]},defaultValue:[new(l())("0"),new(l())("0")]}).then((async t=>{const a=E(t,0),i=E(t,1),r=await(0,_.b)({contractName:y.iJ.Points,defaultValue:new(l())("0")}),s=x(r,!0,R),u=await(0,_.Z)({contractFun:f.Z,contracts:{contractName:y.iJ.ZypherGameToken,method:"totalSupply",account:e,params:[]},defaultValue:new(l())("0")}),p=x(u),m=await(0,_.Z)({contractFun:b,contracts:{contractName:y.iJ.ZypherGameToken,method:"getResidue",account:e,params:[]},defaultValue:new(l())("0")}),d=x(m),c=await(0,_.Z)({contractFun:b,contracts:{contractName:y.iJ.ZypherGameToken,method:"getRepay",account:e,params:[]},defaultValue:new(l())("0")}),g=x(c);n({totalVault:(0,M.lb)(Number(o.formatEther(s)),2),totalPoint:(0,M.lb)(Number(o.formatEther(p)),0),totalGame:(0,M.lb)(new(l())(a).toNumber(),0),totalPlayers:(0,M.lb)(new(l())(i).toNumber(),0),totalDebtObligation:(0,M.lb)(new(l())(o.formatEther(d)).toNumber()),totalGpBurned:(0,M.lb)(new(l())(o.formatEther(g)).toNumber()),total:{[X.totalGame]:Object.fromEntries(t.map((e=>[e.chainId,new(l())(e.response[0]).toString()]))),[X.totalPlayers]:Object.fromEntries(t.map((e=>[e.chainId,new(l())(e.response[1]).toString()]))),[X.totalVault]:Object.fromEntries(r.map((e=>[e.chainId,(0,M.lb)(Number(o.formatEther(new(l())(e.response.toString()).toString())),3)]))),[X.totalPoint]:Object.fromEntries(u.map((e=>[e.chainId,(0,M.lb)(Number(o.formatEther(new(l())(e.response.toString()).toString())))]))),[X.totalDebtObligation]:Object.fromEntries(m.map((e=>[e.chainId,(0,M.lb)(Number(o.formatEther(new(l())(e.response.toString()).toString())))]))),[X.totalGpBurned]:Object.fromEntries(c.map((e=>[e.chainId,(0,M.lb)(Number(o.formatEther(new(l())(e.response.toString()).toString())))])))}})})).catch((e=>{console.error("An error occurred:",e)}))}),[e,R]),G=(0,u.sJ)(p.DM);(0,T.Z)(C,8e3),(0,r.useEffect)(C,[G]);const O=(0,v.d)(),P=(0,A.b0)();return r.createElement("div",{className:Ie},r.createElement("div",{className:Ce},r.createElement(Ne,null)),r.createElement("div",{className:Re},r.createElement(ne,P),r.createElement(de,{data:t}),r.createElement(ge,{isMobile:O}),r.createElement("div",{className:Ge},"Copyright © 2023 Zypher Games. All rights reserved.")))},Pe=(0,r.memo)((()=>r.createElement(Oe,null)),i())},89082:(e,t,n)=>{"use strict";n.d(t,{Wg:()=>r,rY:()=>s});var a=n(2804),i=n(59314);(0,a.cn)({key:"videoDialog",default:!1});const r=(0,a.cn)({key:"homeDateState",default:{totalVault:"0",totalPoint:"0",totalGame:"0",totalPlayers:"0",totalDebtObligation:"0",totalGpBurned:"0",total:{}},effects_UNSTABLE:[(0,i.Nh)("homeDateState")]}),s=(0,a.cn)({key:"gameListChainListState2",default:[]})},74001:(e,t,n)=>{"use strict";n.d(t,{b:()=>l,Z:()=>o});var a=n(95534),i=n.n(a),r=n(47631),s=n(6087);async function l(e){let{contractName:t,defaultValue:n}=e;const a=r.KC.filter((e=>e!==r.a_.Arbitrum)).map((async e=>{try{const n=(0,r.Cf)(e,t),a=await(0,s.VH)(i()(r.Vl[e]));return{contractAddress:n,method:"getBalance",chainId:e,response:await a.getBalance(n)}}catch(t){return{contractAddress:void 0,method:"getBalance",chainId:e,response:n}}}));return Promise.all(a)}async function o(e){let{contractFun:t,contracts:n,defaultValue:a}=e;await function(e){const t=+new Date;let n;return new Promise(((a,i)=>{n=setInterval((()=>{t+1e3*e<+new Date&&(clearInterval(n),a(!0))}),10)}))}(1);const i=r.KC.filter((e=>"summary"===n.method||e!==r.a_.Arbitrum)).map((async e=>{try{const a=(0,r.Cf)(e,n.contractName),i=await t(e,a);let s;"function"==typeof n.params?s=n.params(e):Array.isArray(n.params)&&(s=n.params);const l=await i.read[n.method](s);return{method:n.method,chainId:e,response:l}}catch(t){if("getResidue"===n.method){const a=(0,r.Cf)(e,n.contractName);console.error("batchRequestContracts: ",a,e,n.contractName,t)}return{method:n.method,chainId:e,response:a}}}));return"summary"===n.method&&console.log({requests:i}),Promise.all(i)}},62882:(e,t,n)=>{"use strict";n.d(t,{O:()=>p});var a=n(44431),i=n.n(a),r=n(47631),s=n(49786),l=n(33030),o=n(88017);const u={[r.a_.Mainnet]:"BNB",[r.a_.Testnet]:"BT",[r.a_.Arbitrum]:"AO",[r.a_.ArbitrumGoerli]:"AGT",[r.a_.ArbitrumRinkeby]:"ARBR",[r.a_.LineaTestnet]:"LT",[r.a_.LineaMainnet]:"LM",[r.a_.POLYGON_MUMBAI]:"PM",[r.a_.POLYGON_ZKEVM]:"PZT",[r.a_.OPBNB]:"OB",[r.a_.ScrollSepoliaTestnet]:"SST",[r.a_.ScrollAlphaTestnet]:"SAT",[r.a_.OPBNBTEST]:"OBT"},p=e=>{let{chainId:t,game:n,gameIdInfo:a}=e;const{status:r,gameId:p,players:m,winner:d,cardNumbers:y,selectedNumbers:c}=n,[b,f,g,,T,,h]=a;try{const e=r;let n="".concat(m.length," players"),b=new(i())(g).dividedBy(m.length).toString();b="0"===b?"5000":b;let f="-",h="-";if(e===s._.End){n=d;const e=new(i())(T);f=(0,o.lb)(Number(T)),h=(0,o.lb)(e.dividedBy(new(i())(b)).toNumber())}return b=(0,o.lb)(Number(b),0),{chainId:t,status:e,startTime:(0,l.xz)(a[0]),startTimeMobile:(0,l._X)(a[0]),game:s.W.zBingo,winner:d,players:m.map((e=>{let{cardId:t,isAbandoned:n,user:a}=e;return{user:a,cardId:t.toString(),isAbandoned:n}})),roomID:p.toString(),roomIDStr:(t?u[t]:"")+"B#"+p.toString(),bingoInfo:{cardNumbers:y,selectedNumbers:c},gameIdInfo:a,inputPerPlayer:b,multiplier:h,win:f,winnerOrPlayers:n}}catch(e){return void console.error("formatGames: ",e)}}},97005:(e,t,n)=>{var a=n(67294);function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=i(a);!function(e){if(!e||"undefined"==typeof window)return;const t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t)}('.marquee-container {\n overflow-x: hidden !important;\n display: flex !important;\n flex-direction: row !important;\n position: relative;\n width: var(--width);\n transform: var(--transform);\n}\n.marquee-container:hover div {\n animation-play-state: var(--pause-on-hover);\n}\n.marquee-container:active div {\n animation-play-state: var(--pause-on-click);\n}\n\n.overlay {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n.overlay::before, .overlay::after {\n background: linear-gradient(to right, var(--gradient-color));\n content: "";\n height: 100%;\n position: absolute;\n width: var(--gradient-width);\n z-index: 2;\n}\n.overlay::after {\n right: 0;\n top: 0;\n transform: rotateZ(180deg);\n}\n.overlay::before {\n left: 0;\n top: 0;\n}\n\n.marquee {\n flex: 0 0 auto;\n min-width: var(--min-width);\n z-index: 1;\n display: flex;\n flex-direction: row;\n align-items: center;\n animation: scroll var(--duration) linear var(--delay) var(--iteration-count);\n animation-play-state: var(--play);\n animation-delay: var(--delay);\n animation-direction: var(--direction);\n}\n@keyframes scroll {\n 0% {\n transform: translateX(0%);\n }\n 100% {\n transform: translateX(-100%);\n }\n}\n\n.initial-child-container {\n flex: 0 0 auto;\n display: flex;\n min-width: auto;\n flex-direction: row;\n}\n\n.child {\n transform: var(--transform);\n}');const s=a.forwardRef((function({style:e={},className:t="",autoFill:n=!1,play:i=!0,pauseOnHover:s=!1,pauseOnClick:l=!1,direction:o="left",speed:u=50,delay:p=0,loop:m=0,gradient:d=!1,gradientColor:y=[255,255,255],gradientWidth:c=200,onFinish:b,onCycleComplete:f,onMount:g,children:T},h){const[v,w]=a.useState(0),[_,E]=a.useState(0),[x,M]=a.useState(1),[N,I]=a.useState(!1),R=a.useRef(null),C=h||R,G=a.useRef(null),A=a.useCallback((()=>{if(G.current&&C.current){const e=C.current.getBoundingClientRect(),t=G.current.getBoundingClientRect();let a=e.width,i=t.width;"up"!==o&&"down"!==o||(a=e.height,i=t.height),M(n&&a&&i&&i{if(N&&(A(),G.current&&C.current)){const e=new ResizeObserver((()=>A()));return e.observe(C.current),e.observe(G.current),()=>{e&&e.disconnect()}}}),[A,C,N]),a.useEffect((()=>{A()}),[A,T]),a.useEffect((()=>{I(!0)}),[]),a.useEffect((()=>{"function"==typeof g&&g()}),[]);const O=a.useMemo((()=>n?_*x/u:_Object.assign(Object.assign({},e),{"--pause-on-hover":!i||s?"paused":"running","--pause-on-click":!i||s&&!l||l?"paused":"running","--width":"up"===o||"down"===o?"100vh":"100%","--transform":"up"===o?"rotate(-90deg)":"down"===o?"rotate(90deg)":"none"})),[e,i,s,l,o]),D=a.useMemo((()=>({"--gradient-color":`${P}, 1), ${P}, 0)`,"--gradient-width":"number"==typeof c?`${c}px`:c})),[P,c]),S=a.useMemo((()=>({"--play":i?"running":"paused","--direction":"left"===o?"normal":"reverse","--duration":`${O}s`,"--delay":`${p}s`,"--iteration-count":m?`${m}`:"infinite","--min-width":n?"auto":"100%"})),[i,o,O,p,m,n]),L=a.useMemo((()=>({"--transform":"up"===o?"rotate(90deg)":"down"===o?"rotate(-90deg)":"none"})),[o]),k=a.useCallback((e=>[...Array(Number.isFinite(e)&&e>=0?e:0)].map(((e,t)=>r.default.createElement(a.Fragment,{key:t},a.Children.map(T,(e=>r.default.createElement("div",{style:L,className:"child"},e))))))),[L,T]);return N?r.default.createElement("div",{ref:C,style:B,className:"marquee-container "+t},d&&r.default.createElement("div",{style:D,className:"overlay"}),r.default.createElement("div",{className:"marquee",style:S,onAnimationIteration:f,onAnimationEnd:b},r.default.createElement("div",{className:"initial-child-container",ref:G},a.Children.map(T,(e=>r.default.createElement("div",{style:L,className:"child"},e)))),k(x-1)),r.default.createElement("div",{className:"marquee",style:S},k(x))):null}));t.Z=s},46896:()=>{},94083:()=>{},50490:e=>{"use strict";e.exports=JSON.parse('[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"gameId","type":"uint256"},{"indexed":true,"internalType":"address","name":"player","type":"address"},{"indexed":false,"internalType":"uint8[][]","name":"playerCardNumbers","type":"uint8[][]"}],"name":"Bingo","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"gameId","type":"uint256"},{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"isOvertime","type":"bool"}],"name":"GameHalted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"gameId","type":"uint256"},{"indexed":true,"internalType":"address","name":"player","type":"address"},{"indexed":true,"internalType":"uint256","name":"cardId","type":"uint256"},{"indexed":false,"internalType":"uint8","name":"position","type":"uint8"}],"name":"GameParticipated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"gameId","type":"uint256"},{"indexed":false,"internalType":"address","name":"cardContract","type":"address"},{"indexed":false,"internalType":"address[]","name":"players","type":"address[]"}],"name":"GameStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"player","type":"address"}],"name":"LineupJoined","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"player","type":"address"}],"name":"LineupLeft","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"gameId","type":"uint256"},{"indexed":false,"internalType":"uint32","name":"round","type":"uint32"},{"indexed":true,"internalType":"address","name":"player","type":"address"},{"indexed":false,"internalType":"uint8","name":"number","type":"uint8"}],"name":"NumberSelected","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newReward","type":"address"},{"indexed":true,"internalType":"address","name":"oldReward","type":"address"}],"name":"RewardChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[],"name":"GAME_REWARD_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NAME","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RECENT_GAME_COUNTS","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"_seasonLogs","outputs":[{"internalType":"uint256","name":"wins","type":"uint256"},{"internalType":"uint256","name":"joined","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gameId","type":"uint256"},{"internalType":"uint8[][]","name":"cardNumbers","type":"uint8[][]"},{"internalType":"bytes","name":"signedGameLabel","type":"bytes"}],"name":"bingo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"expectedLines","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deno","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gameCard","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gameId","type":"uint256"}],"name":"getCurrentRound","outputs":[{"internalType":"uint32","name":"round","type":"uint32"},{"internalType":"address","name":"player","type":"address"},{"internalType":"uint32","name":"remain","type":"uint32"},{"internalType":"string","name":"status","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gameId","type":"uint256"}],"name":"getGameInfo","outputs":[{"internalType":"uint32","name":"startedAt","type":"uint32"},{"internalType":"uint32","name":"endedAt","type":"uint32"},{"internalType":"address","name":"winner","type":"address"},{"components":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"cardId","type":"uint256"}],"internalType":"struct IBingoRoom.Participant[]","name":"players","type":"tuple[]"},{"components":[{"internalType":"uint32","name":"round","type":"uint32"},{"internalType":"uint8","name":"number","type":"uint8"},{"internalType":"uint32","name":"timestamp","type":"uint32"},{"internalType":"address","name":"player","type":"address"}],"internalType":"struct IBingoRoom.GameRound[]","name":"rounds","type":"tuple[]"},{"internalType":"string","name":"status","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gameId","type":"uint256"}],"name":"getLatestRound","outputs":[{"components":[{"internalType":"uint32","name":"round","type":"uint32"},{"internalType":"uint8","name":"number","type":"uint8"},{"internalType":"uint32","name":"timestamp","type":"uint32"},{"internalType":"address","name":"player","type":"address"}],"internalType":"struct IBingoRoom.GameRound","name":"last","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNextKeyLabel","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gameId","type":"uint256"}],"name":"getSelectedNumbers","outputs":[{"internalType":"uint8[]","name":"numbers","type":"uint8[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_gameCard","type":"address"},{"internalType":"uint8","name":"_expectedLines","type":"uint8"},{"internalType":"uint8","name":"_minPlayers","type":"uint8"},{"internalType":"uint8","name":"_maxPlayers","type":"uint8"},{"internalType":"uint8","name":"minCardNumber","type":"uint8"},{"internalType":"uint8","name":"maxCardNumber","type":"uint8"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"zkCard","type":"bytes"}],"name":"join","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"leave","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lineupUsers","outputs":[{"internalType":"address[]","name":"list","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPlayers","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minPlayers","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"title","type":"string"}],"name":"newSeason","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"skip","type":"uint256"}],"name":"playedGames","outputs":[{"components":[{"internalType":"uint256","name":"gameId","type":"uint256"},{"internalType":"string","name":"status","type":"string"},{"internalType":"address","name":"winner","type":"address"},{"internalType":"uint8[][]","name":"cardNumbers","type":"uint8[][]"},{"internalType":"uint8[]","name":"selectedNumbers","type":"uint8[]"},{"components":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"cardId","type":"uint256"}],"internalType":"struct IBingoRoom.Participant[]","name":"players","type":"tuple[]"}],"internalType":"struct IBingoRoom.RecentGame[]","name":"games","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum IBingoRoom.RecentGameFilter","name":"filter","type":"uint8"}],"name":"recentGames","outputs":[{"components":[{"internalType":"uint256","name":"gameId","type":"uint256"},{"internalType":"string","name":"status","type":"string"},{"internalType":"address","name":"winner","type":"address"},{"internalType":"uint8[][]","name":"cardNumbers","type":"uint8[][]"},{"internalType":"uint8[]","name":"selectedNumbers","type":"uint8[]"},{"components":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"cardId","type":"uint256"}],"internalType":"struct IBingoRoom.Participant[]","name":"players","type":"tuple[]"}],"internalType":"struct IBingoRoom.RecentGame[]","name":"games","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"player","type":"address"},{"internalType":"uint8[][]","name":"cardNumbers","type":"uint8[][]"},{"internalType":"bytes","name":"signedGameLabel","type":"bytes"}],"name":"restoreGame","outputs":[{"internalType":"uint256","name":"playingGameId","type":"uint256"},{"internalType":"uint32","name":"autoEndTime","type":"uint32"},{"internalType":"bool","name":"isCardContentMatched","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"gameId","type":"uint256"},{"internalType":"uint8","name":"number","type":"uint8"},{"internalType":"uint8[][]","name":"cardNumbers","type":"uint8[][]"},{"internalType":"bytes","name":"signedGameLabel","type":"bytes"}],"name":"selectAndBingo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"gameId","type":"uint256"},{"internalType":"uint8","name":"number","type":"uint8"}],"name":"selectNumber","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"startTimeout","type":"uint32"},{"internalType":"uint8","name":"boostRounds","type":"uint8"},{"internalType":"uint32","name":"roundGap","type":"uint32"},{"internalType":"uint32","name":"roundTimeout","type":"uint32"},{"internalType":"uint32","name":"maxDuration","type":"uint32"}],"name":"setGameTimers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newReward","type":"address"},{"internalType":"uint32","name":"amount","type":"uint32"}],"name":"setReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"start","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"summary","outputs":[{"internalType":"uint256","name":"totalGameStarted","type":"uint256"},{"internalType":"uint256","name":"totalPlayersJoined","type":"uint256"},{"internalType":"uint256","name":"totalRewardDistributed","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timer","outputs":[{"components":[{"internalType":"uint32","name":"startTimeout","type":"uint32"},{"internalType":"uint8","name":"boostRounds","type":"uint8"},{"internalType":"uint32","name":"roundGap","type":"uint32"},{"internalType":"uint32","name":"roundTimeout","type":"uint32"},{"internalType":"uint32","name":"maxDuration","type":"uint32"}],"internalType":"struct BingoGameRoom.GameTimeout","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"userRecords","outputs":[{"components":[{"internalType":"uint256","name":"wins","type":"uint256"},{"internalType":"uint256","name":"joined","type":"uint256"}],"internalType":"struct IUserCenter.PlayerStatistics","name":"current","type":"tuple"},{"components":[{"internalType":"uint256","name":"wins","type":"uint256"},{"internalType":"uint256","name":"joined","type":"uint256"}],"internalType":"struct IUserCenter.PlayerStatistics","name":"overall","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"}]')}}]); \ No newline at end of file diff --git a/3571.a4bc9442.chunk.css b/3571.a4bc9442.chunk.css deleted file mode 100644 index 5895cbd..0000000 --- a/3571.a4bc9442.chunk.css +++ /dev/null @@ -1 +0,0 @@ -.banner_header__Okx8j{display:flex;gap:24px;justify-content:space-between}@media screen and (max-width:950px){.banner_header__Okx8j{flex-direction:column;gap:16px}}.banner_header__Okx8j .banner_headerFl__UAbjr,.banner_header__Okx8j .banner_headerFr__KuVjm{border-radius:20px;overflow:hidden;position:relative;width:50%}@media screen and (max-width:950px){.banner_header__Okx8j .banner_headerFl__UAbjr,.banner_header__Okx8j .banner_headerFr__KuVjm{height:250px;min-width:auto;width:100%}}@media screen and (max-width:768px){.banner_header__Okx8j .banner_headerFl__UAbjr,.banner_header__Okx8j .banner_headerFr__KuVjm{border-radius:12px}}@media screen and (max-width:468px){.banner_header__Okx8j .banner_headerFl__UAbjr,.banner_header__Okx8j .banner_headerFr__KuVjm{height:168px}}.banner_header__Okx8j .banner_headerFl__UAbjr{background:radial-gradient(86.47% 69.1% at 50% 50%,#fff177 0,#ff7a00 100%)}.banner_header__Okx8j .banner_headerFr__KuVjm{background:linear-gradient(149deg,#7465fc,#5b4efd)}.banner_header__Okx8j .banner_banner__Q6u1g{align-items:center;display:flex;height:100%;justify-content:center}.banner_header__Okx8j .banner_bannerbg__SJvR\+{height:100%;width:100%}.banner_header__Okx8j .banner_bannerInner__LblfL{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;position:absolute;top:0;width:100%;z-index:2}@media screen and (max-width:1200px){.banner_header__Okx8j .banner_bannerInner__LblfL{width:90%}}@media screen and (max-width:768px){.banner_header__Okx8j .banner_bannerInner__LblfL{width:80%}}.banner_header__Okx8j .banner_bannerFlInnerImg__VoKj7{margin-bottom:4px;width:55%}@media screen and (max-width:1400px){.banner_header__Okx8j .banner_bannerFlInnerImg__VoKj7{width:60%}}@media screen and (max-width:950px){.banner_header__Okx8j .banner_bannerFlInnerImg__VoKj7{width:60%}}@media screen and (max-width:768px){.banner_header__Okx8j .banner_bannerFlInnerImg__VoKj7{width:50%}}@media screen and (max-width:468px){.banner_header__Okx8j .banner_bannerFlInnerImg__VoKj7{width:65%}}.banner_header__Okx8j .banner_bannerFlBtnWrap__mPQtQ{align-items:center;display:flex;gap:24px;justify-content:space-between;position:relative;z-index:2}@media screen and (max-width:1400px){.banner_header__Okx8j .banner_bannerFlBtnWrap__mPQtQ{gap:14px}}.banner_header__Okx8j .banner_bannerFlBtnWrap__mPQtQ .banner_bannerFlBtn__VrxZn{width:45%;width:220px}@media screen and (max-width:1500px){.banner_header__Okx8j .banner_bannerFlBtnWrap__mPQtQ .banner_bannerFlBtn__VrxZn{width:180px}}@media screen and (max-width:1200px){.banner_header__Okx8j .banner_bannerFlBtnWrap__mPQtQ .banner_bannerFlBtn__VrxZn{width:140px}}@media screen and (max-width:950px){.banner_header__Okx8j .banner_bannerFlBtnWrap__mPQtQ .banner_bannerFlBtn__VrxZn{width:160px}}@media screen and (max-width:468px){.banner_header__Okx8j .banner_bannerFlBtnWrap__mPQtQ .banner_bannerFlBtn__VrxZn{width:142px}}.banner_header__Okx8j .banner_gameRuleBtnImg__lD2Un{cursor:pointer;width:100%}.banner_header__Okx8j .banner_headerFr__KuVjm .banner_bannerbg__SJvR\+{position:absolute;right:0;width:auto}.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD{margin-left:6%;padding:46px 0 40px;position:relative;top:50%;transform:translateY(-50%);z-index:2}.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD h2,.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD h3,.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD p{font-family:PoetsenOne;margin:0;padding:0;text-transform:uppercase}.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD h2{color:#fff;font-size:42px;line-height:46px;text-shadow:-1px -1px 0 #4d2700,1px -1px 0 #4d2700,-1px 1px 0 #4d2700,1px 1px 0 #4d2700}.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD h2.banner_h23__N8sGi{align-items:center;display:flex;font-size:24px;line-height:30px;margin-bottom:16px}@media screen and (max-width:1550px){.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD h2.banner_h23__N8sGi{font-size:16px;line-height:32px}}@media screen and (max-width:768px){.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD h2.banner_h23__N8sGi{font-size:12px;line-height:24px;margin-bottom:8px}}.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD h2.banner_h23__N8sGi svg{fill:#fff;cursor:pointer;height:24px;margin-left:8px;width:24px}@media screen and (max-width:1550px){.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD h2.banner_h23__N8sGi svg{height:18px;margin-left:6px;width:18px}}.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD h2.banner_h23__N8sGi i{color:#ffcf42}.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD h2.banner_h22__mAx37{line-height:46px;margin-bottom:32px}@media screen and (max-width:1550px){.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD h2.banner_h22__mAx37{font-size:20px;line-height:24px;margin-bottom:20px}}.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD h2.banner_h22__mAx37 i{color:#ffcf42}.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD h2.banner_h21__mWVCf{font-size:42px;line-height:50px;padding-bottom:4px;width:60%}@media screen and (max-width:1550px){.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD h2{font-size:35px;line-height:50px;white-space:nowrap}.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD h2.banner_h21__mWVCf{font-size:30px;line-height:36px;white-space:normal;width:70%}}@media screen and (max-width:1200px){.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD h2{font-size:30px;line-height:40px}.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD h2.banner_h21__mWVCf{font-size:30px;line-height:36px;white-space:normal;width:70%}}@media screen and (max-width:768px){.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD h2.banner_h21__mWVCf{line-height:36px}}@media screen and (max-width:468px){.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD h2{font-size:20px;line-height:24px}.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD h2.banner_h21__mWVCf{font-size:18px;line-height:22px}}.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD .banner_flex__Zf2ee{display:flex;gap:17px;margin-bottom:24px;margin-top:12px}@media screen and (max-width:1550px){.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD .banner_flex__Zf2ee{margin-bottom:16px;margin-top:6px}}@media screen and (max-width:768px){.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD .banner_flex__Zf2ee{display:block;margin-bottom:0}}.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD .banner_flex__Zf2ee .banner_headerFrInnerBg__y2uro{margin-bottom:0;margin-top:0}@media screen and (max-width:768px){.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD .banner_flex__Zf2ee .banner_headerFrInnerBg__y2uro{margin-bottom:10px}}.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD .banner_headerFrInnerBg__y2uro{align-items:center;background:rgba(42,36,132,.3);border-radius:6px;display:inline-flex;margin-bottom:24px;margin-top:12px;padding:8px 25px}@media screen and (max-width:1550px){.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD .banner_headerFrInnerBg__y2uro{margin-bottom:16px;margin-top:6px;padding:3px 14px}}@media screen and (max-width:1200px){.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD .banner_headerFrInnerBg__y2uro{padding:0 14px}}@media screen and (max-width:768px){.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD .banner_headerFrInnerBg__y2uro{margin-bottom:16px;margin-top:6px;padding:0 14px}}.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD .banner_headerFrInnerBg__y2uro h3{color:#ffcf42;font-size:40px;line-height:48px;margin-right:10px;text-shadow:1px 1px 1px #8d3300}@media screen and (max-width:1550px){.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD .banner_headerFrInnerBg__y2uro h3{font-size:25px;line-height:30px}}@media screen and (max-width:468px){.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD .banner_headerFrInnerBg__y2uro h3{font-size:20px;line-height:36px;margin-right:4px}}.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD .banner_headerFrInnerBg__y2uro img{width:48px}@media screen and (max-width:1550px){.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD .banner_headerFrInnerBg__y2uro img{width:40px}}@media screen and (max-width:768px){.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD .banner_headerFrInnerBg__y2uro img{width:32px}}.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD .banner_btn__9aiLm{align-items:center;background:#ff997b;border-radius:10px;color:#3c233a;cursor:pointer;display:flex;font-family:PoetsenOne;font-size:28px;gap:10px;justify-content:center;line-height:54px;text-align:center;text-transform:uppercase;white-space:nowrap;width:168px}.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD .banner_btn__9aiLm.banner_btnLoading__ASkm9{opacity:.9}@media screen and (max-width:1550px){.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD .banner_btn__9aiLm{font-size:20px;line-height:40px;width:128px}}@media screen and (max-width:1200px){.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD .banner_btn__9aiLm{font-size:18px;line-height:32px;width:100px}}@media screen and (max-width:468px){.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD .banner_btn__9aiLm{border-radius:6px;font-size:14px;line-height:30px;padding:0 24px;width:72px}}.banner_header__Okx8j .banner_headerFr__KuVjm .banner_headerFrInner__eBXcD .banner_btnClaimed__ciL3A{background:#c1bcff;color:#555ad3;cursor:no-drop}.banner_data__u0ddC .banner_dataMain__zAdC8{display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between}@media screen and (max-width:768px){.banner_data__u0ddC .banner_dataMain__zAdC8{gap:10px}}.banner_data__u0ddC .banner_dataMain__zAdC8 .banner_item__iAxoF{align-items:center;background:hsla(0,0%,100%,.04);border-radius:20px;display:flex;flex-basis:calc(33.33% - 24px);padding:38px 0}@media screen and (max-width:1368px){.banner_data__u0ddC .banner_dataMain__zAdC8 .banner_item__iAxoF{flex-basis:calc(50% - 24px);max-width:calc(50% - 24px);padding:18px 0}}@media screen and (max-width:768px){.banner_data__u0ddC .banner_dataMain__zAdC8 .banner_item__iAxoF{border-radius:8px;flex-basis:calc(50% - 10px);max-width:calc(50% - 10px);padding:10px 0}}.banner_data__u0ddC .banner_dataMain__zAdC8 .banner_item__iAxoF>span{align-items:center;display:flex;flex:1}.banner_data__u0ddC .banner_dataMain__zAdC8 .banner_item__iAxoF .banner_dataImg__4Odtt{margin-left:38px;margin-right:16px;max-width:84px;min-width:60px;width:30%}@media screen and (max-width:768px){.banner_data__u0ddC .banner_dataMain__zAdC8 .banner_item__iAxoF .banner_dataImg__4Odtt{margin-left:10px;margin-right:10px;min-width:auto;width:40px}}.banner_data__u0ddC .banner_dataMain__zAdC8 .banner_item__iAxoF .banner_itemDetail__qNbOv div{margin-right:38px}@media screen and (max-width:768px){.banner_data__u0ddC .banner_dataMain__zAdC8 .banner_item__iAxoF .banner_itemDetail__qNbOv div{margin-right:10px}}.banner_data__u0ddC .banner_dataMain__zAdC8 .banner_item__iAxoF .banner_tit__LPzBj{font-size:20px;font-weight:500;line-height:30px;white-space:nowrap}@media screen and (max-width:1068px){.banner_data__u0ddC .banner_dataMain__zAdC8 .banner_item__iAxoF .banner_tit__LPzBj{font-size:18px}}@media screen and (max-width:768px){.banner_data__u0ddC .banner_dataMain__zAdC8 .banner_item__iAxoF .banner_tit__LPzBj{font-size:12px;font-weight:400;line-height:18px;opacity:.6}}.banner_data__u0ddC .banner_dataMain__zAdC8 .banner_item__iAxoF .banner_mun__BTPzt{font-size:20px;font-size:34px;font-weight:600;line-height:30px;margin:10px 0 0}@media screen and (max-width:1368px){.banner_data__u0ddC .banner_dataMain__zAdC8 .banner_item__iAxoF .banner_mun__BTPzt{font-size:16px}}@media screen and (max-width:768px){.banner_data__u0ddC .banner_dataMain__zAdC8 .banner_item__iAxoF .banner_mun__BTPzt{font-size:14px;line-height:22px;margin:0}}.banner_data__u0ddC .banner_tooltip__s6UwQ{background-color:#2c2c2c;width:160px}.banner_tooltipItem__0wBr0{align-items:center;display:flex;gap:10px}.DailyRewardsRuleDialog_dialogContent__qqbV2{background-color:#131313;border-radius:20px;color:#fff;font-size:14px;overflow:hidden;padding:0;width:420px}@media screen and (max-width:468px){.DailyRewardsRuleDialog_dialogContent__qqbV2{width:320px}}.DailyRewardsRuleDialog_dialogContent__qqbV2 .DailyRewardsRuleDialog_cursor__II0OJ{cursor:pointer}.DailyRewardsRuleDialog_dialogContent__qqbV2 .DailyRewardsRuleDialog_dialogHeader__b2JIY{background-color:#1c1c1c;display:flex;font-size:16px;font-weight:500;justify-content:space-between;padding:20px}.DailyRewardsRuleDialog_dialogContent__qqbV2 .DailyRewardsRuleDialog_dialogHeader__b2JIY h3{color:#fff;margin:0;padding:0}.DailyRewardsRuleDialog_dialogContent__qqbV2 .DailyRewardsRuleDialog_dialogContainer__yxHFf{max-height:70vh;overflow-y:scroll;padding:20px 20px 0}.DailyRewardsRuleDialog_dialogContent__qqbV2 .DailyRewardsRuleDialog_dialogContainer__yxHFf h4{color:#fff;font-weight:700}.DailyRewardsRuleDialog_dialogContent__qqbV2 .DailyRewardsRuleDialog_dialogContainer__yxHFf h4 p{display:inline-block;font-weight:400}.DailyRewardsRuleDialog_dialogContent__qqbV2 .DailyRewardsRuleDialog_dialogContainer__yxHFf p{font-size:14px;font-weight:400;line-height:24px;margin-bottom:30px}.DailyRewardsRuleDialog_dialogContent__qqbV2 .DailyRewardsRuleDialog_dialogContainer__yxHFf p:last-child{margin-bottom:0}.DailyRewardsRuleDialog_dialogContent__qqbV2 .DailyRewardsRuleDialog_dialogContainer__yxHFf p strong{color:#65edbc;font-size:14px;font-weight:600}.DailyRewardsRuleDialog_dialogContent__qqbV2 .DailyRewardsRuleDialog_dialogContainer__yxHFf p a{color:#666bff;-webkit-text-decoration-line:underline;text-decoration-line:underline}.DailyRewardsRuleDialog_dialogContent__qqbV2 .DailyRewardsRuleDialog_dialogContainer__yxHFf p em{background-color:#fff;border-radius:50%;display:inline-block;height:4px;margin-right:8px;margin-top:10px;vertical-align:top;width:4px}.DailyRewardsRuleDialog_dialogContent__qqbV2 .DailyRewardsRuleDialog_dialogContainer__yxHFf p i{display:inline-block;vertical-align:top;width:90%}.DailyRewardsRuleDialog_dialogContent__qqbV2 .DailyRewardsRuleDialog_btnWrap__TBOZ4{margin:20px 20px 30px}.DailyRewardsRuleDialog_dialogContent__qqbV2 .DailyRewardsRuleDialog_btn__76dqo{background:#6673ff;border:none;border-radius:12px;color:#fff;display:block;font-size:16px;font-weight:600;height:40px;margin:0 auto;width:100%}.DailyRewardsRuleDialog_dialogContent__qqbV2 .DailyRewardsRuleDialog_btn__76dqo:hover{background:#6673ff;color:#fff}.widget_title__E8aNg{color:#fff;font-size:24px;font-weight:600;line-height:36px;margin:0 0 24px}@media screen and (max-width:768px){.widget_title__E8aNg{font-size:16px;line-height:32px;margin:0 0 16px}}.widget_list__0eYOt{color:#fff;margin:68px 0}@media screen and (max-width:768px){.widget_list__0eYOt{margin:0;padding:32px 0 24px}}.games_games__GVWym{color:#fff}.games_games__GVWym .games_main__Y0bTJ{background:url(asset/3ab33533ed.png) no-repeat 50%;background-size:100% 100%;border-radius:20px;padding:68px;text-align:center}@media screen and (max-width:1200px){.games_games__GVWym .games_main__Y0bTJ{background:url(asset/6e17bf7985.jpg) no-repeat 50%;background-size:100% 100%;border-radius:10px;overflow:hidden;padding:20px}}.games_games__GVWym .games_main__Y0bTJ .games_tit__kAdkf{font-size:32px;font-weight:600;line-height:48px}@media screen and (max-width:768px){.games_games__GVWym .games_main__Y0bTJ .games_tit__kAdkf{font-size:24px;line-height:36px;padding-top:26px}}.games_games__GVWym .games_main__Y0bTJ .games_txt__YLmrR{font-size:20px;font-weight:400;line-height:32px;margin:18px auto;max-width:1042px}@media screen and (max-width:1200px){.games_games__GVWym .games_main__Y0bTJ .games_txt__YLmrR{font-size:14px;line-height:22px}}@media screen and (max-width:768px){.games_games__GVWym .games_main__Y0bTJ .games_txt__YLmrR{margin:24px auto 76px}}.index_home__HJOfb{padding:40px 0}@media screen and (max-width:768px){.index_home__HJOfb{padding:20px 0}}.index_home__HJOfb .index_content__VV\+Jk{padding:0 40px}@media screen and (max-width:768px){.index_home__HJOfb .index_content__VV\+Jk{padding:0 16px}}.index_home__HJOfb .index_top__nkEEv{color:#fff;display:flex;margin:0 0 40px}@media screen and (max-width:768px){.index_home__HJOfb .index_top__nkEEv{margin:0 0 20px}}.index_home__HJOfb .index_top__nkEEv .index_item__FqQJg{align-items:center;background:rgba(126,232,126,.1);border-radius:25px;color:#7ee87e;display:flex;height:50px;justify-content:center;margin:0 32px 0 0;padding:0 24px}.index_home__HJOfb .index_top__nkEEv .index_item__FqQJg:nth-child(odd){background:rgba(81,156,255,.1);color:#519cff}.index_home__HJOfb .index_footer__KIgGU{color:hsla(0,0%,100%,.4);font-size:12px;font-weight:400;line-height:30px;padding:56px 0;text-align:center} \ No newline at end of file diff --git a/3677.8e956630.bundle.js b/3677.8e956630.bundle.js deleted file mode 100644 index 11479ad..0000000 --- a/3677.8e956630.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkbingo_frontend=self.webpackChunkbingo_frontend||[]).push([[3677],{97391:function(t,e,r){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var s;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{s="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(46896).Buffer}catch(t){}function a(t,e){var r=t.charCodeAt(e);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+t)}function u(t,e,r){var n=a(t,r);return r-1>=e&&(n|=a(t,r-1)<<4),n}function l(t,e,r,i){for(var o=0,s=0,a=Math.min(t.length,r),u=e;u=49?l-49+10:l>=17?l-17+10:l,n(l>=0&&s0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"==typeof t)return this._initNumber(t,e,r);if("object"==typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)s=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=s<>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===r)for(i=0,o=0;i>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this._strip()},o.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n=e;n-=2)i=u(t,e,n)<=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else for(n=(t.length-e)%2==0?e+1:e;n=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;this._strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,s=o%n,a=Math.min(o,o-s)+r,u=0,h=r;h1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=c}catch(t){o.prototype.inspect=c}else o.prototype.inspect=c;function c(){return(this.red?""}var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,s=0;s>>24-i&16777215,(i+=2)>=26&&(i-=26,s--),r=0!==o||s!==this.length-1?f[6-u.length]+u+r:u+r}for(0!==o&&(r=o.toString(16)+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var l=d[t],h=p[t];r="";var c=this.clone();for(c.negative=0;!c.isZero();){var m=c.modrn(h).toString(t);r=(c=c.idivn(h)).isZero()?m+r:f[l-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16,2)},s&&(o.prototype.toBuffer=function(t,e){return this.toArrayLike(s,t,e)}),o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)};function m(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],s=i*o,a=67108863&s,u=s/67108864|0;r.words[0]=a;for(var l=1;l>>26,c=67108863&u,f=Math.min(l,e.length-1),d=Math.max(0,l-t.length+1);d<=f;d++){var p=l-d|0;h+=(s=(i=0|t.words[p])*(o=0|e.words[d])+c)/67108864|0,c=67108863&s}r.words[l]=0|c,u=0|h}return 0!==u?r.words[l]=0|u:r.length--,r._strip()}o.prototype.toArrayLike=function(t,e,r){this._strip();var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0");var s=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](s,i),s},o.prototype._toArrayLikeLE=function(t,e){for(var r=0,n=0,i=0,o=0;i>8&255),r>16&255),6===o?(r>24&255),n=0,o=0):(n=s>>>24,o+=2)}if(r=0&&(t[r--]=s>>8&255),r>=0&&(t[r--]=s>>16&255),6===o?(r>=0&&(t[r--]=s>>24&255),n=0,o=0):(n=s>>>24,o+=2)}if(r>=0)for(t[r--]=n;r>=0;)t[r--]=0},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;rt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;nt.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,s=0;s>26,this.words[s]=67108863&e;for(;0!==o&&s>26,this.words[s]=67108863&e;if(0===o&&s>>13,d=0|s[1],p=8191&d,m=d>>>13,g=0|s[2],y=8191&g,v=g>>>13,b=0|s[3],w=8191&b,E=b>>>13,A=0|s[4],_=8191&A,M=A>>>13,P=0|s[5],S=8191&P,k=P>>>13,x=0|s[6],N=8191&x,R=x>>>13,I=0|s[7],O=8191&I,T=I>>>13,C=0|s[8],F=8191&C,B=C>>>13,L=0|s[9],D=8191&L,U=L>>>13,j=0|a[0],G=8191&j,q=j>>>13,z=0|a[1],K=8191&z,V=z>>>13,$=0|a[2],H=8191&$,W=$>>>13,J=0|a[3],Z=8191&J,X=J>>>13,Y=0|a[4],Q=8191&Y,tt=Y>>>13,et=0|a[5],rt=8191&et,nt=et>>>13,it=0|a[6],ot=8191&it,st=it>>>13,at=0|a[7],ut=8191&at,lt=at>>>13,ht=0|a[8],ct=8191&ht,ft=ht>>>13,dt=0|a[9],pt=8191&dt,mt=dt>>>13;r.negative=t.negative^e.negative,r.length=19;var gt=(l+(n=Math.imul(c,G))|0)+((8191&(i=(i=Math.imul(c,q))+Math.imul(f,G)|0))<<13)|0;l=((o=Math.imul(f,q))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(p,G),i=(i=Math.imul(p,q))+Math.imul(m,G)|0,o=Math.imul(m,q);var yt=(l+(n=n+Math.imul(c,K)|0)|0)+((8191&(i=(i=i+Math.imul(c,V)|0)+Math.imul(f,K)|0))<<13)|0;l=((o=o+Math.imul(f,V)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(y,G),i=(i=Math.imul(y,q))+Math.imul(v,G)|0,o=Math.imul(v,q),n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,V)|0;var vt=(l+(n=n+Math.imul(c,H)|0)|0)+((8191&(i=(i=i+Math.imul(c,W)|0)+Math.imul(f,H)|0))<<13)|0;l=((o=o+Math.imul(f,W)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(w,G),i=(i=Math.imul(w,q))+Math.imul(E,G)|0,o=Math.imul(E,q),n=n+Math.imul(y,K)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(v,K)|0,o=o+Math.imul(v,V)|0,n=n+Math.imul(p,H)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(m,H)|0,o=o+Math.imul(m,W)|0;var bt=(l+(n=n+Math.imul(c,Z)|0)|0)+((8191&(i=(i=i+Math.imul(c,X)|0)+Math.imul(f,Z)|0))<<13)|0;l=((o=o+Math.imul(f,X)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(_,G),i=(i=Math.imul(_,q))+Math.imul(M,G)|0,o=Math.imul(M,q),n=n+Math.imul(w,K)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(E,K)|0,o=o+Math.imul(E,V)|0,n=n+Math.imul(y,H)|0,i=(i=i+Math.imul(y,W)|0)+Math.imul(v,H)|0,o=o+Math.imul(v,W)|0,n=n+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,X)|0;var wt=(l+(n=n+Math.imul(c,Q)|0)|0)+((8191&(i=(i=i+Math.imul(c,tt)|0)+Math.imul(f,Q)|0))<<13)|0;l=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(S,G),i=(i=Math.imul(S,q))+Math.imul(k,G)|0,o=Math.imul(k,q),n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,V)|0,n=n+Math.imul(w,H)|0,i=(i=i+Math.imul(w,W)|0)+Math.imul(E,H)|0,o=o+Math.imul(E,W)|0,n=n+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,X)|0)+Math.imul(v,Z)|0,o=o+Math.imul(v,X)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0;var Et=(l+(n=n+Math.imul(c,rt)|0)|0)+((8191&(i=(i=i+Math.imul(c,nt)|0)+Math.imul(f,rt)|0))<<13)|0;l=((o=o+Math.imul(f,nt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(N,G),i=(i=Math.imul(N,q))+Math.imul(R,G)|0,o=Math.imul(R,q),n=n+Math.imul(S,K)|0,i=(i=i+Math.imul(S,V)|0)+Math.imul(k,K)|0,o=o+Math.imul(k,V)|0,n=n+Math.imul(_,H)|0,i=(i=i+Math.imul(_,W)|0)+Math.imul(M,H)|0,o=o+Math.imul(M,W)|0,n=n+Math.imul(w,Z)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(E,Z)|0,o=o+Math.imul(E,X)|0,n=n+Math.imul(y,Q)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(v,Q)|0,o=o+Math.imul(v,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0;var At=(l+(n=n+Math.imul(c,ot)|0)|0)+((8191&(i=(i=i+Math.imul(c,st)|0)+Math.imul(f,ot)|0))<<13)|0;l=((o=o+Math.imul(f,st)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(O,G),i=(i=Math.imul(O,q))+Math.imul(T,G)|0,o=Math.imul(T,q),n=n+Math.imul(N,K)|0,i=(i=i+Math.imul(N,V)|0)+Math.imul(R,K)|0,o=o+Math.imul(R,V)|0,n=n+Math.imul(S,H)|0,i=(i=i+Math.imul(S,W)|0)+Math.imul(k,H)|0,o=o+Math.imul(k,W)|0,n=n+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,X)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(E,Q)|0,o=o+Math.imul(E,tt)|0,n=n+Math.imul(y,rt)|0,i=(i=i+Math.imul(y,nt)|0)+Math.imul(v,rt)|0,o=o+Math.imul(v,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,st)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,st)|0;var _t=(l+(n=n+Math.imul(c,ut)|0)|0)+((8191&(i=(i=i+Math.imul(c,lt)|0)+Math.imul(f,ut)|0))<<13)|0;l=((o=o+Math.imul(f,lt)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(F,G),i=(i=Math.imul(F,q))+Math.imul(B,G)|0,o=Math.imul(B,q),n=n+Math.imul(O,K)|0,i=(i=i+Math.imul(O,V)|0)+Math.imul(T,K)|0,o=o+Math.imul(T,V)|0,n=n+Math.imul(N,H)|0,i=(i=i+Math.imul(N,W)|0)+Math.imul(R,H)|0,o=o+Math.imul(R,W)|0,n=n+Math.imul(S,Z)|0,i=(i=i+Math.imul(S,X)|0)+Math.imul(k,Z)|0,o=o+Math.imul(k,X)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,tt)|0,n=n+Math.imul(w,rt)|0,i=(i=i+Math.imul(w,nt)|0)+Math.imul(E,rt)|0,o=o+Math.imul(E,nt)|0,n=n+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,st)|0)+Math.imul(v,ot)|0,o=o+Math.imul(v,st)|0,n=n+Math.imul(p,ut)|0,i=(i=i+Math.imul(p,lt)|0)+Math.imul(m,ut)|0,o=o+Math.imul(m,lt)|0;var Mt=(l+(n=n+Math.imul(c,ct)|0)|0)+((8191&(i=(i=i+Math.imul(c,ft)|0)+Math.imul(f,ct)|0))<<13)|0;l=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(D,G),i=(i=Math.imul(D,q))+Math.imul(U,G)|0,o=Math.imul(U,q),n=n+Math.imul(F,K)|0,i=(i=i+Math.imul(F,V)|0)+Math.imul(B,K)|0,o=o+Math.imul(B,V)|0,n=n+Math.imul(O,H)|0,i=(i=i+Math.imul(O,W)|0)+Math.imul(T,H)|0,o=o+Math.imul(T,W)|0,n=n+Math.imul(N,Z)|0,i=(i=i+Math.imul(N,X)|0)+Math.imul(R,Z)|0,o=o+Math.imul(R,X)|0,n=n+Math.imul(S,Q)|0,i=(i=i+Math.imul(S,tt)|0)+Math.imul(k,Q)|0,o=o+Math.imul(k,tt)|0,n=n+Math.imul(_,rt)|0,i=(i=i+Math.imul(_,nt)|0)+Math.imul(M,rt)|0,o=o+Math.imul(M,nt)|0,n=n+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,st)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,st)|0,n=n+Math.imul(y,ut)|0,i=(i=i+Math.imul(y,lt)|0)+Math.imul(v,ut)|0,o=o+Math.imul(v,lt)|0,n=n+Math.imul(p,ct)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(m,ct)|0,o=o+Math.imul(m,ft)|0;var Pt=(l+(n=n+Math.imul(c,pt)|0)|0)+((8191&(i=(i=i+Math.imul(c,mt)|0)+Math.imul(f,pt)|0))<<13)|0;l=((o=o+Math.imul(f,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(D,K),i=(i=Math.imul(D,V))+Math.imul(U,K)|0,o=Math.imul(U,V),n=n+Math.imul(F,H)|0,i=(i=i+Math.imul(F,W)|0)+Math.imul(B,H)|0,o=o+Math.imul(B,W)|0,n=n+Math.imul(O,Z)|0,i=(i=i+Math.imul(O,X)|0)+Math.imul(T,Z)|0,o=o+Math.imul(T,X)|0,n=n+Math.imul(N,Q)|0,i=(i=i+Math.imul(N,tt)|0)+Math.imul(R,Q)|0,o=o+Math.imul(R,tt)|0,n=n+Math.imul(S,rt)|0,i=(i=i+Math.imul(S,nt)|0)+Math.imul(k,rt)|0,o=o+Math.imul(k,nt)|0,n=n+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,st)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,st)|0,n=n+Math.imul(w,ut)|0,i=(i=i+Math.imul(w,lt)|0)+Math.imul(E,ut)|0,o=o+Math.imul(E,lt)|0,n=n+Math.imul(y,ct)|0,i=(i=i+Math.imul(y,ft)|0)+Math.imul(v,ct)|0,o=o+Math.imul(v,ft)|0;var St=(l+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;l=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(D,H),i=(i=Math.imul(D,W))+Math.imul(U,H)|0,o=Math.imul(U,W),n=n+Math.imul(F,Z)|0,i=(i=i+Math.imul(F,X)|0)+Math.imul(B,Z)|0,o=o+Math.imul(B,X)|0,n=n+Math.imul(O,Q)|0,i=(i=i+Math.imul(O,tt)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,tt)|0,n=n+Math.imul(N,rt)|0,i=(i=i+Math.imul(N,nt)|0)+Math.imul(R,rt)|0,o=o+Math.imul(R,nt)|0,n=n+Math.imul(S,ot)|0,i=(i=i+Math.imul(S,st)|0)+Math.imul(k,ot)|0,o=o+Math.imul(k,st)|0,n=n+Math.imul(_,ut)|0,i=(i=i+Math.imul(_,lt)|0)+Math.imul(M,ut)|0,o=o+Math.imul(M,lt)|0,n=n+Math.imul(w,ct)|0,i=(i=i+Math.imul(w,ft)|0)+Math.imul(E,ct)|0,o=o+Math.imul(E,ft)|0;var kt=(l+(n=n+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(v,pt)|0))<<13)|0;l=((o=o+Math.imul(v,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(D,Z),i=(i=Math.imul(D,X))+Math.imul(U,Z)|0,o=Math.imul(U,X),n=n+Math.imul(F,Q)|0,i=(i=i+Math.imul(F,tt)|0)+Math.imul(B,Q)|0,o=o+Math.imul(B,tt)|0,n=n+Math.imul(O,rt)|0,i=(i=i+Math.imul(O,nt)|0)+Math.imul(T,rt)|0,o=o+Math.imul(T,nt)|0,n=n+Math.imul(N,ot)|0,i=(i=i+Math.imul(N,st)|0)+Math.imul(R,ot)|0,o=o+Math.imul(R,st)|0,n=n+Math.imul(S,ut)|0,i=(i=i+Math.imul(S,lt)|0)+Math.imul(k,ut)|0,o=o+Math.imul(k,lt)|0,n=n+Math.imul(_,ct)|0,i=(i=i+Math.imul(_,ft)|0)+Math.imul(M,ct)|0,o=o+Math.imul(M,ft)|0;var xt=(l+(n=n+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(E,pt)|0))<<13)|0;l=((o=o+Math.imul(E,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(D,Q),i=(i=Math.imul(D,tt))+Math.imul(U,Q)|0,o=Math.imul(U,tt),n=n+Math.imul(F,rt)|0,i=(i=i+Math.imul(F,nt)|0)+Math.imul(B,rt)|0,o=o+Math.imul(B,nt)|0,n=n+Math.imul(O,ot)|0,i=(i=i+Math.imul(O,st)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,st)|0,n=n+Math.imul(N,ut)|0,i=(i=i+Math.imul(N,lt)|0)+Math.imul(R,ut)|0,o=o+Math.imul(R,lt)|0,n=n+Math.imul(S,ct)|0,i=(i=i+Math.imul(S,ft)|0)+Math.imul(k,ct)|0,o=o+Math.imul(k,ft)|0;var Nt=(l+(n=n+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(M,pt)|0))<<13)|0;l=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul(D,rt),i=(i=Math.imul(D,nt))+Math.imul(U,rt)|0,o=Math.imul(U,nt),n=n+Math.imul(F,ot)|0,i=(i=i+Math.imul(F,st)|0)+Math.imul(B,ot)|0,o=o+Math.imul(B,st)|0,n=n+Math.imul(O,ut)|0,i=(i=i+Math.imul(O,lt)|0)+Math.imul(T,ut)|0,o=o+Math.imul(T,lt)|0,n=n+Math.imul(N,ct)|0,i=(i=i+Math.imul(N,ft)|0)+Math.imul(R,ct)|0,o=o+Math.imul(R,ft)|0;var Rt=(l+(n=n+Math.imul(S,pt)|0)|0)+((8191&(i=(i=i+Math.imul(S,mt)|0)+Math.imul(k,pt)|0))<<13)|0;l=((o=o+Math.imul(k,mt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(D,ot),i=(i=Math.imul(D,st))+Math.imul(U,ot)|0,o=Math.imul(U,st),n=n+Math.imul(F,ut)|0,i=(i=i+Math.imul(F,lt)|0)+Math.imul(B,ut)|0,o=o+Math.imul(B,lt)|0,n=n+Math.imul(O,ct)|0,i=(i=i+Math.imul(O,ft)|0)+Math.imul(T,ct)|0,o=o+Math.imul(T,ft)|0;var It=(l+(n=n+Math.imul(N,pt)|0)|0)+((8191&(i=(i=i+Math.imul(N,mt)|0)+Math.imul(R,pt)|0))<<13)|0;l=((o=o+Math.imul(R,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(D,ut),i=(i=Math.imul(D,lt))+Math.imul(U,ut)|0,o=Math.imul(U,lt),n=n+Math.imul(F,ct)|0,i=(i=i+Math.imul(F,ft)|0)+Math.imul(B,ct)|0,o=o+Math.imul(B,ft)|0;var Ot=(l+(n=n+Math.imul(O,pt)|0)|0)+((8191&(i=(i=i+Math.imul(O,mt)|0)+Math.imul(T,pt)|0))<<13)|0;l=((o=o+Math.imul(T,mt)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(D,ct),i=(i=Math.imul(D,ft))+Math.imul(U,ct)|0,o=Math.imul(U,ft);var Tt=(l+(n=n+Math.imul(F,pt)|0)|0)+((8191&(i=(i=i+Math.imul(F,mt)|0)+Math.imul(B,pt)|0))<<13)|0;l=((o=o+Math.imul(B,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863;var Ct=(l+(n=Math.imul(D,pt))|0)+((8191&(i=(i=Math.imul(D,mt))+Math.imul(U,pt)|0))<<13)|0;return l=((o=Math.imul(U,mt))+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,u[0]=gt,u[1]=yt,u[2]=vt,u[3]=bt,u[4]=wt,u[5]=Et,u[6]=At,u[7]=_t,u[8]=Mt,u[9]=Pt,u[10]=St,u[11]=kt,u[12]=xt,u[13]=Nt,u[14]=Rt,u[15]=It,u[16]=Ot,u[17]=Tt,u[18]=Ct,0!==l&&(u[19]=l,r.length++),r};function y(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o>>26)|0)>>>26,s&=67108863}r.words[o]=a,n=s,s=i}return 0!==n?r.words[o]=n:r.length--,r._strip()}function v(t,e,r){return y(t,e,r)}function b(t,e){this.x=t,this.y=e}Math.imul||(g=m),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?g(this,t,e):r<63?m(this,t,e):r<1024?y(this,t,e):v(this,t,e)},b.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n>=1;return n},b.prototype.permute=function(t,e,r,n,i,o){for(var s=0;s>>=1)i++;return 1<>>=13,r[2*s+1]=8191&o,o>>>=13;for(s=2*e;s>=26,r+=o/67108864|0,r+=s>>>26,this.words[i]=67108863&s}return 0!==r&&(this.words[i]=r,this.length++),e?this.ineg():this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r>>i&1}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var s=0;for(e=0;e>>26-r}s&&(this.words[e]=s,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,s=Math.min((t-o)/26,this.length),a=67108863^67108863>>>o<s)for(this.length-=s,l=0;l=0&&(0!==h||l>=i);l--){var c=0|this.words[l];this.words[l]=h<<26-o|c>>>o,h=c&a}return u&&0!==h&&(u.words[u.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===a)return this._strip();for(n(-1===a),a=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,s=0|i.words[i.length-1];0!==(r=26-this._countBits(s))&&(i=i.ushln(r),n.iushln(r),s=0|i.words[i.length-1]);var a,u=n.length-i.length;if("mod"!==e){(a=new o(null)).length=u+1,a.words=new Array(a.length);for(var l=0;l=0;c--){var f=67108864*(0|n.words[i.length+c])+(0|n.words[i.length+c-1]);for(f=Math.min(f/s|0,67108863),n._ishlnsubmul(i,f,c);0!==n.negative;)f--,n.negative=0,n._ishlnsubmul(i,1,c),n.isZero()||(n.negative^=1);a&&(a.words[c]=f)}return a&&a._strip(),n._strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(a=this.neg().divmod(t,e),"mod"!==e&&(i=a.div.neg()),"div"!==e&&(s=a.mod.neg(),r&&0!==s.negative&&s.iadd(t)),{div:i,mod:s}):0===this.negative&&0!==t.negative?(a=this.divmod(t.neg(),e),"mod"!==e&&(i=a.div.neg()),{div:i,mod:a.mod}):0!=(this.negative&t.negative)?(a=this.neg().divmod(t.neg(),e),"div"!==e&&(s=a.mod.neg(),r&&0!==s.negative&&s.isub(t)),{div:a.div,mod:s}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modrn(t.words[0]))}:this._wordDiv(t,e);var i,s,a},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modrn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=(1<<26)%t,i=0,o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%t;return e?-i:i},o.prototype.modn=function(t){return this.modrn(t)},o.prototype.idivn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/t|0,r=o%t}return this._strip(),e?this.ineg():this},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),s=new o(0),a=new o(0),u=new o(1),l=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++l;for(var h=r.clone(),c=e.clone();!e.isZero();){for(var f=0,d=1;0==(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(i.isOdd()||s.isOdd())&&(i.iadd(h),s.isub(c)),i.iushrn(1),s.iushrn(1);for(var p=0,m=1;0==(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(a.isOdd()||u.isOdd())&&(a.iadd(h),u.isub(c)),a.iushrn(1),u.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(a),s.isub(u)):(r.isub(e),a.isub(i),u.isub(s))}return{a,b:u,gcd:r.iushln(l)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,s=new o(1),a=new o(0),u=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var l=0,h=1;0==(e.words[0]&h)&&l<26;++l,h<<=1);if(l>0)for(e.iushrn(l);l-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);for(var c=0,f=1;0==(r.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(r.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);e.cmp(r)>=0?(e.isub(r),s.isub(a)):(r.isub(e),a.isub(s))}return(i=0===e.cmpn(1)?s:a).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,r=(t-e)/26,i=1<>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){ni&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new S(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var w={k256:null,p224:null,p192:null,p25519:null};function E(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function A(){E.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){E.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function M(){E.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function P(){E.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function k(t){S.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}E.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},E.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},E.prototype.split=function(t,e){t.iushrn(this.n,0,e)},E.prototype.imulK=function(t){return t.imul(this.k)},i(A,E),A.prototype.split=function(t,e){for(var r=4194303,n=Math.min(t.length,9),i=0;i>>22,o=s}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},A.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(w[t])return w[t];var e;if("k256"===t)e=new A;else if("p224"===t)e=new _;else if("p192"===t)e=new M;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new P}return w[t]=e,e},S.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},S.prototype._verify2=function(t,e){n(0==(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},S.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(h(t,t.umod(this.m)._forceRed(this)),t)},S.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},S.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},S.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},S.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},S.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},S.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},S.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},S.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},S.prototype.isqr=function(t){return this.imul(t,t.clone())},S.prototype.sqr=function(t){return this.mul(t,t)},S.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2==1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),s=0;!i.isZero()&&0===i.andln(1);)s++,i.iushrn(1);n(!i.isZero());var a=new o(1).toRed(this),u=a.redNeg(),l=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new o(2*h*h).toRed(this);0!==this.pow(h,l).cmp(u);)h.redIAdd(u);for(var c=this.pow(h,i),f=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=s;0!==d.cmp(a);){for(var m=d,g=0;0!==m.cmp(a);g++)m=m.redSqr();n(g=0;n--){for(var l=e.words[n],h=u-1;h>=0;h--){var c=l>>h&1;i!==r[0]&&(i=this.sqr(i)),0!==c||0!==s?(s<<=1,s|=c,(4===++a||0===n&&0===h)&&(i=this.mul(i,r[s]),a=0,s=0)):a=0}u=26}return i},S.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},S.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new k(t)},i(k,S),k.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},k.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},k.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},k.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},k.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=r.nmd(t),this)},63677:(t,e,r)=>{"use strict";r.d(e,{m:()=>co});var n=r(30707);let i=!1,o=!1;const s={debug:1,default:2,info:2,warning:3,error:4,off:5};let a=s.default,u=null;const l=function(){try{const t=[];if(["NFD","NFC","NFKD","NFKC"].forEach((e=>{try{if("test"!=="test".normalize(e))throw new Error("bad normalize")}catch(r){t.push(e)}})),t.length)throw new Error("missing "+t.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(t){return t.message}return null}();var h,c;!function(t){t.DEBUG="DEBUG",t.INFO="INFO",t.WARNING="WARNING",t.ERROR="ERROR",t.OFF="OFF"}(h||(h={})),function(t){t.UNKNOWN_ERROR="UNKNOWN_ERROR",t.NOT_IMPLEMENTED="NOT_IMPLEMENTED",t.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",t.NETWORK_ERROR="NETWORK_ERROR",t.SERVER_ERROR="SERVER_ERROR",t.TIMEOUT="TIMEOUT",t.BUFFER_OVERRUN="BUFFER_OVERRUN",t.NUMERIC_FAULT="NUMERIC_FAULT",t.MISSING_NEW="MISSING_NEW",t.INVALID_ARGUMENT="INVALID_ARGUMENT",t.MISSING_ARGUMENT="MISSING_ARGUMENT",t.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",t.CALL_EXCEPTION="CALL_EXCEPTION",t.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",t.NONCE_EXPIRED="NONCE_EXPIRED",t.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",t.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",t.TRANSACTION_REPLACED="TRANSACTION_REPLACED"}(c||(c={}));const f="0123456789abcdef";class d{constructor(t){Object.defineProperty(this,"version",{enumerable:!0,value:t,writable:!1})}_log(t,e){const r=t.toLowerCase();null==s[r]&&this.throwArgumentError("invalid log level name","logLevel",t),a>s[r]||console.log.apply(console,e)}debug(...t){this._log(d.levels.DEBUG,t)}info(...t){this._log(d.levels.INFO,t)}warn(...t){this._log(d.levels.WARNING,t)}makeError(t,e,r){if(o)return this.makeError("censored error",e,{});e||(e=d.errors.UNKNOWN_ERROR),r||(r={});const n=[];Object.keys(r).forEach((t=>{const e=r[t];try{if(e instanceof Uint8Array){let r="";for(let t=0;t>4],r+=f[15&e[t]];n.push(t+"=Uint8Array(0x"+r+")")}else n.push(t+"="+JSON.stringify(e))}catch(e){n.push(t+"="+JSON.stringify(r[t].toString()))}})),n.push(`code=${e}`),n.push(`version=${this.version}`);const i=t;let s="";switch(e){case c.NUMERIC_FAULT:{s="NUMERIC_FAULT";const e=t;switch(e){case"overflow":case"underflow":case"division-by-zero":s+="-"+e;break;case"negative-power":case"negative-width":s+="-unsupported";break;case"unbound-bitwise-result":s+="-unbound-result"}break}case c.CALL_EXCEPTION:case c.INSUFFICIENT_FUNDS:case c.MISSING_NEW:case c.NONCE_EXPIRED:case c.REPLACEMENT_UNDERPRICED:case c.TRANSACTION_REPLACED:case c.UNPREDICTABLE_GAS_LIMIT:s=e}s&&(t+=" [ See: https://links.ethers.org/v5-errors-"+s+" ]"),n.length&&(t+=" ("+n.join(", ")+")");const a=new Error(t);return a.reason=i,a.code=e,Object.keys(r).forEach((function(t){a[t]=r[t]})),a}throwError(t,e,r){throw this.makeError(t,e,r)}throwArgumentError(t,e,r){return this.throwError(t,d.errors.INVALID_ARGUMENT,{argument:e,value:r})}assert(t,e,r,n){t||this.throwError(e,r,n)}assertArgument(t,e,r,n){t||this.throwArgumentError(e,r,n)}checkNormalize(t){null==t&&(t="platform missing String.prototype.normalize"),l&&this.throwError("platform missing String.prototype.normalize",d.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:l})}checkSafeUint53(t,e){"number"==typeof t&&(null==e&&(e="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(e,d.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(e,d.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))}checkArgumentCount(t,e,r){r=r?": "+r:"",te&&this.throwError("too many arguments"+r,d.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:e})}checkNew(t,e){t!==Object&&null!=t||this.throwError("missing new",d.errors.MISSING_NEW,{name:e.name})}checkAbstract(t,e){t===e?this.throwError("cannot instantiate abstract class "+JSON.stringify(e.name)+" directly; use a sub-class",d.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):t!==Object&&null!=t||this.throwError("missing new",d.errors.MISSING_NEW,{name:e.name})}static globalLogger(){return u||(u=new d("logger/5.6.0")),u}static setCensorship(t,e){if(!t&&e&&this.globalLogger().throwError("cannot permanently disable censorship",d.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),i){if(!t)return;this.globalLogger().throwError("error censorship permanent",d.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}o=!!t,i=!!e}static setLogLevel(t){const e=s[t.toLowerCase()];null!=e?a=e:d.globalLogger().warn("invalid log level - "+t)}static from(t){return new d(t)}}d.errors=c,d.levels=h;const p=new d("networks/5.6.3");function m(t){const e=function(e,r){null==r&&(r={});const n=[];if(e.InfuraProvider&&"-"!==r.infura)try{n.push(new e.InfuraProvider(t,r.infura))}catch(t){}if(e.EtherscanProvider&&"-"!==r.etherscan)try{n.push(new e.EtherscanProvider(t,r.etherscan))}catch(t){}if(e.AlchemyProvider&&"-"!==r.alchemy)try{n.push(new e.AlchemyProvider(t,r.alchemy))}catch(t){}if(e.PocketProvider&&"-"!==r.pocket){const i=["goerli","ropsten","rinkeby"];try{const o=new e.PocketProvider(t,r.pocket);o.network&&-1===i.indexOf(o.network.name)&&n.push(o)}catch(t){}}if(e.CloudflareProvider&&"-"!==r.cloudflare)try{n.push(new e.CloudflareProvider(t))}catch(t){}if(e.AnkrProvider&&"-"!==r.ankr)try{n.push(new e.AnkrProvider(t,r.ankr))}catch(t){}if(0===n.length)return null;if(e.FallbackProvider){let i=1;return null!=r.quorum?i=r.quorum:"homestead"===t&&(i=2),new e.FallbackProvider(n,i)}return n[0]};return e.renetwork=function(t){return m(t)},e}function g(t,e){const r=function(r,n){return r.JsonRpcProvider?new r.JsonRpcProvider(t,e):null};return r.renetwork=function(e){return g(t,e)},r}const y={chainId:1,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"homestead",_defaultProvider:m("homestead")},v={chainId:3,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"ropsten",_defaultProvider:m("ropsten")},b={chainId:63,name:"classicMordor",_defaultProvider:g("https://www.ethercluster.com/mordor","classicMordor")},w={unspecified:{chainId:0,name:"unspecified"},homestead:y,mainnet:y,morden:{chainId:2,name:"morden"},ropsten:v,testnet:v,rinkeby:{chainId:4,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"rinkeby",_defaultProvider:m("rinkeby")},kovan:{chainId:42,name:"kovan",_defaultProvider:m("kovan")},goerli:{chainId:5,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"goerli",_defaultProvider:m("goerli")},kintsugi:{chainId:1337702,name:"kintsugi"},classic:{chainId:61,name:"classic",_defaultProvider:g("https://www.ethercluster.com/etc","classic")},classicMorden:{chainId:62,name:"classicMorden"},classicMordor:b,classicTestnet:b,classicKotti:{chainId:6,name:"classicKotti",_defaultProvider:g("https://www.ethercluster.com/kotti","classicKotti")},xdai:{chainId:100,name:"xdai"},matic:{chainId:137,name:"matic",_defaultProvider:m("matic")},maticmum:{chainId:80001,name:"maticmum"},optimism:{chainId:10,name:"optimism",_defaultProvider:m("optimism")},"optimism-kovan":{chainId:69,name:"optimism-kovan"},"optimism-goerli":{chainId:420,name:"optimism-goerli"},arbitrum:{chainId:42161,name:"arbitrum"},"arbitrum-rinkeby":{chainId:421611,name:"arbitrum-rinkeby"},bnb:{chainId:56,name:"bnb"},bnbt:{chainId:97,name:"bnbt"}};function E(t){if(null==t)return null;if("number"==typeof t){for(const e in w){const r=w[e];if(r.chainId===t)return{name:r.name,chainId:r.chainId,ensAddress:r.ensAddress||null,_defaultProvider:r._defaultProvider||null}}return{chainId:t,name:"unknown"}}if("string"==typeof t){const e=w[t];return null==e?null:{name:e.name,chainId:e.chainId,ensAddress:e.ensAddress,_defaultProvider:e._defaultProvider||null}}const e=w[t.name];if(!e)return"number"!=typeof t.chainId&&p.throwArgumentError("invalid network chainId","network",t),t;0!==t.chainId&&t.chainId!==e.chainId&&p.throwArgumentError("network chainId mismatch","network",t);let r=t._defaultProvider||null;var n;return null==r&&e._defaultProvider&&(r=(n=e._defaultProvider)&&"function"==typeof n.renetwork?e._defaultProvider.renetwork(t):e._defaultProvider),{name:t.name,chainId:e.chainId,ensAddress:t.ensAddress||e.ensAddress||null,_defaultProvider:r}}var A=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const _=new d("properties/5.6.0");function M(t,e,r){Object.defineProperty(t,e,{enumerable:!0,value:r,writable:!1})}function P(t,e){for(let r=0;r<32;r++){if(t[e])return t[e];if(!t.prototype||"object"!=typeof t.prototype)break;t=Object.getPrototypeOf(t.prototype).constructor}return null}function S(t){return A(this,void 0,void 0,(function*(){const e=Object.keys(t).map((e=>{const r=t[e];return Promise.resolve(r).then((t=>({key:e,value:t})))}));return(yield Promise.all(e)).reduce(((t,e)=>(t[e.key]=e.value,t)),{})}))}function k(t){const e={};for(const r in t)e[r]=t[r];return e}const x={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function N(t){if(null==t||x[typeof t])return!0;if(Array.isArray(t)||"object"==typeof t){if(!Object.isFrozen(t))return!1;const e=Object.keys(t);for(let r=0;rI(t))));if("object"==typeof t){const e={};for(const r in t){const n=t[r];void 0!==n&&M(e,r,I(n))}return e}return _.throwArgumentError("Cannot deepCopy "+typeof t,"object",t)}function I(t){return R(t)}const O=new d("bytes/5.6.1");function T(t){return!!t.toHexString}function C(t){return t.slice||(t.slice=function(){const e=Array.prototype.slice.call(arguments);return C(new Uint8Array(Array.prototype.slice.apply(t,e)))}),t}function F(t){return G(t)&&!(t.length%2)||L(t)}function B(t){return"number"==typeof t&&t==t&&t%1==0}function L(t){if(null==t)return!1;if(t.constructor===Uint8Array)return!0;if("string"==typeof t)return!1;if(!B(t.length)||t.length<0)return!1;for(let e=0;e=256)return!1}return!0}function D(t,e){if(e||(e={}),"number"==typeof t){O.checkSafeUint53(t,"invalid arrayify value");const e=[];for(;t;)e.unshift(255&t),t=parseInt(String(t/256));return 0===e.length&&e.push(0),C(new Uint8Array(e))}if(e.allowMissingPrefix&&"string"==typeof t&&"0x"!==t.substring(0,2)&&(t="0x"+t),T(t)&&(t=t.toHexString()),G(t)){let r=t.substring(2);r.length%2&&("left"===e.hexPad?r="0"+r:"right"===e.hexPad?r+="0":O.throwArgumentError("hex data is odd-length","value",t));const n=[];for(let t=0;tD(t))),r=e.reduce(((t,e)=>t+e.length),0),n=new Uint8Array(r);return e.reduce(((t,e)=>(n.set(e,t),t+e.length)),0),C(n)}function j(t){let e=D(t);if(0===e.length)return e;let r=0;for(;r>4]+q[15&n]}return e}return O.throwArgumentError("invalid hexlify value","value",t)}function K(t){if("string"!=typeof t)t=z(t);else if(!G(t)||t.length%2)return null;return(t.length-2)/2}function V(t,e,r){return"string"!=typeof t?t=z(t):(!G(t)||t.length%2)&&O.throwArgumentError("invalid hexData","value",t),e=2+2*e,null!=r?"0x"+t.substring(e,2+2*r):"0x"+t.substring(e)}function $(t){let e="0x";return t.forEach((t=>{e+=z(t).substring(2)})),e}function H(t){const e=function(t){"string"!=typeof t&&(t=z(t));G(t)||O.throwArgumentError("invalid hex string","value",t);t=t.substring(2);let e=0;for(;e2*e+2&&O.throwArgumentError("value out of range","value",arguments[1]);t.length<2*e+2;)t="0x0"+t.substring(2);return t}function J(t){const e={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(F(t)){let r=D(t);64===r.length?(e.v=27+(r[32]>>7),r[32]&=127,e.r=z(r.slice(0,32)),e.s=z(r.slice(32,64))):65===r.length?(e.r=z(r.slice(0,32)),e.s=z(r.slice(32,64)),e.v=r[64]):O.throwArgumentError("invalid signature string","signature",t),e.v<27&&(0===e.v||1===e.v?e.v+=27:O.throwArgumentError("signature invalid v byte","signature",t)),e.recoveryParam=1-e.v%2,e.recoveryParam&&(r[32]|=128),e._vs=z(r.slice(32,64))}else{if(e.r=t.r,e.s=t.s,e.v=t.v,e.recoveryParam=t.recoveryParam,e._vs=t._vs,null!=e._vs){const r=function(t,e){(t=D(t)).length>e&&O.throwArgumentError("value out of range","value",arguments[0]);const r=new Uint8Array(e);return r.set(t,e-t.length),C(r)}(D(e._vs),32);e._vs=z(r);const n=r[0]>=128?1:0;null==e.recoveryParam?e.recoveryParam=n:e.recoveryParam!==n&&O.throwArgumentError("signature recoveryParam mismatch _vs","signature",t),r[0]&=127;const i=z(r);null==e.s?e.s=i:e.s!==i&&O.throwArgumentError("signature v mismatch _vs","signature",t)}if(null==e.recoveryParam)null==e.v?O.throwArgumentError("signature missing v and recoveryParam","signature",t):0===e.v||1===e.v?e.recoveryParam=e.v:e.recoveryParam=1-e.v%2;else if(null==e.v)e.v=27+e.recoveryParam;else{const r=0===e.v||1===e.v?e.v:1-e.v%2;e.recoveryParam!==r&&O.throwArgumentError("signature recoveryParam mismatch v","signature",t)}null!=e.r&&G(e.r)?e.r=W(e.r,32):O.throwArgumentError("signature missing or invalid r","signature",t),null!=e.s&&G(e.s)?e.s=W(e.s,32):O.throwArgumentError("signature missing or invalid s","signature",t);const r=D(e.s);r[0]>=128&&O.throwArgumentError("signature s out of range","signature",t),e.recoveryParam&&(r[0]|=128);const n=z(r);e._vs&&(G(e._vs)||O.throwArgumentError("signature invalid _vs","signature",t),e._vs=W(e._vs,32)),null==e._vs?e._vs=n:e._vs!==n&&O.throwArgumentError("signature _vs mismatch v and s","signature",t)}return e.yParityAndS=e._vs,e.compact=e.r+e.yParityAndS.substring(2),e}var Z=r(97391),X=r.n(Z);var Y=X().BN;const Q=new d("bignumber/5.6.2"),tt={},et=9007199254740991;let rt=!1;class nt{constructor(t,e){t!==tt&&Q.throwError("cannot call constructor directly; use BigNumber.from",d.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=e,this._isBigNumber=!0,Object.freeze(this)}fromTwos(t){return ot(st(this).fromTwos(t))}toTwos(t){return ot(st(this).toTwos(t))}abs(){return"-"===this._hex[0]?nt.from(this._hex.substring(1)):this}add(t){return ot(st(this).add(st(t)))}sub(t){return ot(st(this).sub(st(t)))}div(t){return nt.from(t).isZero()&&at("division-by-zero","div"),ot(st(this).div(st(t)))}mul(t){return ot(st(this).mul(st(t)))}mod(t){const e=st(t);return e.isNeg()&&at("division-by-zero","mod"),ot(st(this).umod(e))}pow(t){const e=st(t);return e.isNeg()&&at("negative-power","pow"),ot(st(this).pow(e))}and(t){const e=st(t);return(this.isNegative()||e.isNeg())&&at("unbound-bitwise-result","and"),ot(st(this).and(e))}or(t){const e=st(t);return(this.isNegative()||e.isNeg())&&at("unbound-bitwise-result","or"),ot(st(this).or(e))}xor(t){const e=st(t);return(this.isNegative()||e.isNeg())&&at("unbound-bitwise-result","xor"),ot(st(this).xor(e))}mask(t){return(this.isNegative()||t<0)&&at("negative-width","mask"),ot(st(this).maskn(t))}shl(t){return(this.isNegative()||t<0)&&at("negative-width","shl"),ot(st(this).shln(t))}shr(t){return(this.isNegative()||t<0)&&at("negative-width","shr"),ot(st(this).shrn(t))}eq(t){return st(this).eq(st(t))}lt(t){return st(this).lt(st(t))}lte(t){return st(this).lte(st(t))}gt(t){return st(this).gt(st(t))}gte(t){return st(this).gte(st(t))}isNegative(){return"-"===this._hex[0]}isZero(){return st(this).isZero()}toNumber(){try{return st(this).toNumber()}catch(t){at("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch(t){}return Q.throwError("this platform does not support BigInt",d.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(10===arguments[0]?rt||(rt=!0,Q.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):16===arguments[0]?Q.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",d.errors.UNEXPECTED_ARGUMENT,{}):Q.throwError("BigNumber.toString does not accept parameters",d.errors.UNEXPECTED_ARGUMENT,{})),st(this).toString(10)}toHexString(){return this._hex}toJSON(t){return{type:"BigNumber",hex:this.toHexString()}}static from(t){if(t instanceof nt)return t;if("string"==typeof t)return t.match(/^-?0x[0-9a-f]+$/i)?new nt(tt,it(t)):t.match(/^-?[0-9]+$/)?new nt(tt,it(new Y(t))):Q.throwArgumentError("invalid BigNumber string","value",t);if("number"==typeof t)return t%1&&at("underflow","BigNumber.from",t),(t>=et||t<=-et)&&at("overflow","BigNumber.from",t),nt.from(String(t));const e=t;if("bigint"==typeof e)return nt.from(e.toString());if(L(e))return nt.from(z(e));if(e)if(e.toHexString){const t=e.toHexString();if("string"==typeof t)return nt.from(t)}else{let t=e._hex;if(null==t&&"BigNumber"===e.type&&(t=e.hex),"string"==typeof t&&(G(t)||"-"===t[0]&&G(t.substring(1))))return nt.from(t)}return Q.throwArgumentError("invalid BigNumber value","value",t)}static isBigNumber(t){return!(!t||!t._isBigNumber)}}function it(t){if("string"!=typeof t)return it(t.toString(16));if("-"===t[0])return"-"===(t=t.substring(1))[0]&&Q.throwArgumentError("invalid hex","value",t),"0x00"===(t=it(t))?t:"-"+t;if("0x"!==t.substring(0,2)&&(t="0x"+t),"0x"===t)return"0x00";for(t.length%2&&(t="0x0"+t.substring(2));t.length>4&&"0x00"===t.substring(0,4);)t="0x"+t.substring(4);return t}function ot(t){return nt.from(it(t))}function st(t){const e=nt.from(t).toHexString();return"-"===e[0]?new Y("-"+e.substring(3),16):new Y(e.substring(2),16)}function at(t,e,r){const n={fault:t,operation:e};return null!=r&&(n.value=r),Q.throwError(t,d.errors.NUMERIC_FAULT,n)}var ut=r(91094),lt=r.n(ut);function ht(t){return"0x"+lt().keccak_256(D(t))}const ct=new d("rlp/5.6.1");function ft(t){const e=[];for(;t;)e.unshift(255&t),t>>=8;return e}function dt(t,e,r){let n=0;for(let i=0;ie+1+n&&ct.throwError("child data too short",d.errors.BUFFER_OVERRUN,{})}return{consumed:1+n,result:i}}function yt(t,e){if(0===t.length&&ct.throwError("data too short",d.errors.BUFFER_OVERRUN,{}),t[e]>=248){const r=t[e]-247;e+1+r>t.length&&ct.throwError("data short segment too short",d.errors.BUFFER_OVERRUN,{});const n=dt(t,e+1,r);return e+1+r+n>t.length&&ct.throwError("data long segment too short",d.errors.BUFFER_OVERRUN,{}),gt(t,e,e+1+r,r+n)}if(t[e]>=192){const r=t[e]-192;return e+1+r>t.length&&ct.throwError("data array too short",d.errors.BUFFER_OVERRUN,{}),gt(t,e,e+1,r)}if(t[e]>=184){const r=t[e]-183;e+1+r>t.length&&ct.throwError("data array too short",d.errors.BUFFER_OVERRUN,{});const n=dt(t,e+1,r);e+1+r+n>t.length&&ct.throwError("data array too short",d.errors.BUFFER_OVERRUN,{});return{consumed:1+r+n,result:z(t.slice(e+1+r,e+1+r+n))}}if(t[e]>=128){const r=t[e]-128;e+1+r>t.length&&ct.throwError("data too short",d.errors.BUFFER_OVERRUN,{});return{consumed:1+r,result:z(t.slice(e+1,e+1+r))}}return{consumed:1,result:z(t[e])}}function vt(t){const e=D(t),r=yt(e,0);return r.consumed!==e.length&&ct.throwArgumentError("invalid rlp data","data",t),r.result}const bt=new d("address/5.6.1");function wt(t){G(t,20)||bt.throwArgumentError("invalid address","address",t);const e=(t=t.toLowerCase()).substring(2).split(""),r=new Uint8Array(40);for(let t=0;t<40;t++)r[t]=e[t].charCodeAt(0);const n=D(ht(r));for(let t=0;t<40;t+=2)n[t>>1]>>4>=8&&(e[t]=e[t].toUpperCase()),(15&n[t>>1])>=8&&(e[t+1]=e[t+1].toUpperCase());return"0x"+e.join("")}const Et={};for(let t=0;t<10;t++)Et[String(t)]=String(t);for(let t=0;t<26;t++)Et[String.fromCharCode(65+t)]=String(10+t);const At=Math.floor((_t=9007199254740991,Math.log10?Math.log10(_t):Math.log(_t)/Math.LN10));var _t;function Mt(t){let e=(t=(t=t.toUpperCase()).substring(4)+t.substring(0,2)+"00").split("").map((t=>Et[t])).join("");for(;e.length>=At;){let t=e.substring(0,At);e=parseInt(t,10)%97+e.substring(t.length)}let r=String(98-parseInt(e,10)%97);for(;r.length<2;)r="0"+r;return r}function Pt(t){let e=null;if("string"!=typeof t&&bt.throwArgumentError("invalid address","address",t),t.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==t.substring(0,2)&&(t="0x"+t),e=wt(t),t.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&e!==t&&bt.throwArgumentError("bad address checksum","address",t);else if(t.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(t.substring(2,4)!==Mt(t)&&bt.throwArgumentError("bad icap checksum","address",t),r=t.substring(4),e=new Y(r,36).toString(16);e.length<40;)e="0"+e;e=wt("0x"+e)}else bt.throwArgumentError("invalid address","address",t);var r;return e}const St=nt.from(0);var kt=r(33715),xt=r.n(kt);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self&&self;function Nt(t,e,r){return r={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&r.path)}},t(r,r.exports),r.exports}var Rt=It;function It(t,e){if(!t)throw new Error(e||"Assertion failed")}It.equal=function(t,e,r){if(t!=e)throw new Error(r||"Assertion failed: "+t+" != "+e)};var Ot=Nt((function(t,e){var r=e;function n(t){return 1===t.length?"0"+t:t}function i(t){for(var e="",r=0;r>8,s=255&i;o?r.push(o,s):r.push(s)}return r},r.zero2=n,r.toHex=i,r.encode=function(t,e){return"hex"===e?i(t):t}})),Tt=Nt((function(t,e){var r=e;r.assert=Rt,r.toArray=Ot.toArray,r.zero2=Ot.zero2,r.toHex=Ot.toHex,r.encode=Ot.encode,r.getNAF=function(t,e,r){var n=new Array(Math.max(t.bitLength(),r)+1);n.fill(0);for(var i=1<(i>>1)-1?(i>>1)-u:u,o.isubn(a)):a=0,n[s]=a,o.iushrn(1)}return n},r.getJSF=function(t,e){var r=[[],[]];t=t.clone(),e=e.clone();for(var n,i=0,o=0;t.cmpn(-i)>0||e.cmpn(-o)>0;){var s,a,u=t.andln(3)+i&3,l=e.andln(3)+o&3;3===u&&(u=-1),3===l&&(l=-1),s=0==(1&u)?0:3!==(n=t.andln(7)+i&7)&&5!==n||2!==l?u:-u,r[0].push(s),a=0==(1&l)?0:3!==(n=e.andln(7)+o&7)&&5!==n||2!==u?l:-l,r[1].push(a),2*i===s+1&&(i=1-i),2*o===a+1&&(o=1-o),t.iushrn(1),e.iushrn(1)}return r},r.cachedProperty=function(t,e,r){var n="_"+e;t.prototype[e]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},r.parseBytes=function(t){return"string"==typeof t?r.toArray(t,"hex"):t},r.intFromLE=function(t){return new(X())(t,"hex","le")}})),Ct=Tt.getNAF,Ft=Tt.getJSF,Bt=Tt.assert;function Lt(t,e){this.type=t,this.p=new(X())(e.p,16),this.red=e.prime?X().red(e.prime):X().mont(this.p),this.zero=new(X())(0).toRed(this.red),this.one=new(X())(1).toRed(this.red),this.two=new(X())(2).toRed(this.red),this.n=e.n&&new(X())(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var Dt=Lt;function Ut(t,e){this.curve=t,this.type=e,this.precomputed=null}Lt.prototype.point=function(){throw new Error("Not implemented")},Lt.prototype.validate=function(){throw new Error("Not implemented")},Lt.prototype._fixedNafMul=function(t,e){Bt(t.precomputed);var r=t._getDoubles(),n=Ct(e,1,this._bitLength),i=(1<=o;u--)s=(s<<1)+n[u];a.push(s)}for(var l=this.jpoint(null,null,null),h=this.jpoint(null,null,null),c=i;c>0;c--){for(o=0;o=0;a--){for(var u=0;a>=0&&0===o[a];a--)u++;if(a>=0&&u++,s=s.dblp(u),a<0)break;var l=o[a];Bt(0!==l),s="affine"===t.type?l>0?s.mixedAdd(i[l-1>>1]):s.mixedAdd(i[-l-1>>1].neg()):l>0?s.add(i[l-1>>1]):s.add(i[-l-1>>1].neg())}return"affine"===t.type?s.toP():s},Lt.prototype._wnafMulAdd=function(t,e,r,n,i){var o,s,a,u=this._wnafT1,l=this._wnafT2,h=this._wnafT3,c=0;for(o=0;o=1;o-=2){var d=o-1,p=o;if(1===u[d]&&1===u[p]){var m=[e[d],null,null,e[p]];0===e[d].y.cmp(e[p].y)?(m[1]=e[d].add(e[p]),m[2]=e[d].toJ().mixedAdd(e[p].neg())):0===e[d].y.cmp(e[p].y.redNeg())?(m[1]=e[d].toJ().mixedAdd(e[p]),m[2]=e[d].add(e[p].neg())):(m[1]=e[d].toJ().mixedAdd(e[p]),m[2]=e[d].toJ().mixedAdd(e[p].neg()));var g=[-3,-1,-5,-7,0,7,5,1,3],y=Ft(r[d],r[p]);for(c=Math.max(y[0].length,c),h[d]=new Array(c),h[p]=new Array(c),s=0;s=0;o--){for(var A=0;o>=0;){var _=!0;for(s=0;s=0&&A++,w=w.dblp(A),o<0)break;for(s=0;s0?a=l[s][M-1>>1]:M<0&&(a=l[s][-M-1>>1].neg()),w="affine"===a.type?w.mixedAdd(a):w.add(a))}}for(o=0;o=Math.ceil((t.bitLength()+1)/e.step)},Ut.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i=0&&(o=e,s=r),n.negative&&(n=n.neg(),i=i.neg()),o.negative&&(o=o.neg(),s=s.neg()),[{a:n,b:i},{a:o,b:s}]},qt.prototype._endoSplit=function(t){var e=this.endo.basis,r=e[0],n=e[1],i=n.b.mul(t).divRound(this.n),o=r.b.neg().mul(t).divRound(this.n),s=i.mul(r.a),a=o.mul(n.a),u=i.mul(r.b),l=o.mul(n.b);return{k1:t.sub(s).sub(a),k2:u.add(l).neg()}},qt.prototype.pointFromX=function(t,e){(t=new(X())(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var i=n.fromRed().isOdd();return(e&&!i||!e&&i)&&(n=n.redNeg()),this.point(t,n)},qt.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,r=t.y,n=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},qt.prototype._endoWnafMulAdd=function(t,e,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,o=0;o":""},Kt.prototype.isInfinity=function(){return this.inf},Kt.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var r=e.redSqr().redISub(this.x).redISub(t.x),n=e.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},Kt.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,r=this.x.redSqr(),n=t.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(e).redMul(n),o=i.redSqr().redISub(this.x.redAdd(this.x)),s=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,s)},Kt.prototype.getX=function(){return this.x.fromRed()},Kt.prototype.getY=function(){return this.y.fromRed()},Kt.prototype.mul=function(t){return t=new(X())(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},Kt.prototype.mulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},Kt.prototype.jmulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},Kt.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},Kt.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var r=this.precomputed,n=function(t){return t.neg()};e.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return e},Kt.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},jt(Vt,Dt.BasePoint),qt.prototype.jpoint=function(t,e,r){return new Vt(this,t,e,r)},Vt.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),r=this.x.redMul(e),n=this.y.redMul(e).redMul(t);return this.curve.point(r,n)},Vt.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},Vt.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(e),i=t.x.redMul(r),o=this.y.redMul(e.redMul(t.z)),s=t.y.redMul(r.redMul(this.z)),a=n.redSub(i),u=o.redSub(s);if(0===a.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=a.redSqr(),h=l.redMul(a),c=n.redMul(l),f=u.redSqr().redIAdd(h).redISub(c).redISub(c),d=u.redMul(c.redISub(f)).redISub(o.redMul(h)),p=this.z.redMul(t.z).redMul(a);return this.curve.jpoint(f,d,p)},Vt.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),r=this.x,n=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),s=r.redSub(n),a=i.redSub(o);if(0===s.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),l=u.redMul(s),h=r.redMul(u),c=a.redSqr().redIAdd(l).redISub(h).redISub(h),f=a.redMul(h.redISub(c)).redISub(i.redMul(l)),d=this.z.redMul(s);return this.curve.jpoint(c,f,d)},Vt.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var r=this;for(e=0;e=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},Vt.prototype.inspect=function(){return this.isInfinity()?"":""},Vt.prototype.isInfinity=function(){return 0===this.z.cmpn(0)};var $t=Nt((function(t,e){var r=e;r.base=Dt,r.short=zt,r.mont=null,r.edwards=null})),Ht=Nt((function(t,e){var r,n=e,i=Tt.assert;function o(t){"short"===t.type?this.curve=new $t.short(t):"edwards"===t.type?this.curve=new $t.edwards(t):this.curve=new $t.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,i(this.g.validate(),"Invalid curve"),i(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function s(t,e){Object.defineProperty(n,t,{configurable:!0,enumerable:!0,get:function(){var r=new o(e);return Object.defineProperty(n,t,{configurable:!0,enumerable:!0,value:r}),r}})}n.PresetCurve=o,s("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:xt().sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),s("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:xt().sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),s("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:xt().sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),s("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:xt().sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),s("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:xt().sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),s("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:xt().sha256,gRed:!1,g:["9"]}),s("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:xt().sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=null.crash()}catch(t){r=void 0}s("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:xt().sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})}));function Wt(t){if(!(this instanceof Wt))return new Wt(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=Ot.toArray(t.entropy,t.entropyEnc||"hex"),r=Ot.toArray(t.nonce,t.nonceEnc||"hex"),n=Ot.toArray(t.pers,t.persEnc||"hex");Rt(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,r,n)}var Jt=Wt;Wt.prototype._init=function(t,e,r){var n=t.concat(e).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(r||[])),this._reseed=1},Wt.prototype.generate=function(t,e,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof e&&(n=r,r=e,e=null),r&&(r=Ot.toArray(r,n||"hex"),this._update(r));for(var i=[];i.length"};var Qt=Tt.assert;function te(t,e){if(t instanceof te)return t;this._importDER(t,e)||(Qt(t.r&&t.s,"Signature without r or s"),this.r=new(X())(t.r,16),this.s=new(X())(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}var ee=te;function re(){this.place=0}function ne(t,e){var r=t[e.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var i=0,o=0,s=e.place;o>>=0;return!(i<=127)&&(e.place=s,i)}function ie(t){for(var e=0,r=t.length-1;!t[e]&&!(128&t[e+1])&&e>>3);for(t.push(128|r);--r;)t.push(e>>>(r<<3)&255);t.push(e)}}te.prototype._importDER=function(t,e){t=Tt.toArray(t,e);var r=new re;if(48!==t[r.place++])return!1;var n=ne(t,r);if(!1===n)return!1;if(n+r.place!==t.length)return!1;if(2!==t[r.place++])return!1;var i=ne(t,r);if(!1===i)return!1;var o=t.slice(r.place,i+r.place);if(r.place+=i,2!==t[r.place++])return!1;var s=ne(t,r);if(!1===s)return!1;if(t.length!==s+r.place)return!1;var a=t.slice(r.place,s+r.place);if(0===o[0]){if(!(128&o[1]))return!1;o=o.slice(1)}if(0===a[0]){if(!(128&a[1]))return!1;a=a.slice(1)}return this.r=new(X())(o),this.s=new(X())(a),this.recoveryParam=null,!0},te.prototype.toDER=function(t){var e=this.r.toArray(),r=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&r[0]&&(r=[0].concat(r)),e=ie(e),r=ie(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];oe(n,e.length),(n=n.concat(e)).push(2),oe(n,r.length);var i=n.concat(r),o=[48];return oe(o,i.length),o=o.concat(i),Tt.encode(o,t)};var se=function(){throw new Error("unsupported")},ae=Tt.assert;function ue(t){if(!(this instanceof ue))return new ue(t);"string"==typeof t&&(ae(Object.prototype.hasOwnProperty.call(Ht,t),"Unknown curve "+t),t=Ht[t]),t instanceof Ht.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}var le=ue;ue.prototype.keyPair=function(t){return new Yt(this,t)},ue.prototype.keyFromPrivate=function(t,e){return Yt.fromPrivate(this,t,e)},ue.prototype.keyFromPublic=function(t,e){return Yt.fromPublic(this,t,e)},ue.prototype.genKeyPair=function(t){t||(t={});for(var e=new Jt({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||se(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),n=this.n.sub(new(X())(2));;){var i=new(X())(e.generate(r));if(!(i.cmp(n)>0))return i.iaddn(1),this.keyFromPrivate(i)}},ue.prototype._truncateToN=function(t,e){var r=8*t.byteLength()-this.n.bitLength();return r>0&&(t=t.ushrn(r)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},ue.prototype.sign=function(t,e,r,n){"object"==typeof r&&(n=r,r=null),n||(n={}),e=this.keyFromPrivate(e,r),t=this._truncateToN(new(X())(t,16));for(var i=this.n.byteLength(),o=e.getPrivate().toArray("be",i),s=t.toArray("be",i),a=new Jt({hash:this.hash,entropy:o,nonce:s,pers:n.pers,persEnc:n.persEnc||"utf8"}),u=this.n.sub(new(X())(1)),l=0;;l++){var h=n.k?n.k(l):new(X())(a.generate(this.n.byteLength()));if(!((h=this._truncateToN(h,!0)).cmpn(1)<=0||h.cmp(u)>=0)){var c=this.g.mul(h);if(!c.isInfinity()){var f=c.getX(),d=f.umod(this.n);if(0!==d.cmpn(0)){var p=h.invm(this.n).mul(d.mul(e.getPrivate()).iadd(t));if(0!==(p=p.umod(this.n)).cmpn(0)){var m=(c.getY().isOdd()?1:0)|(0!==f.cmp(d)?2:0);return n.canonical&&p.cmp(this.nh)>0&&(p=this.n.sub(p),m^=1),new ee({r:d,s:p,recoveryParam:m})}}}}}},ue.prototype.verify=function(t,e,r,n){t=this._truncateToN(new(X())(t,16)),r=this.keyFromPublic(r,n);var i=(e=new ee(e,"hex")).r,o=e.s;if(i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var s,a=o.invm(this.n),u=a.mul(t).umod(this.n),l=a.mul(i).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(u,r.getPublic(),l)).isInfinity()&&s.eqXToP(i):!(s=this.g.mulAdd(u,r.getPublic(),l)).isInfinity()&&0===s.getX().umod(this.n).cmp(i)},ue.prototype.recoverPubKey=function(t,e,r,n){ae((3&r)===r,"The recovery param is more than two bits"),e=new ee(e,n);var i=this.n,o=new(X())(t),s=e.r,a=e.s,u=1&r,l=r>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&l)throw new Error("Unable to find sencond key candinate");s=l?this.curve.pointFromX(s.add(this.curve.n),u):this.curve.pointFromX(s,u);var h=e.r.invm(i),c=i.sub(o).mul(h).umod(i),f=a.mul(h).umod(i);return this.g.mulAdd(c,s,f)},ue.prototype.getKeyRecoveryParam=function(t,e,r,n){if(null!==(e=new ee(e,n)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")};var he=Nt((function(t,e){var r=e;r.version="6.5.4",r.utils=Tt,r.rand=function(){throw new Error("unsupported")},r.curve=$t,r.curves=Ht,r.ec=le,r.eddsa=null})).ec;const ce=new d("signing-key/5.6.2");let fe=null;function de(){return fe||(fe=new he("secp256k1")),fe}class pe{constructor(t){M(this,"curve","secp256k1"),M(this,"privateKey",z(t)),32!==K(this.privateKey)&&ce.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");const e=de().keyFromPrivate(D(this.privateKey));M(this,"publicKey","0x"+e.getPublic(!1,"hex")),M(this,"compressedPublicKey","0x"+e.getPublic(!0,"hex")),M(this,"_isSigningKey",!0)}_addPoint(t){const e=de().keyFromPublic(D(this.publicKey)),r=de().keyFromPublic(D(t));return"0x"+e.pub.add(r.pub).encodeCompressed("hex")}signDigest(t){const e=de().keyFromPrivate(D(this.privateKey)),r=D(t);32!==r.length&&ce.throwArgumentError("bad digest length","digest",t);const n=e.sign(r,{canonical:!0});return J({recoveryParam:n.recoveryParam,r:W("0x"+n.r.toString(16),32),s:W("0x"+n.s.toString(16),32)})}computeSharedSecret(t){const e=de().keyFromPrivate(D(this.privateKey)),r=de().keyFromPublic(D(me(t)));return W("0x"+e.derive(r.getPublic()).toString(16),32)}static isSigningKey(t){return!(!t||!t._isSigningKey)}}function me(t,e){const r=D(t);if(32===r.length){const t=new pe(r);return e?"0x"+de().keyFromPrivate(r).getPublic(!0,"hex"):t.publicKey}return 33===r.length?e?z(r):"0x"+de().keyFromPublic(r).getPublic(!1,"hex"):65===r.length?e?"0x"+de().keyFromPublic(r).getPublic(!0,"hex"):z(r):ce.throwArgumentError("invalid public or private key","key","[REDACTED]")}const ge=new d("transactions/5.6.2");var ye;function ve(t){return"0x"===t?null:Pt(t)}function be(t){return"0x"===t?St:nt.from(t)}!function(t){t[t.legacy=0]="legacy",t[t.eip2930=1]="eip2930",t[t.eip1559=2]="eip1559"}(ye||(ye={}));function we(t,e){return function(t){return Pt(V(ht(V(me(t),1)),12))}(function(t,e){const r=J(e),n={r:D(r.r),s:D(r.s)};return"0x"+de().recoverPubKey(D(t),n,r.recoveryParam).encode("hex",!1)}(D(t),e))}function Ee(t,e){const r=j(nt.from(t).toHexString());return r.length>32&&ge.throwArgumentError("invalid length for "+e,"transaction:"+e,t),r}function Ae(t,e){return{address:Pt(t),storageKeys:(e||[]).map(((e,r)=>(32!==K(e)&&ge.throwArgumentError("invalid access list storageKey",`accessList[${t}:${r}]`,e),e.toLowerCase())))}}function _e(t){if(Array.isArray(t))return t.map(((t,e)=>Array.isArray(t)?(t.length>2&&ge.throwArgumentError("access list expected to be [ address, storageKeys[] ]",`value[${e}]`,t),Ae(t[0],t[1])):Ae(t.address,t.storageKeys)));const e=Object.keys(t).map((e=>{const r=t[e].reduce(((t,e)=>(t[e]=!0,t)),{});return Ae(e,Object.keys(r).sort())}));return e.sort(((t,e)=>t.address.localeCompare(e.address))),e}function Me(t){return _e(t).map((t=>[t.address,t.storageKeys]))}function Pe(t,e){if(null!=t.gasPrice){const e=nt.from(t.gasPrice),r=nt.from(t.maxFeePerGas||0);e.eq(r)||ge.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:e,maxFeePerGas:r})}const r=[Ee(t.chainId||0,"chainId"),Ee(t.nonce||0,"nonce"),Ee(t.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),Ee(t.maxFeePerGas||0,"maxFeePerGas"),Ee(t.gasLimit||0,"gasLimit"),null!=t.to?Pt(t.to):"0x",Ee(t.value||0,"value"),t.data||"0x",Me(t.accessList||[])];if(e){const t=J(e);r.push(Ee(t.recoveryParam,"recoveryParam")),r.push(j(t.r)),r.push(j(t.s))}return $(["0x02",mt(r)])}function Se(t,e){const r=[Ee(t.chainId||0,"chainId"),Ee(t.nonce||0,"nonce"),Ee(t.gasPrice||0,"gasPrice"),Ee(t.gasLimit||0,"gasLimit"),null!=t.to?Pt(t.to):"0x",Ee(t.value||0,"value"),t.data||"0x",Me(t.accessList||[])];if(e){const t=J(e);r.push(Ee(t.recoveryParam,"recoveryParam")),r.push(j(t.r)),r.push(j(t.s))}return $(["0x01",mt(r)])}function ke(t,e,r){try{const r=be(e[0]).toNumber();if(0!==r&&1!==r)throw new Error("bad recid");t.v=r}catch(t){ge.throwArgumentError("invalid v for transaction type: 1","v",e[0])}t.r=W(e[1],32),t.s=W(e[2],32);try{const e=ht(r(t));t.from=we(e,{r:t.r,s:t.s,recoveryParam:t.v})}catch(t){}}function xe(t){const e=D(t);if(e[0]>127)return function(t){const e=vt(t);9!==e.length&&6!==e.length&&ge.throwArgumentError("invalid raw transaction","rawTransaction",t);const r={nonce:be(e[0]).toNumber(),gasPrice:be(e[1]),gasLimit:be(e[2]),to:ve(e[3]),value:be(e[4]),data:e[5],chainId:0};if(6===e.length)return r;try{r.v=nt.from(e[6]).toNumber()}catch(t){return r}if(r.r=W(e[7],32),r.s=W(e[8],32),nt.from(r.r).isZero()&&nt.from(r.s).isZero())r.chainId=r.v,r.v=0;else{r.chainId=Math.floor((r.v-35)/2),r.chainId<0&&(r.chainId=0);let n=r.v-27;const i=e.slice(0,6);0!==r.chainId&&(i.push(z(r.chainId)),i.push("0x"),i.push("0x"),n-=2*r.chainId+8);const o=ht(mt(i));try{r.from=we(o,{r:z(r.r),s:z(r.s),recoveryParam:n})}catch(t){}r.hash=ht(t)}return r.type=null,r}(e);switch(e[0]){case 1:return function(t){const e=vt(t.slice(1));8!==e.length&&11!==e.length&&ge.throwArgumentError("invalid component count for transaction type: 1","payload",z(t));const r={type:1,chainId:be(e[0]).toNumber(),nonce:be(e[1]).toNumber(),gasPrice:be(e[2]),gasLimit:be(e[3]),to:ve(e[4]),value:be(e[5]),data:e[6],accessList:_e(e[7])};return 8===e.length||(r.hash=ht(t),ke(r,e.slice(8),Se)),r}(e);case 2:return function(t){const e=vt(t.slice(1));9!==e.length&&12!==e.length&&ge.throwArgumentError("invalid component count for transaction type: 2","payload",z(t));const r=be(e[2]),n=be(e[3]),i={type:2,chainId:be(e[0]).toNumber(),nonce:be(e[1]).toNumber(),maxPriorityFeePerGas:r,maxFeePerGas:n,gasPrice:null,gasLimit:be(e[4]),to:ve(e[5]),value:be(e[6]),data:e[7],accessList:_e(e[8])};return 9===e.length||(i.hash=ht(t),ke(i,e.slice(9),Pe)),i}(e)}return ge.throwError(`unsupported transaction type: ${e[0]}`,d.errors.UNSUPPORTED_OPERATION,{operation:"parseTransaction",transactionType:e[0]})}const Ne="providers/5.6.8",Re=new d(Ne);class Ie{constructor(){this.formats=this.getDefaultFormats()}getDefaultFormats(){const t={},e=this.address.bind(this),r=this.bigNumber.bind(this),n=this.blockTag.bind(this),i=this.data.bind(this),o=this.hash.bind(this),s=this.hex.bind(this),a=this.number.bind(this),u=this.type.bind(this);return t.transaction={hash:o,type:u,accessList:Ie.allowNull(this.accessList.bind(this),null),blockHash:Ie.allowNull(o,null),blockNumber:Ie.allowNull(a,null),transactionIndex:Ie.allowNull(a,null),confirmations:Ie.allowNull(a,null),from:e,gasPrice:Ie.allowNull(r),maxPriorityFeePerGas:Ie.allowNull(r),maxFeePerGas:Ie.allowNull(r),gasLimit:r,to:Ie.allowNull(e,null),value:r,nonce:a,data:i,r:Ie.allowNull(this.uint256),s:Ie.allowNull(this.uint256),v:Ie.allowNull(a),creates:Ie.allowNull(e,null),raw:Ie.allowNull(i)},t.transactionRequest={from:Ie.allowNull(e),nonce:Ie.allowNull(a),gasLimit:Ie.allowNull(r),gasPrice:Ie.allowNull(r),maxPriorityFeePerGas:Ie.allowNull(r),maxFeePerGas:Ie.allowNull(r),to:Ie.allowNull(e),value:Ie.allowNull(r),data:Ie.allowNull((t=>this.data(t,!0))),type:Ie.allowNull(a),accessList:Ie.allowNull(this.accessList.bind(this),null)},t.receiptLog={transactionIndex:a,blockNumber:a,transactionHash:o,address:e,topics:Ie.arrayOf(o),data:i,logIndex:a,blockHash:o},t.receipt={to:Ie.allowNull(this.address,null),from:Ie.allowNull(this.address,null),contractAddress:Ie.allowNull(e,null),transactionIndex:a,root:Ie.allowNull(s),gasUsed:r,logsBloom:Ie.allowNull(i),blockHash:o,transactionHash:o,logs:Ie.arrayOf(this.receiptLog.bind(this)),blockNumber:a,confirmations:Ie.allowNull(a,null),cumulativeGasUsed:r,effectiveGasPrice:Ie.allowNull(r),status:Ie.allowNull(a),type:u},t.block={hash:Ie.allowNull(o),parentHash:o,number:a,timestamp:a,nonce:Ie.allowNull(s),difficulty:this.difficulty.bind(this),gasLimit:r,gasUsed:r,miner:Ie.allowNull(e),extraData:i,transactions:Ie.allowNull(Ie.arrayOf(o)),baseFeePerGas:Ie.allowNull(r)},t.blockWithTransactions=k(t.block),t.blockWithTransactions.transactions=Ie.allowNull(Ie.arrayOf(this.transactionResponse.bind(this))),t.filter={fromBlock:Ie.allowNull(n,void 0),toBlock:Ie.allowNull(n,void 0),blockHash:Ie.allowNull(o,void 0),address:Ie.allowNull(e,void 0),topics:Ie.allowNull(this.topics.bind(this),void 0)},t.filterLog={blockNumber:Ie.allowNull(a),blockHash:Ie.allowNull(o),transactionIndex:a,removed:Ie.allowNull(this.boolean.bind(this)),address:e,data:Ie.allowFalsish(i,"0x"),topics:Ie.arrayOf(o),transactionHash:o,logIndex:a},t}accessList(t){return _e(t||[])}number(t){return"0x"===t?0:nt.from(t).toNumber()}type(t){return"0x"===t||null==t?0:nt.from(t).toNumber()}bigNumber(t){return nt.from(t)}boolean(t){if("boolean"==typeof t)return t;if("string"==typeof t){if("true"===(t=t.toLowerCase()))return!0;if("false"===t)return!1}throw new Error("invalid boolean - "+t)}hex(t,e){return"string"==typeof t&&(e||"0x"===t.substring(0,2)||(t="0x"+t),G(t))?t.toLowerCase():Re.throwArgumentError("invalid hash","value",t)}data(t,e){const r=this.hex(t,e);if(r.length%2!=0)throw new Error("invalid data; odd-length - "+t);return r}address(t){return Pt(t)}callAddress(t){if(!G(t,32))return null;const e=Pt(V(t,12));return"0x0000000000000000000000000000000000000000"===e?null:e}contractAddress(t){return function(t){let e=null;try{e=Pt(t.from)}catch(e){bt.throwArgumentError("missing from address","transaction",t)}return Pt(V(ht(mt([e,j(D(nt.from(t.nonce).toHexString()))])),12))}(t)}blockTag(t){if(null==t)return"latest";if("earliest"===t)return"0x0";if("latest"===t||"pending"===t)return t;if("number"==typeof t||G(t))return H(t);throw new Error("invalid blockTag")}hash(t,e){const r=this.hex(t,e);return 32!==K(r)?Re.throwArgumentError("invalid hash","value",t):r}difficulty(t){if(null==t)return null;const e=nt.from(t);try{return e.toNumber()}catch(t){}return null}uint256(t){if(!G(t))throw new Error("invalid uint256");return W(t,32)}_block(t,e){null!=t.author&&null==t.miner&&(t.miner=t.author);const r=null!=t._difficulty?t._difficulty:t.difficulty,n=Ie.check(e,t);return n._difficulty=null==r?null:nt.from(r),n}block(t){return this._block(t,this.formats.block)}blockWithTransactions(t){return this._block(t,this.formats.blockWithTransactions)}transactionRequest(t){return Ie.check(this.formats.transactionRequest,t)}transactionResponse(t){null!=t.gas&&null==t.gasLimit&&(t.gasLimit=t.gas),t.to&&nt.from(t.to).isZero()&&(t.to="0x0000000000000000000000000000000000000000"),null!=t.input&&null==t.data&&(t.data=t.input),null==t.to&&null==t.creates&&(t.creates=this.contractAddress(t)),1!==t.type&&2!==t.type||null!=t.accessList||(t.accessList=[]);const e=Ie.check(this.formats.transaction,t);if(null!=t.chainId){let r=t.chainId;G(r)&&(r=nt.from(r).toNumber()),e.chainId=r}else{let r=t.networkId;null==r&&null==e.v&&(r=t.chainId),G(r)&&(r=nt.from(r).toNumber()),"number"!=typeof r&&null!=e.v&&(r=(e.v-35)/2,r<0&&(r=0),r=parseInt(r)),"number"!=typeof r&&(r=0),e.chainId=r}return e.blockHash&&"x"===e.blockHash.replace(/0/g,"")&&(e.blockHash=null),e}transaction(t){return xe(t)}receiptLog(t){return Ie.check(this.formats.receiptLog,t)}receipt(t){const e=Ie.check(this.formats.receipt,t);if(null!=e.root)if(e.root.length<=4){const t=nt.from(e.root).toNumber();0===t||1===t?(null!=e.status&&e.status!==t&&Re.throwArgumentError("alt-root-status/status mismatch","value",{root:e.root,status:e.status}),e.status=t,delete e.root):Re.throwArgumentError("invalid alt-root-status","value.root",e.root)}else 66!==e.root.length&&Re.throwArgumentError("invalid root hash","value.root",e.root);return null!=e.status&&(e.byzantium=!0),e}topics(t){return Array.isArray(t)?t.map((t=>this.topics(t))):null!=t?this.hash(t,!0):null}filter(t){return Ie.check(this.formats.filter,t)}filterLog(t){return Ie.check(this.formats.filterLog,t)}static check(t,e){const r={};for(const n in t)try{const i=t[n](e[n]);void 0!==i&&(r[n]=i)}catch(t){throw t.checkKey=n,t.checkValue=e[n],t}return r}static allowNull(t,e){return function(r){return null==r?e:t(r)}}static allowFalsish(t,e){return function(r){return r?t(r):e}}static arrayOf(t){return function(e){if(!Array.isArray(e))throw new Error("not an array");const r=[];return e.forEach((function(e){r.push(t(e))})),r}}}function Oe(t){return function(t){return t&&"function"==typeof t.isCommunityResource}(t)&&t.isCommunityResource()}let Te=!1;function Ce(){Te||(Te=!0,console.log("========= NOTICE ========="),console.log("Request-Rate Exceeded (this message will not be repeated)"),console.log(""),console.log("The default API keys for each service are provided as a highly-throttled,"),console.log("community resource for low-traffic projects and early prototyping."),console.log(""),console.log("While your application will continue to function, we highly recommended"),console.log("signing up for your own API keys to improve performance, increase your"),console.log("request rate/limit and enable other perks, such as metrics and advanced APIs."),console.log(""),console.log("For more details: https://docs.ethers.io/api-keys/"),console.log("=========================="))}var Fe=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const Be=new d("abstract-signer/5.6.2"),Le=["accessList","ccipReadEnabled","chainId","customData","data","from","gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","nonce","to","type","value"],De=[d.errors.INSUFFICIENT_FUNDS,d.errors.NONCE_EXPIRED,d.errors.REPLACEMENT_UNDERPRICED];class Ue{constructor(){Be.checkAbstract(new.target,Ue),M(this,"_isSigner",!0)}getBalance(t){return Fe(this,void 0,void 0,(function*(){return this._checkProvider("getBalance"),yield this.provider.getBalance(this.getAddress(),t)}))}getTransactionCount(t){return Fe(this,void 0,void 0,(function*(){return this._checkProvider("getTransactionCount"),yield this.provider.getTransactionCount(this.getAddress(),t)}))}estimateGas(t){return Fe(this,void 0,void 0,(function*(){this._checkProvider("estimateGas");const e=yield S(this.checkTransaction(t));return yield this.provider.estimateGas(e)}))}call(t,e){return Fe(this,void 0,void 0,(function*(){this._checkProvider("call");const r=yield S(this.checkTransaction(t));return yield this.provider.call(r,e)}))}sendTransaction(t){return Fe(this,void 0,void 0,(function*(){this._checkProvider("sendTransaction");const e=yield this.populateTransaction(t),r=yield this.signTransaction(e);return yield this.provider.sendTransaction(r)}))}getChainId(){return Fe(this,void 0,void 0,(function*(){this._checkProvider("getChainId");return(yield this.provider.getNetwork()).chainId}))}getGasPrice(){return Fe(this,void 0,void 0,(function*(){return this._checkProvider("getGasPrice"),yield this.provider.getGasPrice()}))}getFeeData(){return Fe(this,void 0,void 0,(function*(){return this._checkProvider("getFeeData"),yield this.provider.getFeeData()}))}resolveName(t){return Fe(this,void 0,void 0,(function*(){return this._checkProvider("resolveName"),yield this.provider.resolveName(t)}))}checkTransaction(t){for(const e in t)-1===Le.indexOf(e)&&Be.throwArgumentError("invalid transaction key: "+e,"transaction",t);const e=k(t);return null==e.from?e.from=this.getAddress():e.from=Promise.all([Promise.resolve(e.from),this.getAddress()]).then((e=>(e[0].toLowerCase()!==e[1].toLowerCase()&&Be.throwArgumentError("from address mismatch","transaction",t),e[0]))),e}populateTransaction(t){return Fe(this,void 0,void 0,(function*(){const e=yield S(this.checkTransaction(t));null!=e.to&&(e.to=Promise.resolve(e.to).then((t=>Fe(this,void 0,void 0,(function*(){if(null==t)return null;const e=yield this.resolveName(t);return null==e&&Be.throwArgumentError("provided ENS name resolves to null","tx.to",t),e})))),e.to.catch((t=>{})));const r=null!=e.maxFeePerGas||null!=e.maxPriorityFeePerGas;if(null==e.gasPrice||2!==e.type&&!r?0!==e.type&&1!==e.type||!r||Be.throwArgumentError("pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas","transaction",t):Be.throwArgumentError("eip-1559 transaction do not support gasPrice","transaction",t),2!==e.type&&null!=e.type||null==e.maxFeePerGas||null==e.maxPriorityFeePerGas)if(0===e.type||1===e.type)null==e.gasPrice&&(e.gasPrice=this.getGasPrice());else{const t=yield this.getFeeData();if(null==e.type)if(null!=t.maxFeePerGas&&null!=t.maxPriorityFeePerGas)if(e.type=2,null!=e.gasPrice){const t=e.gasPrice;delete e.gasPrice,e.maxFeePerGas=t,e.maxPriorityFeePerGas=t}else null==e.maxFeePerGas&&(e.maxFeePerGas=t.maxFeePerGas),null==e.maxPriorityFeePerGas&&(e.maxPriorityFeePerGas=t.maxPriorityFeePerGas);else null!=t.gasPrice?(r&&Be.throwError("network does not support EIP-1559",d.errors.UNSUPPORTED_OPERATION,{operation:"populateTransaction"}),null==e.gasPrice&&(e.gasPrice=t.gasPrice),e.type=0):Be.throwError("failed to get consistent fee data",d.errors.UNSUPPORTED_OPERATION,{operation:"signer.getFeeData"});else 2===e.type&&(null==e.maxFeePerGas&&(e.maxFeePerGas=t.maxFeePerGas),null==e.maxPriorityFeePerGas&&(e.maxPriorityFeePerGas=t.maxPriorityFeePerGas))}else e.type=2;return null==e.nonce&&(e.nonce=this.getTransactionCount("pending")),null==e.gasLimit&&(e.gasLimit=this.estimateGas(e).catch((t=>{if(De.indexOf(t.code)>=0)throw t;return Be.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",d.errors.UNPREDICTABLE_GAS_LIMIT,{error:t,tx:e})}))),null==e.chainId?e.chainId=this.getChainId():e.chainId=Promise.all([Promise.resolve(e.chainId),this.getChainId()]).then((e=>(0!==e[1]&&e[0]!==e[1]&&Be.throwArgumentError("chainId address mismatch","transaction",t),e[0]))),yield S(e)}))}_checkProvider(t){this.provider||Be.throwError("missing provider",d.errors.UNSUPPORTED_OPERATION,{operation:t||"_checkProvider"})}static isSigner(t){return!(!t||!t._isSigner)}}const je="hash/5.6.1",Ge=new d("strings/5.6.1");var qe,ze;function Ke(t,e,r,n,i){if(t===ze.BAD_PREFIX||t===ze.UNEXPECTED_CONTINUE){let t=0;for(let n=e+1;n>6==2;n++)t++;return t}return t===ze.OVERRUN?r.length-e-1:0}!function(t){t.current="",t.NFC="NFC",t.NFD="NFD",t.NFKC="NFKC",t.NFKD="NFKD"}(qe||(qe={})),function(t){t.UNEXPECTED_CONTINUE="unexpected continuation byte",t.BAD_PREFIX="bad codepoint prefix",t.OVERRUN="string overrun",t.MISSING_CONTINUE="missing continuation byte",t.OUT_OF_RANGE="out of UTF-8 range",t.UTF16_SURROGATE="UTF-16 surrogate",t.OVERLONG="overlong representation"}(ze||(ze={}));const Ve=Object.freeze({error:function(t,e,r,n,i){return Ge.throwArgumentError(`invalid codepoint at offset ${e}; ${t}`,"bytes",r)},ignore:Ke,replace:function(t,e,r,n,i){return t===ze.OVERLONG?(n.push(i),0):(n.push(65533),Ke(t,e,r))}});function $e(t,e){null==e&&(e=Ve.error),t=D(t);const r=[];let n=0;for(;n>7==0){r.push(i);continue}let o=null,s=null;if(192==(224&i))o=1,s=127;else if(224==(240&i))o=2,s=2047;else{if(240!=(248&i)){n+=e(128==(192&i)?ze.UNEXPECTED_CONTINUE:ze.BAD_PREFIX,n-1,t,r);continue}o=3,s=65535}if(n-1+o>=t.length){n+=e(ze.OVERRUN,n-1,t,r);continue}let a=i&(1<<8-o-1)-1;for(let i=0;i1114111?n+=e(ze.OUT_OF_RANGE,n-1-o,t,r,a):a>=55296&&a<=57343?n+=e(ze.UTF16_SURROGATE,n-1-o,t,r,a):a<=s?n+=e(ze.OVERLONG,n-1-o,t,r,a):r.push(a))}return r}function He(t,e=qe.current){e!=qe.current&&(Ge.checkNormalize(),t=t.normalize(e));let r=[];for(let e=0;e>6|192),r.push(63&n|128);else if(55296==(64512&n)){e++;const i=t.charCodeAt(e);if(e>=t.length||56320!=(64512&i))throw new Error("invalid utf-8 string");const o=65536+((1023&n)<<10)+(1023&i);r.push(o>>18|240),r.push(o>>12&63|128),r.push(o>>6&63|128),r.push(63&o|128)}else r.push(n>>12|224),r.push(n>>6&63|128),r.push(63&n|128)}return D(r)}function We(t){return t.map((t=>t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10&1023),56320+(1023&t))))).join("")}function Je(t,e){return We($e(t,e))}function Ze(t,e=qe.current){return $e(He(t,e))}function Xe(t){return ht(He(t))}var Ye=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const Qe=new d(je),tr=new Uint8Array(32);tr.fill(0);const er=nt.from(-1),rr=nt.from(0),nr=nt.from(1),ir=nt.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");const or=W(nr.toHexString(),32),sr=W(rr.toHexString(),32),ar={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},ur=["name","version","chainId","verifyingContract","salt"];function lr(t){return function(e){return"string"!=typeof e&&Qe.throwArgumentError(`invalid domain value for ${JSON.stringify(t)}`,`domain.${t}`,e),e}}const hr={name:lr("name"),version:lr("version"),chainId:function(t){try{return nt.from(t).toString()}catch(t){}return Qe.throwArgumentError('invalid domain value for "chainId"',"domain.chainId",t)},verifyingContract:function(t){try{return Pt(t).toLowerCase()}catch(t){}return Qe.throwArgumentError('invalid domain value "verifyingContract"',"domain.verifyingContract",t)},salt:function(t){try{const e=D(t);if(32!==e.length)throw new Error("bad length");return z(e)}catch(t){}return Qe.throwArgumentError('invalid domain value "salt"',"domain.salt",t)}};function cr(t){{const e=t.match(/^(u?)int(\d*)$/);if(e){const r=""===e[1],n=parseInt(e[2]||"256");(n%8!=0||n>256||e[2]&&e[2]!==String(n))&&Qe.throwArgumentError("invalid numeric width","type",t);const i=ir.mask(r?n-1:n),o=r?i.add(nr).mul(er):rr;return function(e){const r=nt.from(e);return(r.lt(o)||r.gt(i))&&Qe.throwArgumentError(`value out-of-bounds for ${t}`,"value",e),W(r.toTwos(256).toHexString(),32)}}}{const e=t.match(/^bytes(\d+)$/);if(e){const r=parseInt(e[1]);return(0===r||r>32||e[1]!==String(r))&&Qe.throwArgumentError("invalid bytes width","type",t),function(e){return D(e).length!==r&&Qe.throwArgumentError(`invalid length for ${t}`,"value",e),function(t){const e=D(t),r=e.length%32;return r?$([e,tr.slice(r)]):z(e)}(e)}}}switch(t){case"address":return function(t){return W(Pt(t),32)};case"bool":return function(t){return t?or:sr};case"bytes":return function(t){return ht(t)};case"string":return function(t){return Xe(t)}}return null}function fr(t,e){return`${t}(${e.map((({name:t,type:e})=>e+" "+t)).join(",")})`}class dr{constructor(t){M(this,"types",Object.freeze(I(t))),M(this,"_encoderCache",{}),M(this,"_types",{});const e={},r={},n={};Object.keys(t).forEach((t=>{e[t]={},r[t]=[],n[t]={}}));for(const n in t){const i={};t[n].forEach((o=>{i[o.name]&&Qe.throwArgumentError(`duplicate variable name ${JSON.stringify(o.name)} in ${JSON.stringify(n)}`,"types",t),i[o.name]=!0;const s=o.type.match(/^([^\x5b]*)(\x5b|$)/)[1];s===n&&Qe.throwArgumentError(`circular type reference to ${JSON.stringify(s)}`,"types",t);cr(s)||(r[s]||Qe.throwArgumentError(`unknown type ${JSON.stringify(s)}`,"types",t),r[s].push(n),e[n][s]=!0)}))}const i=Object.keys(r).filter((t=>0===r[t].length));0===i.length?Qe.throwArgumentError("missing primary type","types",t):i.length>1&&Qe.throwArgumentError(`ambiguous primary types or unused types: ${i.map((t=>JSON.stringify(t))).join(", ")}`,"types",t),M(this,"primaryType",i[0]),function i(o,s){s[o]&&Qe.throwArgumentError(`circular type reference to ${JSON.stringify(o)}`,"types",t),s[o]=!0,Object.keys(e[o]).forEach((t=>{r[t]&&(i(t,s),Object.keys(s).forEach((e=>{n[e][t]=!0})))})),delete s[o]}(this.primaryType,{});for(const e in n){const r=Object.keys(n[e]);r.sort(),this._types[e]=fr(e,t[e])+r.map((e=>fr(e,t[e]))).join("")}}getEncoder(t){let e=this._encoderCache[t];return e||(e=this._encoderCache[t]=this._getEncoder(t)),e}_getEncoder(t){{const e=cr(t);if(e)return e}const e=t.match(/^(.*)(\x5b(\d*)\x5d)$/);if(e){const t=e[1],r=this.getEncoder(t),n=parseInt(e[3]);return e=>{n>=0&&e.length!==n&&Qe.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",e);let i=e.map(r);return this._types[t]&&(i=i.map(ht)),ht($(i))}}const r=this.types[t];if(r){const e=Xe(this._types[t]);return t=>{const n=r.map((({name:e,type:r})=>{const n=this.getEncoder(r)(t[e]);return this._types[r]?ht(n):n}));return n.unshift(e),$(n)}}return Qe.throwArgumentError(`unknown type: ${t}`,"type",t)}encodeType(t){const e=this._types[t];return e||Qe.throwArgumentError(`unknown type: ${JSON.stringify(t)}`,"name",t),e}encodeData(t,e){return this.getEncoder(t)(e)}hashStruct(t,e){return ht(this.encodeData(t,e))}encode(t){return this.encodeData(this.primaryType,t)}hash(t){return this.hashStruct(this.primaryType,t)}_visit(t,e,r){if(cr(t))return r(t,e);const n=t.match(/^(.*)(\x5b(\d*)\x5d)$/);if(n){const t=n[1],i=parseInt(n[3]);return i>=0&&e.length!==i&&Qe.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",e),e.map((e=>this._visit(t,e,r)))}const i=this.types[t];return i?i.reduce(((t,{name:n,type:i})=>(t[n]=this._visit(i,e[n],r),t)),{}):Qe.throwArgumentError(`unknown type: ${t}`,"type",t)}visit(t,e){return this._visit(this.primaryType,t,e)}static from(t){return new dr(t)}static getPrimaryType(t){return dr.from(t).primaryType}static hashStruct(t,e,r){return dr.from(e).hashStruct(t,r)}static hashDomain(t){const e=[];for(const r in t){const n=ar[r];n||Qe.throwArgumentError(`invalid typed-data domain key: ${JSON.stringify(r)}`,"domain",t),e.push({name:r,type:n})}return e.sort(((t,e)=>ur.indexOf(t.name)-ur.indexOf(e.name))),dr.hashStruct("EIP712Domain",{EIP712Domain:e},t)}static encode(t,e,r){return $(["0x1901",dr.hashDomain(t),dr.from(e).hash(r)])}static hash(t,e,r){return ht(dr.encode(t,e,r))}static resolveNames(t,e,r,n){return Ye(this,void 0,void 0,(function*(){t=k(t);const i={};t.verifyingContract&&!G(t.verifyingContract,20)&&(i[t.verifyingContract]="0x");const o=dr.from(e);o.visit(r,((t,e)=>("address"!==t||G(e,20)||(i[e]="0x"),e)));for(const t in i)i[t]=yield n(t);return t.verifyingContract&&i[t.verifyingContract]&&(t.verifyingContract=i[t.verifyingContract]),r=o.visit(r,((t,e)=>"address"===t&&i[e]?i[e]:e)),{domain:t,value:r}}))}static getPayload(t,e,r){dr.hashDomain(t);const n={},i=[];ur.forEach((e=>{const r=t[e];null!=r&&(n[e]=hr[e](r),i.push({name:e,type:ar[e]}))}));const o=dr.from(e),s=k(e);return s.EIP712Domain?Qe.throwArgumentError("types must not contain EIP712Domain type","types.EIP712Domain",e):s.EIP712Domain=i,o.encode(r),{types:s,domain:n,primaryType:o.primaryType,message:o.visit(r,((t,e)=>{if(t.match(/^bytes(\d*)/))return z(D(e));if(t.match(/^u?int/))return nt.from(e).toString();switch(t){case"address":return e.toLowerCase();case"bool":return!!e;case"string":return"string"!=typeof e&&Qe.throwArgumentError("invalid string","value",e),e}return Qe.throwArgumentError("unsupported type","type",t)}))}}}function pr(t){t=atob(t);const e=[];for(let r=0;r{o[e.toLowerCase()]=t})):n.headers.keys().forEach((t=>{o[t.toLowerCase()]=n.headers.get(t)})),{headers:o,statusCode:n.status,statusMessage:n.statusText,body:D(new Uint8Array(i))}}))}var vr=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const br=new d("web/5.6.1");function wr(t){return new Promise((e=>{setTimeout(e,t)}))}function Er(t,e){if(null==t)return null;if("string"==typeof t)return t;if(F(t)){if(e&&("text"===e.split("/")[0]||"application/json"===e.split(";")[0].trim()))try{return Je(t)}catch(t){}return z(t)}return t}function Ar(t,e,r){let n=null;if(null!=e){n=He(e);const r="string"==typeof t?{url:t}:k(t);if(r.headers){0!==Object.keys(r.headers).filter((t=>"content-type"===t.toLowerCase())).length||(r.headers=k(r.headers),r.headers["content-type"]="application/json")}else r.headers={"content-type":"application/json"};t=r}return function(t,e,r){const n="object"==typeof t&&null!=t.throttleLimit?t.throttleLimit:12;br.assertArgument(n>0&&n%1==0,"invalid connection throttle limit","connection.throttleLimit",n);const i="object"==typeof t?t.throttleCallback:null,o="object"==typeof t&&"number"==typeof t.throttleSlotInterval?t.throttleSlotInterval:100;br.assertArgument(o>0&&o%1==0,"invalid connection throttle slot interval","connection.throttleSlotInterval",o);const s="object"==typeof t&&!!t.errorPassThrough,a={};let u=null;const l={method:"GET"};let h=!1,c=12e4;if("string"==typeof t)u=t;else if("object"==typeof t){if(null!=t&&null!=t.url||br.throwArgumentError("missing URL","connection.url",t),u=t.url,"number"==typeof t.timeout&&t.timeout>0&&(c=t.timeout),t.headers)for(const e in t.headers)a[e.toLowerCase()]={key:e,value:String(t.headers[e])},["if-none-match","if-modified-since"].indexOf(e.toLowerCase())>=0&&(h=!0);if(l.allowGzip=!!t.allowGzip,null!=t.user&&null!=t.password){"https:"!==u.substring(0,6)&&!0!==t.allowInsecureAuthentication&&br.throwError("basic authentication requires a secure https url",d.errors.INVALID_ARGUMENT,{argument:"url",url:u,user:t.user,password:"[REDACTED]"});const e=t.user+":"+t.password;a.authorization={key:"Authorization",value:"Basic "+mr(He(e))}}null!=t.skipFetchSetup&&(l.skipFetchSetup=!!t.skipFetchSetup)}const f=new RegExp("^data:([a-z0-9-]+/[a-z0-9-]+);base64,(.*)$","i"),p=u?u.match(f):null;if(p)try{const t={statusCode:200,statusMessage:"OK",headers:{"content-type":p[1]},body:pr(p[2])};let e=t.body;return r&&(e=r(t.body,t)),Promise.resolve(e)}catch(t){br.throwError("processing response error",d.errors.SERVER_ERROR,{body:Er(p[1],p[2]),error:t,requestBody:null,requestMethod:"GET",url:u})}e&&(l.method="POST",l.body=e,null==a["content-type"]&&(a["content-type"]={key:"Content-Type",value:"application/octet-stream"}),null==a["content-length"]&&(a["content-length"]={key:"Content-Length",value:String(e.length)}));const m={};Object.keys(a).forEach((t=>{const e=a[t];m[e.key]=e.value})),l.headers=m;const g=function(){let t=null;return{promise:new Promise((function(e,r){c&&(t=setTimeout((()=>{null!=t&&(t=null,r(br.makeError("timeout",d.errors.TIMEOUT,{requestBody:Er(l.body,m["content-type"]),requestMethod:l.method,timeout:c,url:u})))}),c))})),cancel:function(){null!=t&&(clearTimeout(t),t=null)}}}(),y=function(){return vr(this,void 0,void 0,(function*(){for(let t=0;t=300)&&(g.cancel(),br.throwError("bad response",d.errors.SERVER_ERROR,{status:e.statusCode,headers:e.headers,body:Er(a,e.headers?e.headers["content-type"]:null),requestBody:Er(l.body,m["content-type"]),requestMethod:l.method,url:u})),r)try{const t=yield r(a,e);return g.cancel(),t}catch(r){if(r.throttleRetry&&t{let n=null;if(null!=t)try{n=JSON.parse(Je(t))}catch(e){br.throwError("invalid JSON",d.errors.SERVER_ERROR,{body:t,error:e})}return r&&(n=r(n,e)),n}))}function _r(t,e){return e||(e={}),null==(e=k(e)).floor&&(e.floor=0),null==e.ceiling&&(e.ceiling=1e4),null==e.interval&&(e.interval=250),new Promise((function(r,n){let i=null,o=!1;const s=()=>!o&&(o=!0,i&&clearTimeout(i),!0);e.timeout&&(i=setTimeout((()=>{s()&&n(new Error("timeout"))}),e.timeout));const a=e.retryLimit;let u=0;!function i(){return t().then((function(t){if(void 0!==t)s()&&r(t);else if(e.oncePoll)e.oncePoll.once("poll",i);else if(e.onceBlock)e.onceBlock.once("block",i);else if(!o){if(u++,u>a)return void(s()&&n(new Error("retry limit reached")));let t=e.interval*parseInt(String(Math.random()*Math.pow(2,u)));te.ceiling&&(t=e.ceiling),setTimeout(i,t)}return null}),(function(t){s()&&n(t)}))}()}))}var Mr=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const Pr=new d("abstract-provider/5.6.1");class Sr extends class{constructor(t){for(const e in t)this[e]=I(t[e])}}{static isForkEvent(t){return!(!t||!t._isForkEvent)}}class kr{constructor(){Pr.checkAbstract(new.target,kr),M(this,"_isProvider",!0)}getFeeData(){return Mr(this,void 0,void 0,(function*(){const{block:t,gasPrice:e}=yield S({block:this.getBlock("latest"),gasPrice:this.getGasPrice().catch((t=>null))});let r=null,n=null;return t&&t.baseFeePerGas&&(n=nt.from("1500000000"),r=t.baseFeePerGas.mul(2).add(n)),{maxFeePerGas:r,maxPriorityFeePerGas:n,gasPrice:e}}))}addListener(t,e){return this.on(t,e)}removeListener(t,e){return this.off(t,e)}static isProvider(t){return!(!t||!t._isProvider)}}class xr{constructor(t){M(this,"alphabet",t),M(this,"base",t.length),M(this,"_alphabetMap",{}),M(this,"_leader",t.charAt(0));for(let e=0;e0;)r.push(n%this.base),n=n/this.base|0}let n="";for(let t=0;0===e[t]&&t=0;--t)n+=this.alphabet[r[t]];return n}decode(t){if("string"!=typeof t)throw new TypeError("Expected String");let e=[];if(0===t.length)return new Uint8Array(e);e.push(0);for(let r=0;r>=8;for(;i>0;)e.push(255&i),i>>=8}for(let r=0;t[r]===this._leader&&r{let i=t.split(":");r+=parseInt(i[0],16),n[r]=e(i[1])})),n}function Ir(t){let e=0;return t.split(",").map((t=>{let r=t.split("-");1===r.length?r[1]="0":""===r[1]&&(r[1]="1");let n=e+parseInt(r[0],16);return e=parseInt(r[1],16),{l:n,h:e}}))}function Or(t,e){let r=0;for(let n=0;n=r&&t<=r+i.h&&(t-r)%(i.d||1)==0){if(i.e&&-1!==i.e.indexOf(t-r))continue;return i}}return null}const Tr=Ir("221,13-1b,5f-,40-10,51-f,11-3,3-3,2-2,2-4,8,2,15,2d,28-8,88,48,27-,3-5,11-20,27-,8,28,3-5,12,18,b-a,1c-4,6-16,2-d,2-2,2,1b-4,17-9,8f-,10,f,1f-2,1c-34,33-14e,4,36-,13-,6-2,1a-f,4,9-,3-,17,8,2-2,5-,2,8-,3-,4-8,2-3,3,6-,16-6,2-,7-3,3-,17,8,3,3,3-,2,6-3,3-,4-a,5,2-6,10-b,4,8,2,4,17,8,3,6-,b,4,4-,2-e,2-4,b-10,4,9-,3-,17,8,3-,5-,9-2,3-,4-7,3-3,3,4-3,c-10,3,7-2,4,5-2,3,2,3-2,3-2,4-2,9,4-3,6-2,4,5-8,2-e,d-d,4,9,4,18,b,6-3,8,4,5-6,3-8,3-3,b-11,3,9,4,18,b,6-3,8,4,5-6,3-6,2,3-3,b-11,3,9,4,18,11-3,7-,4,5-8,2-7,3-3,b-11,3,13-2,19,a,2-,8-2,2-3,7,2,9-11,4-b,3b-3,1e-24,3,2-,3,2-,2-5,5,8,4,2,2-,3,e,4-,6,2,7-,b-,3-21,49,23-5,1c-3,9,25,10-,2-2f,23,6,3,8-2,5-5,1b-45,27-9,2a-,2-3,5b-4,45-4,53-5,8,40,2,5-,8,2,5-,28,2,5-,20,2,5-,8,2,5-,8,8,18,20,2,5-,8,28,14-5,1d-22,56-b,277-8,1e-2,52-e,e,8-a,18-8,15-b,e,4,3-b,5e-2,b-15,10,b-5,59-7,2b-555,9d-3,5b-5,17-,7-,27-,7-,9,2,2,2,20-,36,10,f-,7,14-,4,a,54-3,2-6,6-5,9-,1c-10,13-1d,1c-14,3c-,10-6,32-b,240-30,28-18,c-14,a0,115-,3,66-,b-76,5,5-,1d,24,2,5-2,2,8-,35-2,19,f-10,1d-3,311-37f,1b,5a-b,d7-19,d-3,41,57-,68-4,29-3,5f,29-37,2e-2,25-c,2c-2,4e-3,30,78-3,64-,20,19b7-49,51a7-59,48e-2,38-738,2ba5-5b,222f-,3c-94,8-b,6-4,1b,6,2,3,3,6d-20,16e-f,41-,37-7,2e-2,11-f,5-b,18-,b,14,5-3,6,88-,2,bf-2,7-,7-,7-,4-2,8,8-9,8-2ff,20,5-b,1c-b4,27-,27-cbb1,f7-9,28-2,b5-221,56,48,3-,2-,3-,5,d,2,5,3,42,5-,9,8,1d,5,6,2-2,8,153-3,123-3,33-27fd,a6da-5128,21f-5df,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3,2-1d,61-ff7d"),Cr="ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map((t=>parseInt(t,16))),Fr=[{h:25,s:32,l:65},{h:30,s:32,e:[23],l:127},{h:54,s:1,e:[48],l:64,d:2},{h:14,s:1,l:57,d:2},{h:44,s:1,l:17,d:2},{h:10,s:1,e:[2,6,8],l:61,d:2},{h:16,s:1,l:68,d:2},{h:84,s:1,e:[18,24,66],l:19,d:2},{h:26,s:32,e:[17],l:435},{h:22,s:1,l:71,d:2},{h:15,s:80,l:40},{h:31,s:32,l:16},{h:32,s:1,l:80,d:2},{h:52,s:1,l:42,d:2},{h:12,s:1,l:55,d:2},{h:40,s:1,e:[38],l:15,d:2},{h:14,s:1,l:48,d:2},{h:37,s:48,l:49},{h:148,s:1,l:6351,d:2},{h:88,s:1,l:160,d:2},{h:15,s:16,l:704},{h:25,s:26,l:854},{h:25,s:32,l:55915},{h:37,s:40,l:1247},{h:25,s:-119711,l:53248},{h:25,s:-119763,l:52},{h:25,s:-119815,l:52},{h:25,s:-119867,e:[1,4,5,7,8,11,12,17],l:52},{h:25,s:-119919,l:52},{h:24,s:-119971,e:[2,7,8,17],l:52},{h:24,s:-120023,e:[2,7,13,15,16,17],l:52},{h:25,s:-120075,l:52},{h:25,s:-120127,l:52},{h:25,s:-120179,l:52},{h:25,s:-120231,l:52},{h:25,s:-120283,l:52},{h:25,s:-120335,l:52},{h:24,s:-119543,e:[17],l:56},{h:24,s:-119601,e:[17],l:58},{h:24,s:-119659,e:[17],l:58},{h:24,s:-119717,e:[17],l:58},{h:24,s:-119775,e:[17],l:58}],Br=Rr("b5:3bc,c3:ff,7:73,2:253,5:254,3:256,1:257,5:259,1:25b,3:260,1:263,2:269,1:268,5:26f,1:272,2:275,7:280,3:283,5:288,3:28a,1:28b,5:292,3f:195,1:1bf,29:19e,125:3b9,8b:3b2,1:3b8,1:3c5,3:3c6,1:3c0,1a:3ba,1:3c1,1:3c3,2:3b8,1:3b5,1bc9:3b9,1c:1f76,1:1f77,f:1f7a,1:1f7b,d:1f78,1:1f79,1:1f7c,1:1f7d,107:63,5:25b,4:68,1:68,1:68,3:69,1:69,1:6c,3:6e,4:70,1:71,1:72,1:72,1:72,7:7a,2:3c9,2:7a,2:6b,1:e5,1:62,1:63,3:65,1:66,2:6d,b:3b3,1:3c0,6:64,1b574:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3"),Lr=Rr("179:1,2:1,2:1,5:1,2:1,a:4f,a:1,8:1,2:1,2:1,3:1,5:1,3:1,4:1,2:1,3:1,4:1,8:2,1:1,2:2,1:1,2:2,27:2,195:26,2:25,1:25,1:25,2:40,2:3f,1:3f,33:1,11:-6,1:-9,1ac7:-3a,6d:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,b:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,c:-8,2:-8,2:-8,2:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,49:-8,1:-8,1:-4a,1:-4a,d:-56,1:-56,1:-56,1:-56,d:-8,1:-8,f:-8,1:-8,3:-7"),Dr=Rr("df:00730073,51:00690307,19:02BC006E,a7:006A030C,18a:002003B9,16:03B903080301,20:03C503080301,1d7:05650582,190f:00680331,1:00740308,1:0077030A,1:0079030A,1:006102BE,b6:03C50313,2:03C503130300,2:03C503130301,2:03C503130342,2a:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,3:1F7003B9,1:03B103B9,1:03AC03B9,2:03B10342,1:03B1034203B9,5:03B103B9,6:1F7403B9,1:03B703B9,1:03AE03B9,2:03B70342,1:03B7034203B9,5:03B703B9,6:03B903080300,1:03B903080301,3:03B90342,1:03B903080342,b:03C503080300,1:03C503080301,1:03C10313,2:03C50342,1:03C503080342,b:1F7C03B9,1:03C903B9,1:03CE03B9,2:03C90342,1:03C9034203B9,5:03C903B9,ac:00720073,5b:00B00063,6:00B00066,d:006E006F,a:0073006D,1:00740065006C,1:0074006D,124f:006800700061,2:00610075,2:006F0076,b:00700061,1:006E0061,1:03BC0061,1:006D0061,1:006B0061,1:006B0062,1:006D0062,1:00670062,3:00700066,1:006E0066,1:03BC0066,4:0068007A,1:006B0068007A,1:006D0068007A,1:00670068007A,1:00740068007A,15:00700061,1:006B00700061,1:006D00700061,1:006700700061,8:00700076,1:006E0076,1:03BC0076,1:006D0076,1:006B0076,1:006D0076,1:00700077,1:006E0077,1:03BC0077,1:006D0077,1:006B0077,1:006D0077,1:006B03C9,1:006D03C9,2:00620071,3:00632215006B0067,1:0063006F002E,1:00640062,1:00670079,2:00680070,2:006B006B,1:006B006D,9:00700068,2:00700070006D,1:00700072,2:00730076,1:00770062,c723:00660066,1:00660069,1:0066006C,1:006600660069,1:00660066006C,1:00730074,1:00730074,d:05740576,1:05740565,1:0574056B,1:057E0576,1:0574056D",(function(t){if(t.length%4!=0)throw new Error("bad data");let e=[];for(let r=0;r{if(Cr.indexOf(t)>=0)return[];if(t>=65024&&t<=65039)return[];let e=function(t){let e=Or(t,Fr);if(e)return[t+e.s];let r=Br[t];if(r)return r;let n=Lr[t];return n?[t+n[0]]:Dr[t]||null}(t);return e||[t]})),e=r.reduce(((t,e)=>(e.forEach((e=>{t.push(e)})),t)),[]),e=Ze(We(e),qe.NFKC),e.forEach((t=>{if(Or(t,Ur))throw new Error("STRINGPREP_CONTAINS_PROHIBITED")})),e.forEach((t=>{if(Or(t,Tr))throw new Error("STRINGPREP_CONTAINS_UNASSIGNED")}));let n=We(e);if("-"===n.substring(0,1)||"--"===n.substring(2,4)||"-"===n.substring(n.length-1))throw new Error("invalid hyphen");if(n.length>63)throw new Error("too long");return n}const Gr=new d(je),qr=new Uint8Array(32);qr.fill(0);const zr=new RegExp("^((.*)\\.)?([^.]+)$");function Kr(t){"string"!=typeof t&&Gr.throwArgumentError("invalid ENS name; not a string","name",t);let e=t,r=qr;for(;e.length;){const n=e.match(zr);null!=n&&""!==n[2]||Gr.throwArgumentError("invalid ENS address; missing component","name",t);r=ht(U([r,ht(He(jr(n[3])))])),e=n[2]||""}return z(r)}new d("sha2/5.6.1");function Vr(t){return"0x"+xt().sha256().update(D(t)).digest("hex")}var $r=r(92882),Hr=r.n($r),Wr=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const Jr=new d(Ne);function Zr(t){return null==t?"null":(32!==K(t)&&Jr.throwArgumentError("invalid topic","topic",t),t.toLowerCase())}function Xr(t){for(t=t.slice();t.length>0&&null==t[t.length-1];)t.pop();return t.map((t=>{if(Array.isArray(t)){const e={};t.forEach((t=>{e[Zr(t)]=!0}));const r=Object.keys(e);return r.sort(),r.join("|")}return Zr(t)})).join("&")}function Yr(t){if("string"==typeof t){if(32===K(t=t.toLowerCase()))return"tx:"+t;if(-1===t.indexOf(":"))return t}else{if(Array.isArray(t))return"filter:*:"+Xr(t);if(Sr.isForkEvent(t))throw Jr.warn("not implemented"),new Error("not implemented");if(t&&"object"==typeof t)return"filter:"+(t.address||"*")+":"+Xr(t.topics||[])}throw new Error("invalid event - "+t)}function Qr(){return(new Date).getTime()}function tn(t){return new Promise((e=>{setTimeout(e,t)}))}const en=["block","network","pending","poll"];class rn{constructor(t,e,r){M(this,"tag",t),M(this,"listener",e),M(this,"once",r),this._lastBlockNumber=-2,this._inflight=!1}get event(){switch(this.type){case"tx":return this.hash;case"filter":return this.filter}return this.tag}get type(){return this.tag.split(":")[0]}get hash(){const t=this.tag.split(":");return"tx"!==t[0]?null:t[1]}get filter(){const t=this.tag.split(":");if("filter"!==t[0])return null;const e=t[1],r=""===(n=t[2])?[]:n.split(/&/g).map((t=>{if(""===t)return[];const e=t.split("|").map((t=>"null"===t?null:t));return 1===e.length?e[0]:e}));var n;const i={};return r.length>0&&(i.topics=r),e&&"*"!==e&&(i.address=e),i}pollable(){return this.tag.indexOf(":")>=0||en.indexOf(this.tag)>=0}}const nn={0:{symbol:"btc",p2pkh:0,p2sh:5,prefix:"bc"},2:{symbol:"ltc",p2pkh:48,p2sh:50,prefix:"ltc"},3:{symbol:"doge",p2pkh:30,p2sh:22},60:{symbol:"eth",ilk:"eth"},61:{symbol:"etc",ilk:"eth"},700:{symbol:"xdai",ilk:"eth"}};function on(t){return W(nt.from(t).toHexString(),32)}function sn(t){return Nr.encode(U([t,V(Vr(Vr(t)),0,4)]))}const an=new RegExp("^(ipfs)://(.*)$","i"),un=[new RegExp("^(https)://(.*)$","i"),new RegExp("^(data):(.*)$","i"),an,new RegExp("^eip155:[0-9]+/(erc[0-9]+):(.*)$","i")];function ln(t,e){try{return Je(hn(t,e))}catch(t){}return null}function hn(t,e){if("0x"===t)return null;const r=nt.from(V(t,e,e+32)).toNumber(),n=nt.from(V(t,r,r+32)).toNumber();return V(t,r+32,r+32+n)}function cn(t){return t.match(/^ipfs:\/\/ipfs\//i)?t=t.substring(12):t.match(/^ipfs:\/\//i)?t=t.substring(7):Jr.throwArgumentError("unsupported IPFS format","link",t),`https://gateway.ipfs.io/ipfs/${t}`}function fn(t){const e=D(t);if(e.length>32)throw new Error("internal; should not happen");const r=new Uint8Array(32);return r.set(e,32-e.length),r}function dn(t){if(t.length%32==0)return t;const e=new Uint8Array(32*Math.ceil(t.length/32));return e.set(t),e}function pn(t){const e=[];let r=0;for(let n=0;nnt.from(t).eq(1))).catch((t=>{if(t.code===d.errors.CALL_EXCEPTION)return!1;throw this._supportsEip2544=null,t}))),this._supportsEip2544}_fetch(t,e){return Wr(this,void 0,void 0,(function*(){const r={to:this.address,ccipReadEnabled:!0,data:$([t,Kr(this.name),e||"0x"])};let n=!1;var i;(yield this.supportsWildcard())&&(n=!0,r.data=$(["0x9061b923",pn([(i=this.name,z(U(i.split(".").map((t=>{const e=He("_"+jr(t));return e[0]=e.length-1,e}))))+"00"),r.data])]));try{let t=yield this.provider.call(r);return D(t).length%32==4&&Jr.throwError("resolver threw error",d.errors.CALL_EXCEPTION,{transaction:r,data:t}),n&&(t=hn(t,0)),t}catch(t){if(t.code===d.errors.CALL_EXCEPTION)return null;throw t}}))}_fetchBytes(t,e){return Wr(this,void 0,void 0,(function*(){const r=yield this._fetch(t,e);return null!=r?hn(r,0):null}))}_getAddress(t,e){const r=nn[String(t)];if(null==r&&Jr.throwError(`unsupported coin type: ${t}`,d.errors.UNSUPPORTED_OPERATION,{operation:`getAddress(${t})`}),"eth"===r.ilk)return this.provider.formatter.address(e);const n=D(e);if(null!=r.p2pkh){const t=e.match(/^0x76a9([0-9a-f][0-9a-f])([0-9a-f]*)88ac$/);if(t){const e=parseInt(t[1],16);if(t[2].length===2*e&&e>=1&&e<=75)return sn(U([[r.p2pkh],"0x"+t[2]]))}}if(null!=r.p2sh){const t=e.match(/^0xa9([0-9a-f][0-9a-f])([0-9a-f]*)87$/);if(t){const e=parseInt(t[1],16);if(t[2].length===2*e&&e>=1&&e<=75)return sn(U([[r.p2sh],"0x"+t[2]]))}}if(null!=r.prefix){const t=n[1];let e=n[0];if(0===e?20!==t&&32!==t&&(e=-1):e=-1,e>=0&&n.length===2+t&&t>=1&&t<=75){const t=Hr().toWords(n.slice(2));return t.unshift(e),Hr().encode(r.prefix,t)}}return null}getAddress(t){return Wr(this,void 0,void 0,(function*(){if(null==t&&(t=60),60===t)try{const t=yield this._fetch("0x3b3b57de");return"0x"===t||"0x0000000000000000000000000000000000000000000000000000000000000000"===t?null:this.provider.formatter.callAddress(t)}catch(t){if(t.code===d.errors.CALL_EXCEPTION)return null;throw t}const e=yield this._fetchBytes("0xf1cb7e06",on(t));if(null==e||"0x"===e)return null;const r=this._getAddress(t,e);return null==r&&Jr.throwError("invalid or unsupported coin data",d.errors.UNSUPPORTED_OPERATION,{operation:`getAddress(${t})`,coinType:t,data:e}),r}))}getAvatar(){return Wr(this,void 0,void 0,(function*(){const t=[{type:"name",content:this.name}];try{const e=yield this.getText("avatar");if(null==e)return null;for(let r=0;rt[e]))}return Jr.throwError("invalid or unsupported content hash data",d.errors.UNSUPPORTED_OPERATION,{operation:"getContentHash()",data:t})}))}getText(t){return Wr(this,void 0,void 0,(function*(){let e=He(t);e=U([on(64),on(e.length),e]),e.length%32!=0&&(e=U([e,W("0x",32-t.length%32)]));const r=yield this._fetchBytes("0x59d1d43c",z(e));return null==r||"0x"===r?null:Je(r)}))}}let gn=null,yn=1;class vn extends kr{constructor(t){if(super(),this._events=[],this._emitted={block:-2},this.disableCcipRead=!1,this.formatter=new.target.getFormatter(),M(this,"anyNetwork","any"===t),this.anyNetwork&&(t=this.detectNetwork()),t instanceof Promise)this._networkPromise=t,t.catch((t=>{})),this._ready().catch((t=>{}));else{const e=P(new.target,"getNetwork")(t);e?(M(this,"_network",e),this.emit("network",e,null)):Jr.throwArgumentError("invalid network","network",t)}this._maxInternalBlockNumber=-1024,this._lastBlockNumber=-2,this._maxFilterBlockRange=10,this._pollingInterval=4e3,this._fastQueryDate=0}_ready(){return Wr(this,void 0,void 0,(function*(){if(null==this._network){let t=null;if(this._networkPromise)try{t=yield this._networkPromise}catch(t){}null==t&&(t=yield this.detectNetwork()),t||Jr.throwError("no network detected",d.errors.UNKNOWN_ERROR,{}),null==this._network&&(this.anyNetwork?this._network=t:M(this,"_network",t),this.emit("network",t,null))}return this._network}))}get ready(){return _r((()=>this._ready().then((t=>t),(t=>{if(t.code!==d.errors.NETWORK_ERROR||"noNetwork"!==t.event)throw t}))))}static getFormatter(){return null==gn&&(gn=new Ie),gn}static getNetwork(t){return E(null==t?"homestead":t)}ccipReadFetch(t,e,r){return Wr(this,void 0,void 0,(function*(){if(this.disableCcipRead||0===r.length)return null;const n=t.to.toLowerCase(),i=e.toLowerCase(),o=[];for(let t=0;t=0?null:JSON.stringify({data:i,sender:n}),u=yield Ar({url:s,errorPassThrough:!0},a,((t,e)=>(t.status=e.statusCode,t)));if(u.data)return u.data;const l=u.message||"unknown error";if(u.status>=400&&u.status<500)return Jr.throwError(`response not found during CCIP fetch: ${l}`,d.errors.SERVER_ERROR,{url:e,errorMessage:l});o.push(l)}return Jr.throwError(`error encountered during CCIP fetch: ${o.map((t=>JSON.stringify(t))).join(", ")}`,d.errors.SERVER_ERROR,{urls:r,errorMessages:o})}))}_getInternalBlockNumber(t){return Wr(this,void 0,void 0,(function*(){if(yield this._ready(),t>0)for(;this._internalBlockNumber;){const e=this._internalBlockNumber;try{const r=yield e;if(Qr()-r.respTime<=t)return r.blockNumber;break}catch(t){if(this._internalBlockNumber===e)break}}const e=Qr(),r=S({blockNumber:this.perform("getBlockNumber",{}),networkError:this.getNetwork().then((t=>null),(t=>t))}).then((({blockNumber:t,networkError:n})=>{if(n)throw this._internalBlockNumber===r&&(this._internalBlockNumber=null),n;const i=Qr();return(t=nt.from(t).toNumber()){this._internalBlockNumber===r&&(this._internalBlockNumber=null)})),(yield r).blockNumber}))}poll(){return Wr(this,void 0,void 0,(function*(){const t=yn++,e=[];let r=null;try{r=yield this._getInternalBlockNumber(100+this.pollingInterval/2)}catch(t){return void this.emit("error",t)}if(this._setFastBlockNumber(r),this.emit("poll",t,r),r!==this._lastBlockNumber){if(-2===this._emitted.block&&(this._emitted.block=r-1),Math.abs(this._emitted.block-r)>1e3)Jr.warn(`network block skew detected; skipping block events (emitted=${this._emitted.block} blockNumber${r})`),this.emit("error",Jr.makeError("network block skew detected",d.errors.NETWORK_ERROR,{blockNumber:r,event:"blockSkew",previousBlockNumber:this._emitted.block})),this.emit("block",r);else for(let t=this._emitted.block+1;t<=r;t++)this.emit("block",t);this._emitted.block!==r&&(this._emitted.block=r,Object.keys(this._emitted).forEach((t=>{if("block"===t)return;const e=this._emitted[t];"pending"!==e&&r-e>12&&delete this._emitted[t]}))),-2===this._lastBlockNumber&&(this._lastBlockNumber=r-1),this._events.forEach((t=>{switch(t.type){case"tx":{const r=t.hash;let n=this.getTransactionReceipt(r).then((t=>t&&null!=t.blockNumber?(this._emitted["t:"+r]=t.blockNumber,this.emit(r,t),null):null)).catch((t=>{this.emit("error",t)}));e.push(n);break}case"filter":if(!t._inflight){t._inflight=!0;const n=t.filter;n.fromBlock=t._lastBlockNumber+1,n.toBlock=r,n.toBlock-this._maxFilterBlockRange>n.fromBlock&&(n.fromBlock=n.toBlock-this._maxFilterBlockRange);const i=this.getLogs(n).then((e=>{t._inflight=!1,0!==e.length&&e.forEach((e=>{e.blockNumber>t._lastBlockNumber&&(t._lastBlockNumber=e.blockNumber),this._emitted["b:"+e.blockHash]=e.blockNumber,this._emitted["t:"+e.transactionHash]=e.blockNumber,this.emit(n,e)}))})).catch((e=>{this.emit("error",e),t._inflight=!1}));e.push(i)}}})),this._lastBlockNumber=r,Promise.all(e).then((()=>{this.emit("didPoll",t)})).catch((t=>{this.emit("error",t)}))}else this.emit("didPoll",t)}))}resetEventsBlock(t){this._lastBlockNumber=t-1,this.polling&&this.poll()}get network(){return this._network}detectNetwork(){return Wr(this,void 0,void 0,(function*(){return Jr.throwError("provider does not support network detection",d.errors.UNSUPPORTED_OPERATION,{operation:"provider.detectNetwork"})}))}getNetwork(){return Wr(this,void 0,void 0,(function*(){const t=yield this._ready(),e=yield this.detectNetwork();if(t.chainId!==e.chainId){if(this.anyNetwork)return this._network=e,this._lastBlockNumber=-2,this._fastBlockNumber=null,this._fastBlockNumberPromise=null,this._fastQueryDate=0,this._emitted.block=-2,this._maxInternalBlockNumber=-1024,this._internalBlockNumber=null,this.emit("network",e,t),yield tn(0),this._network;const r=Jr.makeError("underlying network changed",d.errors.NETWORK_ERROR,{event:"changed",network:t,detectedNetwork:e});throw this.emit("error",r),r}return t}))}get blockNumber(){return this._getInternalBlockNumber(100+this.pollingInterval/2).then((t=>{this._setFastBlockNumber(t)}),(t=>{})),null!=this._fastBlockNumber?this._fastBlockNumber:-1}get polling(){return null!=this._poller}set polling(t){t&&!this._poller?(this._poller=setInterval((()=>{this.poll()}),this.pollingInterval),this._bootstrapPoll||(this._bootstrapPoll=setTimeout((()=>{this.poll(),this._bootstrapPoll=setTimeout((()=>{this._poller||this.poll(),this._bootstrapPoll=null}),this.pollingInterval)}),0))):!t&&this._poller&&(clearInterval(this._poller),this._poller=null)}get pollingInterval(){return this._pollingInterval}set pollingInterval(t){if("number"!=typeof t||t<=0||parseInt(String(t))!=t)throw new Error("invalid polling interval");this._pollingInterval=t,this._poller&&(clearInterval(this._poller),this._poller=setInterval((()=>{this.poll()}),this._pollingInterval))}_getFastBlockNumber(){const t=Qr();return t-this._fastQueryDate>2*this._pollingInterval&&(this._fastQueryDate=t,this._fastBlockNumberPromise=this.getBlockNumber().then((t=>((null==this._fastBlockNumber||t>this._fastBlockNumber)&&(this._fastBlockNumber=t),this._fastBlockNumber)))),this._fastBlockNumberPromise}_setFastBlockNumber(t){null!=this._fastBlockNumber&&tthis._fastBlockNumber)&&(this._fastBlockNumber=t,this._fastBlockNumberPromise=Promise.resolve(t)))}waitForTransaction(t,e,r){return Wr(this,void 0,void 0,(function*(){return this._waitForTransaction(t,null==e?1:e,r||0,null)}))}_waitForTransaction(t,e,r,n){return Wr(this,void 0,void 0,(function*(){const i=yield this.getTransactionReceipt(t);return(i?i.confirmations:0)>=e?i:new Promise(((i,o)=>{const s=[];let a=!1;const u=function(){return!!a||(a=!0,s.forEach((t=>{t()})),!1)},l=t=>{t.confirmations{this.removeListener(t,l)})),n){let r=n.startBlock,i=null;const l=s=>Wr(this,void 0,void 0,(function*(){a||(yield tn(1e3),this.getTransactionCount(n.from).then((h=>Wr(this,void 0,void 0,(function*(){if(!a){if(h<=n.nonce)r=s;else{{const e=yield this.getTransaction(t);if(e&&null!=e.blockNumber)return}for(null==i&&(i=r-3,i{a||this.once("block",l)})))}));if(a)return;this.once("block",l),s.push((()=>{this.removeListener("block",l)}))}if("number"==typeof r&&r>0){const t=setTimeout((()=>{u()||o(Jr.makeError("timeout exceeded",d.errors.TIMEOUT,{timeout:r}))}),r);t.unref&&t.unref(),s.push((()=>{clearTimeout(t)}))}}))}))}getBlockNumber(){return Wr(this,void 0,void 0,(function*(){return this._getInternalBlockNumber(0)}))}getGasPrice(){return Wr(this,void 0,void 0,(function*(){yield this.getNetwork();const t=yield this.perform("getGasPrice",{});try{return nt.from(t)}catch(e){return Jr.throwError("bad result from backend",d.errors.SERVER_ERROR,{method:"getGasPrice",result:t,error:e})}}))}getBalance(t,e){return Wr(this,void 0,void 0,(function*(){yield this.getNetwork();const r=yield S({address:this._getAddress(t),blockTag:this._getBlockTag(e)}),n=yield this.perform("getBalance",r);try{return nt.from(n)}catch(t){return Jr.throwError("bad result from backend",d.errors.SERVER_ERROR,{method:"getBalance",params:r,result:n,error:t})}}))}getTransactionCount(t,e){return Wr(this,void 0,void 0,(function*(){yield this.getNetwork();const r=yield S({address:this._getAddress(t),blockTag:this._getBlockTag(e)}),n=yield this.perform("getTransactionCount",r);try{return nt.from(n).toNumber()}catch(t){return Jr.throwError("bad result from backend",d.errors.SERVER_ERROR,{method:"getTransactionCount",params:r,result:n,error:t})}}))}getCode(t,e){return Wr(this,void 0,void 0,(function*(){yield this.getNetwork();const r=yield S({address:this._getAddress(t),blockTag:this._getBlockTag(e)}),n=yield this.perform("getCode",r);try{return z(n)}catch(t){return Jr.throwError("bad result from backend",d.errors.SERVER_ERROR,{method:"getCode",params:r,result:n,error:t})}}))}getStorageAt(t,e,r){return Wr(this,void 0,void 0,(function*(){yield this.getNetwork();const n=yield S({address:this._getAddress(t),blockTag:this._getBlockTag(r),position:Promise.resolve(e).then((t=>H(t)))}),i=yield this.perform("getStorageAt",n);try{return z(i)}catch(t){return Jr.throwError("bad result from backend",d.errors.SERVER_ERROR,{method:"getStorageAt",params:n,result:i,error:t})}}))}_wrapTransaction(t,e,r){if(null!=e&&32!==K(e))throw new Error("invalid response - sendTransaction");const n=t;return null!=e&&t.hash!==e&&Jr.throwError("Transaction hash mismatch from Provider.sendTransaction.",d.errors.UNKNOWN_ERROR,{expectedHash:t.hash,returnedHash:e}),n.wait=(e,n)=>Wr(this,void 0,void 0,(function*(){let i;null==e&&(e=1),null==n&&(n=0),0!==e&&null!=r&&(i={data:t.data,from:t.from,nonce:t.nonce,to:t.to,value:t.value,startBlock:r});const o=yield this._waitForTransaction(t.hash,e,n,i);return null==o&&0===e?null:(this._emitted["t:"+t.hash]=o.blockNumber,0===o.status&&Jr.throwError("transaction failed",d.errors.CALL_EXCEPTION,{transactionHash:t.hash,transaction:t,receipt:o}),o)})),n}sendTransaction(t){return Wr(this,void 0,void 0,(function*(){yield this.getNetwork();const e=yield Promise.resolve(t).then((t=>z(t))),r=this.formatter.transaction(t);null==r.confirmations&&(r.confirmations=0);const n=yield this._getInternalBlockNumber(100+2*this.pollingInterval);try{const t=yield this.perform("sendTransaction",{signedTransaction:e});return this._wrapTransaction(r,t,n)}catch(t){throw t.transaction=r,t.transactionHash=r.hash,t}}))}_getTransactionRequest(t){return Wr(this,void 0,void 0,(function*(){const e=yield t,r={};return["from","to"].forEach((t=>{null!=e[t]&&(r[t]=Promise.resolve(e[t]).then((t=>t?this._getAddress(t):null)))})),["gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","value"].forEach((t=>{null!=e[t]&&(r[t]=Promise.resolve(e[t]).then((t=>t?nt.from(t):null)))})),["type"].forEach((t=>{null!=e[t]&&(r[t]=Promise.resolve(e[t]).then((t=>null!=t?t:null)))})),e.accessList&&(r.accessList=this.formatter.accessList(e.accessList)),["data"].forEach((t=>{null!=e[t]&&(r[t]=Promise.resolve(e[t]).then((t=>t?z(t):null)))})),this.formatter.transactionRequest(yield S(r))}))}_getFilter(t){return Wr(this,void 0,void 0,(function*(){t=yield t;const e={};return null!=t.address&&(e.address=this._getAddress(t.address)),["blockHash","topics"].forEach((r=>{null!=t[r]&&(e[r]=t[r])})),["fromBlock","toBlock"].forEach((r=>{null!=t[r]&&(e[r]=this._getBlockTag(t[r]))})),this.formatter.filter(yield S(e))}))}_call(t,e,r){return Wr(this,void 0,void 0,(function*(){r>=10&&Jr.throwError("CCIP read exceeded maximum redirections",d.errors.SERVER_ERROR,{redirects:r,transaction:t});const n=t.to,i=yield this.perform("call",{transaction:t,blockTag:e});if(r>=0&&"latest"===e&&null!=n&&"0x556f1830"===i.substring(0,10)&&K(i)%32==4)try{const o=V(i,4),s=V(o,0,32);nt.from(s).eq(n)||Jr.throwError("CCIP Read sender did not match",d.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:t,data:i});const a=[],u=nt.from(V(o,32,64)).toNumber(),l=nt.from(V(o,u,u+32)).toNumber(),h=V(o,u+32);for(let e=0;eWr(this,void 0,void 0,(function*(){const t=yield this.perform("getBlock",n);if(null==t)return null!=n.blockHash&&null==this._emitted["b:"+n.blockHash]||null!=n.blockTag&&r>this._emitted.block?null:void 0;if(e){let e=null;for(let r=0;rthis._wrapTransaction(t))),r}return this.formatter.block(t)}))),{oncePoll:this})}))}getBlock(t){return this._getBlock(t,!1)}getBlockWithTransactions(t){return this._getBlock(t,!0)}getTransaction(t){return Wr(this,void 0,void 0,(function*(){yield this.getNetwork(),t=yield t;const e={transactionHash:this.formatter.hash(t,!0)};return _r((()=>Wr(this,void 0,void 0,(function*(){const r=yield this.perform("getTransaction",e);if(null==r)return null==this._emitted["t:"+t]?null:void 0;const n=this.formatter.transactionResponse(r);if(null==n.blockNumber)n.confirmations=0;else if(null==n.confirmations){let t=(yield this._getInternalBlockNumber(100+2*this.pollingInterval))-n.blockNumber+1;t<=0&&(t=1),n.confirmations=t}return this._wrapTransaction(n)}))),{oncePoll:this})}))}getTransactionReceipt(t){return Wr(this,void 0,void 0,(function*(){yield this.getNetwork(),t=yield t;const e={transactionHash:this.formatter.hash(t,!0)};return _r((()=>Wr(this,void 0,void 0,(function*(){const r=yield this.perform("getTransactionReceipt",e);if(null==r)return null==this._emitted["t:"+t]?null:void 0;if(null==r.blockHash)return;const n=this.formatter.receipt(r);if(null==n.blockNumber)n.confirmations=0;else if(null==n.confirmations){let t=(yield this._getInternalBlockNumber(100+2*this.pollingInterval))-n.blockNumber+1;t<=0&&(t=1),n.confirmations=t}return n}))),{oncePoll:this})}))}getLogs(t){return Wr(this,void 0,void 0,(function*(){yield this.getNetwork();const e=yield S({filter:this._getFilter(t)}),r=yield this.perform("getLogs",e);return r.forEach((t=>{null==t.removed&&(t.removed=!1)})),Ie.arrayOf(this.formatter.filterLog.bind(this.formatter))(r)}))}getEtherPrice(){return Wr(this,void 0,void 0,(function*(){return yield this.getNetwork(),this.perform("getEtherPrice",{})}))}_getBlockTag(t){return Wr(this,void 0,void 0,(function*(){if("number"==typeof(t=yield t)&&t<0){t%1&&Jr.throwArgumentError("invalid BlockTag","blockTag",t);let e=yield this._getInternalBlockNumber(100+2*this.pollingInterval);return e+=t,e<0&&(e=0),this.formatter.blockTag(e)}return this.formatter.blockTag(t)}))}getResolver(t){return Wr(this,void 0,void 0,(function*(){let e=t;for(;;){if(""===e||"."===e)return null;if("eth"!==t&&"eth"===e)return null;const r=yield this._getResolver(e,"getResolver");if(null!=r){const n=new mn(this,r,t);return e===t||(yield n.supportsWildcard())?n:null}e=e.split(".").slice(1).join(".")}}))}_getResolver(t,e){return Wr(this,void 0,void 0,(function*(){null==e&&(e="ENS");const r=yield this.getNetwork();r.ensAddress||Jr.throwError("network does not support ENS",d.errors.UNSUPPORTED_OPERATION,{operation:e,network:r.name});try{const e=yield this.call({to:r.ensAddress,data:"0x0178b8bf"+Kr(t).substring(2)});return this.formatter.callAddress(e)}catch(t){}return null}))}resolveName(t){return Wr(this,void 0,void 0,(function*(){t=yield t;try{return Promise.resolve(this.formatter.address(t))}catch(e){if(G(t))throw e}"string"!=typeof t&&Jr.throwArgumentError("invalid ENS name","name",t);const e=yield this.getResolver(t);return e?yield e.getAddress():null}))}lookupAddress(t){return Wr(this,void 0,void 0,(function*(){t=yield t;const e=(t=this.formatter.address(t)).substring(2).toLowerCase()+".addr.reverse",r=yield this._getResolver(e,"lookupAddress");if(null==r)return null;const n=ln(yield this.call({to:r,data:"0x691f3431"+Kr(e).substring(2)}),0);return(yield this.resolveName(n))!=t?null:n}))}getAvatar(t){return Wr(this,void 0,void 0,(function*(){let e=null;if(G(t)){const r=this.formatter.address(t).substring(2).toLowerCase()+".addr.reverse",n=yield this._getResolver(r,"getAvatar");if(!n)return null;e=new mn(this,n,r);try{const t=yield e.getAvatar();if(t)return t.url}catch(t){if(t.code!==d.errors.CALL_EXCEPTION)throw t}try{const t=ln(yield this.call({to:n,data:"0x691f3431"+Kr(r).substring(2)}),0);e=yield this.getResolver(t)}catch(t){if(t.code!==d.errors.CALL_EXCEPTION)throw t;return null}}else if(e=yield this.getResolver(t),!e)return null;const r=yield e.getAvatar();return null==r?null:r.url}))}perform(t,e){return Jr.throwError(t+" not implemented",d.errors.NOT_IMPLEMENTED,{operation:t})}_startEvent(t){this.polling=this._events.filter((t=>t.pollable())).length>0}_stopEvent(t){this.polling=this._events.filter((t=>t.pollable())).length>0}_addEventListener(t,e,r){const n=new rn(Yr(t),e,r);return this._events.push(n),this._startEvent(n),this}on(t,e){return this._addEventListener(t,e,!1)}once(t,e){return this._addEventListener(t,e,!0)}emit(t,...e){let r=!1,n=[],i=Yr(t);return this._events=this._events.filter((t=>t.tag!==i||(setTimeout((()=>{t.listener.apply(this,e)}),0),r=!0,!t.once||(n.push(t),!1)))),n.forEach((t=>{this._stopEvent(t)})),r}listenerCount(t){if(!t)return this._events.length;let e=Yr(t);return this._events.filter((t=>t.tag===e)).length}listeners(t){if(null==t)return this._events.map((t=>t.listener));let e=Yr(t);return this._events.filter((t=>t.tag===e)).map((t=>t.listener))}off(t,e){if(null==e)return this.removeAllListeners(t);const r=[];let n=!1,i=Yr(t);return this._events=this._events.filter((t=>t.tag!==i||t.listener!=e||(!!n||(n=!0,r.push(t),!1)))),r.forEach((t=>{this._stopEvent(t)})),this}removeAllListeners(t){let e=[];if(null==t)e=this._events,this._events=[];else{const r=Yr(t);this._events=this._events.filter((t=>t.tag!==r||(e.push(t),!1)))}return e.forEach((t=>{this._stopEvent(t)})),this}}var bn=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const wn=new d(Ne),En=["call","estimateGas"];function An(t,e){if(null==t)return null;if("string"==typeof t.message&&t.message.match("reverted")){const r=G(t.data)?t.data:null;if(!e||r)return{message:t.message,data:r}}if("object"==typeof t){for(const r in t){const n=An(t[r],e);if(n)return n}return null}if("string"==typeof t)try{return An(JSON.parse(t),e)}catch(t){}return null}function _n(t,e,r){const n=r.transaction||r.signedTransaction;if("call"===t){const t=An(e,!0);if(t)return t.data;wn.throwError("missing revert data in call exception; Transaction reverted without a reason string",d.errors.CALL_EXCEPTION,{data:"0x",transaction:n,error:e})}if("estimateGas"===t){let r=An(e.body,!1);null==r&&(r=An(e,!1)),r&&wn.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",d.errors.UNPREDICTABLE_GAS_LIMIT,{reason:r.message,method:t,transaction:n,error:e})}let i=e.message;throw e.code===d.errors.SERVER_ERROR&&e.error&&"string"==typeof e.error.message?i=e.error.message:"string"==typeof e.body?i=e.body:"string"==typeof e.responseText&&(i=e.responseText),i=(i||"").toLowerCase(),i.match(/insufficient funds|base fee exceeds gas limit/i)&&wn.throwError("insufficient funds for intrinsic transaction cost",d.errors.INSUFFICIENT_FUNDS,{error:e,method:t,transaction:n}),i.match(/nonce (is )?too low/i)&&wn.throwError("nonce has already been used",d.errors.NONCE_EXPIRED,{error:e,method:t,transaction:n}),i.match(/replacement transaction underpriced|transaction gas price.*too low/i)&&wn.throwError("replacement fee too low",d.errors.REPLACEMENT_UNDERPRICED,{error:e,method:t,transaction:n}),i.match(/only replay-protected/i)&&wn.throwError("legacy pre-eip-155 transactions not supported",d.errors.UNSUPPORTED_OPERATION,{error:e,method:t,transaction:n}),En.indexOf(t)>=0&&i.match(/gas required exceeds allowance|always failing transaction|execution reverted/)&&wn.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",d.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,method:t,transaction:n}),e}function Mn(t){return new Promise((function(e){setTimeout(e,t)}))}function Pn(t){if(t.error){const e=new Error(t.error.message);throw e.code=t.error.code,e.data=t.error.data,e}return t.result}function Sn(t){return t?t.toLowerCase():t}const kn={};class xn extends Ue{constructor(t,e,r){if(super(),t!==kn)throw new Error("do not call the JsonRpcSigner constructor directly; use provider.getSigner");M(this,"provider",e),null==r&&(r=0),"string"==typeof r?(M(this,"_address",this.provider.formatter.address(r)),M(this,"_index",null)):"number"==typeof r?(M(this,"_index",r),M(this,"_address",null)):wn.throwArgumentError("invalid address or index","addressOrIndex",r)}connect(t){return wn.throwError("cannot alter JSON-RPC Signer connection",d.errors.UNSUPPORTED_OPERATION,{operation:"connect"})}connectUnchecked(){return new Nn(kn,this.provider,this._address||this._index)}getAddress(){return this._address?Promise.resolve(this._address):this.provider.send("eth_accounts",[]).then((t=>(t.length<=this._index&&wn.throwError("unknown account #"+this._index,d.errors.UNSUPPORTED_OPERATION,{operation:"getAddress"}),this.provider.formatter.address(t[this._index]))))}sendUncheckedTransaction(t){t=k(t);const e=this.getAddress().then((t=>(t&&(t=t.toLowerCase()),t)));if(null==t.gasLimit){const r=k(t);r.from=e,t.gasLimit=this.provider.estimateGas(r)}return null!=t.to&&(t.to=Promise.resolve(t.to).then((t=>bn(this,void 0,void 0,(function*(){if(null==t)return null;const e=yield this.provider.resolveName(t);return null==e&&wn.throwArgumentError("provided ENS name resolves to null","tx.to",t),e}))))),S({tx:S(t),sender:e}).then((({tx:e,sender:r})=>{null!=e.from?e.from.toLowerCase()!==r&&wn.throwArgumentError("from address mismatch","transaction",t):e.from=r;const n=this.provider.constructor.hexlifyTransaction(e,{from:!0});return this.provider.send("eth_sendTransaction",[n]).then((t=>t),(t=>_n("sendTransaction",t,n)))}))}signTransaction(t){return wn.throwError("signing transactions is unsupported",d.errors.UNSUPPORTED_OPERATION,{operation:"signTransaction"})}sendTransaction(t){return bn(this,void 0,void 0,(function*(){const e=yield this.provider._getInternalBlockNumber(100+2*this.provider.pollingInterval),r=yield this.sendUncheckedTransaction(t);try{return yield _r((()=>bn(this,void 0,void 0,(function*(){const t=yield this.provider.getTransaction(r);if(null!==t)return this.provider._wrapTransaction(t,r,e)}))),{oncePoll:this.provider})}catch(t){throw t.transactionHash=r,t}}))}signMessage(t){return bn(this,void 0,void 0,(function*(){const e="string"==typeof t?He(t):t,r=yield this.getAddress();return yield this.provider.send("personal_sign",[z(e),r.toLowerCase()])}))}_legacySignMessage(t){return bn(this,void 0,void 0,(function*(){const e="string"==typeof t?He(t):t,r=yield this.getAddress();return yield this.provider.send("eth_sign",[r.toLowerCase(),z(e)])}))}_signTypedData(t,e,r){return bn(this,void 0,void 0,(function*(){const n=yield dr.resolveNames(t,e,r,(t=>this.provider.resolveName(t))),i=yield this.getAddress();return yield this.provider.send("eth_signTypedData_v4",[i.toLowerCase(),JSON.stringify(dr.getPayload(n.domain,e,n.value))])}))}unlock(t){return bn(this,void 0,void 0,(function*(){const e=this.provider,r=yield this.getAddress();return e.send("personal_unlockAccount",[r.toLowerCase(),t,null])}))}}class Nn extends xn{sendTransaction(t){return this.sendUncheckedTransaction(t).then((t=>({hash:t,nonce:null,gasLimit:null,gasPrice:null,data:null,value:null,chainId:null,confirmations:0,from:null,wait:e=>this.provider.waitForTransaction(t,e)})))}}const Rn={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0};class In extends vn{constructor(t,e){let r=e;null==r&&(r=new Promise(((t,e)=>{setTimeout((()=>{this.detectNetwork().then((e=>{t(e)}),(t=>{e(t)}))}),0)}))),super(r),t||(t=P(this.constructor,"defaultUrl")()),M(this,"connection","string"==typeof t?Object.freeze({url:t}):Object.freeze(k(t))),this._nextId=42}get _cache(){return null==this._eventLoopCache&&(this._eventLoopCache={}),this._eventLoopCache}static defaultUrl(){return"http://localhost:8545"}detectNetwork(){return this._cache.detectNetwork||(this._cache.detectNetwork=this._uncachedDetectNetwork(),setTimeout((()=>{this._cache.detectNetwork=null}),0)),this._cache.detectNetwork}_uncachedDetectNetwork(){return bn(this,void 0,void 0,(function*(){yield Mn(0);let t=null;try{t=yield this.send("eth_chainId",[])}catch(e){try{t=yield this.send("net_version",[])}catch(t){}}if(null!=t){const e=P(this.constructor,"getNetwork");try{return e(nt.from(t).toNumber())}catch(e){return wn.throwError("could not detect network",d.errors.NETWORK_ERROR,{chainId:t,event:"invalidNetwork",serverError:e})}}return wn.throwError("could not detect network",d.errors.NETWORK_ERROR,{event:"noNetwork"})}))}getSigner(t){return new xn(kn,this,t)}getUncheckedSigner(t){return this.getSigner(t).connectUnchecked()}listAccounts(){return this.send("eth_accounts",[]).then((t=>t.map((t=>this.formatter.address(t)))))}send(t,e){const r={method:t,params:e,id:this._nextId++,jsonrpc:"2.0"};this.emit("debug",{action:"request",request:I(r),provider:this});const n=["eth_chainId","eth_blockNumber"].indexOf(t)>=0;if(n&&this._cache[t])return this._cache[t];const i=Ar(this.connection,JSON.stringify(r),Pn).then((t=>(this.emit("debug",{action:"response",request:r,response:t,provider:this}),t)),(t=>{throw this.emit("debug",{action:"response",error:t,request:r,provider:this}),t}));return n&&(this._cache[t]=i,setTimeout((()=>{this._cache[t]=null}),0)),i}prepareRequest(t,e){switch(t){case"getBlockNumber":return["eth_blockNumber",[]];case"getGasPrice":return["eth_gasPrice",[]];case"getBalance":return["eth_getBalance",[Sn(e.address),e.blockTag]];case"getTransactionCount":return["eth_getTransactionCount",[Sn(e.address),e.blockTag]];case"getCode":return["eth_getCode",[Sn(e.address),e.blockTag]];case"getStorageAt":return["eth_getStorageAt",[Sn(e.address),W(e.position,32),e.blockTag]];case"sendTransaction":return["eth_sendRawTransaction",[e.signedTransaction]];case"getBlock":return e.blockTag?["eth_getBlockByNumber",[e.blockTag,!!e.includeTransactions]]:e.blockHash?["eth_getBlockByHash",[e.blockHash,!!e.includeTransactions]]:null;case"getTransaction":return["eth_getTransactionByHash",[e.transactionHash]];case"getTransactionReceipt":return["eth_getTransactionReceipt",[e.transactionHash]];case"call":return["eth_call",[P(this.constructor,"hexlifyTransaction")(e.transaction,{from:!0}),e.blockTag]];case"estimateGas":return["eth_estimateGas",[P(this.constructor,"hexlifyTransaction")(e.transaction,{from:!0})]];case"getLogs":return e.filter&&null!=e.filter.address&&(e.filter.address=Sn(e.filter.address)),["eth_getLogs",[e.filter]]}return null}perform(t,e){return bn(this,void 0,void 0,(function*(){if("call"===t||"estimateGas"===t){const t=e.transaction;if(t&&null!=t.type&&nt.from(t.type).isZero()&&null==t.maxFeePerGas&&null==t.maxPriorityFeePerGas){const r=yield this.getFeeData();null==r.maxFeePerGas&&null==r.maxPriorityFeePerGas&&((e=k(e)).transaction=k(t),delete e.transaction.type)}}const r=this.prepareRequest(t,e);null==r&&wn.throwError(t+" not implemented",d.errors.NOT_IMPLEMENTED,{operation:t});try{return yield this.send(r[0],r[1])}catch(r){return _n(t,r,e)}}))}_startEvent(t){"pending"===t.tag&&this._startPending(),super._startEvent(t)}_startPending(){if(null!=this._pendingFilter)return;const t=this,e=this.send("eth_newPendingTransactionFilter",[]);this._pendingFilter=e,e.then((function(r){return function n(){t.send("eth_getFilterChanges",[r]).then((function(r){if(t._pendingFilter!=e)return null;let n=Promise.resolve();return r.forEach((function(e){t._emitted["t:"+e.toLowerCase()]="pending",n=n.then((function(){return t.getTransaction(e).then((function(e){return t.emit("pending",e),null}))}))})),n.then((function(){return Mn(1e3)}))})).then((function(){if(t._pendingFilter==e)return setTimeout((function(){n()}),0),null;t.send("eth_uninstallFilter",[r])})).catch((t=>{}))}(),r})).catch((t=>{}))}_stopEvent(t){"pending"===t.tag&&0===this.listenerCount("pending")&&(this._pendingFilter=null),super._stopEvent(t)}static hexlifyTransaction(t,e){const r=k(Rn);if(e)for(const t in e)e[t]&&(r[t]=!0);var n,i;i=r,(n=t)&&"object"==typeof n||_.throwArgumentError("invalid object","object",n),Object.keys(n).forEach((t=>{i[t]||_.throwArgumentError("invalid object key - "+t,"transaction:"+t,n)}));const o={};return["chainId","gasLimit","gasPrice","type","maxFeePerGas","maxPriorityFeePerGas","nonce","value"].forEach((function(e){if(null==t[e])return;const r=H(nt.from(t[e]));"gasLimit"===e&&(e="gas"),o[e]=r})),["from","to","data"].forEach((function(e){null!=t[e]&&(o[e]=z(t[e]))})),t.accessList&&(o.accessList=_e(t.accessList)),o}}let On=null;try{if(On=WebSocket,null==On)throw new Error("inject please")}catch(t){const e=new d(Ne);On=function(){e.throwError("WebSockets not supported in this environment",d.errors.UNSUPPORTED_OPERATION,{operation:"new WebSocket()"})}}var Tn=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const Cn=new d(Ne);let Fn=1;class Bn extends In{constructor(t,e){"any"===e&&Cn.throwError("WebSocketProvider does not support 'any' network yet",d.errors.UNSUPPORTED_OPERATION,{operation:"network:any"}),super("string"==typeof t?t:"_websocket",e),this._pollingInterval=-1,this._wsReady=!1,M(this,"_websocket","string"==typeof t?new On(this.connection.url):t),M(this,"_requests",{}),M(this,"_subs",{}),M(this,"_subIds",{}),M(this,"_detectNetwork",super.detectNetwork()),this.websocket.onopen=()=>{this._wsReady=!0,Object.keys(this._requests).forEach((t=>{this.websocket.send(this._requests[t].payload)}))},this.websocket.onmessage=t=>{const e=t.data,r=JSON.parse(e);if(null!=r.id){const t=String(r.id),n=this._requests[t];if(delete this._requests[t],void 0!==r.result)n.callback(null,r.result),this.emit("debug",{action:"response",request:JSON.parse(n.payload),response:r.result,provider:this});else{let t=null;r.error?(t=new Error(r.error.message||"unknown error"),M(t,"code",r.error.code||null),M(t,"response",e)):t=new Error("unknown error"),n.callback(t,void 0),this.emit("debug",{action:"response",error:t,request:JSON.parse(n.payload),provider:this})}}else if("eth_subscription"===r.method){const t=this._subs[r.params.subscription];t&&t.processFunc(r.params.result)}else console.warn("this should not happen")};const r=setInterval((()=>{this.emit("poll")}),1e3);r.unref&&r.unref()}get websocket(){return this._websocket}detectNetwork(){return this._detectNetwork}get pollingInterval(){return 0}resetEventsBlock(t){Cn.throwError("cannot reset events block on WebSocketProvider",d.errors.UNSUPPORTED_OPERATION,{operation:"resetEventBlock"})}set pollingInterval(t){Cn.throwError("cannot set polling interval on WebSocketProvider",d.errors.UNSUPPORTED_OPERATION,{operation:"setPollingInterval"})}poll(){return Tn(this,void 0,void 0,(function*(){return null}))}set polling(t){t&&Cn.throwError("cannot set polling on WebSocketProvider",d.errors.UNSUPPORTED_OPERATION,{operation:"setPolling"})}send(t,e){const r=Fn++;return new Promise(((n,i)=>{const o=JSON.stringify({method:t,params:e,id:r,jsonrpc:"2.0"});this.emit("debug",{action:"request",request:JSON.parse(o),provider:this}),this._requests[String(r)]={callback:function(t,e){return t?i(t):n(e)},payload:o},this._wsReady&&this.websocket.send(o)}))}static defaultUrl(){return"ws://localhost:8546"}_subscribe(t,e,r){return Tn(this,void 0,void 0,(function*(){let n=this._subIds[t];null==n&&(n=Promise.all(e).then((t=>this.send("eth_subscribe",t))),this._subIds[t]=n);const i=yield n;this._subs[i]={tag:t,processFunc:r}}))}_startEvent(t){switch(t.type){case"block":this._subscribe("block",["newHeads"],(t=>{const e=nt.from(t.number).toNumber();this._emitted.block=e,this.emit("block",e)}));break;case"pending":this._subscribe("pending",["newPendingTransactions"],(t=>{this.emit("pending",t)}));break;case"filter":this._subscribe(t.tag,["logs",this._getFilter(t.filter)],(e=>{null==e.removed&&(e.removed=!1),this.emit(t.filter,this.formatter.filterLog(e))}));break;case"tx":{const e=t=>{const e=t.hash;this.getTransactionReceipt(e).then((t=>{t&&this.emit(e,t)}))};e(t),this._subscribe("tx",["newHeads"],(t=>{this._events.filter((t=>"tx"===t.type)).forEach(e)}));break}case"debug":case"poll":case"willPoll":case"didPoll":case"error":break;default:console.log("unhandled:",t)}}_stopEvent(t){let e=t.tag;if("tx"===t.type){if(this._events.filter((t=>"tx"===t.type)).length)return;e="tx"}else if(this.listenerCount(t.event))return;const r=this._subIds[e];r&&(delete this._subIds[e],r.then((t=>{this._subs[t]&&(delete this._subs[t],this.send("eth_unsubscribe",[t]))})))}destroy(){return Tn(this,void 0,void 0,(function*(){this.websocket.readyState===On.CONNECTING&&(yield new Promise((t=>{this.websocket.onopen=function(){t(!0)},this.websocket.onerror=function(){t(!1)}}))),this.websocket.close(1e3)}))}}var Ln=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const Dn=new d(Ne);class Un extends In{detectNetwork(){const t=Object.create(null,{detectNetwork:{get:()=>super.detectNetwork}});return Ln(this,void 0,void 0,(function*(){let e=this.network;return null==e&&(e=yield t.detectNetwork.call(this),e||Dn.throwError("no network detected",d.errors.UNKNOWN_ERROR,{}),null==this._network&&(M(this,"_network",e),this.emit("network",e,null))),e}))}}class jn extends Un{constructor(t,e){Dn.checkAbstract(new.target,jn),t=P(new.target,"getNetwork")(t),e=P(new.target,"getApiKey")(e);super(P(new.target,"getUrl")(t,e),t),"string"==typeof e?M(this,"apiKey",e):null!=e&&Object.keys(e).forEach((t=>{M(this,t,e[t])}))}_startPending(){Dn.warn("WARNING: API provider does not support pending filters")}isCommunityResource(){return!1}getSigner(t){return Dn.throwError("API provider does not support signing",d.errors.UNSUPPORTED_OPERATION,{operation:"getSigner"})}listAccounts(){return Promise.resolve([])}static getApiKey(t){return t}static getUrl(t,e){return Dn.throwError("not implemented; sub-classes must override getUrl",d.errors.NOT_IMPLEMENTED,{operation:"getUrl"})}}const Gn=new d(Ne),qn="_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC";class zn extends Bn{constructor(t,e){const r=new Kn(t,e);super(r.connection.url.replace(/^http/i,"ws").replace(".alchemyapi.",".ws.alchemyapi."),r.network),M(this,"apiKey",r.apiKey)}isCommunityResource(){return this.apiKey===qn}}class Kn extends jn{static getWebSocketProvider(t,e){return new zn(t,e)}static getApiKey(t){return null==t?qn:(t&&"string"!=typeof t&&Gn.throwArgumentError("invalid apiKey","apiKey",t),t)}static getUrl(t,e){let r=null;switch(t.name){case"homestead":r="eth-mainnet.alchemyapi.io/v2/";break;case"ropsten":r="eth-ropsten.alchemyapi.io/v2/";break;case"rinkeby":r="eth-rinkeby.alchemyapi.io/v2/";break;case"goerli":r="eth-goerli.alchemyapi.io/v2/";break;case"kovan":r="eth-kovan.alchemyapi.io/v2/";break;case"matic":r="polygon-mainnet.g.alchemy.com/v2/";break;case"maticmum":r="polygon-mumbai.g.alchemy.com/v2/";break;case"arbitrum":r="arb-mainnet.g.alchemy.com/v2/";break;case"arbitrum-rinkeby":r="arb-rinkeby.g.alchemy.com/v2/";break;case"optimism":r="opt-mainnet.g.alchemy.com/v2/";break;case"optimism-kovan":r="opt-kovan.g.alchemy.com/v2/";break;default:Gn.throwArgumentError("unsupported network","network",arguments[0])}return{allowGzip:!0,url:"https://"+r+e,throttleCallback:(t,r)=>(e===qn&&Ce(),Promise.resolve(!0))}}isCommunityResource(){return this.apiKey===qn}}const Vn=new d(Ne),$n="9f7d929b018cdffb338517efa06f58359e86ff1ffd350bc889738523659e7972";function Hn(t){switch(t){case"homestead":return"rpc.ankr.com/eth/";case"ropsten":return"rpc.ankr.com/eth_ropsten/";case"rinkeby":return"rpc.ankr.com/eth_rinkeby/";case"goerli":return"rpc.ankr.com/eth_goerli/";case"matic":return"rpc.ankr.com/polygon/";case"arbitrum":return"rpc.ankr.com/arbitrum/"}return Vn.throwArgumentError("unsupported network","name",t)}class Wn extends jn{isCommunityResource(){return this.apiKey===$n}static getApiKey(t){return null==t?$n:t}static getUrl(t,e){null==e&&(e=$n);const r={allowGzip:!0,url:"https://"+Hn(t.name)+e,throttleCallback:(t,r)=>(e.apiKey===$n&&Ce(),Promise.resolve(!0))};return null!=e.projectSecret&&(r.user="",r.password=e.projectSecret),r}}var Jn=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const Zn=new d(Ne);class Xn extends jn{static getApiKey(t){return null!=t&&Zn.throwArgumentError("apiKey not supported for cloudflare","apiKey",t),null}static getUrl(t,e){let r=null;if("homestead"===t.name)r="https://cloudflare-eth.com/";else Zn.throwArgumentError("unsupported network","network",arguments[0]);return r}perform(t,e){const r=Object.create(null,{perform:{get:()=>super.perform}});return Jn(this,void 0,void 0,(function*(){if("getBlockNumber"===t){return(yield r.perform.call(this,"getBlock",{blockTag:"latest"})).number}return r.perform.call(this,t,e)}))}}var Yn=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const Qn=new d(Ne);function ti(t){const e={};for(let r in t){if(null==t[r])continue;let n=t[r];"type"===r&&0===n||(n={type:!0,gasLimit:!0,gasPrice:!0,maxFeePerGs:!0,maxPriorityFeePerGas:!0,nonce:!0,value:!0}[r]?H(z(n)):"accessList"===r?"["+_e(n).map((t=>`{address:"${t.address}",storageKeys:["${t.storageKeys.join('","')}"]}`)).join(",")+"]":z(n),e[r]=n)}return e}function ei(t){if(0==t.status&&("No records found"===t.message||"No transactions found"===t.message))return t.result;if(1!=t.status||"OK"!=t.message){const e=new Error("invalid response");throw e.result=JSON.stringify(t),(t.result||"").toLowerCase().indexOf("rate limit")>=0&&(e.throttleRetry=!0),e}return t.result}function ri(t){if(t&&0==t.status&&"NOTOK"==t.message&&(t.result||"").toLowerCase().indexOf("rate limit")>=0){const e=new Error("throttled response");throw e.result=JSON.stringify(t),e.throttleRetry=!0,e}if("2.0"!=t.jsonrpc){const e=new Error("invalid response");throw e.result=JSON.stringify(t),e}if(t.error){const e=new Error(t.error.message||"unknown error");throw t.error.code&&(e.code=t.error.code),t.error.data&&(e.data=t.error.data),e}return t.result}function ni(t){if("pending"===t)throw new Error("pending not supported");return"latest"===t?t:parseInt(t.substring(2),16)}const ii="9D13ZE7XSBTJ94N9BNJ2MA33VMAY2YPIRB";function oi(t,e,r){if("call"===t&&e.code===d.errors.SERVER_ERROR){const t=e.error;if(t&&(t.message.match(/reverted/i)||t.message.match(/VM execution error/i))){let r=t.data;if(r&&(r="0x"+r.replace(/^.*0x/i,"")),G(r))return r;Qn.throwError("missing revert data in call exception",d.errors.CALL_EXCEPTION,{error:e,data:"0x"})}}let n=e.message;throw e.code===d.errors.SERVER_ERROR&&(e.error&&"string"==typeof e.error.message?n=e.error.message:"string"==typeof e.body?n=e.body:"string"==typeof e.responseText&&(n=e.responseText)),n=(n||"").toLowerCase(),n.match(/insufficient funds/)&&Qn.throwError("insufficient funds for intrinsic transaction cost",d.errors.INSUFFICIENT_FUNDS,{error:e,method:t,transaction:r}),n.match(/same hash was already imported|transaction nonce is too low|nonce too low/)&&Qn.throwError("nonce has already been used",d.errors.NONCE_EXPIRED,{error:e,method:t,transaction:r}),n.match(/another transaction with same nonce/)&&Qn.throwError("replacement fee too low",d.errors.REPLACEMENT_UNDERPRICED,{error:e,method:t,transaction:r}),n.match(/execution failed due to an exception|execution reverted/)&&Qn.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",d.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,method:t,transaction:r}),e}class si extends vn{constructor(t,e){super(t),M(this,"baseUrl",this.getBaseUrl()),M(this,"apiKey",e||ii)}getBaseUrl(){switch(this.network?this.network.name:"invalid"){case"homestead":return"https://api.etherscan.io";case"ropsten":return"https://api-ropsten.etherscan.io";case"rinkeby":return"https://api-rinkeby.etherscan.io";case"kovan":return"https://api-kovan.etherscan.io";case"goerli":return"https://api-goerli.etherscan.io";case"optimism":return"https://api-optimistic.etherscan.io"}return Qn.throwArgumentError("unsupported network","network",this.network.name)}getUrl(t,e){const r=Object.keys(e).reduce(((t,r)=>{const n=e[r];return null!=n&&(t+=`&${r}=${n}`),t}),""),n=this.apiKey?`&apikey=${this.apiKey}`:"";return`${this.baseUrl}/api?module=${t}${r}${n}`}getPostUrl(){return`${this.baseUrl}/api`}getPostData(t,e){return e.module=t,e.apikey=this.apiKey,e}fetch(t,e,r){return Yn(this,void 0,void 0,(function*(){const n=r?this.getPostUrl():this.getUrl(t,e),i=r?this.getPostData(t,e):null,o="proxy"===t?ri:ei;this.emit("debug",{action:"request",request:n,provider:this});const s={url:n,throttleSlotInterval:1e3,throttleCallback:(t,e)=>(this.isCommunityResource()&&Ce(),Promise.resolve(!0))};let a=null;i&&(s.headers={"content-type":"application/x-www-form-urlencoded; charset=UTF-8"},a=Object.keys(i).map((t=>`${t}=${i[t]}`)).join("&"));const u=yield Ar(s,a,o||ri);return this.emit("debug",{action:"response",request:n,response:I(u),provider:this}),u}))}detectNetwork(){return Yn(this,void 0,void 0,(function*(){return this.network}))}perform(t,e){const r=Object.create(null,{perform:{get:()=>super.perform}});return Yn(this,void 0,void 0,(function*(){switch(t){case"getBlockNumber":return this.fetch("proxy",{action:"eth_blockNumber"});case"getGasPrice":return this.fetch("proxy",{action:"eth_gasPrice"});case"getBalance":return this.fetch("account",{action:"balance",address:e.address,tag:e.blockTag});case"getTransactionCount":return this.fetch("proxy",{action:"eth_getTransactionCount",address:e.address,tag:e.blockTag});case"getCode":return this.fetch("proxy",{action:"eth_getCode",address:e.address,tag:e.blockTag});case"getStorageAt":return this.fetch("proxy",{action:"eth_getStorageAt",address:e.address,position:e.position,tag:e.blockTag});case"sendTransaction":return this.fetch("proxy",{action:"eth_sendRawTransaction",hex:e.signedTransaction},!0).catch((t=>oi("sendTransaction",t,e.signedTransaction)));case"getBlock":if(e.blockTag)return this.fetch("proxy",{action:"eth_getBlockByNumber",tag:e.blockTag,boolean:e.includeTransactions?"true":"false"});throw new Error("getBlock by blockHash not implemented");case"getTransaction":return this.fetch("proxy",{action:"eth_getTransactionByHash",txhash:e.transactionHash});case"getTransactionReceipt":return this.fetch("proxy",{action:"eth_getTransactionReceipt",txhash:e.transactionHash});case"call":{if("latest"!==e.blockTag)throw new Error("EtherscanProvider does not support blockTag for call");const t=ti(e.transaction);t.module="proxy",t.action="eth_call";try{return yield this.fetch("proxy",t,!0)}catch(t){return oi("call",t,e.transaction)}}case"estimateGas":{const t=ti(e.transaction);t.module="proxy",t.action="eth_estimateGas";try{return yield this.fetch("proxy",t,!0)}catch(t){return oi("estimateGas",t,e.transaction)}}case"getLogs":{const t={action:"getLogs"};if(e.filter.fromBlock&&(t.fromBlock=ni(e.filter.fromBlock)),e.filter.toBlock&&(t.toBlock=ni(e.filter.toBlock)),e.filter.address&&(t.address=e.filter.address),e.filter.topics&&e.filter.topics.length>0&&(e.filter.topics.length>1&&Qn.throwError("unsupported topic count",d.errors.UNSUPPORTED_OPERATION,{topics:e.filter.topics}),1===e.filter.topics.length)){const r=e.filter.topics[0];"string"==typeof r&&66===r.length||Qn.throwError("unsupported topic format",d.errors.UNSUPPORTED_OPERATION,{topic0:r}),t.topic0=r}const r=yield this.fetch("logs",t);let n={};for(let t=0;t{["contractAddress","to"].forEach((function(e){""==t[e]&&delete t[e]})),null==t.creates&&null!=t.contractAddress&&(t.creates=t.contractAddress);const e=this.formatter.transactionResponse(t);return t.timeStamp&&(e.timestamp=parseInt(t.timeStamp)),e}))}))}isCommunityResource(){return this.apiKey===ii}}var ai=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const ui=new d(Ne);function li(){return(new Date).getTime()}function hi(t){let e=null;for(let r=0;re?null:(n+i)/2}function fi(t){if(null===t)return"null";if("number"==typeof t||"boolean"==typeof t)return JSON.stringify(t);if("string"==typeof t)return t;if(nt.isBigNumber(t))return t.toString();if(Array.isArray(t))return JSON.stringify(t.map((t=>fi(t))));if("object"==typeof t){const e=Object.keys(t);return e.sort(),"{"+e.map((e=>{let r=t[e];return r="function"==typeof r?"[function]":fi(r),JSON.stringify(e)+":"+r})).join(",")+"}"}throw new Error("unknown value type: "+typeof t)}let di=1;function pi(t){let e=null,r=null,n=new Promise((n=>{e=function(){r&&(clearTimeout(r),r=null),n()},r=setTimeout(e,t)}));return{cancel:e,getPromise:function(){return n},wait:t=>(n=n.then(t),n)}}const mi=[d.errors.CALL_EXCEPTION,d.errors.INSUFFICIENT_FUNDS,d.errors.NONCE_EXPIRED,d.errors.REPLACEMENT_UNDERPRICED,d.errors.UNPREDICTABLE_GAS_LIMIT],gi=["address","args","errorArgs","errorSignature","method","transaction"];function yi(t,e){const r={weight:t.weight};return Object.defineProperty(r,"provider",{get:()=>t.provider}),t.start&&(r.start=t.start),e&&(r.duration=e-t.start),t.done&&(t.error?r.error=t.error:r.result=t.result||null),r}function vi(t,e,r){let n=fi;switch(e){case"getBlockNumber":return function(e){const r=e.map((t=>t.result));let n=ci(e.map((t=>t.result)),2);if(null!=n)return n=Math.ceil(n),r.indexOf(n+1)>=0&&n++,n>=t._highestBlockNumber&&(t._highestBlockNumber=n),t._highestBlockNumber};case"getGasPrice":return function(t){const e=t.map((t=>t.result));return e.sort(),e[Math.floor(e.length/2)]};case"getEtherPrice":return function(t){return ci(t.map((t=>t.result)))};case"getBalance":case"getTransactionCount":case"getCode":case"getStorageAt":case"call":case"estimateGas":case"getLogs":break;case"getTransaction":case"getTransactionReceipt":n=function(t){return null==t?null:((t=k(t)).confirmations=-1,fi(t))};break;case"getBlock":n=r.includeTransactions?function(t){return null==t?null:((t=k(t)).transactions=t.transactions.map((t=>((t=k(t)).confirmations=-1,t))),fi(t))}:function(t){return null==t?null:fi(t)};break;default:throw new Error("unknown method: "+e)}return function(t,e){return function(r){const n={};r.forEach((e=>{const r=t(e.result);n[r]||(n[r]={count:0,result:e.result}),n[r].count++}));const i=Object.keys(n);for(let t=0;t=e)return r.result}}}(n,t.quorum)}function bi(t,e){return ai(this,void 0,void 0,(function*(){const r=t.provider;return null!=r.blockNumber&&r.blockNumber>=e||-1===e?r:_r((()=>new Promise(((n,i)=>{setTimeout((function(){return r.blockNumber>=e?n(r):t.cancelled?n(null):n(void 0)}),0)}))),{oncePoll:r})}))}function wi(t,e,r,n){return ai(this,void 0,void 0,(function*(){let i=t.provider;switch(r){case"getBlockNumber":case"getGasPrice":return i[r]();case"getEtherPrice":if(i.getEtherPrice)return i.getEtherPrice();break;case"getBalance":case"getTransactionCount":case"getCode":return n.blockTag&&G(n.blockTag)&&(i=yield bi(t,e)),i[r](n.address,n.blockTag||"latest");case"getStorageAt":return n.blockTag&&G(n.blockTag)&&(i=yield bi(t,e)),i.getStorageAt(n.address,n.position,n.blockTag||"latest");case"getBlock":return n.blockTag&&G(n.blockTag)&&(i=yield bi(t,e)),i[n.includeTransactions?"getBlockWithTransactions":"getBlock"](n.blockTag||n.blockHash);case"call":case"estimateGas":return n.blockTag&&G(n.blockTag)&&(i=yield bi(t,e)),i[r](n.transaction);case"getTransaction":case"getTransactionReceipt":return i[r](n.transactionHash);case"getLogs":{let r=n.filter;return(r.fromBlock&&G(r.fromBlock)||r.toBlock&&G(r.toBlock))&&(i=yield bi(t,e)),i.getLogs(r)}}return ui.throwError("unknown method error",d.errors.UNKNOWN_ERROR,{method:r,params:n})}))}class Ei extends vn{constructor(t,e){0===t.length&&ui.throwArgumentError("missing providers","providers",t);const r=t.map(((t,e)=>{if(kr.isProvider(t)){const e=Oe(t)?2e3:750,r=1;return Object.freeze({provider:t,weight:1,stallTimeout:e,priority:r})}const r=k(t);null==r.priority&&(r.priority=1),null==r.stallTimeout&&(r.stallTimeout=Oe(t)?2e3:750),null==r.weight&&(r.weight=1);const n=r.weight;return(n%1||n>512||n<1)&&ui.throwArgumentError("invalid weight; must be integer in [1, 512]",`providers[${e}].weight`,n),Object.freeze(r)})),n=r.reduce(((t,e)=>t+e.weight),0);null==e?e=n/2:e>n&&ui.throwArgumentError("quorum will always fail; larger than total weight","quorum",e);let i=hi(r.map((t=>t.provider.network)));null==i&&(i=new Promise(((t,e)=>{setTimeout((()=>{this.detectNetwork().then(t,e)}),0)}))),super(i),M(this,"providerConfigs",Object.freeze(r)),M(this,"quorum",e),this._highestBlockNumber=-1}detectNetwork(){return ai(this,void 0,void 0,(function*(){return hi(yield Promise.all(this.providerConfigs.map((t=>t.provider.getNetwork()))))}))}perform(t,e){return ai(this,void 0,void 0,(function*(){if("sendTransaction"===t){const t=yield Promise.all(this.providerConfigs.map((t=>t.provider.sendTransaction(e.signedTransaction).then((t=>t.hash),(t=>t)))));for(let e=0;e0;e--){const r=Math.floor(Math.random()*(e+1)),n=t[e];t[e]=t[r],t[r]=n}return t}(this.providerConfigs.map(k));n.sort(((t,e)=>t.priority-e.priority));const i=this._highestBlockNumber;let o=0,s=!0;for(;;){const a=li();let u=n.filter((t=>t.runner&&a-t.startt+e.weight),0);for(;u{r.staller=null})),r.runner=wi(r,i,t,e).then((n=>{r.done=!0,r.result=n,this.listenerCount("debug")&&this.emit("debug",{action:"request",rid:s,backend:yi(r,li()),request:{method:t,params:I(e)},provider:this})}),(n=>{r.done=!0,r.error=n,this.listenerCount("debug")&&this.emit("debug",{action:"request",rid:s,backend:yi(r,li()),request:{method:t,params:I(e)},provider:this})})),this.listenerCount("debug")&&this.emit("debug",{action:"request",rid:s,backend:yi(r,null),request:{method:t,params:I(e)},provider:this}),u+=r.weight}const l=[];n.forEach((t=>{!t.done&&t.runner&&(l.push(t.runner),t.staller&&l.push(t.staller.getPromise()))})),l.length&&(yield Promise.race(l));const h=n.filter((t=>t.done&&null==t.error));if(h.length>=this.quorum){const t=r(h);if(void 0!==t)return n.forEach((t=>{t.staller&&t.staller.cancel(),t.cancelled=!0})),t;s||(yield pi(100).getPromise()),s=!1}const c=n.reduce(((t,e)=>{if(!e.done||null==e.error)return t;const r=e.error.code;return mi.indexOf(r)>=0&&(t[r]||(t[r]={error:e.error,weight:0}),t[r].weight+=e.weight),t}),{});if(Object.keys(c).forEach((t=>{const e=c[t];if(e.weight{t.staller&&t.staller.cancel(),t.cancelled=!0}));const r=e.error,i={};gi.forEach((t=>{null!=r[t]&&(i[t]=r[t])})),ui.throwError(r.reason||r.message,t,i)})),0===n.filter((t=>!t.done)).length)break}return n.forEach((t=>{t.staller&&t.staller.cancel(),t.cancelled=!0})),ui.throwError("failed to meet quorum",d.errors.SERVER_ERROR,{method:t,params:e,results:n.map((t=>yi(t))),provider:this})}))}}const Ai=new d(Ne),_i="84842078b09946638c03157f83405213";class Mi extends Bn{constructor(t,e){const r=new Pi(t,e),n=r.connection;n.password&&Ai.throwError("INFURA WebSocket project secrets unsupported",d.errors.UNSUPPORTED_OPERATION,{operation:"InfuraProvider.getWebSocketProvider()"});super(n.url.replace(/^http/i,"ws").replace("/v3/","/ws/v3/"),t),M(this,"apiKey",r.projectId),M(this,"projectId",r.projectId),M(this,"projectSecret",r.projectSecret)}isCommunityResource(){return this.projectId===_i}}class Pi extends jn{static getWebSocketProvider(t,e){return new Mi(t,e)}static getApiKey(t){const e={apiKey:_i,projectId:_i,projectSecret:null};return null==t||("string"==typeof t?e.projectId=t:null!=t.projectSecret?(Ai.assertArgument("string"==typeof t.projectId,"projectSecret requires a projectId","projectId",t.projectId),Ai.assertArgument("string"==typeof t.projectSecret,"invalid projectSecret","projectSecret","[REDACTED]"),e.projectId=t.projectId,e.projectSecret=t.projectSecret):t.projectId&&(e.projectId=t.projectId),e.apiKey=e.projectId),e}static getUrl(t,e){let r=null;switch(t?t.name:"unknown"){case"homestead":r="mainnet.infura.io";break;case"ropsten":r="ropsten.infura.io";break;case"rinkeby":r="rinkeby.infura.io";break;case"kovan":r="kovan.infura.io";break;case"goerli":r="goerli.infura.io";break;case"matic":r="polygon-mainnet.infura.io";break;case"maticmum":r="polygon-mumbai.infura.io";break;case"optimism":r="optimism-mainnet.infura.io";break;case"optimism-kovan":r="optimism-kovan.infura.io";break;case"arbitrum":r="arbitrum-mainnet.infura.io";break;case"arbitrum-rinkeby":r="arbitrum-rinkeby.infura.io";break;default:Ai.throwError("unsupported network",d.errors.INVALID_ARGUMENT,{argument:"network",value:t})}const n={allowGzip:!0,url:"https://"+r+"/v3/"+e.projectId,throttleCallback:(t,r)=>(e.projectId===_i&&Ce(),Promise.resolve(!0))};return null!=e.projectSecret&&(n.user="",n.password=e.projectSecret),n}isCommunityResource(){return this.projectId===_i}}const Si=new d(Ne);class ki extends jn{static getApiKey(t){return t&&"string"!=typeof t&&Si.throwArgumentError("invalid apiKey","apiKey",t),t||"ETHERS_JS_SHARED"}static getUrl(t,e){Si.warn("NodeSmith will be discontinued on 2019-12-20; please migrate to another platform.");let r=null;switch(t.name){case"homestead":r="https://ethereum.api.nodesmith.io/v1/mainnet/jsonrpc";break;case"ropsten":r="https://ethereum.api.nodesmith.io/v1/ropsten/jsonrpc";break;case"rinkeby":r="https://ethereum.api.nodesmith.io/v1/rinkeby/jsonrpc";break;case"goerli":r="https://ethereum.api.nodesmith.io/v1/goerli/jsonrpc";break;case"kovan":r="https://ethereum.api.nodesmith.io/v1/kovan/jsonrpc";break;default:Si.throwArgumentError("unsupported network","network",arguments[0])}return r+"?apiKey="+e}}const xi=new d(Ne),Ni={homestead:"6004bcd10040261633ade990",ropsten:"6004bd4d0040261633ade991",rinkeby:"6004bda20040261633ade994",goerli:"6004bd860040261633ade992"};class Ri extends jn{constructor(t,e){if(null==e){const r=P(new.target,"getNetwork")(t);if(r){const t=Ni[r.name];t&&(e={applicationId:t,loadBalancer:!0})}null==e&&xi.throwError("unsupported network",d.errors.INVALID_ARGUMENT,{argument:"network",value:t})}super(t,e)}static getApiKey(t){null==t&&xi.throwArgumentError("PocketProvider.getApiKey does not support null apiKey","apiKey",t);const e={applicationId:null,loadBalancer:!1,applicationSecretKey:null};return"string"==typeof t?e.applicationId=t:null!=t.applicationSecretKey?(xi.assertArgument("string"==typeof t.applicationId,"applicationSecretKey requires an applicationId","applicationId",t.applicationId),xi.assertArgument("string"==typeof t.applicationSecretKey,"invalid applicationSecretKey","applicationSecretKey","[REDACTED]"),e.applicationId=t.applicationId,e.applicationSecretKey=t.applicationSecretKey,e.loadBalancer=!!t.loadBalancer):t.applicationId?(xi.assertArgument("string"==typeof t.applicationId,"apiKey.applicationId must be a string","apiKey.applicationId",t.applicationId),e.applicationId=t.applicationId,e.loadBalancer=!!t.loadBalancer):xi.throwArgumentError("unsupported PocketProvider apiKey","apiKey",t),e}static getUrl(t,e){let r=null;switch(t?t.name:"unknown"){case"homestead":r="eth-mainnet.gateway.pokt.network";break;case"ropsten":r="eth-ropsten.gateway.pokt.network";break;case"rinkeby":r="eth-rinkeby.gateway.pokt.network";break;case"goerli":r="eth-goerli.gateway.pokt.network";break;default:xi.throwError("unsupported network",d.errors.INVALID_ARGUMENT,{argument:"network",value:t})}let n=null;n=e.loadBalancer?`https://${r}/v1/lb/${e.applicationId}`:`https://${r}/v1/${e.applicationId}`;const i={url:n,headers:{}};return null!=e.applicationSecretKey&&(i.user="",i.password=e.applicationSecretKey),i}isCommunityResource(){return this.applicationId===Ni[this.network.name]}}const Ii=new d(Ne);let Oi=1;function Ti(t,e){const r="Web3LegacyFetcher";return function(t,n){const i={method:t,params:n,id:Oi++,jsonrpc:"2.0"};return new Promise(((t,n)=>{this.emit("debug",{action:"request",fetcher:r,request:I(i),provider:this}),e(i,((e,o)=>{if(e)return this.emit("debug",{action:"response",fetcher:r,error:e,request:i,provider:this}),n(e);if(this.emit("debug",{action:"response",fetcher:r,request:i,response:o,provider:this}),o.error){const t=new Error(o.error.message);return t.code=o.error.code,t.data=o.error.data,n(t)}t(o.result)}))}))}}class Ci extends In{constructor(t,e){null==t&&Ii.throwArgumentError("missing provider","provider",t);let r=null,n=null,i=null;"function"==typeof t?(r="unknown:",n=t):(r=t.host||t.path||"",!r&&t.isMetaMask&&(r="metamask"),i=t,t.request?(""===r&&(r="eip-1193:"),n=function(t){return function(e,r){null==r&&(r=[]);const n={method:e,params:r};return this.emit("debug",{action:"request",fetcher:"Eip1193Fetcher",request:I(n),provider:this}),t.request(n).then((t=>(this.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:n,response:t,provider:this}),t)),(t=>{throw this.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:n,error:t,provider:this}),t}))}}(t)):t.sendAsync?n=Ti(0,t.sendAsync.bind(t)):t.send?n=Ti(0,t.send.bind(t)):Ii.throwArgumentError("unsupported provider","provider",t),r||(r="unknown:")),super(r,e),M(this,"jsonRpcFetchFunc",n),M(this,"provider",i)}send(t,e){return this.jsonRpcFetchFunc(t,e)}}const Fi=new d(Ne);var Bi=r(2349),Li=r(27197),Di=r(16786),Ui=r(15974),ji=r(13061),Gi=r(56714),qi=r(57e3),zi=r(96463),Ki=r(53988);var Vi=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const $i=new Ki.Logger("contracts/5.6.2");function Hi(t,e){return Vi(this,void 0,void 0,(function*(){const r=yield e;"string"!=typeof r&&$i.throwArgumentError("invalid address or ENS name","name",r);try{return(0,ji.getAddress)(r)}catch(t){}t||$i.throwError("a provider or signer is needed to resolve ENS names",Ki.Logger.errors.UNSUPPORTED_OPERATION,{operation:"resolveName"});const n=yield t.resolveName(r);return null==n&&$i.throwArgumentError("resolver or addr is not configured for ENS name","name",r),n}))}function Wi(t,e,r){return Vi(this,void 0,void 0,(function*(){return Array.isArray(r)?yield Promise.all(r.map(((r,n)=>Wi(t,Array.isArray(e)?e[n]:e[r.name],r)))):"address"===r.type?yield Hi(t,e):"tuple"===r.type?yield Wi(t,e,r.components):"array"===r.baseType?Array.isArray(e)?yield Promise.all(e.map((e=>Wi(t,e,r.arrayChildren)))):Promise.reject($i.makeError("invalid value for array",Ki.Logger.errors.INVALID_ARGUMENT,{argument:"value",value:e})):e}))}function Ji(t,e,r){return Vi(this,void 0,void 0,(function*(){let i={};r.length===e.inputs.length+1&&"object"==typeof r[r.length-1]&&(i=(0,qi.shallowCopy)(r.pop())),$i.checkArgumentCount(r.length,e.inputs.length,"passed to contract"),t.signer?i.from?i.from=(0,qi.resolveProperties)({override:Hi(t.signer,i.from),signer:t.signer.getAddress()}).then((t=>Vi(this,void 0,void 0,(function*(){return(0,ji.getAddress)(t.signer)!==t.override&&$i.throwError("Contract with a Signer cannot override from",Ki.Logger.errors.UNSUPPORTED_OPERATION,{operation:"overrides.from"}),t.override})))):i.from=t.signer.getAddress():i.from&&(i.from=Hi(t.provider,i.from));const o=yield(0,qi.resolveProperties)({args:Wi(t.signer||t.provider,r,e.inputs),address:t.resolvedAddress,overrides:(0,qi.resolveProperties)(i)||{}}),s=t.interface.encodeFunctionData(e,o.args),a={data:s,to:o.address},u=o.overrides;if(null!=u.nonce&&(a.nonce=n.O$.from(u.nonce).toNumber()),null!=u.gasLimit&&(a.gasLimit=n.O$.from(u.gasLimit)),null!=u.gasPrice&&(a.gasPrice=n.O$.from(u.gasPrice)),null!=u.maxFeePerGas&&(a.maxFeePerGas=n.O$.from(u.maxFeePerGas)),null!=u.maxPriorityFeePerGas&&(a.maxPriorityFeePerGas=n.O$.from(u.maxPriorityFeePerGas)),null!=u.from&&(a.from=u.from),null!=u.type&&(a.type=u.type),null!=u.accessList&&(a.accessList=(0,zi.accessListify)(u.accessList)),null==a.gasLimit&&null!=e.gas){let t=21e3;const r=(0,Gi.arrayify)(s);for(let e=0;enull!=i[t]));return l.length&&$i.throwError(`cannot override ${l.map((t=>JSON.stringify(t))).join(",")}`,Ki.Logger.errors.UNSUPPORTED_OPERATION,{operation:"overrides",overrides:l}),a}))}function Zi(t,e){const r=e.wait.bind(e);e.wait=e=>r(e).then((e=>(e.events=e.logs.map((r=>{let n=(0,qi.deepCopy)(r),i=null;try{i=t.interface.parseLog(r)}catch(t){}return i&&(n.args=i.args,n.decode=(e,r)=>t.interface.decodeEventLog(i.eventFragment,e,r),n.event=i.name,n.eventSignature=i.signature),n.removeListener=()=>t.provider,n.getBlock=()=>t.provider.getBlock(e.blockHash),n.getTransaction=()=>t.provider.getTransaction(e.transactionHash),n.getTransactionReceipt=()=>Promise.resolve(e),n})),e)))}function Xi(t,e,r){const n=t.signer||t.provider;return function(...i){return Vi(this,void 0,void 0,(function*(){let o;if(i.length===e.inputs.length+1&&"object"==typeof i[i.length-1]){const t=(0,qi.shallowCopy)(i.pop());null!=t.blockTag&&(o=yield t.blockTag),delete t.blockTag,i.push(t)}null!=t.deployTransaction&&(yield t._deployed(o));const s=yield Ji(t,e,i),a=yield n.call(s,o);try{let n=t.interface.decodeFunctionResult(e,a);return r&&1===e.outputs.length&&(n=n[0]),n}catch(e){throw e.code===Ki.Logger.errors.CALL_EXCEPTION&&(e.address=t.address,e.args=i,e.transaction=s),e}}))}}function Yi(t,e,r){return e.constant?Xi(t,e,r):function(t,e){return function(...r){return Vi(this,void 0,void 0,(function*(){t.signer||$i.throwError("sending a transaction requires a signer",Ki.Logger.errors.UNSUPPORTED_OPERATION,{operation:"sendTransaction"}),null!=t.deployTransaction&&(yield t._deployed());const n=yield Ji(t,e,r),i=yield t.signer.sendTransaction(n);return Zi(t,i),i}))}}(t,e)}function Qi(t){return!t.address||null!=t.topics&&0!==t.topics.length?(t.address||"*")+"@"+(t.topics?t.topics.map((t=>Array.isArray(t)?t.join("|"):t)).join(":"):""):"*"}class to{constructor(t,e){(0,qi.defineReadOnly)(this,"tag",t),(0,qi.defineReadOnly)(this,"filter",e),this._listeners=[]}addListener(t,e){this._listeners.push({listener:t,once:e})}removeListener(t){let e=!1;this._listeners=this._listeners.filter((r=>!(!e&&r.listener===t)||(e=!0,!1)))}removeAllListeners(){this._listeners=[]}listeners(){return this._listeners.map((t=>t.listener))}listenerCount(){return this._listeners.length}run(t){const e=this.listenerCount();return this._listeners=this._listeners.filter((e=>{const r=t.slice();return setTimeout((()=>{e.listener.apply(this,r)}),0),!e.once})),e}prepareEvent(t){}getEmit(t){return[t]}}class eo extends to{constructor(){super("error",null)}}class ro extends to{constructor(t,e,r,n){const i={address:t};let o=e.getEventTopic(r);n?(o!==n[0]&&$i.throwArgumentError("topic mismatch","topics",n),i.topics=n.slice()):i.topics=[o],super(Qi(i),i),(0,qi.defineReadOnly)(this,"address",t),(0,qi.defineReadOnly)(this,"interface",e),(0,qi.defineReadOnly)(this,"fragment",r)}prepareEvent(t){super.prepareEvent(t),t.event=this.fragment.name,t.eventSignature=this.fragment.format(),t.decode=(t,e)=>this.interface.decodeEventLog(this.fragment,t,e);try{t.args=this.interface.decodeEventLog(this.fragment,t.data,t.topics)}catch(e){t.args=null,t.decodeError=e}}getEmit(t){const e=(0,Bi.BR)(t.args);if(e.length)throw e[0].error;const r=(t.args||[]).slice();return r.push(t),r}}class no extends to{constructor(t,e){super("*",{address:t}),(0,qi.defineReadOnly)(this,"address",t),(0,qi.defineReadOnly)(this,"interface",e)}prepareEvent(t){super.prepareEvent(t);try{const e=this.interface.parseLog(t);t.event=e.name,t.eventSignature=e.signature,t.decode=(t,r)=>this.interface.decodeEventLog(e.eventFragment,t,r),t.args=e.args}catch(t){}}}class io extends class{constructor(t,e,r){(0,qi.defineReadOnly)(this,"interface",(0,qi.getStatic)(new.target,"getInterface")(e)),null==r?((0,qi.defineReadOnly)(this,"provider",null),(0,qi.defineReadOnly)(this,"signer",null)):Ui.E.isSigner(r)?((0,qi.defineReadOnly)(this,"provider",r.provider||null),(0,qi.defineReadOnly)(this,"signer",r)):Di.zt.isProvider(r)?((0,qi.defineReadOnly)(this,"provider",r),(0,qi.defineReadOnly)(this,"signer",null)):$i.throwArgumentError("invalid signer or provider","signerOrProvider",r),(0,qi.defineReadOnly)(this,"callStatic",{}),(0,qi.defineReadOnly)(this,"estimateGas",{}),(0,qi.defineReadOnly)(this,"functions",{}),(0,qi.defineReadOnly)(this,"populateTransaction",{}),(0,qi.defineReadOnly)(this,"filters",{});{const t={};Object.keys(this.interface.events).forEach((e=>{const r=this.interface.events[e];(0,qi.defineReadOnly)(this.filters,e,((...t)=>({address:this.address,topics:this.interface.encodeFilterTopics(r,t)}))),t[r.name]||(t[r.name]=[]),t[r.name].push(e)})),Object.keys(t).forEach((e=>{const r=t[e];1===r.length?(0,qi.defineReadOnly)(this.filters,e,this.filters[r[0]]):$i.warn(`Duplicate definition of ${e} (${r.join(", ")})`)}))}if((0,qi.defineReadOnly)(this,"_runningEvents",{}),(0,qi.defineReadOnly)(this,"_wrappedEmits",{}),null==t&&$i.throwArgumentError("invalid contract address or ENS name","addressOrName",t),(0,qi.defineReadOnly)(this,"address",t),this.provider)(0,qi.defineReadOnly)(this,"resolvedAddress",Hi(this.provider,t));else try{(0,qi.defineReadOnly)(this,"resolvedAddress",Promise.resolve((0,ji.getAddress)(t)))}catch(t){$i.throwError("provider is required to use ENS name as contract address",Ki.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new Contract"})}this.resolvedAddress.catch((t=>{}));const n={},i={};Object.keys(this.interface.functions).forEach((t=>{const e=this.interface.functions[t];if(i[t])$i.warn(`Duplicate ABI entry for ${JSON.stringify(t)}`);else{i[t]=!0;{const r=e.name;n[`%${r}`]||(n[`%${r}`]=[]),n[`%${r}`].push(t)}null==this[t]&&(0,qi.defineReadOnly)(this,t,Yi(this,e,!0)),null==this.functions[t]&&(0,qi.defineReadOnly)(this.functions,t,Yi(this,e,!1)),null==this.callStatic[t]&&(0,qi.defineReadOnly)(this.callStatic,t,Xi(this,e,!0)),null==this.populateTransaction[t]&&(0,qi.defineReadOnly)(this.populateTransaction,t,function(t,e){return function(...r){return Ji(t,e,r)}}(this,e)),null==this.estimateGas[t]&&(0,qi.defineReadOnly)(this.estimateGas,t,function(t,e){const r=t.signer||t.provider;return function(...n){return Vi(this,void 0,void 0,(function*(){r||$i.throwError("estimate require a provider or signer",Ki.Logger.errors.UNSUPPORTED_OPERATION,{operation:"estimateGas"});const i=yield Ji(t,e,n);return yield r.estimateGas(i)}))}}(this,e))}})),Object.keys(n).forEach((t=>{const e=n[t];if(e.length>1)return;t=t.substring(1);const r=e[0];try{null==this[t]&&(0,qi.defineReadOnly)(this,t,this[r])}catch(t){}null==this.functions[t]&&(0,qi.defineReadOnly)(this.functions,t,this.functions[r]),null==this.callStatic[t]&&(0,qi.defineReadOnly)(this.callStatic,t,this.callStatic[r]),null==this.populateTransaction[t]&&(0,qi.defineReadOnly)(this.populateTransaction,t,this.populateTransaction[r]),null==this.estimateGas[t]&&(0,qi.defineReadOnly)(this.estimateGas,t,this.estimateGas[r])}))}static getContractAddress(t){return(0,ji.getContractAddress)(t)}static getInterface(t){return Li.vU.isInterface(t)?t:new Li.vU(t)}deployed(){return this._deployed()}_deployed(t){return this._deployedPromise||(this.deployTransaction?this._deployedPromise=this.deployTransaction.wait().then((()=>this)):this._deployedPromise=this.provider.getCode(this.address,t).then((t=>("0x"===t&&$i.throwError("contract not deployed",Ki.Logger.errors.UNSUPPORTED_OPERATION,{contractAddress:this.address,operation:"getDeployed"}),this)))),this._deployedPromise}fallback(t){this.signer||$i.throwError("sending a transactions require a signer",Ki.Logger.errors.UNSUPPORTED_OPERATION,{operation:"sendTransaction(fallback)"});const e=(0,qi.shallowCopy)(t||{});return["from","to"].forEach((function(t){null!=e[t]&&$i.throwError("cannot override "+t,Ki.Logger.errors.UNSUPPORTED_OPERATION,{operation:t})})),e.to=this.resolvedAddress,this.deployed().then((()=>this.signer.sendTransaction(e)))}connect(t){"string"==typeof t&&(t=new Ui.b(t,this.provider));const e=new this.constructor(this.address,this.interface,t);return this.deployTransaction&&(0,qi.defineReadOnly)(e,"deployTransaction",this.deployTransaction),e}attach(t){return new this.constructor(t,this.interface,this.signer||this.provider)}static isIndexed(t){return Li.Hk.isIndexed(t)}_normalizeRunningEvent(t){return this._runningEvents[t.tag]?this._runningEvents[t.tag]:t}_getRunningEvent(t){if("string"==typeof t){if("error"===t)return this._normalizeRunningEvent(new eo);if("event"===t)return this._normalizeRunningEvent(new to("event",null));if("*"===t)return this._normalizeRunningEvent(new no(this.address,this.interface));const e=this.interface.getEvent(t);return this._normalizeRunningEvent(new ro(this.address,this.interface,e))}if(t.topics&&t.topics.length>0){try{const e=t.topics[0];if("string"!=typeof e)throw new Error("invalid topic");const r=this.interface.getEvent(e);return this._normalizeRunningEvent(new ro(this.address,this.interface,r,t.topics))}catch(t){}const e={address:this.address,topics:t.topics};return this._normalizeRunningEvent(new to(Qi(e),e))}return this._normalizeRunningEvent(new no(this.address,this.interface))}_checkRunningEvents(t){if(0===t.listenerCount()){delete this._runningEvents[t.tag];const e=this._wrappedEmits[t.tag];e&&t.filter&&(this.provider.off(t.filter,e),delete this._wrappedEmits[t.tag])}}_wrapEvent(t,e,r){const n=(0,qi.deepCopy)(e);return n.removeListener=()=>{r&&(t.removeListener(r),this._checkRunningEvents(t))},n.getBlock=()=>this.provider.getBlock(e.blockHash),n.getTransaction=()=>this.provider.getTransaction(e.transactionHash),n.getTransactionReceipt=()=>this.provider.getTransactionReceipt(e.transactionHash),t.prepareEvent(n),n}_addEventListener(t,e,r){if(this.provider||$i.throwError("events require a provider or a signer with a provider",Ki.Logger.errors.UNSUPPORTED_OPERATION,{operation:"once"}),t.addListener(e,r),this._runningEvents[t.tag]=t,!this._wrappedEmits[t.tag]){const r=r=>{let n=this._wrapEvent(t,r,e);if(null==n.decodeError)try{const e=t.getEmit(n);this.emit(t.filter,...e)}catch(t){n.decodeError=t.error}null!=t.filter&&this.emit("event",n),null!=n.decodeError&&this.emit("error",n.decodeError,n)};this._wrappedEmits[t.tag]=r,null!=t.filter&&this.provider.on(t.filter,r)}}queryFilter(t,e,r){const n=this._getRunningEvent(t),i=(0,qi.shallowCopy)(n.filter);return"string"==typeof e&&(0,Gi.isHexString)(e,32)?(null!=r&&$i.throwArgumentError("cannot specify toBlock with blockhash","toBlock",r),i.blockHash=e):(i.fromBlock=null!=e?e:0,i.toBlock=null!=r?r:"latest"),this.provider.getLogs(i).then((t=>t.map((t=>this._wrapEvent(n,t,null)))))}on(t,e){return this._addEventListener(this._getRunningEvent(t),e,!1),this}once(t,e){return this._addEventListener(this._getRunningEvent(t),e,!0),this}emit(t,...e){if(!this.provider)return!1;const r=this._getRunningEvent(t),n=r.run(e)>0;return this._checkRunningEvents(r),n}listenerCount(t){return this.provider?null==t?Object.keys(this._runningEvents).reduce(((t,e)=>t+this._runningEvents[e].listenerCount()),0):this._getRunningEvent(t).listenerCount():0}listeners(t){if(!this.provider)return[];if(null==t){const t=[];for(let e in this._runningEvents)this._runningEvents[e].listeners().forEach((e=>{t.push(e)}));return t}return this._getRunningEvent(t).listeners()}removeAllListeners(t){if(!this.provider)return this;if(null==t){for(const t in this._runningEvents){const e=this._runningEvents[t];e.removeAllListeners(),this._checkRunningEvents(e)}return this}const e=this._getRunningEvent(t);return e.removeAllListeners(),this._checkRunningEvents(e),this}off(t,e){if(!this.provider)return this;const r=this._getRunningEvent(t);return r.removeListener(e),this._checkRunningEvents(r),this}removeListener(t,e){return this.off(t,e)}}{}var oo,so,ao=r(47796);!function(t){t.web3="web3",t.ethers="ethers",t.customHttp="custom"}(oo||(oo={})),function(t){t[t.mainnet=1]="mainnet",t[t.ropsten=3]="ropsten",t[t.rinkeby=4]="rinkeby",t[t.goerli=5]="goerli",t[t.optimism=10]="optimism",t[t.kovan=42]="kovan",t[t.bsc=56]="bsc",t[t.kovanOptimism=69]="kovanOptimism",t[t.bsc_testnet=97]="bsc_testnet",t[t.xdai=100]="xdai",t[t.matic=137]="matic",t[t.mumbai=80001]="mumbai",t[t.avalancheFuji=43113]="avalancheFuji",t[t.avalancheMainnet=43114]="avalancheMainnet",t[t.etherlite=111]="etherlite",t[t.arbitrum=42161]="arbitrum",t[t.fantom=250]="fantom",t[t.cronos=25]="cronos",t[t.harmony=16666e5]="harmony"}(so||(so={}));var uo=function(){function t(){}return t.deepClone=function(t){return JSON.parse(JSON.stringify(t))},t}(),lo=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))},ho=function(t,e){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0)try{c=ao.defaultAbiCoder.decode(h,this.getReturnDataFromResult(u.result)),s.callsReturnContext.push(uo.deepClone({returnValues:this.formatReturnValues(c),decoded:!0,reference:l.reference,methodName:l.methodName,methodParameters:l.methodParameters,success:!0}))}catch(t){if(!this._options.tryAggregate)throw t;s.callsReturnContext.push(uo.deepClone({returnValues:[],decoded:!1,reference:l.reference,methodName:l.methodName,methodParameters:l.methodParameters,success:!1}))}else s.callsReturnContext.push(uo.deepClone({returnValues:this.getReturnDataFromResult(u.result),decoded:!1,reference:l.reference,methodName:l.methodName,methodParameters:l.methodParameters,success:!0}));else s.callsReturnContext.push(uo.deepClone({returnValues:[],decoded:!1,reference:l.reference,methodName:l.methodName,methodParameters:l.methodParameters,success:!1}));r.results[s.originalContractCallContext.reference]=s}return[2,r]}}))}))},t.prototype.getReturnDataFromResult=function(t){return this._options.tryAggregate?t.returnData:t},t.prototype.formatReturnValues=function(t){var e=t;return 1===t.length&&(e=t[0]),Array.isArray(e)?e:[e]},t.prototype.buildAggregateCallContext=function(t){for(var e=[],r=0;r{"use strict";r.d(e,{i:()=>n});const n="abi/5.6.3"},13032:(t,e,r)=>{"use strict";r.d(e,{R:()=>R,$:()=>I});var n=r(56714),i=r(57e3),o=r(53988),s=r(32265),a=r(2349),u=r(13061);class l extends a.XI{constructor(t){super("address","address",t,!1)}defaultValue(){return"0x0000000000000000000000000000000000000000"}encode(t,e){try{e=(0,u.getAddress)(e)}catch(t){this._throwError(t.message,e)}return t.writeValue(e)}decode(t){return(0,u.getAddress)((0,n.hexZeroPad)(t.readValue().toHexString(),20))}}class h extends a.XI{constructor(t){super(t.name,t.type,void 0,t.dynamic),this.coder=t}defaultValue(){return this.coder.defaultValue()}encode(t,e){return this.coder.encode(t,e)}decode(t){return this.coder.decode(t)}}const c=new o.Logger(s.i);function f(t,e,r){let n=null;if(Array.isArray(r))n=r;else if(r&&"object"==typeof r){let t={};n=e.map((e=>{const n=e.localName;return n||c.throwError("cannot encode object for signature with missing names",o.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:e,value:r}),t[n]&&c.throwError("cannot encode object for signature with duplicate names",o.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:e,value:r}),t[n]=!0,r[n]}))}else c.throwArgumentError("invalid tuple value","tuple",r);e.length!==n.length&&c.throwArgumentError("types/value length mismatch","tuple",r);let i=new a.QV(t.wordSize),s=new a.QV(t.wordSize),u=[];e.forEach(((t,e)=>{let r=n[e];if(t.dynamic){let e=s.length;t.encode(s,r);let n=i.writeUpdatableValue();u.push((t=>{n(t+e)}))}else t.encode(i,r)})),u.forEach((t=>{t(i.length)}));let l=t.appendWriter(i);return l+=t.appendWriter(s),l}function d(t,e){let r=[],n=t.subReader(0);e.forEach((e=>{let i=null;if(e.dynamic){let r=t.readValue(),s=n.subReader(r.toNumber());try{i=e.decode(s)}catch(t){if(t.code===o.Logger.errors.BUFFER_OVERRUN)throw t;i=t,i.baseType=e.name,i.name=e.localName,i.type=e.type}}else try{i=e.decode(t)}catch(t){if(t.code===o.Logger.errors.BUFFER_OVERRUN)throw t;i=t,i.baseType=e.name,i.name=e.localName,i.type=e.type}null!=i&&r.push(i)}));const i=e.reduce(((t,e)=>{const r=e.localName;return r&&(t[r]||(t[r]=0),t[r]++),t}),{});e.forEach(((t,e)=>{let n=t.localName;if(!n||1!==i[n])return;if("length"===n&&(n="_length"),null!=r[n])return;const o=r[e];o instanceof Error?Object.defineProperty(r,n,{enumerable:!0,get:()=>{throw o}}):r[n]=o}));for(let t=0;t{throw e}})}return Object.freeze(r)}class p extends a.XI{constructor(t,e,r){super("array",t.type+"["+(e>=0?e:"")+"]",r,-1===e||t.dynamic),this.coder=t,this.length=e}defaultValue(){const t=this.coder.defaultValue(),e=[];for(let r=0;rt._data.length&&c.throwError("insufficient data length",o.Logger.errors.BUFFER_OVERRUN,{length:t._data.length,count:e}));let r=[];for(let t=0;t{t.dynamic&&(r=!0),n.push(t.type)}));super("tuple","tuple("+n.join(",")+")",e,r),this.coders=t}defaultValue(){const t=[];this.coders.forEach((e=>{t.push(e.defaultValue())}));const e=this.coders.reduce(((t,e)=>{const r=e.localName;return r&&(t[r]||(t[r]=0),t[r]++),t}),{});return this.coders.forEach(((r,n)=>{let i=r.localName;i&&1===e[i]&&("length"===i&&(i="_length"),null==t[i]&&(t[i]=t[n]))})),Object.freeze(t)}encode(t,e){return f(t,this.coders,e)}decode(t){return t.coerce(this.name,d(t,this.coders))}}var S=r(4631);const k=new o.Logger(s.i),x=new RegExp(/^bytes([0-9]*)$/),N=new RegExp(/^(u?int)([0-9]*)$/);class R{constructor(t){(0,i.defineReadOnly)(this,"coerceFunc",t||null)}_getCoder(t){switch(t.baseType){case"address":return new l(t.name);case"bool":return new m(t.name);case"string":return new M(t.name);case"bytes":return new y(t.name);case"array":return new p(this._getCoder(t.arrayChildren),t.arrayLength,t.name);case"tuple":return new P((t.components||[]).map((t=>this._getCoder(t))),t.name);case"":return new b(t.name)}let e=t.type.match(N);if(e){let r=parseInt(e[2]||"256");return(0===r||r>256||r%8!=0)&&k.throwArgumentError("invalid "+e[1]+" bit length","param",t),new A(r/8,"int"===e[1],t.name)}if(e=t.type.match(x),e){let r=parseInt(e[1]);return(0===r||r>32)&&k.throwArgumentError("invalid bytes length","param",t),new v(r,t.name)}return k.throwArgumentError("invalid type","type",t.type)}_getWordSize(){return 32}_getReader(t,e){return new a.Ej(t,this._getWordSize(),this.coerceFunc,e)}_getWriter(){return new a.QV(this._getWordSize())}getDefaultValue(t){const e=t.map((t=>this._getCoder(S._R.from(t))));return new P(e,"_").defaultValue()}encode(t,e){t.length!==e.length&&k.throwError("types/values length mismatch",o.Logger.errors.INVALID_ARGUMENT,{count:{types:t.length,values:e.length},value:{types:t,values:e}});const r=t.map((t=>this._getCoder(S._R.from(t)))),n=new P(r,"_"),i=this._getWriter();return n.encode(i,e),i.data}decode(t,e,r){const i=t.map((t=>this._getCoder(S._R.from(t))));return new P(i,"_").decode(this._getReader((0,n.arrayify)(e),r))}}const I=new R},2349:(t,e,r)=>{"use strict";r.d(e,{BR:()=>l,XI:()=>h,QV:()=>c,Ej:()=>f});var n=r(56714),i=r(30707),o=r(57e3),s=r(53988),a=r(32265);const u=new s.Logger(a.i);function l(t){const e=[],r=function(t,n){if(Array.isArray(n))for(let i in n){const o=t.slice();o.push(i);try{r(o,n[i])}catch(t){e.push({path:o,error:t})}}};return r([],t),e}class h{constructor(t,e,r,n){this.name=t,this.type=e,this.localName=r,this.dynamic=n}_throwError(t,e){u.throwArgumentError(t,this.localName,e)}}class c{constructor(t){(0,o.defineReadOnly)(this,"wordSize",t||32),this._data=[],this._dataLength=0,this._padding=new Uint8Array(t)}get data(){return(0,n.hexConcat)(this._data)}get length(){return this._dataLength}_writeData(t){return this._data.push(t),this._dataLength+=t.length,t.length}appendWriter(t){return this._writeData((0,n.concat)(t._data))}writeBytes(t){let e=(0,n.arrayify)(t);const r=e.length%this.wordSize;return r&&(e=(0,n.concat)([e,this._padding.slice(r)])),this._writeData(e)}_getValue(t){let e=(0,n.arrayify)(i.O$.from(t));return e.length>this.wordSize&&u.throwError("value out-of-bounds",s.Logger.errors.BUFFER_OVERRUN,{length:this.wordSize,offset:e.length}),e.length%this.wordSize&&(e=(0,n.concat)([this._padding.slice(e.length%this.wordSize),e])),e}writeValue(t){return this._writeData(this._getValue(t))}writeUpdatableValue(){const t=this._data.length;return this._data.push(this._padding),this._dataLength+=this.wordSize,e=>{this._data[t]=this._getValue(e)}}}class f{constructor(t,e,r,i){(0,o.defineReadOnly)(this,"_data",(0,n.arrayify)(t)),(0,o.defineReadOnly)(this,"wordSize",e||32),(0,o.defineReadOnly)(this,"_coerceFunc",r),(0,o.defineReadOnly)(this,"allowLoose",i),this._offset=0}get data(){return(0,n.hexlify)(this._data)}get consumed(){return this._offset}static coerce(t,e){let r=t.match("^u?int([0-9]+)$");return r&&parseInt(r[1])<=48&&(e=e.toNumber()),e}coerce(t,e){return this._coerceFunc?this._coerceFunc(t,e):f.coerce(t,e)}_peekBytes(t,e,r){let n=Math.ceil(e/this.wordSize)*this.wordSize;return this._offset+n>this._data.length&&(this.allowLoose&&r&&this._offset+e<=this._data.length?n=e:u.throwError("data out-of-bounds",s.Logger.errors.BUFFER_OVERRUN,{length:this._data.length,offset:this._offset+n})),this._data.slice(this._offset,this._offset+n)}subReader(t){return new f(this._data.slice(this._offset+t),this.wordSize,this._coerceFunc,this.allowLoose)}readBytes(t,e){let r=this._peekBytes(0,t,!!e);return this._offset+=r.length,r.slice(0,t)}readValue(){return i.O$.from(this.readBytes(this.wordSize))}}},4631:(t,e,r)=>{"use strict";r.d(e,{pc:()=>d,_R:()=>m,HY:()=>y,QV:()=>v,Xg:()=>A,YW:()=>_,IC:()=>P});var n=r(30707),i=r(57e3),o=r(53988),s=r(32265);const a=new o.Logger(s.i),u={};let l={calldata:!0,memory:!0,storage:!0},h={calldata:!0,memory:!0};function c(t,e){if("bytes"===t||"string"===t){if(l[e])return!0}else if("address"===t){if("payable"===e)return!0}else if((t.indexOf("[")>=0||"tuple"===t)&&h[e])return!0;return(l[e]||"payable"===e)&&a.throwArgumentError("invalid modifier","name",e),!1}function f(t,e){for(let r in e)(0,i.defineReadOnly)(t,r,e[r])}const d=Object.freeze({sighash:"sighash",minimal:"minimal",full:"full",json:"json"}),p=new RegExp(/^(.*)\[([0-9]*)\]$/);class m{constructor(t,e){t!==u&&a.throwError("use fromString",o.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new ParamType()"}),f(this,e);let r=this.type.match(p);f(this,r?{arrayLength:parseInt(r[2]||"-1"),arrayChildren:m.fromObject({type:r[1],components:this.components}),baseType:"array"}:{arrayLength:null,arrayChildren:null,baseType:null!=this.components?"tuple":this.type}),this._isParamType=!0,Object.freeze(this)}format(t){if(t||(t=d.sighash),d[t]||a.throwArgumentError("invalid format type","format",t),t===d.json){let e={type:"tuple"===this.baseType?"tuple":this.type,name:this.name||void 0};return"boolean"==typeof this.indexed&&(e.indexed=this.indexed),this.components&&(e.components=this.components.map((e=>JSON.parse(e.format(t))))),JSON.stringify(e)}let e="";return"array"===this.baseType?(e+=this.arrayChildren.format(t),e+="["+(this.arrayLength<0?"":String(this.arrayLength))+"]"):"tuple"===this.baseType?(t!==d.sighash&&(e+=this.type),e+="("+this.components.map((e=>e.format(t))).join(t===d.full?", ":",")+")"):e+=this.type,t!==d.sighash&&(!0===this.indexed&&(e+=" indexed"),t===d.full&&this.name&&(e+=" "+this.name)),e}static from(t,e){return"string"==typeof t?m.fromString(t,e):m.fromObject(t)}static fromObject(t){return m.isParamType(t)?t:new m(u,{name:t.name||null,type:S(t.type),indexed:null==t.indexed?null:!!t.indexed,components:t.components?t.components.map(m.fromObject):null})}static fromString(t,e){return r=function(t,e){let r=t;function n(e){a.throwArgumentError(`unexpected character at position ${e}`,"param",t)}function i(t){let r={type:"",name:"",parent:t,state:{allowType:!0}};return e&&(r.indexed=!1),r}t=t.replace(/\s/g," ");let o={type:"",name:"",state:{allowType:!0}},s=o;for(let r=0;rm.fromString(t,e)))}class y{constructor(t,e){t!==u&&a.throwError("use a static from method",o.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new Fragment()"}),f(this,e),this._isFragment=!0,Object.freeze(this)}static from(t){return y.isFragment(t)?t:"string"==typeof t?y.fromString(t):y.fromObject(t)}static fromObject(t){if(y.isFragment(t))return t;switch(t.type){case"function":return _.fromObject(t);case"event":return v.fromObject(t);case"constructor":return A.fromObject(t);case"error":return P.fromObject(t);case"fallback":case"receive":return null}return a.throwArgumentError("invalid fragment object","value",t)}static fromString(t){return"event"===(t=(t=(t=t.replace(/\s/g," ")).replace(/\(/g," (").replace(/\)/g,") ").replace(/\s+/g," ")).trim()).split(" ")[0]?v.fromString(t.substring(5).trim()):"function"===t.split(" ")[0]?_.fromString(t.substring(8).trim()):"constructor"===t.split("(")[0].trim()?A.fromString(t.trim()):"error"===t.split(" ")[0]?P.fromString(t.substring(5).trim()):a.throwArgumentError("unsupported fragment","value",t)}static isFragment(t){return!(!t||!t._isFragment)}}class v extends y{format(t){if(t||(t=d.sighash),d[t]||a.throwArgumentError("invalid format type","format",t),t===d.json)return JSON.stringify({type:"event",anonymous:this.anonymous,name:this.name,inputs:this.inputs.map((e=>JSON.parse(e.format(t))))});let e="";return t!==d.sighash&&(e+="event "),e+=this.name+"("+this.inputs.map((e=>e.format(t))).join(t===d.full?", ":",")+") ",t!==d.sighash&&this.anonymous&&(e+="anonymous "),e.trim()}static from(t){return"string"==typeof t?v.fromString(t):v.fromObject(t)}static fromObject(t){if(v.isEventFragment(t))return t;"event"!==t.type&&a.throwArgumentError("invalid event object","value",t);const e={name:x(t.name),anonymous:t.anonymous,inputs:t.inputs?t.inputs.map(m.fromObject):[],type:"event"};return new v(u,e)}static fromString(t){let e=t.match(N);e||a.throwArgumentError("invalid event string","value",t);let r=!1;return e[3].split(" ").forEach((t=>{switch(t.trim()){case"anonymous":r=!0;break;case"":break;default:a.warn("unknown modifier: "+t)}})),v.fromObject({name:e[1].trim(),anonymous:r,inputs:g(e[2],!0),type:"event"})}static isEventFragment(t){return t&&t._isFragment&&"event"===t.type}}function b(t,e){e.gas=null;let r=t.split("@");return 1!==r.length?(r.length>2&&a.throwArgumentError("invalid human-readable ABI signature","value",t),r[1].match(/^[0-9]+$/)||a.throwArgumentError("invalid human-readable ABI signature gas","value",t),e.gas=n.O$.from(r[1]),r[0]):t}function w(t,e){e.constant=!1,e.payable=!1,e.stateMutability="nonpayable",t.split(" ").forEach((t=>{switch(t.trim()){case"constant":e.constant=!0;break;case"payable":e.payable=!0,e.stateMutability="payable";break;case"nonpayable":e.payable=!1,e.stateMutability="nonpayable";break;case"pure":e.constant=!0,e.stateMutability="pure";break;case"view":e.constant=!0,e.stateMutability="view";break;case"external":case"public":case"":break;default:console.log("unknown modifier: "+t)}}))}function E(t){let e={constant:!1,payable:!0,stateMutability:"payable"};return null!=t.stateMutability?(e.stateMutability=t.stateMutability,e.constant="view"===e.stateMutability||"pure"===e.stateMutability,null!=t.constant&&!!t.constant!==e.constant&&a.throwArgumentError("cannot have constant function with mutability "+e.stateMutability,"value",t),e.payable="payable"===e.stateMutability,null!=t.payable&&!!t.payable!==e.payable&&a.throwArgumentError("cannot have payable function with mutability "+e.stateMutability,"value",t)):null!=t.payable?(e.payable=!!t.payable,null!=t.constant||e.payable||"constructor"===t.type||a.throwArgumentError("unable to determine stateMutability","value",t),e.constant=!!t.constant,e.constant?e.stateMutability="view":e.stateMutability=e.payable?"payable":"nonpayable",e.payable&&e.constant&&a.throwArgumentError("cannot have constant payable function","value",t)):null!=t.constant?(e.constant=!!t.constant,e.payable=!e.constant,e.stateMutability=e.constant?"view":"payable"):"constructor"!==t.type&&a.throwArgumentError("unable to determine stateMutability","value",t),e}class A extends y{format(t){if(t||(t=d.sighash),d[t]||a.throwArgumentError("invalid format type","format",t),t===d.json)return JSON.stringify({type:"constructor",stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((e=>JSON.parse(e.format(t))))});t===d.sighash&&a.throwError("cannot format a constructor for sighash",o.Logger.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});let e="constructor("+this.inputs.map((e=>e.format(t))).join(t===d.full?", ":",")+") ";return this.stateMutability&&"nonpayable"!==this.stateMutability&&(e+=this.stateMutability+" "),e.trim()}static from(t){return"string"==typeof t?A.fromString(t):A.fromObject(t)}static fromObject(t){if(A.isConstructorFragment(t))return t;"constructor"!==t.type&&a.throwArgumentError("invalid constructor object","value",t);let e=E(t);e.constant&&a.throwArgumentError("constructor cannot be constant","value",t);const r={name:null,type:t.type,inputs:t.inputs?t.inputs.map(m.fromObject):[],payable:e.payable,stateMutability:e.stateMutability,gas:t.gas?n.O$.from(t.gas):null};return new A(u,r)}static fromString(t){let e={type:"constructor"},r=(t=b(t,e)).match(N);return r&&"constructor"===r[1].trim()||a.throwArgumentError("invalid constructor string","value",t),e.inputs=g(r[2].trim(),!1),w(r[3].trim(),e),A.fromObject(e)}static isConstructorFragment(t){return t&&t._isFragment&&"constructor"===t.type}}class _ extends A{format(t){if(t||(t=d.sighash),d[t]||a.throwArgumentError("invalid format type","format",t),t===d.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((e=>JSON.parse(e.format(t)))),outputs:this.outputs.map((e=>JSON.parse(e.format(t))))});let e="";return t!==d.sighash&&(e+="function "),e+=this.name+"("+this.inputs.map((e=>e.format(t))).join(t===d.full?", ":",")+") ",t!==d.sighash&&(this.stateMutability?"nonpayable"!==this.stateMutability&&(e+=this.stateMutability+" "):this.constant&&(e+="view "),this.outputs&&this.outputs.length&&(e+="returns ("+this.outputs.map((e=>e.format(t))).join(", ")+") "),null!=this.gas&&(e+="@"+this.gas.toString()+" ")),e.trim()}static from(t){return"string"==typeof t?_.fromString(t):_.fromObject(t)}static fromObject(t){if(_.isFunctionFragment(t))return t;"function"!==t.type&&a.throwArgumentError("invalid function object","value",t);let e=E(t);const r={type:t.type,name:x(t.name),constant:e.constant,inputs:t.inputs?t.inputs.map(m.fromObject):[],outputs:t.outputs?t.outputs.map(m.fromObject):[],payable:e.payable,stateMutability:e.stateMutability,gas:t.gas?n.O$.from(t.gas):null};return new _(u,r)}static fromString(t){let e={type:"function"},r=(t=b(t,e)).split(" returns ");r.length>2&&a.throwArgumentError("invalid function string","value",t);let n=r[0].match(N);if(n||a.throwArgumentError("invalid function signature","value",t),e.name=n[1].trim(),e.name&&x(e.name),e.inputs=g(n[2],!1),w(n[3].trim(),e),r.length>1){let n=r[1].match(N);""==n[1].trim()&&""==n[3].trim()||a.throwArgumentError("unexpected tokens","value",t),e.outputs=g(n[2],!1)}else e.outputs=[];return _.fromObject(e)}static isFunctionFragment(t){return t&&t._isFragment&&"function"===t.type}}function M(t){const e=t.format();return"Error(string)"!==e&&"Panic(uint256)"!==e||a.throwArgumentError(`cannot specify user defined ${e} error`,"fragment",t),t}class P extends y{format(t){if(t||(t=d.sighash),d[t]||a.throwArgumentError("invalid format type","format",t),t===d.json)return JSON.stringify({type:"error",name:this.name,inputs:this.inputs.map((e=>JSON.parse(e.format(t))))});let e="";return t!==d.sighash&&(e+="error "),e+=this.name+"("+this.inputs.map((e=>e.format(t))).join(t===d.full?", ":",")+") ",e.trim()}static from(t){return"string"==typeof t?P.fromString(t):P.fromObject(t)}static fromObject(t){if(P.isErrorFragment(t))return t;"error"!==t.type&&a.throwArgumentError("invalid error object","value",t);const e={type:t.type,name:x(t.name),inputs:t.inputs?t.inputs.map(m.fromObject):[]};return M(new P(u,e))}static fromString(t){let e={type:"error"},r=t.match(N);return r||a.throwArgumentError("invalid error signature","value",t),e.name=r[1].trim(),e.name&&x(e.name),e.inputs=g(r[2],!1),M(P.fromObject(e))}static isErrorFragment(t){return t&&t._isFragment&&"error"===t.type}}function S(t){return t.match(/^uint($|[^1-9])/)?t="uint256"+t.substring(4):t.match(/^int($|[^1-9])/)&&(t="int256"+t.substring(3)),t}const k=new RegExp("^[a-zA-Z$_][a-zA-Z0-9$_]*$");function x(t){return t&&t.match(k)||a.throwArgumentError(`invalid identifier "${t}"`,"value",t),t}const N=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$")},35289:(t,e,r)=>{"use strict";r.r(e),r.d(e,{ConstructorFragment:()=>n.Xg,ErrorFragment:()=>n.IC,EventFragment:()=>n.QV,Fragment:()=>n.HY,FunctionFragment:()=>n.YW,ParamType:()=>n._R,FormatTypes:()=>n.pc,AbiCoder:()=>i.R,defaultAbiCoder:()=>i.$,Interface:()=>o.vU,Indexed:()=>o.Hk,checkResultErrors:()=>s.BR,LogDescription:()=>o.CC,TransactionDescription:()=>o.vk});var n=r(4631),i=r(13032),o=r(27197),s=r(2349)},27197:(t,e,r)=>{"use strict";r.d(e,{CC:()=>p,vk:()=>m,Hk:()=>y,vU:()=>w});var n=r(13061),i=r(30707),o=r(56714),s=r(83859),a=r(16231),u=r(57e3),l=r(13032),h=r(4631),c=r(53988),f=r(32265);const d=new c.Logger(f.i);class p extends u.Description{}class m extends u.Description{}class g extends u.Description{}class y extends u.Description{static isIndexed(t){return!(!t||!t._isIndexed)}}const v={"0x08c379a0":{signature:"Error(string)",name:"Error",inputs:["string"],reason:!0},"0x4e487b71":{signature:"Panic(uint256)",name:"Panic",inputs:["uint256"]}};function b(t,e){const r=new Error(`deferred error during ABI decoding triggered accessing ${t}`);return r.error=e,r}class w{constructor(t){let e=[];e="string"==typeof t?JSON.parse(t):t,(0,u.defineReadOnly)(this,"fragments",e.map((t=>h.HY.from(t))).filter((t=>null!=t))),(0,u.defineReadOnly)(this,"_abiCoder",(0,u.getStatic)(new.target,"getAbiCoder")()),(0,u.defineReadOnly)(this,"functions",{}),(0,u.defineReadOnly)(this,"errors",{}),(0,u.defineReadOnly)(this,"events",{}),(0,u.defineReadOnly)(this,"structs",{}),this.fragments.forEach((t=>{let e=null;switch(t.type){case"constructor":return this.deploy?void d.warn("duplicate definition - constructor"):void(0,u.defineReadOnly)(this,"deploy",t);case"function":e=this.functions;break;case"event":e=this.events;break;case"error":e=this.errors;break;default:return}let r=t.format();e[r]?d.warn("duplicate definition - "+r):e[r]=t})),this.deploy||(0,u.defineReadOnly)(this,"deploy",h.Xg.from({payable:!1,type:"constructor"})),(0,u.defineReadOnly)(this,"_isInterface",!0)}format(t){t||(t=h.pc.full),t===h.pc.sighash&&d.throwArgumentError("interface does not support formatting sighash","format",t);const e=this.fragments.map((e=>e.format(t)));return t===h.pc.json?JSON.stringify(e.map((t=>JSON.parse(t)))):e}static getAbiCoder(){return l.$}static getAddress(t){return(0,n.getAddress)(t)}static getSighash(t){return(0,o.hexDataSlice)((0,s.id)(t.format()),0,4)}static getEventTopic(t){return(0,s.id)(t.format())}getFunction(t){if((0,o.isHexString)(t)){for(const e in this.functions)if(t===this.getSighash(e))return this.functions[e];d.throwArgumentError("no matching function","sighash",t)}if(-1===t.indexOf("(")){const e=t.trim(),r=Object.keys(this.functions).filter((t=>t.split("(")[0]===e));return 0===r.length?d.throwArgumentError("no matching function","name",e):r.length>1&&d.throwArgumentError("multiple matching functions","name",e),this.functions[r[0]]}const e=this.functions[h.YW.fromString(t).format()];return e||d.throwArgumentError("no matching function","signature",t),e}getEvent(t){if((0,o.isHexString)(t)){const e=t.toLowerCase();for(const t in this.events)if(e===this.getEventTopic(t))return this.events[t];d.throwArgumentError("no matching event","topichash",e)}if(-1===t.indexOf("(")){const e=t.trim(),r=Object.keys(this.events).filter((t=>t.split("(")[0]===e));return 0===r.length?d.throwArgumentError("no matching event","name",e):r.length>1&&d.throwArgumentError("multiple matching events","name",e),this.events[r[0]]}const e=this.events[h.QV.fromString(t).format()];return e||d.throwArgumentError("no matching event","signature",t),e}getError(t){if((0,o.isHexString)(t)){const e=(0,u.getStatic)(this.constructor,"getSighash");for(const r in this.errors){if(t===e(this.errors[r]))return this.errors[r]}d.throwArgumentError("no matching error","sighash",t)}if(-1===t.indexOf("(")){const e=t.trim(),r=Object.keys(this.errors).filter((t=>t.split("(")[0]===e));return 0===r.length?d.throwArgumentError("no matching error","name",e):r.length>1&&d.throwArgumentError("multiple matching errors","name",e),this.errors[r[0]]}const e=this.errors[h.YW.fromString(t).format()];return e||d.throwArgumentError("no matching error","signature",t),e}getSighash(t){if("string"==typeof t)try{t=this.getFunction(t)}catch(e){try{t=this.getError(t)}catch(t){throw e}}return(0,u.getStatic)(this.constructor,"getSighash")(t)}getEventTopic(t){return"string"==typeof t&&(t=this.getEvent(t)),(0,u.getStatic)(this.constructor,"getEventTopic")(t)}_decodeParams(t,e){return this._abiCoder.decode(t,e)}_encodeParams(t,e){return this._abiCoder.encode(t,e)}encodeDeploy(t){return this._encodeParams(this.deploy.inputs,t||[])}decodeErrorResult(t,e){"string"==typeof t&&(t=this.getError(t));const r=(0,o.arrayify)(e);return(0,o.hexlify)(r.slice(0,4))!==this.getSighash(t)&&d.throwArgumentError(`data signature does not match error ${t.name}.`,"data",(0,o.hexlify)(r)),this._decodeParams(t.inputs,r.slice(4))}encodeErrorResult(t,e){return"string"==typeof t&&(t=this.getError(t)),(0,o.hexlify)((0,o.concat)([this.getSighash(t),this._encodeParams(t.inputs,e||[])]))}decodeFunctionData(t,e){"string"==typeof t&&(t=this.getFunction(t));const r=(0,o.arrayify)(e);return(0,o.hexlify)(r.slice(0,4))!==this.getSighash(t)&&d.throwArgumentError(`data signature does not match function ${t.name}.`,"data",(0,o.hexlify)(r)),this._decodeParams(t.inputs,r.slice(4))}encodeFunctionData(t,e){return"string"==typeof t&&(t=this.getFunction(t)),(0,o.hexlify)((0,o.concat)([this.getSighash(t),this._encodeParams(t.inputs,e||[])]))}decodeFunctionResult(t,e){"string"==typeof t&&(t=this.getFunction(t));let r=(0,o.arrayify)(e),n=null,i="",s=null,a=null,u=null;switch(r.length%this._abiCoder._getWordSize()){case 0:try{return this._abiCoder.decode(t.outputs,r)}catch(t){}break;case 4:{const t=(0,o.hexlify)(r.slice(0,4)),e=v[t];if(e)s=this._abiCoder.decode(e.inputs,r.slice(4)),a=e.name,u=e.signature,e.reason&&(n=s[0]),"Error"===a?i=`; VM Exception while processing transaction: reverted with reason string ${JSON.stringify(s[0])}`:"Panic"===a&&(i=`; VM Exception while processing transaction: reverted with panic code ${s[0]}`);else try{const e=this.getError(t);s=this._abiCoder.decode(e.inputs,r.slice(4)),a=e.name,u=e.format()}catch(t){}break}}return d.throwError("call revert exception"+i,c.Logger.errors.CALL_EXCEPTION,{method:t.format(),data:(0,o.hexlify)(e),errorArgs:s,errorName:a,errorSignature:u,reason:n})}encodeFunctionResult(t,e){return"string"==typeof t&&(t=this.getFunction(t)),(0,o.hexlify)(this._abiCoder.encode(t.outputs,e||[]))}encodeFilterTopics(t,e){"string"==typeof t&&(t=this.getEvent(t)),e.length>t.inputs.length&&d.throwError("too many arguments for "+t.format(),c.Logger.errors.UNEXPECTED_ARGUMENT,{argument:"values",value:e});let r=[];t.anonymous||r.push(this.getEventTopic(t));const n=(t,e)=>"string"===t.type?(0,s.id)(e):"bytes"===t.type?(0,a.keccak256)((0,o.hexlify)(e)):("address"===t.type&&this._abiCoder.encode(["address"],[e]),(0,o.hexZeroPad)((0,o.hexlify)(e),32));for(e.forEach(((e,i)=>{let o=t.inputs[i];o.indexed?null==e?r.push(null):"array"===o.baseType||"tuple"===o.baseType?d.throwArgumentError("filtering with tuples or arrays not supported","contract."+o.name,e):Array.isArray(e)?r.push(e.map((t=>n(o,t)))):r.push(n(o,e)):null!=e&&d.throwArgumentError("cannot filter non-indexed parameters; must be null","contract."+o.name,e)}));r.length&&null===r[r.length-1];)r.pop();return r}encodeEventLog(t,e){"string"==typeof t&&(t=this.getEvent(t));const r=[],n=[],i=[];return t.anonymous||r.push(this.getEventTopic(t)),e.length!==t.inputs.length&&d.throwArgumentError("event arguments/values mismatch","values",e),t.inputs.forEach(((t,o)=>{const u=e[o];if(t.indexed)if("string"===t.type)r.push((0,s.id)(u));else if("bytes"===t.type)r.push((0,a.keccak256)(u));else{if("tuple"===t.baseType||"array"===t.baseType)throw new Error("not implemented");r.push(this._abiCoder.encode([t.type],[u]))}else n.push(t),i.push(u)})),{data:this._abiCoder.encode(n,i),topics:r}}decodeEventLog(t,e,r){if("string"==typeof t&&(t=this.getEvent(t)),null!=r&&!t.anonymous){let e=this.getEventTopic(t);(0,o.isHexString)(r[0],32)&&r[0].toLowerCase()===e||d.throwError("fragment/topic mismatch",c.Logger.errors.INVALID_ARGUMENT,{argument:"topics[0]",expected:e,value:r[0]}),r=r.slice(1)}let n=[],i=[],s=[];t.inputs.forEach(((t,e)=>{t.indexed?"string"===t.type||"bytes"===t.type||"tuple"===t.baseType||"array"===t.baseType?(n.push(h._R.fromObject({type:"bytes32",name:t.name})),s.push(!0)):(n.push(t),s.push(!1)):(i.push(t),s.push(!1))}));let a=null!=r?this._abiCoder.decode(n,(0,o.concat)(r)):null,u=this._abiCoder.decode(i,e,!0),l=[],f=0,p=0;t.inputs.forEach(((t,e)=>{if(t.indexed)if(null==a)l[e]=new y({_isIndexed:!0,hash:null});else if(s[e])l[e]=new y({_isIndexed:!0,hash:a[p++]});else try{l[e]=a[p++]}catch(t){l[e]=t}else try{l[e]=u[f++]}catch(t){l[e]=t}if(t.name&&null==l[t.name]){const r=l[e];r instanceof Error?Object.defineProperty(l,t.name,{enumerable:!0,get:()=>{throw b(`property ${JSON.stringify(t.name)}`,r)}}):l[t.name]=r}}));for(let t=0;t{throw b(`index ${t}`,e)}})}return Object.freeze(l)}parseTransaction(t){let e=this.getFunction(t.data.substring(0,10).toLowerCase());return e?new m({args:this._abiCoder.decode(e.inputs,"0x"+t.data.substring(10)),functionFragment:e,name:e.name,signature:e.format(),sighash:this.getSighash(e),value:i.O$.from(t.value||"0")}):null}parseLog(t){let e=this.getEvent(t.topics[0]);return!e||e.anonymous?null:new p({eventFragment:e,name:e.name,signature:e.format(),topic:this.getEventTopic(e),args:this.decodeEventLog(e,t.data,t.topics)})}parseError(t){const e=(0,o.hexlify)(t);let r=this.getError(e.substring(0,10).toLowerCase());return r?new g({args:this._abiCoder.decode(r.inputs,"0x"+e.substring(10)),errorFragment:r,name:r.name,signature:r.format(),sighash:this.getSighash(r)}):null}static isInterface(t){return!(!t||!t._isInterface)}}},16786:(t,e,r)=>{"use strict";r.d(e,{zt:()=>u});var n=r(30707),i=r(57e3),o=r(53988);var s=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const a=new o.Logger("abstract-provider/5.6.1");class u{constructor(){a.checkAbstract(new.target,u),(0,i.defineReadOnly)(this,"_isProvider",!0)}getFeeData(){return s(this,void 0,void 0,(function*(){const{block:t,gasPrice:e}=yield(0,i.resolveProperties)({block:this.getBlock("latest"),gasPrice:this.getGasPrice().catch((t=>null))});let r=null,o=null;return t&&t.baseFeePerGas&&(o=n.O$.from("1500000000"),r=t.baseFeePerGas.mul(2).add(o)),{maxFeePerGas:r,maxPriorityFeePerGas:o,gasPrice:e}}))}addListener(t,e){return this.on(t,e)}removeListener(t,e){return this.off(t,e)}static isProvider(t){return!(!t||!t._isProvider)}}},15974:(t,e,r)=>{"use strict";r.d(e,{E:()=>l,b:()=>h});var n=r(57e3),i=r(53988);var o=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const s=new i.Logger("abstract-signer/5.6.2"),a=["accessList","ccipReadEnabled","chainId","customData","data","from","gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","nonce","to","type","value"],u=[i.Logger.errors.INSUFFICIENT_FUNDS,i.Logger.errors.NONCE_EXPIRED,i.Logger.errors.REPLACEMENT_UNDERPRICED];class l{constructor(){s.checkAbstract(new.target,l),(0,n.defineReadOnly)(this,"_isSigner",!0)}getBalance(t){return o(this,void 0,void 0,(function*(){return this._checkProvider("getBalance"),yield this.provider.getBalance(this.getAddress(),t)}))}getTransactionCount(t){return o(this,void 0,void 0,(function*(){return this._checkProvider("getTransactionCount"),yield this.provider.getTransactionCount(this.getAddress(),t)}))}estimateGas(t){return o(this,void 0,void 0,(function*(){this._checkProvider("estimateGas");const e=yield(0,n.resolveProperties)(this.checkTransaction(t));return yield this.provider.estimateGas(e)}))}call(t,e){return o(this,void 0,void 0,(function*(){this._checkProvider("call");const r=yield(0,n.resolveProperties)(this.checkTransaction(t));return yield this.provider.call(r,e)}))}sendTransaction(t){return o(this,void 0,void 0,(function*(){this._checkProvider("sendTransaction");const e=yield this.populateTransaction(t),r=yield this.signTransaction(e);return yield this.provider.sendTransaction(r)}))}getChainId(){return o(this,void 0,void 0,(function*(){this._checkProvider("getChainId");return(yield this.provider.getNetwork()).chainId}))}getGasPrice(){return o(this,void 0,void 0,(function*(){return this._checkProvider("getGasPrice"),yield this.provider.getGasPrice()}))}getFeeData(){return o(this,void 0,void 0,(function*(){return this._checkProvider("getFeeData"),yield this.provider.getFeeData()}))}resolveName(t){return o(this,void 0,void 0,(function*(){return this._checkProvider("resolveName"),yield this.provider.resolveName(t)}))}checkTransaction(t){for(const e in t)-1===a.indexOf(e)&&s.throwArgumentError("invalid transaction key: "+e,"transaction",t);const e=(0,n.shallowCopy)(t);return null==e.from?e.from=this.getAddress():e.from=Promise.all([Promise.resolve(e.from),this.getAddress()]).then((e=>(e[0].toLowerCase()!==e[1].toLowerCase()&&s.throwArgumentError("from address mismatch","transaction",t),e[0]))),e}populateTransaction(t){return o(this,void 0,void 0,(function*(){const e=yield(0,n.resolveProperties)(this.checkTransaction(t));null!=e.to&&(e.to=Promise.resolve(e.to).then((t=>o(this,void 0,void 0,(function*(){if(null==t)return null;const e=yield this.resolveName(t);return null==e&&s.throwArgumentError("provided ENS name resolves to null","tx.to",t),e})))),e.to.catch((t=>{})));const r=null!=e.maxFeePerGas||null!=e.maxPriorityFeePerGas;if(null==e.gasPrice||2!==e.type&&!r?0!==e.type&&1!==e.type||!r||s.throwArgumentError("pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas","transaction",t):s.throwArgumentError("eip-1559 transaction do not support gasPrice","transaction",t),2!==e.type&&null!=e.type||null==e.maxFeePerGas||null==e.maxPriorityFeePerGas)if(0===e.type||1===e.type)null==e.gasPrice&&(e.gasPrice=this.getGasPrice());else{const t=yield this.getFeeData();if(null==e.type)if(null!=t.maxFeePerGas&&null!=t.maxPriorityFeePerGas)if(e.type=2,null!=e.gasPrice){const t=e.gasPrice;delete e.gasPrice,e.maxFeePerGas=t,e.maxPriorityFeePerGas=t}else null==e.maxFeePerGas&&(e.maxFeePerGas=t.maxFeePerGas),null==e.maxPriorityFeePerGas&&(e.maxPriorityFeePerGas=t.maxPriorityFeePerGas);else null!=t.gasPrice?(r&&s.throwError("network does not support EIP-1559",i.Logger.errors.UNSUPPORTED_OPERATION,{operation:"populateTransaction"}),null==e.gasPrice&&(e.gasPrice=t.gasPrice),e.type=0):s.throwError("failed to get consistent fee data",i.Logger.errors.UNSUPPORTED_OPERATION,{operation:"signer.getFeeData"});else 2===e.type&&(null==e.maxFeePerGas&&(e.maxFeePerGas=t.maxFeePerGas),null==e.maxPriorityFeePerGas&&(e.maxPriorityFeePerGas=t.maxPriorityFeePerGas))}else e.type=2;return null==e.nonce&&(e.nonce=this.getTransactionCount("pending")),null==e.gasLimit&&(e.gasLimit=this.estimateGas(e).catch((t=>{if(u.indexOf(t.code)>=0)throw t;return s.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",i.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:t,tx:e})}))),null==e.chainId?e.chainId=this.getChainId():e.chainId=Promise.all([Promise.resolve(e.chainId),this.getChainId()]).then((e=>(0!==e[1]&&e[0]!==e[1]&&s.throwArgumentError("chainId address mismatch","transaction",t),e[0]))),yield(0,n.resolveProperties)(e)}))}_checkProvider(t){this.provider||s.throwError("missing provider",i.Logger.errors.UNSUPPORTED_OPERATION,{operation:t||"_checkProvider"})}static isSigner(t){return!(!t||!t._isSigner)}}class h extends l{constructor(t,e){super(),(0,n.defineReadOnly)(this,"address",t),(0,n.defineReadOnly)(this,"provider",e||null)}getAddress(){return Promise.resolve(this.address)}_fail(t,e){return Promise.resolve().then((()=>{s.throwError(t,i.Logger.errors.UNSUPPORTED_OPERATION,{operation:e})}))}signMessage(t){return this._fail("VoidSigner cannot sign messages","signMessage")}signTransaction(t){return this._fail("VoidSigner cannot sign transactions","signTransaction")}_signTypedData(t,e,r){return this._fail("VoidSigner cannot sign typed data","signTypedData")}connect(t){return new h(this.address,t)}}},13061:(t,e,r)=>{"use strict";r.r(e),r.d(e,{getAddress:()=>d,getContractAddress:()=>g,getCreate2Address:()=>y,getIcapAddress:()=>m,isAddress:()=>p});var n=r(56714),i=r(30707),o=r(16231),s=r(38273);const a=new(r(53988).Logger)("address/5.6.1");function u(t){(0,n.isHexString)(t,20)||a.throwArgumentError("invalid address","address",t);const e=(t=t.toLowerCase()).substring(2).split(""),r=new Uint8Array(40);for(let t=0;t<40;t++)r[t]=e[t].charCodeAt(0);const i=(0,n.arrayify)((0,o.keccak256)(r));for(let t=0;t<40;t+=2)i[t>>1]>>4>=8&&(e[t]=e[t].toUpperCase()),(15&i[t>>1])>=8&&(e[t+1]=e[t+1].toUpperCase());return"0x"+e.join("")}const l={};for(let t=0;t<10;t++)l[String(t)]=String(t);for(let t=0;t<26;t++)l[String.fromCharCode(65+t)]=String(10+t);const h=Math.floor((c=9007199254740991,Math.log10?Math.log10(c):Math.log(c)/Math.LN10));var c;function f(t){let e=(t=(t=t.toUpperCase()).substring(4)+t.substring(0,2)+"00").split("").map((t=>l[t])).join("");for(;e.length>=h;){let t=e.substring(0,h);e=parseInt(t,10)%97+e.substring(t.length)}let r=String(98-parseInt(e,10)%97);for(;r.length<2;)r="0"+r;return r}function d(t){let e=null;if("string"!=typeof t&&a.throwArgumentError("invalid address","address",t),t.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==t.substring(0,2)&&(t="0x"+t),e=u(t),t.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&e!==t&&a.throwArgumentError("bad address checksum","address",t);else if(t.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(t.substring(2,4)!==f(t)&&a.throwArgumentError("bad icap checksum","address",t),e=(0,i.g$)(t.substring(4));e.length<40;)e="0"+e;e=u("0x"+e)}else a.throwArgumentError("invalid address","address",t);return e}function p(t){try{return d(t),!0}catch(t){}return!1}function m(t){let e=(0,i.t2)(d(t).substring(2)).toUpperCase();for(;e.length<30;)e="0"+e;return"XE"+f("XE00"+e)+e}function g(t){let e=null;try{e=d(t.from)}catch(e){a.throwArgumentError("missing from address","transaction",t)}const r=(0,n.stripZeros)((0,n.arrayify)(i.O$.from(t.nonce).toHexString()));return d((0,n.hexDataSlice)((0,o.keccak256)((0,s.encode)([e,r])),12))}function y(t,e,r){return 32!==(0,n.hexDataLength)(e)&&a.throwArgumentError("salt must be 32 bytes","salt",e),32!==(0,n.hexDataLength)(r)&&a.throwArgumentError("initCodeHash must be 32 bytes","initCodeHash",r),d((0,n.hexDataSlice)((0,o.keccak256)((0,n.concat)(["0xff",d(t),e,r])),12))}},47499:(t,e,r)=>{"use strict";r.d(e,{J:()=>i,c:()=>o});var n=r(56714);function i(t){t=atob(t);const e=[];for(let r=0;r{"use strict";r.r(e),r.d(e,{decode:()=>n.J,encode:()=>n.c});var n=r(47499)},14694:(t,e,r)=>{"use strict";r.r(e),r.d(e,{BaseX:()=>o,Base32:()=>s,Base58:()=>a});var n=r(56714),i=r(57e3);class o{constructor(t){(0,i.defineReadOnly)(this,"alphabet",t),(0,i.defineReadOnly)(this,"base",t.length),(0,i.defineReadOnly)(this,"_alphabetMap",{}),(0,i.defineReadOnly)(this,"_leader",t.charAt(0));for(let e=0;e0;)r.push(n%this.base),n=n/this.base|0}let i="";for(let t=0;0===e[t]&&t=0;--t)i+=this.alphabet[r[t]];return i}decode(t){if("string"!=typeof t)throw new TypeError("Expected String");let e=[];if(0===t.length)return new Uint8Array(e);e.push(0);for(let r=0;r>=8;for(;i>0;)e.push(255&i),i>>=8}for(let r=0;t[r]===this._leader&&r{"use strict";r.d(e,{i:()=>n});const n="bignumber/5.6.2"},30707:(t,e,r)=>{"use strict";r.d(e,{Zm:()=>f,O$:()=>p,g$:()=>b,t2:()=>w});var n=r(41257),i=r.n(n),o=r(56714),s=r(53988),a=r(85038),u=i().BN;const l=new s.Logger(a.i),h={},c=9007199254740991;function f(t){return null!=t&&(p.isBigNumber(t)||"number"==typeof t&&t%1==0||"string"==typeof t&&!!t.match(/^-?[0-9]+$/)||(0,o.isHexString)(t)||"bigint"==typeof t||(0,o.isBytes)(t))}let d=!1;class p{constructor(t,e){t!==h&&l.throwError("cannot call constructor directly; use BigNumber.from",s.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=e,this._isBigNumber=!0,Object.freeze(this)}fromTwos(t){return g(y(this).fromTwos(t))}toTwos(t){return g(y(this).toTwos(t))}abs(){return"-"===this._hex[0]?p.from(this._hex.substring(1)):this}add(t){return g(y(this).add(y(t)))}sub(t){return g(y(this).sub(y(t)))}div(t){return p.from(t).isZero()&&v("division-by-zero","div"),g(y(this).div(y(t)))}mul(t){return g(y(this).mul(y(t)))}mod(t){const e=y(t);return e.isNeg()&&v("division-by-zero","mod"),g(y(this).umod(e))}pow(t){const e=y(t);return e.isNeg()&&v("negative-power","pow"),g(y(this).pow(e))}and(t){const e=y(t);return(this.isNegative()||e.isNeg())&&v("unbound-bitwise-result","and"),g(y(this).and(e))}or(t){const e=y(t);return(this.isNegative()||e.isNeg())&&v("unbound-bitwise-result","or"),g(y(this).or(e))}xor(t){const e=y(t);return(this.isNegative()||e.isNeg())&&v("unbound-bitwise-result","xor"),g(y(this).xor(e))}mask(t){return(this.isNegative()||t<0)&&v("negative-width","mask"),g(y(this).maskn(t))}shl(t){return(this.isNegative()||t<0)&&v("negative-width","shl"),g(y(this).shln(t))}shr(t){return(this.isNegative()||t<0)&&v("negative-width","shr"),g(y(this).shrn(t))}eq(t){return y(this).eq(y(t))}lt(t){return y(this).lt(y(t))}lte(t){return y(this).lte(y(t))}gt(t){return y(this).gt(y(t))}gte(t){return y(this).gte(y(t))}isNegative(){return"-"===this._hex[0]}isZero(){return y(this).isZero()}toNumber(){try{return y(this).toNumber()}catch(t){v("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch(t){}return l.throwError("this platform does not support BigInt",s.Logger.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(10===arguments[0]?d||(d=!0,l.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):16===arguments[0]?l.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",s.Logger.errors.UNEXPECTED_ARGUMENT,{}):l.throwError("BigNumber.toString does not accept parameters",s.Logger.errors.UNEXPECTED_ARGUMENT,{})),y(this).toString(10)}toHexString(){return this._hex}toJSON(t){return{type:"BigNumber",hex:this.toHexString()}}static from(t){if(t instanceof p)return t;if("string"==typeof t)return t.match(/^-?0x[0-9a-f]+$/i)?new p(h,m(t)):t.match(/^-?[0-9]+$/)?new p(h,m(new u(t))):l.throwArgumentError("invalid BigNumber string","value",t);if("number"==typeof t)return t%1&&v("underflow","BigNumber.from",t),(t>=c||t<=-c)&&v("overflow","BigNumber.from",t),p.from(String(t));const e=t;if("bigint"==typeof e)return p.from(e.toString());if((0,o.isBytes)(e))return p.from((0,o.hexlify)(e));if(e)if(e.toHexString){const t=e.toHexString();if("string"==typeof t)return p.from(t)}else{let t=e._hex;if(null==t&&"BigNumber"===e.type&&(t=e.hex),"string"==typeof t&&((0,o.isHexString)(t)||"-"===t[0]&&(0,o.isHexString)(t.substring(1))))return p.from(t)}return l.throwArgumentError("invalid BigNumber value","value",t)}static isBigNumber(t){return!(!t||!t._isBigNumber)}}function m(t){if("string"!=typeof t)return m(t.toString(16));if("-"===t[0])return"-"===(t=t.substring(1))[0]&&l.throwArgumentError("invalid hex","value",t),"0x00"===(t=m(t))?t:"-"+t;if("0x"!==t.substring(0,2)&&(t="0x"+t),"0x"===t)return"0x00";for(t.length%2&&(t="0x0"+t.substring(2));t.length>4&&"0x00"===t.substring(0,4);)t="0x"+t.substring(4);return t}function g(t){return p.from(m(t))}function y(t){const e=p.from(t).toHexString();return"-"===e[0]?new u("-"+e.substring(3),16):new u(e.substring(2),16)}function v(t,e,r){const n={fault:t,operation:e};return null!=r&&(n.value=r),l.throwError(t,s.Logger.errors.NUMERIC_FAULT,n)}function b(t){return new u(t,36).toString(16)}function w(t){return new u(t,16).toString(36)}},56714:(t,e,r)=>{"use strict";r.r(e),r.d(e,{arrayify:()=>l,concat:()=>h,hexConcat:()=>v,hexDataLength:()=>g,hexDataSlice:()=>y,hexStripZeros:()=>w,hexValue:()=>b,hexZeroPad:()=>E,hexlify:()=>m,isBytes:()=>u,isBytesLike:()=>s,isHexString:()=>d,joinSignature:()=>_,splitSignature:()=>A,stripZeros:()=>c,zeroPad:()=>f});const n=new(r(53988).Logger)("bytes/5.6.1");function i(t){return!!t.toHexString}function o(t){return t.slice||(t.slice=function(){const e=Array.prototype.slice.call(arguments);return o(new Uint8Array(Array.prototype.slice.apply(t,e)))}),t}function s(t){return d(t)&&!(t.length%2)||u(t)}function a(t){return"number"==typeof t&&t==t&&t%1==0}function u(t){if(null==t)return!1;if(t.constructor===Uint8Array)return!0;if("string"==typeof t)return!1;if(!a(t.length)||t.length<0)return!1;for(let e=0;e=256)return!1}return!0}function l(t,e){if(e||(e={}),"number"==typeof t){n.checkSafeUint53(t,"invalid arrayify value");const e=[];for(;t;)e.unshift(255&t),t=parseInt(String(t/256));return 0===e.length&&e.push(0),o(new Uint8Array(e))}if(e.allowMissingPrefix&&"string"==typeof t&&"0x"!==t.substring(0,2)&&(t="0x"+t),i(t)&&(t=t.toHexString()),d(t)){let r=t.substring(2);r.length%2&&("left"===e.hexPad?r="0"+r:"right"===e.hexPad?r+="0":n.throwArgumentError("hex data is odd-length","value",t));const i=[];for(let t=0;tl(t))),r=e.reduce(((t,e)=>t+e.length),0),n=new Uint8Array(r);return e.reduce(((t,e)=>(n.set(e,t),t+e.length)),0),o(n)}function c(t){let e=l(t);if(0===e.length)return e;let r=0;for(;re&&n.throwArgumentError("value out of range","value",arguments[0]);const r=new Uint8Array(e);return r.set(t,e-t.length),o(r)}function d(t,e){return!("string"!=typeof t||!t.match(/^0x[0-9A-Fa-f]*$/))&&(!e||t.length===2+2*e)}const p="0123456789abcdef";function m(t,e){if(e||(e={}),"number"==typeof t){n.checkSafeUint53(t,"invalid hexlify value");let e="";for(;t;)e=p[15&t]+e,t=Math.floor(t/16);return e.length?(e.length%2&&(e="0"+e),"0x"+e):"0x00"}if("bigint"==typeof t)return(t=t.toString(16)).length%2?"0x0"+t:"0x"+t;if(e.allowMissingPrefix&&"string"==typeof t&&"0x"!==t.substring(0,2)&&(t="0x"+t),i(t))return t.toHexString();if(d(t))return t.length%2&&("left"===e.hexPad?t="0x0"+t.substring(2):"right"===e.hexPad?t+="0":n.throwArgumentError("hex data is odd-length","value",t)),t.toLowerCase();if(u(t)){let e="0x";for(let r=0;r>4]+p[15&n]}return e}return n.throwArgumentError("invalid hexlify value","value",t)}function g(t){if("string"!=typeof t)t=m(t);else if(!d(t)||t.length%2)return null;return(t.length-2)/2}function y(t,e,r){return"string"!=typeof t?t=m(t):(!d(t)||t.length%2)&&n.throwArgumentError("invalid hexData","value",t),e=2+2*e,null!=r?"0x"+t.substring(e,2+2*r):"0x"+t.substring(e)}function v(t){let e="0x";return t.forEach((t=>{e+=m(t).substring(2)})),e}function b(t){const e=w(m(t,{hexPad:"left"}));return"0x"===e?"0x0":e}function w(t){"string"!=typeof t&&(t=m(t)),d(t)||n.throwArgumentError("invalid hex string","value",t),t=t.substring(2);let e=0;for(;e2*e+2&&n.throwArgumentError("value out of range","value",arguments[1]);t.length<2*e+2;)t="0x0"+t.substring(2);return t}function A(t){const e={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(s(t)){let r=l(t);64===r.length?(e.v=27+(r[32]>>7),r[32]&=127,e.r=m(r.slice(0,32)),e.s=m(r.slice(32,64))):65===r.length?(e.r=m(r.slice(0,32)),e.s=m(r.slice(32,64)),e.v=r[64]):n.throwArgumentError("invalid signature string","signature",t),e.v<27&&(0===e.v||1===e.v?e.v+=27:n.throwArgumentError("signature invalid v byte","signature",t)),e.recoveryParam=1-e.v%2,e.recoveryParam&&(r[32]|=128),e._vs=m(r.slice(32,64))}else{if(e.r=t.r,e.s=t.s,e.v=t.v,e.recoveryParam=t.recoveryParam,e._vs=t._vs,null!=e._vs){const r=f(l(e._vs),32);e._vs=m(r);const i=r[0]>=128?1:0;null==e.recoveryParam?e.recoveryParam=i:e.recoveryParam!==i&&n.throwArgumentError("signature recoveryParam mismatch _vs","signature",t),r[0]&=127;const o=m(r);null==e.s?e.s=o:e.s!==o&&n.throwArgumentError("signature v mismatch _vs","signature",t)}if(null==e.recoveryParam)null==e.v?n.throwArgumentError("signature missing v and recoveryParam","signature",t):0===e.v||1===e.v?e.recoveryParam=e.v:e.recoveryParam=1-e.v%2;else if(null==e.v)e.v=27+e.recoveryParam;else{const r=0===e.v||1===e.v?e.v:1-e.v%2;e.recoveryParam!==r&&n.throwArgumentError("signature recoveryParam mismatch v","signature",t)}null!=e.r&&d(e.r)?e.r=E(e.r,32):n.throwArgumentError("signature missing or invalid r","signature",t),null!=e.s&&d(e.s)?e.s=E(e.s,32):n.throwArgumentError("signature missing or invalid s","signature",t);const r=l(e.s);r[0]>=128&&n.throwArgumentError("signature s out of range","signature",t),e.recoveryParam&&(r[0]|=128);const i=m(r);e._vs&&(d(e._vs)||n.throwArgumentError("signature invalid _vs","signature",t),e._vs=E(e._vs,32)),null==e._vs?e._vs=i:e._vs!==i&&n.throwArgumentError("signature _vs mismatch v and s","signature",t)}return e.yParityAndS=e._vs,e.compact=e.r+e.yParityAndS.substring(2),e}function _(t){return m(h([(t=A(t)).r,t.s,t.recoveryParam?"0x1c":"0x1b"]))}},98736:(t,e,r)=>{"use strict";r.d(e,{tL:()=>i,_Y:()=>o,fh:()=>s,Bz:()=>a});var n=r(30707);const i=n.O$.from(-1),o=n.O$.from(0),s=n.O$.from(1),a=n.O$.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")},53736:(t,e,r)=>{"use strict";r.d(e,{i:()=>n});const n="hash/5.6.1"},83859:(t,e,r)=>{"use strict";r.d(e,{id:()=>o});var n=r(16231),i=r(2115);function o(t){return(0,n.keccak256)((0,i.Y0)(t))}},31388:(t,e,r)=>{"use strict";r.r(e),r.d(e,{_TypedDataEncoder:()=>y.E,dnsEncode:()=>m,hashMessage:()=>g.r,id:()=>n.id,isValidName:()=>d,messagePrefix:()=>g.B,namehash:()=>p});var n=r(83859),i=r(56714),o=r(35138),s=r(2115),a=r(16231),u=r(53988),l=r(53736);const h=new u.Logger(l.i),c=new Uint8Array(32);c.fill(0);const f=new RegExp("^((.*)\\.)?([^.]+)$");function d(t){try{const e=t.split(".");for(let t=0;t{const e=(0,s.Y0)("_"+(0,o.Ll)(t));return e[0]=e.length-1,e}))))+"00"}var g=r(80424),y=r(27771)},80424:(t,e,r)=>{"use strict";r.d(e,{B:()=>s,r:()=>a});var n=r(56714),i=r(16231),o=r(2115);const s="Ethereum Signed Message:\n";function a(t){return"string"==typeof t&&(t=(0,o.Y0)(t)),(0,i.keccak256)((0,n.concat)([(0,o.Y0)(s),(0,o.Y0)(String(t.length)),t]))}},27771:(t,e,r)=>{"use strict";r.d(e,{E:()=>S});var n=r(13061),i=r(30707),o=r(56714),s=r(16231),a=r(57e3),u=r(53988),l=r(53736),h=r(83859),c=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const f=new u.Logger(l.i),d=new Uint8Array(32);d.fill(0);const p=i.O$.from(-1),m=i.O$.from(0),g=i.O$.from(1),y=i.O$.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");const v=(0,o.hexZeroPad)(g.toHexString(),32),b=(0,o.hexZeroPad)(m.toHexString(),32),w={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},E=["name","version","chainId","verifyingContract","salt"];function A(t){return function(e){return"string"!=typeof e&&f.throwArgumentError(`invalid domain value for ${JSON.stringify(t)}`,`domain.${t}`,e),e}}const _={name:A("name"),version:A("version"),chainId:function(t){try{return i.O$.from(t).toString()}catch(t){}return f.throwArgumentError('invalid domain value for "chainId"',"domain.chainId",t)},verifyingContract:function(t){try{return(0,n.getAddress)(t).toLowerCase()}catch(t){}return f.throwArgumentError('invalid domain value "verifyingContract"',"domain.verifyingContract",t)},salt:function(t){try{const e=(0,o.arrayify)(t);if(32!==e.length)throw new Error("bad length");return(0,o.hexlify)(e)}catch(t){}return f.throwArgumentError('invalid domain value "salt"',"domain.salt",t)}};function M(t){{const e=t.match(/^(u?)int(\d*)$/);if(e){const r=""===e[1],n=parseInt(e[2]||"256");(n%8!=0||n>256||e[2]&&e[2]!==String(n))&&f.throwArgumentError("invalid numeric width","type",t);const s=y.mask(r?n-1:n),a=r?s.add(g).mul(p):m;return function(e){const r=i.O$.from(e);return(r.lt(a)||r.gt(s))&&f.throwArgumentError(`value out-of-bounds for ${t}`,"value",e),(0,o.hexZeroPad)(r.toTwos(256).toHexString(),32)}}}{const e=t.match(/^bytes(\d+)$/);if(e){const r=parseInt(e[1]);return(0===r||r>32||e[1]!==String(r))&&f.throwArgumentError("invalid bytes width","type",t),function(e){return(0,o.arrayify)(e).length!==r&&f.throwArgumentError(`invalid length for ${t}`,"value",e),function(t){const e=(0,o.arrayify)(t),r=e.length%32;return r?(0,o.hexConcat)([e,d.slice(r)]):(0,o.hexlify)(e)}(e)}}}switch(t){case"address":return function(t){return(0,o.hexZeroPad)((0,n.getAddress)(t),32)};case"bool":return function(t){return t?v:b};case"bytes":return function(t){return(0,s.keccak256)(t)};case"string":return function(t){return(0,h.id)(t)}}return null}function P(t,e){return`${t}(${e.map((({name:t,type:e})=>e+" "+t)).join(",")})`}class S{constructor(t){(0,a.defineReadOnly)(this,"types",Object.freeze((0,a.deepCopy)(t))),(0,a.defineReadOnly)(this,"_encoderCache",{}),(0,a.defineReadOnly)(this,"_types",{});const e={},r={},n={};Object.keys(t).forEach((t=>{e[t]={},r[t]=[],n[t]={}}));for(const n in t){const i={};t[n].forEach((o=>{i[o.name]&&f.throwArgumentError(`duplicate variable name ${JSON.stringify(o.name)} in ${JSON.stringify(n)}`,"types",t),i[o.name]=!0;const s=o.type.match(/^([^\x5b]*)(\x5b|$)/)[1];s===n&&f.throwArgumentError(`circular type reference to ${JSON.stringify(s)}`,"types",t);M(s)||(r[s]||f.throwArgumentError(`unknown type ${JSON.stringify(s)}`,"types",t),r[s].push(n),e[n][s]=!0)}))}const i=Object.keys(r).filter((t=>0===r[t].length));0===i.length?f.throwArgumentError("missing primary type","types",t):i.length>1&&f.throwArgumentError(`ambiguous primary types or unused types: ${i.map((t=>JSON.stringify(t))).join(", ")}`,"types",t),(0,a.defineReadOnly)(this,"primaryType",i[0]),function i(o,s){s[o]&&f.throwArgumentError(`circular type reference to ${JSON.stringify(o)}`,"types",t),s[o]=!0,Object.keys(e[o]).forEach((t=>{r[t]&&(i(t,s),Object.keys(s).forEach((e=>{n[e][t]=!0})))})),delete s[o]}(this.primaryType,{});for(const e in n){const r=Object.keys(n[e]);r.sort(),this._types[e]=P(e,t[e])+r.map((e=>P(e,t[e]))).join("")}}getEncoder(t){let e=this._encoderCache[t];return e||(e=this._encoderCache[t]=this._getEncoder(t)),e}_getEncoder(t){{const e=M(t);if(e)return e}const e=t.match(/^(.*)(\x5b(\d*)\x5d)$/);if(e){const t=e[1],r=this.getEncoder(t),n=parseInt(e[3]);return e=>{n>=0&&e.length!==n&&f.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",e);let i=e.map(r);return this._types[t]&&(i=i.map(s.keccak256)),(0,s.keccak256)((0,o.hexConcat)(i))}}const r=this.types[t];if(r){const e=(0,h.id)(this._types[t]);return t=>{const n=r.map((({name:e,type:r})=>{const n=this.getEncoder(r)(t[e]);return this._types[r]?(0,s.keccak256)(n):n}));return n.unshift(e),(0,o.hexConcat)(n)}}return f.throwArgumentError(`unknown type: ${t}`,"type",t)}encodeType(t){const e=this._types[t];return e||f.throwArgumentError(`unknown type: ${JSON.stringify(t)}`,"name",t),e}encodeData(t,e){return this.getEncoder(t)(e)}hashStruct(t,e){return(0,s.keccak256)(this.encodeData(t,e))}encode(t){return this.encodeData(this.primaryType,t)}hash(t){return this.hashStruct(this.primaryType,t)}_visit(t,e,r){if(M(t))return r(t,e);const n=t.match(/^(.*)(\x5b(\d*)\x5d)$/);if(n){const t=n[1],i=parseInt(n[3]);return i>=0&&e.length!==i&&f.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",e),e.map((e=>this._visit(t,e,r)))}const i=this.types[t];return i?i.reduce(((t,{name:n,type:i})=>(t[n]=this._visit(i,e[n],r),t)),{}):f.throwArgumentError(`unknown type: ${t}`,"type",t)}visit(t,e){return this._visit(this.primaryType,t,e)}static from(t){return new S(t)}static getPrimaryType(t){return S.from(t).primaryType}static hashStruct(t,e,r){return S.from(e).hashStruct(t,r)}static hashDomain(t){const e=[];for(const r in t){const n=w[r];n||f.throwArgumentError(`invalid typed-data domain key: ${JSON.stringify(r)}`,"domain",t),e.push({name:r,type:n})}return e.sort(((t,e)=>E.indexOf(t.name)-E.indexOf(e.name))),S.hashStruct("EIP712Domain",{EIP712Domain:e},t)}static encode(t,e,r){return(0,o.hexConcat)(["0x1901",S.hashDomain(t),S.from(e).hash(r)])}static hash(t,e,r){return(0,s.keccak256)(S.encode(t,e,r))}static resolveNames(t,e,r,n){return c(this,void 0,void 0,(function*(){t=(0,a.shallowCopy)(t);const i={};t.verifyingContract&&!(0,o.isHexString)(t.verifyingContract,20)&&(i[t.verifyingContract]="0x");const s=S.from(e);s.visit(r,((t,e)=>("address"!==t||(0,o.isHexString)(e,20)||(i[e]="0x"),e)));for(const t in i)i[t]=yield n(t);return t.verifyingContract&&i[t.verifyingContract]&&(t.verifyingContract=i[t.verifyingContract]),r=s.visit(r,((t,e)=>"address"===t&&i[e]?i[e]:e)),{domain:t,value:r}}))}static getPayload(t,e,r){S.hashDomain(t);const n={},s=[];E.forEach((e=>{const r=t[e];null!=r&&(n[e]=_[e](r),s.push({name:e,type:w[e]}))}));const u=S.from(e),l=(0,a.shallowCopy)(e);return l.EIP712Domain?f.throwArgumentError("types must not contain EIP712Domain type","types.EIP712Domain",e):l.EIP712Domain=s,u.encode(r),{types:l,domain:n,primaryType:u.primaryType,message:u.visit(r,((t,e)=>{if(t.match(/^bytes(\d*)/))return(0,o.hexlify)((0,o.arrayify)(e));if(t.match(/^u?int/))return i.O$.from(e).toString();switch(t){case"address":return e.toLowerCase();case"bool":return!!e;case"string":return"string"!=typeof e&&f.throwArgumentError("invalid string","value",e),e}return f.throwArgumentError("unsupported type","type",t)}))}}}},94755:(t,e,r)=>{"use strict";r.r(e),r.d(e,{HDNode:()=>I,defaultPath:()=>R,entropyToMnemonic:()=>C,getAccountPath:()=>B,isValidMnemonic:()=>F,mnemonicToEntropy:()=>T,mnemonicToSeed:()=>O});var n=r(14694),i=r(56714),o=r(30707),s=r(2115),a=r(76447),u=r(57e3),l=r(52619),h=r(23639),c=r(6648),f=r(96463),d=r(83859),p=r(53988);const m=new p.Logger("wordlists/5.6.1");class g{constructor(t){m.checkAbstract(new.target,g),(0,u.defineReadOnly)(this,"locale",t)}split(t){return t.toLowerCase().split(/ +/g)}join(t){return t.join(" ")}static check(t){const e=[];for(let r=0;r<2048;r++){const n=t.getWord(r);if(r!==t.getWordIndex(n))return"0x";e.push(n)}return(0,d.id)(e.join("\n")+"\n")}static register(t,e){e||(e=t.locale)}}let y=null;function v(t){if(null==y&&(y="AbandonAbilityAbleAboutAboveAbsentAbsorbAbstractAbsurdAbuseAccessAccidentAccountAccuseAchieveAcidAcousticAcquireAcrossActActionActorActressActualAdaptAddAddictAddressAdjustAdmitAdultAdvanceAdviceAerobicAffairAffordAfraidAgainAgeAgentAgreeAheadAimAirAirportAisleAlarmAlbumAlcoholAlertAlienAllAlleyAllowAlmostAloneAlphaAlreadyAlsoAlterAlwaysAmateurAmazingAmongAmountAmusedAnalystAnchorAncientAngerAngleAngryAnimalAnkleAnnounceAnnualAnotherAnswerAntennaAntiqueAnxietyAnyApartApologyAppearAppleApproveAprilArchArcticAreaArenaArgueArmArmedArmorArmyAroundArrangeArrestArriveArrowArtArtefactArtistArtworkAskAspectAssaultAssetAssistAssumeAsthmaAthleteAtomAttackAttendAttitudeAttractAuctionAuditAugustAuntAuthorAutoAutumnAverageAvocadoAvoidAwakeAwareAwayAwesomeAwfulAwkwardAxisBabyBachelorBaconBadgeBagBalanceBalconyBallBambooBananaBannerBarBarelyBargainBarrelBaseBasicBasketBattleBeachBeanBeautyBecauseBecomeBeefBeforeBeginBehaveBehindBelieveBelowBeltBenchBenefitBestBetrayBetterBetweenBeyondBicycleBidBikeBindBiologyBirdBirthBitterBlackBladeBlameBlanketBlastBleakBlessBlindBloodBlossomBlouseBlueBlurBlushBoardBoatBodyBoilBombBoneBonusBookBoostBorderBoringBorrowBossBottomBounceBoxBoyBracketBrainBrandBrassBraveBreadBreezeBrickBridgeBriefBrightBringBriskBroccoliBrokenBronzeBroomBrotherBrownBrushBubbleBuddyBudgetBuffaloBuildBulbBulkBulletBundleBunkerBurdenBurgerBurstBusBusinessBusyButterBuyerBuzzCabbageCabinCableCactusCageCakeCallCalmCameraCampCanCanalCancelCandyCannonCanoeCanvasCanyonCapableCapitalCaptainCarCarbonCardCargoCarpetCarryCartCaseCashCasinoCastleCasualCatCatalogCatchCategoryCattleCaughtCauseCautionCaveCeilingCeleryCementCensusCenturyCerealCertainChairChalkChampionChangeChaosChapterChargeChaseChatCheapCheckCheeseChefCherryChestChickenChiefChildChimneyChoiceChooseChronicChuckleChunkChurnCigarCinnamonCircleCitizenCityCivilClaimClapClarifyClawClayCleanClerkCleverClickClientCliffClimbClinicClipClockClogCloseClothCloudClownClubClumpClusterClutchCoachCoastCoconutCodeCoffeeCoilCoinCollectColorColumnCombineComeComfortComicCommonCompanyConcertConductConfirmCongressConnectConsiderControlConvinceCookCoolCopperCopyCoralCoreCornCorrectCostCottonCouchCountryCoupleCourseCousinCoverCoyoteCrackCradleCraftCramCraneCrashCraterCrawlCrazyCreamCreditCreekCrewCricketCrimeCrispCriticCropCrossCrouchCrowdCrucialCruelCruiseCrumbleCrunchCrushCryCrystalCubeCultureCupCupboardCuriousCurrentCurtainCurveCushionCustomCuteCycleDadDamageDampDanceDangerDaringDashDaughterDawnDayDealDebateDebrisDecadeDecemberDecideDeclineDecorateDecreaseDeerDefenseDefineDefyDegreeDelayDeliverDemandDemiseDenialDentistDenyDepartDependDepositDepthDeputyDeriveDescribeDesertDesignDeskDespairDestroyDetailDetectDevelopDeviceDevoteDiagramDialDiamondDiaryDiceDieselDietDifferDigitalDignityDilemmaDinnerDinosaurDirectDirtDisagreeDiscoverDiseaseDishDismissDisorderDisplayDistanceDivertDivideDivorceDizzyDoctorDocumentDogDollDolphinDomainDonateDonkeyDonorDoorDoseDoubleDoveDraftDragonDramaDrasticDrawDreamDressDriftDrillDrinkDripDriveDropDrumDryDuckDumbDuneDuringDustDutchDutyDwarfDynamicEagerEagleEarlyEarnEarthEasilyEastEasyEchoEcologyEconomyEdgeEditEducateEffortEggEightEitherElbowElderElectricElegantElementElephantElevatorEliteElseEmbarkEmbodyEmbraceEmergeEmotionEmployEmpowerEmptyEnableEnactEndEndlessEndorseEnemyEnergyEnforceEngageEngineEnhanceEnjoyEnlistEnoughEnrichEnrollEnsureEnterEntireEntryEnvelopeEpisodeEqualEquipEraEraseErodeErosionErrorEruptEscapeEssayEssenceEstateEternalEthicsEvidenceEvilEvokeEvolveExactExampleExcessExchangeExciteExcludeExcuseExecuteExerciseExhaustExhibitExileExistExitExoticExpandExpectExpireExplainExposeExpressExtendExtraEyeEyebrowFabricFaceFacultyFadeFaintFaithFallFalseFameFamilyFamousFanFancyFantasyFarmFashionFatFatalFatherFatigueFaultFavoriteFeatureFebruaryFederalFeeFeedFeelFemaleFenceFestivalFetchFeverFewFiberFictionFieldFigureFileFilmFilterFinalFindFineFingerFinishFireFirmFirstFiscalFishFitFitnessFixFlagFlameFlashFlatFlavorFleeFlightFlipFloatFlockFloorFlowerFluidFlushFlyFoamFocusFogFoilFoldFollowFoodFootForceForestForgetForkFortuneForumForwardFossilFosterFoundFoxFragileFrameFrequentFreshFriendFringeFrogFrontFrostFrownFrozenFruitFuelFunFunnyFurnaceFuryFutureGadgetGainGalaxyGalleryGameGapGarageGarbageGardenGarlicGarmentGasGaspGateGatherGaugeGazeGeneralGeniusGenreGentleGenuineGestureGhostGiantGiftGiggleGingerGiraffeGirlGiveGladGlanceGlareGlassGlideGlimpseGlobeGloomGloryGloveGlowGlueGoatGoddessGoldGoodGooseGorillaGospelGossipGovernGownGrabGraceGrainGrantGrapeGrassGravityGreatGreenGridGriefGritGroceryGroupGrowGruntGuardGuessGuideGuiltGuitarGunGymHabitHairHalfHammerHamsterHandHappyHarborHardHarshHarvestHatHaveHawkHazardHeadHealthHeartHeavyHedgehogHeightHelloHelmetHelpHenHeroHiddenHighHillHintHipHireHistoryHobbyHockeyHoldHoleHolidayHollowHomeHoneyHoodHopeHornHorrorHorseHospitalHostHotelHourHoverHubHugeHumanHumbleHumorHundredHungryHuntHurdleHurryHurtHusbandHybridIceIconIdeaIdentifyIdleIgnoreIllIllegalIllnessImageImitateImmenseImmuneImpactImposeImproveImpulseInchIncludeIncomeIncreaseIndexIndicateIndoorIndustryInfantInflictInformInhaleInheritInitialInjectInjuryInmateInnerInnocentInputInquiryInsaneInsectInsideInspireInstallIntactInterestIntoInvestInviteInvolveIronIslandIsolateIssueItemIvoryJacketJaguarJarJazzJealousJeansJellyJewelJobJoinJokeJourneyJoyJudgeJuiceJumpJungleJuniorJunkJustKangarooKeenKeepKetchupKeyKickKidKidneyKindKingdomKissKitKitchenKiteKittenKiwiKneeKnifeKnockKnowLabLabelLaborLadderLadyLakeLampLanguageLaptopLargeLaterLatinLaughLaundryLavaLawLawnLawsuitLayerLazyLeaderLeafLearnLeaveLectureLeftLegLegalLegendLeisureLemonLendLengthLensLeopardLessonLetterLevelLiarLibertyLibraryLicenseLifeLiftLightLikeLimbLimitLinkLionLiquidListLittleLiveLizardLoadLoanLobsterLocalLockLogicLonelyLongLoopLotteryLoudLoungeLoveLoyalLuckyLuggageLumberLunarLunchLuxuryLyricsMachineMadMagicMagnetMaidMailMainMajorMakeMammalManManageMandateMangoMansionManualMapleMarbleMarchMarginMarineMarketMarriageMaskMassMasterMatchMaterialMathMatrixMatterMaximumMazeMeadowMeanMeasureMeatMechanicMedalMediaMelodyMeltMemberMemoryMentionMenuMercyMergeMeritMerryMeshMessageMetalMethodMiddleMidnightMilkMillionMimicMindMinimumMinorMinuteMiracleMirrorMiseryMissMistakeMixMixedMixtureMobileModelModifyMomMomentMonitorMonkeyMonsterMonthMoonMoralMoreMorningMosquitoMotherMotionMotorMountainMouseMoveMovieMuchMuffinMuleMultiplyMuscleMuseumMushroomMusicMustMutualMyselfMysteryMythNaiveNameNapkinNarrowNastyNationNatureNearNeckNeedNegativeNeglectNeitherNephewNerveNestNetNetworkNeutralNeverNewsNextNiceNightNobleNoiseNomineeNoodleNormalNorthNoseNotableNoteNothingNoticeNovelNowNuclearNumberNurseNutOakObeyObjectObligeObscureObserveObtainObviousOccurOceanOctoberOdorOffOfferOfficeOftenOilOkayOldOliveOlympicOmitOnceOneOnionOnlineOnlyOpenOperaOpinionOpposeOptionOrangeOrbitOrchardOrderOrdinaryOrganOrientOriginalOrphanOstrichOtherOutdoorOuterOutputOutsideOvalOvenOverOwnOwnerOxygenOysterOzonePactPaddlePagePairPalacePalmPandaPanelPanicPantherPaperParadeParentParkParrotPartyPassPatchPathPatientPatrolPatternPausePavePaymentPeacePeanutPearPeasantPelicanPenPenaltyPencilPeoplePepperPerfectPermitPersonPetPhonePhotoPhrasePhysicalPianoPicnicPicturePiecePigPigeonPillPilotPinkPioneerPipePistolPitchPizzaPlacePlanetPlasticPlatePlayPleasePledgePluckPlugPlungePoemPoetPointPolarPolePolicePondPonyPoolPopularPortionPositionPossiblePostPotatoPotteryPovertyPowderPowerPracticePraisePredictPreferPreparePresentPrettyPreventPricePridePrimaryPrintPriorityPrisonPrivatePrizeProblemProcessProduceProfitProgramProjectPromoteProofPropertyProsperProtectProudProvidePublicPuddingPullPulpPulsePumpkinPunchPupilPuppyPurchasePurityPurposePursePushPutPuzzlePyramidQualityQuantumQuarterQuestionQuickQuitQuizQuoteRabbitRaccoonRaceRackRadarRadioRailRainRaiseRallyRampRanchRandomRangeRapidRareRateRatherRavenRawRazorReadyRealReasonRebelRebuildRecallReceiveRecipeRecordRecycleReduceReflectReformRefuseRegionRegretRegularRejectRelaxReleaseReliefRelyRemainRememberRemindRemoveRenderRenewRentReopenRepairRepeatReplaceReportRequireRescueResembleResistResourceResponseResultRetireRetreatReturnReunionRevealReviewRewardRhythmRibRibbonRiceRichRideRidgeRifleRightRigidRingRiotRippleRiskRitualRivalRiverRoadRoastRobotRobustRocketRomanceRoofRookieRoomRoseRotateRoughRoundRouteRoyalRubberRudeRugRuleRunRunwayRuralSadSaddleSadnessSafeSailSaladSalmonSalonSaltSaluteSameSampleSandSatisfySatoshiSauceSausageSaveSayScaleScanScareScatterSceneSchemeSchoolScienceScissorsScorpionScoutScrapScreenScriptScrubSeaSearchSeasonSeatSecondSecretSectionSecuritySeedSeekSegmentSelectSellSeminarSeniorSenseSentenceSeriesServiceSessionSettleSetupSevenShadowShaftShallowShareShedShellSheriffShieldShiftShineShipShiverShockShoeShootShopShortShoulderShoveShrimpShrugShuffleShySiblingSickSideSiegeSightSignSilentSilkSillySilverSimilarSimpleSinceSingSirenSisterSituateSixSizeSkateSketchSkiSkillSkinSkirtSkullSlabSlamSleepSlenderSliceSlideSlightSlimSloganSlotSlowSlushSmallSmartSmileSmokeSmoothSnackSnakeSnapSniffSnowSoapSoccerSocialSockSodaSoftSolarSoldierSolidSolutionSolveSomeoneSongSoonSorrySortSoulSoundSoupSourceSouthSpaceSpareSpatialSpawnSpeakSpecialSpeedSpellSpendSphereSpiceSpiderSpikeSpinSpiritSplitSpoilSponsorSpoonSportSpotSpraySpreadSpringSpySquareSqueezeSquirrelStableStadiumStaffStageStairsStampStandStartStateStaySteakSteelStemStepStereoStickStillStingStockStomachStoneStoolStoryStoveStrategyStreetStrikeStrongStruggleStudentStuffStumbleStyleSubjectSubmitSubwaySuccessSuchSuddenSufferSugarSuggestSuitSummerSunSunnySunsetSuperSupplySupremeSureSurfaceSurgeSurpriseSurroundSurveySuspectSustainSwallowSwampSwapSwarmSwearSweetSwiftSwimSwingSwitchSwordSymbolSymptomSyrupSystemTableTackleTagTailTalentTalkTankTapeTargetTaskTasteTattooTaxiTeachTeamTellTenTenantTennisTentTermTestTextThankThatThemeThenTheoryThereTheyThingThisThoughtThreeThriveThrowThumbThunderTicketTideTigerTiltTimberTimeTinyTipTiredTissueTitleToastTobaccoTodayToddlerToeTogetherToiletTokenTomatoTomorrowToneTongueTonightToolToothTopTopicToppleTorchTornadoTortoiseTossTotalTouristTowardTowerTownToyTrackTradeTrafficTragicTrainTransferTrapTrashTravelTrayTreatTreeTrendTrialTribeTrickTriggerTrimTripTrophyTroubleTruckTrueTrulyTrumpetTrustTruthTryTubeTuitionTumbleTunaTunnelTurkeyTurnTurtleTwelveTwentyTwiceTwinTwistTwoTypeTypicalUglyUmbrellaUnableUnawareUncleUncoverUnderUndoUnfairUnfoldUnhappyUniformUniqueUnitUniverseUnknownUnlockUntilUnusualUnveilUpdateUpgradeUpholdUponUpperUpsetUrbanUrgeUsageUseUsedUsefulUselessUsualUtilityVacantVacuumVagueValidValleyValveVanVanishVaporVariousVastVaultVehicleVelvetVendorVentureVenueVerbVerifyVersionVeryVesselVeteranViableVibrantViciousVictoryVideoViewVillageVintageViolinVirtualVirusVisaVisitVisualVitalVividVocalVoiceVoidVolcanoVolumeVoteVoyageWageWagonWaitWalkWallWalnutWantWarfareWarmWarriorWashWaspWasteWaterWaveWayWealthWeaponWearWeaselWeatherWebWeddingWeekendWeirdWelcomeWestWetWhaleWhatWheatWheelWhenWhereWhipWhisperWideWidthWifeWildWillWinWindowWineWingWinkWinnerWinterWireWisdomWiseWishWitnessWolfWomanWonderWoodWoolWordWorkWorldWorryWorthWrapWreckWrestleWristWriteWrongYardYearYellowYouYoungYouthZebraZeroZoneZoo".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),"0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60"!==g.check(t)))throw y=null,new Error("BIP39 Wordlist for en (English) FAILED")}const b=new class extends g{constructor(){super("en")}getWord(t){return v(this),y[t]}getWordIndex(t){return v(this),y.indexOf(t)}};g.register(b);const w={en:b},E=new p.Logger("hdnode/5.6.2"),A=o.O$.from("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),_=(0,s.Y0)("Bitcoin seed"),M=2147483648;function P(t){return(1<=256)throw new Error("Depth too large!");return k((0,i.concat)([null!=this.privateKey?"0x0488ADE4":"0x0488B21E",(0,i.hexlify)(this.depth),this.parentFingerprint,(0,i.hexZeroPad)((0,i.hexlify)(this.index),4),this.chainCode,null!=this.privateKey?(0,i.concat)(["0x00",this.privateKey]):this.publicKey]))}neuter(){return new I(N,null,this.publicKey,this.parentFingerprint,this.chainCode,this.index,this.depth,this.path)}_derive(t){if(t>4294967295)throw new Error("invalid index - "+String(t));let e=this.path;e&&(e+="/"+(2147483647&t));const r=new Uint8Array(37);if(t&M){if(!this.privateKey)throw new Error("cannot derive child of neutered node");r.set((0,i.arrayify)(this.privateKey),1),e&&(e+="'")}else r.set((0,i.arrayify)(this.publicKey));for(let e=24;e>=0;e-=8)r[33+(e>>3)]=t>>24-e&255;const n=(0,i.arrayify)((0,h.Gy)(c.p.sha512,this.chainCode,r)),s=n.slice(0,32),a=n.slice(32);let u=null,f=null;if(this.privateKey)u=S(o.O$.from(s).add(this.privateKey).mod(A));else{f=new l.SigningKey((0,i.hexlify)(s))._addPoint(this.publicKey)}let d=e;const p=this.mnemonic;return p&&(d=Object.freeze({phrase:p.phrase,path:e,locale:p.locale||"en"})),new I(N,u,f,this.fingerprint,S(a),t,this.depth+1,d)}derivePath(t){const e=t.split("/");if(0===e.length||"m"===e[0]&&0!==this.depth)throw new Error("invalid path - "+t);"m"===e[0]&&e.shift();let r=this;for(let t=0;t=M)throw new Error("invalid path index - "+n);r=r._derive(M+t)}else{if(!n.match(/^[0-9]+$/))throw new Error("invalid path component - "+n);{const t=parseInt(n);if(t>=M)throw new Error("invalid path index - "+n);r=r._derive(t)}}}return r}static _fromSeed(t,e){const r=(0,i.arrayify)(t);if(r.length<16||r.length>64)throw new Error("invalid seed");const n=(0,i.arrayify)((0,h.Gy)(c.p.sha512,_,r));return new I(N,S(n.slice(0,32)),null,"0x00000000",S(n.slice(32)),0,0,e)}static fromMnemonic(t,e,r){return t=C(T(t,r=x(r)),r),I._fromSeed(O(t,e),{phrase:t,path:"m",locale:r.locale})}static fromSeed(t){return I._fromSeed(t,null)}static fromExtendedKey(t){const e=n.Base58.decode(t);82===e.length&&k(e.slice(0,78))===t||E.throwArgumentError("invalid extended key","extendedKey","[REDACTED]");const r=e[4],o=(0,i.hexlify)(e.slice(5,9)),s=parseInt((0,i.hexlify)(e.slice(9,13)).substring(2),16),a=(0,i.hexlify)(e.slice(13,45)),u=e.slice(45,78);switch((0,i.hexlify)(e.slice(0,4))){case"0x0488b21e":case"0x043587cf":return new I(N,null,(0,i.hexlify)(u),o,a,s,r,null);case"0x0488ade4":case"0x04358394 ":if(0!==u[0])break;return new I(N,(0,i.hexlify)(u.slice(1)),null,o,a,s,r,null)}return E.throwArgumentError("invalid extended key","extendedKey","[REDACTED]")}}function O(t,e){e||(e="");const r=(0,s.Y0)("mnemonic"+e,s.Uj.NFKD);return(0,a.n)((0,s.Y0)(t,s.Uj.NFKD),r,2048,64,"sha512")}function T(t,e){e=x(e),E.checkNormalize();const r=e.split(t);if(r.length%3!=0)throw new Error("invalid mnemonic");const n=(0,i.arrayify)(new Uint8Array(Math.ceil(11*r.length/8)));let o=0;for(let t=0;t>3]|=1<<7-o%8),o++}const s=32*r.length/3,a=P(r.length/3);if(((0,i.arrayify)((0,h.JQ)(n.slice(0,s/8)))[0]&a)!==(n[n.length-1]&a))throw new Error("invalid checksum");return(0,i.hexlify)(n.slice(0,s/8))}function C(t,e){if(e=x(e),(t=(0,i.arrayify)(t)).length%4!=0||t.length<16||t.length>32)throw new Error("invalid entropy");const r=[0];let n=11;for(let e=0;e8?(r[r.length-1]<<=8,r[r.length-1]|=t[e],n-=8):(r[r.length-1]<<=n,r[r.length-1]|=t[e]>>8-n,r.push(t[e]&(1<<8-n)-1),n+=3);const o=t.length/4,s=(0,i.arrayify)((0,h.JQ)(t))[0]&P(o);return r[r.length-1]<<=o,r[r.length-1]|=s>>8-o,e.join(r.map((t=>e.getWord(t))))}function F(t,e){try{return T(t,e),!0}catch(t){}return!1}function B(t){return("number"!=typeof t||t<0||t>=M||t%1)&&E.throwArgumentError("invalid account index","index",t),`m/44'/60'/${t}'/0/0`}},31421:(t,e,r)=>{"use strict";r.d(e,{i:()=>n});const n="json-wallets/5.6.1"},40241:(t,e,r)=>{"use strict";r.r(e),r.d(e,{decryptCrowdsale:()=>g,decryptJsonWallet:()=>E,decryptJsonWalletSync:()=>A,decryptKeystore:()=>w.pe,decryptKeystoreSync:()=>w.hb,encryptKeystore:()=>w.HI,getJsonWalletAddress:()=>b,isCrowdsaleWallet:()=>y,isKeystoreWallet:()=>v});var n=r(78826),i=r.n(n),o=r(13061),s=r(56714),a=r(16231),u=r(76447),l=r(2115),h=r(57e3),c=r(53988),f=r(31421),d=r(36266);const p=new c.Logger(f.i);class m extends h.Description{isCrowdsaleAccount(t){return!(!t||!t._isCrowdsaleAccount)}}function g(t,e){const r=JSON.parse(t);e=(0,d.Ij)(e);const n=(0,o.getAddress)((0,d.gx)(r,"ethaddr")),h=(0,d.p3)((0,d.gx)(r,"encseed"));h&&h.length%16==0||p.throwArgumentError("invalid encseed","json",t);const c=(0,s.arrayify)((0,u.n)(e,e,2e3,32,"sha256")).slice(0,16),f=h.slice(0,16),g=h.slice(16),y=new(i().ModeOfOperation.cbc)(c,f),v=i().padding.pkcs7.strip((0,s.arrayify)(y.decrypt(g)));let b="";for(let t=0;t{"use strict";r.d(e,{hb:()=>S,pe:()=>k,HI:()=>x});var n=r(78826),i=r.n(n),o=r(17635),s=r.n(o),a=r(13061),u=r(56714),l=r(94755),h=r(16231),c=r(76447),f=r(39996),d=r(57e3),p=r(96463),m=r(36266),g=r(53988),y=r(31421),v=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const b=new g.Logger(y.i);function w(t){return null!=t&&t.mnemonic&&t.mnemonic.phrase}class E extends d.Description{isKeystoreAccount(t){return!(!t||!t._isKeystoreAccount)}}function A(t,e){const r=(0,m.p3)((0,m.gx)(t,"crypto/ciphertext"));if((0,u.hexlify)((0,h.keccak256)((0,u.concat)([e.slice(16,32),r]))).substring(2)!==(0,m.gx)(t,"crypto/mac").toLowerCase())throw new Error("invalid password");const n=function(t,e,r){if("aes-128-ctr"===(0,m.gx)(t,"crypto/cipher")){const n=(0,m.p3)((0,m.gx)(t,"crypto/cipherparams/iv")),o=new(i().Counter)(n),s=new(i().ModeOfOperation.ctr)(e,o);return(0,u.arrayify)(s.decrypt(r))}return null}(t,e.slice(0,16),r);n||b.throwError("unsupported cipher",g.Logger.errors.UNSUPPORTED_OPERATION,{operation:"decrypt"});const o=e.slice(32,64),s=(0,p.computeAddress)(n);if(t.address){let e=t.address.toLowerCase();if("0x"!==e.substring(0,2)&&(e="0x"+e),(0,a.getAddress)(e)!==s)throw new Error("address mismatch")}const c={_isKeystoreAccount:!0,address:s,privateKey:(0,u.hexlify)(n)};if("0.1"===(0,m.gx)(t,"x-ethers/version")){const e=(0,m.p3)((0,m.gx)(t,"x-ethers/mnemonicCiphertext")),r=(0,m.p3)((0,m.gx)(t,"x-ethers/mnemonicCounter")),n=new(i().Counter)(r),s=new(i().ModeOfOperation.ctr)(o,n),a=(0,m.gx)(t,"x-ethers/path")||l.defaultPath,h=(0,m.gx)(t,"x-ethers/locale")||"en",f=(0,u.arrayify)(s.decrypt(e));try{const t=(0,l.entropyToMnemonic)(f,h),e=l.HDNode.fromMnemonic(t,null,h).derivePath(a);if(e.privateKey!=c.privateKey)throw new Error("mnemonic mismatch");c.mnemonic=e.mnemonic}catch(t){if(t.code!==g.Logger.errors.INVALID_ARGUMENT||"wordlist"!==t.argument)throw t}}return new E(c)}function _(t,e,r,n,i){return(0,u.arrayify)((0,c.n)(t,e,r,n,i))}function M(t,e,r,n,i){return Promise.resolve(_(t,e,r,n,i))}function P(t,e,r,n,i){const o=(0,m.Ij)(e),s=(0,m.gx)(t,"crypto/kdf");if(s&&"string"==typeof s){const e=function(t,e){return b.throwArgumentError("invalid key-derivation function parameters",t,e)};if("scrypt"===s.toLowerCase()){const r=(0,m.p3)((0,m.gx)(t,"crypto/kdfparams/salt")),a=parseInt((0,m.gx)(t,"crypto/kdfparams/n")),u=parseInt((0,m.gx)(t,"crypto/kdfparams/r")),l=parseInt((0,m.gx)(t,"crypto/kdfparams/p"));a&&u&&l||e("kdf",s),0!=(a&a-1)&&e("N",a);const h=parseInt((0,m.gx)(t,"crypto/kdfparams/dklen"));return 32!==h&&e("dklen",h),n(o,r,a,u,l,64,i)}if("pbkdf2"===s.toLowerCase()){const n=(0,m.p3)((0,m.gx)(t,"crypto/kdfparams/salt"));let i=null;const s=(0,m.gx)(t,"crypto/kdfparams/prf");"hmac-sha256"===s?i="sha256":"hmac-sha512"===s?i="sha512":e("prf",s);const a=parseInt((0,m.gx)(t,"crypto/kdfparams/c")),u=parseInt((0,m.gx)(t,"crypto/kdfparams/dklen"));return 32!==u&&e("dklen",u),r(o,n,a,u,i)}}return b.throwArgumentError("unsupported key-derivation function","kdf",s)}function S(t,e){const r=JSON.parse(t);return A(r,P(r,e,_,s().syncScrypt))}function k(t,e,r){return v(this,void 0,void 0,(function*(){const n=JSON.parse(t);return A(n,yield P(n,e,M,s().scrypt,r))}))}function x(t,e,r,n){try{if((0,a.getAddress)(t.address)!==(0,p.computeAddress)(t.privateKey))throw new Error("address/privateKey mismatch");if(w(t)){const e=t.mnemonic;if(l.HDNode.fromMnemonic(e.phrase,null,e.locale).derivePath(e.path||l.defaultPath).privateKey!=t.privateKey)throw new Error("mnemonic mismatch")}}catch(t){return Promise.reject(t)}"function"!=typeof r||n||(n=r,r={}),r||(r={});const o=(0,u.arrayify)(t.privateKey),c=(0,m.Ij)(e);let d=null,g=null,y=null;if(w(t)){const e=t.mnemonic;d=(0,u.arrayify)((0,l.mnemonicToEntropy)(e.phrase,e.locale||"en")),g=e.path||l.defaultPath,y=e.locale||"en"}let v=r.client;v||(v="ethers.js");let b=null;b=r.salt?(0,u.arrayify)(r.salt):(0,f.O)(32);let E=null;if(r.iv){if(E=(0,u.arrayify)(r.iv),16!==E.length)throw new Error("invalid iv")}else E=(0,f.O)(16);let A=null;if(r.uuid){if(A=(0,u.arrayify)(r.uuid),16!==A.length)throw new Error("invalid uuid")}else A=(0,f.O)(16);let _=1<<17,M=8,P=1;return r.scrypt&&(r.scrypt.N&&(_=r.scrypt.N),r.scrypt.r&&(M=r.scrypt.r),r.scrypt.p&&(P=r.scrypt.p)),s().scrypt(c,b,_,M,P,64,n).then((e=>{const r=(e=(0,u.arrayify)(e)).slice(0,16),n=e.slice(16,32),s=e.slice(32,64),a=new(i().Counter)(E),l=new(i().ModeOfOperation.ctr)(r,a),c=(0,u.arrayify)(l.encrypt(o)),p=(0,h.keccak256)((0,u.concat)([n,c])),w={address:t.address.substring(2).toLowerCase(),id:(0,m.EH)(A),version:3,Crypto:{cipher:"aes-128-ctr",cipherparams:{iv:(0,u.hexlify)(E).substring(2)},ciphertext:(0,u.hexlify)(c).substring(2),kdf:"scrypt",kdfparams:{salt:(0,u.hexlify)(b).substring(2),n:_,dklen:32,p:P,r:M},mac:p.substring(2)}};if(d){const t=(0,f.O)(16),e=new(i().Counter)(t),r=new(i().ModeOfOperation.ctr)(s,e),n=(0,u.arrayify)(r.encrypt(d)),o=new Date,a=o.getUTCFullYear()+"-"+(0,m.VP)(o.getUTCMonth()+1,2)+"-"+(0,m.VP)(o.getUTCDate(),2)+"T"+(0,m.VP)(o.getUTCHours(),2)+"-"+(0,m.VP)(o.getUTCMinutes(),2)+"-"+(0,m.VP)(o.getUTCSeconds(),2)+".0Z";w["x-ethers"]={client:v,gethFilename:"UTC--"+a+"--"+w.address,mnemonicCounter:(0,u.hexlify)(t).substring(2),mnemonicCiphertext:(0,u.hexlify)(n).substring(2),path:g,locale:y,version:"0.1"}}return JSON.stringify(w)}))}},36266:(t,e,r)=>{"use strict";r.d(e,{p3:()=>o,VP:()=>s,Ij:()=>a,gx:()=>u,EH:()=>l});var n=r(56714),i=r(2115);function o(t){return"string"==typeof t&&"0x"!==t.substring(0,2)&&(t="0x"+t),(0,n.arrayify)(t)}function s(t,e){for(t=String(t);t.length{"use strict";r.r(e),r.d(e,{keccak256:()=>s});var n=r(91094),i=r.n(n),o=r(56714);function s(t){return"0x"+i().keccak_256((0,o.arrayify)(t))}},53988:(t,e,r)=>{"use strict";r.r(e),r.d(e,{ErrorCode:()=>h,LogLevel:()=>l,Logger:()=>f});let n=!1,i=!1;const o={debug:1,default:2,info:2,warning:3,error:4,off:5};let s=o.default,a=null;const u=function(){try{const t=[];if(["NFD","NFC","NFKD","NFKC"].forEach((e=>{try{if("test"!=="test".normalize(e))throw new Error("bad normalize")}catch(r){t.push(e)}})),t.length)throw new Error("missing "+t.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(t){return t.message}return null}();var l,h;!function(t){t.DEBUG="DEBUG",t.INFO="INFO",t.WARNING="WARNING",t.ERROR="ERROR",t.OFF="OFF"}(l||(l={})),function(t){t.UNKNOWN_ERROR="UNKNOWN_ERROR",t.NOT_IMPLEMENTED="NOT_IMPLEMENTED",t.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",t.NETWORK_ERROR="NETWORK_ERROR",t.SERVER_ERROR="SERVER_ERROR",t.TIMEOUT="TIMEOUT",t.BUFFER_OVERRUN="BUFFER_OVERRUN",t.NUMERIC_FAULT="NUMERIC_FAULT",t.MISSING_NEW="MISSING_NEW",t.INVALID_ARGUMENT="INVALID_ARGUMENT",t.MISSING_ARGUMENT="MISSING_ARGUMENT",t.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",t.CALL_EXCEPTION="CALL_EXCEPTION",t.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",t.NONCE_EXPIRED="NONCE_EXPIRED",t.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",t.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",t.TRANSACTION_REPLACED="TRANSACTION_REPLACED"}(h||(h={}));const c="0123456789abcdef";class f{constructor(t){Object.defineProperty(this,"version",{enumerable:!0,value:t,writable:!1})}_log(t,e){const r=t.toLowerCase();null==o[r]&&this.throwArgumentError("invalid log level name","logLevel",t),s>o[r]||console.log.apply(console,e)}debug(...t){this._log(f.levels.DEBUG,t)}info(...t){this._log(f.levels.INFO,t)}warn(...t){this._log(f.levels.WARNING,t)}makeError(t,e,r){if(i)return this.makeError("censored error",e,{});e||(e=f.errors.UNKNOWN_ERROR),r||(r={});const n=[];Object.keys(r).forEach((t=>{const e=r[t];try{if(e instanceof Uint8Array){let r="";for(let t=0;t>4],r+=c[15&e[t]];n.push(t+"=Uint8Array(0x"+r+")")}else n.push(t+"="+JSON.stringify(e))}catch(e){n.push(t+"="+JSON.stringify(r[t].toString()))}})),n.push(`code=${e}`),n.push(`version=${this.version}`);const o=t;let s="";switch(e){case h.NUMERIC_FAULT:{s="NUMERIC_FAULT";const e=t;switch(e){case"overflow":case"underflow":case"division-by-zero":s+="-"+e;break;case"negative-power":case"negative-width":s+="-unsupported";break;case"unbound-bitwise-result":s+="-unbound-result"}break}case h.CALL_EXCEPTION:case h.INSUFFICIENT_FUNDS:case h.MISSING_NEW:case h.NONCE_EXPIRED:case h.REPLACEMENT_UNDERPRICED:case h.TRANSACTION_REPLACED:case h.UNPREDICTABLE_GAS_LIMIT:s=e}s&&(t+=" [ See: https://links.ethers.org/v5-errors-"+s+" ]"),n.length&&(t+=" ("+n.join(", ")+")");const a=new Error(t);return a.reason=o,a.code=e,Object.keys(r).forEach((function(t){a[t]=r[t]})),a}throwError(t,e,r){throw this.makeError(t,e,r)}throwArgumentError(t,e,r){return this.throwError(t,f.errors.INVALID_ARGUMENT,{argument:e,value:r})}assert(t,e,r,n){t||this.throwError(e,r,n)}assertArgument(t,e,r,n){t||this.throwArgumentError(e,r,n)}checkNormalize(t){null==t&&(t="platform missing String.prototype.normalize"),u&&this.throwError("platform missing String.prototype.normalize",f.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:u})}checkSafeUint53(t,e){"number"==typeof t&&(null==e&&(e="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(e,f.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(e,f.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))}checkArgumentCount(t,e,r){r=r?": "+r:"",te&&this.throwError("too many arguments"+r,f.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:e})}checkNew(t,e){t!==Object&&null!=t||this.throwError("missing new",f.errors.MISSING_NEW,{name:e.name})}checkAbstract(t,e){t===e?this.throwError("cannot instantiate abstract class "+JSON.stringify(e.name)+" directly; use a sub-class",f.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):t!==Object&&null!=t||this.throwError("missing new",f.errors.MISSING_NEW,{name:e.name})}static globalLogger(){return a||(a=new f("logger/5.6.0")),a}static setCensorship(t,e){if(!t&&e&&this.globalLogger().throwError("cannot permanently disable censorship",f.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),n){if(!t)return;this.globalLogger().throwError("error censorship permanent",f.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}i=!!t,n=!!e}static setLogLevel(t){const e=o[t.toLowerCase()];null!=e?s=e:f.globalLogger().warn("invalid log level - "+t)}static from(t){return new f(t)}}f.errors=h,f.levels=l},76447:(t,e,r)=>{"use strict";r.d(e,{n:()=>o});var n=r(56714),i=r(23639);function o(t,e,r,o,s){let a;t=(0,n.arrayify)(t),e=(0,n.arrayify)(e);let u=1;const l=new Uint8Array(o),h=new Uint8Array(e.length+4);let c,f;h.set(e);for(let d=1;d<=u;d++){h[e.length]=d>>24&255,h[e.length+1]=d>>16&255,h[e.length+2]=d>>8&255,h[e.length+3]=255&d;let p=(0,n.arrayify)((0,i.Gy)(s,t,h));a||(a=p.length,f=new Uint8Array(a),u=Math.ceil(o/a),c=o-(u-1)*a),f.set(p);for(let e=1;e{"use strict";r.r(e),r.d(e,{Description:()=>m,checkProperties:()=>l,deepCopy:()=>p,defineReadOnly:()=>s,getStatic:()=>a,resolveProperties:()=>u,shallowCopy:()=>h});var n=r(53988);var i=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const o=new n.Logger("properties/5.6.0");function s(t,e,r){Object.defineProperty(t,e,{enumerable:!0,value:r,writable:!1})}function a(t,e){for(let r=0;r<32;r++){if(t[e])return t[e];if(!t.prototype||"object"!=typeof t.prototype)break;t=Object.getPrototypeOf(t.prototype).constructor}return null}function u(t){return i(this,void 0,void 0,(function*(){const e=Object.keys(t).map((e=>{const r=t[e];return Promise.resolve(r).then((t=>({key:e,value:t})))}));return(yield Promise.all(e)).reduce(((t,e)=>(t[e.key]=e.value,t)),{})}))}function l(t,e){t&&"object"==typeof t||o.throwArgumentError("invalid object","object",t),Object.keys(t).forEach((r=>{e[r]||o.throwArgumentError("invalid object key - "+r,"transaction:"+r,t)}))}function h(t){const e={};for(const r in t)e[r]=t[r];return e}const c={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function f(t){if(null==t||c[typeof t])return!0;if(Array.isArray(t)||"object"==typeof t){if(!Object.isFrozen(t))return!1;const e=Object.keys(t);for(let r=0;rp(t))));if("object"==typeof t){const e={};for(const r in t){const n=t[r];void 0!==n&&s(e,r,p(n))}return e}return o.throwArgumentError("Cannot deepCopy "+typeof t,"object",t)}function p(t){return d(t)}class m{constructor(t){for(const e in t)this[e]=p(t[e])}}},72144:(t,e,r)=>{"use strict";r.r(e),r.d(e,{randomBytes:()=>n.O,shuffled:()=>i});var n=r(39996);function i(t){for(let e=(t=t.slice()).length-1;e>0;e--){const r=Math.floor(Math.random()*(e+1)),n=t[e];t[e]=t[r],t[r]=n}return t}},39996:(t,e,r)=>{"use strict";r.d(e,{O:()=>u});var n=r(56714),i=r(53988);const o=new i.Logger("random/5.6.1");const s=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==r.g)return r.g;throw new Error("unable to locate global object")}();let a=s.crypto||s.msCrypto;function u(t){(t<=0||t>1024||t%1||t!=t)&&o.throwArgumentError("invalid length","length",t);const e=new Uint8Array(t);return a.getRandomValues(e),(0,n.arrayify)(e)}a&&a.getRandomValues||(o.warn("WARNING: Missing strong random number source"),a={getRandomValues:function(t){return o.throwError("no secure random source avaialble",i.Logger.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}})},38273:(t,e,r)=>{"use strict";r.r(e),r.d(e,{decode:()=>f,encode:()=>l});var n=r(56714),i=r(53988);const o=new i.Logger("rlp/5.6.1");function s(t){const e=[];for(;t;)e.unshift(255&t),t>>=8;return e}function a(t,e,r){let n=0;for(let i=0;ie+1+n&&o.throwError("child data too short",i.Logger.errors.BUFFER_OVERRUN,{})}return{consumed:1+n,result:s}}function c(t,e){if(0===t.length&&o.throwError("data too short",i.Logger.errors.BUFFER_OVERRUN,{}),t[e]>=248){const r=t[e]-247;e+1+r>t.length&&o.throwError("data short segment too short",i.Logger.errors.BUFFER_OVERRUN,{});const n=a(t,e+1,r);return e+1+r+n>t.length&&o.throwError("data long segment too short",i.Logger.errors.BUFFER_OVERRUN,{}),h(t,e,e+1+r,r+n)}if(t[e]>=192){const r=t[e]-192;return e+1+r>t.length&&o.throwError("data array too short",i.Logger.errors.BUFFER_OVERRUN,{}),h(t,e,e+1,r)}if(t[e]>=184){const r=t[e]-183;e+1+r>t.length&&o.throwError("data array too short",i.Logger.errors.BUFFER_OVERRUN,{});const s=a(t,e+1,r);e+1+r+s>t.length&&o.throwError("data array too short",i.Logger.errors.BUFFER_OVERRUN,{});return{consumed:1+r+s,result:(0,n.hexlify)(t.slice(e+1+r,e+1+r+s))}}if(t[e]>=128){const r=t[e]-128;e+1+r>t.length&&o.throwError("data too short",i.Logger.errors.BUFFER_OVERRUN,{});return{consumed:1+r,result:(0,n.hexlify)(t.slice(e+1,e+1+r))}}return{consumed:1,result:(0,n.hexlify)(t[e])}}function f(t){const e=(0,n.arrayify)(t),r=c(e,0);return r.consumed!==e.length&&o.throwArgumentError("invalid rlp data","data",t),r.result}},8894:(t,e,r)=>{"use strict";r.r(e),r.d(e,{computeHmac:()=>n.Gy,ripemd160:()=>n.bP,sha256:()=>n.JQ,sha512:()=>n.o,SupportedAlgorithm:()=>i.p});var n=r(23639),i=r(6648)},23639:(t,e,r)=>{"use strict";r.d(e,{Gy:()=>f,bP:()=>l,JQ:()=>h,o:()=>c});var n=r(33715),i=r.n(n),o=r(56714),s=r(6648),a=r(53988);const u=new a.Logger("sha2/5.6.1");function l(t){return"0x"+i().ripemd160().update((0,o.arrayify)(t)).digest("hex")}function h(t){return"0x"+i().sha256().update((0,o.arrayify)(t)).digest("hex")}function c(t){return"0x"+i().sha512().update((0,o.arrayify)(t)).digest("hex")}function f(t,e,r){return s.p[t]||u.throwError("unsupported algorithm "+t,a.Logger.errors.UNSUPPORTED_OPERATION,{operation:"hmac",algorithm:t}),"0x"+i().hmac(i()[t],(0,o.arrayify)(e)).update((0,o.arrayify)(r)).digest("hex")}},6648:(t,e,r)=>{"use strict";var n;r.d(e,{p:()=>n}),function(t){t.sha256="sha256",t.sha512="sha512"}(n||(n={}))},52619:(t,e,r)=>{"use strict";r.r(e),r.d(e,{SigningKey:()=>W,computePublicKey:()=>Z,recoverPublicKey:()=>J});var n=r(41257),i=r.n(n),o=r(33715),s=r.n(o);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self&&self;function a(t,e,r){return r={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&r.path)}},t(r,r.exports),r.exports}var u=l;function l(t,e){if(!t)throw new Error(e||"Assertion failed")}l.equal=function(t,e,r){if(t!=e)throw new Error(r||"Assertion failed: "+t+" != "+e)};var h=a((function(t,e){var r=e;function n(t){return 1===t.length?"0"+t:t}function i(t){for(var e="",r=0;r>8,s=255&i;o?r.push(o,s):r.push(s)}return r},r.zero2=n,r.toHex=i,r.encode=function(t,e){return"hex"===e?i(t):t}})),c=a((function(t,e){var r=e;r.assert=u,r.toArray=h.toArray,r.zero2=h.zero2,r.toHex=h.toHex,r.encode=h.encode,r.getNAF=function(t,e,r){var n=new Array(Math.max(t.bitLength(),r)+1);n.fill(0);for(var i=1<(i>>1)-1?(i>>1)-u:u,o.isubn(a)):a=0,n[s]=a,o.iushrn(1)}return n},r.getJSF=function(t,e){var r=[[],[]];t=t.clone(),e=e.clone();for(var n,i=0,o=0;t.cmpn(-i)>0||e.cmpn(-o)>0;){var s,a,u=t.andln(3)+i&3,l=e.andln(3)+o&3;3===u&&(u=-1),3===l&&(l=-1),s=0==(1&u)?0:3!==(n=t.andln(7)+i&7)&&5!==n||2!==l?u:-u,r[0].push(s),a=0==(1&l)?0:3!==(n=e.andln(7)+o&7)&&5!==n||2!==u?l:-l,r[1].push(a),2*i===s+1&&(i=1-i),2*o===a+1&&(o=1-o),t.iushrn(1),e.iushrn(1)}return r},r.cachedProperty=function(t,e,r){var n="_"+e;t.prototype[e]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},r.parseBytes=function(t){return"string"==typeof t?r.toArray(t,"hex"):t},r.intFromLE=function(t){return new(i())(t,"hex","le")}})),f=c.getNAF,d=c.getJSF,p=c.assert;function m(t,e){this.type=t,this.p=new(i())(e.p,16),this.red=e.prime?i().red(e.prime):i().mont(this.p),this.zero=new(i())(0).toRed(this.red),this.one=new(i())(1).toRed(this.red),this.two=new(i())(2).toRed(this.red),this.n=e.n&&new(i())(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var g=m;function y(t,e){this.curve=t,this.type=e,this.precomputed=null}m.prototype.point=function(){throw new Error("Not implemented")},m.prototype.validate=function(){throw new Error("Not implemented")},m.prototype._fixedNafMul=function(t,e){p(t.precomputed);var r=t._getDoubles(),n=f(e,1,this._bitLength),i=(1<=o;u--)s=(s<<1)+n[u];a.push(s)}for(var l=this.jpoint(null,null,null),h=this.jpoint(null,null,null),c=i;c>0;c--){for(o=0;o=0;a--){for(var u=0;a>=0&&0===o[a];a--)u++;if(a>=0&&u++,s=s.dblp(u),a<0)break;var l=o[a];p(0!==l),s="affine"===t.type?l>0?s.mixedAdd(i[l-1>>1]):s.mixedAdd(i[-l-1>>1].neg()):l>0?s.add(i[l-1>>1]):s.add(i[-l-1>>1].neg())}return"affine"===t.type?s.toP():s},m.prototype._wnafMulAdd=function(t,e,r,n,i){var o,s,a,u=this._wnafT1,l=this._wnafT2,h=this._wnafT3,c=0;for(o=0;o=1;o-=2){var m=o-1,g=o;if(1===u[m]&&1===u[g]){var y=[e[m],null,null,e[g]];0===e[m].y.cmp(e[g].y)?(y[1]=e[m].add(e[g]),y[2]=e[m].toJ().mixedAdd(e[g].neg())):0===e[m].y.cmp(e[g].y.redNeg())?(y[1]=e[m].toJ().mixedAdd(e[g]),y[2]=e[m].add(e[g].neg())):(y[1]=e[m].toJ().mixedAdd(e[g]),y[2]=e[m].toJ().mixedAdd(e[g].neg()));var v=[-3,-1,-5,-7,0,7,5,1,3],b=d(r[m],r[g]);for(c=Math.max(b[0].length,c),h[m]=new Array(c),h[g]=new Array(c),s=0;s=0;o--){for(var M=0;o>=0;){var P=!0;for(s=0;s=0&&M++,A=A.dblp(M),o<0)break;for(s=0;s0?a=l[s][S-1>>1]:S<0&&(a=l[s][-S-1>>1].neg()),A="affine"===a.type?A.mixedAdd(a):A.add(a))}}for(o=0;o=Math.ceil((t.bitLength()+1)/e.step)},y.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i=0&&(s=e,a=r),n.negative&&(n=n.neg(),o=o.neg()),s.negative&&(s=s.neg(),a=a.neg()),[{a:n,b:o},{a:s,b:a}]},w.prototype._endoSplit=function(t){var e=this.endo.basis,r=e[0],n=e[1],i=n.b.mul(t).divRound(this.n),o=r.b.neg().mul(t).divRound(this.n),s=i.mul(r.a),a=o.mul(n.a),u=i.mul(r.b),l=o.mul(n.b);return{k1:t.sub(s).sub(a),k2:u.add(l).neg()}},w.prototype.pointFromX=function(t,e){(t=new(i())(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var o=n.fromRed().isOdd();return(e&&!o||!e&&o)&&(n=n.redNeg()),this.point(t,n)},w.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,r=t.y,n=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},w.prototype._endoWnafMulAdd=function(t,e,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,o=0;o":""},A.prototype.isInfinity=function(){return this.inf},A.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var r=e.redSqr().redISub(this.x).redISub(t.x),n=e.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},A.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,r=this.x.redSqr(),n=t.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(e).redMul(n),o=i.redSqr().redISub(this.x.redAdd(this.x)),s=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,s)},A.prototype.getX=function(){return this.x.fromRed()},A.prototype.getY=function(){return this.y.fromRed()},A.prototype.mul=function(t){return t=new(i())(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},A.prototype.mulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},A.prototype.jmulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},A.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},A.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var r=this.precomputed,n=function(t){return t.neg()};e.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return e},A.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},v(_,g.BasePoint),w.prototype.jpoint=function(t,e,r){return new _(this,t,e,r)},_.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),r=this.x.redMul(e),n=this.y.redMul(e).redMul(t);return this.curve.point(r,n)},_.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},_.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(e),i=t.x.redMul(r),o=this.y.redMul(e.redMul(t.z)),s=t.y.redMul(r.redMul(this.z)),a=n.redSub(i),u=o.redSub(s);if(0===a.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=a.redSqr(),h=l.redMul(a),c=n.redMul(l),f=u.redSqr().redIAdd(h).redISub(c).redISub(c),d=u.redMul(c.redISub(f)).redISub(o.redMul(h)),p=this.z.redMul(t.z).redMul(a);return this.curve.jpoint(f,d,p)},_.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),r=this.x,n=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),s=r.redSub(n),a=i.redSub(o);if(0===s.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),l=u.redMul(s),h=r.redMul(u),c=a.redSqr().redIAdd(l).redISub(h).redISub(h),f=a.redMul(h.redISub(c)).redISub(i.redMul(l)),d=this.z.redMul(s);return this.curve.jpoint(c,f,d)},_.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var r=this;for(e=0;e=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},_.prototype.inspect=function(){return this.isInfinity()?"":""},_.prototype.isInfinity=function(){return 0===this.z.cmpn(0)};var M=a((function(t,e){var r=e;r.base=g,r.short=E,r.mont=null,r.edwards=null})),P=a((function(t,e){var r,n=e,i=c.assert;function o(t){"short"===t.type?this.curve=new M.short(t):"edwards"===t.type?this.curve=new M.edwards(t):this.curve=new M.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,i(this.g.validate(),"Invalid curve"),i(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function a(t,e){Object.defineProperty(n,t,{configurable:!0,enumerable:!0,get:function(){var r=new o(e);return Object.defineProperty(n,t,{configurable:!0,enumerable:!0,value:r}),r}})}n.PresetCurve=o,a("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:s().sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),a("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:s().sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),a("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:s().sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),a("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:s().sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),a("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:s().sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),a("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s().sha256,gRed:!1,g:["9"]}),a("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s().sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=null.crash()}catch(t){r=void 0}a("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:s().sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})}));function S(t){if(!(this instanceof S))return new S(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=h.toArray(t.entropy,t.entropyEnc||"hex"),r=h.toArray(t.nonce,t.nonceEnc||"hex"),n=h.toArray(t.pers,t.persEnc||"hex");u(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,r,n)}var k=S;S.prototype._init=function(t,e,r){var n=t.concat(e).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(r||[])),this._reseed=1},S.prototype.generate=function(t,e,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof e&&(n=r,r=e,e=null),r&&(r=h.toArray(r,n||"hex"),this._update(r));for(var i=[];i.length"};var I=c.assert;function O(t,e){if(t instanceof O)return t;this._importDER(t,e)||(I(t.r&&t.s,"Signature without r or s"),this.r=new(i())(t.r,16),this.s=new(i())(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}var T=O;function C(){this.place=0}function F(t,e){var r=t[e.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var i=0,o=0,s=e.place;o>>=0;return!(i<=127)&&(e.place=s,i)}function B(t){for(var e=0,r=t.length-1;!t[e]&&!(128&t[e+1])&&e>>3);for(t.push(128|r);--r;)t.push(e>>>(r<<3)&255);t.push(e)}}O.prototype._importDER=function(t,e){t=c.toArray(t,e);var r=new C;if(48!==t[r.place++])return!1;var n=F(t,r);if(!1===n)return!1;if(n+r.place!==t.length)return!1;if(2!==t[r.place++])return!1;var o=F(t,r);if(!1===o)return!1;var s=t.slice(r.place,o+r.place);if(r.place+=o,2!==t[r.place++])return!1;var a=F(t,r);if(!1===a)return!1;if(t.length!==a+r.place)return!1;var u=t.slice(r.place,a+r.place);if(0===s[0]){if(!(128&s[1]))return!1;s=s.slice(1)}if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}return this.r=new(i())(s),this.s=new(i())(u),this.recoveryParam=null,!0},O.prototype.toDER=function(t){var e=this.r.toArray(),r=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&r[0]&&(r=[0].concat(r)),e=B(e),r=B(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];L(n,e.length),(n=n.concat(e)).push(2),L(n,r.length);var i=n.concat(r),o=[48];return L(o,i.length),o=o.concat(i),c.encode(o,t)};var D=function(){throw new Error("unsupported")},U=c.assert;function j(t){if(!(this instanceof j))return new j(t);"string"==typeof t&&(U(Object.prototype.hasOwnProperty.call(P,t),"Unknown curve "+t),t=P[t]),t instanceof P.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}var G=j;j.prototype.keyPair=function(t){return new R(this,t)},j.prototype.keyFromPrivate=function(t,e){return R.fromPrivate(this,t,e)},j.prototype.keyFromPublic=function(t,e){return R.fromPublic(this,t,e)},j.prototype.genKeyPair=function(t){t||(t={});for(var e=new k({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||D(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),n=this.n.sub(new(i())(2));;){var o=new(i())(e.generate(r));if(!(o.cmp(n)>0))return o.iaddn(1),this.keyFromPrivate(o)}},j.prototype._truncateToN=function(t,e){var r=8*t.byteLength()-this.n.bitLength();return r>0&&(t=t.ushrn(r)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},j.prototype.sign=function(t,e,r,n){"object"==typeof r&&(n=r,r=null),n||(n={}),e=this.keyFromPrivate(e,r),t=this._truncateToN(new(i())(t,16));for(var o=this.n.byteLength(),s=e.getPrivate().toArray("be",o),a=t.toArray("be",o),u=new k({hash:this.hash,entropy:s,nonce:a,pers:n.pers,persEnc:n.persEnc||"utf8"}),l=this.n.sub(new(i())(1)),h=0;;h++){var c=n.k?n.k(h):new(i())(u.generate(this.n.byteLength()));if(!((c=this._truncateToN(c,!0)).cmpn(1)<=0||c.cmp(l)>=0)){var f=this.g.mul(c);if(!f.isInfinity()){var d=f.getX(),p=d.umod(this.n);if(0!==p.cmpn(0)){var m=c.invm(this.n).mul(p.mul(e.getPrivate()).iadd(t));if(0!==(m=m.umod(this.n)).cmpn(0)){var g=(f.getY().isOdd()?1:0)|(0!==d.cmp(p)?2:0);return n.canonical&&m.cmp(this.nh)>0&&(m=this.n.sub(m),g^=1),new T({r:p,s:m,recoveryParam:g})}}}}}},j.prototype.verify=function(t,e,r,n){t=this._truncateToN(new(i())(t,16)),r=this.keyFromPublic(r,n);var o=(e=new T(e,"hex")).r,s=e.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var a,u=s.invm(this.n),l=u.mul(t).umod(this.n),h=u.mul(o).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(l,r.getPublic(),h)).isInfinity()&&a.eqXToP(o):!(a=this.g.mulAdd(l,r.getPublic(),h)).isInfinity()&&0===a.getX().umod(this.n).cmp(o)},j.prototype.recoverPubKey=function(t,e,r,n){U((3&r)===r,"The recovery param is more than two bits"),e=new T(e,n);var o=this.n,s=new(i())(t),a=e.r,u=e.s,l=1&r,h=r>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw new Error("Unable to find sencond key candinate");a=h?this.curve.pointFromX(a.add(this.curve.n),l):this.curve.pointFromX(a,l);var c=e.r.invm(o),f=o.sub(s).mul(c).umod(o),d=u.mul(c).umod(o);return this.g.mulAdd(f,a,d)},j.prototype.getKeyRecoveryParam=function(t,e,r,n){if(null!==(e=new T(e,n)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")};var q=a((function(t,e){var r=e;r.version="6.5.4",r.utils=c,r.rand=function(){throw new Error("unsupported")},r.curve=M,r.curves=P,r.ec=G,r.eddsa=null})).ec,z=r(56714),K=r(57e3);const V=new(r(53988).Logger)("signing-key/5.6.2");let $=null;function H(){return $||($=new q("secp256k1")),$}class W{constructor(t){(0,K.defineReadOnly)(this,"curve","secp256k1"),(0,K.defineReadOnly)(this,"privateKey",(0,z.hexlify)(t)),32!==(0,z.hexDataLength)(this.privateKey)&&V.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");const e=H().keyFromPrivate((0,z.arrayify)(this.privateKey));(0,K.defineReadOnly)(this,"publicKey","0x"+e.getPublic(!1,"hex")),(0,K.defineReadOnly)(this,"compressedPublicKey","0x"+e.getPublic(!0,"hex")),(0,K.defineReadOnly)(this,"_isSigningKey",!0)}_addPoint(t){const e=H().keyFromPublic((0,z.arrayify)(this.publicKey)),r=H().keyFromPublic((0,z.arrayify)(t));return"0x"+e.pub.add(r.pub).encodeCompressed("hex")}signDigest(t){const e=H().keyFromPrivate((0,z.arrayify)(this.privateKey)),r=(0,z.arrayify)(t);32!==r.length&&V.throwArgumentError("bad digest length","digest",t);const n=e.sign(r,{canonical:!0});return(0,z.splitSignature)({recoveryParam:n.recoveryParam,r:(0,z.hexZeroPad)("0x"+n.r.toString(16),32),s:(0,z.hexZeroPad)("0x"+n.s.toString(16),32)})}computeSharedSecret(t){const e=H().keyFromPrivate((0,z.arrayify)(this.privateKey)),r=H().keyFromPublic((0,z.arrayify)(Z(t)));return(0,z.hexZeroPad)("0x"+e.derive(r.getPublic()).toString(16),32)}static isSigningKey(t){return!(!t||!t._isSigningKey)}}function J(t,e){const r=(0,z.splitSignature)(e),n={r:(0,z.arrayify)(r.r),s:(0,z.arrayify)(r.s)};return"0x"+H().recoverPubKey((0,z.arrayify)(t),n,r.recoveryParam).encode("hex",!1)}function Z(t,e){const r=(0,z.arrayify)(t);if(32===r.length){const t=new W(r);return e?"0x"+H().keyFromPrivate(r).getPublic(!0,"hex"):t.publicKey}return 33===r.length?e?(0,z.hexlify)(r):"0x"+H().keyFromPublic(r).getPublic(!1,"hex"):65===r.length?e?"0x"+H().keyFromPublic(r).getPublic(!0,"hex"):(0,z.hexlify)(r):V.throwArgumentError("invalid public or private key","key","[REDACTED]")}},34022:(t,e,r)=>{"use strict";r.r(e),r.d(e,{keccak256:()=>m,pack:()=>p,sha256:()=>g});var n=r(30707),i=r(56714),o=r(16231),s=r(23639),a=r(2115),u=r(53988);const l=new RegExp("^bytes([0-9]+)$"),h=new RegExp("^(u?int)([0-9]*)$"),c=new RegExp("^(.*)\\[([0-9]*)\\]$"),f=new u.Logger("solidity/5.6.1");function d(t,e,r){switch(t){case"address":return r?(0,i.zeroPad)(e,32):(0,i.arrayify)(e);case"string":return(0,a.Y0)(e);case"bytes":return(0,i.arrayify)(e);case"bool":return e=e?"0x01":"0x00",r?(0,i.zeroPad)(e,32):(0,i.arrayify)(e)}let o=t.match(h);if(o){let s=parseInt(o[2]||"256");return(o[2]&&String(s)!==o[2]||s%8!=0||0===s||s>256)&&f.throwArgumentError("invalid number type","type",t),r&&(s=256),e=n.O$.from(e).toTwos(s),(0,i.zeroPad)(e,s/8)}if(o=t.match(l),o){const n=parseInt(o[1]);return(String(n)!==o[1]||0===n||n>32)&&f.throwArgumentError("invalid bytes type","type",t),(0,i.arrayify)(e).byteLength!==n&&f.throwArgumentError(`invalid value for ${t}`,"value",e),r?(0,i.arrayify)((e+"0000000000000000000000000000000000000000000000000000000000000000").substring(0,66)):e}if(o=t.match(c),o&&Array.isArray(e)){const r=o[1];parseInt(o[2]||String(e.length))!=e.length&&f.throwArgumentError(`invalid array length for ${t}`,"value",e);const n=[];return e.forEach((function(t){n.push(d(r,t,!0))})),(0,i.concat)(n)}return f.throwArgumentError("invalid type","type",t)}function p(t,e){t.length!=e.length&&f.throwArgumentError("wrong number of values; expected ${ types.length }","values",e);const r=[];return t.forEach((function(t,n){r.push(d(t,e[n]))})),(0,i.hexlify)((0,i.concat)(r))}function m(t,e){return(0,o.keccak256)(p(t,e))}function g(t,e){return(0,s.JQ)(p(t,e))}},35138:(t,e,r)=>{"use strict";r.d(e,{Ll:()=>p});var n=r(2115);function i(t,e){e||(e=function(t){return[parseInt(t,16)]});let r=0,n={};return t.split(",").forEach((t=>{let i=t.split(":");r+=parseInt(i[0],16),n[r]=e(i[1])})),n}function o(t){let e=0;return t.split(",").map((t=>{let r=t.split("-");1===r.length?r[1]="0":""===r[1]&&(r[1]="1");let n=e+parseInt(r[0],16);return e=parseInt(r[1],16),{l:n,h:e}}))}function s(t,e){let r=0;for(let n=0;n=r&&t<=r+i.h&&(t-r)%(i.d||1)==0){if(i.e&&-1!==i.e.indexOf(t-r))continue;return i}}return null}const a=o("221,13-1b,5f-,40-10,51-f,11-3,3-3,2-2,2-4,8,2,15,2d,28-8,88,48,27-,3-5,11-20,27-,8,28,3-5,12,18,b-a,1c-4,6-16,2-d,2-2,2,1b-4,17-9,8f-,10,f,1f-2,1c-34,33-14e,4,36-,13-,6-2,1a-f,4,9-,3-,17,8,2-2,5-,2,8-,3-,4-8,2-3,3,6-,16-6,2-,7-3,3-,17,8,3,3,3-,2,6-3,3-,4-a,5,2-6,10-b,4,8,2,4,17,8,3,6-,b,4,4-,2-e,2-4,b-10,4,9-,3-,17,8,3-,5-,9-2,3-,4-7,3-3,3,4-3,c-10,3,7-2,4,5-2,3,2,3-2,3-2,4-2,9,4-3,6-2,4,5-8,2-e,d-d,4,9,4,18,b,6-3,8,4,5-6,3-8,3-3,b-11,3,9,4,18,b,6-3,8,4,5-6,3-6,2,3-3,b-11,3,9,4,18,11-3,7-,4,5-8,2-7,3-3,b-11,3,13-2,19,a,2-,8-2,2-3,7,2,9-11,4-b,3b-3,1e-24,3,2-,3,2-,2-5,5,8,4,2,2-,3,e,4-,6,2,7-,b-,3-21,49,23-5,1c-3,9,25,10-,2-2f,23,6,3,8-2,5-5,1b-45,27-9,2a-,2-3,5b-4,45-4,53-5,8,40,2,5-,8,2,5-,28,2,5-,20,2,5-,8,2,5-,8,8,18,20,2,5-,8,28,14-5,1d-22,56-b,277-8,1e-2,52-e,e,8-a,18-8,15-b,e,4,3-b,5e-2,b-15,10,b-5,59-7,2b-555,9d-3,5b-5,17-,7-,27-,7-,9,2,2,2,20-,36,10,f-,7,14-,4,a,54-3,2-6,6-5,9-,1c-10,13-1d,1c-14,3c-,10-6,32-b,240-30,28-18,c-14,a0,115-,3,66-,b-76,5,5-,1d,24,2,5-2,2,8-,35-2,19,f-10,1d-3,311-37f,1b,5a-b,d7-19,d-3,41,57-,68-4,29-3,5f,29-37,2e-2,25-c,2c-2,4e-3,30,78-3,64-,20,19b7-49,51a7-59,48e-2,38-738,2ba5-5b,222f-,3c-94,8-b,6-4,1b,6,2,3,3,6d-20,16e-f,41-,37-7,2e-2,11-f,5-b,18-,b,14,5-3,6,88-,2,bf-2,7-,7-,7-,4-2,8,8-9,8-2ff,20,5-b,1c-b4,27-,27-cbb1,f7-9,28-2,b5-221,56,48,3-,2-,3-,5,d,2,5,3,42,5-,9,8,1d,5,6,2-2,8,153-3,123-3,33-27fd,a6da-5128,21f-5df,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3,2-1d,61-ff7d"),u="ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map((t=>parseInt(t,16))),l=[{h:25,s:32,l:65},{h:30,s:32,e:[23],l:127},{h:54,s:1,e:[48],l:64,d:2},{h:14,s:1,l:57,d:2},{h:44,s:1,l:17,d:2},{h:10,s:1,e:[2,6,8],l:61,d:2},{h:16,s:1,l:68,d:2},{h:84,s:1,e:[18,24,66],l:19,d:2},{h:26,s:32,e:[17],l:435},{h:22,s:1,l:71,d:2},{h:15,s:80,l:40},{h:31,s:32,l:16},{h:32,s:1,l:80,d:2},{h:52,s:1,l:42,d:2},{h:12,s:1,l:55,d:2},{h:40,s:1,e:[38],l:15,d:2},{h:14,s:1,l:48,d:2},{h:37,s:48,l:49},{h:148,s:1,l:6351,d:2},{h:88,s:1,l:160,d:2},{h:15,s:16,l:704},{h:25,s:26,l:854},{h:25,s:32,l:55915},{h:37,s:40,l:1247},{h:25,s:-119711,l:53248},{h:25,s:-119763,l:52},{h:25,s:-119815,l:52},{h:25,s:-119867,e:[1,4,5,7,8,11,12,17],l:52},{h:25,s:-119919,l:52},{h:24,s:-119971,e:[2,7,8,17],l:52},{h:24,s:-120023,e:[2,7,13,15,16,17],l:52},{h:25,s:-120075,l:52},{h:25,s:-120127,l:52},{h:25,s:-120179,l:52},{h:25,s:-120231,l:52},{h:25,s:-120283,l:52},{h:25,s:-120335,l:52},{h:24,s:-119543,e:[17],l:56},{h:24,s:-119601,e:[17],l:58},{h:24,s:-119659,e:[17],l:58},{h:24,s:-119717,e:[17],l:58},{h:24,s:-119775,e:[17],l:58}],h=i("b5:3bc,c3:ff,7:73,2:253,5:254,3:256,1:257,5:259,1:25b,3:260,1:263,2:269,1:268,5:26f,1:272,2:275,7:280,3:283,5:288,3:28a,1:28b,5:292,3f:195,1:1bf,29:19e,125:3b9,8b:3b2,1:3b8,1:3c5,3:3c6,1:3c0,1a:3ba,1:3c1,1:3c3,2:3b8,1:3b5,1bc9:3b9,1c:1f76,1:1f77,f:1f7a,1:1f7b,d:1f78,1:1f79,1:1f7c,1:1f7d,107:63,5:25b,4:68,1:68,1:68,3:69,1:69,1:6c,3:6e,4:70,1:71,1:72,1:72,1:72,7:7a,2:3c9,2:7a,2:6b,1:e5,1:62,1:63,3:65,1:66,2:6d,b:3b3,1:3c0,6:64,1b574:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3"),c=i("179:1,2:1,2:1,5:1,2:1,a:4f,a:1,8:1,2:1,2:1,3:1,5:1,3:1,4:1,2:1,3:1,4:1,8:2,1:1,2:2,1:1,2:2,27:2,195:26,2:25,1:25,1:25,2:40,2:3f,1:3f,33:1,11:-6,1:-9,1ac7:-3a,6d:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,b:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,c:-8,2:-8,2:-8,2:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,49:-8,1:-8,1:-4a,1:-4a,d:-56,1:-56,1:-56,1:-56,d:-8,1:-8,f:-8,1:-8,3:-7"),f=i("df:00730073,51:00690307,19:02BC006E,a7:006A030C,18a:002003B9,16:03B903080301,20:03C503080301,1d7:05650582,190f:00680331,1:00740308,1:0077030A,1:0079030A,1:006102BE,b6:03C50313,2:03C503130300,2:03C503130301,2:03C503130342,2a:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,3:1F7003B9,1:03B103B9,1:03AC03B9,2:03B10342,1:03B1034203B9,5:03B103B9,6:1F7403B9,1:03B703B9,1:03AE03B9,2:03B70342,1:03B7034203B9,5:03B703B9,6:03B903080300,1:03B903080301,3:03B90342,1:03B903080342,b:03C503080300,1:03C503080301,1:03C10313,2:03C50342,1:03C503080342,b:1F7C03B9,1:03C903B9,1:03CE03B9,2:03C90342,1:03C9034203B9,5:03C903B9,ac:00720073,5b:00B00063,6:00B00066,d:006E006F,a:0073006D,1:00740065006C,1:0074006D,124f:006800700061,2:00610075,2:006F0076,b:00700061,1:006E0061,1:03BC0061,1:006D0061,1:006B0061,1:006B0062,1:006D0062,1:00670062,3:00700066,1:006E0066,1:03BC0066,4:0068007A,1:006B0068007A,1:006D0068007A,1:00670068007A,1:00740068007A,15:00700061,1:006B00700061,1:006D00700061,1:006700700061,8:00700076,1:006E0076,1:03BC0076,1:006D0076,1:006B0076,1:006D0076,1:00700077,1:006E0077,1:03BC0077,1:006D0077,1:006B0077,1:006D0077,1:006B03C9,1:006D03C9,2:00620071,3:00632215006B0067,1:0063006F002E,1:00640062,1:00670079,2:00680070,2:006B006B,1:006B006D,9:00700068,2:00700070006D,1:00700072,2:00730076,1:00770062,c723:00660066,1:00660069,1:0066006C,1:006600660069,1:00660066006C,1:00730074,1:00730074,d:05740576,1:05740565,1:0574056B,1:057E0576,1:0574056D",(function(t){if(t.length%4!=0)throw new Error("bad data");let e=[];for(let r=0;r{if(u.indexOf(t)>=0)return[];if(t>=65024&&t<=65039)return[];let e=function(t){let e=s(t,l);if(e)return[t+e.s];let r=h[t];if(r)return r;let n=c[t];return n?[t+n[0]]:f[t]||null}(t);return e||[t]})),e=r.reduce(((t,e)=>(e.forEach((e=>{t.push(e)})),t)),[]),e=(0,n.XL)((0,n.uu)(e),n.Uj.NFKC),e.forEach((t=>{if(s(t,d))throw new Error("STRINGPREP_CONTAINS_PROHIBITED")})),e.forEach((t=>{if(s(t,a))throw new Error("STRINGPREP_CONTAINS_UNASSIGNED")}));let i=(0,n.uu)(e);if("-"===i.substring(0,1)||"--"===i.substring(2,4)||"-"===i.substring(i.length-1))throw new Error("invalid hyphen");if(i.length>63)throw new Error("too long");return i}},87325:(t,e,r)=>{"use strict";r.r(e),r.d(e,{UnicodeNormalizationForm:()=>i.Uj,Utf8ErrorFuncs:()=>i.te,Utf8ErrorReason:()=>i.Uw,_toEscapedUtf8String:()=>i.U$,formatBytes32String:()=>o,nameprep:()=>a.Ll,parseBytes32String:()=>s,toUtf8Bytes:()=>i.Y0,toUtf8CodePoints:()=>i.XL,toUtf8String:()=>i.ZN});var n=r(56714),i=r(2115);function o(t){const e=(0,i.Y0)(t);if(e.length>31)throw new Error("bytes32 string must be less than 32 bytes");return(0,n.hexlify)((0,n.concat)([e,"0x0000000000000000000000000000000000000000000000000000000000000000"]).slice(0,32))}function s(t){const e=(0,n.arrayify)(t);if(32!==e.length)throw new Error("invalid bytes32 - not 32 bytes long");if(0!==e[31])throw new Error("invalid bytes32 string - no null terminator");let r=31;for(;0===e[r-1];)r--;return(0,i.ZN)(e.slice(0,r))}var a=r(35138)},2115:(t,e,r)=>{"use strict";r.d(e,{Uj:()=>o,te:()=>u,Uw:()=>s,U$:()=>f,uu:()=>d,Y0:()=>h,XL:()=>m,ZN:()=>p});var n=r(56714);const i=new(r(53988).Logger)("strings/5.6.1");var o,s;function a(t,e,r,n,i){if(t===s.BAD_PREFIX||t===s.UNEXPECTED_CONTINUE){let t=0;for(let n=e+1;n>6==2;n++)t++;return t}return t===s.OVERRUN?r.length-e-1:0}!function(t){t.current="",t.NFC="NFC",t.NFD="NFD",t.NFKC="NFKC",t.NFKD="NFKD"}(o||(o={})),function(t){t.UNEXPECTED_CONTINUE="unexpected continuation byte",t.BAD_PREFIX="bad codepoint prefix",t.OVERRUN="string overrun",t.MISSING_CONTINUE="missing continuation byte",t.OUT_OF_RANGE="out of UTF-8 range",t.UTF16_SURROGATE="UTF-16 surrogate",t.OVERLONG="overlong representation"}(s||(s={}));const u=Object.freeze({error:function(t,e,r,n,o){return i.throwArgumentError(`invalid codepoint at offset ${e}; ${t}`,"bytes",r)},ignore:a,replace:function(t,e,r,n,i){return t===s.OVERLONG?(n.push(i),0):(n.push(65533),a(t,e,r))}});function l(t,e){null==e&&(e=u.error),t=(0,n.arrayify)(t);const r=[];let i=0;for(;i>7==0){r.push(n);continue}let o=null,a=null;if(192==(224&n))o=1,a=127;else if(224==(240&n))o=2,a=2047;else{if(240!=(248&n)){i+=e(128==(192&n)?s.UNEXPECTED_CONTINUE:s.BAD_PREFIX,i-1,t,r);continue}o=3,a=65535}if(i-1+o>=t.length){i+=e(s.OVERRUN,i-1,t,r);continue}let u=n&(1<<8-o-1)-1;for(let n=0;n1114111?i+=e(s.OUT_OF_RANGE,i-1-o,t,r,u):u>=55296&&u<=57343?i+=e(s.UTF16_SURROGATE,i-1-o,t,r,u):u<=a?i+=e(s.OVERLONG,i-1-o,t,r,u):r.push(u))}return r}function h(t,e=o.current){e!=o.current&&(i.checkNormalize(),t=t.normalize(e));let r=[];for(let e=0;e>6|192),r.push(63&n|128);else if(55296==(64512&n)){e++;const i=t.charCodeAt(e);if(e>=t.length||56320!=(64512&i))throw new Error("invalid utf-8 string");const o=65536+((1023&n)<<10)+(1023&i);r.push(o>>18|240),r.push(o>>12&63|128),r.push(o>>6&63|128),r.push(63&o|128)}else r.push(n>>12|224),r.push(n>>6&63|128),r.push(63&n|128)}return(0,n.arrayify)(r)}function c(t){const e="0000"+t.toString(16);return"\\u"+e.substring(e.length-4)}function f(t,e){return'"'+l(t,e).map((t=>{if(t<256){switch(t){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 13:return"\\r";case 34:return'\\"';case 92:return"\\\\"}if(t>=32&&t<127)return String.fromCharCode(t)}return t<=65535?c(t):c(55296+((t-=65536)>>10&1023))+c(56320+(1023&t))})).join("")+'"'}function d(t){return t.map((t=>t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10&1023),56320+(1023&t))))).join("")}function p(t,e){return d(l(t,e))}function m(t,e=o.current){return l(h(t,e))}},96463:(t,e,r)=>{"use strict";r.r(e),r.d(e,{TransactionTypes:()=>d,accessListify:()=>A,computeAddress:()=>v,parse:()=>x,recoverAddress:()=>b,serialize:()=>S});var n=r(13061),i=r(30707),o=r(56714),s=r(98736),a=r(16231),u=r(57e3),l=r(38273),h=r(52619),c=r(53988);const f=new c.Logger("transactions/5.6.2");var d;function p(t){return"0x"===t?null:(0,n.getAddress)(t)}function m(t){return"0x"===t?s._Y:i.O$.from(t)}!function(t){t[t.legacy=0]="legacy",t[t.eip2930=1]="eip2930",t[t.eip1559=2]="eip1559"}(d||(d={}));const g=[{name:"nonce",maxLength:32,numeric:!0},{name:"gasPrice",maxLength:32,numeric:!0},{name:"gasLimit",maxLength:32,numeric:!0},{name:"to",length:20},{name:"value",maxLength:32,numeric:!0},{name:"data"}],y={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,type:!0,value:!0};function v(t){const e=(0,h.computePublicKey)(t);return(0,n.getAddress)((0,o.hexDataSlice)((0,a.keccak256)((0,o.hexDataSlice)(e,1)),12))}function b(t,e){return v((0,h.recoverPublicKey)((0,o.arrayify)(t),e))}function w(t,e){const r=(0,o.stripZeros)(i.O$.from(t).toHexString());return r.length>32&&f.throwArgumentError("invalid length for "+e,"transaction:"+e,t),r}function E(t,e){return{address:(0,n.getAddress)(t),storageKeys:(e||[]).map(((e,r)=>(32!==(0,o.hexDataLength)(e)&&f.throwArgumentError("invalid access list storageKey",`accessList[${t}:${r}]`,e),e.toLowerCase())))}}function A(t){if(Array.isArray(t))return t.map(((t,e)=>Array.isArray(t)?(t.length>2&&f.throwArgumentError("access list expected to be [ address, storageKeys[] ]",`value[${e}]`,t),E(t[0],t[1])):E(t.address,t.storageKeys)));const e=Object.keys(t).map((e=>{const r=t[e].reduce(((t,e)=>(t[e]=!0,t)),{});return E(e,Object.keys(r).sort())}));return e.sort(((t,e)=>t.address.localeCompare(e.address))),e}function _(t){return A(t).map((t=>[t.address,t.storageKeys]))}function M(t,e){if(null!=t.gasPrice){const e=i.O$.from(t.gasPrice),r=i.O$.from(t.maxFeePerGas||0);e.eq(r)||f.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:e,maxFeePerGas:r})}const r=[w(t.chainId||0,"chainId"),w(t.nonce||0,"nonce"),w(t.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),w(t.maxFeePerGas||0,"maxFeePerGas"),w(t.gasLimit||0,"gasLimit"),null!=t.to?(0,n.getAddress)(t.to):"0x",w(t.value||0,"value"),t.data||"0x",_(t.accessList||[])];if(e){const t=(0,o.splitSignature)(e);r.push(w(t.recoveryParam,"recoveryParam")),r.push((0,o.stripZeros)(t.r)),r.push((0,o.stripZeros)(t.s))}return(0,o.hexConcat)(["0x02",l.encode(r)])}function P(t,e){const r=[w(t.chainId||0,"chainId"),w(t.nonce||0,"nonce"),w(t.gasPrice||0,"gasPrice"),w(t.gasLimit||0,"gasLimit"),null!=t.to?(0,n.getAddress)(t.to):"0x",w(t.value||0,"value"),t.data||"0x",_(t.accessList||[])];if(e){const t=(0,o.splitSignature)(e);r.push(w(t.recoveryParam,"recoveryParam")),r.push((0,o.stripZeros)(t.r)),r.push((0,o.stripZeros)(t.s))}return(0,o.hexConcat)(["0x01",l.encode(r)])}function S(t,e){if(null==t.type||0===t.type)return null!=t.accessList&&f.throwArgumentError("untyped transactions do not support accessList; include type: 1","transaction",t),function(t,e){(0,u.checkProperties)(t,y);const r=[];g.forEach((function(e){let n=t[e.name]||[];const i={};e.numeric&&(i.hexPad="left"),n=(0,o.arrayify)((0,o.hexlify)(n,i)),e.length&&n.length!==e.length&&n.length>0&&f.throwArgumentError("invalid length for "+e.name,"transaction:"+e.name,n),e.maxLength&&(n=(0,o.stripZeros)(n),n.length>e.maxLength&&f.throwArgumentError("invalid length for "+e.name,"transaction:"+e.name,n)),r.push((0,o.hexlify)(n))}));let n=0;if(null!=t.chainId?(n=t.chainId,"number"!=typeof n&&f.throwArgumentError("invalid transaction.chainId","transaction",t)):e&&!(0,o.isBytesLike)(e)&&e.v>28&&(n=Math.floor((e.v-35)/2)),0!==n&&(r.push((0,o.hexlify)(n)),r.push("0x"),r.push("0x")),!e)return l.encode(r);const i=(0,o.splitSignature)(e);let s=27+i.recoveryParam;return 0!==n?(r.pop(),r.pop(),r.pop(),s+=2*n+8,i.v>28&&i.v!==s&&f.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e)):i.v!==s&&f.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e),r.push((0,o.hexlify)(s)),r.push((0,o.stripZeros)((0,o.arrayify)(i.r))),r.push((0,o.stripZeros)((0,o.arrayify)(i.s))),l.encode(r)}(t,e);switch(t.type){case 1:return P(t,e);case 2:return M(t,e)}return f.throwError(`unsupported transaction type: ${t.type}`,c.Logger.errors.UNSUPPORTED_OPERATION,{operation:"serializeTransaction",transactionType:t.type})}function k(t,e,r){try{const r=m(e[0]).toNumber();if(0!==r&&1!==r)throw new Error("bad recid");t.v=r}catch(t){f.throwArgumentError("invalid v for transaction type: 1","v",e[0])}t.r=(0,o.hexZeroPad)(e[1],32),t.s=(0,o.hexZeroPad)(e[2],32);try{const e=(0,a.keccak256)(r(t));t.from=b(e,{r:t.r,s:t.s,recoveryParam:t.v})}catch(t){}}function x(t){const e=(0,o.arrayify)(t);if(e[0]>127)return function(t){const e=l.decode(t);9!==e.length&&6!==e.length&&f.throwArgumentError("invalid raw transaction","rawTransaction",t);const r={nonce:m(e[0]).toNumber(),gasPrice:m(e[1]),gasLimit:m(e[2]),to:p(e[3]),value:m(e[4]),data:e[5],chainId:0};if(6===e.length)return r;try{r.v=i.O$.from(e[6]).toNumber()}catch(t){return r}if(r.r=(0,o.hexZeroPad)(e[7],32),r.s=(0,o.hexZeroPad)(e[8],32),i.O$.from(r.r).isZero()&&i.O$.from(r.s).isZero())r.chainId=r.v,r.v=0;else{r.chainId=Math.floor((r.v-35)/2),r.chainId<0&&(r.chainId=0);let n=r.v-27;const i=e.slice(0,6);0!==r.chainId&&(i.push((0,o.hexlify)(r.chainId)),i.push("0x"),i.push("0x"),n-=2*r.chainId+8);const s=(0,a.keccak256)(l.encode(i));try{r.from=b(s,{r:(0,o.hexlify)(r.r),s:(0,o.hexlify)(r.s),recoveryParam:n})}catch(t){}r.hash=(0,a.keccak256)(t)}return r.type=null,r}(e);switch(e[0]){case 1:return function(t){const e=l.decode(t.slice(1));8!==e.length&&11!==e.length&&f.throwArgumentError("invalid component count for transaction type: 1","payload",(0,o.hexlify)(t));const r={type:1,chainId:m(e[0]).toNumber(),nonce:m(e[1]).toNumber(),gasPrice:m(e[2]),gasLimit:m(e[3]),to:p(e[4]),value:m(e[5]),data:e[6],accessList:A(e[7])};return 8===e.length||(r.hash=(0,a.keccak256)(t),k(r,e.slice(8),P)),r}(e);case 2:return function(t){const e=l.decode(t.slice(1));9!==e.length&&12!==e.length&&f.throwArgumentError("invalid component count for transaction type: 2","payload",(0,o.hexlify)(t));const r=m(e[2]),n=m(e[3]),i={type:2,chainId:m(e[0]).toNumber(),nonce:m(e[1]).toNumber(),maxPriorityFeePerGas:r,maxFeePerGas:n,gasPrice:null,gasLimit:m(e[4]),to:p(e[5]),value:m(e[6]),data:e[7],accessList:A(e[8])};return 9===e.length||(i.hash=(0,a.keccak256)(t),k(i,e.slice(9),M)),i}(e)}return f.throwError(`unsupported transaction type: ${e[0]}`,c.Logger.errors.UNSUPPORTED_OPERATION,{operation:"parseTransaction",transactionType:e[0]})}},37709:(t,e,r)=>{"use strict";r.r(e),r.d(e,{commify:()=>A,formatEther:()=>P,formatUnits:()=>_,parseEther:()=>S,parseUnits:()=>M});var n=r(56714),i=r(53988),o=r(85038),s=r(30707);const a=new i.Logger(o.i),u={},l=s.O$.from(0),h=s.O$.from(-1);function c(t,e,r,n){const o={fault:e,operation:r};return void 0!==n&&(o.value=n),a.throwError(t,i.Logger.errors.NUMERIC_FAULT,o)}let f="0";for(;f.length<256;)f+=f;function d(t){if("number"!=typeof t)try{t=s.O$.from(t).toNumber()}catch(t){}return"number"==typeof t&&t>=0&&t<=256&&!(t%1)?"1"+f.substring(0,t):a.throwArgumentError("invalid decimal size","decimals",t)}function p(t,e){null==e&&(e=0);const r=d(e),n=(t=s.O$.from(t)).lt(l);n&&(t=t.mul(h));let i=t.mod(r).toString();for(;i.length2&&a.throwArgumentError("too many decimal points","value",t);let o=i[0],u=i[1];for(o||(o="0"),u||(u="0");"0"===u[u.length-1];)u=u.substring(0,u.length-1);for(u.length>r.length-1&&c("fractional component exceeds decimals","underflow","parseFixed"),""===u&&(u="0");u.lengthnull==t[e]?n:(typeof t[e]!==r&&a.throwArgumentError("invalid fixed format ("+e+" not "+r+")","format."+e,t[e]),t[e]);e=i("signed","boolean",e),r=i("width","number",r),n=i("decimals","number",n)}return r%8&&a.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",r),n>80&&a.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",n),new g(u,e,r,n)}}class y{constructor(t,e,r,n){t!==u&&a.throwError("cannot use FixedNumber constructor; use FixedNumber.from",i.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=n,this._hex=e,this._value=r,this._isFixedNumber=!0,Object.freeze(this)}_checkFormat(t){this.format.name!==t.format.name&&a.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",t)}addUnsafe(t){this._checkFormat(t);const e=m(this._value,this.format.decimals),r=m(t._value,t.format.decimals);return y.fromValue(e.add(r),this.format.decimals,this.format)}subUnsafe(t){this._checkFormat(t);const e=m(this._value,this.format.decimals),r=m(t._value,t.format.decimals);return y.fromValue(e.sub(r),this.format.decimals,this.format)}mulUnsafe(t){this._checkFormat(t);const e=m(this._value,this.format.decimals),r=m(t._value,t.format.decimals);return y.fromValue(e.mul(r).div(this.format._multiplier),this.format.decimals,this.format)}divUnsafe(t){this._checkFormat(t);const e=m(this._value,this.format.decimals),r=m(t._value,t.format.decimals);return y.fromValue(e.mul(this.format._multiplier).div(r),this.format.decimals,this.format)}floor(){const t=this.toString().split(".");1===t.length&&t.push("0");let e=y.from(t[0],this.format);const r=!t[1].match(/^(0*)$/);return this.isNegative()&&r&&(e=e.subUnsafe(v.toFormat(e.format))),e}ceiling(){const t=this.toString().split(".");1===t.length&&t.push("0");let e=y.from(t[0],this.format);const r=!t[1].match(/^(0*)$/);return!this.isNegative()&&r&&(e=e.addUnsafe(v.toFormat(e.format))),e}round(t){null==t&&(t=0);const e=this.toString().split(".");if(1===e.length&&e.push("0"),(t<0||t>80||t%1)&&a.throwArgumentError("invalid decimal count","decimals",t),e[1].length<=t)return this;const r=y.from("1"+f.substring(0,t),this.format),n=b.toFormat(this.format);return this.mulUnsafe(r).addUnsafe(n).floor().divUnsafe(r)}isZero(){return"0.0"===this._value||"0"===this._value}isNegative(){return"-"===this._value[0]}toString(){return this._value}toHexString(t){if(null==t)return this._hex;t%8&&a.throwArgumentError("invalid byte width","width",t);const e=s.O$.from(this._hex).fromTwos(this.format.width).toTwos(t).toHexString();return(0,n.hexZeroPad)(e,t/8)}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(t){return y.fromString(this._value,t)}static fromValue(t,e,r){return null!=r||null==e||(0,s.Zm)(e)||(r=e,e=null),null==e&&(e=0),null==r&&(r="fixed"),y.fromString(p(t,e),g.from(r))}static fromString(t,e){null==e&&(e="fixed");const r=g.from(e),i=m(t,r.decimals);!r.signed&&i.lt(l)&&c("unsigned value cannot be negative","overflow","value",t);let o=null;r.signed?o=i.toTwos(r.width).toHexString():(o=i.toHexString(),o=(0,n.hexZeroPad)(o,r.width/8));const s=p(i,r.decimals);return new y(u,o,s,r)}static fromBytes(t,e){null==e&&(e="fixed");const r=g.from(e);if((0,n.arrayify)(t).length>r.width/8)throw new Error("overflow");let i=s.O$.from(t);r.signed&&(i=i.fromTwos(r.width));const o=i.toTwos((r.signed?0:1)+r.width).toHexString(),a=p(i,r.decimals);return new y(u,o,a,r)}static from(t,e){if("string"==typeof t)return y.fromString(t,e);if((0,n.isBytes)(t))return y.fromBytes(t,e);try{return y.fromValue(t,0,e)}catch(t){if(t.code!==i.Logger.errors.INVALID_ARGUMENT)throw t}return a.throwArgumentError("invalid FixedNumber value","value",t)}static isFixedNumber(t){return!(!t||!t._isFixedNumber)}}const v=y.from(1),b=y.from("0.5"),w=new i.Logger("units/5.6.1"),E=["wei","kwei","mwei","gwei","szabo","finney","ether"];function A(t){const e=String(t).split(".");(e.length>2||!e[0].match(/^-?[0-9]*$/)||e[1]&&!e[1].match(/^[0-9]*$/)||"."===t||"-."===t)&&w.throwArgumentError("invalid value","value",t);let r=e[0],n="";for("-"===r.substring(0,1)&&(n="-",r=r.substring(1));"0"===r.substring(0,1);)r=r.substring(1);""===r&&(r="0");let i="";for(2===e.length&&(i="."+(e[1]||"0"));i.length>2&&"0"===i[i.length-1];)i=i.substring(0,i.length-1);const o=[];for(;r.length;){if(r.length<=3){o.unshift(r);break}{const t=r.length-3;o.unshift(r.substring(t)),r=r.substring(0,t)}}return n+o.join(",")+i}function _(t,e){if("string"==typeof e){const t=E.indexOf(e);-1!==t&&(e=3*t)}return p(t,null!=e?e:18)}function M(t,e){if("string"!=typeof t&&w.throwArgumentError("value must be a string","value",t),"string"==typeof e){const t=E.indexOf(e);-1!==t&&(e=3*t)}return m(t,null!=e?e:18)}function P(t){return _(t,18)}function S(t){return M(t,18)}},40113:(t,e,r)=>{"use strict";r.r(e),r.d(e,{Wallet:()=>w,verifyMessage:()=>E,verifyTypedData:()=>A});var n=r(13061),i=r(16786),o=r(15974),s=r(56714),a=r(80424),u=r(27771),l=r(94755),h=r(16231),c=r(57e3),f=r(39996),d=r(52619),p=r(40241),m=r(49423),g=r(96463),y=r(53988);var v=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const b=new y.Logger("wallet/5.6.2");class w extends o.E{constructor(t,e){if(super(),null!=(r=t)&&(0,s.isHexString)(r.privateKey,32)&&null!=r.address){const e=new d.SigningKey(t.privateKey);if((0,c.defineReadOnly)(this,"_signingKey",(()=>e)),(0,c.defineReadOnly)(this,"address",(0,g.computeAddress)(this.publicKey)),this.address!==(0,n.getAddress)(t.address)&&b.throwArgumentError("privateKey/address mismatch","privateKey","[REDACTED]"),function(t){const e=t.mnemonic;return e&&e.phrase}(t)){const e=t.mnemonic;(0,c.defineReadOnly)(this,"_mnemonic",(()=>({phrase:e.phrase,path:e.path||l.defaultPath,locale:e.locale||"en"})));const r=this.mnemonic,n=l.HDNode.fromMnemonic(r.phrase,null,r.locale).derivePath(r.path);(0,g.computeAddress)(n.privateKey)!==this.address&&b.throwArgumentError("mnemonic/address mismatch","privateKey","[REDACTED]")}else(0,c.defineReadOnly)(this,"_mnemonic",(()=>null))}else{if(d.SigningKey.isSigningKey(t))"secp256k1"!==t.curve&&b.throwArgumentError("unsupported curve; must be secp256k1","privateKey","[REDACTED]"),(0,c.defineReadOnly)(this,"_signingKey",(()=>t));else{"string"==typeof t&&t.match(/^[0-9a-f]*$/i)&&64===t.length&&(t="0x"+t);const e=new d.SigningKey(t);(0,c.defineReadOnly)(this,"_signingKey",(()=>e))}(0,c.defineReadOnly)(this,"_mnemonic",(()=>null)),(0,c.defineReadOnly)(this,"address",(0,g.computeAddress)(this.publicKey))}var r;e&&!i.zt.isProvider(e)&&b.throwArgumentError("invalid provider","provider",e),(0,c.defineReadOnly)(this,"provider",e||null)}get mnemonic(){return this._mnemonic()}get privateKey(){return this._signingKey().privateKey}get publicKey(){return this._signingKey().publicKey}getAddress(){return Promise.resolve(this.address)}connect(t){return new w(this,t)}signTransaction(t){return(0,c.resolveProperties)(t).then((e=>{null!=e.from&&((0,n.getAddress)(e.from)!==this.address&&b.throwArgumentError("transaction from address mismatch","transaction.from",t.from),delete e.from);const r=this._signingKey().signDigest((0,h.keccak256)((0,g.serialize)(e)));return(0,g.serialize)(e,r)}))}signMessage(t){return v(this,void 0,void 0,(function*(){return(0,s.joinSignature)(this._signingKey().signDigest((0,a.r)(t)))}))}_signTypedData(t,e,r){return v(this,void 0,void 0,(function*(){const n=yield u.E.resolveNames(t,e,r,(t=>(null==this.provider&&b.throwError("cannot resolve ENS names without a provider",y.Logger.errors.UNSUPPORTED_OPERATION,{operation:"resolveName",value:t}),this.provider.resolveName(t))));return(0,s.joinSignature)(this._signingKey().signDigest(u.E.hash(n.domain,e,n.value)))}))}encrypt(t,e,r){if("function"!=typeof e||r||(r=e,e={}),r&&"function"!=typeof r)throw new Error("invalid callback");return e||(e={}),(0,m.HI)(this,t,e,r)}static createRandom(t){let e=(0,f.O)(16);t||(t={}),t.extraEntropy&&(e=(0,s.arrayify)((0,s.hexDataSlice)((0,h.keccak256)((0,s.concat)([e,t.extraEntropy])),0,16)));const r=(0,l.entropyToMnemonic)(e,t.locale);return w.fromMnemonic(r,t.path,t.locale)}static fromEncryptedJson(t,e,r){return(0,p.decryptJsonWallet)(t,e,r).then((t=>new w(t)))}static fromEncryptedJsonSync(t,e){return new w((0,p.decryptJsonWalletSync)(t,e))}static fromMnemonic(t,e,r){return e||(e=l.defaultPath),new w(l.HDNode.fromMnemonic(t,null,r).derivePath(e))}}function E(t,e){return(0,g.recoverAddress)((0,a.r)(t),e)}function A(t,e,r,n){return(0,g.recoverAddress)(u.E.hash(t,e,r),n)}},18391:(t,e,r)=>{"use strict";r.r(e),r.d(e,{_fetchData:()=>p,fetchJson:()=>m,poll:()=>g});var n=r(47499),i=r(56714),o=r(57e3),s=r(2115),a=r(53988);var u=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};function l(t,e){return u(this,void 0,void 0,(function*(){null==e&&(e={});const r={method:e.method||"GET",headers:e.headers||{},body:e.body||void 0};!0!==e.skipFetchSetup&&(r.mode="cors",r.cache="no-cache",r.credentials="same-origin",r.redirect="follow",r.referrer="client");const n=yield fetch(t,r),o=yield n.arrayBuffer(),s={};return n.headers.forEach?n.headers.forEach(((t,e)=>{s[e.toLowerCase()]=t})):n.headers.keys().forEach((t=>{s[t.toLowerCase()]=n.headers.get(t)})),{headers:s,statusCode:n.status,statusMessage:n.statusText,body:(0,i.arrayify)(new Uint8Array(o))}}))}var h=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const c=new a.Logger("web/5.6.1");function f(t){return new Promise((e=>{setTimeout(e,t)}))}function d(t,e){if(null==t)return null;if("string"==typeof t)return t;if((0,i.isBytesLike)(t)){if(e&&("text"===e.split("/")[0]||"application/json"===e.split(";")[0].trim()))try{return(0,s.ZN)(t)}catch(t){}return(0,i.hexlify)(t)}return t}function p(t,e,r){const i="object"==typeof t&&null!=t.throttleLimit?t.throttleLimit:12;c.assertArgument(i>0&&i%1==0,"invalid connection throttle limit","connection.throttleLimit",i);const o="object"==typeof t?t.throttleCallback:null,u="object"==typeof t&&"number"==typeof t.throttleSlotInterval?t.throttleSlotInterval:100;c.assertArgument(u>0&&u%1==0,"invalid connection throttle slot interval","connection.throttleSlotInterval",u);const p="object"==typeof t&&!!t.errorPassThrough,m={};let g=null;const y={method:"GET"};let v=!1,b=12e4;if("string"==typeof t)g=t;else if("object"==typeof t){if(null!=t&&null!=t.url||c.throwArgumentError("missing URL","connection.url",t),g=t.url,"number"==typeof t.timeout&&t.timeout>0&&(b=t.timeout),t.headers)for(const e in t.headers)m[e.toLowerCase()]={key:e,value:String(t.headers[e])},["if-none-match","if-modified-since"].indexOf(e.toLowerCase())>=0&&(v=!0);if(y.allowGzip=!!t.allowGzip,null!=t.user&&null!=t.password){"https:"!==g.substring(0,6)&&!0!==t.allowInsecureAuthentication&&c.throwError("basic authentication requires a secure https url",a.Logger.errors.INVALID_ARGUMENT,{argument:"url",url:g,user:t.user,password:"[REDACTED]"});const e=t.user+":"+t.password;m.authorization={key:"Authorization",value:"Basic "+(0,n.c)((0,s.Y0)(e))}}null!=t.skipFetchSetup&&(y.skipFetchSetup=!!t.skipFetchSetup)}const w=new RegExp("^data:([a-z0-9-]+/[a-z0-9-]+);base64,(.*)$","i"),E=g?g.match(w):null;if(E)try{const t={statusCode:200,statusMessage:"OK",headers:{"content-type":E[1]},body:(0,n.J)(E[2])};let e=t.body;return r&&(e=r(t.body,t)),Promise.resolve(e)}catch(t){c.throwError("processing response error",a.Logger.errors.SERVER_ERROR,{body:d(E[1],E[2]),error:t,requestBody:null,requestMethod:"GET",url:g})}e&&(y.method="POST",y.body=e,null==m["content-type"]&&(m["content-type"]={key:"Content-Type",value:"application/octet-stream"}),null==m["content-length"]&&(m["content-length"]={key:"Content-Length",value:String(e.length)}));const A={};Object.keys(m).forEach((t=>{const e=m[t];A[e.key]=e.value})),y.headers=A;const _=function(){let t=null;return{promise:new Promise((function(e,r){b&&(t=setTimeout((()=>{null!=t&&(t=null,r(c.makeError("timeout",a.Logger.errors.TIMEOUT,{requestBody:d(y.body,A["content-type"]),requestMethod:y.method,timeout:b,url:g})))}),b))})),cancel:function(){null!=t&&(clearTimeout(t),t=null)}}}(),M=function(){return h(this,void 0,void 0,(function*(){for(let t=0;t=300)&&(_.cancel(),c.throwError("bad response",a.Logger.errors.SERVER_ERROR,{status:e.statusCode,headers:e.headers,body:d(n,e.headers?e.headers["content-type"]:null),requestBody:d(y.body,A["content-type"]),requestMethod:y.method,url:g})),r)try{const t=yield r(n,e);return _.cancel(),t}catch(r){if(r.throttleRetry&&t"content-type"===t.toLowerCase())).length||(r.headers=(0,o.shallowCopy)(r.headers),r.headers["content-type"]="application/json")}else r.headers={"content-type":"application/json"};t=r}return p(t,n,((t,e)=>{let n=null;if(null!=t)try{n=JSON.parse((0,s.ZN)(t))}catch(e){c.throwError("invalid JSON",a.Logger.errors.SERVER_ERROR,{body:t,error:e})}return r&&(n=r(n,e)),n}))}function g(t,e){return e||(e={}),null==(e=(0,o.shallowCopy)(e)).floor&&(e.floor=0),null==e.ceiling&&(e.ceiling=1e4),null==e.interval&&(e.interval=250),new Promise((function(r,n){let i=null,o=!1;const s=()=>!o&&(o=!0,i&&clearTimeout(i),!0);e.timeout&&(i=setTimeout((()=>{s()&&n(new Error("timeout"))}),e.timeout));const a=e.retryLimit;let u=0;!function i(){return t().then((function(t){if(void 0!==t)s()&&r(t);else if(e.oncePoll)e.oncePoll.once("poll",i);else if(e.onceBlock)e.onceBlock.once("block",i);else if(!o){if(u++,u>a)return void(s()&&n(new Error("retry limit reached")));let t=e.interval*parseInt(String(Math.random()*Math.pow(2,u)));te.ceiling&&(t=e.ceiling),setTimeout(i,t)}return null}),(function(t){s()&&n(t)}))}()}))}},41257:function(t,e,r){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var s;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{s="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(94083).Buffer}catch(t){}function a(t,e){var r=t.charCodeAt(e);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+t)}function u(t,e,r){var n=a(t,r);return r-1>=e&&(n|=a(t,r-1)<<4),n}function l(t,e,r,i){for(var o=0,s=0,a=Math.min(t.length,r),u=e;u=49?l-49+10:l>=17?l-17+10:l,n(l>=0&&s0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"==typeof t)return this._initNumber(t,e,r);if("object"==typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)s=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=s<>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===r)for(i=0,o=0;i>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this._strip()},o.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n=e;n-=2)i=u(t,e,n)<=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else for(n=(t.length-e)%2==0?e+1:e;n=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;this._strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,s=o%n,a=Math.min(o,o-s)+r,u=0,h=r;h1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=c}catch(t){o.prototype.inspect=c}else o.prototype.inspect=c;function c(){return(this.red?""}var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,s=0;s>>24-i&16777215,(i+=2)>=26&&(i-=26,s--),r=0!==o||s!==this.length-1?f[6-u.length]+u+r:u+r}for(0!==o&&(r=o.toString(16)+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var l=d[t],h=p[t];r="";var c=this.clone();for(c.negative=0;!c.isZero();){var m=c.modrn(h).toString(t);r=(c=c.idivn(h)).isZero()?m+r:f[l-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16,2)},s&&(o.prototype.toBuffer=function(t,e){return this.toArrayLike(s,t,e)}),o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)};function m(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],s=i*o,a=67108863&s,u=s/67108864|0;r.words[0]=a;for(var l=1;l>>26,c=67108863&u,f=Math.min(l,e.length-1),d=Math.max(0,l-t.length+1);d<=f;d++){var p=l-d|0;h+=(s=(i=0|t.words[p])*(o=0|e.words[d])+c)/67108864|0,c=67108863&s}r.words[l]=0|c,u=0|h}return 0!==u?r.words[l]=0|u:r.length--,r._strip()}o.prototype.toArrayLike=function(t,e,r){this._strip();var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0");var s=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](s,i),s},o.prototype._toArrayLikeLE=function(t,e){for(var r=0,n=0,i=0,o=0;i>8&255),r>16&255),6===o?(r>24&255),n=0,o=0):(n=s>>>24,o+=2)}if(r=0&&(t[r--]=s>>8&255),r>=0&&(t[r--]=s>>16&255),6===o?(r>=0&&(t[r--]=s>>24&255),n=0,o=0):(n=s>>>24,o+=2)}if(r>=0)for(t[r--]=n;r>=0;)t[r--]=0},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;rt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;nt.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,s=0;s>26,this.words[s]=67108863&e;for(;0!==o&&s>26,this.words[s]=67108863&e;if(0===o&&s>>13,d=0|s[1],p=8191&d,m=d>>>13,g=0|s[2],y=8191&g,v=g>>>13,b=0|s[3],w=8191&b,E=b>>>13,A=0|s[4],_=8191&A,M=A>>>13,P=0|s[5],S=8191&P,k=P>>>13,x=0|s[6],N=8191&x,R=x>>>13,I=0|s[7],O=8191&I,T=I>>>13,C=0|s[8],F=8191&C,B=C>>>13,L=0|s[9],D=8191&L,U=L>>>13,j=0|a[0],G=8191&j,q=j>>>13,z=0|a[1],K=8191&z,V=z>>>13,$=0|a[2],H=8191&$,W=$>>>13,J=0|a[3],Z=8191&J,X=J>>>13,Y=0|a[4],Q=8191&Y,tt=Y>>>13,et=0|a[5],rt=8191&et,nt=et>>>13,it=0|a[6],ot=8191&it,st=it>>>13,at=0|a[7],ut=8191&at,lt=at>>>13,ht=0|a[8],ct=8191&ht,ft=ht>>>13,dt=0|a[9],pt=8191&dt,mt=dt>>>13;r.negative=t.negative^e.negative,r.length=19;var gt=(l+(n=Math.imul(c,G))|0)+((8191&(i=(i=Math.imul(c,q))+Math.imul(f,G)|0))<<13)|0;l=((o=Math.imul(f,q))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(p,G),i=(i=Math.imul(p,q))+Math.imul(m,G)|0,o=Math.imul(m,q);var yt=(l+(n=n+Math.imul(c,K)|0)|0)+((8191&(i=(i=i+Math.imul(c,V)|0)+Math.imul(f,K)|0))<<13)|0;l=((o=o+Math.imul(f,V)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(y,G),i=(i=Math.imul(y,q))+Math.imul(v,G)|0,o=Math.imul(v,q),n=n+Math.imul(p,K)|0,i=(i=i+Math.imul(p,V)|0)+Math.imul(m,K)|0,o=o+Math.imul(m,V)|0;var vt=(l+(n=n+Math.imul(c,H)|0)|0)+((8191&(i=(i=i+Math.imul(c,W)|0)+Math.imul(f,H)|0))<<13)|0;l=((o=o+Math.imul(f,W)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(w,G),i=(i=Math.imul(w,q))+Math.imul(E,G)|0,o=Math.imul(E,q),n=n+Math.imul(y,K)|0,i=(i=i+Math.imul(y,V)|0)+Math.imul(v,K)|0,o=o+Math.imul(v,V)|0,n=n+Math.imul(p,H)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(m,H)|0,o=o+Math.imul(m,W)|0;var bt=(l+(n=n+Math.imul(c,Z)|0)|0)+((8191&(i=(i=i+Math.imul(c,X)|0)+Math.imul(f,Z)|0))<<13)|0;l=((o=o+Math.imul(f,X)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(_,G),i=(i=Math.imul(_,q))+Math.imul(M,G)|0,o=Math.imul(M,q),n=n+Math.imul(w,K)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(E,K)|0,o=o+Math.imul(E,V)|0,n=n+Math.imul(y,H)|0,i=(i=i+Math.imul(y,W)|0)+Math.imul(v,H)|0,o=o+Math.imul(v,W)|0,n=n+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Z)|0,o=o+Math.imul(m,X)|0;var wt=(l+(n=n+Math.imul(c,Q)|0)|0)+((8191&(i=(i=i+Math.imul(c,tt)|0)+Math.imul(f,Q)|0))<<13)|0;l=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(S,G),i=(i=Math.imul(S,q))+Math.imul(k,G)|0,o=Math.imul(k,q),n=n+Math.imul(_,K)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,V)|0,n=n+Math.imul(w,H)|0,i=(i=i+Math.imul(w,W)|0)+Math.imul(E,H)|0,o=o+Math.imul(E,W)|0,n=n+Math.imul(y,Z)|0,i=(i=i+Math.imul(y,X)|0)+Math.imul(v,Z)|0,o=o+Math.imul(v,X)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0;var Et=(l+(n=n+Math.imul(c,rt)|0)|0)+((8191&(i=(i=i+Math.imul(c,nt)|0)+Math.imul(f,rt)|0))<<13)|0;l=((o=o+Math.imul(f,nt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(N,G),i=(i=Math.imul(N,q))+Math.imul(R,G)|0,o=Math.imul(R,q),n=n+Math.imul(S,K)|0,i=(i=i+Math.imul(S,V)|0)+Math.imul(k,K)|0,o=o+Math.imul(k,V)|0,n=n+Math.imul(_,H)|0,i=(i=i+Math.imul(_,W)|0)+Math.imul(M,H)|0,o=o+Math.imul(M,W)|0,n=n+Math.imul(w,Z)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(E,Z)|0,o=o+Math.imul(E,X)|0,n=n+Math.imul(y,Q)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(v,Q)|0,o=o+Math.imul(v,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0;var At=(l+(n=n+Math.imul(c,ot)|0)|0)+((8191&(i=(i=i+Math.imul(c,st)|0)+Math.imul(f,ot)|0))<<13)|0;l=((o=o+Math.imul(f,st)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(O,G),i=(i=Math.imul(O,q))+Math.imul(T,G)|0,o=Math.imul(T,q),n=n+Math.imul(N,K)|0,i=(i=i+Math.imul(N,V)|0)+Math.imul(R,K)|0,o=o+Math.imul(R,V)|0,n=n+Math.imul(S,H)|0,i=(i=i+Math.imul(S,W)|0)+Math.imul(k,H)|0,o=o+Math.imul(k,W)|0,n=n+Math.imul(_,Z)|0,i=(i=i+Math.imul(_,X)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,X)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,tt)|0)+Math.imul(E,Q)|0,o=o+Math.imul(E,tt)|0,n=n+Math.imul(y,rt)|0,i=(i=i+Math.imul(y,nt)|0)+Math.imul(v,rt)|0,o=o+Math.imul(v,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,st)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,st)|0;var _t=(l+(n=n+Math.imul(c,ut)|0)|0)+((8191&(i=(i=i+Math.imul(c,lt)|0)+Math.imul(f,ut)|0))<<13)|0;l=((o=o+Math.imul(f,lt)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(F,G),i=(i=Math.imul(F,q))+Math.imul(B,G)|0,o=Math.imul(B,q),n=n+Math.imul(O,K)|0,i=(i=i+Math.imul(O,V)|0)+Math.imul(T,K)|0,o=o+Math.imul(T,V)|0,n=n+Math.imul(N,H)|0,i=(i=i+Math.imul(N,W)|0)+Math.imul(R,H)|0,o=o+Math.imul(R,W)|0,n=n+Math.imul(S,Z)|0,i=(i=i+Math.imul(S,X)|0)+Math.imul(k,Z)|0,o=o+Math.imul(k,X)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(M,Q)|0,o=o+Math.imul(M,tt)|0,n=n+Math.imul(w,rt)|0,i=(i=i+Math.imul(w,nt)|0)+Math.imul(E,rt)|0,o=o+Math.imul(E,nt)|0,n=n+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,st)|0)+Math.imul(v,ot)|0,o=o+Math.imul(v,st)|0,n=n+Math.imul(p,ut)|0,i=(i=i+Math.imul(p,lt)|0)+Math.imul(m,ut)|0,o=o+Math.imul(m,lt)|0;var Mt=(l+(n=n+Math.imul(c,ct)|0)|0)+((8191&(i=(i=i+Math.imul(c,ft)|0)+Math.imul(f,ct)|0))<<13)|0;l=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(D,G),i=(i=Math.imul(D,q))+Math.imul(U,G)|0,o=Math.imul(U,q),n=n+Math.imul(F,K)|0,i=(i=i+Math.imul(F,V)|0)+Math.imul(B,K)|0,o=o+Math.imul(B,V)|0,n=n+Math.imul(O,H)|0,i=(i=i+Math.imul(O,W)|0)+Math.imul(T,H)|0,o=o+Math.imul(T,W)|0,n=n+Math.imul(N,Z)|0,i=(i=i+Math.imul(N,X)|0)+Math.imul(R,Z)|0,o=o+Math.imul(R,X)|0,n=n+Math.imul(S,Q)|0,i=(i=i+Math.imul(S,tt)|0)+Math.imul(k,Q)|0,o=o+Math.imul(k,tt)|0,n=n+Math.imul(_,rt)|0,i=(i=i+Math.imul(_,nt)|0)+Math.imul(M,rt)|0,o=o+Math.imul(M,nt)|0,n=n+Math.imul(w,ot)|0,i=(i=i+Math.imul(w,st)|0)+Math.imul(E,ot)|0,o=o+Math.imul(E,st)|0,n=n+Math.imul(y,ut)|0,i=(i=i+Math.imul(y,lt)|0)+Math.imul(v,ut)|0,o=o+Math.imul(v,lt)|0,n=n+Math.imul(p,ct)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(m,ct)|0,o=o+Math.imul(m,ft)|0;var Pt=(l+(n=n+Math.imul(c,pt)|0)|0)+((8191&(i=(i=i+Math.imul(c,mt)|0)+Math.imul(f,pt)|0))<<13)|0;l=((o=o+Math.imul(f,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(D,K),i=(i=Math.imul(D,V))+Math.imul(U,K)|0,o=Math.imul(U,V),n=n+Math.imul(F,H)|0,i=(i=i+Math.imul(F,W)|0)+Math.imul(B,H)|0,o=o+Math.imul(B,W)|0,n=n+Math.imul(O,Z)|0,i=(i=i+Math.imul(O,X)|0)+Math.imul(T,Z)|0,o=o+Math.imul(T,X)|0,n=n+Math.imul(N,Q)|0,i=(i=i+Math.imul(N,tt)|0)+Math.imul(R,Q)|0,o=o+Math.imul(R,tt)|0,n=n+Math.imul(S,rt)|0,i=(i=i+Math.imul(S,nt)|0)+Math.imul(k,rt)|0,o=o+Math.imul(k,nt)|0,n=n+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,st)|0)+Math.imul(M,ot)|0,o=o+Math.imul(M,st)|0,n=n+Math.imul(w,ut)|0,i=(i=i+Math.imul(w,lt)|0)+Math.imul(E,ut)|0,o=o+Math.imul(E,lt)|0,n=n+Math.imul(y,ct)|0,i=(i=i+Math.imul(y,ft)|0)+Math.imul(v,ct)|0,o=o+Math.imul(v,ft)|0;var St=(l+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;l=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(D,H),i=(i=Math.imul(D,W))+Math.imul(U,H)|0,o=Math.imul(U,W),n=n+Math.imul(F,Z)|0,i=(i=i+Math.imul(F,X)|0)+Math.imul(B,Z)|0,o=o+Math.imul(B,X)|0,n=n+Math.imul(O,Q)|0,i=(i=i+Math.imul(O,tt)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,tt)|0,n=n+Math.imul(N,rt)|0,i=(i=i+Math.imul(N,nt)|0)+Math.imul(R,rt)|0,o=o+Math.imul(R,nt)|0,n=n+Math.imul(S,ot)|0,i=(i=i+Math.imul(S,st)|0)+Math.imul(k,ot)|0,o=o+Math.imul(k,st)|0,n=n+Math.imul(_,ut)|0,i=(i=i+Math.imul(_,lt)|0)+Math.imul(M,ut)|0,o=o+Math.imul(M,lt)|0,n=n+Math.imul(w,ct)|0,i=(i=i+Math.imul(w,ft)|0)+Math.imul(E,ct)|0,o=o+Math.imul(E,ft)|0;var kt=(l+(n=n+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(v,pt)|0))<<13)|0;l=((o=o+Math.imul(v,mt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(D,Z),i=(i=Math.imul(D,X))+Math.imul(U,Z)|0,o=Math.imul(U,X),n=n+Math.imul(F,Q)|0,i=(i=i+Math.imul(F,tt)|0)+Math.imul(B,Q)|0,o=o+Math.imul(B,tt)|0,n=n+Math.imul(O,rt)|0,i=(i=i+Math.imul(O,nt)|0)+Math.imul(T,rt)|0,o=o+Math.imul(T,nt)|0,n=n+Math.imul(N,ot)|0,i=(i=i+Math.imul(N,st)|0)+Math.imul(R,ot)|0,o=o+Math.imul(R,st)|0,n=n+Math.imul(S,ut)|0,i=(i=i+Math.imul(S,lt)|0)+Math.imul(k,ut)|0,o=o+Math.imul(k,lt)|0,n=n+Math.imul(_,ct)|0,i=(i=i+Math.imul(_,ft)|0)+Math.imul(M,ct)|0,o=o+Math.imul(M,ft)|0;var xt=(l+(n=n+Math.imul(w,pt)|0)|0)+((8191&(i=(i=i+Math.imul(w,mt)|0)+Math.imul(E,pt)|0))<<13)|0;l=((o=o+Math.imul(E,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(D,Q),i=(i=Math.imul(D,tt))+Math.imul(U,Q)|0,o=Math.imul(U,tt),n=n+Math.imul(F,rt)|0,i=(i=i+Math.imul(F,nt)|0)+Math.imul(B,rt)|0,o=o+Math.imul(B,nt)|0,n=n+Math.imul(O,ot)|0,i=(i=i+Math.imul(O,st)|0)+Math.imul(T,ot)|0,o=o+Math.imul(T,st)|0,n=n+Math.imul(N,ut)|0,i=(i=i+Math.imul(N,lt)|0)+Math.imul(R,ut)|0,o=o+Math.imul(R,lt)|0,n=n+Math.imul(S,ct)|0,i=(i=i+Math.imul(S,ft)|0)+Math.imul(k,ct)|0,o=o+Math.imul(k,ft)|0;var Nt=(l+(n=n+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(M,pt)|0))<<13)|0;l=((o=o+Math.imul(M,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul(D,rt),i=(i=Math.imul(D,nt))+Math.imul(U,rt)|0,o=Math.imul(U,nt),n=n+Math.imul(F,ot)|0,i=(i=i+Math.imul(F,st)|0)+Math.imul(B,ot)|0,o=o+Math.imul(B,st)|0,n=n+Math.imul(O,ut)|0,i=(i=i+Math.imul(O,lt)|0)+Math.imul(T,ut)|0,o=o+Math.imul(T,lt)|0,n=n+Math.imul(N,ct)|0,i=(i=i+Math.imul(N,ft)|0)+Math.imul(R,ct)|0,o=o+Math.imul(R,ft)|0;var Rt=(l+(n=n+Math.imul(S,pt)|0)|0)+((8191&(i=(i=i+Math.imul(S,mt)|0)+Math.imul(k,pt)|0))<<13)|0;l=((o=o+Math.imul(k,mt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(D,ot),i=(i=Math.imul(D,st))+Math.imul(U,ot)|0,o=Math.imul(U,st),n=n+Math.imul(F,ut)|0,i=(i=i+Math.imul(F,lt)|0)+Math.imul(B,ut)|0,o=o+Math.imul(B,lt)|0,n=n+Math.imul(O,ct)|0,i=(i=i+Math.imul(O,ft)|0)+Math.imul(T,ct)|0,o=o+Math.imul(T,ft)|0;var It=(l+(n=n+Math.imul(N,pt)|0)|0)+((8191&(i=(i=i+Math.imul(N,mt)|0)+Math.imul(R,pt)|0))<<13)|0;l=((o=o+Math.imul(R,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(D,ut),i=(i=Math.imul(D,lt))+Math.imul(U,ut)|0,o=Math.imul(U,lt),n=n+Math.imul(F,ct)|0,i=(i=i+Math.imul(F,ft)|0)+Math.imul(B,ct)|0,o=o+Math.imul(B,ft)|0;var Ot=(l+(n=n+Math.imul(O,pt)|0)|0)+((8191&(i=(i=i+Math.imul(O,mt)|0)+Math.imul(T,pt)|0))<<13)|0;l=((o=o+Math.imul(T,mt)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(D,ct),i=(i=Math.imul(D,ft))+Math.imul(U,ct)|0,o=Math.imul(U,ft);var Tt=(l+(n=n+Math.imul(F,pt)|0)|0)+((8191&(i=(i=i+Math.imul(F,mt)|0)+Math.imul(B,pt)|0))<<13)|0;l=((o=o+Math.imul(B,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863;var Ct=(l+(n=Math.imul(D,pt))|0)+((8191&(i=(i=Math.imul(D,mt))+Math.imul(U,pt)|0))<<13)|0;return l=((o=Math.imul(U,mt))+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,u[0]=gt,u[1]=yt,u[2]=vt,u[3]=bt,u[4]=wt,u[5]=Et,u[6]=At,u[7]=_t,u[8]=Mt,u[9]=Pt,u[10]=St,u[11]=kt,u[12]=xt,u[13]=Nt,u[14]=Rt,u[15]=It,u[16]=Ot,u[17]=Tt,u[18]=Ct,0!==l&&(u[19]=l,r.length++),r};function y(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o>>26)|0)>>>26,s&=67108863}r.words[o]=a,n=s,s=i}return 0!==n?r.words[o]=n:r.length--,r._strip()}function v(t,e,r){return y(t,e,r)}function b(t,e){this.x=t,this.y=e}Math.imul||(g=m),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?g(this,t,e):r<63?m(this,t,e):r<1024?y(this,t,e):v(this,t,e)},b.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n>=1;return n},b.prototype.permute=function(t,e,r,n,i,o){for(var s=0;s>>=1)i++;return 1<>>=13,r[2*s+1]=8191&o,o>>>=13;for(s=2*e;s>=26,r+=o/67108864|0,r+=s>>>26,this.words[i]=67108863&s}return 0!==r&&(this.words[i]=r,this.length++),e?this.ineg():this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r>>i&1}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var s=0;for(e=0;e>>26-r}s&&(this.words[e]=s,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,s=Math.min((t-o)/26,this.length),a=67108863^67108863>>>o<s)for(this.length-=s,l=0;l=0&&(0!==h||l>=i);l--){var c=0|this.words[l];this.words[l]=h<<26-o|c>>>o,h=c&a}return u&&0!==h&&(u.words[u.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===a)return this._strip();for(n(-1===a),a=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,s=0|i.words[i.length-1];0!==(r=26-this._countBits(s))&&(i=i.ushln(r),n.iushln(r),s=0|i.words[i.length-1]);var a,u=n.length-i.length;if("mod"!==e){(a=new o(null)).length=u+1,a.words=new Array(a.length);for(var l=0;l=0;c--){var f=67108864*(0|n.words[i.length+c])+(0|n.words[i.length+c-1]);for(f=Math.min(f/s|0,67108863),n._ishlnsubmul(i,f,c);0!==n.negative;)f--,n.negative=0,n._ishlnsubmul(i,1,c),n.isZero()||(n.negative^=1);a&&(a.words[c]=f)}return a&&a._strip(),n._strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(a=this.neg().divmod(t,e),"mod"!==e&&(i=a.div.neg()),"div"!==e&&(s=a.mod.neg(),r&&0!==s.negative&&s.iadd(t)),{div:i,mod:s}):0===this.negative&&0!==t.negative?(a=this.divmod(t.neg(),e),"mod"!==e&&(i=a.div.neg()),{div:i,mod:a.mod}):0!=(this.negative&t.negative)?(a=this.neg().divmod(t.neg(),e),"div"!==e&&(s=a.mod.neg(),r&&0!==s.negative&&s.isub(t)),{div:a.div,mod:s}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modrn(t.words[0]))}:this._wordDiv(t,e);var i,s,a},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modrn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=(1<<26)%t,i=0,o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%t;return e?-i:i},o.prototype.modn=function(t){return this.modrn(t)},o.prototype.idivn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/t|0,r=o%t}return this._strip(),e?this.ineg():this},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),s=new o(0),a=new o(0),u=new o(1),l=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++l;for(var h=r.clone(),c=e.clone();!e.isZero();){for(var f=0,d=1;0==(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(i.isOdd()||s.isOdd())&&(i.iadd(h),s.isub(c)),i.iushrn(1),s.iushrn(1);for(var p=0,m=1;0==(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(a.isOdd()||u.isOdd())&&(a.iadd(h),u.isub(c)),a.iushrn(1),u.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(a),s.isub(u)):(r.isub(e),a.isub(i),u.isub(s))}return{a,b:u,gcd:r.iushln(l)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,s=new o(1),a=new o(0),u=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var l=0,h=1;0==(e.words[0]&h)&&l<26;++l,h<<=1);if(l>0)for(e.iushrn(l);l-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);for(var c=0,f=1;0==(r.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(r.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);e.cmp(r)>=0?(e.isub(r),s.isub(a)):(r.isub(e),a.isub(s))}return(i=0===e.cmpn(1)?s:a).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,r=(t-e)/26,i=1<>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){ni&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new S(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var w={k256:null,p224:null,p192:null,p25519:null};function E(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function A(){E.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){E.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function M(){E.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function P(){E.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function k(t){S.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}E.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},E.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},E.prototype.split=function(t,e){t.iushrn(this.n,0,e)},E.prototype.imulK=function(t){return t.imul(this.k)},i(A,E),A.prototype.split=function(t,e){for(var r=4194303,n=Math.min(t.length,9),i=0;i>>22,o=s}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},A.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(w[t])return w[t];var e;if("k256"===t)e=new A;else if("p224"===t)e=new _;else if("p192"===t)e=new M;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new P}return w[t]=e,e},S.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},S.prototype._verify2=function(t,e){n(0==(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},S.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(h(t,t.umod(this.m)._forceRed(this)),t)},S.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},S.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},S.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},S.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},S.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},S.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},S.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},S.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},S.prototype.isqr=function(t){return this.imul(t,t.clone())},S.prototype.sqr=function(t){return this.mul(t,t)},S.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2==1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),s=0;!i.isZero()&&0===i.andln(1);)s++,i.iushrn(1);n(!i.isZero());var a=new o(1).toRed(this),u=a.redNeg(),l=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new o(2*h*h).toRed(this);0!==this.pow(h,l).cmp(u);)h.redIAdd(u);for(var c=this.pow(h,i),f=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=s;0!==d.cmp(a);){for(var m=d,g=0;0!==m.cmp(a);g++)m=m.redSqr();n(g=0;n--){for(var l=e.words[n],h=u-1;h>=0;h--){var c=l>>h&1;i!==r[0]&&(i=this.sqr(i)),0!==c||0!==s?(s<<=1,s|=c,(4===++a||0===n&&0===h)&&(i=this.mul(i,r[s]),a=0,s=0)):a=0}u=26}return i},S.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},S.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new k(t)},i(k,S),k.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},k.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},k.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},k.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},k.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=r.nmd(t),this)},47796:function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),i=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&n(e,t,r);return i(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.formatBytes32String=e.Utf8ErrorFuncs=e.toUtf8String=e.toUtf8CodePoints=e.toUtf8Bytes=e._toEscapedUtf8String=e.nameprep=e.hexDataSlice=e.hexDataLength=e.hexZeroPad=e.hexValue=e.hexStripZeros=e.hexConcat=e.isHexString=e.hexlify=e.base64=e.base58=e.TransactionDescription=e.LogDescription=e.Interface=e.SigningKey=e.HDNode=e.defaultPath=e.isBytesLike=e.isBytes=e.zeroPad=e.stripZeros=e.concat=e.arrayify=e.shallowCopy=e.resolveProperties=e.getStatic=e.defineReadOnly=e.deepCopy=e.checkProperties=e.poll=e.fetchJson=e._fetchData=e.RLP=e.Logger=e.checkResultErrors=e.FormatTypes=e.ParamType=e.FunctionFragment=e.EventFragment=e.ErrorFragment=e.ConstructorFragment=e.Fragment=e.defaultAbiCoder=e.AbiCoder=void 0,e.Indexed=e.Utf8ErrorReason=e.UnicodeNormalizationForm=e.SupportedAlgorithm=e.mnemonicToSeed=e.isValidMnemonic=e.entropyToMnemonic=e.mnemonicToEntropy=e.getAccountPath=e.verifyTypedData=e.verifyMessage=e.recoverPublicKey=e.computePublicKey=e.recoverAddress=e.computeAddress=e.getJsonWalletAddress=e.TransactionTypes=e.serializeTransaction=e.parseTransaction=e.accessListify=e.joinSignature=e.splitSignature=e.soliditySha256=e.solidityKeccak256=e.solidityPack=e.shuffled=e.randomBytes=e.sha512=e.sha256=e.ripemd160=e.keccak256=e.computeHmac=e.commify=e.parseUnits=e.formatUnits=e.parseEther=e.formatEther=e.isAddress=e.getCreate2Address=e.getContractAddress=e.getIcapAddress=e.getAddress=e._TypedDataEncoder=e.id=e.isValidName=e.namehash=e.hashMessage=e.dnsEncode=e.parseBytes32String=void 0;var s=r(35289);Object.defineProperty(e,"AbiCoder",{enumerable:!0,get:function(){return s.AbiCoder}}),Object.defineProperty(e,"checkResultErrors",{enumerable:!0,get:function(){return s.checkResultErrors}}),Object.defineProperty(e,"ConstructorFragment",{enumerable:!0,get:function(){return s.ConstructorFragment}}),Object.defineProperty(e,"defaultAbiCoder",{enumerable:!0,get:function(){return s.defaultAbiCoder}}),Object.defineProperty(e,"ErrorFragment",{enumerable:!0,get:function(){return s.ErrorFragment}}),Object.defineProperty(e,"EventFragment",{enumerable:!0,get:function(){return s.EventFragment}}),Object.defineProperty(e,"FormatTypes",{enumerable:!0,get:function(){return s.FormatTypes}}),Object.defineProperty(e,"Fragment",{enumerable:!0,get:function(){return s.Fragment}}),Object.defineProperty(e,"FunctionFragment",{enumerable:!0,get:function(){return s.FunctionFragment}}),Object.defineProperty(e,"Indexed",{enumerable:!0,get:function(){return s.Indexed}}),Object.defineProperty(e,"Interface",{enumerable:!0,get:function(){return s.Interface}}),Object.defineProperty(e,"LogDescription",{enumerable:!0,get:function(){return s.LogDescription}}),Object.defineProperty(e,"ParamType",{enumerable:!0,get:function(){return s.ParamType}}),Object.defineProperty(e,"TransactionDescription",{enumerable:!0,get:function(){return s.TransactionDescription}});var a=r(13061);Object.defineProperty(e,"getAddress",{enumerable:!0,get:function(){return a.getAddress}}),Object.defineProperty(e,"getCreate2Address",{enumerable:!0,get:function(){return a.getCreate2Address}}),Object.defineProperty(e,"getContractAddress",{enumerable:!0,get:function(){return a.getContractAddress}}),Object.defineProperty(e,"getIcapAddress",{enumerable:!0,get:function(){return a.getIcapAddress}}),Object.defineProperty(e,"isAddress",{enumerable:!0,get:function(){return a.isAddress}});var u=o(r(41499));e.base64=u;var l=r(14694);Object.defineProperty(e,"base58",{enumerable:!0,get:function(){return l.Base58}});var h=r(56714);Object.defineProperty(e,"arrayify",{enumerable:!0,get:function(){return h.arrayify}}),Object.defineProperty(e,"concat",{enumerable:!0,get:function(){return h.concat}}),Object.defineProperty(e,"hexConcat",{enumerable:!0,get:function(){return h.hexConcat}}),Object.defineProperty(e,"hexDataSlice",{enumerable:!0,get:function(){return h.hexDataSlice}}),Object.defineProperty(e,"hexDataLength",{enumerable:!0,get:function(){return h.hexDataLength}}),Object.defineProperty(e,"hexlify",{enumerable:!0,get:function(){return h.hexlify}}),Object.defineProperty(e,"hexStripZeros",{enumerable:!0,get:function(){return h.hexStripZeros}}),Object.defineProperty(e,"hexValue",{enumerable:!0,get:function(){return h.hexValue}}),Object.defineProperty(e,"hexZeroPad",{enumerable:!0,get:function(){return h.hexZeroPad}}),Object.defineProperty(e,"isBytes",{enumerable:!0,get:function(){return h.isBytes}}),Object.defineProperty(e,"isBytesLike",{enumerable:!0,get:function(){return h.isBytesLike}}),Object.defineProperty(e,"isHexString",{enumerable:!0,get:function(){return h.isHexString}}),Object.defineProperty(e,"joinSignature",{enumerable:!0,get:function(){return h.joinSignature}}),Object.defineProperty(e,"zeroPad",{enumerable:!0,get:function(){return h.zeroPad}}),Object.defineProperty(e,"splitSignature",{enumerable:!0,get:function(){return h.splitSignature}}),Object.defineProperty(e,"stripZeros",{enumerable:!0,get:function(){return h.stripZeros}});var c=r(31388);Object.defineProperty(e,"_TypedDataEncoder",{enumerable:!0,get:function(){return c._TypedDataEncoder}}),Object.defineProperty(e,"dnsEncode",{enumerable:!0,get:function(){return c.dnsEncode}}),Object.defineProperty(e,"hashMessage",{enumerable:!0,get:function(){return c.hashMessage}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return c.id}}),Object.defineProperty(e,"isValidName",{enumerable:!0,get:function(){return c.isValidName}}),Object.defineProperty(e,"namehash",{enumerable:!0,get:function(){return c.namehash}});var f=r(94755);Object.defineProperty(e,"defaultPath",{enumerable:!0,get:function(){return f.defaultPath}}),Object.defineProperty(e,"entropyToMnemonic",{enumerable:!0,get:function(){return f.entropyToMnemonic}}),Object.defineProperty(e,"getAccountPath",{enumerable:!0,get:function(){return f.getAccountPath}}),Object.defineProperty(e,"HDNode",{enumerable:!0,get:function(){return f.HDNode}}),Object.defineProperty(e,"isValidMnemonic",{enumerable:!0,get:function(){return f.isValidMnemonic}}),Object.defineProperty(e,"mnemonicToEntropy",{enumerable:!0,get:function(){return f.mnemonicToEntropy}}),Object.defineProperty(e,"mnemonicToSeed",{enumerable:!0,get:function(){return f.mnemonicToSeed}});var d=r(40241);Object.defineProperty(e,"getJsonWalletAddress",{enumerable:!0,get:function(){return d.getJsonWalletAddress}});var p=r(16231);Object.defineProperty(e,"keccak256",{enumerable:!0,get:function(){return p.keccak256}});var m=r(53988);Object.defineProperty(e,"Logger",{enumerable:!0,get:function(){return m.Logger}});var g=r(8894);Object.defineProperty(e,"computeHmac",{enumerable:!0,get:function(){return g.computeHmac}}),Object.defineProperty(e,"ripemd160",{enumerable:!0,get:function(){return g.ripemd160}}),Object.defineProperty(e,"sha256",{enumerable:!0,get:function(){return g.sha256}}),Object.defineProperty(e,"sha512",{enumerable:!0,get:function(){return g.sha512}});var y=r(34022);Object.defineProperty(e,"solidityKeccak256",{enumerable:!0,get:function(){return y.keccak256}}),Object.defineProperty(e,"solidityPack",{enumerable:!0,get:function(){return y.pack}}),Object.defineProperty(e,"soliditySha256",{enumerable:!0,get:function(){return y.sha256}});var v=r(72144);Object.defineProperty(e,"randomBytes",{enumerable:!0,get:function(){return v.randomBytes}}),Object.defineProperty(e,"shuffled",{enumerable:!0,get:function(){return v.shuffled}});var b=r(57e3);Object.defineProperty(e,"checkProperties",{enumerable:!0,get:function(){return b.checkProperties}}),Object.defineProperty(e,"deepCopy",{enumerable:!0,get:function(){return b.deepCopy}}),Object.defineProperty(e,"defineReadOnly",{enumerable:!0,get:function(){return b.defineReadOnly}}),Object.defineProperty(e,"getStatic",{enumerable:!0,get:function(){return b.getStatic}}),Object.defineProperty(e,"resolveProperties",{enumerable:!0,get:function(){return b.resolveProperties}}),Object.defineProperty(e,"shallowCopy",{enumerable:!0,get:function(){return b.shallowCopy}});var w=o(r(38273));e.RLP=w;var E=r(52619);Object.defineProperty(e,"computePublicKey",{enumerable:!0,get:function(){return E.computePublicKey}}),Object.defineProperty(e,"recoverPublicKey",{enumerable:!0,get:function(){return E.recoverPublicKey}}),Object.defineProperty(e,"SigningKey",{enumerable:!0,get:function(){return E.SigningKey}});var A=r(87325);Object.defineProperty(e,"formatBytes32String",{enumerable:!0,get:function(){return A.formatBytes32String}}),Object.defineProperty(e,"nameprep",{enumerable:!0,get:function(){return A.nameprep}}),Object.defineProperty(e,"parseBytes32String",{enumerable:!0,get:function(){return A.parseBytes32String}}),Object.defineProperty(e,"_toEscapedUtf8String",{enumerable:!0,get:function(){return A._toEscapedUtf8String}}),Object.defineProperty(e,"toUtf8Bytes",{enumerable:!0,get:function(){return A.toUtf8Bytes}}),Object.defineProperty(e,"toUtf8CodePoints",{enumerable:!0,get:function(){return A.toUtf8CodePoints}}),Object.defineProperty(e,"toUtf8String",{enumerable:!0,get:function(){return A.toUtf8String}}),Object.defineProperty(e,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return A.Utf8ErrorFuncs}});var _=r(96463);Object.defineProperty(e,"accessListify",{enumerable:!0,get:function(){return _.accessListify}}),Object.defineProperty(e,"computeAddress",{enumerable:!0,get:function(){return _.computeAddress}}),Object.defineProperty(e,"parseTransaction",{enumerable:!0,get:function(){return _.parse}}),Object.defineProperty(e,"recoverAddress",{enumerable:!0,get:function(){return _.recoverAddress}}),Object.defineProperty(e,"serializeTransaction",{enumerable:!0,get:function(){return _.serialize}}),Object.defineProperty(e,"TransactionTypes",{enumerable:!0,get:function(){return _.TransactionTypes}});var M=r(37709);Object.defineProperty(e,"commify",{enumerable:!0,get:function(){return M.commify}}),Object.defineProperty(e,"formatEther",{enumerable:!0,get:function(){return M.formatEther}}),Object.defineProperty(e,"parseEther",{enumerable:!0,get:function(){return M.parseEther}}),Object.defineProperty(e,"formatUnits",{enumerable:!0,get:function(){return M.formatUnits}}),Object.defineProperty(e,"parseUnits",{enumerable:!0,get:function(){return M.parseUnits}});var P=r(40113);Object.defineProperty(e,"verifyMessage",{enumerable:!0,get:function(){return P.verifyMessage}}),Object.defineProperty(e,"verifyTypedData",{enumerable:!0,get:function(){return P.verifyTypedData}});var S=r(18391);Object.defineProperty(e,"_fetchData",{enumerable:!0,get:function(){return S._fetchData}}),Object.defineProperty(e,"fetchJson",{enumerable:!0,get:function(){return S.fetchJson}}),Object.defineProperty(e,"poll",{enumerable:!0,get:function(){return S.poll}});var k=r(8894);Object.defineProperty(e,"SupportedAlgorithm",{enumerable:!0,get:function(){return k.SupportedAlgorithm}});var x=r(87325);Object.defineProperty(e,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return x.UnicodeNormalizationForm}}),Object.defineProperty(e,"Utf8ErrorReason",{enumerable:!0,get:function(){return x.Utf8ErrorReason}})}}]); \ No newline at end of file diff --git a/3880.6e326582.bundle.js b/3880.6e326582.bundle.js new file mode 100644 index 0000000..facce59 --- /dev/null +++ b/3880.6e326582.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkbingo_frontend=self.webpackChunkbingo_frontend||[]).push([[3880],{55142:(e,t,n)=>{n.d(t,{Z:()=>y});var a=n(18446),i=n.n(a),s=n(94184),l=n.n(s),r=n(67294),o=n(9120);const u="tab_tab__bNuRB",p="tab_tabItem__Jq6pC",m="tab_cur__lzqtz",d=(0,r.memo)((e=>{let{tab:t,list:n,setTab:a,className:i}=e;const s=(0,o.d)();return r.createElement("div",{className:l()(u,i),style:{width:(s?110:120)*n.length}},n.map(((e,n)=>r.createElement("div",{key:e,className:l()(p,{[m]:t===n}),onClick:()=>a(n)},e))))}),i()),y=d},6754:(e,t,n)=>{n.r(t),n.d(t,{default:()=>Ne});n(14574);var a,i,s=n(56590),l=n(67294),r=n(2804),o=n(29163),u=n(21449),p=n(76040),m=n(9120),d=n(28120),y=n(18446),c=n.n(y),b=n(27370);function f(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const g=o.ZP.div(a||(a=f(["\n border-radius: 16px;\n border: 1px solid rgba(255, 255, 255, 0.1);\n background: rgba(255, 255, 255, 0.04);\n padding: 19px;\n @media (max-width: 768px) {\n width: 164px;\n height: 190px;\n padding: 8px;\n }\n @media (max-width: 370px) {\n width: 124px;\n height: 148px;\n }\n h6 {\n font-size: 16px;\n font-weight: 300;\n line-height: 20px;\n color: #65edbc;\n margin-bottom: 20px;\n @media (max-width: 768px) {\n font-size: 12px;\n margin-bottom: 5px;\n }\n }\n & > div {\n @media (max-width: 768px) {\n transform-origin: 0% 0%;\n scale: 0.5;\n }\n @media (max-width: 370px) {\n scale: 0.35;\n }\n }\n"]))),v=o.ZP.div(i||(i=f(["\n width: 100%;\n display: flex;\n gap: 20px;\n // justify-content: space-between;\n flex-wrap: wrap;\n @media (max-width: 768px) {\n justify-content: space-between;\n gap: 10px;\n }\n"]))),T=(0,l.memo)((e=>{let{gameList:t}=e;return l.createElement(v,null,(null!=t?t:[]).map((e=>l.createElement(w,{item:e,key:e.roomIDStr}))))}),c()),w=(0,l.memo)((e=>{let{item:t}=e;return l.createElement(g,null,l.createElement("h6",null,t.roomIDStr),l.createElement(b.dy,{cardNumbers:t.bingoInfo.cardNumbers,selectedNumbers:t.bingoInfo.selectedNumbers,className:"profileBingoItem"}))}),c()),N=T;n(1025);var _=n(65400),E=n(54549),x=n(74942);const h=(0,r.cn)({key:"levelRuleDialog",default:!1}),M="levelRuleDialog_zindex__SzWus",k="levelRuleDialog_dialogContent__uZvBV",I="levelRuleDialog_cursor__W7Zkv",R="levelRuleDialog_dialogHeader__cFtlW",B="levelRuleDialog_dialogContainer__URN2x",A="levelRuleDialog_level__0D1su",C="levelRuleDialog_btnWrap__bo190",O="levelRuleDialog_btn__d+VOK",L=()=>{const e=(0,r.sJ)(h),t=(0,r.Zl)(h),n=(0,l.useCallback)((()=>{t(!1)}),[]);return l.createElement(l.Fragment,null,l.createElement(x.t9,{isOpen:e,onDismiss:n,className:M},l.createElement(x.cZ,{className:k},l.createElement("div",{className:R},l.createElement("h3",null,"Levels & Rules"),l.createElement("div",{className:I,onClick:n},l.createElement(E.Z,null))),l.createElement("div",{className:B},[{img:"level1.svg",title:"🌱 Bingo Newbie",content:"A symbol of new beginnings. Embark on your zBingo adventure, pledging up to 5,000 $GP per game."},{img:"level2.svg",title:"🚀 Bingo Boss",content:"An emblem of your escalating mastery. Triumph in 10 games to ascend to Boss status, unlocking the ability to pledge 5,000 or 10,000 $GP per game."},{img:"level3.svg",title:"🏆 Bingo Baron",content:"The crown of strategic dominance. Surpass 25 wins to elevate to Baron status, where you can pledge 5,000, 10,000, or 20,000 $GP per game."}].map((e=>l.createElement("div",{className:A,key:e.img},l.createElement("img",{src:"/img/profile/".concat(e.img),alt:e.title}),l.createElement("div",null,l.createElement("h4",null,e.title),l.createElement("p",null,e.content)))))),l.createElement("div",{className:C},l.createElement(_.default,{className:O,onClick:n},"Ok")))))};var S=n(66847),D=n(88017),j=n(61511);const W="profileBanner_header__jQN4E",G="profileBanner_bannerInner__soIzl",P="profileBanner_avatarBorder__z23xW",Z="profileBanner_account__6-B4m",z="profileBanner_box__rIJgU",F="profileBanner_address__A65pv",J="profileBanner_data__Roj6l",U="profileBanner_mdataTop__iA+gc",q="profileBanner_mdataBottom__Aj5ab",V="profileBanner_item__dXhuC",$="profileBanner_levelImg__irDC4",H=(0,l.memo)((e=>{let{account:t,gamesLen:n,gamesWon:a,gamesWonNumber:i,winningPercent:s,inputNum:r,isMobile:o,winNum:u}=e;return l.createElement("div",{className:W},l.createElement("div",{className:G},l.createElement(S.Z,{className:Z,account:t,size:o?64:100,showAccount:!!o,AvatarBorder:K,AccountTextFrComp:()=>l.createElement(X,{gamesWonNumber:i})}),l.createElement("div",{className:z},o?null:l.createElement("div",{className:F},l.createElement("p",null,(0,D.LM)(t)),l.createElement(X,{gamesWonNumber:i})),l.createElement("div",{className:J},l.createElement(Q,{isMobile:o,className:U},l.createElement("div",{className:V},l.createElement("span",null,"Games"),l.createElement("em",null,n)),l.createElement("div",{className:V},l.createElement("span",null,"Games Won"),l.createElement("em",null,a)),l.createElement("div",{className:V},l.createElement("span",null,"Winning %"),l.createElement("em",null,s))),l.createElement(Q,{isMobile:o,className:q},l.createElement("div",{className:V},l.createElement("span",null,"Pledged"),l.createElement("em",null,r,l.createElement(j.Z,{isMobile:o}))),l.createElement("div",{className:V},l.createElement("span",null,"Winnings"),l.createElement("em",null,u,l.createElement(j.Z,{isMobile:o}))))))))}),c()),Q=(0,l.memo)((e=>{let{className:t,isMobile:n,children:a}=e;return n?l.createElement("div",{className:t}," ",a):l.createElement(l.Fragment,null,a)}),c()),K=(0,l.memo)((e=>{let{children:t}=e;return l.createElement("div",{className:P},t)}),c()),X=(0,l.memo)((e=>{let{gamesWonNumber:t}=e;const n=(0,l.useMemo)((()=>{const e=Number(t);return 10<=e&&e<=24?2:e>=25?3:1}),[t]),a=(0,r.Zl)(h),i=(0,l.useCallback)((()=>{a(!0)}),[]);return l.createElement("img",{onClick:i,src:"/img/profile/level".concat(n,".svg"),alt:"level",className:$})}),c()),Y=H;var ee=n(55142);const te=JSON.parse('[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"uint256","name":"initialId","type":"uint256"},{"internalType":"uint32","name":"maxSupply_","type":"uint32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"maxSupply_","type":"uint32"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]');var ne=n(44431),ae=n.n(ne),ie=n(76098),se=n(5975);const le=(e,t,n)=>(0,se.uN)({abi:te,address:null!=t?t:(0,ie.$y)(e,ie.iJ.Reward),signer:n,chainId:e});var re=n(2039),oe=n(59619);var ue=n(10208),pe=n(46474),me=n(80941);var de=n(81165);const ye="profile_profile__U5qAJ",ce="profile_content__87Ss8",be="profile_item__1epgS",fe="profile_main__MN67l";var ge;const ve=o.ZP.div(ge||(Te=["\n color: #65edbc;\n font-size: 16px;\n padding: 20px;\n top: 0;\n left: 0;\n position: absolute;\n"],we||(we=Te.slice(0)),ge=Object.freeze(Object.defineProperties(Te,{raw:{value:Object.freeze(we)}}))));var Te,we;const Ne=e=>{const[t,n]=(0,l.useState)(0),a=(0,r.Zl)(u.LR),[i,o]=(0,r.FV)(u.vA),{gamesLen:y,gamesWon:c,gamesWonNumber:b,winningPercent:f,inputNum:g,winNum:v,account:T,chainId:w}=(()=>{const{chainId:e,account:t}=(0,oe.a)(),[n,a]=(0,l.useState)({joinGameNumber:"-",winGameNumber:"-",inputNum:"-",winNum:"-"}),i=(0,l.useMemo)((()=>{const{joinGameNumber:e,winGameNumber:t}=n;return t&&e&&"-"!==e?(Number(t)/Number(e)*100).toFixed(2):0===Number(t)?"0%":"-"}),[n]),s=(0,l.useCallback)((async()=>{const n=null!=e?e:ie.VW,i=ie.d8[n];if(!i||!t)return;a({joinGameNumber:"-",winGameNumber:"-",inputNum:"-",winNum:"-"});const s=await(0,me.W)(i,{method:"POST",data:JSON.stringify({query:'query MyQuery {\n playerDatas(\n first: 1\n where: {player: "'.concat(t,'"}\n ) {\n joinAmount\n winAmount\n player\n jCount\n wCount\n }\n }'),variables:{},operationName:"MyQuery"}),headers:{"Content-Type":"application/json"}});s.data&&s.data.data&&s.data.data.playerDatas&&s.data.data.playerDatas.length&&a({joinGameNumber:"".concat(s.data.data.playerDatas[0].jCount),winGameNumber:"".concat(s.data.data.playerDatas[0].wCount),winNum:(0,D.lb)(Number(pe.formatEther(s.data.data.playerDatas[0].winAmount)),0),inputNum:(0,D.lb)(Number(pe.formatEther(s.data.data.playerDatas[0].joinAmount)),0)})}),[e,t]);return(0,l.useEffect)((()=>{e&&t&&s()}),[e,t]),{gamesLen:"".concat((0,D.lb)(Number(n.joinGameNumber),0)),gamesWon:"".concat((0,D.lb)(Number(n.winGameNumber),0)),gamesWonNumber:n.winGameNumber,winningPercent:i,inputNum:n.inputNum,winNum:n.winNum,account:t,chainId:e}})(),{list:_,listLoading:E}=(e=>{const[t,n]=(0,l.useState)(!1),[a,i]=(0,l.useState)([]),{chainId:s,account:r}=(0,oe.a)(),o=(0,l.useCallback)((async()=>{if(s&&r){n(!0);const e=(0,ie.$y)(s,ie.iJ.Reward),t=await le(s),a=await t.read.balanceOf([r]),l=new(ae())(a).toNumber();if(l>0){const t=new Array(l).fill("").map(((e,t)=>t)).map((t=>({reference:ie.iJ.Reward+t,contractAddress:e,abi:te,calls:[{methodName:"tokenOfOwnerByIndex",reference:"tokenOfOwnerByIndex",methodParameters:[r,t]}]}))),n=await(0,re.Z)();if(n){const{results:e}=await n.call(t);if(e){const t=Object.values(e).map((e=>{const t=e.callsReturnContext[0].returnValues[0].hex;return new(ae())(t).toString()}));i(t)}else i([])}}else i([]);n(!1)}}),[s,r]);return(0,l.useEffect)((()=>{s&&r&&2===e&&o()}),[s,r,e]),{list:a,listLoading:t}})(t),{playedGamesLoading:x}=(0,ue.wJ)({historyList:i,setHistoryList:o}),{list:h,listLoading:M}=(e=>{let{chainId:t,tab:n,historyList:a}=e;const{account:i}=(0,oe.a)(),[s,r]=(0,l.useState)(!1),[o,u]=(0,l.useState)(),p=(0,l.useCallback)((async()=>{if(a&&a.length){r(!0);const e=a.filter((e=>e.winner.toLowerCase()==="".concat(i).toLowerCase()));u(e),r(!1)}}),[(null!=a?a:[]).length,i]);return(0,l.useEffect)((()=>{1===n&&a&&a.length&&p()}),[a,n,i]),{list:o,listLoading:s}})({chainId:w,tab:t,historyList:i}),k=(0,m.d)(),[I,R]=(0,l.useState)();return(0,l.useEffect)((()=>{setTimeout((()=>{R(1)}),1e3)}),[]),(0,l.useEffect)((()=>{I&&a(!T)}),[I,T]),l.createElement(l.Fragment,null,l.createElement("div",{className:ye},l.createElement("div",{className:ce},l.createElement(Y,{account:T,gamesLen:y,gamesWon:c,winningPercent:f,inputNum:g,isMobile:k,winNum:v,gamesWonNumber:b}),l.createElement(ee.Z,{tab:t,setTab:n,list:["History","Bingo Card","My Box"]}),l.createElement("div",{className:fe},0===t?l.createElement(d.Z,{loading:null==x||x,dataSource:i,account:T,showFilter:!1}):1===t?h&&h.length?l.createElement(N,{gameList:h}):l.createElement(p.i,{loading:M||x}):l.createElement(s.default,{grid:{gutter:20,xs:2,sm:2,md:2,lg:3,xl:4,xxl:5},locale:{emptyText:l.createElement(p.i,{loading:E})},dataSource:_,renderItem:(e,t)=>l.createElement(s.default.Item,null,l.createElement("div",{className:be,key:t},l.createElement("img",{src:de,width:"100%"}),l.createElement(ve,null,"#",e)))})))),l.createElement(L,null))}},81165:(e,t,n)=>{e.exports=n.p+"asset/6a240e36bc.png"}}]); \ No newline at end of file diff --git a/3880.7dfbfd6e.chunk.css b/3880.7dfbfd6e.chunk.css new file mode 100644 index 0000000..fef5d93 --- /dev/null +++ b/3880.7dfbfd6e.chunk.css @@ -0,0 +1 @@ +.NoData_loadMore__JCdyH{margin-bottom:240px;margin-top:240px}.NoData_error__q2Zv6,.NoData_loadMore__JCdyH{display:flex;justify-content:center;position:relative}.NoData_error__q2Zv6{color:#fff;margin-bottom:40px;margin-top:40px}.gameListBorderSelect_borderSelect__bXlYV{position:absolute;right:0;top:-60px}div.ant-select-item{padding:10px 16px}.hyYiLfej7DeaGrnD9SAlDQ\=\={background:hsla(0,0%,100%,.04);border-radius:10px;margin-bottom:10px}.hyYiLfej7DeaGrnD9SAlDQ\=\= p{margin:0;padding:0}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\={background:hsla(0,0%,100%,.06);border-radius:10px;padding:10px}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .TDsVcS0KLemYaj3e3A5Y\+A\=\={color:hsla(0,0%,100%,.7);display:flex;font-size:12px;justify-content:space-between;line-height:22px}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .TDsVcS0KLemYaj3e3A5Y\+A\=\= .F8ga\+VQvAa-mNgOFotGtXA\=\= em{color:#fff;margin:0 8px}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .TDsVcS0KLemYaj3e3A5Y\+A\=\= .djXrC4YThClImoN-9tZ5dw\=\={align-items:center;background:rgba(0,0,0,.16);border-radius:12px;display:flex;height:22px;justify-content:center;line-height:22px;padding:0 8px}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .TDsVcS0KLemYaj3e3A5Y\+A\=\= .mAgbmQacSoldS9EfkLW\+nw\=\={background:rgba(101,237,188,.06);color:#65edbc}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\={margin-top:14px}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .EejJn\+2dIi0c9VS2ArnAJw\=\=,.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .ouUN6e03u0VYW8gUlP7cWA\=\={display:flex;justify-content:space-between}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .EejJn\+2dIi0c9VS2ArnAJw\=\=>div,.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .EejJn\+2dIi0c9VS2ArnAJw\=\=>p,.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .ouUN6e03u0VYW8gUlP7cWA\=\=>div,.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .ouUN6e03u0VYW8gUlP7cWA\=\=>p{width:33%}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .EejJn\+2dIi0c9VS2ArnAJw\=\=>div:nth-child(2),.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .EejJn\+2dIi0c9VS2ArnAJw\=\=>p:nth-child(2),.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .ouUN6e03u0VYW8gUlP7cWA\=\=>div:nth-child(2),.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .ouUN6e03u0VYW8gUlP7cWA\=\=>p:nth-child(2){justify-content:center;text-align:center}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .EejJn\+2dIi0c9VS2ArnAJw\=\=>div:last-child,.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .EejJn\+2dIi0c9VS2ArnAJw\=\=>p:last-child,.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .ouUN6e03u0VYW8gUlP7cWA\=\=>div:last-child,.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .ouUN6e03u0VYW8gUlP7cWA\=\=>p:last-child{justify-content:right;text-align:right}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .EejJn\+2dIi0c9VS2ArnAJw\=\={font-size:12px;margin-bottom:2px;opacity:.4}.hyYiLfej7DeaGrnD9SAlDQ\=\= .eYfPM-Rk1X4t4gtWvUKszg\=\= .EN7nyQI73mSQnaQ4f7hiTg\=\= .ouUN6e03u0VYW8gUlP7cWA\=\={font-size:16px;font-weight:600}.hyYiLfej7DeaGrnD9SAlDQ\=\= .PYIYCg\+ljPFIVcWaje4Rbg\=\={align-items:center;display:flex;justify-content:space-between;padding:10px}.hyYiLfej7DeaGrnD9SAlDQ\=\= .PYIYCg\+ljPFIVcWaje4Rbg\=\= .UA3b5F-dtxcskJyW6DGtrg\=\={align-items:center;display:flex;justify-content:space-between;margin-left:4px}.hyYiLfej7DeaGrnD9SAlDQ\=\= .PYIYCg\+ljPFIVcWaje4Rbg\=\= .UA3b5F-dtxcskJyW6DGtrg\=\= span{border:1px solid hsla(0,0%,100%,.2)!important;margin-left:-4px}.hyYiLfej7DeaGrnD9SAlDQ\=\= .PYIYCg\+ljPFIVcWaje4Rbg\=\= ._2ofZ0KbxbR3ufG0Togq4Ug\=\={font-size:12px;opacity:.7}.levelRuleDialog_zindex__SzWus{z-index:1001!important}.levelRuleDialog_dialogContent__uZvBV{background-color:#131313;border-radius:20px;color:#fff;font-size:14px;overflow:hidden;padding:0;width:440px}@media screen and (max-width:468px){.levelRuleDialog_dialogContent__uZvBV{width:320px}}.levelRuleDialog_dialogContent__uZvBV .levelRuleDialog_cursor__W7Zkv{cursor:pointer}.levelRuleDialog_dialogContent__uZvBV .levelRuleDialog_dialogHeader__cFtlW{background-color:#1c1c1c;display:flex;font-size:16px;font-weight:500;justify-content:space-between;padding:20px}.levelRuleDialog_dialogContent__uZvBV .levelRuleDialog_dialogHeader__cFtlW h3{color:#fff;margin:0;padding:0}.levelRuleDialog_dialogContainer__URN2x{color:#fff;font-size:14px;max-height:70vh;overflow-y:scroll;padding:20px 20px 0}.levelRuleDialog_level__0D1su{border:1px solid hsla(0,0%,100%,.1);border-radius:12px;display:flex;flex:1;gap:16px;margin-bottom:10px;padding:18px 16px}.levelRuleDialog_level__0D1su img{height:40px;width:40px}.levelRuleDialog_level__0D1su div{font-size:14px;line-height:22px}.levelRuleDialog_level__0D1su div h4{color:#fff;font-weight:600}.levelRuleDialog_level__0D1su div p{color:hsla(0,0%,100%,.7)}.levelRuleDialog_btnWrap__bo190{margin:20px 20px 30px}.levelRuleDialog_btn__d\+VOK{border:none;border-radius:12px;display:block;font-size:16px;font-weight:600;height:40px;margin:0 auto;width:100%}.levelRuleDialog_btn__d\+VOK,.levelRuleDialog_btn__d\+VOK:hover{background:#6673ff;color:#fff}.levelRuleDialog_flex__6B-oo{align-items:center;display:flex;gap:8px}.levelRuleDialog_flex__6B-oo svg{height:14px;width:14px}.profileBanner_header__jQN4E{padding:86px 40px 64px}@media screen and (max-width:768px){.profileBanner_header__jQN4E{padding:64px 0 40px}}.profileBanner_bannerInner__soIzl{align-items:center;display:flex}@media screen and (max-width:768px){.profileBanner_bannerInner__soIzl{background-color:#2a2a2a;border-radius:10px;flex-direction:column;margin:0 16px}}.profileBanner_bannerInner__soIzl .profileBanner_avatarBorder__z23xW{border:solid #2a2a2a;border-radius:50%}.profileBanner_bannerInner__soIzl .profileBanner_account__6-B4m{margin-top:-28px}.profileBanner_bannerInner__soIzl .profileBanner_account__6-B4m p{color:#fff;font-size:20px;font-weight:600;line-height:30px;margin-bottom:24px;margin-top:8px}@media screen and (max-width:768px){.profileBanner_bannerInner__soIzl .profileBanner_account__6-B4m p{font-size:16px;margin-bottom:16px}}.profileBanner_bannerInner__soIzl .profileBanner_box__rIJgU{margin:0 0 0 24px}@media screen and (max-width:768px){.profileBanner_bannerInner__soIzl .profileBanner_box__rIJgU{margin:0;width:100%}}.profileBanner_bannerInner__soIzl .profileBanner_box__rIJgU .profileBanner_address__A65pv{align-items:center;display:flex;gap:10px;margin:0 0 24px}.profileBanner_bannerInner__soIzl .profileBanner_box__rIJgU .profileBanner_address__A65pv p{color:#fff;font-size:24px;font-weight:600;line-height:30px}.profileBanner_bannerInner__soIzl .profileBanner_box__rIJgU .profileBanner_data__Roj6l{display:flex;flex-wrap:wrap;gap:10px}@media screen and (max-width:768px){.profileBanner_bannerInner__soIzl .profileBanner_box__rIJgU .profileBanner_data__Roj6l{gap:0}.profileBanner_bannerInner__soIzl .profileBanner_box__rIJgU .profileBanner_data__Roj6l .profileBanner_mdataTop__iA\+gc{align-items:center;border-bottom:1px solid hsla(0,0%,85%,.2);display:flex;gap:10px;justify-content:space-between;padding-bottom:16px;width:100%}.profileBanner_bannerInner__soIzl .profileBanner_box__rIJgU .profileBanner_data__Roj6l .profileBanner_mdataBottom__Aj5ab{display:flex;justify-content:space-between;padding:0 16px;width:100%}.profileBanner_bannerInner__soIzl .profileBanner_box__rIJgU .profileBanner_data__Roj6l .profileBanner_mdataBottom__Aj5ab .profileBanner_item__dXhuC{flex-direction:row;justify-content:space-between;padding:16px 0;width:50%}.profileBanner_bannerInner__soIzl .profileBanner_box__rIJgU .profileBanner_data__Roj6l .profileBanner_mdataBottom__Aj5ab .profileBanner_item__dXhuC:first-child{border-right:1px solid hsla(0,0%,85%,.2);padding-right:10px}.profileBanner_bannerInner__soIzl .profileBanner_box__rIJgU .profileBanner_data__Roj6l .profileBanner_mdataBottom__Aj5ab .profileBanner_item__dXhuC:last-child{padding-left:10px}}.profileBanner_bannerInner__soIzl .profileBanner_box__rIJgU .profileBanner_data__Roj6l .profileBanner_line__wDsem{background-color:hsla(0,0%,85%,.2);height:23px;width:1px}.profileBanner_bannerInner__soIzl .profileBanner_box__rIJgU .profileBanner_data__Roj6l .profileBanner_item__dXhuC{align-items:center;display:flex;padding:0 24px 0 0}@media screen and (max-width:768px){.profileBanner_bannerInner__soIzl .profileBanner_box__rIJgU .profileBanner_data__Roj6l .profileBanner_item__dXhuC{flex-direction:column-reverse;padding:0 15px;text-align:center}}.profileBanner_bannerInner__soIzl .profileBanner_box__rIJgU .profileBanner_data__Roj6l .profileBanner_item__dXhuC:first-child span{border:0;padding-left:0}.profileBanner_bannerInner__soIzl .profileBanner_box__rIJgU .profileBanner_data__Roj6l .profileBanner_item__dXhuC span{border-left:1px solid hsla(0,0%,85%,.2);color:hsla(0,0%,100%,.6);font-size:16px;font-weight:400;line-height:22px;padding:0 10px 0 24px;white-space:nowrap}@media screen and (max-width:768px){.profileBanner_bannerInner__soIzl .profileBanner_box__rIJgU .profileBanner_data__Roj6l .profileBanner_item__dXhuC span{border:0;font-size:12px;line-height:18px;padding:0}}.profileBanner_bannerInner__soIzl .profileBanner_box__rIJgU .profileBanner_data__Roj6l .profileBanner_item__dXhuC em{color:#65edbc;font-size:20px;font-style:normal;font-weight:600;line-height:22px;white-space:nowrap}@media screen and (max-width:768px){.profileBanner_bannerInner__soIzl .profileBanner_box__rIJgU .profileBanner_data__Roj6l .profileBanner_item__dXhuC em{font-size:16px;line-height:24px}}.profileBanner_levelImg__irDC4{cursor:pointer;height:60px;width:60px}@media screen and (max-width:768px){.profileBanner_levelImg__irDC4{height:32px;margin-left:6px;width:32px}}.tab_tab__bNuRB{background:hsla(0,0%,100%,.04);border-radius:20px;display:flex;height:40px;margin:0 40px 32px}@media screen and (max-width:768px){.tab_tab__bNuRB{height:32px;margin:0 auto 24px}}.tab_tab__bNuRB .tab_tabItem__Jq6pC{align-items:center;color:hsla(0,0%,100%,.7);cursor:pointer;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;justify-content:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:768px){.tab_tab__bNuRB .tab_tabItem__Jq6pC{font-size:14px}}.tab_tab__bNuRB .tab_tabItem__Jq6pC.tab_cur__lzqtz{background:#6673ff;border-radius:23px;color:#fff}@media screen and (max-width:768px){.tab_tab__bNuRB .tab_tabItem__Jq6pC.tab_cur__lzqtz{font-weight:600}}.profile_profile__U5qAJ{color:#fff;position:relative}.profile_profile__U5qAJ:after{background:linear-gradient(180deg,hsla(0,0%,7%,0) -33.75%,hsla(0,0%,7%,.6) 20.24%,hsla(0,0%,7%,.933) 65.88%,#131313 96.13%);z-index:2}.profile_profile__U5qAJ:after,.profile_profile__U5qAJ:before{content:" ";display:block;height:350px;left:0;position:absolute;top:0;width:100%}.profile_profile__U5qAJ:before{background:url(asset/3f40546164.jpeg) no-repeat top;background-size:cover;z-index:1}.profile_profile__U5qAJ .profile_content__87Ss8{position:relative;z-index:3}.profile_profile__U5qAJ .profile_content__87Ss8 .profile_header__cYe2u{align-items:center;display:flex;padding:86px 40px 64px}.profile_profile__U5qAJ .profile_content__87Ss8 .profile_header__cYe2u .profile_box__yZyF2{margin:0 0 0 24px}.profile_profile__U5qAJ .profile_content__87Ss8 .profile_header__cYe2u .profile_box__yZyF2 .profile_address__GiURt{color:#fff;font-size:24px;font-weight:600;line-height:30px;margin:0 0 24px}.profile_profile__U5qAJ .profile_content__87Ss8 .profile_header__cYe2u .profile_box__yZyF2 .profile_data__-EZLX{display:flex}.profile_profile__U5qAJ .profile_content__87Ss8 .profile_header__cYe2u .profile_box__yZyF2 .profile_data__-EZLX .profile_item__1epgS{align-items:center;display:flex;padding:0 24px 0 0}.profile_profile__U5qAJ .profile_content__87Ss8 .profile_header__cYe2u .profile_box__yZyF2 .profile_data__-EZLX .profile_item__1epgS:first-child span{border:0;padding-left:0}.profile_profile__U5qAJ .profile_content__87Ss8 .profile_header__cYe2u .profile_box__yZyF2 .profile_data__-EZLX .profile_item__1epgS span{border-left:1px solid hsla(0,0%,85%,.2);color:hsla(0,0%,100%,.6);font-size:16px;font-weight:400;line-height:22px;padding:0 10px 0 24px}.profile_profile__U5qAJ .profile_content__87Ss8 .profile_header__cYe2u .profile_box__yZyF2 .profile_data__-EZLX .profile_item__1epgS em{color:#65edbc;font-size:20px;font-style:normal;font-weight:600;line-height:22px}.profile_profile__U5qAJ .profile_content__87Ss8 .profile_main__MN67l{margin:0 40px 40px;min-height:300px}@media screen and (max-width:768px){.profile_profile__U5qAJ .profile_content__87Ss8 .profile_main__MN67l{margin:0 16px 40px}}.profile_profile__U5qAJ .profile_content__87Ss8 .profile_main__MN67l .profile_list__sO83-{border:1px solid hsla(0,0%,100%,.1);border-radius:20px;overflow:hidden}.profile_profile__U5qAJ .profile_content__87Ss8 .profile_main__MN67l .profile_block__t4zdb .profile_item__1epgS{background:hsla(0,0%,100%,.04);border-radius:20px;display:block;height:400px;position:relative;width:304px} \ No newline at end of file diff --git a/4349.adddd4c1.bundle.js b/4349.adddd4c1.bundle.js deleted file mode 100644 index d96ca25..0000000 --- a/4349.adddd4c1.bundle.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkbingo_frontend=self.webpackChunkbingo_frontend||[]).push([[4349],{6087:(n,e,i)=>{i.d(e,{VH:()=>o});var I=i(71210),t=i(9163);i(47631);let l;const a=async()=>{if(window.ethereum)return new I.Q(window.ethereum);if(window.web3)return new I.Q(window.web3.currentProvider);throw new Error("can't find default provider")},o=n=>new Promise((async(e,i)=>{if(n)e(new t.r(n));else if(l)e(l);else{const n=await a();n?(l=n,e(n)):i("can't find default provider")}}));window.addEventListener("load",(async()=>{a()}))},43733:(n,e,i)=>{i.d(e,{id:()=>a,ZP:()=>o});var I=i(50490),t=i(47631),l=i(5975);i(59619),i(63829);const a=n=>{let{address:e,library:i,account:t}=n;return(0,l.xi)({address:e,abi:I,library:i,account:t})};const o=(n,e,i)=>(0,l.uN)({abi:I,address:null!=e?e:(0,t.$y)(n,t.iJ.Lobby),signer:i,chainId:n})},11066:(n,e,i)=>{i.d(e,{Z:()=>a});var I=i(99905),t=i(47631),l=i(5975);const a=(n,e,i)=>(0,l.uN)({abi:I,address:null!=e?e:(0,t.$y)(n,t.iJ.Fee),signer:i,chainId:n})},7890:(n,e,i)=>{i.d(e,{Z:()=>d});var I=i(44431),t=i.n(I),l=i(67294),a=i(11066),o=i(88017),c=i(59619);const d=()=>{const[n,e]=(0,l.useState)(0),{account:i,chainId:I}=(0,c.a)();return(0,l.useEffect)((()=>{(async()=>{if(!I||!i)return;const n=(0,a.Z)(I),l=await n.read.gameInputPer();e((0,o.wA)(new(t())(l).toNumber()).toNumber())})()}),[I,i]),n}},96156:(n,e,i)=>{i.d(e,{Z:()=>t});var I=i(67294);const t=(n,e,i)=>{const t=(()=>{const[n,e]=(0,I.useReducer)((()=>!0),!1);return(0,I.useEffect)(e,[e]),n})(),l=(0,I.useRef)(!1),a=(0,I.useCallback)((async()=>{if(!l.current){l.current=!0;try{await n()}catch(n){console.error(n)}l.current=!1}}),[n,t]);(0,I.useEffect)((()=>{if(t){const n=setInterval(a,e);return()=>{clearInterval(n)}}}),[t,a,e])}},54442:(n,e,i)=>{i.d(e,{DF:()=>P,w5:()=>S});var I,t,l,a,o,c,d,g,r,b,M,m,Z=i(41766),s=i(67294),u=i(29163),p=i(70795),x=i(15197);function N(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}u.ZP.button(I||(I=N(["\n padding: ",";\n width: ",";\n font-weight: 400;\n height: auto;\n font-size: ",";\n font-family: 'Lemon';\n text-align: center;\n border-radius: ",";\n outline: none;\n border: 0px solid transparent;\n color: ",";\n text-decoration: none;\n display: flex;\n justify-content: center;\n flex-wrap: nowrap;\n align-items: center;\n cursor: pointer;\n position: relative;\n z-index: 1;\n filter: drop-shadow(0px 4px 7px #fcd7a6);\n &::before {\n content: ' ';\n display: block;\n background: url(",") no-repeat;\n width: 16px;\n height: 13px;\n position: absolute;\n top: 3px;\n left: 18px;\n opacity: 1;\n }\n &::after {\n content: ' ';\n background: url(",") no-repeat;\n width: 16px;\n height: 13px;\n position: absolute;\n top: 13px;\n left: 10px;\n }\n &:disabled {\n opacity: 50%;\n cursor: auto;\n pointer-events: none;\n }\n div {\n font-family: 'Lemon';\n }\n\n will-change: transform;\n transition: transform 450ms ease;\n transform: perspective(1px) translateZ(0);\n\n > * {\n user-select: none;\n }\n\n > a {\n text-decoration: none;\n }\n"])),(n=>{let{padding:e}=n;return null!=e?e:"16px"}),(n=>{let{width:e}=n;return null!=e?e:"100%"}),(n=>{let{size:e}=n;return null!=e?e:"22px"}),(n=>{let{$borderRadius:e}=n;return null!=e?e:"47px"}),(n=>{let{color:e}=n;return null!=e?e:"#fff5e1"}),p,x);const j=(0,u.iv)(t||(t=N(["\n background: linear-gradient(180deg, #e2e2e2 0%, #828282 100%);\n cursor: auto;\n pointer-events: none;\n"]))),A=u.ZP.button(l||(l=N(["\n padding: 5px;\n position: relative;\n border: "," solid ",";\n height: ",";\n border-radius: ",";\n width: ",";\n cursor: pointer;\n &::before {\n content: ' ';\n background: url(",") no-repeat;\n width: 16px;\n height: 13px;\n position: absolute;\n top: 3px;\n left: 18px;\n z-index: 1;\n }\n &::after {\n content: ' ';\n background: url(",") no-repeat;\n width: 16px;\n height: 13px;\n position: absolute;\n top: 15px;\n left: 12px;\n opacity: 1;\n }\n"])),(n=>{let{$borderWidth:e}=n;return null!=e?e:"0px"}),(n=>{let{$borderColor:e}=n;return null!=e?e:"#FFD58F"}),(n=>{let{height:e}=n;return null!=e?e:"58px"}),(n=>{let{$borderRadius:e}=n;return null!=e?e:"47px"}),(n=>{let{width:e}=n;return null!=e?e:"100%"}),p,x),y=u.ZP.div(a||(a=N(["\n border-radius: ",";\n filter: blur(1px);\n border: 0px;\n width: 100%;\n pointer-events: none;\n height: 100%;\n"])),(n=>{let{$borderRadius:e}=n;return null!=e?e:"47px"})),D=(0,u.ZP)(A)(o||(o=N(["\n background: linear-gradient(180deg, #daff71 0%, #66c80f 36.98%, #1b7b00 100%);\n &:hover {\n background: linear-gradient(180deg, #ffc978 0%, #ff7e3c 45.83%, #c53213 100%);\n .btn-content {\n background: linear-gradient(180deg, #fdaf53 0%, #dc4f26 100%);\n }\n .btn-text {\n text-shadow: -1px -1.5px 0px #892702;\n }\n }\n ",";\n"])),(n=>{let{disabled:e}=n;return e&&(0,u.iv)(c||(c=N(["\n background: linear-gradient(180deg, #ffffff 0%, #a0a5a5 39.58%, #696969 100%);\n cursor: auto;\n pointer-events: none;\n "])))})),w=(0,u.ZP)(y)(d||(d=N(["\n background: linear-gradient(180deg, #88e413 0%, #2a9507 100%);\n ",";\n\n &:hover {\n background: linear-gradient(180deg, #fdaf53 0%, #dc4f26 100%);\n }\n"])),(n=>{let{disabled:e}=n;return e&&j})),C=(0,u.iv)(g||(g=N(["\n color: #e2e2e2;\n text-shadow: -1px -1.5px 0px #3f3f3f;\n"]))),G=u.ZP.div(r||(r=N(["\n .div {\n font-family: 'Lemon';\n }\n .span {\n font-family: 'Lemon';\n }\n font-family: 'Lemon' !important;\n font-style: normal;\n pointer-events: none;\n border: 0px;\n font-weight: 400;\n font-size: ",";\n text-align: center;\n color: #fff5e1;\n position: absolute;\n text-shadow: -1px -1.5px 0px #208001;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n ",";\n &:hover {\n text-shadow: -1px -1.5px 0px #892702;\n }\n"])),(n=>{let{size:e}=n;return null!=e?e:"22px"}),(n=>n.disabled&&C)),h=(0,u.ZP)(A)(b||(b=N(["\n background: linear-gradient(180deg, #ffc978 0%, #ff7e3c 45.83%, #c53213 100%);\n &:hover {\n background: linear-gradient(180deg, #ffc978 0%, #ff7e3c 45.83%, #c53213 100%);\n .btn-content {\n background: linear-gradient(180deg, #fdaf53 0%, #dc4f26 100%);\n }\n }\n .btn-text {\n text-shadow: -1px -1.5px 0px #892702;\n }\n ",";\n"])),(n=>{let{disabled:e}=n;return e&&(0,u.iv)(M||(M=N(["\n background: linear-gradient(180deg, #ffffff 0%, #a0a5a5 39.58%, #696969 100%);\n cursor: auto;\n pointer-events: none;\n "])))})),z=(0,u.ZP)(y)(m||(m=N(["\n background: linear-gradient(180deg, #fdaf53 0%, #dc4f26 100%);\n &:focus {\n background: linear-gradient(180deg, #fdaf53 0%, #dc4f26 100%);\n }\n &:hover {\n color: #fff5e1;\n background: linear-gradient(180deg, #fdaf53 0%, #dc4f26 100%);\n }\n &:active {\n color: #fff5e1;\n background: linear-gradient(180deg, #fdaf53 0%, #dc4f26 100%);\n }\n &:disabled {\n background: linear-gradient(180deg, #ffffff 0%, #a0a5a5 39.58%, #696969 100%);\n color: #e2e2e2;\n cursor: auto;\n box-shadow: none;\n outline: none;\n }\n"]))),P=(new Z.Howl({src:["/audio/play.mp3"]}),n=>{const{children:e,size:i,width:I,height:t,disabled:l,borderWidth:a,borderColor:o,onClick:c,style:d}=n;return s.createElement(D,{style:d,width:I,height:t,disabled:l,$borderWidth:a,$borderColor:o,onClick:()=>{c()}},s.createElement(w,{disabled:l,className:"btn-content"}),s.createElement(G,{size:i,disabled:l,className:"btn-text"},e))}),S=n=>{const{children:e,size:i,height:I,width:t,disabled:l,borderWidth:a,borderColor:o,onClick:c}=n;return s.createElement(h,{width:t,height:I,disabled:l,$borderWidth:a,$borderColor:o,onClick:()=>{c()}},s.createElement(z,{disabled:l,className:"btn-content"}),s.createElement(G,{size:i,disabled:l,className:"btn-text"},e))}},9050:(n,e,i)=>{i.d(e,{bH:()=>v,fl:()=>H,aI:()=>E,fr:()=>B,O7:()=>J,Qn:()=>k});i(54277);var I,t,l=i(74048),a=i(7085),o=i(74942),c=i(67294),d=i(29163),g=i(9120),r=i(54442);function b(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}const M=d.ZP.div(I||(I=b(["\n display: flex;\n justify-content: center;\n align-items: center;\n"]))),m=d.ZP.div(t||(t=b(["\n border-width: 0.5rem;\n border-style: solid;\n border-color: #864802;\n border-top: 0.5rem solid transparent;\n width: 3.625rem;\n height: 3.625rem;\n border-radius: 50%;\n position: relative;\n -webkit-animation: spin 2s infinite;\n animation: spin 2s infinite;\n\n /* &:before,\n &:after {\n content: '';\n width: 0.5rem;\n height: 0.5rem;\n border-radius: 50%;\n background: purple;\n position: absolute;\n left: 0.125rem;\n }\n\n &:before {\n top: 0.063rem;\n }\n\n &:after {\n bottom: 0.063rem;\n } */\n\n @keyframes spin {\n 100% {\n transform: rotate(360deg);\n }\n }\n"]))),Z=()=>c.createElement(M,null,c.createElement(m,null));i(51693);var s,u,p,x,N,j,A,y,D,w,C,G=i(75967),h=i(6789),z=i(95210);function P(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}d.ZP.div(s||(s=P(["\n position: absolute;\n top: -90px;\n z-index: 9;\n display: flex;\n left: 0;\n width: 100%;\n justify-content: center;\n align-items: center;\n"]))),d.ZP.div(u||(u=P(["\n position: absolute;\n bottom: -27px;\n left: 0;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"]))),(0,d.ZP)(o.cZ)(p||(p=P(["\n position: relative;\n background: transparent;\n padding: 0;\n margin-top: 20vh;\n"])));const S=(0,d.ZP)(o.Vq)(x||(x=P(["\n background: #f8e9c8;\n border-radius: 60px;\n box-shadow: inset 0px -3.73819px 3.73819px rgba(0, 0, 0, 0.25);\n border: 6px solid #ac6513;\n width: 460px;\n min-height: 260px;\n text-align: center;\n position: relative;\n padding: ",";\n margin: 0 15px;\n &::before {\n content: '';\n position: absolute;\n top: 17px;\n right: 17px;\n width: 68px;\n height: 53px;\n background: url(",") no-repeat;\n }\n &::after {\n content: '';\n position: absolute;\n bottom: 20px;\n left: 17px;\n width: 68px;\n height: 53px;\n background: url(",") no-repeat;\n }\n"])),(n=>{let{isMobile:e}=n;return e?"63px 41px 44px":"54px 70px"}),h,G),f=d.ZP.div(N||(N=P(["\n left: 0;\n right: 0;\n position: absolute;\n margin: 0 auto;\n z-index: 1;\n bottom: -29px;\n"]))),W=d.ZP.div(j||(j=P(["\n color: #864802;\n font-family: 'Lemon';\n font-size: 16px;\n padding-bottom: 16px;\n"]))),X=d.ZP.div(A||(A=P(["\n position: absolute;\n top: ",";\n left: 0;\n right: 0;\n"])),(n=>{let{isMobile:e}=n;return e?"-61px":"-103px"}));d.ZP.img(y||(y=P([""])));const T=d.ZP.div(D||(D=P(["\n font-size: 24px;\n color: #864802;\n font-family: 'Lemon';\n padding-bottom: 24px;\n"]))),V=d.ZP.div(w||(w=P(["\n color: #62380c;\n text-align: center;\n font-family: Poppins;\n font-size: 12px;\n"])));function v(n){const{open:e,onCancle:i,onClose:I,closeLoading:t}=n,o=(0,g.d)();return c.createElement(c.Fragment,null,c.createElement(S,{isMobile:o,isOpen:e},c.createElement(T,null,"confirm close ?"),c.createElement(W,null,"After closing, the game card needs to be reset."),c.createElement(V,null,"ps:The Points you submitted will be returned to your wallet address."),c.createElement(f,null,c.createElement(l.default,null,c.createElement(r.w5,{width:o?"140px":"164px",onClick:I},c.createElement("div",{style:{fontFamily:"Lemon"}}," Close ",t&&c.createElement(a.Z,null))),c.createElement(r.DF,{width:o?"140px":"164px",onClick:i},"Cancel")))))}function J(n){const{open:e,onCancle:i,onClose:I}=n,t=(0,g.d)();return c.createElement(c.Fragment,null,c.createElement(S,{isMobile:t,isOpen:e},c.createElement(T,null,"TIPS"),c.createElement(W,null,"Your game is still in progress, continue to join the game?"),c.createElement(f,null,c.createElement(l.default,null,c.createElement(r.w5,{width:t?"140px":"164px",onClick:I},"Close"),c.createElement(r.DF,{width:t?"140px":"164px",onClick:i},"Continue")))))}function k(n){const{open:e,onCancle:i,onClose:I}=n,t=(0,g.d)();return c.createElement(c.Fragment,null,c.createElement(S,{isMobile:t,isOpen:e},c.createElement(T,null,"TIPS"),c.createElement(W,null,"Your game card has been lost, please restart the game."),c.createElement(f,null,c.createElement(l.default,null,c.createElement(r.DF,{width:t?"140px":"164px",onClick:i},"Okay")))))}function B(n){const{open:e,onCancle:i}=n,I=(0,g.d)();return c.createElement(c.Fragment,null,c.createElement(S,{isMobile:I,isOpen:e},c.createElement(T,null,"Timed out!"),c.createElement(W,null,"The player failed to complete the Bingo within the time limit"),c.createElement(f,null,c.createElement(l.default,null,c.createElement(r.DF,{width:I?"140px":"164px",onClick:i},"Play again")))))}const E=n=>{let{open:e,children:i,onCancle:I,title:t,footer:l,loading:a}=n;const o=(0,g.d)();return c.createElement(S,{isMobile:o,isOpen:e},c.createElement(T,null,a?c.createElement(Z,null):t),c.createElement(W,null,i),l&&c.createElement(f,null,l))},R=d.ZP.div(C||(C=P(["\n background: #f8e9c8;\n border-radius: ",";\n box-shadow: inset 0px -3.73819px 3.73819px rgba(0, 0, 0, 0.25);\n border: 6px solid #ac6513;\n width: 710px;\n height: ",";\n min-height: 260px;\n text-align: center;\n position: relative;\n margin: 0 15px;\n &::before {\n content: '';\n position: absolute;\n top: 17px;\n right: 17px;\n width: 68px;\n height: 53px;\n background: url(",") no-repeat;\n }\n &::after {\n content: '';\n position: absolute;\n bottom: 20px;\n left: 17px;\n width: 68px;\n height: 53px;\n background: url(",") no-repeat;\n }\n"])),(n=>{let{isMobile:e}=n;return e?"40px":"76px"}),(n=>{let{isMobile:e}=n;return e?"272px":"350px"}),h,G),H=n=>{let{children:e}=n;const i=(0,g.d)();return c.createElement(R,{isMobile:i},c.createElement(X,{isMobile:i},c.createElement("img",{src:z,alt:"",width:i?"217px":"373px"})),c.createElement(W,null,e))}},70795:n=>{n.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxNSAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjAxOTkgMy4zMzc4NEMxNC44NTggNS4zODI1MSAxMi4yNjIgNi4zMDk2OCA4LjY3Njc0IDcuNzczNDZDNS4wOTE0NSA5LjIzNzI0IDEuODc0NTIgMTAuNjgzMyAxLjAzNjQxIDguNjM4NjdDMC4xOTgyOTggNi41OTQgMi4zNDIyIDMuMDQxNyA1LjkyNzQ5IDEuNTc3OTJDOS41MTI3OCAwLjExNDE0IDEzLjE4MTggMS4yOTMxOCAxNC4wMTk5IDMuMzM3ODRaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"},15197:n=>{n.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNSIgaGVpZ2h0PSI1IiB2aWV3Qm94PSIwIDAgNSA1IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8ZWxsaXBzZSBjeD0iMi4wMDExNiIgY3k9IjIuNTAzNTMiIHJ4PSIyLjAwMTE2IiByeT0iMi41MDM1M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yPSJCYWNrZ3JvdW5kSW1hZ2VGaXgiIHJlc3VsdD0ic2hhcGUiLz4KPGZlQ29sb3JNYXRyaXggaW49IlNvdXJjZUFscGhhIiB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMTI3IDAiIHJlc3VsdD0iaGFyZEFscGhhIi8+CjxmZU9mZnNldCBkeD0iMC41MDU4NDUiIGR5PSIwLjUwNTg0NSIvPgo8ZmVHYXVzc2lhbkJsdXIgc3RkRGV2aWF0aW9uPSIwLjI1MjkyMyIvPgo8ZmVDb21wb3NpdGUgaW4yPSJoYXJkQWxwaGEiIG9wZXJhdG9yPSJhcml0aG1ldGljIiBrMj0iLTEiIGszPSIxIi8+CjxmZUNvbG9yTWF0cml4IHR5cGU9Im1hdHJpeCIgdmFsdWVzPSIwIDAgMCAwIDAuOTQ1ODMzIDAgMCAwIDAgMC44NDI0NTkgMCAwIDAgMCAwLjY4NTcyOSAwIDAgMCAxIDAiLz4KPGZlQmxlbmQgbW9kZT0ibXVsdGlwbHkiIGluMj0ic2hhcGUiIHJlc3VsdD0iZWZmZWN0MV9pbm5lclNoYWRvd18xMjc0XzIyMDAiLz4KPC9maWx0ZXI+CjwvZGVmcz4KPC9zdmc+Cg=="},95210:(n,e,i)=>{n.exports=i.p+"asset/c768930c3c.png"}}]); \ No newline at end of file diff --git a/4667.f74b83c5.bundle.js b/4667.f74b83c5.bundle.js deleted file mode 100644 index d80e924..0000000 --- a/4667.f74b83c5.bundle.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkbingo_frontend=self.webpackChunkbingo_frontend||[]).push([[4667],{19675:(e,t,a)=>{a.d(t,{Z:()=>o});var n=a(1413),r=a(67294);const l={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};var i=a(6445),c=function(e,t){return r.createElement(i.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:l}))};c.displayName="CaretDownOutlined";const o=r.forwardRef(c)},87215:(e,t,a)=>{var n=a(49932).default,r=a(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Meta=void 0;var l=r(a(23035)),i=r(a(32716)),c=r(a(94184)),o=n(a(67294)),s=a(31929),d=a(38614),u=a(47419),m=a(56590),f=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r0&&o.default.createElement("ul",{className:"".concat(j,"-item-action"),key:"actions"},g.map((function(e,t){return o.default.createElement("li",{key:"".concat(j,"-item-action-").concat(t)},e,t!==g.length-1&&o.default.createElement("em",{className:"".concat(j,"-item-action-split")}))}))),x=y?"div":"li",C=o.default.createElement(x,(0,i.default)({},b,y?{}:{ref:t},{className:(0,c.default)("".concat(j,"-item"),(0,l.default)({},"".concat(j,"-item-no-flex"),!("vertical"===M?N:(o.Children.forEach(r,(function(e){"string"==typeof e&&(a=!0)})),!(a&&o.Children.count(r)>1)))),v)}),"vertical"===M&&N?[o.default.createElement("div",{className:"".concat(j,"-item-main"),key:"content"},r,w),o.default.createElement("div",{className:"".concat(j,"-item-extra"),key:"extra"},N)]:[r,w,(0,u.cloneElement)(N,{key:"extra"})]);return y?o.default.createElement(d.Col,{ref:t,flex:1,style:p},C):C},v=(0,o.forwardRef)(N);v.Meta=g;var p=v;t.default=p},56590:(e,t,a)=>{var n=a(49932).default,r=a(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ListContext=t.ListConsumer=void 0;var l=r(a(32354)),i=r(a(32716)),c=r(a(23035)),o=r(a(67900)),s=r(a(40665)),d=r(a(94184)),u=n(a(67294)),m=a(31929),f=r(a(30020)),g=a(38614),N=r(a(60872)),v=r(a(69843)),p=r(a(89552)),b=a(67046),I=r(a(87215)),y=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);rse&&(oe.current=se);var de=n?u.createElement("div",{className:"".concat(ne,"-pagination")},u.createElement(v.default,(0,i.default)({},oe,{onChange:te,onShowSizeChange:ae}))):null,ue=(0,l.default)(P);n&&P.length>(oe.current-1)*oe.pageSize&&(ue=(0,l.default)(P).splice((oe.current-1)*oe.pageSize,oe.pageSize));var me=Object.keys(S||{}).some((function(e){return["xs","sm","md","lg","xl","xxl"].includes(e)})),fe=(0,N.default)(me),ge=u.useMemo((function(){for(var e=0;e0){var pe=ue.map((function(e,t){return function(e,t){return Y?((a="function"==typeof W?W(e):W?e[W]:e.key)||(a="list-item-".concat(t)),u.createElement(u.Fragment,{key:a},Y(e,t))):null;var a}(e,t)}));ve=S?u.createElement(g.Row,{gutter:S.gutter},u.Children.map(pe,(function(e){return u.createElement("div",{key:null==e?void 0:e.key,style:Ne},e)}))):u.createElement("ul",{className:"".concat(ne,"-items")},pe)}else C||le||(ve=function(e,t){return u.createElement("div",{className:"".concat(e,"-empty-text")},T&&T.emptyText||t("List"))}(ne,q||f.default));var be=oe.position||"bottom",Ie=u.useMemo((function(){return{grid:S,itemLayout:h}}),[JSON.stringify(S),h]);return u.createElement(M.Provider,{value:Ie},u.createElement("div",(0,i.default)({className:ce},F),("top"===be||"both"===be)&&de,A&&u.createElement("div",{className:"".concat(ne,"-header")},A),u.createElement(p.default,(0,i.default)({},re),ve,C),O&&u.createElement("div",{className:"".concat(ne,"-footer")},O),z||("bottom"===be||"both"===be)&&de))}t.ListConsumer=E,j.Item=I.default;var w=j;t.default=w},14574:(e,t,a)=>{a(83099),a(27850),a(54038),a(27124),a(76405),a(9405)},76040:(e,t,a)=>{a.d(t,{i:()=>N});a(9405);var n=a(89552),r=a(18446),l=a.n(r),i=a(67294),c=a(29163);const o="NoData_loadMore__JCdyH";var s,d,u=a(53308);function m(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const f=c.ZP.div(s||(s=m(["\n text-align: center;\n padding-top: 172px;\n padding-bottom: 273px;\n"]))),g=c.ZP.div(d||(d=m(["\n color: #fff;\n font-family: Poppins;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 30px; /* 214.286% */\n"]))),N=(0,i.memo)((e=>{let{hasError:t,loading:a,errorCss:r,loadMoreCss:l}=e;return t?i.createElement("div",{className:r},i.createElement("p",null,"Error")):a?i.createElement("div",{className:null!=l?l:o},i.createElement(n.default,{size:"large",tip:"Loading..."})):i.createElement(v,null)}),l());function v(){return i.createElement(i.Fragment,null,i.createElement(f,null,i.createElement("img",{src:u,alt:""}),i.createElement(g,null,"NO Data")))}},6087:(e,t,a)=>{a.d(t,{VH:()=>c});var n=a(71210),r=a(9163);a(47631);let l;const i=async()=>{if(window.ethereum)return new n.Q(window.ethereum);if(window.web3)return new n.Q(window.web3.currentProvider);throw new Error("can't find default provider")},c=e=>new Promise((async(t,a)=>{if(e)t(new r.r(e));else if(l)t(l);else{const e=await i();e?(l=e,t(e)):a("can't find default provider")}}));window.addEventListener("load",(async()=>{i()}))},43733:(e,t,a)=>{a.d(t,{id:()=>i,ZP:()=>c});var n=a(50490),r=a(47631),l=a(5975);a(59619),a(63829);const i=e=>{let{address:t,library:a,account:r}=e;return(0,l.xi)({address:t,abi:n,library:a,account:r})};const c=(e,t,a)=>(0,l.uN)({abi:n,address:null!=t?t:(0,r.$y)(e,r.iJ.Lobby),signer:a,chainId:e})},11967:(e,t,a)=>{a.d(t,{Z:()=>N});var n=a(18446),r=a.n(n),l=(a(35797),a(64749)),i=a(19675),c=a(67294),o=a(29163),s=a(47631);const d="gameListBorderSelect_borderSelect__bXlYV";var u;const m=(0,o.ZP)(l.default)(u||(f=["\n &.div {\n border-radius: 20px;\n background-color: transparent;\n color: #fff;\n font-size: 16px;\n font-weight: 600;\n border: 1px solid rgba(255, 255, 255, 0.1);\n width: 160px;\n height: 36px;\n display: flex;\n align-items: center;\n @media (max-width: 768px) {\n font-size: 14px;\n height: 34px;\n }\n &.ant-select-single:not(.ant-select-customize-input) .ant-select-selector {\n padding: 0 16px;\n }\n }\n"],g||(g=f.slice(0)),u=Object.freeze(Object.defineProperties(f,{raw:{value:Object.freeze(g)}}))));var f,g;const N=(0,c.memo)((e=>{let{setSelectValue:t}=e;const a=(0,c.useMemo)((()=>{const e=s.KC.map((e=>({value:e,label:s.GK[e]})));return e.unshift({value:"All",label:"All"}),e}),[]),n=(0,c.useCallback)((e=>{t(e)}),[]);return c.createElement("div",{className:d},c.createElement(m,{className:"div",bordered:!1,dropdownRender:e=>c.createElement("div",{className:"selectDropdownBox"},e),defaultValue:"All",onChange:n,suffixIcon:c.createElement(i.Z,{style:{color:"#6673FF"}}),options:a}))}),r())},56877:(e,t,a)=>{a.d(t,{Z:()=>h});var n=a(18446),r=a.n(n),l=a(9279),i=a(94184),c=a.n(i),o=a(67294),s=a(66847),d=a(9120),u=a(55347),m=a(49786),f=a(61511),g=a(23697);const N="hyYiLfej7DeaGrnD9SAlDQ==",v="eYfPM-Rk1X4t4gtWvUKszg==",p="TDsVcS0KLemYaj3e3A5Y+A==",b="F8ga+VQvAa-mNgOFotGtXA==",I="djXrC4YThClImoN-9tZ5dw==",y="mAgbmQacSoldS9EfkLW+nw==",M="EN7nyQI73mSQnaQ4f7hiTg==",E="EejJn+2dIi0c9VS2ArnAJw==",j="ouUN6e03u0VYW8gUlP7cWA==",w="PYIYCg+ljPFIVcWaje4Rbg==",x="UA3b5F-dtxcskJyW6DGtrg==",C="_2ofZ0KbxbR3ufG0Togq4Ug==",h=(0,o.memo)((e=>{let{item:t}=e;const a=(0,d.d)(),n=(0,o.useMemo)((()=>{const e="".concat(t.winnerOrPlayers);if(e.startsWith("0x"))return[];const a=e.match(/\d+/),n=a?parseInt(a[0]):0;return new Array(n).fill("")}),[t.winnerOrPlayers]),r=(0,o.useMemo)((()=>0===n.length&&t.status===m._.End&&t.bingoInfo&&t.bingoInfo.cardNumbers),[]);return o.createElement("div",{className:N},o.createElement("div",{className:v},o.createElement("div",{className:p},o.createElement("p",{className:b},t.roomIDStr,o.createElement("em",null,"|"),t.startTimeMobile),o.createElement("p",{className:c()(I,t.status===m._.Live?y:"")},t.status,t.status===m._.Live?o.createElement(g.t,{isMobile:a}):null)),o.createElement("div",{className:M},o.createElement("div",{className:E},o.createElement("p",null,"Input per player"),o.createElement("p",null,"Multiplier"),o.createElement("p",null,"Win")),o.createElement("div",{className:j},o.createElement(f.C,{label:t.inputPerPlayer,showPoint:!0,isMobile:a}),o.createElement(f.C,{label:t.multiplier,showPoint:!1,isMobile:a}),o.createElement(f.C,{label:t.win,showPoint:!0,isMobile:a})))),o.createElement("div",{className:w},0===n.length?o.createElement(f.C,{label:t.winnerOrPlayers,showPoint:!1,isMobile:a}):o.createElement("div",{className:x},n.map(((e,t)=>o.createElement(s.Z,{key:t,size:22,account:l.d,showAccount:!1,border:!0})))),r?o.createElement(u.Z,{cardNumbers:t.bingoInfo.cardNumbers,selectedNumbers:t.bingoInfo.selectedNumbers,isMobile:a}):o.createElement("p",{className:C},t.winnerOrPlayers)))}),r())},55347:(e,t,a)=>{a.d(t,{Z:()=>u});a(1025);var n,r=a(65400),l=a(67294),i=a(29163),c=a(27370);const o=(0,i.ZP)(r.default)(n||(s=["\n color: ",";\n ","\n &:active {\n color: ",";\n }\n &:hover {\n color: ",";\n }\n &:focus {\n color: ",";\n }\n"],d||(d=s.slice(0)),n=Object.freeze(Object.defineProperties(s,{raw:{value:Object.freeze(d)}}))),(e=>{let{ismobile:t}=e;return"true"===t?"#6673FF":"#65edbc"}),(e=>{let{ismobile:t}=e;return"true"===t?"border-radius: 12px;border: 1px solid #6673FF;font-size: 12px;padding: 0 10px;height: 22px;line-height: 20px;":null}),(e=>{let{ismobile:t}=e;return"true"===t?"#6673FF":"#65edbc"}),(e=>{let{ismobile:t}=e;return"true"===t?"#6673FF":"#65edbc"}),(e=>{let{ismobile:t}=e;return"true"===t?"#6673FF":"#65edbc"}));var s,d;const u=e=>{let{cardNumbers:t,selectedNumbers:a,isMobile:n}=e;const[r,i]=(0,l.useState)(!1);return l.createElement(l.Fragment,null,l.createElement(o,{type:"link",onClick:()=>i(!0),ismobile:"".concat(n)},n?"Bingo Card":"view"),l.createElement(c.Bs,{onClose:()=>i(!1),showDialog:r,cardNumbers:t,selectedNumbers:a}))}},27850:(e,t,a)=>{a.r(t)},53308:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2NCIgaGVpZ2h0PSI2NCIgdmlld0JveD0iMCAwIDY0IDY0IiBmaWxsPSJub25lIj4KICA8bWFzayBpZD0ibWFzazBfNDAwMl8yNDk2IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iNjQiIGhlaWdodD0iNjQiPgogICAgPHJlY3Qgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiBmaWxsPSIjRDlEOUQ5Ii8+CiAgPC9tYXNrPgogIDxnIG1hc2s9InVybCgjbWFzazBfNDAwMl8yNDk2KSI+CiAgICA8cGF0aCBkPSJNMTkuNDk1MSAxNy4zNDVINDEuNDM4IiBzdHJva2U9IndoaXRlIiBzdHJva2Utb3BhY2l0eT0iMC42IiBzdHJva2Utd2lkdGg9IjEuODI4NTciIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgogICAgPHBhdGggZD0iTTE5LjQ5NTEgMjcuNDAyMUg0MS40MzgiIH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zk0IDYwLjEyN0w1Mi43NDY0IDYxLjQyWk00OC4xMjk5IDU2LjgwMzVMNTIuNzQ2NCA2MS40Mkw1NC4wMzk0IDYwLjEyN0w0OS40MjI5IDU1LjUxMDVMNDguMTI5OSA1Ni44MDM1WiIgZmlsbD0iIzY2NzNGRiIvPgogIDwvZz4KPC9zdmc+"}}]); \ No newline at end of file diff --git a/485.a3ae1e74.chunk.css b/485.a3ae1e74.chunk.css new file mode 100644 index 0000000..90ca560 --- /dev/null +++ b/485.a3ae1e74.chunk.css @@ -0,0 +1 @@ +.ant-carousel{font-feature-settings:"tnum";box-sizing:border-box;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;margin:0;padding:0}.ant-carousel .slick-slider{-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;box-sizing:border-box;display:block;position:relative;touch-action:pan-y}.ant-carousel .slick-list{display:block;margin:0;overflow:hidden;padding:0;position:relative}.ant-carousel .slick-list:focus{outline:none}.ant-carousel .slick-list.dragging{cursor:pointer}.ant-carousel .slick-list .slick-slide{pointer-events:none}.ant-carousel .slick-list .slick-slide input.ant-checkbox-input,.ant-carousel .slick-list .slick-slide input.ant-radio-input{visibility:hidden}.ant-carousel .slick-list .slick-slide.slick-active{pointer-events:auto}.ant-carousel .slick-list .slick-slide.slick-active input.ant-checkbox-input,.ant-carousel .slick-list .slick-slide.slick-active input.ant-radio-input{visibility:visible}.ant-carousel .slick-list .slick-slide>div>div{vertical-align:bottom}.ant-carousel .slick-slider .slick-list,.ant-carousel .slick-slider .slick-track{touch-action:pan-y;transform:translateZ(0)}.ant-carousel .slick-track{display:block;left:0;position:relative;top:0}.ant-carousel .slick-track:after,.ant-carousel .slick-track:before{content:"";display:table}.ant-carousel .slick-track:after{clear:both}.slick-loading .ant-carousel .slick-track{visibility:hidden}.ant-carousel .slick-slide{display:none;float:left;height:100%;min-height:1px}.ant-carousel .slick-slide img{display:block}.ant-carousel .slick-slide.slick-loading img{display:none}.ant-carousel .slick-slide.dragging img{pointer-events:none}.ant-carousel .slick-initialized .slick-slide{display:block}.ant-carousel .slick-loading .slick-slide{visibility:hidden}.ant-carousel .slick-vertical .slick-slide{display:block;height:auto}.ant-carousel .slick-arrow.slick-hidden{display:none}.ant-carousel .slick-next,.ant-carousel .slick-prev{border:0;cursor:pointer;display:block;font-size:0;height:20px;line-height:0;margin-top:-10px;padding:0;position:absolute;top:50%;width:20px}.ant-carousel .slick-next,.ant-carousel .slick-next:focus,.ant-carousel .slick-next:hover,.ant-carousel .slick-prev,.ant-carousel .slick-prev:focus,.ant-carousel .slick-prev:hover{background:transparent;color:transparent;outline:none}.ant-carousel .slick-next:focus:before,.ant-carousel .slick-next:hover:before,.ant-carousel .slick-prev:focus:before,.ant-carousel .slick-prev:hover:before{opacity:1}.ant-carousel .slick-next.slick-disabled:before,.ant-carousel .slick-prev.slick-disabled:before{opacity:.25}.ant-carousel .slick-prev{left:-25px}.ant-carousel .slick-prev:before{content:"←"}.ant-carousel .slick-next{right:-25px}.ant-carousel .slick-next:before{content:"→"}.ant-carousel .slick-dots{bottom:0;display:flex!important;justify-content:center;left:0;list-style:none;margin-bottom:0;margin-left:15%;margin-right:15%;padding-left:0;position:absolute;right:0;z-index:15}.ant-carousel .slick-dots-bottom{bottom:12px}.ant-carousel .slick-dots-top{bottom:auto;top:12px}.ant-carousel .slick-dots li{box-sizing:content-box;display:inline-block;flex:0 1 auto;height:3px;margin:0 4px;padding:0;position:relative;text-align:center;text-indent:-999px;transition:all .5s;vertical-align:top;width:16px}.ant-carousel .slick-dots li button{background:#fff;border:0;border-radius:1px;color:transparent;cursor:pointer;display:block;font-size:0;height:3px;opacity:.3;outline:none;padding:0;position:relative;transition:all .5s;width:100%}.ant-carousel .slick-dots li button:focus,.ant-carousel .slick-dots li button:hover{opacity:.75}.ant-carousel .slick-dots li button:after{bottom:-4px;content:"";left:-4px;position:absolute;right:-4px;top:-4px}.ant-carousel .slick-dots li.slick-active{width:24px}.ant-carousel .slick-dots li.slick-active button{background:#fff;opacity:1}.ant-carousel .slick-dots li.slick-active:focus,.ant-carousel .slick-dots li.slick-active:hover{opacity:1}.ant-carousel-vertical .slick-dots{bottom:auto;flex-direction:column;height:auto;margin:0;top:50%;transform:translateY(-50%);width:3px}.ant-carousel-vertical .slick-dots-left{left:12px;right:auto}.ant-carousel-vertical .slick-dots-right{left:auto;right:12px}.ant-carousel-vertical .slick-dots li{height:16px;margin:4px 0;vertical-align:baseline;width:3px}.ant-carousel-vertical .slick-dots li button{height:16px;width:3px}.ant-carousel-vertical .slick-dots li.slick-active,.ant-carousel-vertical .slick-dots li.slick-active button{height:24px;width:3px}.ant-carousel-rtl{direction:rtl}.ant-carousel-rtl .ant-carousel .slick-track{left:auto;right:0}.ant-carousel-rtl .ant-carousel .slick-prev{left:auto;right:-25px}.ant-carousel-rtl .ant-carousel .slick-prev:before{content:"→"}.ant-carousel-rtl .ant-carousel .slick-next{left:-25px;right:auto}.ant-carousel-rtl .ant-carousel .slick-next:before{content:"←"}.ant-carousel-rtl.ant-carousel .slick-dots{flex-direction:row-reverse}.ant-carousel-rtl.ant-carousel-vertical .slick-dots{flex-direction:column}.ant-divider{font-feature-settings:"tnum";border-top:1px solid rgba(0,0,0,.06);box-sizing:border-box;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;margin:0;padding:0}.ant-divider-vertical{border-left:1px solid rgba(0,0,0,.06);border-top:0;display:inline-block;height:.9em;margin:0 8px;position:relative;top:-.06em;vertical-align:middle}.ant-divider-horizontal{clear:both;display:flex;margin:24px 0;min-width:100%;width:100%}.ant-divider-horizontal.ant-divider-with-text{align-items:center;border-top:0;border-top-color:rgba(0,0,0,.06);color:rgba(0,0,0,.85);display:flex;font-size:16px;font-weight:500;margin:16px 0;text-align:center;white-space:nowrap}.ant-divider-horizontal.ant-divider-with-text:after,.ant-divider-horizontal.ant-divider-with-text:before{border-bottom:0;border-top:1px solid transparent;border-top-color:inherit;content:"";position:relative;transform:translateY(50%);width:50%}.ant-divider-horizontal.ant-divider-with-text-left:before{width:5%}.ant-divider-horizontal.ant-divider-with-text-left:after,.ant-divider-horizontal.ant-divider-with-text-right:before{width:95%}.ant-divider-horizontal.ant-divider-with-text-right:after{width:5%}.ant-divider-inner-text{display:inline-block;padding:0 1em}.ant-divider-dashed{background:none;border:dashed rgba(0,0,0,.06);border-width:1px 0 0}.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed:after,.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed:before{border-style:dashed none none}.ant-divider-vertical.ant-divider-dashed{border-width:0 0 0 1px}.ant-divider-plain.ant-divider-with-text{color:rgba(0,0,0,.85);font-size:14px;font-weight:400}.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left:before{width:0}.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left:after{width:100%}.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left .ant-divider-inner-text{padding-left:0}.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right:before{width:100%}.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right:after{width:0}.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right .ant-divider-inner-text{padding-right:0}.ant-divider-rtl{direction:rtl}.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left:before{width:95%}.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left:after,.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right:before{width:5%}.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right:after{width:95%}.index_appBingo__lGi1V{color:#fff;font-size:18px;padding:90px 40px;width:100%}.index_appBingo__lGi1V .index_appMain__RF7Le{background:linear-gradient(180deg,#bd7614,#e39325 .01%,#bc6d00);border-radius:32px;box-shadow:inset 0 -2px 2px 0 rgba(0,0,0,.25),inset 0 2px 1px 0 hsla(0,0%,100%,.3),inset 0 0 4px 2px hsla(0,0%,100%,.2);margin:0 auto;padding-bottom:25px;position:relative;width:1165px}.index_appBingo__lGi1V .index_appMain__RF7Le .index_tab__anlY-{display:flex;margin:0 74px}.index_appBingo__lGi1V .index_appMain__RF7Le .index_tab__anlY- .index_tabItem__dlbdA{align-items:center;background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNzgiIGhlaWdodD0iODciIGZpbGw9Im5vbmUiPjxnIGZpbHRlcj0idXJsKCNhKSI+PHBhdGggZD0iTTEyLjU3NSAyNy44MTJDMTUuMTE2IDEyLjM0OCAyOC40ODEgMSA0NC4xNTIgMWgxODkuNjk2YzE1LjY3MSAwIDI5LjAzNiAxMS4zNDggMzEuNTc3IDI2LjgxMUwyNzQgODBINGw4LjU3NS01Mi4xODhaIiBmaWxsPSIjRkZFM0JCIi8+PC9nPjxkZWZzPjxmaWx0ZXIgaWQ9ImEiIHg9IjAiIHk9IjAiIHdpZHRoPSIyNzgiIGhlaWdodD0iODciIGZpbHRlclVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY29sb3ItaW50ZXJwb2xhdGlvbi1maWx0ZXJzPSJzUkdCIj48ZmVGbG9vZCBmbG9vZC1vcGFjaXR5PSIwIiByZXN1bHQ9IkJhY2tncm91bmRJbWFnZUZpeCIvPjxmZUNvbG9yTWF0cml4IGluPSJTb3VyY2VBbHBoYSIgdmFsdWVzPSIwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAxMjcgMCIgcmVzdWx0PSJoYXJkQWxwaGEiLz48ZmVPZmZzZXQgZHk9IjMiLz48ZmVHYXVzc2lhbkJsdXIgc3RkRGV2aWF0aW9uPSIyIi8+PGZlQ29tcG9zaXRlIGluMj0iaGFyZEFscGhhIiBvcGVyYXRvcj0ib3V0Ii8+PGZlQ29sb3JNYXRyaXggdmFsdWVzPSI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aXRobWV0aWMiIGsyPSItMSIgazM9IjEiLz48ZmVDb2xvck1hdHJpeCB2YWx1ZXM9IjAgMCAwIDAgMSAwIDAgMCAwIDAuOTYyMjU1IDAgMCAwIDAgMC45MDgzMzMgMCAwIDAgMSAwIi8+PGZlQmxlbmQgaW4yPSJlZmZlY3QyX2lubmVyU2hhZG93XzQzMDBfNTM0MyIgcmVzdWx0PSJlZmZlY3QzX2lubmVyU2hhZG93XzQzMDBfNTM0MyIvPjwvZmlsdGVyPjwvZGVmcz48L3N2Zz4=) no-repeat;color:#ffedce;cursor:pointer;display:flex;font-family:Lemon;font-size:28px;font-style:normal;font-weight:400;justify-content:center;line-height:79px;width:270px}.index_appBingo__lGi1V .index_appMain__RF7Le .index_tab__anlY- .index_tabItem__dlbdA.index_cur__i2YoB{background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNzgiIGhlaWdodD0iODciIGZpbGw9Im5vbmUiPjxnIGZpbHRlcj0idXJsKCNhKSI+PHBhdGggZD0iTTEzLjY3NCAyMS4xMjhDMTUuNTggOS41MTkgMjUuNjE0IDEgMzcuMzc5IDFoMjAzLjI0M2MxMS43NjQgMCAyMS43OTcgOC41MiAyMy43MDUgMjAuMTI4TDI3NCA4MEg0bDkuNjc0LTU4Ljg3MloiIGZpbGw9IiM4RTU3MUUiLz48L2c+PGRlZnM+PGZpbHRlciBpZD0iYSIgeD0iMCIgeT0iMCIgd2lkdGg9IjI3OCIgaGVpZ2h0PSI4NyIgZmlsdGVyVW5pdHM9InVzZXJTcGFjZU9uVXNlIiBjb2xvci1pbnRlcnBvbGF0aW9uLWZpbHRlcnM9InNSR0IiPjxmZUZsb29kIGZsb29kLW9wYWNpdHk9IjAiIHJlc3VsdD0iQmFja2dyb3VuZEltYWdlRml4Ii8+PGZlQ29sb3JNYXRyaXggaW49IlNvdXJjZUFscGhhIiB2YWx1ZXM9IjAgMCAwIDAgMCA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IDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDEyNyAwIiByZXN1bHQ9ImhhcmRBbHBoYSIvPjxmZU9mZnNldCBkeT0iMSIvPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjEiLz48ZmVDb21wb3NpdGUgaW4yPSJoYXJkQWxwaGEiIG9wZXJhdG9yPSJhcml0aG1ldGljIiBrMj0iLTEiIGszPSIxIi8+PGZlQ29sb3JNYXRyaXggdmFsdWVzPSIwIDAgMCAwIDAuNzYyNSAwIDAgMCAwIDAuNDc4NTQ4IDAgMCAwIDAgMC4xODQyNzEgMCAwIDAgMSAwIi8+PGZlQmxlbmQgaW4yPSJlZmZlY3QyX2lubmVyU2hhZG93XzQzMDBfNTM0MiIgcmVzdWx0PSJlZmZlY3QzX2lubmVyU2hhZG93XzQzMDBfNTM0MiIvPjwvZmlsdGVyPjwvZGVmcz48L3N2Zz4=) no-repeat;color:#613c17}.index_gameList__fChI8{overflow-y:scroll}.index_gameList__fChI8 .index_list__5THML .index_ant-table__4zXVb{background:red}.index_gameList__fChI8 table{width:100%}.index_gameList__fChI8 table thead th{background:#613c17;color:hsla(0,0%,100%,.6);font-family:Poppins;font-size:16px;font-style:normal;font-weight:400;line-height:30px;padding:10px 16px;white-space:nowrap}@media screen and (max-width:768px){.index_gameList__fChI8 table thead th{font-size:14px}}.index_gameList__fChI8 table thead th:first-child{border-bottom-left-radius:25px;border-top-left-radius:25px!important}.index_gameList__fChI8 table thead th:last-child{border-bottom-right-radius:25px;border-top-right-radius:25px!important;text-align:right}.index_gameList__fChI8 table tbody td{color:#613c17;font-family:Poppins;font-size:16px;font-style:normal;font-weight:600;line-height:30px;padding:21px;white-space:nowrap}@media screen and (max-width:1400px){.index_gameList__fChI8 table tbody td{font-size:14px}}.index_loadMore__aBwEZ{display:flex;height:106px;justify-content:center;margin-bottom:40px;margin-top:240px;position:relative} \ No newline at end of file diff --git a/485.efdd5b7d.bundle.js b/485.efdd5b7d.bundle.js new file mode 100644 index 0000000..838da9e --- /dev/null +++ b/485.efdd5b7d.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkbingo_frontend=self.webpackChunkbingo_frontend||[]).push([[485],{11066:(e,n,t)=>{t.d(n,{Z:()=>r});var i=t(99905),a=t(76098),l=t(5975);const r=(e,n,t)=>(0,l.uN)({abi:i,address:null!=n?n:(0,a.$y)(e,a.iJ.Fee),signer:t,chainId:e})},96156:(e,n,t)=>{t.d(n,{Z:()=>a});var i=t(67294);const a=(e,n,t)=>{const a=(()=>{const[e,n]=(0,i.useReducer)((()=>!0),!1);return(0,i.useEffect)(n,[n]),e})(),l=(0,i.useRef)(!1),r=(0,i.useCallback)((async()=>{if(!l.current){l.current=!0;try{await e()}catch(e){console.error(e)}l.current=!1}}),[e,a]);(0,i.useEffect)((()=>{if(a){const e=setInterval(r,n);return()=>{clearInterval(e)}}}),[a,r,n])}},54442:(e,n,t)=>{t.d(n,{DF:()=>N});var i,a,l,r,o,d,g,c,s,p,m,I,b=t(41766),u=t(67294),x=t(29163),f=t(70795),M=t(15197);function A(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}x.ZP.button(i||(i=A(["\n padding: ",";\n width: ",";\n font-weight: 400;\n height: auto;\n font-size: ",";\n font-family: 'Lemon';\n text-align: center;\n border-radius: ",";\n outline: none;\n border: 0px solid transparent;\n color: ",";\n text-decoration: none;\n display: flex;\n justify-content: center;\n flex-wrap: nowrap;\n align-items: center;\n cursor: pointer;\n position: relative;\n z-index: 1;\n filter: drop-shadow(0px 4px 7px #fcd7a6);\n &::before {\n content: ' ';\n display: block;\n background: url(",") no-repeat;\n width: 16px;\n height: 13px;\n position: absolute;\n top: 3px;\n left: 18px;\n opacity: 1;\n }\n &::after {\n content: ' ';\n background: url(",") no-repeat;\n width: 16px;\n height: 13px;\n position: absolute;\n top: 13px;\n left: 10px;\n }\n &:disabled {\n opacity: 50%;\n cursor: auto;\n pointer-events: none;\n }\n div {\n font-family: 'Lemon';\n }\n\n will-change: transform;\n transition: transform 450ms ease;\n transform: perspective(1px) translateZ(0);\n\n > * {\n user-select: none;\n }\n\n > a {\n text-decoration: none;\n }\n"])),(e=>{let{padding:n}=e;return null!=n?n:"16px"}),(e=>{let{width:n}=e;return null!=n?n:"100%"}),(e=>{let{size:n}=e;return null!=n?n:"22px"}),(e=>{let{$borderRadius:n}=e;return null!=n?n:"47px"}),(e=>{let{color:n}=e;return null!=n?n:"#fff5e1"}),f,M);const h=(0,x.iv)(a||(a=A(["\n background: linear-gradient(180deg, #e2e2e2 0%, #828282 100%);\n cursor: auto;\n pointer-events: none;\n"]))),w=x.ZP.button(l||(l=A(["\n padding: 5px;\n position: relative;\n border: "," solid ",";\n height: ",";\n border-radius: ",";\n width: ",";\n cursor: pointer;\n &::before {\n content: ' ';\n background: url(",") no-repeat;\n width: 16px;\n height: 13px;\n position: absolute;\n top: 3px;\n left: 18px;\n z-index: 1;\n }\n &::after {\n content: ' ';\n background: url(",") no-repeat;\n width: 16px;\n height: 13px;\n position: absolute;\n top: 15px;\n left: 12px;\n opacity: 1;\n }\n"])),(e=>{let{$borderWidth:n}=e;return null!=n?n:"0px"}),(e=>{let{$borderColor:n}=e;return null!=n?n:"#FFD58F"}),(e=>{let{height:n}=e;return null!=n?n:"58px"}),(e=>{let{$borderRadius:n}=e;return null!=n?n:"47px"}),(e=>{let{width:n}=e;return null!=n?n:"100%"}),f,M),y=x.ZP.div(r||(r=A(["\n border-radius: ",";\n filter: blur(1px);\n border: 0px;\n width: 100%;\n pointer-events: none;\n height: 100%;\n"])),(e=>{let{$borderRadius:n}=e;return null!=n?n:"47px"})),Z=(0,x.ZP)(w)(o||(o=A(["\n background: linear-gradient(180deg, #daff71 0%, #66c80f 36.98%, #1b7b00 100%);\n &:hover {\n background: linear-gradient(180deg, #ffc978 0%, #ff7e3c 45.83%, #c53213 100%);\n .btn-content {\n background: linear-gradient(180deg, #fdaf53 0%, #dc4f26 100%);\n }\n .btn-text {\n text-shadow: -1px -1.5px 0px #892702;\n }\n }\n ",";\n"])),(e=>{let{disabled:n}=e;return n&&(0,x.iv)(d||(d=A(["\n background: linear-gradient(180deg, #ffffff 0%, #a0a5a5 39.58%, #696969 100%);\n cursor: auto;\n pointer-events: none;\n "])))})),C=(0,x.ZP)(y)(g||(g=A(["\n background: linear-gradient(180deg, #88e413 0%, #2a9507 100%);\n ",";\n\n &:hover {\n background: linear-gradient(180deg, #fdaf53 0%, #dc4f26 100%);\n }\n"])),(e=>{let{disabled:n}=e;return n&&h})),z=(0,x.iv)(c||(c=A(["\n color: #e2e2e2;\n text-shadow: -1px -1.5px 0px #3f3f3f;\n"]))),D=x.ZP.div(s||(s=A(["\n .div {\n font-family: 'Lemon';\n }\n .span {\n font-family: 'Lemon';\n }\n font-family: 'Lemon' !important;\n font-style: normal;\n pointer-events: none;\n border: 0px;\n font-weight: 400;\n font-size: ",";\n text-align: center;\n color: #fff5e1;\n position: absolute;\n text-shadow: -1px -1.5px 0px #208001;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n ",";\n &:hover {\n text-shadow: -1px -1.5px 0px #892702;\n }\n"])),(e=>{let{size:n}=e;return null!=n?n:"22px"}),(e=>e.disabled&&z)),N=((0,x.ZP)(w)(p||(p=A(["\n background: linear-gradient(180deg, #ffc978 0%, #ff7e3c 45.83%, #c53213 100%);\n &:hover {\n background: linear-gradient(180deg, #ffc978 0%, #ff7e3c 45.83%, #c53213 100%);\n .btn-content {\n background: linear-gradient(180deg, #fdaf53 0%, #dc4f26 100%);\n }\n }\n .btn-text {\n text-shadow: -1px -1.5px 0px #892702;\n }\n ",";\n"])),(e=>{let{disabled:n}=e;return n&&(0,x.iv)(m||(m=A(["\n background: linear-gradient(180deg, #ffffff 0%, #a0a5a5 39.58%, #696969 100%);\n cursor: auto;\n pointer-events: none;\n "])))})),(0,x.ZP)(y)(I||(I=A(["\n background: linear-gradient(180deg, #fdaf53 0%, #dc4f26 100%);\n &:focus {\n background: linear-gradient(180deg, #fdaf53 0%, #dc4f26 100%);\n }\n &:hover {\n color: #fff5e1;\n background: linear-gradient(180deg, #fdaf53 0%, #dc4f26 100%);\n }\n &:active {\n color: #fff5e1;\n background: linear-gradient(180deg, #fdaf53 0%, #dc4f26 100%);\n }\n &:disabled {\n background: linear-gradient(180deg, #ffffff 0%, #a0a5a5 39.58%, #696969 100%);\n color: #e2e2e2;\n cursor: auto;\n box-shadow: none;\n outline: none;\n }\n"]))),new b.Howl({src:["/audio/play.mp3"]}),e=>{const{children:n,size:t,width:i,height:a,disabled:l,borderWidth:r,borderColor:o,onClick:d,style:g}=e;return u.createElement(Z,{style:g,width:i,height:a,disabled:l,$borderWidth:r,$borderColor:o,onClick:()=>{d()}},u.createElement(C,{disabled:l,className:"btn-content"}),u.createElement(D,{size:t,disabled:l,className:"btn-text"},n))})},41056:(e,n,t)=>{t.d(n,{Z:()=>Z});t(15086);var i,a,l,r,o=t(94055),d=(t(54277),t(74048)),g=t(57119),c=t(44431),s=t.n(c),p=t(67294),m=t(29163),I=t(11066),b=t(59619),u=t(96156),x=t(9120),f=t(88017);function M(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}const A=m.ZP.div(i||(i=M(["\n padding-bottom: ",";\n display: ",";\n align-items: center;\n justify-content: space-between;\n font-size: ",";\n line-height: ",";\n &:last-child {\n padding-bottom: 0px;\n }\n"])),(e=>{let{isMobile:n}=e;return n?"6px":"5px"}),(e=>{let{isMobile:n}=e;return n?"flex":""}),(e=>{let{isMobile:n}=e;return n?"12px":"16px"}),(e=>{let{isMobile:n}=e;return n&&"18px"})),h=m.ZP.div(a||(a=M(["\n color: ",";\n font-family: Poppins;\n line-height: 30px;\n font-weight: 600;\n\n @media (max-width: 768px) {\n line-height: 18px;\n }\n"])),(e=>{let{color:n}=e;return n||"#613c17"})),w=m.ZP.div(l||(l=M(["\n color: #db5f16;\n font-family: Pacifico;\n font-size: ",";\n line-height: ",";\n"])),(e=>{let{isMobile:n}=e;return n?"16px":"24px"}),(e=>{let{isMobile:n}=e;return n?"18px":"42px"})),y=(0,m.ZP)(g.Z)(r||(r=M(["\n color: ",";\n"])),(e=>{let{color:n}=e;return n||"#613c17"})),Z=e=>{let{color:n,playersNumber:t,room:i,betSize:a}=e;const{chainId:l}=(0,b.a)(),r=(0,x.d)(),[g,c]=(0,p.useState)(0),[m,M]=(0,p.useState)("0%"),Z=(0,p.useMemo)((()=>{const e=new(s())(g);return t?(console.log(e.toString(),t),e.multipliedBy(t).toNumber().toFixed(2)):0}),[g,t]),C=(0,p.useMemo)((()=>new(s())(2).multipliedBy(g).toNumber().toFixed(2)),[g]),z=(0,p.useMemo)((()=>new(s())(5).multipliedBy(g).toNumber().toFixed(2)),[g]),D=(0,p.useCallback)((async()=>{let e=l;e||(e=5611);const n=(0,I.Z)(e),t=await n.read.getGameFeeRatio(),i=new(s())(t),a=new(s())("1000000"),r=i.dividedBy(a).toNumber(),o=i.dividedBy(a).times(100),d=new(s())(1).minus(r).toNumber();M(o.toFixed(2)+"%"),c(d)}),[l]);return(0,u.Z)(D,2e3,!0),p.createElement(p.Fragment,null,p.createElement(A,{isMobile:r,style:i||r?{}:{paddingBottom:"5px"}},p.createElement("div",null,p.createElement(d.default,{size:8},p.createElement(h,{color:n},"Pledged per player"))),p.createElement(d.default,{align:"center"},p.createElement(w,{isMobile:r},t&&a?(0,f.lb)(a,0):"5,000~20,000"),p.createElement("img",{src:"/img/bingo/radish.svg",alt:"radish",width:r?16:""}))),p.createElement(A,{isMobile:r,style:i||r?{}:{paddingBottom:"5px"}},p.createElement("div",null,p.createElement(d.default,{size:8},p.createElement(h,{color:n},"Game Fee"),p.createElement(o.default,{title:"Commission rates adjust dynamically based on the platform's debt ratio."},p.createElement(y,{color:n})))),p.createElement(d.default,{align:"center"},p.createElement(w,{isMobile:r},m))),p.createElement(A,{isMobile:r,style:i||r?{}:{paddingBottom:"5px"}},p.createElement("div",null,p.createElement(d.default,{size:8},p.createElement(h,{color:n},"Multiplier"),p.createElement(o.default,{title:"Multiplier = Prize pool * (1 - Game fee) / Pledged per player"},p.createElement(y,{color:n})))),p.createElement(d.default,{align:"center"},p.createElement(w,{isMobile:r},t?Z:p.createElement(p.Fragment,null,C,"~",z)))),p.createElement(A,{isMobile:r},p.createElement("div",null,p.createElement(d.default,{align:"center",size:8},p.createElement(h,{color:n},"Prize pool"),p.createElement(o.default,{title:"Prize pool = Pledged per playe * Number of players"},p.createElement(y,{color:n})))),p.createElement(d.default,{align:"center"},p.createElement(w,{isMobile:r},t&&a?(0,f.lb)(Number(a)*t,0):p.createElement(p.Fragment,null,"10,000~100,000")),p.createElement("img",{src:"/img/bingo/radish.svg",width:r?16:"",alt:"radish"}))))}},61672:(e,n,t)=>{t.r(n),t.d(n,{default:()=>xn});t(23221);var i,a,l,r,o,d,g,c=t(60713),s=t(18446),p=t.n(s),m=t(96751),I=t(67294),b=t(29163),u=t(59619),x=t(84689),f=t(9120),M=t(88017),A=t(49786),h=t(54442),w=(t(30467),t(55673)),y=(t(58136),t(5789)),Z=t(41056);function C(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}const z=b.ZP.div(i||(i=C(["\n border-radius: ",";\n background: #fde8c8;\n padding: ",";\n font-family: Poppins;\n color: #613c17;\n font-size: ",";\n line-height: 24px;\n height: 100%;\n\n .rules-header span {\n color: #db5f16;\n font-weight: 700;\n }\n .rules-text {\n padding-top: 10px;\n font-weight: 500;\n font-size: 16px;\n line-height: 24px;\n @media (max-width: 768px) {\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n }\n }\n .rules-title {\n font-weight: 700;\n color: #613c17;\n font-family: Poppins;\n font-size: 16px;\n line-height: 24px;\n margin: 0;\n @media (max-width: 768px) {\n font-size: 12px;\n font-weight: 600;\n line-height: 24px;\n }\n }\n .rules-example {\n padding-top: 16px;\n }\n"])),(e=>{let{isMobile:n}=e;return n?"8px":"24px"}),(e=>{let{isMobile:n}=e;return n?"15px":"24px"}),(e=>{let{isMobile:n}=e;return n?"12px":"16px"})),D=(0,b.ZP)(z)(a||(a=C(["\n height: ",";\n overflow: auto;\n /* 自定义滚动条样式(仅在Webkit浏览器中有效) */\n &::-webkit-scrollbar {\n width: 4px;\n display: block;\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: rgba(143, 72, 0, 0.5); /* 滚动条拖动块的颜色 */\n border-radius: 8px; /* 滚动条拖动块的圆角 */\n }\n"])),(e=>{let{isMobile:n}=e;return n?"256px":"100%"})),N=(b.ZP.div(l||(l=C(["\n color: #613c17;\n font-family: Poppins;\n line-height: 30px;\n font-weight: 600;\n @media (max-width: 768px) {\n line-height: 18px;\n }\n"]))),b.ZP.div(r||(r=C(["\n color: #db5f16;\n font-family: Pacifico;\n font-size: ",";\n"])),(e=>{let{isMobile:n}=e;return n?"16px":"24px"})),b.ZP.div(o||(o=C(["\n padding-bottom: ",";\n display: ",";\n align-items: center;\n justify-content: space-between;\n font-size: ",";\n &:last-child {\n padding-bottom: 0px;\n }\n"])),(e=>{let{isMobile:n}=e;return n?"16px":"35px"}),(e=>{let{isMobile:n}=e;return n?"flex":""}),(e=>{let{isMobile:n}=e;return n?"12px":"16px"})),b.ZP.div(d||(d=C(["\n color: #613c17;\n font-family: Lemon;\n font-size: 20px;\n @media (max-width: 768px) {\n font-size: 14px;\n }\n"])))),v=(b.ZP.div(g||(g=C(["\n color: #db5f16;\n font-family: Lemon;\n font-size: 16px;\n margin-right: 8px;\n @media (max-width: 768px) {\n margin-right: 6px;\n font-size: 14px;\n }\n"]))),()=>{const e=(0,f.d)();return I.createElement(I.Fragment,null,I.createElement(w.Z,{gutter:[14,14],style:e?{}:{paddingTop:"60px"}},I.createElement(y.Z,{span:e?24:16},I.createElement(w.Z,{justify:"space-between",align:"middle"},I.createElement(y.Z,{flex:"auto"},I.createElement(N,null,"Bingo Rules")))),I.createElement(y.Z,{span:e?24:16,order:2},I.createElement(D,{isMobile:e},I.createElement("div",{className:"rules-header"},I.createElement("h3",{className:"rules-title"},"Number of players: ",I.createElement("span",null,"2-5")),I.createElement("h3",{className:"rules-title"},"Difficulty Level: ",I.createElement("span",null,"25 out of 36 possible numbers")),I.createElement("h3",{className:"rules-title"},"Victory Conditions: ",I.createElement("span",null,"2 lines"))),I.createElement("div",{className:"rules-example"},I.createElement("h3",{className:"rules-title"},"Take two players as an example: "),I.createElement("p",{className:"rules-text"},"1. First fill in numbers 1-25 randomly on their own 5X5 grid cards. (The number arrangement of the game cards is only known to you and varies from person to person)"),I.createElement("p",{className:"rules-text"},"2. Start to choose numbers in turn, and share numbers."),I.createElement("p",{className:"rules-text"},"3. For the selected number, whoever marks 2 lines (horizontal line/vertical line/slash line) on the grid first will win the bingo.")))),I.createElement(y.Z,{span:e?24:8,order:e?1:3},I.createElement(z,{isMobile:e},I.createElement(Z.Z,null)))))});t(9405);var P,E,j=t(89552),k=(t(82815),t(84960)),G=(t(56120),t(74253)),B=(t(54277),t(74048)),W=(t(14574),t(56590)),X=(t(35797),t(64749)),S=(t(15144),t(2307)),T=t(19675),V=t(94184),Y=t.n(V),H=t(2804),L=t(66847),R=(t(1025),t(65400)),O=t(27370);function F(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}const Q=(0,b.ZP)(R.default)(P||(P=F(["\n color: #44af18;\n background: transparent;\n font-family: Poppins;\n font-size: 16px;\n font-weight: 600;\n &:active {\n color: #44af18;\n background: transparent;\n }\n &:hover {\n color: #44af18;\n background: transparent;\n }\n &:focus {\n color: #44af18;\n background: transparent;\n }\n"]))),J=b.ZP.div(E||(E=F(["\n color: #613c17;\n text-align: right;\n font-family: Poppins;\n font-size: 12px;\n border-radius: 12px;\n border: 1px solid #613c17;\n padding: 2px 10px;\n"])));function U(e){let{bingoInfo:n,isMobile:t}=e;const[i,a]=(0,I.useState)(!1),{cardNumbers:l,selectedNumbers:r}=n;return I.createElement(I.Fragment,null,t?I.createElement(J,{onClick:()=>a(!0)},"Bingo Card"):I.createElement(Q,{type:"link",onClick:()=>a(!0)},"view"),I.createElement(O.yp,{onClose:()=>a(!1),showDialog:i,cardNumbers:l,selectedNumbers:r}))}var _,K,$=t(76098),q=t(61511),ee=t(23697),ne=t(89082),te=t(60215);function ie(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function ae(e){for(var n=1;n{let{address:n,size:t,style:i,border:a}=e;const{selectedAvatar:l,selectedBackground:r}=(0,te.Z)(n);return I.createElement(k.ZP,{size:t,className:"custom-avatar",src:l,style:ae(ae({background:r},i),{},{border:a?"":"1px solid #613C17"}),alt:"".concat(n)})});var ge,ce;function se(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}const pe=b.ZP.div(ge||(ge=se(["\n text-align: center;\n padding-top: 172px;\n padding-bottom: 273px;\n"]))),me=b.ZP.div(ce||(ce=se(["\n color: #613c17;\n font-family: Poppins;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 30px;\n"])));function Ie(){return I.createElement(I.Fragment,null,I.createElement(pe,null,I.createElement("img",{src:"/img/bingo/NoDataIcon.svg",alt:""}),I.createElement(me,null,"NO Data")))}const be={appBingo:"index_appBingo__lGi1V",appMain:"index_appMain__RF7Le",tab:"index_tab__anlY-",tabItem:"index_tabItem__dlbdA",cur:"index_cur__i2YoB",gameList:"index_gameList__fChI8",list:"index_list__5THML","ant-table":"index_ant-table__4zXVb",loadMore:"index_loadMore__aBwEZ"};var ue,xe,fe,Me,Ae,he,we,ye,Ze;function Ce(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}const ze=(0,b.ZP)(S.Z)(ue||(ue=Ce(["\n .ant-table {\n background: transparent;\n }\n\n .editable-row {\n td {\n border: 0px;\n }\n &:hover {\n td {\n background: #ffe5bf !important;\n }\n }\n }\n"]))),De=b.ZP.div(xe||(xe=Ce(["\n border: 3px solid rgba(101, 237, 188, 0.19);\n background: #60e300;\n width: 6px;\n height: 6px;\n border-radius: 50%;\n"]))),Ne=b.ZP.div(fe||(fe=Ce(["\n padding: 4px;\n border-radius: 26px;\n background: linear-gradient(180deg, #b36801 0.01%, #d28112 47.92%, #eda139 100%);\n position: absolute;\n top: ",";\n right: ",";\n z-index: 1;\n display: flex;\n align-items: center;\n"])),(e=>{let{isMobile:n}=e;return n?"none":"-54px"}),(e=>{let{isMobile:n}=e;return n?"none":"65px"})),ve=(0,b.ZP)(X.default)(Me||(Me=Ce(["\n border-radius: 21px;\n background: #8e571e;\n color: #fff0cf !important;\n font-size: 16px;\n font-weight: 600;\n box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.25) inset;\n width: 160px;\n height: 36px;\n display: flex !important;\n align-items: center;\n\n @media (max-width: 768px) {\n font-size: 12px;\n /* width: 98px; */\n height: 28px;\n }\n"]))),Pe=b.ZP.div(Ae||(Ae=Ce(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 10px;\n"]))),Ee=b.ZP.div(he||(he=Ce(["\n color: ",";\n font-family: Poppins;\n font-size: 12px;\n padding: 2px 8px;\n display: flex;\n align-items: center;\n gap: 6px;\n border-radius: 12px;\n background: ",";\n"])),(e=>{let{status:n}=e;return n?"#60e300":"#613C17"}),(e=>{let{status:n}=e;return n?"rgba(96, 227, 0, 0.16)":"#FFD698"})),je=b.ZP.div(we||(we=Ce(["\n border-radius: 8px;\n background: #ffd6a2;\n font-family: Poppins;\n margin-bottom: 10px;\n font-size: 12px;\n color: #613c17;\n .card-info {\n border-radius: 8px;\n background: #ffe4bb;\n }\n .card-label {\n opacity: 0.4;\n &:last-child {\n text-align: right;\n }\n }\n .card-value {\n font-size: 14px;\n }\n"]))),ke=(0,b.ZP)(W.default)(ye||(ye=Ce(["\n margin-top: 45px !important;\n /* max-height: 50vh; */\n height: 380px;\n overflow-y: scroll;\n"]))),Ge=b.ZP.div(Ze||(Ze=Ce(["\n display: flex;\n width: 100%;\n justify-content: right;\n align-items: center;\n"]))),Be=(0,I.memo)((e=>{let{recentList:n}=e;const t=(0,f.d)(),[i,a]=(0,I.useState)("All"),[l,r]=(0,H.FV)(ne.rY),[o,d]=(0,I.useState)(!1),{list:g,hasError:c}=(0,I.useMemo)((()=>n),[n]),s=(0,I.useMemo)((()=>{const e=$.KC.filter((e=>e!==$.a_.Arbitrum)).map((e=>({value:e,label:$.GK[e]})));return e.unshift({value:"All",label:"All"}),e}),[]),p=(0,I.useCallback)((e=>{a(e)}),[]);(0,I.useEffect)((()=>{l.length?d(!1):d(!0)}),[l.length]);const m=(0,I.useMemo)((()=>l.length&&i&&"All"!==i?l.filter((e=>e.chainId===i)).slice(0,20):l.slice(0,20)),[l.length,i]);(0,I.useMemo)((()=>{if(g&&g.size){let e=[];Array.from(g.entries()).forEach((n=>{let[,t]=n;e=e.concat(t)})),r(e.sort(((e,n)=>Number(n.startTimeNumber)-Number(e.startTimeNumber))))}}),[null==g?void 0:g.size]);const b=(0,I.useMemo)((()=>[{title:"Status",dataIndex:"status",key:"status",render:e=>I.createElement(ee.Z,{status:e,isMobile:t})},{title:"Start time",dataIndex:"startTime",key:"startTime",render:(e,n)=>{let{startTime:i,startTimeMobile:a}=n;return t?a:i}},{title:"Winner/Players",dataIndex:"winnerOrPlayers",key:"winnerOrPlayers",width:200,render:(e,n)=>{let{status:t,players:i}=n;return I.createElement("div",{style:{display:"flex"}},t===A._.End&&I.createElement(B.default,{size:10,align:"center"},I.createElement("div",{style:{height:"32px"}},I.createElement(L.Z,{account:e,size:32,showAccount:!1})),(0,M.LM)(e)),t===A._.Live&&I.createElement(B.default,null,e),t===A._.Overtime&&I.createElement(B.default,null,"None"))}},{title:"Room ID",dataIndex:"roomIDStr",key:"roomIDStr"},{title:"Bingo Card",dataIndex:"bingoInfo",key:"bingoInfo",render:(e,n)=>{let{status:t}=n;return I.createElement("div",null,t===A._.End?I.createElement(U,{bingoInfo:e}):I.createElement("div",{style:{fontFamily:"Poppins",fontWeight:600,paddingLeft:"15px"}},"None"))}},{title:"Pledged",dataIndex:"inputPerPlayer",key:"inputPerPlayer",render:e=>I.createElement(q.C,{label:e,showPoint:!0,isMobile:t})},{title:"Multiplier",dataIndex:"multiplier",key:"multiplier"},{title:"Winnings",dataIndex:"win",key:"win",align:"right",render:e=>I.createElement(Ge,null,I.createElement(q.C,{label:e,showPoint:!0,isMobile:t}))}]),[t]),u=(0,I.useCallback)((e=>t?I.createElement(je,null,I.createElement("div",{className:"card-info"},I.createElement(Pe,null,I.createElement(B.default,{size:0,split:I.createElement(G.Z,{type:"vertical"})},e.roomIDStr," | ",e.startTime),I.createElement(Ee,{status:e.status===A._.Live},e.status,e.status===A._.Live&&I.createElement(De,null))),I.createElement(Pe,null,I.createElement("div",null,I.createElement("div",{className:"card-label"},"Pledged per player"),I.createElement("div",{className:"card-value"},I.createElement(B.default,null,e.inputPerPlayer,I.createElement("img",{src:"/img/bingo/radish.svg",width:20})))),I.createElement("div",null,I.createElement("div",{className:"card-label"},"Multiplier"),I.createElement("div",{className:"card-value"},e.multiplier)),I.createElement("div",null,I.createElement("div",{className:"card-label"},"Winnings"),I.createElement("div",{className:"card-value"},I.createElement(B.default,null,e.win,I.createElement("img",{src:"/img/bingo/radish.svg",width:20})))))),I.createElement(Pe,null,e.status===A._.End&&I.createElement(I.Fragment,null,I.createElement(B.default,{size:10,align:"center"},I.createElement("div",{style:{border:"1px solid #613C17",borderRadius:"50%",display:"flex"}},I.createElement(L.Z,{account:e.winnerOrPlayers,size:20,showAccount:!1})),(0,M.LM)(e.winnerOrPlayers)),I.createElement(U,{bingoInfo:e.bingoInfo,isMobile:!0})),e.status===A._.Live&&I.createElement(I.Fragment,null,I.createElement(k.ZP.Group,null,e.players.map((e=>I.createElement(de,{key:e.user,address:e.user,size:20})))),I.createElement("div",{style:{opacity:"0.7"}},e.winnerOrPlayers)),e.status===A._.Overtime&&I.createElement(B.default,null,"None"))):null),[t]),x=(0,I.useMemo)((()=>c?I.createElement("div",{className:be.error},I.createElement("p",null,"Error")):o?I.createElement("div",{className:Y()("lt-spin",be.loadMore)},I.createElement(j.default,{size:"large",tip:"Loading..."})):I.createElement(Ie,null)),[c,o]),h=(0,I.useMemo)((()=>I.createElement(ke,{itemLayout:"horizontal",dataSource:m,loading:o,renderItem:e=>u(e),locale:{emptyText:x}})),[c,o,m]);return I.createElement(I.Fragment,null,I.createElement(Ne,{isMobile:t},I.createElement(ve,{bordered:!1,dropdownRender:e=>I.createElement("div",{className:"selectDropdownBox"},e),defaultValue:"All",onChange:p,suffixIcon:I.createElement(T.Z,{style:{color:"#52B70C"}}),options:s})),t?h:I.createElement("div",{className:be.gameList},I.createElement(ze,{className:"customTable",columns:b,rowClassName:"editable-row",bordered:!1,rowKey:"roomIDStr",dataSource:m,scroll:{y:450},pagination:!1,locale:{emptyText:x}})))}),p()),We=Be;var Xe,Se,Te,Ve,Ye,He,Le,Re,Oe,Fe,Qe,Je,Ue,_e,Ke,$e,qe,en,nn=t(43275),tn=t(24535),an=t(22580);function ln(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}const rn=b.ZP.div(Xe||(Xe=ln(["\n font-size: ",";\n color: #fff0cf;\n font-family: 'Lemon';\n height: ",";\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n img {\n width: ",";\n }\n"])),(e=>{let{isMobile:n}=e;return n?"12px":"16px"}),(e=>{let{isMobile:n}=e;return n?"30px":"50px"}),(e=>{let{isMobile:n}=e;return n?"24px":""})),on=b.ZP.div(Se||(Se=ln(["\n max-width: 663px;\n margin: 0px auto;\n"]))),dn=b.ZP.div(Te||(Te=ln(["\n position: relative;\n background: linear-gradient(\n 269.95deg,\n rgba(0, 0, 0, 0) 0.03%,\n rgba(0, 0, 0, 0.381377) 11.05%,\n rgba(0, 0, 0, 0.55) 19.08%,\n rgba(0, 0, 0, 0.651217) 31.77%,\n rgba(0, 0, 0, 0.71) 46.15%,\n rgba(0, 0, 0, 0.645956) 60.54%,\n rgba(0, 0, 0, 0.47) 77.68%,\n rgba(0, 0, 0, 0.336351) 85.5%,\n rgba(0, 0, 0, 0) 98.97%\n );\n &::before {\n content: '';\n height: 2px;\n width: 100%;\n display: block;\n left: 0;\n top: 0;\n position: absolute;\n background: linear-gradient(269.95deg, rgba(255, 171, 84, 0) 0.03%, #d8881e 45.42%, rgba(255, 156, 53, 0) 98.97%);\n }\n &::after {\n content: '';\n height: 2px;\n display: block;\n width: 100%;\n left: 0;\n bottom: 0;\n position: absolute;\n background: linear-gradient(269.95deg, rgba(255, 171, 84, 0) 0.03%, #d8881e 45.42%, rgba(255, 156, 53, 0) 98.97%);\n }\n"]))),gn=b.ZP.div(Ve||(Ve=ln(["\n padding: ",";\n margin: 0 ",";\n position: relative;\n /* margin-top: -10px; */\n margin-left: 18px;\n margin-bottom: 36px;\n\n @media (max-width: 768px) {\n overflow-y: scroll;\n }\n /* height: ","; */\n // margin-top: ",";\n // background: url('/img/bingo/cardBg02.png') no-repeat;\n // background-size: 100% 100%;\n"])),(e=>{let{isMobile:n}=e;return n?"14px":"27px 43px"}),(e=>{let{isMobile:n}=e;return n?"13px":"25px"}),(e=>{let{isMobile:n}=e;return n?"650px":"600px"}),(e=>{let{isMobile:n}=e;return n?"-10px":"-14px"})),cn=b.ZP.div(Ye||(Ye=ln(["\n padding: 40px 10px 10px 10px;\n @media (max-width: 768px) {\n padding-top: 10px;\n }\n"]))),sn=b.ZP.div(He||(He=ln(["\n border-radius: ",";\n width: ",";\n height: ",";\n margin: 0px auto;\n padding-bottom: 25px;\n position: relative;\n background: url('/img/bingo/",".png') no-repeat;\n background-size: 100%;\n // background: linear-gradient(180deg, #bd7614 0%, #e39325 0.01%, #bc6d00 100%);\n // box-shadow: 0px -2px 2px 0px rgba(0, 0, 0, 0.25) inset, 0px 2px 1px 0px rgba(255, 255, 255, 0.3) inset,\n // 0px 0px 4px 2px rgba(255, 255, 255, 0.2) inset;\n"])),(e=>{let{isMobile:n}=e;return n?"12px":"32px"}),(e=>{let{isMobile:n}=e;return n?"355px":"1165px"}),(e=>{let{isMobile:n}=e;return n?"589px":"773px"}),(e=>{let{isMobile:n,tab:t}=e;return n?"cardBg01_m"+t:"cardBg01"+t})),pn=b.ZP.div(Le||(Le=ln(["\n position: relative;\n display: flex;\n padding-left: ",";\n justify-content: ",";\n /* margin: 0 ","; */\n @media (max-width: 1000px) {\n padding-left: 40px;\n }\n @media (max-width: 768px) {\n padding-left: 0;\n }\n .TabsWrapper_bg {\n position: absolute;\n height: 10px;\n background: radial-gradient(135.43% 117.95% at 48.97% 16.4%, #fff8ec 0%, #fff5e3 0.01%, #ffedd4 67.24%, #ffdcb1 100%);\n /* background: url('/img/bingo/",".png') no-repeat; */\n width: 1106px;\n bottom: 0;\n left: 0;\n margin-left: 25px;\n /* margin-right: 25px; */\n background-position: top center;\n @media (max-width: 1020px) {\n height: 40px;\n bottom: -30px;\n }\n @media (max-width: 768px) {\n left: 25px;\n // display: none;\n height: 20px;\n bottom: -10px;\n }\n }\n"])),(e=>{let{isMobile:n}=e;return n?"0":"74px"}),(e=>{let{isMobile:n}=e;return n?"center":"start"}),(e=>{let{isMobile:n}=e;return n?"auto":"74px"}),(e=>{let{isMobile:n}=e;return n?"cardBg02_m":"cardBg02"})),mn=b.ZP.div(Re||(Re=ln(["\n display: flex;\n gap: 18px;\n padding-top: 0;\n @media (max-width: 768px) {\n margin-top: 0;\n padding-top: 10px;\n gap: 9px;\n }\n @media (max-width: 468px) {\n padding-top: 0;\n margin-top: -7px;\n }\n"]))),In=b.ZP.div(Oe||(Oe=ln(["\n font-family: Lemon;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 270px;\n height: ",";\n /* background: url(",") no-repeat center; */\n background-size: cover;\n font-size: ",";\n @media (max-width: 1165px) {\n margin-top: 10%;\n width: 150px;\n height: 50px;\n font-size: 15px;\n background-size: 100%;\n }\n @media (max-width: 900px) {\n margin-top: 17%;\n // width: 150px;\n // height: 50px;\n // font-size: 15px;\n // background-size: 100%;\n }\n @media (max-width: 768px) {\n width: 140px;\n margin-top: 0;\n font-size: 14px;\n }\n"])),(e=>{let{isMobile:n}=e;return n?"42px":"79px"}),(e=>{let{Active:n}=e;return n?an:tn}),(e=>{let{isMobile:n}=e;return n?"14px":"28px"})),bn=b.ZP.div(Fe||(Fe=ln(["\n width: 414px;\n height: 131px;\n overflow: hidden;\n position: absolute;\n left: 0;\n right: 0;\n bottom: -19px;\n margin: 0 auto;\n text-align: center;\n\n p {\n position: relative;\n z-index: 1;\n color: #fff;\n text-shadow: 2px -2px 0 #208001, -2px 2px 0 #208001;\n font-family: Lemon;\n font-size: 50px;\n font-weight: 400;\n cursor: pointer;\n }\n &::after {\n position: absolute;\n bottom: 0;\n display: block;\n content: ' ';\n background: url('/img/bingo/play.svg') no-repeat;\n background-size: 100% auto;\n width: 414px;\n height: 151px;\n cursor: pointer;\n transition: all 0.3s ease;\n }\n\n &:hover {\n &::after {\n background-image: url(",");\n }\n }\n"])),nn),un=(b.ZP.div(Qe||(Qe=ln(["\n color: #62380c;\n text-align: center;\n font-family: Lemon;\n font-size: 20px;\n font-style: normal;\n font-weight: 400;\n line-height: 18px;\n padding-top: 114px;\n @media screen and (max-width: 768px) {\n font-size: 14px;\n padding-top: 62px;\n }\n"]))),b.ZP.div(Je||(Je=ln(["\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n @media screen and (max-width: 768px) {\n gap: 4px;\n }\n"]))),b.ZP.div(Ue||(Ue=ln(["\n width: 50px;\n height: 64px;\n border-radius: 12px;\n background: #8e571e;\n color: #fff;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 38px;\n color: #fff;\n font-family: Poppins;\n font-weight: 600;\n @media screen and (max-width: 768px) {\n width: 30px;\n height: 40px;\n font-size: 24px;\n border-radius: 6px;\n }\n"]))),b.ZP.div(_e||(_e=ln(["\n color: #62380c;\n font-family: Poppins;\n font-size: 12px;\n padding-top: 30px;\n padding-bottom: 8px;\n @media screen and (max-width: 768px) {\n padding-top: 20px;\n }\n"]))),b.ZP.div(Ke||(Ke=ln(["\n display: flex;\n padding-right: ",";\n justify-content: center; /* 水平居中 */\n align-items: center; /* 垂直居中 */\n height: calc(100vh - 70px); /* 使用视口高度来撑开容器 */\n"])),(e=>{let{isMobile:n}=e;return!n&&"90px"})),b.ZP.div($e||($e=ln(["\n padding-top: 56px;\n width: 4px;\n height: 64px;\n display: flex;\n align-items: center;\n @media screen and (max-width: 768px) {\n padding-top: 46px;\n height: 40px;\n }\n"]))),b.ZP.div(qe||(qe=ln(["\n width: 4px;\n height: 4px;\n border-radius: 50%;\n background: #8e571e;\n"]))),b.ZP.div(en||(en=ln(["\n display: flex;\n gap: 8px;\n align-items: center;\n justify-content: center;\n @media screen and (max-width: 768px) {\n gap: 4px;\n }\n"]))),(0,I.memo)((()=>{var e;const{account:n,chainId:t}=(0,u.a)(),i=(0,f.d)(),{openConnectModal:a}=(0,m.We)(),[l,r]=(0,I.useState)("rule"),[o,d]=(0,I.useState)([]),g=(0,x.z)(),s=(0,I.useCallback)((async()=>{if(!t||!g.list)return;const e=g.list.get(t);e&&e.length&&d(e.filter((e=>e.status!==A._.Overtime)).sort(((e,n)=>Number(n.startTimeNumber)-Number(e.startTimeNumber))))}),[g]);return(0,I.useEffect)((()=>{s()}),[t,n,null===(e=g.list)||void 0===e?void 0:e.size]),I.createElement(I.Fragment,null,o&&o.length>0?I.createElement(on,{style:{padding:"10px 0"}},I.createElement(dn,null,I.createElement(c.Z,{autoplay:!0,dots:!1,dotPosition:"left",adaptiveHeight:!0},o.map(((e,n)=>I.createElement(on,{key:n},"end"===e.status&&I.createElement(rn,{isMobile:i},I.createElement("img",{src:"/img/bingo/crown.svg",alt:""})," ",(0,M.LM)(e.winner)," Win!"),"live"===e.status&&I.createElement(rn,{isMobile:i},I.createElement("img",{src:"/img/bingo/star.svg",alt:""}),"Game ID ",e.roomIDStr," Playing..."))))))):I.createElement("div",{style:{padding:"10px 0"}}),I.createElement(cn,null,I.createElement(sn,{isMobile:i,tab:l},I.createElement(pn,{isMobile:i},I.createElement(mn,{isMobile:i},I.createElement(In,{isMobile:i,Active:"rule"===l,onClick:()=>r("rule")}),I.createElement(In,{isMobile:i,Active:"list"===l,onClick:()=>r("list")}))),I.createElement(gn,{isMobile:i},"rule"===l&&I.createElement(v,null),"list"===l&&I.createElement(We,{recentList:g}),i&&I.createElement("div",{style:{paddingTop:"14px",paddingBottom:"20px",width:"80%",margin:"0 auto"}},I.createElement(h.DF,{onClick:()=>n?window.open("#/zBingo/play","_blank"):a&&a()},"Play"))),!i&&I.createElement(bn,{onClick:()=>n?window.open("#/zBingo/play","_blank"):a&&a()},I.createElement("p",null,"Play")))))}),p())),xn=un},89082:(e,n,t)=>{t.d(n,{q7:()=>l,Wg:()=>r,rY:()=>o});var i=t(2804),a=t(59314);let l;!function(e){e.totalVault="totalVault",e.totalPoint="totalPoint",e.totalGame="totalGame",e.totalPlayers="totalPlayers",e.totalDebtObligation="totalDebtObligation",e.totalGpBurned="totalGpBurned"}(l||(l={}));(0,i.cn)({key:"videoDialog",default:!1});const r=(0,i.cn)({key:"homeDateState",default:{totalVault:"0",totalPoint:"0",totalGame:"0",totalPlayers:"0",totalDebtObligation:"0",totalGpBurned:"0",total:{}},effects_UNSTABLE:[(0,a.Nh)("homeDateState")]}),o=(0,i.cn)({key:"gameListChainListState2",default:[]})},70795:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxNSAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjAxOTkgMy4zMzc4NEMxNC44NTgg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QmxlbmQgbW9kZT0ibm9ybWFsIiBpbjI9ImVmZmVjdDJfaW5uZXJTaGFkb3dfNDMwMF81MzQzIiByZXN1bHQ9ImVmZmVjdDNfaW5uZXJTaGFkb3dfNDMwMF81MzQzIi8+CiAgICA8L2ZpbHRlcj4KICA8L2RlZnM+Cjwvc3ZnPg=="}}]); \ No newline at end of file diff --git a/5184.8bbe493c.bundle.js b/5184.8bbe493c.bundle.js new file mode 100644 index 0000000..eb50ab3 --- /dev/null +++ b/5184.8bbe493c.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkbingo_frontend=self.webpackChunkbingo_frontend||[]).push([[5184],{6087:(I,i,M)=>{M.d(i,{VH:()=>j});var n=M(71210),e=M(9163);M(76098);let l;const g=async()=>{if(window.ethereum)return new n.Q(window.ethereum);if(window.web3)return new n.Q(window.web3.currentProvider);throw new Error("can't find default provider")},j=I=>new Promise((async(i,M)=>{if(I)i(new e.r(I));else if(l)i(l);else{const I=await g();I?(l=I,i(I)):M("can't find default provider")}}));window.addEventListener("load",(async()=>{g()}))},43733:(I,i,M)=>{M.d(i,{id:()=>g,ZP:()=>j});var n=M(27440),e=M(76098),l=M(5975);M(59619),M(63829);const g=I=>{let{address:i,library:M,account:e}=I;return(0,l.xi)({address:i,abi:n,library:M,account:e})};const j=(I,i,M)=>(0,l.uN)({abi:n,address:null!=i?i:(0,e.$y)(I,e.iJ.Lobby),signer:M,chainId:I})},96156:(I,i,M)=>{M.d(i,{Z:()=>e});var n=M(67294);const e=(I,i,M)=>{const e=(()=>{const[I,i]=(0,n.useReducer)((()=>!0),!1);return(0,n.useEffect)(i,[i]),I})(),l=(0,n.useRef)(!1),g=(0,n.useCallback)((async()=>{if(!l.current){l.current=!0;try{await I()}catch(I){console.error(I)}l.current=!1}}),[I,e]);(0,n.useEffect)((()=>{if(e){const I=setInterval(g,i);return()=>{clearInterval(I)}}}),[e,g,i])}},25963:(I,i,M)=>{M.d(i,{DF:()=>W,w5:()=>S});var n,e,l,g,j,c,N,t,d,a,b,Z,D=M(41766),o=M(67294),z=M(29163),y=M(21582),x=M(52990);function m(I,i){return i||(i=I.slice(0)),Object.freeze(Object.defineProperties(I,{raw:{value:Object.freeze(i)}}))}z.ZP.button(n||(n=m(["\n padding: ",";\n width: ",";\n font-weight: 400;\n height: auto;\n font-size: ",";\n font-family: 'Lemon';\n text-align: center;\n border-radius: ",";\n outline: none;\n border: 0px solid transparent;\n color: ",";\n text-decoration: none;\n display: flex;\n justify-content: center;\n flex-wrap: nowrap;\n align-items: center;\n cursor: pointer;\n position: relative;\n z-index: 1;\n filter: drop-shadow(0px 4px 7px #fcd7a6);\n &::before {\n content: ' ';\n display: block;\n background: url(",") no-repeat;\n width: 16px;\n height: 13px;\n position: absolute;\n top: 3px;\n left: 18px;\n opacity: 1;\n }\n &::after {\n content: ' ';\n background: url(",") no-repeat;\n width: 16px;\n height: 13px;\n position: absolute;\n top: 13px;\n left: 10px;\n }\n &:disabled {\n opacity: 50%;\n cursor: auto;\n pointer-events: none;\n }\n div {\n font-family: 'Lemon';\n }\n\n will-change: transform;\n transition: transform 450ms ease;\n transform: perspective(1px) translateZ(0);\n\n > * {\n user-select: none;\n }\n\n > a {\n text-decoration: none;\n }\n"])),(I=>{let{padding:i}=I;return null!=i?i:"16px"}),(I=>{let{width:i}=I;return null!=i?i:"100%"}),(I=>{let{size:i}=I;return null!=i?i:"22px"}),(I=>{let{$borderRadius:i}=I;return null!=i?i:"47px"}),(I=>{let{color:i}=I;return null!=i?i:"#fff5e1"}),y,x);const u=(0,z.iv)(e||(e=m(["\n background: linear-gradient(180deg, #e2e2e2 0%, #828282 100%);\n cursor: auto;\n pointer-events: none;\n"]))),r=z.ZP.button(l||(l=m(["\n padding: 5px;\n position: relative;\n border: "," solid ",";\n height: ",";\n border-radius: ",";\n width: ",";\n cursor: pointer;\n &::before {\n content: ' ';\n background: url(",") no-repeat;\n width: 16px;\n height: 13px;\n position: absolute;\n top: 3px;\n left: 18px;\n z-index: 1;\n }\n &::after {\n content: ' ';\n background: url(",") no-repeat;\n width: 16px;\n height: 13px;\n position: absolute;\n top: 15px;\n left: 12px;\n opacity: 1;\n }\n"])),(I=>{let{$borderWidth:i}=I;return null!=i?i:"0px"}),(I=>{let{$borderColor:i}=I;return null!=i?i:"#FFD58F"}),(I=>{let{height:i}=I;return null!=i?i:"58px"}),(I=>{let{$borderRadius:i}=I;return null!=i?i:"47px"}),(I=>{let{width:i}=I;return null!=i?i:"100%"}),y,x),A=z.ZP.div(g||(g=m(["\n border-radius: ",";\n filter: blur(1px);\n border: 0px;\n width: 100%;\n pointer-events: none;\n height: 100%;\n"])),(I=>{let{$borderRadius:i}=I;return null!=i?i:"47px"})),w=(0,z.ZP)(r)(j||(j=m(["\n background: linear-gradient(180deg, #daff71 0%, #66c80f 36.98%, #1b7b00 100%);\n &:hover {\n background: linear-gradient(180deg, #ffc978 0%, #ff7e3c 45.83%, #c53213 100%);\n .btn-content {\n background: linear-gradient(180deg, #fdaf53 0%, #dc4f26 100%);\n }\n .btn-text {\n text-shadow: -1px -1.5px 0px #892702;\n }\n }\n ",";\n"])),(I=>{let{disabled:i}=I;return i&&(0,z.iv)(c||(c=m(["\n background: linear-gradient(180deg, #ffffff 0%, #a0a5a5 39.58%, #696969 100%);\n cursor: auto;\n pointer-events: none;\n "])))})),G=(0,z.ZP)(A)(N||(N=m(["\n background: linear-gradient(180deg, #88e413 0%, #2a9507 100%);\n ",";\n\n &:hover {\n background: linear-gradient(180deg, #fdaf53 0%, #dc4f26 100%);\n }\n"])),(I=>{let{disabled:i}=I;return i&&u})),p=(0,z.iv)(t||(t=m(["\n color: #e2e2e2;\n text-shadow: -1px -1.5px 0px #3f3f3f;\n"]))),C=z.ZP.div(d||(d=m(["\n .div {\n font-family: 'Lemon';\n }\n .span {\n font-family: 'Lemon';\n }\n font-family: 'Lemon' !important;\n font-style: normal;\n pointer-events: none;\n border: 0px;\n font-weight: 400;\n font-size: ",";\n text-align: center;\n color: #fff5e1;\n position: absolute;\n text-shadow: -1px -1.5px 0px #208001;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n ",";\n &:hover {\n text-shadow: -1px -1.5px 0px #892702;\n }\n"])),(I=>{let{size:i}=I;return null!=i?i:"22px"}),(I=>I.disabled&&p)),s=(0,z.ZP)(r)(a||(a=m(["\n background: linear-gradient(180deg, #ffc978 0%, #ff7e3c 45.83%, #c53213 100%);\n &:hover {\n background: linear-gradient(180deg, #ffc978 0%, #ff7e3c 45.83%, #c53213 100%);\n .btn-content {\n background: linear-gradient(180deg, #fdaf53 0%, #dc4f26 100%);\n }\n }\n .btn-text {\n text-shadow: -1px -1.5px 0px #892702;\n }\n ",";\n"])),(I=>{let{disabled:i}=I;return i&&(0,z.iv)(b||(b=m(["\n background: linear-gradient(180deg, #ffffff 0%, #a0a5a5 39.58%, #696969 100%);\n cursor: auto;\n pointer-events: none;\n "])))})),T=(0,z.ZP)(A)(Z||(Z=m(["\n background: linear-gradient(180deg, #fdaf53 0%, #dc4f26 100%);\n &:focus {\n background: linear-gradient(180deg, #fdaf53 0%, #dc4f26 100%);\n }\n &:hover {\n color: #fff5e1;\n background: linear-gradient(180deg, #fdaf53 0%, #dc4f26 100%);\n }\n &:active {\n color: #fff5e1;\n background: linear-gradient(180deg, #fdaf53 0%, #dc4f26 100%);\n }\n &:disabled {\n background: linear-gradient(180deg, #ffffff 0%, #a0a5a5 39.58%, #696969 100%);\n color: #e2e2e2;\n cursor: auto;\n box-shadow: none;\n outline: none;\n }\n"]))),W=(new D.Howl({src:["/audio/play.mp3"]}),I=>{const{children:i,size:M,width:n,height:e,disabled:l,borderWidth:g,borderColor:j,onClick:c,style:N}=I;return o.createElement(w,{style:N,width:n,height:e,disabled:l,$borderWidth:g,$borderColor:j,onClick:()=>{c()}},o.createElement(G,{disabled:l,className:"btn-content"}),o.createElement(C,{size:M,disabled:l,className:"btn-text"},i))}),S=I=>{const{children:i,size:M,height:n,width:e,disabled:l,borderWidth:g,borderColor:j,onClick:c}=I;return o.createElement(s,{width:e,height:n,disabled:l,$borderWidth:g,$borderColor:j,onClick:()=>{c()}},o.createElement(T,{disabled:l,className:"btn-content"}),o.createElement(C,{size:M,disabled:l,className:"btn-text"},i))}},19013:(I,i,M)=>{M.d(i,{bH:()=>H,aI:()=>F,Su:()=>O,fr:()=>U,O7:()=>J,Qn:()=>f});M(54277);var n,e,l=M(74048),g=M(7085),j=M(74942),c=M(67294),N=M(29163),t=M(9120),d=M(25963);function a(I,i){return i||(i=I.slice(0)),Object.freeze(Object.defineProperties(I,{raw:{value:Object.freeze(i)}}))}const b=N.ZP.div(n||(n=a(["\n display: flex;\n justify-content: center;\n align-items: center;\n"]))),Z=N.ZP.div(e||(e=a(["\n border-width: 0.5rem;\n border-style: solid;\n border-color: #864802;\n border-top: 0.5rem solid transparent;\n width: 3.625rem;\n height: 3.625rem;\n border-radius: 50%;\n position: relative;\n -webkit-animation: spin 2s infinite;\n animation: spin 2s infinite;\n\n /* &:before,\n &:after {\n content: '';\n width: 0.5rem;\n height: 0.5rem;\n border-radius: 50%;\n background: purple;\n position: absolute;\n left: 0.125rem;\n }\n\n &:before {\n top: 0.063rem;\n }\n\n &:after {\n bottom: 0.063rem;\n } */\n\n @keyframes spin {\n 100% {\n transform: rotate(360deg);\n }\n }\n"]))),D=()=>c.createElement(b,null,c.createElement(Z,null));var o,z,y,x,m,u,r,A,w,G,p,C,s,T,W,S=M(9790),P=M(15388),k=M(96025),L=(M(15551),M(94073)),E=M(63298),h=(M(9095),M(96600));function V(I,i){return i||(i=I.slice(0)),Object.freeze(Object.defineProperties(I,{raw:{value:Object.freeze(i)}}))}(0,N.ZP)(j.t9)(o||(o=V(["\n &[data-reach-dialog-overlay] {\n z-index: 11;\n background-color: transparent;\n overflow: hidden;\n display: flex;\n align-items: center;\n\n justify-content: center;\n\n background-color: rgba(0, 0, 0, 0.7);\n backdrop-filter: blur(5px);\n }\n"]))),(0,N.ZP)(j.cZ)(z||(z=V(["\n position: relative;\n border: 6px solid #ac6513;\n background: #f8e9c8;\n width: 450px;\n margin: 0 10px;\n border-radius: 60px;\n filter: drop-shadow(0px 0px 41px rgba(84, 40, 0, 0.7));\n &::before {\n content: '';\n position: absolute;\n top: 19px;\n right: 19px;\n width: 68px;\n height: 53px;\n background: url(",") no-repeat;\n }\n &::after {\n content: '';\n position: absolute;\n bottom: 20px;\n left: 17px;\n width: 68px;\n height: 53px;\n background: url(",") no-repeat;\n }\n"])),E,L);const R=N.ZP.img(y||(y=V(["\n position: absolute;\n top: -10px;\n right: -16px;\n cursor: pointer;\n"]))),X=(N.ZP.div(x||(x=V(["\n position: absolute;\n top: -90px;\n z-index: 9;\n display: flex;\n left: 0;\n width: 100%;\n justify-content: center;\n align-items: center;\n"]))),N.ZP.div(m||(m=V(["\n position: absolute;\n bottom: -27px;\n left: 0;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n"]))),(0,N.ZP)(j.cZ)(u||(u=V(["\n position: relative;\n background: transparent;\n padding: 0;\n margin-top: 20vh;\n"]))),N.ZP.div(r||(r=V(["\n max-width: 472px;\n .grade-img {\n padding-top: 62px;\n padding-bottom: 50px;\n display: flex;\n align-items: center;\n justify-content: center;\n background: url(",") center no-repeat;\n }\n"])),h));const Y=(0,N.ZP)(j.Vq)(A||(A=V(["\n background: #f8e9c8;\n border-radius: 60px;\n box-shadow: inset 0px -3.73819px 3.73819px rgba(0, 0, 0, 0.25);\n border: 6px solid #ac6513;\n max-width: 460px;\n min-height: 260px;\n text-align: center;\n position: relative;\n padding: ",";\n margin: 0 15px;\n\n &[data-reach-dialog-content] {\n width: ",";\n }\n &::before {\n content: '';\n position: absolute;\n top: 17px;\n right: 17px;\n width: 68px;\n height: 53px;\n background: url(",") no-repeat;\n }\n &::after {\n content: '';\n position: absolute;\n bottom: 20px;\n left: 17px;\n width: 68px;\n height: 53px;\n background: url(",") no-repeat;\n }\n"])),(I=>{let{isMobile:i}=I;return i?"63px 41px 44px":"54px 70px"}),(I=>{let{isMobile:i}=I;return i?"90vw":"50vw"}),E,L),v=N.ZP.div(w||(w=V(["\n left: 0;\n right: 0;\n position: absolute;\n margin: 0 auto;\n z-index: 1;\n bottom: -29px;\n"]))),B=N.ZP.div(G||(G=V(["\n color: #864802;\n font-family: 'Lemon';\n font-size: 16px;\n padding-bottom: 16px;\n div {\n font-family: 'Lemon';\n }\n\n text-align: center;\n"])));N.ZP.div(p||(p=V(["\n position: absolute;\n top: ",";\n left: 0;\n right: 0;\n"])),(I=>{let{isMobile:i}=I;return i?"-61px":"-103px"})),N.ZP.img(C||(C=V([""])));const Q=N.ZP.div(s||(s=V(["\n font-size: 24px;\n color: #864802;\n font-family: 'Lemon';\n padding-bottom: 24px;\n text-align: center;\n"])));N.ZP.div(T||(T=V(["\n color: #62380c;\n text-align: center;\n font-family: Poppins;\n font-size: 12px;\n"])));function H(I){const{open:i,onCancle:M,onClose:n,closeLoading:e}=I,j=(0,t.d)();return c.createElement(c.Fragment,null,c.createElement(Y,{isMobile:j,isOpen:i},c.createElement(Q,null,"Leave Matchmaking?"),c.createElement(B,null,"After exiting, the game card will be reset, and the $GPs you pledged will be returned to your wallet address."),c.createElement(v,null,c.createElement(l.default,null,c.createElement(d.w5,{width:j?"140px":"164px",onClick:n},c.createElement("div",{style:{fontFamily:"Lemon"}}," Leave ",e&&c.createElement(g.Z,{style:{paddingLeft:"5px"}}))),c.createElement(d.DF,{width:j?"140px":"164px",onClick:M},"Cancel")))))}function J(I){const{open:i,onCancle:M,onClose:n,closeLoading:e,onBlack:j}=I,N=(0,t.d)();return c.createElement(c.Fragment,null,c.createElement(Y,{isMobile:N,isOpen:i},c.createElement(R,{src:k,alt:"close",onClick:j}),c.createElement(Q,null,"TIPS"),c.createElement(B,null,"Your game is still in progress. Return to the ongoing session?"),c.createElement(v,null,c.createElement(l.default,null,c.createElement(d.w5,{width:N?"140px":"164px",onClick:n},"Restart ",e&&c.createElement(g.Z,{style:{paddingLeft:"5px"}})),c.createElement(d.DF,{width:N?"140px":"164px",onClick:M},"Return")))))}function f(I){const{open:i,onCancle:M,onClose:n,closeLoading:e,onBlack:j}=I,N=(0,t.d)();return c.createElement(c.Fragment,null,c.createElement(Y,{isMobile:N,isOpen:i},c.createElement(R,{src:k,alt:"close",onClick:j}),c.createElement(Q,null,"TIPS"),c.createElement(B,null,"Oops! Your game is still in progress, but your game card of the current game has been lost. Please restart the game."),c.createElement(v,null,c.createElement(l.default,null,c.createElement(d.DF,{width:N?"140px":"164px",onClick:M},"Restart ",e&&c.createElement(g.Z,{style:{paddingLeft:"5px"}}))))))}function U(I){const{open:i,onCancle:M,onClose:n}=I,e=(0,t.d)();return c.createElement(c.Fragment,null,c.createElement(Y,{isMobile:e,isOpen:i},c.createElement(Q,null,"Timed out!"),c.createElement(B,null,"The player failed to complete the Bingo within the time limit"),c.createElement(v,null,c.createElement(l.default,null,c.createElement(d.w5,{width:e?"140px":"164px",onClick:n},"Back"),c.createElement(d.DF,{width:e?"140px":"164px",onClick:M},"Play again")))))}function O(I){const{open:i,onCancle:M,title:n,content:e,garde:g}=I,j=(0,t.d)();return c.createElement(c.Fragment,null,c.createElement(Y,{isMobile:j,isOpen:i,style:{paddingLeft:"35px",paddingRight:"35px",maxWidth:"546px"}},c.createElement(Q,null,n),c.createElement(X,null,c.createElement(B,{style:{fontSize:"14px"}},e),c.createElement("div",{className:"grade-img"},c.createElement("img",{src:2===g?P:S,alt:""}))),c.createElement(v,null,c.createElement(l.default,null,c.createElement(d.DF,{width:j?"140px":"164px",onClick:M},"Confirm")))))}const F=I=>{let{open:i,children:M,onCancle:n,title:e,footer:l,loading:g}=I;const j=(0,t.d)();return c.createElement(Y,{isMobile:j,isOpen:i},c.createElement(Q,null,g?c.createElement(D,null):e),c.createElement(B,null,M),l&&c.createElement(v,null,l))};N.ZP.div(W||(W=V(["\n background: #f8e9c8;\n border-radius: ",";\n box-shadow: inset 0px -3.73819px 3.73819px rgba(0, 0, 0, 0.25);\n border: 6px solid #ac6513;\n width: 710px;\n height: ",";\n min-height: 260px;\n text-align: center;\n position: relative;\n margin: 0 15px;\n &::before {\n content: '';\n position: absolute;\n top: 17px;\n right: 17px;\n width: 68px;\n height: 53px;\n background: url(",") no-repeat;\n }\n &::after {\n content: '';\n position: absolute;\n bottom: 20px;\n left: 17px;\n width: 68px;\n height: 53px;\n background: url(",") no-repeat;\n }\n"])),(I=>{let{isMobile:i}=I;return i?"40px":"76px"}),(I=>{let{isMobile:i}=I;return i?"272px":"350px"}),E,L)},21582:I=>{I.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxNSAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjAxOTkgMy4zMzc4NEMxNC44NTggNS4zODI1MSAxMi4yNjIgNi4zMDk2OCA4LjY3Njc0IDcuNzczNDZDNS4wOTE0NSA5LjIzNzI0IDEuODc0NTIgMTAuNjgzMyAxLjAzNjQxIDguNjM4NjdDMC4xOTgyOTggNi41OTQgMi4zNDIyIDMuMDQxNyA1LjkyNzQ5IDEuNTc3OTJDOS41MTI3OCAwLjExNDE0IDEzLjE4MTggMS4yOTMxOCAxNC4wMTk5IDMuMzM3ODRaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"},52990:I=>{I.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNSIgaGVpZ2h0PSI1IiB2aWV3Qm94PSIwIDAgNSA1IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8ZWxsaXBzZSBjeD0iMi4wMDExNiIgY3k9IjIuNTAzNTMiIHJ4PSIyLjAwMTE2IiByeT0iMi41MDM1MyIgdHJhbnNmb3JtPSJtYXRyaXgoMC41NDAwODcgMC44NDE2MDkgLTAuODQyNTg0IDAuNTM4NTY0IDMuNTIz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RpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KPHN0b3Agc3RvcC1jb2xvcj0iI0ZFQ0M0QyIvPgo8c3RvcCBvZmZzZXQ9IjAuNTE1NjI1IiBzdG9wLWNvbG9yPSIjRkVFMjREIiBzdG9wLW9wYWNpdHk9IjAuMzQzNzUiLz4KPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRkVDQzREIiBzdG9wLW9wYWNpdHk9IjAiLz4KPC9saW5lYXJHcmFkaWVudD4KPC9kZWZzPgo8L3N2Zz4K"}}]); \ No newline at end of file diff --git a/8444.341f36b2.chunk.css b/5208.341f36b2.chunk.css similarity index 100% rename from 8444.341f36b2.chunk.css rename to 5208.341f36b2.chunk.css diff --git a/6170.643987b4.chunk.css b/528.643987b4.chunk.css similarity index 100% rename from 6170.643987b4.chunk.css rename to 528.643987b4.chunk.css diff --git a/528.fb998196.bundle.js b/528.fb998196.bundle.js new file mode 100644 index 0000000..9816026 --- /dev/null +++ b/528.fb998196.bundle.js @@ -0,0 +1,2 @@ +/*! For license information please see 528.fb998196.bundle.js.LICENSE.txt */ +(self.webpackChunkbingo_frontend=self.webpackChunkbingo_frontend||[]).push([[528],{72025:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"}},43046:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"}},96847:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"}},51990:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"}},15155:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"}},16120:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"}},41973:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"}},33696:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"}},52364:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"}},28706:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"}},46133:(e,t,n)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(76048))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},18244:(e,t,n)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(12556))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},22802:(e,t,n)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(85673))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},44100:(e,t,n)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(89052))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},94188:(e,t,n)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(42528))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},19028:(e,t,n)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(40790))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},98084:(e,t,n)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(68084))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},51786:(e,t,n)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(55393))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},2098:(e,t,n)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(66342))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},30967:(e,t,n)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=(r=n(91873))&&r.__esModule?r:{default:r};t.default=o,e.exports=o},76048:(e,t,n)=>{"use strict";var r=n(20862),o=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(81109)),i=r(n(67294)),l=o(n(72025)),u=o(n(92074)),c=function(e,t){return i.createElement(u.default,(0,a.default)((0,a.default)({},e),{},{ref:t,icon:l.default}))};c.displayName="CaretDownFilled";var d=i.forwardRef(c);t.default=d},12556:(e,t,n)=>{"use strict";var r=n(20862),o=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(81109)),i=r(n(67294)),l=o(n(43046)),u=o(n(92074)),c=function(e,t){return i.createElement(u.default,(0,a.default)((0,a.default)({},e),{},{ref:t,icon:l.default}))};c.displayName="CaretDownOutlined";var d=i.forwardRef(c);t.default=d},85673:(e,t,n)=>{"use strict";var r=n(20862),o=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(81109)),i=r(n(67294)),l=o(n(96847)),u=o(n(92074)),c=function(e,t){return i.createElement(u.default,(0,a.default)((0,a.default)({},e),{},{ref:t,icon:l.default}))};c.displayName="CaretUpOutlined";var d=i.forwardRef(c);t.default=d},89052:(e,t,n)=>{"use strict";var r=n(20862),o=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(81109)),i=r(n(67294)),l=o(n(51990)),u=o(n(92074)),c=function(e,t){return i.createElement(u.default,(0,a.default)((0,a.default)({},e),{},{ref:t,icon:l.default}))};c.displayName="FileOutlined";var d=i.forwardRef(c);t.default=d},42528:(e,t,n)=>{"use strict";var r=n(20862),o=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(81109)),i=r(n(67294)),l=o(n(15155)),u=o(n(92074)),c=function(e,t){return i.createElement(u.default,(0,a.default)((0,a.default)({},e),{},{ref:t,icon:l.default}))};c.displayName="FilterFilled";var d=i.forwardRef(c);t.default=d},40790:(e,t,n)=>{"use strict";var r=n(20862),o=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(81109)),i=r(n(67294)),l=o(n(16120)),u=o(n(92074)),c=function(e,t){return i.createElement(u.default,(0,a.default)((0,a.default)({},e),{},{ref:t,icon:l.default}))};c.displayName="FolderOpenOutlined";var d=i.forwardRef(c);t.default=d},68084:(e,t,n)=>{"use strict";var r=n(20862),o=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(81109)),i=r(n(67294)),l=o(n(41973)),u=o(n(92074)),c=function(e,t){return i.createElement(u.default,(0,a.default)((0,a.default)({},e),{},{ref:t,icon:l.default}))};c.displayName="FolderOutlined";var d=i.forwardRef(c);t.default=d},55393:(e,t,n)=>{"use strict";var r=n(20862),o=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(81109)),i=r(n(67294)),l=o(n(33696)),u=o(n(92074)),c=function(e,t){return i.createElement(u.default,(0,a.default)((0,a.default)({},e),{},{ref:t,icon:l.default}))};c.displayName="HolderOutlined";var d=i.forwardRef(c);t.default=d},66342:(e,t,n)=>{"use strict";var r=n(20862),o=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(81109)),i=r(n(67294)),l=o(n(52364)),u=o(n(92074)),c=function(e,t){return i.createElement(u.default,(0,a.default)((0,a.default)({},e),{},{ref:t,icon:l.default}))};c.displayName="MinusSquareOutlined";var d=i.forwardRef(c);t.default=d},91873:(e,t,n)=>{"use strict";var r=n(20862),o=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(81109)),i=r(n(67294)),l=o(n(28706)),u=o(n(92074)),c=function(e,t){return i.createElement(u.default,(0,a.default)((0,a.default)({},e),{},{ref:t,icon:l.default}))};c.displayName="PlusSquareOutlined";var d=i.forwardRef(c);t.default=d},88702:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.easeInOutCubic=function(e,t,n,r){var o=n-t;if((e/=r/2)<1)return o/2*e*e*e+t;return o/2*((e-=2)*e*e+2)+t}},60366:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).reduce((function(t,n){return!n.startsWith("data-")&&!n.startsWith("aria-")&&"role"!==n||n.startsWith("data-__")||(t[n]=e[n]),t}),{})}},38686:(e,t)=>{"use strict";function n(e){return null!=e&&e===e.window}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r,o;if("undefined"==typeof window)return 0;var a=t?"scrollTop":"scrollLeft",i=0;n(e)?i=e[t?"pageYOffset":"pageXOffset"]:e instanceof Document?i=e.documentElement[a]:(e instanceof HTMLElement||e)&&(i=e[a]);e&&!n(e)&&"number"!=typeof i&&(i=null===(o=(null!==(r=e.ownerDocument)&&void 0!==r?r:e).documentElement)||void 0===o?void 0:o[a]);return i},t.isWindow=n},44230:(e,t,n)=>{"use strict";var r=n(85269).default,o=n(49932).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=a.useRef(e),n=(0,i.default)();return[function(){return t.current},function(e){t.current=e,n()}]};var a=o(n(67294)),i=r(n(23854))},73730:(e,t,n)=>{"use strict";var r=n(49932).default,o=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getContainer,r=void 0===n?function(){return window}:n,o=t.callback,u=t.duration,c=void 0===u?450:u,d=r(),s=(0,l.default)(d,!0),f=Date.now(),p=function t(){var n=Date.now()-f,r=(0,i.easeInOutCubic)(n>c?c:n,s,e,c);(0,l.isWindow)(d)?d.scrollTo(window.pageXOffset,r):d instanceof Document||"HTMLDocument"===d.constructor.name?d.documentElement.scrollTop=r:d.scrollTop=r,n{"use strict";var r=n(49932).default,o=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(23035)),i=o(n(32716)),l=o(n(94184)),u=o(n(49378)),c=r(n(67294)),d=n(31929),s=n(51130),f=(o(n(13594)),n(58338)),p=o(n(93319)),v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{"use strict";var r=n(49932).default,o=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GroupContext=void 0;var a=o(n(32716)),i=o(n(23035)),l=o(n(32354)),u=o(n(67900)),c=o(n(94184)),d=o(n(54406)),s=r(n(67294)),f=n(31929),p=o(n(62270)),v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0&&(r=j().map((function(e){return s.createElement(p.default,{prefixCls:R,key:e.value.toString(),disabled:"disabled"in e?e.disabled:x.disabled,value:e.value,checked:P.includes(e.value),onChange:e.onChange,className:"".concat(K,"-item"),style:e.style},e.label)})));var I={toggleOption:function(e){var t=P.indexOf(e.value),n=(0,l.default)(P);-1===t?n.push(e.value):n.splice(t,1),"value"in x||S(n);var r=j();null==E||E(n.filter((function(e){return D.includes(e)})).sort((function(e,t){return r.findIndex((function(t){return t.value===e}))-r.findIndex((function(e){return e.value===t}))})))},value:P,disabled:x.disabled,name:x.name,registerValue:function(e){T((function(t){return[].concat((0,l.default)(t),[e])}))},cancelValue:function(e){T((function(t){return t.filter((function(t){return t!==e}))}))}},A=(0,c.default)(K,(0,i.default)({},"".concat(K,"-rtl"),"rtl"===O),g);return s.createElement("div",(0,a.default)({className:A,style:b},L,{ref:t}),s.createElement(m.Provider,{value:I},r))},y=s.forwardRef(h),g=s.memo(y);t.default=g},31059:(e,t,n)=>{"use strict";var r=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(62270)),a=r(n(58338)),i=o.default;i.Group=a.default,i.__ANT_CHECKBOX=!0;var l=i;t.default=l},7940:(e,t,n)=>{"use strict";n(83099),n(13933)},33398:(e,t,n)=>{"use strict";var r=n(49932).default,o=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(32716)),i=o(n(67900)),l=o(n(26937)),u=o(n(94184)),c=r(n(67294)),d=o(n(65400)),s=n(31929),f=n(46549),p=o(n(48301)),v=o(n(74048)),m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{"use strict";var r=n(49932).default,o=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(32716)),i=o(n(40665)),l=o(n(23035)),u=o(n(67900)),c=o(n(67638)),d=o(n(94184)),s=o(n(57932)),f=o(n(90703)),p=o(n(52904)),v=r(n(67294)),m=o(n(12386)),h=n(31929),y=n(2639),g=o(n(74132)),b=n(47419),E=n(66764),x=(o(n(13594)),o(n(33398))),C=n(46549),w=((0,E.tuple)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight","top","bottom"),function(e){var t=v.useContext(h.ConfigContext),n=t.getPopupContainer,r=t.getPrefixCls,o=t.direction;var E,x=e.menu,w=e.arrow,O=e.prefixCls,k=e.children,N=e.trigger,P=e.disabled,S=e.dropdownRender,M=e.getPopupContainer,_=e.overlayClassName,D=e.visible,T=e.open,j=e.onVisibleChange,R=e.onOpenChange,K=e.mouseEnterDelay,L=void 0===K?.15:K,I=e.mouseLeaveDelay,A=void 0===I?.1:I,H=e.autoAdjustOverflow,Z=void 0===H||H,W=r("dropdown",O),F=v.Children.only(k),U=(0,b.cloneElement)(F,{className:(0,d.default)("".concat(W,"-trigger"),(0,l.default)({},"".concat(W,"-rtl"),"rtl"===o),F.props.className),disabled:P}),V=P?[]:N;V&&V.includes("contextMenu")&&(E=!0);var B,z,G,X,Y=(0,p.default)(!1,{value:void 0!==T?T:D}),q=(0,u.default)(Y,2),Q=q[0],$=q[1],J=(0,f.default)((function(e){null==j||j(e),null==R||R(e),$(e)})),ee=(0,d.default)(_,(0,l.default)({},"".concat(W,"-rtl"),"rtl"===o)),te=(0,g.default)({arrowPointAtCenter:"object"===(0,i.default)(w)&&w.pointAtCenter,autoAdjustOverflow:Z}),ne=v.useCallback((function(){$(!1)}),[]);return v.createElement(s.default,(0,a.default)({alignPoint:E},e,{mouseEnterDelay:L,mouseLeaveDelay:A,visible:Q,builtinPlacements:te,arrow:!!w,overlayClassName:ee,prefixCls:W,getPopupContainer:M||n,transitionName:(B=r(),z=e.placement,G=void 0===z?"":z,X=e.transitionName,void 0!==X?X:G.includes("top")?"".concat(B,"-slide-down"):"".concat(B,"-slide-up")),trigger:V,overlay:function(){var t,n=e.overlay;return t=(null==x?void 0:x.items)?v.createElement(m.default,(0,a.default)({},x)):"function"==typeof n?n():n,S&&(t=S(t)),t=v.Children.only("string"==typeof t?v.createElement("span",null,t):t),v.createElement(y.OverrideProvider,{prefixCls:"".concat(W,"-menu"),expandIcon:v.createElement("span",{className:"".concat(W,"-menu-submenu-arrow")},v.createElement(c.default,{className:"".concat(W,"-menu-submenu-arrow-icon")})),mode:"vertical",selectable:!1,onClick:ne,validator:function(e){e.mode}},v.createElement(C.NoCompactStyle,null,t))},placement:function(){var t=e.placement;return t?t.includes("Center")?t.slice(0,t.indexOf("Center")):t:"rtl"===o?"bottomRight":"bottomLeft"}(),onVisibleChange:J}),U)});w.Button=x.default;var O=w;t.default=O},82891:(e,t,n)=>{"use strict";var r=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(48301)).default;t.default=o},6373:(e,t,n)=>{"use strict";n(83099),n(45929),n(1025),n(54214),n(54277)},94039:(e,t,n)=>{"use strict";var r=n(49932).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RadioOptionTypeContextProvider=t.RadioOptionTypeContext=t.RadioGroupContextProvider=void 0;var o=r(n(67294)),a=o.createContext(null),i=a.Provider;t.RadioGroupContextProvider=i;var l=a;t.default=l;var u=o.createContext(null);t.RadioOptionTypeContext=u;var c=u.Provider;t.RadioOptionTypeContextProvider=c},92461:(e,t,n)=>{"use strict";var r=n(49932).default,o=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(32716)),i=o(n(23035)),l=o(n(67900)),u=o(n(94184)),c=o(n(52904)),d=r(n(67294)),s=n(31929),f=o(n(3236)),p=o(n(60366)),v=n(94039),m=o(n(59838)),h=d.forwardRef((function(e,t){var n,r=d.useContext(s.ConfigContext),o=r.getPrefixCls,h=r.direction,y=d.useContext(f.default),g=(0,c.default)(e.defaultValue,{value:e.value}),b=(0,l.default)(g,2),E=b[0],x=b[1],C=e.prefixCls,w=e.className,O=void 0===w?"":w,k=e.options,N=e.buttonStyle,P=void 0===N?"outline":N,S=e.disabled,M=e.children,_=e.size,D=e.style,T=e.id,j=e.onMouseEnter,R=e.onMouseLeave,K=e.onFocus,L=e.onBlur,I=o("radio",C),A="".concat(I,"-group"),H=M;k&&k.length>0&&(H=k.map((function(e){return"string"==typeof e||"number"==typeof e?d.createElement(m.default,{key:e.toString(),prefixCls:I,disabled:S,value:e,checked:E===e},e):d.createElement(m.default,{key:"radio-group-value-options-".concat(e.value),prefixCls:I,disabled:e.disabled||S,value:e.value,checked:E===e.value,style:e.style},e.label)})));var Z=_||y,W=(0,u.default)(A,"".concat(A,"-").concat(P),(n={},(0,i.default)(n,"".concat(A,"-").concat(Z),Z),(0,i.default)(n,"".concat(A,"-rtl"),"rtl"===h),n),O);return d.createElement("div",(0,a.default)({},(0,p.default)(e),{className:W,style:D,onMouseEnter:j,onMouseLeave:R,onFocus:K,onBlur:L,id:T,ref:t}),d.createElement(v.RadioGroupContextProvider,{value:{onChange:function(t){var n=E,r=t.target.value;"value"in e||x(r);var o=e.onChange;o&&r!==n&&o(t)},value:E,disabled:e.disabled,name:e.name,optionType:e.optionType}},H))})),y=d.memo(h);t.default=y},64713:(e,t,n)=>{"use strict";var r=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Group",{enumerable:!0,get:function(){return o.default}}),t.default=void 0;var o=r(n(92461)),a=r(n(59838)),i=r(n(57668)),l=a.default;l.Button=i.default,l.Group=o.default,l.__ANT_RADIO=!0;var u=l;t.default=u},59838:(e,t,n)=>{"use strict";var r=n(49932).default,o=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(23035)),i=o(n(32716)),l=o(n(94184)),u=o(n(49378)),c=n(55608),d=r(n(67294)),s=n(31929),f=o(n(93319)),p=n(51130),v=(o(n(13594)),r(n(94039))),m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{"use strict";var r=n(49932).default,o=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(32716)),i=r(n(67294)),l=n(31929),u=n(94039),c=o(n(59838)),d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{"use strict";n(83099),n(67368)},94217:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){return null};t.default=n},39347:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){return null};t.default=n},79658:(e,t,n)=>{"use strict";var r=n(49932).default,o=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(23035)),i=o(n(94184)),l=r(n(67294));var u=function(e){return function(t){var n,r=t.prefixCls,o=t.onExpand,u=t.record,c=t.expanded,d=t.expandable,s="".concat(r,"-row-expand-icon");return l.createElement("button",{type:"button",onClick:function(e){o(u,e),e.stopPropagation()},className:(0,i.default)(s,(n={},(0,a.default)(n,"".concat(s,"-spaced"),!d),(0,a.default)(n,"".concat(s,"-expanded"),d&&c),(0,a.default)(n,"".concat(s,"-collapsed"),d&&!c),n)),"aria-label":c?e.collapse:e.expand,"aria-expanded":c})}};t.default=u},21321:(e,t,n)=>{"use strict";var r=n(49932).default,o=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(40665)),i=o(n(23035)),l=o(n(32716)),u=o(n(67900)),c=o(n(94184)),d=r(n(28043)),s=n(89103),f=n(66177),p=o(n(54406)),v=r(n(67294)),m=n(7177),h=o(n(30020)),y=o(n(3236)),g=o(n(60872)),b=o(n(18253)),E=o(n(69843)),x=o(n(89552)),C=o(n(73730)),w=(o(n(13594)),o(n(94217))),O=o(n(39347)),k=o(n(79658)),N=r(n(62715)),P=o(n(10072)),S=r(n(78238)),M=r(n(68833)),_=r(n(93527)),D=o(n(73368)),T=[];function j(e,t){var n,r=e.prefixCls,o=e.className,w=e.style,O=e.size,j=e.bordered,R=e.dropdownPrefixCls,K=e.dataSource,L=e.pagination,I=e.rowSelection,A=e.rowKey,H=void 0===A?"key":A,Z=e.rowClassName,W=e.columns,F=e.children,U=e.childrenColumnName,V=e.onChange,B=e.getPopupContainer,z=e.loading,G=e.expandIcon,X=e.expandable,Y=e.expandedRowRender,q=e.expandIconColumnIndex,Q=e.indentSize,$=e.scroll,J=e.sortDirections,ee=e.locale,te=e.showSorterTooltip,ne=void 0===te||te;[["filterDropdownVisible","filterDropdownOpen"],["onFilterDropdownVisibleChange","onFilterDropdownOpenChange"]].forEach((function(e){var t=(0,u.default)(e,2);t[0],t[1]}));var re=v.useMemo((function(){return W||(0,s.convertChildrenToColumns)(F)}),[W,F]),oe=v.useMemo((function(){return re.some((function(e){return e.responsive}))}),[re]),ae=(0,g.default)(oe),ie=v.useMemo((function(){var e=new Set(Object.keys(ae).filter((function(e){return ae[e]})));return re.filter((function(t){return!t.responsive||t.responsive.some((function(t){return e.has(t)}))}))}),[re,ae]),le=(0,p.default)(e,["className","style","columns"]),ue=v.useContext(y.default),ce=v.useContext(m.ConfigContext),de=ce.locale,se=void 0===de?b.default:de,fe=ce.renderEmpty,pe=ce.direction,ve=O||ue,me=(0,l.default)((0,l.default)({},se.Table),ee),he=K||T,ye=v.useContext(m.ConfigContext).getPrefixCls,ge=ye("table",r),be=ye("dropdown",R),Ee=(0,l.default)({childrenColumnName:U,expandIconColumnIndex:q},X),xe=Ee.childrenColumnName,Ce=void 0===xe?"children":xe,we=v.useMemo((function(){return he.some((function(e){return null==e?void 0:e[Ce]}))?"nest":Y||X&&X.expandedRowRender?"row":null}),[he]),Oe={body:v.useRef()},ke=v.useMemo((function(){return"function"==typeof H?H:function(e){return null==e?void 0:e[H]}}),[H]),Ne=(0,P.default)(he,Ce,ke),Pe=(0,u.default)(Ne,1)[0],Se={},Me=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=(0,l.default)((0,l.default)({},Se),e);n&&(Se.resetPagination(),r.pagination.current&&(r.pagination.current=1),L&&L.onChange&&L.onChange(1,r.pagination.pageSize)),$&&!1!==$.scrollToFirstRowOnChange&&Oe.body.current&&(0,C.default)(0,{getContainer:function(){return Oe.body.current}}),null==V||V(r.pagination,r.filters,r.sorter,{currentDataSource:(0,N.getFilterData)((0,_.getSortData)(he,r.sorterStates,Ce),r.filterStates),action:t})},_e=(0,_.default)({prefixCls:ge,mergedColumns:ie,onSorterChange:function(e,t){Me({sorter:e,sorterStates:t},"sort",!1)},sortDirections:J||["ascend","descend"],tableLocale:me,showSorterTooltip:ne}),De=(0,u.default)(_e,4),Te=De[0],je=De[1],Re=De[2],Ke=De[3],Le=v.useMemo((function(){return(0,_.getSortData)(he,je,Ce)}),[he,je]);Se.sorter=Ke(),Se.sorterStates=je;var Ie=(0,N.default)({prefixCls:ge,locale:me,dropdownPrefixCls:be,mergedColumns:ie,onFilterChange:function(e,t){Me({filters:e,filterStates:t},"filter",!0)},getPopupContainer:B}),Ae=(0,u.default)(Ie,3),He=Ae[0],Ze=Ae[1],We=Ae[2],Fe=(0,N.getFilterData)(Le,Ze);Se.filters=We,Se.filterStates=Ze;var Ue=v.useMemo((function(){var e={};return Object.keys(We).forEach((function(t){null!==We[t]&&(e[t]=We[t])})),(0,l.default)((0,l.default)({},Re),{filters:e})}),[Re,We]),Ve=(0,D.default)(Ue),Be=(0,u.default)(Ve,1)[0],ze=(0,S.default)(Fe.length,L,(function(e,t){Me({pagination:(0,l.default)((0,l.default)({},Se.pagination),{current:e,pageSize:t})},"paginate")})),Ge=(0,u.default)(ze,2),Xe=Ge[0],Ye=Ge[1];Se.pagination=!1===L?{}:(0,S.getPaginationParam)(L,Xe),Se.resetPagination=Ye;var qe=v.useMemo((function(){if(!1===L||!Xe.pageSize)return Fe;var e=Xe.current,t=void 0===e?1:e,n=Xe.total,r=Xe.pageSize,o=void 0===r?S.DEFAULT_PAGE_SIZE:r;return Fe.lengtho?Fe.slice((t-1)*o,t*o):Fe:Fe.slice((t-1)*o,t*o)}),[!!L,Fe,Xe&&Xe.current,Xe&&Xe.pageSize,Xe&&Xe.total]),Qe=(0,M.default)(I,{prefixCls:ge,data:Fe,pageData:qe,getRowKey:ke,getRecordByKey:Pe,expandType:we,childrenColumnName:Ce,locale:me,getPopupContainer:B}),$e=(0,u.default)(Qe,2),Je=$e[0],et=$e[1];Ee.__PARENT_RENDER_ICON__=Ee.expandIcon,Ee.expandIcon=Ee.expandIcon||G||(0,k.default)(me),"nest"===we&&void 0===Ee.expandIconColumnIndex?Ee.expandIconColumnIndex=I?1:0:Ee.expandIconColumnIndex>0&&I&&(Ee.expandIconColumnIndex-=1),"number"!=typeof Ee.indentSize&&(Ee.indentSize="number"==typeof Q?Q:15);var tt,nt,rt,ot=v.useCallback((function(e){return Be(Je(He(Te(e))))}),[Te,He,Je]);if(!1!==L&&(null==Xe?void 0:Xe.total)){var at;at=Xe.size?Xe.size:"small"===ve||"middle"===ve?"small":void 0;var it=function(e){return v.createElement(E.default,(0,l.default)({},Xe,{className:(0,c.default)("".concat(ge,"-pagination ").concat(ge,"-pagination-").concat(e),Xe.className),size:at}))},lt="rtl"===pe?"left":"right",ut=Xe.position;if(null!==ut&&Array.isArray(ut)){var ct=ut.find((function(e){return e.includes("top")})),dt=ut.find((function(e){return e.includes("bottom")})),st=ut.every((function(e){return"none"==="".concat(e)}));ct||dt||st||(nt=it(lt)),ct&&(tt=it(ct.toLowerCase().replace("top",""))),dt&&(nt=it(dt.toLowerCase().replace("bottom","")))}else nt=it(lt)}"boolean"==typeof z?rt={spinning:z}:"object"===(0,a.default)(z)&&(rt=(0,l.default)({spinning:!0},z));var ft=(0,c.default)("".concat(ge,"-wrapper"),(0,i.default)({},"".concat(ge,"-wrapper-rtl"),"rtl"===pe),o);return v.createElement("div",{ref:t,className:ft,style:w},v.createElement(x.default,(0,l.default)({spinning:!1},rt),tt,v.createElement(d.default,(0,l.default)({},le,{columns:ie,direction:pe,expandable:Ee,prefixCls:ge,className:(0,c.default)((n={},(0,i.default)(n,"".concat(ge,"-middle"),"middle"===ve),(0,i.default)(n,"".concat(ge,"-small"),"small"===ve),(0,i.default)(n,"".concat(ge,"-bordered"),j),(0,i.default)(n,"".concat(ge,"-empty"),0===he.length),n)),data:qe,rowKey:ke,rowClassName:function(e,t,n){var r;return r="function"==typeof Z?(0,c.default)(Z(e,t,n)):(0,c.default)(Z),(0,c.default)((0,i.default)({},"".concat(ge,"-row-selected"),et.has(ke(e,t))),r)},emptyText:ee&&ee.emptyText||(fe||h.default)("Table"),internalHooks:f.INTERNAL_HOOKS,internalRefs:Oe,transformColumns:ot})),nt))}var R=v.forwardRef(j);R.SELECTION_COLUMN=M.SELECTION_COLUMN,R.EXPAND_COLUMN=d.default.EXPAND_COLUMN,R.SELECTION_ALL=M.SELECTION_ALL,R.SELECTION_INVERT=M.SELECTION_INVERT,R.SELECTION_NONE=M.SELECTION_NONE,R.Column=w.default,R.ColumnGroup=O.default,R.Summary=d.Summary;var K=R;t.default=K},16129:(e,t,n)=>{"use strict";var r=n(49932).default,o=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(32716)),i=o(n(23035)),l=o(n(67900)),u=o(n(94188)),c=o(n(94184)),d=o(n(18446)),s=r(n(67294)),f=n(62715),p=o(n(65400)),v=o(n(31059)),m=n(7177),h=o(n(82891)),y=o(n(36671)),g=o(n(12386)),b=n(2639),E=o(n(64713)),x=o(n(60171)),C=o(n(44230)),w=o(n(72328)),O=o(n(1595));function k(e,t){return("string"==typeof t||"number"==typeof t)&&(null==t?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()))}function N(e){var t=e.filters,n=e.prefixCls,r=e.filteredKeys,o=e.filterMultiple,a=e.searchValue,i=e.filterSearch;return t.map((function(e,t){var l=String(e.value);if(e.children)return{key:l||t,label:e.text,popupClassName:"".concat(n,"-dropdown-submenu"),children:N({filters:e.children,prefixCls:n,filteredKeys:r,filterMultiple:o,searchValue:a,filterSearch:i})};var u=o?v.default:E.default,c={key:void 0!==e.value?l:t,label:s.createElement(s.Fragment,null,s.createElement(u,{checked:r.includes(l)}),s.createElement("span",null,e.text))};return a.trim()?"function"==typeof i?i(a,e)?c:null:k(a,e.text)?c:null:c}))}var P=function(e){var t,n,r=e.tablePrefixCls,o=e.prefixCls,E=e.column,P=e.dropdownPrefixCls,S=e.columnKey,M=e.filterMultiple,_=e.filterMode,D=void 0===_?"menu":_,T=e.filterSearch,j=void 0!==T&&T,R=e.filterState,K=e.triggerFilter,L=e.locale,I=e.children,A=e.getPopupContainer,H=E.filterDropdownOpen,Z=E.onFilterDropdownOpenChange,W=E.filterDropdownVisible,F=E.onFilterDropdownVisibleChange,U=E.filterResetToDefaultFilteredValue,V=E.defaultFilteredValue,B=s.useState(!1),z=(0,l.default)(B,2),G=z[0],X=z[1],Y=!(!R||!(null===(t=R.filteredKeys)||void 0===t?void 0:t.length)&&!R.forceFiltered),q=function(e){X(e),null==Z||Z(e),null==F||F(e)};n="boolean"==typeof H?H:"boolean"==typeof W?W:G;var Q=null==R?void 0:R.filteredKeys,$=(0,C.default)(Q||[]),J=(0,l.default)($,2),ee=J[0],te=J[1],ne=function(e){var t=e.selectedKeys;te(t)},re=function(e,t){var n=t.node,r=t.checked;ne(M?{selectedKeys:e}:{selectedKeys:r&&n.key?[n.key]:[]})};s.useEffect((function(){G&&ne({selectedKeys:Q||[]})}),[Q]);var oe=s.useState([]),ae=(0,l.default)(oe,2),ie=ae[0],le=ae[1],ue=function(e){le(e)},ce=s.useState(""),de=(0,l.default)(ce,2),se=de[0],fe=de[1],pe=function(e){var t=e.target.value;fe(t)};s.useEffect((function(){G||fe("")}),[G]);var ve,me,he=function(e){var t=e&&e.length?e:null;return null!==t||R&&R.filteredKeys?(0,d.default)(t,null==R?void 0:R.filteredKeys)?null:void K({column:E,key:S,filteredKeys:t}):null},ye=function(){q(!1),he(ee())},ge=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1},t=e.confirm,n=e.closeDropdown;t&&he([]),n&&q(!1),fe(""),te(U?(V||[]).map((function(e){return String(e)})):[])},be=(0,c.default)((0,i.default)({},"".concat(P,"-menu-without-submenu"),!(E.filters||[]).some((function(e){return e.children})))),Ee=function(e){if(e.target.checked){var t=(0,f.flattenKeys)(null==E?void 0:E.filters).map((function(e){return String(e)}));te(t)}else te([])},xe=function e(t){return(t.filters||[]).map((function(t,n){var r=String(t.value),o={title:t.text,key:void 0!==t.value?r:n};return t.children&&(o.children=e({filters:t.children})),o}))},Ce=function e(t){var n;return(0,a.default)((0,a.default)({},t),{text:t.title,value:t.key,children:(null===(n=t.children)||void 0===n?void 0:n.map((function(t){return e(t)})))||[]})};if("function"==typeof E.filterDropdown)ve=E.filterDropdown({prefixCls:"".concat(P,"-custom"),setSelectedKeys:function(e){return ne({selectedKeys:e})},selectedKeys:ee(),confirm:function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0}).closeDropdown&&q(!1),he(ee())},clearFilters:ge,filters:E.filters,visible:n,close:function(){q(!1)}});else if(E.filterDropdown)ve=E.filterDropdown;else{var we=ee()||[];ve=s.createElement(s.Fragment,null,0===(E.filters||[]).length?s.createElement(y.default,{image:y.default.PRESENTED_IMAGE_SIMPLE,description:L.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):"tree"===D?s.createElement(s.Fragment,null,s.createElement(w.default,{filterSearch:j,value:se,onChange:pe,tablePrefixCls:r,locale:L}),s.createElement("div",{className:"".concat(r,"-filter-dropdown-tree")},M?s.createElement(v.default,{checked:we.length===(0,f.flattenKeys)(E.filters).length,indeterminate:we.length>0&&we.length<(0,f.flattenKeys)(E.filters).length,className:"".concat(r,"-filter-dropdown-checkall"),onChange:Ee},L.filterCheckall):null,s.createElement(x.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:M,checkStrictly:!M,className:"".concat(P,"-menu"),onCheck:re,checkedKeys:we,selectedKeys:we,showIcon:!1,treeData:xe({filters:E.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:se.trim()?function(e){return"function"==typeof j?j(se,Ce(e)):k(se,e.title)}:void 0}))):s.createElement(s.Fragment,null,s.createElement(w.default,{filterSearch:j,value:se,onChange:pe,tablePrefixCls:r,locale:L}),s.createElement(g.default,{selectable:!0,multiple:M,prefixCls:"".concat(P,"-menu"),className:be,onSelect:ne,onDeselect:ne,selectedKeys:we,getPopupContainer:A,openKeys:ie,onOpenChange:ue,items:N({filters:E.filters||[],filterSearch:j,prefixCls:o,filteredKeys:ee(),filterMultiple:M,searchValue:se})})),s.createElement("div",{className:"".concat(o,"-dropdown-btns")},s.createElement(p.default,{type:"link",size:"small",disabled:U?(0,d.default)((V||[]).map((function(e){return String(e)})),we):0===we.length,onClick:function(){return ge()}},L.filterReset),s.createElement(p.default,{type:"primary",size:"small",onClick:ye},L.filterConfirm)))}E.filterDropdown&&(ve=s.createElement(b.OverrideProvider,{selectable:void 0},ve)),me="function"==typeof E.filterIcon?E.filterIcon(Y):E.filterIcon?E.filterIcon:s.createElement(u.default,null);var Oe=s.useContext(m.ConfigContext).direction;return s.createElement("div",{className:"".concat(o,"-column")},s.createElement("span",{className:"".concat(r,"-column-title")},I),s.createElement(h.default,{dropdownRender:function(){return s.createElement(O.default,{className:"".concat(o,"-dropdown")},ve)},trigger:["click"],open:n,onOpenChange:function(e){e&&void 0!==Q&&te(Q||[]),q(e),e||E.filterDropdown||ye()},getPopupContainer:A,placement:"rtl"===Oe?"bottomLeft":"bottomRight"},s.createElement("span",{role:"button",tabIndex:-1,className:(0,c.default)("".concat(o,"-trigger"),{active:Y}),onClick:function(e){e.stopPropagation()}},me)))};t.default=P},72328:(e,t,n)=>{"use strict";var r=n(49932).default,o=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(49153)),i=r(n(67294)),l=o(n(51024));var u=function(e){var t=e.value,n=e.onChange,r=e.filterSearch,o=e.tablePrefixCls,u=e.locale;return r?i.createElement("div",{className:"".concat(o,"-filter-dropdown-search")},i.createElement(l.default,{prefix:i.createElement(a.default,null),placeholder:u.filterSearchPlaceholder,onChange:n,value:t,htmlSize:1,className:"".concat(o,"-filter-dropdown-search-input")})):null};t.default=u},1595:(e,t,n)=>{"use strict";var r=n(85269).default,o=n(49932).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(67294)),i=r(n(23519)),l=function(e){e.keyCode===i.default.ENTER&&e.stopPropagation()},u=function(e){return a.createElement("div",{className:e.className,onClick:function(e){return e.stopPropagation()},onKeyDown:l},e.children)};t.default=u},62715:(e,t,n)=>{"use strict";var r=n(49932).default,o=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.flattenKeys=p,t.getFilterData=function(e,t){return t.reduce((function(e,t){var n=t.column,r=n.onFilter,o=n.filters,a=t.filteredKeys;return r&&a&&a.length?e.filter((function(e){return a.some((function(t){var n=p(o),a=n.findIndex((function(e){return String(e)===String(t)})),i=-1!==a?n[a]:t;return r(i,e)}))})):e}),e)};var a=o(n(67900)),i=o(n(32716)),l=o(n(32354)),u=r(n(67294)),c=(o(n(13594)),n(17312)),d=o(n(16129));function s(e,t,n){var r=[];return(e||[]).forEach((function(e,o){var a,i=(0,c.getColumnPos)(o,n);if(e.filters||"filterDropdown"in e||"onFilter"in e)if("filteredValue"in e){var u=e.filteredValue;"filterDropdown"in e||(u=null!==(a=null==u?void 0:u.map(String))&&void 0!==a?a:u),r.push({column:e,key:(0,c.getColumnKey)(e,i),filteredKeys:u,forceFiltered:e.filtered})}else r.push({column:e,key:(0,c.getColumnKey)(e,i),filteredKeys:t&&e.defaultFilteredValue?e.defaultFilteredValue:void 0,forceFiltered:e.filtered});"children"in e&&(r=[].concat((0,l.default)(r),(0,l.default)(s(e.children,t,i))))})),r}function f(e,t,n,r,o,a,l,s){return n.map((function(n,p){var v=(0,c.getColumnPos)(p,s),m=n.filterMultiple,h=void 0===m||m,y=n.filterMode,g=n.filterSearch,b=n;if(b.filters||b.filterDropdown){var E=(0,c.getColumnKey)(b,v),x=r.find((function(e){var t=e.key;return E===t}));b=(0,i.default)((0,i.default)({},b),{title:function(r){return u.createElement(d.default,{tablePrefixCls:e,prefixCls:"".concat(e,"-filter"),dropdownPrefixCls:t,column:b,columnKey:E,filterState:x,filterMultiple:h,filterMode:y,filterSearch:g,triggerFilter:o,locale:l,getPopupContainer:a},(0,c.renderColumnTitle)(n.title,r))}})}return"children"in b&&(b=(0,i.default)((0,i.default)({},b),{children:f(e,t,b.children,r,o,a,l,v)})),b}))}function p(e){var t=[];return(e||[]).forEach((function(e){var n=e.value,r=e.children;t.push(n),r&&(t=[].concat((0,l.default)(t),(0,l.default)(p(r))))})),t}function v(e){var t={};return e.forEach((function(e){var n=e.key,r=e.filteredKeys,o=e.column,a=o.filters;if(o.filterDropdown)t[n]=r||null;else if(Array.isArray(r)){var i=p(a);t[n]=i.filter((function(e){return r.includes(String(e))}))}else t[n]=null})),t}var m=function(e){var t=e.prefixCls,n=e.dropdownPrefixCls,r=e.mergedColumns,o=e.onFilterChange,i=e.getPopupContainer,l=e.locale,c=u.useState((function(){return s(r,!0)})),d=(0,a.default)(c,2),p=d[0],m=d[1],h=u.useMemo((function(){var e=s(r,!1),t=!0;return e.forEach((function(e){void 0!==e.filteredKeys?t=!1:!1})),t?p:e}),[r,p]),y=u.useMemo((function(){return v(h)}),[h]),g=function(e){var t=h.filter((function(t){return t.key!==e.key}));t.push(e),m(t),o(v(t),t)};return[function(e){return f(t,n,e,h,g,i,l)},h,y]};t.default=m},10072:(e,t,n)=>{"use strict";var r=n(49932).default,o=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=i.useRef({});return[function(o){if(!r.current||r.current.data!==e||r.current.childrenColumnName!==t||r.current.getRowKey!==n){var i=new Map;function o(e){e.forEach((function(e,r){var l=n(e,r);i.set(l,e),e&&"object"===(0,a.default)(e)&&t in e&&o(e[t]||[])}))}o(e),r.current={data:e,childrenColumnName:t,kvMap:i,getRowKey:n}}return r.current.kvMap.get(o)}]};var a=o(n(40665)),i=r(n(67294))},78238:(e,t,n)=>{"use strict";var r=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_PAGE_SIZE=void 0,t.default=function(e,t,n){var r=t&&"object"===(0,i.default)(t)?t:{},c=r.total,d=void 0===c?0:c,s=u(r,["total"]),f=(0,l.useState)((function(){return{current:"defaultCurrent"in s?s.defaultCurrent:1,pageSize:"defaultPageSize"in s?s.defaultPageSize:10}})),p=(0,a.default)(f,2),v=p[0],m=p[1],h=function(){for(var e={},t=arguments.length,n=new Array(t),r=0;r0?d:e}),y=Math.ceil((d||e)/h.pageSize);h.current>y&&(h.current=y||1);var g=function(e,t){m({current:null!=e?e:1,pageSize:t||h.pageSize})};if(!1===t)return[{},function(){}];return[(0,o.default)((0,o.default)({},h),{onChange:function(e,r){var o;t&&(null===(o=t.onChange)||void 0===o||o.call(t,e,r)),g(e,r),n(e,r||(null==h?void 0:h.pageSize))}}),g]},t.getPaginationParam=function(e,t){var n={current:t.current,pageSize:t.pageSize},r=e&&"object"===(0,i.default)(e)?e:{};return Object.keys(r).forEach((function(e){var r=t[e];"function"!=typeof r&&(n[e]=r)})),n};var o=r(n(32716)),a=r(n(67900)),i=r(n(40665)),l=n(67294),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{"use strict";var r=n(49932).default,o=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.SELECTION_NONE=t.SELECTION_INVERT=t.SELECTION_COLUMN=t.SELECTION_ALL=void 0,t.default=function(e,t){var n=e||{},r=n.preserveSelectedRowKeys,o=n.selectedRowKeys,d=n.defaultSelectedRowKeys,P=n.getCheckboxProps,S=n.onChange,M=n.onSelect,_=n.onSelectAll,D=n.onSelectInvert,T=n.onSelectNone,j=n.onSelectMultiple,R=n.columnWidth,K=n.type,L=n.selections,I=n.fixed,A=n.renderCell,H=n.hideSelectAll,Z=n.checkStrictly,W=void 0===Z||Z,F=t.prefixCls,U=t.data,V=t.pageData,B=t.getRecordByKey,z=t.getRowKey,G=t.expandType,X=t.childrenColumnName,Y=t.locale,q=t.getPopupContainer,Q=(0,h.default)(o||d||k,{value:o}),$=(0,u.default)(Q,2),J=$[0],ee=$[1],te=y.useRef(new Map),ne=(0,y.useCallback)((function(e){if(r){var t=new Map;e.forEach((function(e){var n=B(e);!n&&te.current.has(e)&&(n=te.current.get(e)),t.set(e,n)})),te.current=t}}),[B,r]);y.useEffect((function(){ne(J)}),[J]);var re=(0,y.useMemo)((function(){return W?{keyEntities:null}:(0,m.convertDataToEntities)(U,{externalGetKey:z,childrenPropName:X})}),[U,z,W,X]).keyEntities,oe=(0,y.useMemo)((function(){return N(V,X)}),[V,X]),ae=(0,y.useMemo)((function(){var e=new Map;return oe.forEach((function(t,n){var r=z(t,n),o=(P?P(t):null)||{};e.set(r,o)})),e}),[oe,z,P]),ie=(0,y.useCallback)((function(e){var t;return!!(null===(t=ae.get(z(e)))||void 0===t?void 0:t.disabled)}),[ae,z]),le=(0,y.useMemo)((function(){if(W)return[J||[],[]];var e=(0,v.conductCheck)(J,!0,re,ie);return[e.checkedKeys||[],e.halfCheckedKeys]}),[J,W,re,ie]),ue=(0,u.default)(le,2),ce=ue[0],de=ue[1],se=(0,y.useMemo)((function(){var e="radio"===K?ce.slice(0,1):ce;return new Set(e)}),[ce,K]),fe=(0,y.useMemo)((function(){return"radio"===K?new Set:new Set(de)}),[de,K]),pe=(0,y.useState)(null),ve=(0,u.default)(pe,2),me=ve[0],he=ve[1];y.useEffect((function(){e||ee(k)}),[!!e]);var ye=(0,y.useCallback)((function(e,t){var n,o;ne(e),r?(n=e,o=e.map((function(e){return te.current.get(e)}))):(n=[],o=[],e.forEach((function(e){var t=B(e);void 0!==t&&(n.push(e),o.push(t))}))),ee(n),null==S||S(n,o,{type:t})}),[ee,B,S,r]),ge=(0,y.useCallback)((function(e,t,n,r){if(M){var o=n.map((function(e){return B(e)}));M(B(e),t,o,r)}ye(n,"single")}),[M,B,ye]),be=(0,y.useMemo)((function(){return!L||H?null:(!0===L?[C,w,O]:L).map((function(e){return e===C?{key:"all",text:Y.selectionAll,onSelect:function(){ye(U.map((function(e,t){return z(e,t)})).filter((function(e){var t=ae.get(e);return!(null==t?void 0:t.disabled)||se.has(e)})),"all")}}:e===w?{key:"invert",text:Y.selectInvert,onSelect:function(){var e=new Set(se);V.forEach((function(t,n){var r=z(t,n),o=ae.get(r);(null==o?void 0:o.disabled)||(e.has(r)?e.delete(r):e.add(r))}));var t=Array.from(e);D&&D(t),ye(t,"invert")}}:e===O?{key:"none",text:Y.selectNone,onSelect:function(){null==T||T(),ye(Array.from(se).filter((function(e){var t=ae.get(e);return null==t?void 0:t.disabled})),"none")}}:e})).map((function(e){return(0,l.default)((0,l.default)({},e),{onSelect:function(){for(var t,n,r=arguments.length,o=new Array(r),a=0;a{"use strict";var r=n(49932).default,o=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.prefixCls,n=e.mergedColumns,r=e.onSorterChange,o=e.sortDirections,i=e.tableLocale,c=e.showSorterTooltip,d=v.useState(x(n,!0)),s=(0,a.default)(d,2),f=s[0],p=s[1],m=v.useMemo((function(){var e=!0,t=x(n,!1);if(!t.length)return f;var r=[];function o(t){e?r.push(t):r.push((0,l.default)((0,l.default)({},t),{sortOrder:null}))}var a=null;return t.forEach((function(t){null===a?(o(t),t.sortOrder&&(!1===t.multiplePriority?e=!1:a=!0)):(a&&!1!==t.multiplePriority||(e=!1),o(t))})),r}),[n,f]),h=v.useMemo((function(){var e=m.map((function(e){return{column:e.column,order:e.sortOrder}}));return{sortColumns:e,sortColumn:e[0]&&e[0].column,sortOrder:e[0]&&e[0].order}}),[m]);function y(e){var t;t=!1!==e.multiplePriority&&m.length&&!1!==m[0].multiplePriority?[].concat((0,u.default)(m.filter((function(t){return t.key!==e.key}))),[e]):[e],p(t),r(O(t),t)}return[function(e){return C(t,e,m,y,o,i,c)},m,h,function(){return O(m)}]},t.getSortData=function e(t,n,r){var o=n.slice().sort((function(e,t){return t.multiplePriority-e.multiplePriority})),a=t.slice(),u=o.filter((function(e){var t=e.column.sorter,n=e.sortOrder;return E(t)&&n}));if(!u.length)return a;return a.sort((function(e,t){for(var n=0;n{"use strict";var r=n(49932).default,o=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return[i.useCallback((function(t){return u(t,e)}),[e])]};var a=o(n(32716)),i=r(n(67294)),l=n(17312);function u(e,t){return e.map((function(e){var n=(0,a.default)({},e);return n.title=(0,l.renderColumnTitle)(e.title,t),"children"in n&&(n.children=u(n.children,t)),n}))}},2307:(e,t,n)=>{"use strict";var r=n(85269).default;t.Z=void 0;var o=r(n(21321)).default;t.Z=o},15144:(e,t,n)=>{"use strict";n(83099),n(745),n(1025),n(7940),n(6373),n(54038),n(89858),n(76405),n(15267),n(9405),n(15086),n(58344)},17312:(e,t)=>{"use strict";function n(e,t){return"function"==typeof e?e(t):e}Object.defineProperty(t,"__esModule",{value:!0}),t.getColumnKey=function(e,t){if("key"in e&&void 0!==e.key&&null!==e.key)return e.key;if(e.dataIndex)return Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex;return t},t.getColumnPos=function(e,t){return t?"".concat(t,"-").concat(e):"".concat(e)},t.renderColumnTitle=n,t.safeColumnTitle=function(e,t){var r=n(e,t);return"[object Object]"===Object.prototype.toString.call(r)?"":r}},97962:(e,t,n)=>{"use strict";var r=n(49932).default,o=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(23035)),i=o(n(32354)),l=o(n(32716)),u=o(n(67900)),c=o(n(44100)),d=o(n(19028)),s=o(n(98084)),f=o(n(94184)),p=n(99781),v=n(28429),m=r(n(67294)),h=n(31929),y=o(n(28808)),g=n(68215),b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{"use strict";var r=n(49932).default,o=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n(23035)),i=o(n(40665)),l=o(n(32716)),u=o(n(51786)),c=o(n(94184)),d=o(n(23385)),s=r(n(67294)),f=n(31929),p=o(n(53683)),v=o(n(86520)),m=o(n(43319)),h=s.forwardRef((function(e,t){var n,r=s.useContext(f.ConfigContext),o=r.getPrefixCls,h=r.direction,y=r.virtual,g=e.prefixCls,b=e.className,E=e.showIcon,x=void 0!==E&&E,C=e.showLine,w=e.switcherIcon,O=e.blockNode,k=void 0!==O&&O,N=e.children,P=e.checkable,S=void 0!==P&&P,M=e.selectable,_=void 0===M||M,D=e.draggable,T=e.motion,j=void 0===T?(0,l.default)((0,l.default)({},p.default),{motionAppear:!1}):T,R=o("tree",g),K=(0,l.default)((0,l.default)({},e),{checkable:S,selectable:_,showIcon:x,motion:j,blockNode:k,showLine:Boolean(C),dropIndicatorRender:v.default}),L=s.useMemo((function(){if(!D)return!1;var e={};switch((0,i.default)(D)){case"function":e.nodeDraggable=D;break;case"object":e=(0,l.default)({},D)}return!1!==e.icon&&(e.icon=e.icon||s.createElement(u.default,null)),e}),[D]);return s.createElement(d.default,(0,l.default)({itemHeight:20,ref:t,virtual:y},K,{prefixCls:R,className:(0,c.default)((n={},(0,a.default)(n,"".concat(R,"-icon-hide"),!x),(0,a.default)(n,"".concat(R,"-block-node"),k),(0,a.default)(n,"".concat(R,"-unselectable"),!_),(0,a.default)(n,"".concat(R,"-rtl"),"rtl"===h),n),b),direction:h,checkable:S?s.createElement("span",{className:"".concat(R,"-checkbox-inner")}):S,selectable:_,switcherIcon:function(e){return(0,m.default)(R,w,C,e)},draggable:L}),N)}));t.default=h},60171:(e,t,n)=>{"use strict";var r=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(23385),a=r(n(28808)),i=r(n(97962)),l=a.default;l.DirectoryTree=i.default,l.TreeNode=o.TreeNode;var u=l;t.default=u},58344:(e,t,n)=>{"use strict";n(83099),n(11271)},68215:(e,t,n)=>{"use strict";var r=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.calcRangeKeys=function(e){var t=e.treeData,n=e.expandedKeys,r=e.startKey,a=e.endKey,l=[],u=o.None;if(r&&r===a)return[r];if(!r||!a)return[];return i(t,(function(e){if(u===o.End)return!1;if(function(e){return e===r||e===a}(e)){if(l.push(e),u===o.None)u=o.Start;else if(u===o.Start)return u=o.End,!1}else u===o.Start&&l.push(e);return n.includes(e)})),l},t.convertDirectoryKeysToNodes=function(e,t){var n=(0,a.default)(t),r=[];return i(e,(function(e,t){var o=n.indexOf(e);return-1!==o&&(r.push(t),n.splice(o,1)),!!n.length})),r};var o,a=r(n(32354));function i(e,t){e.forEach((function(e){var n=e.key,r=e.children;!1!==t(n,e)&&i(r||[],t)}))}!function(e){e[e.None=0]="None",e[e.Start=1]="Start",e[e.End=2]="End"}(o||(o={}))},86520:(e,t,n)=>{"use strict";var r=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.dropPosition,r=e.dropLevelOffset,i=e.prefixCls,l=e.indent,u=e.direction,c=void 0===u?"ltr":u,d="ltr"===c?"left":"right",s="ltr"===c?"right":"left",f=(t={},(0,o.default)(t,d,-r*l+4),(0,o.default)(t,s,0),t);switch(n){case-1:f.top=-3;break;case 1:f.bottom=-3;break;default:f.bottom=-3,f[d]=l+4}return a.default.createElement("div",{style:f,className:"".concat(i,"-drop-indicator")})},t.offset=void 0;var o=r(n(23035)),a=r(n(67294));t.offset=4},43319:(e,t,n)=>{"use strict";var r=n(49932).default,o=n(85269).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){var o,v=r.isLeaf,m=r.expanded;if(r.loading)return f.createElement(u.default,{className:"".concat(e,"-switcher-loading-icon")});n&&"object"===(0,a.default)(n)&&(o=n.showLeafIcon);if(v){if(!n)return null;if("boolean"!=typeof o&&o){var h="function"==typeof o?o(r):o,y="".concat(e,"-switcher-line-custom-icon");return(0,p.isValidElement)(h)?(0,p.cloneElement)(h,{className:(0,s.default)(h.props.className||"",y)}):h}return o?f.createElement(l.default,{className:"".concat(e,"-switcher-line-icon")}):f.createElement("span",{className:"".concat(e,"-switcher-leaf-line")})}var g="".concat(e,"-switcher-icon"),b="function"==typeof t?t(r):t;if((0,p.isValidElement)(b))return(0,p.cloneElement)(b,{className:(0,s.default)(b.props.className||"",g)});if(b)return b;if(n)return m?f.createElement(c.default,{className:"".concat(e,"-switcher-line-icon")}):f.createElement(d.default,{className:"".concat(e,"-switcher-line-icon")});return f.createElement(i.default,{className:g})};var a=o(n(40665)),i=o(n(46133)),l=o(n(44100)),u=o(n(628)),c=o(n(2098)),d=o(n(30967)),s=o(n(94184)),f=r(n(67294)),p=n(47419)},23519:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=n.F1&&t<=n.F12)return!1;switch(t){case n.ALT:case n.CAPS_LOCK:case n.CONTEXT_MENU:case n.CTRL:case n.DOWN:case n.END:case n.ESC:case n.HOME:case n.INSERT:case n.LEFT:case n.MAC_FF_META:case n.META:case n.NUMLOCK:case n.NUM_CENTER:case n.PAGE_DOWN:case n.PAGE_UP:case n.PAUSE:case n.PRINT_SCREEN:case n.RIGHT:case n.SHIFT:case n.UP:case n.WIN_KEY:case n.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=n.ZERO&&e<=n.NINE)return!0;if(e>=n.NUM_ZERO&&e<=n.NUM_MULTIPLY)return!0;if(e>=n.A&&e<=n.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case n.SPACE:case n.QUESTION_MARK:case n.NUM_PLUS:case n.NUM_MINUS:case n.NUM_PERIOD:case n.NUM_DIVISION:case n.SEMICOLON:case n.DASH:case n.EQUALS:case n.COMMA:case n.PERIOD:case n.SLASH:case n.APOSTROPHE:case n.SINGLE_QUOTE:case n.OPEN_SQUARE_BRACKET:case n.BACKSLASH:case n.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},r=n;t.default=r},13933:(e,t,n)=>{"use strict";n.r(t)},45929:(e,t,n)=>{"use strict";n.r(t)},67368:(e,t,n)=>{"use strict";n.r(t)},745:(e,t,n)=>{"use strict";n.r(t)},11271:(e,t,n)=>{"use strict";n.r(t)},49378:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Checkbox:()=>E,default:()=>x});var r=n(87462),o=n(1413),a=n(4942),i=n(29439),l=n(45987),u=n(67795),c=n.n(u);function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}function a(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.r(t),n.d(t,{default:()=>ke});var f=n(67294);function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:1,n=w+=1;function r(t){if(0===t)k(n),e();else{var o=x((function(){r(t-1)}));O.set(n,o)}}return r(t),n};N.cancel=function(e){var t=O.get(e);return k(t),C(t)};const P=N;function S(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}function M(e){return function(e){return e instanceof HTMLElement||e instanceof SVGElement}(e)?e:e instanceof f.Component?E.findDOMNode(e):null}var _=n(59864);function D(e,t){"function"==typeof e?e(t):"object"===r(e)&&e&&"current"in e&&(e.current=t)}function T(){for(var e=arguments.length,t=new Array(e),n=0;n=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:P(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function G(e,t,n,r,o,a,i){try{var l=e[a](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,o)}function X(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){G(a,r,o,i,l,"next",e)}function l(e){G(a,r,o,i,l,"throw",e)}i(void 0)}))}}var Y=["measure","alignPre","align",null,"motion"];const q=function(e,t){var n,r,o,a,i,l=(n=null,r=f.useRef(!1),o=d(f.useState(n),2),a=o[0],i=o[1],f.useEffect((function(){return r.current=!1,function(){r.current=!0}}),[]),[a,function(e,t){t&&r.current||i(e)}]),u=d(l,2),c=u[0],s=u[1],p=(0,f.useRef)();function v(e){s(e,!0)}function m(){P.cancel(p.current)}return(0,f.useEffect)((function(){v("measure")}),[e]),(0,f.useEffect)((function(){if("measure"===c)t();c&&(p.current=P(X(z().mark((function e(){var t,n;return z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=Y.indexOf(c),(n=Y[t+1])&&-1!==t&&v(n);case 3:case"end":return e.stop()}}),e)})))))}),[c]),(0,f.useEffect)((function(){return function(){m()}}),[]),[c,function(e){m(),p.current=P((function(){v((function(e){switch(c){case"align":return"motion";case"motion":return"stable"}return e})),null==e||e()}))}]};var Q=f.forwardRef((function(e,t){var n=e.visible,r=e.prefixCls,o=e.className,a=e.style,i=e.children,u=e.zIndex,c=e.stretch,s=e.destroyPopupOnHide,v=e.forceRender,m=e.align,h=e.point,y=e.getRootDomNode,g=e.getClassNameFromAlign,b=e.onAlign,E=e.onMouseEnter,x=e.onMouseLeave,C=e.onMouseDown,w=e.onTouchStart,O=e.onClick,k=(0,f.useRef)(),N=(0,f.useRef)(),P=d((0,f.useState)(),2),S=P[0],M=P[1],_=function(e){var t=d(f.useState({width:0,height:0}),2),n=t[0],r=t[1];return[f.useMemo((function(){var t={};if(e){var r=n.width,o=n.height;-1!==e.indexOf("height")&&o?t.height=o:-1!==e.indexOf("minHeight")&&o&&(t.minHeight=o),-1!==e.indexOf("width")&&r?t.width=r:-1!==e.indexOf("minWidth")&&r&&(t.minWidth=r)}return t}),[e,n]),function(e){var t=e.offsetWidth,n=e.offsetHeight,o=e.getBoundingClientRect(),a=o.width,i=o.height;Math.abs(t-a)<1&&Math.abs(n-i)<1&&(t=a,n=i),r({width:t,height:n})}]}(c),D=d(_,2),T=D[0],j=D[1];var R=d(q(n,(function(){c&&j(y())})),2),K=R[0],L=R[1],A=d((0,f.useState)(0),2),W=A[0],U=A[1],V=(0,f.useRef)();function z(){var e;null===(e=k.current)||void 0===e||e.forceAlign()}function G(e,t){var n=g(t);S!==n&&M(n),U((function(e){return e+1})),"align"===K&&(null==b||b(e,t))}B((function(){"alignPre"===K&&U(0)}),[K]),B((function(){"align"===K&&(W<3?z():L((function(){var e;null===(e=V.current)||void 0===e||e.call(V)})))}),[W]);var X=l({},Z(e));function Y(){return new Promise((function(e){V.current=e}))}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach((function(e){var t=X[e];X[e]=function(e,n){return L(),null==t?void 0:t(e,n)}})),f.useEffect((function(){X.motionName||"motion"!==K||L()}),[X.motionName,K]),f.useImperativeHandle(t,(function(){return{forceAlign:z,getElement:function(){return N.current}}}));var Q=l(l({},T),{},{zIndex:u,opacity:"motion"!==K&&"stable"!==K&&n?0:void 0,pointerEvents:n||"stable"===K?void 0:"none"},a),$=!0;null==m||!m.points||"align"!==K&&"stable"!==K||($=!1);var J=i;return f.Children.count(i)>1&&(J=f.createElement("div",{className:"".concat(r,"-content")},i)),f.createElement(H.Z,p({visible:n,ref:N,leavedClassName:"".concat(r,"-hidden")},X,{onAppearPrepare:Y,onEnterPrepare:Y,removeOnLeave:s,forceRender:v}),(function(e,t){var n=e.className,a=e.style,i=I()(r,o,S,n);return f.createElement(F.Z,{target:h||y,key:"popup",ref:k,monitorWindowResize:!0,disabled:$,align:m,onAlign:G},f.createElement("div",{ref:t,className:i,onMouseEnter:E,onMouseLeave:x,onMouseDownCapture:C,onTouchStartCapture:w,onClick:O,style:l(l({},a),Q)},J))}))}));Q.displayName="PopupInner";const $=Q;var J=f.forwardRef((function(e,t){var n=e.prefixCls,r=e.visible,o=e.zIndex,a=e.children,i=e.mobile,u=(i=void 0===i?{}:i).popupClassName,c=i.popupStyle,d=i.popupMotion,s=void 0===d?{}:d,v=i.popupRender,m=e.onClick,h=f.useRef();f.useImperativeHandle(t,(function(){return{forceAlign:function(){},getElement:function(){return h.current}}}));var y=l({zIndex:o},c),g=a;return f.Children.count(a)>1&&(g=f.createElement("div",{className:"".concat(n,"-content")},a)),v&&(g=v(g)),f.createElement(H.Z,p({visible:r,ref:h,removeOnLeave:!0},s),(function(e,t){var r=e.className,o=e.style,a=I()(n,u,r);return f.createElement("div",{ref:t,className:a,onClick:m,style:l(l({},o),y)},g)}))}));J.displayName="MobilePopupInner";const ee=J;var te=["visible","mobile"],ne=f.forwardRef((function(e,t){var n=e.visible,r=e.mobile,o=s(e,te),a=d((0,f.useState)(n),2),i=a[0],u=a[1],c=d((0,f.useState)(!1),2),v=c[0],m=c[1],h=l(l({},o),{},{visible:i});(0,f.useEffect)((function(){u(n),n&&r&&m(function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(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|android|ipad|playbook|silk/i.test(e)||/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.test(null==e?void 0:e.substr(0,4))}())}),[n,r]);var y=v?f.createElement(ee,p({},h,{mobile:r,ref:t})):f.createElement($,p({},h,{ref:t}));return f.createElement("div",null,f.createElement(W,h),y)}));ne.displayName="Popup";const re=ne;const oe=f.createContext(null);function ae(){}function ie(){return""}function le(e){return e?e.ownerDocument:window.document}var ue=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];const ce=(de=K,se=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(i,e);var t,n,r,o=b(i);function i(e){var t,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),a(m(t=o.call(this,e)),"popupRef",f.createRef()),a(m(t),"triggerRef",f.createRef()),a(m(t),"portalContainer",void 0),a(m(t),"attachId",void 0),a(m(t),"clickOutsideHandler",void 0),a(m(t),"touchOutsideHandler",void 0),a(m(t),"contextMenuOutsideHandler1",void 0),a(m(t),"contextMenuOutsideHandler2",void 0),a(m(t),"mouseDownTimeout",void 0),a(m(t),"focusTime",void 0),a(m(t),"preClickTime",void 0),a(m(t),"preTouchTime",void 0),a(m(t),"delayTimer",void 0),a(m(t),"hasPopupMouseDown",void 0),a(m(t),"onMouseEnter",(function(e){var n=t.props.mouseEnterDelay;t.fireEvents("onMouseEnter",e),t.delaySetPopupVisible(!0,n,n?null:e)})),a(m(t),"onMouseMove",(function(e){t.fireEvents("onMouseMove",e),t.setPoint(e)})),a(m(t),"onMouseLeave",(function(e){t.fireEvents("onMouseLeave",e),t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)})),a(m(t),"onPopupMouseEnter",(function(){t.clearDelayTimer()})),a(m(t),"onPopupMouseLeave",(function(e){var n;e.relatedTarget&&!e.relatedTarget.setTimeout&&S(null===(n=t.popupRef.current)||void 0===n?void 0:n.getElement(),e.relatedTarget)||t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)})),a(m(t),"onFocus",(function(e){t.fireEvents("onFocus",e),t.clearDelayTimer(),t.isFocusToShow()&&(t.focusTime=Date.now(),t.delaySetPopupVisible(!0,t.props.focusDelay))})),a(m(t),"onMouseDown",(function(e){t.fireEvents("onMouseDown",e),t.preClickTime=Date.now()})),a(m(t),"onTouchStart",(function(e){t.fireEvents("onTouchStart",e),t.preTouchTime=Date.now()})),a(m(t),"onBlur",(function(e){t.fireEvents("onBlur",e),t.clearDelayTimer(),t.isBlurToHide()&&t.delaySetPopupVisible(!1,t.props.blurDelay)})),a(m(t),"onContextMenu",(function(e){e.preventDefault(),t.fireEvents("onContextMenu",e),t.setPopupVisible(!0,e)})),a(m(t),"onContextMenuClose",(function(){t.isContextMenuToShow()&&t.close()})),a(m(t),"onClick",(function(e){if(t.fireEvents("onClick",e),t.focusTime){var n;if(t.preClickTime&&t.preTouchTime?n=Math.min(t.preClickTime,t.preTouchTime):t.preClickTime?n=t.preClickTime:t.preTouchTime&&(n=t.preTouchTime),Math.abs(n-t.focusTime)<20)return;t.focusTime=0}t.preClickTime=0,t.preTouchTime=0,t.isClickToShow()&&(t.isClickToHide()||t.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var r=!t.state.popupVisible;(t.isClickToHide()&&!r||r&&t.isClickToShow())&&t.setPopupVisible(!t.state.popupVisible,e)})),a(m(t),"onPopupMouseDown",(function(){var e;t.hasPopupMouseDown=!0,clearTimeout(t.mouseDownTimeout),t.mouseDownTimeout=window.setTimeout((function(){t.hasPopupMouseDown=!1}),0),t.context&&(e=t.context).onPopupMouseDown.apply(e,arguments)})),a(m(t),"onDocumentClick",(function(e){if(!t.props.mask||t.props.maskClosable){var n=e.target,r=t.getRootDomNode(),o=t.getPopupDomNode();S(r,n)&&!t.isContextMenuOnly()||S(o,n)||t.hasPopupMouseDown||t.close()}})),a(m(t),"getRootDomNode",(function(){var e=t.props.getTriggerDOMNode;if(e)return e(t.triggerRef.current);try{var n=M(t.triggerRef.current);if(n)return n}catch(e){}return E.findDOMNode(m(t))})),a(m(t),"getPopupClassNameFromAlign",(function(e){var n=[],r=t.props,o=r.popupPlacement,a=r.builtinPlacements,i=r.prefixCls,l=r.alignPoint,u=r.getPopupClassNameFromAlign;return o&&a&&n.push(function(e,t,n,r){for(var o=n.points,a=Object.keys(e),i=0;i=me.F1&&t<=me.F12)return!1;switch(t){case me.ALT:case me.CAPS_LOCK:case me.CONTEXT_MENU:case me.CTRL:case me.DOWN:case me.END:case me.ESC:case me.HOME:case me.INSERT:case me.LEFT:case me.MAC_FF_META:case me.META:case me.NUMLOCK:case me.NUM_CENTER:case me.PAGE_DOWN:case me.PAGE_UP:case me.PAUSE:case me.PRINT_SCREEN:case me.RIGHT:case me.SHIFT:case me.UP:case me.WIN_KEY:case me.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=me.ZERO&&e<=me.NINE)return!0;if(e>=me.NUM_ZERO&&e<=me.NUM_MULTIPLY)return!0;if(e>=me.A&&e<=me.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case me.SPACE:case me.QUESTION_MARK:case me.NUM_PLUS:case me.NUM_MINUS:case me.NUM_PERIOD:case me.NUM_DIVISION:case me.SEMICOLON:case me.DASH:case me.EQUALS:case me.COMMA:case me.PERIOD:case me.SLASH:case me.APOSTROPHE:case me.SINGLE_QUOTE:case me.OPEN_SQUARE_BRACKET:case me.BACKSLASH:case me.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const he=me;function ye(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||c(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const ge=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),a=o.width,i=o.height;if(a||i)return!0}}return!1};function be(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(ge(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),a=Number(o),i=null;return o&&!Number.isNaN(a)?i=a:r&&null===i&&(i=0),r&&e.disabled&&(i=null),null!==i&&(i>=0||t&&i<0)}return!1}function Ee(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=ye(e.querySelectorAll("*")).filter((function(e){return be(e,t)}));return be(e,t)&&n.unshift(e),n}var xe=he.ESC,Ce=he.TAB;var we=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"];function Oe(e,t){var n=e.arrow,r=void 0!==n&&n,o=e.prefixCls,i=void 0===o?"rc-dropdown":o,u=e.transitionName,c=e.animation,p=e.align,v=e.placement,m=void 0===v?"bottomLeft":v,h=e.placements,y=void 0===h?ve:h,g=e.getPopupContainer,b=e.showAction,E=e.hideAction,x=e.overlayClassName,C=e.overlayStyle,w=e.visible,O=e.trigger,k=void 0===O?["hover"]:O,N=e.autoFocus,S=s(e,we),M=d(f.useState(),2),_=M[0],D=M[1],T="visible"in e?w:_,j=f.useRef(null);f.useImperativeHandle(t,(function(){return j.current})),function(e){var t=e.visible,n=e.setTriggerVisible,r=e.triggerRef,o=e.onVisibleChange,a=e.autoFocus,i=f.useRef(!1),l=function(){var e,a,i,l;t&&r.current&&(null===(e=r.current)||void 0===e||null===(a=e.triggerRef)||void 0===a||null===(i=a.current)||void 0===i||null===(l=i.focus)||void 0===l||l.call(i),n(!1),"function"==typeof o&&o(!1))},u=function(){var e,t,n,o,a=Ee(null===(e=r.current)||void 0===e||null===(t=e.popupRef)||void 0===t||null===(n=t.current)||void 0===n||null===(o=n.getElement)||void 0===o?void 0:o.call(n))[0];return!!(null==a?void 0:a.focus)&&(a.focus(),i.current=!0,!0)},c=function(e){switch(e.keyCode){case xe:l();break;case Ce:var t=!1;i.current||(t=u()),t?e.preventDefault():l()}};f.useEffect((function(){return t?(window.addEventListener("keydown",c),a&&P(u,3),function(){window.removeEventListener("keydown",c),i.current=!1}):function(){i.current=!1}}),[t])}({visible:T,setTriggerVisible:D,triggerRef:j,onVisibleChange:e.onVisibleChange,autoFocus:N});var R,K,L,A,H,Z,W=function(){var t,n="function"==typeof(t=e.overlay)?t():t;return f.createElement(f.Fragment,null,r&&f.createElement("div",{className:"".concat(i,"-arrow")}),n)},F=E;return F||-1===k.indexOf("contextMenu")||(F=["click"]),f.createElement(ce,l(l({builtinPlacements:y},S),{},{prefixCls:i,ref:j,popupClassName:I()(x,a({},"".concat(i,"-show-arrow"),r)),popupStyle:C,action:k,showAction:b,hideAction:F||[],popupPlacement:m,popupAlign:p,popupTransitionName:u,popupAnimation:c,popupVisible:T,stretch:(H=e.minOverlayWidthMatchTrigger,Z=e.alignPoint,("minOverlayWidthMatchTrigger"in e?H:!Z)?"minWidth":""),popup:"function"==typeof e.overlay?W:W(),onPopupVisibleChange:function(t){var n=e.onVisibleChange;D(t),"function"==typeof n&&n(t)},onPopupClick:function(t){var n=e.onOverlayClick;D(!1),n&&n(t)},getPopupContainer:g}),(K=e.children,L=K.props?K.props:{},A=I()(L.className,void 0!==(R=e.openClassName)?R:"".concat(i,"-open")),T&&K?f.cloneElement(K,{className:A}):K))}const ke=f.forwardRef(Oe)},28043:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Column:()=>H,ColumnGroup:()=>A,INTERNAL_COL_DEFINE:()=>Se,Summary:()=>Be,default:()=>lt});var r=n(4942),o=n(87462),a=n(1413),i=n(93433),l=n(29439),u=n(71002),c=n(67294);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function s(e){var t=function(e,t){if("object"!==d(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===d(t)?t:String(t)}function f(e,t,n){return(t=s(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t