From 7e04a101885bb1cd86267645325b738cfeb7b60a Mon Sep 17 00:00:00 2001 From: bronbro-bot Date: Thu, 15 Feb 2024 19:13:48 +0000 Subject: [PATCH] Updates --- css/365.a0cdc518.css | 1 + css/483.e9b68a90.css | 1 - css/574.843340da.css | 1 + css/778.09a78acb.css | 1 - img/{sprite.0840251b.svg => sprite.580f2bcd.svg} | 3 +++ index.html | 2 +- js/365.2aa0b550.js | 2 ++ js/365.2aa0b550.js.map | 1 + js/483.a6bcb25d.js | 2 -- js/483.a6bcb25d.js.map | 1 - js/574.649ffda7.js | 2 ++ js/574.649ffda7.js.map | 1 + js/778.6cb1db9a.js | 2 -- js/778.6cb1db9a.js.map | 1 - js/app.20051cdd.js | 2 ++ js/app.20051cdd.js.map | 1 + js/app.c5bd210b.js | 2 -- js/app.c5bd210b.js.map | 1 - 18 files changed, 15 insertions(+), 12 deletions(-) create mode 100644 css/365.a0cdc518.css delete mode 100644 css/483.e9b68a90.css create mode 100644 css/574.843340da.css delete mode 100644 css/778.09a78acb.css rename img/{sprite.0840251b.svg => sprite.580f2bcd.svg} (92%) create mode 100644 js/365.2aa0b550.js create mode 100644 js/365.2aa0b550.js.map delete mode 100644 js/483.a6bcb25d.js delete mode 100644 js/483.a6bcb25d.js.map create mode 100644 js/574.649ffda7.js create mode 100644 js/574.649ffda7.js.map delete mode 100644 js/778.6cb1db9a.js delete mode 100644 js/778.6cb1db9a.js.map create mode 100644 js/app.20051cdd.js create mode 100644 js/app.20051cdd.js.map delete mode 100644 js/app.c5bd210b.js delete mode 100644 js/app.c5bd210b.js.map diff --git a/css/365.a0cdc518.css b/css/365.a0cdc518.css new file mode 100644 index 0000000..545953c --- /dev/null +++ b/css/365.a0cdc518.css @@ -0,0 +1 @@ +.head[data-v-29ebd35a]{margin-bottom:32px}.head .status[data-v-29ebd35a],.head[data-v-29ebd35a]{display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:flex-start}.head .status[data-v-29ebd35a]{font-size:12px;line-height:130%;padding:7px 5px;border:1px solid;border-radius:10px}.head .status.green[data-v-29ebd35a]{color:#1bc562;background:rgba(27,197,98,.05)}.head .status.blue[data-v-29ebd35a]{color:#0343e8;background:rgba(3,67,232,.05)}.head .status.violet[data-v-29ebd35a]{color:#950fff;background:rgba(149,15,255,.05)}.head .status.red[data-v-29ebd35a]{color:#eb5757;background:rgba(235,87,87,.05)}.head .status .icon[data-v-29ebd35a]{display:block;width:16px;height:16px;margin-right:6px}.head .suspicious[data-v-29ebd35a]{font-size:12px;line-height:130%;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:center;height:32px;margin-left:8px;padding:0 5px;color:#c5811b;border:1px solid;border-radius:10px;background:rgba(197,129,27,.05)}.head .suspicious .icon[data-v-29ebd35a]{display:block;width:16px;height:16px;margin-right:6px}.head .type[data-v-29ebd35a]{font-size:12px;line-height:130%;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:flex-start;margin-left:8px;padding:7px 5px;border:1px solid;border-radius:10px}.head .type .icon[data-v-29ebd35a]{display:block;width:16px;height:16px;margin-right:6px}.head .name[data-v-29ebd35a]{font-size:32px;font-weight:500;line-height:120%;display:flex;align-content:flex-start;align-items:flex-start;flex-wrap:nowrap;justify-content:flex-start;width:100%;margin-top:24px}.head .name .logo[data-v-29ebd35a]{position:relative;overflow:hidden;width:36px;min-width:36px;height:36px;border-radius:50%}.head .name .logo img[data-v-29ebd35a]{position:absolute;top:0;left:0;display:block;width:100%;height:100%;border-radius:inherit;-o-object-fit:cover;object-fit:cover}.head .name .logo+[data-v-29ebd35a]{width:100%;margin-left:8px}.head .proposer[data-v-29ebd35a]{font-size:14px;font-weight:500;line-height:17px;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:flex-start;margin-top:8px;color:#555}.head .proposer a[data-v-29ebd35a]{margin-left:8px;white-space:nowrap;color:#950fff}@media (max-width:1359px),print{.head .name[data-v-29ebd35a]{font-size:30px}}@media (max-width:1023px),print{.head .name .logo[data-v-29ebd35a]{width:32px;min-width:32px;height:32px}.head .name[data-v-29ebd35a]{font-size:27px}}@media (max-width:767px),print{.head[data-v-29ebd35a]{margin-bottom:24px}.head .name[data-v-29ebd35a]{font-size:24px;flex-wrap:wrap}.head .name .number+[data-v-29ebd35a]{width:100%;margin-top:4px;margin-left:0}.head .proposer span[data-v-29ebd35a]{width:100%}.head .proposer a[data-v-29ebd35a]{margin-left:0}}@media (max-width:479px),print{.head .name[data-v-29ebd35a]{font-size:22px}.head .name .logo[data-v-29ebd35a]{width:28px;min-width:28px;height:28px}.head .proposer[data-v-29ebd35a]{margin-top:12px}.head .proposer a[data-v-29ebd35a]{display:block;overflow:hidden;width:307px;text-overflow:ellipsis}}.description[data-v-7062c208]{position:relative;overflow:hidden;height:128px;padding:16px;cursor:pointer;transition:height .2s linear;border-radius:10px;background:#191919}.description[data-v-7062c208]:after{position:absolute;z-index:1;bottom:0;left:0;display:block;width:100%;height:100%;content:"";background:linear-gradient(180deg,rgba(25,25,25,0) 0,#191919)}.description .title[data-v-7062c208]{font-size:20px;font-weight:500;line-height:100%;margin-bottom:16px;pointer-events:none}.description .text_block[data-v-7062c208]{width:calc(100% - 48px);pointer-events:none}.description .features>[data-v-7062c208]{font-size:14px;line-height:100%;display:flex;margin-top:16px;justify-content:space-between;align-items:flex-start;align-content:flex-start;flex-wrap:wrap}.description .features .label[data-v-7062c208]{width:168px;padding-right:16px}.description .features .val[data-v-7062c208]{width:calc(100% - 168px);margin-left:auto}.description .features .val.full_w[data-v-7062c208]{width:100%;margin-top:12px}.description .features pre[data-v-7062c208]{line-height:20px;display:block;overflow:auto;width:100%;max-height:200px;padding:8px;border-radius:8px;background:#282828}.description .features pre[data-v-7062c208]::-webkit-scrollbar{width:4px;height:4px}.description .icon[data-v-7062c208]{position:absolute;z-index:3;top:48px;right:16px;display:flex;width:32px;height:32px;pointer-events:none;justify-content:center;align-items:center;align-content:center;flex-wrap:wrap}.description .icon svg[data-v-7062c208]{display:block;width:32px;height:32px;transition:transform .2s linear}.description.active[data-v-7062c208]{height:auto;cursor:auto}.description.active[data-v-7062c208]:after{display:none}.description.active .icon svg[data-v-7062c208]{transform:rotate(-180deg)}@media (max-width:767px),print{.description .icon[data-v-7062c208]{top:10px;bottom:auto}.description .text_block[data-v-7062c208]{width:100%}.description .features .label[data-v-7062c208]{width:120px;padding-right:12px}.description .features .val[data-v-7062c208]{width:calc(100% - 120px)}}.title[data-v-6aad82fa]{font-weight:500;line-height:100%;margin-bottom:16px}table[data-v-6aad82fa]{width:100%;border-spacing:0;border-collapse:collapse}table th[data-v-6aad82fa]{color:#555;font-size:14px;line-height:17px;padding:10px 8px 18px;text-align:left;vertical-align:middle}table th[data-v-6aad82fa]:last-child{text-align:right}table td[data-v-6aad82fa]{font-size:14px;font-weight:500;line-height:17px;padding:5px 8px;text-align:left;vertical-align:middle;border-top:1px solid hsla(0,0%,100%,.05)}table td[data-v-6aad82fa]:last-child{text-align:right}table td.depositor[data-v-6aad82fa]{width:320px;table-layout:fixed;white-space:nowrap}table td.tx_hash a[data-v-6aad82fa]{color:currentColor;transition:color .2s linear;text-decoration:none}table td.tx_hash a[data-v-6aad82fa]:hover{color:#950fff}table td.tx_hash span[data-v-6aad82fa]{display:block;overflow:hidden;width:300px;max-width:100%;white-space:nowrap;text-overflow:ellipsis}table td.amount[data-v-6aad82fa]{font-weight:400;width:172px;table-layout:fixed;white-space:nowrap}table td.amount small[data-v-6aad82fa]{font-size:12px;line-height:15px}table td.date[data-v-6aad82fa]{color:#555;font-size:12px;font-weight:400;line-height:100%;width:216px;table-layout:fixed;white-space:nowrap}table td.date .ago[data-v-6aad82fa]{color:#fff;font-size:14px;line-height:100%;margin-bottom:6px}@media (max-width:1023px),print{.table_wrap[data-v-6aad82fa]{overflow:auto;max-width:100%;padding-bottom:8px;scrollbar-color:#950fff var(--bg);scrollbar-width:thin}.table_wrap[data-v-6aad82fa]::-webkit-scrollbar{width:4px;height:4px;background-color:var(--bg)}.table_wrap[data-v-6aad82fa]::-webkit-scrollbar-thumb{border-radius:5px;background-color:#950fff}table[data-v-6aad82fa]{width:860px}}.loader_wrap[data-v-5bd14508]{position:relative;height:auto;padding:0;background:none}.votes_info>*+[data-v-5bd14508]{margin-top:40px}.filter[data-v-5bd14508]{display:flex;align-content:flex-start;align-items:flex-start;flex-wrap:wrap;justify-content:flex-start;margin-bottom:8px;margin-left:-8px}.filter>[data-v-5bd14508]{margin-bottom:8px;margin-left:8px}.filter .btn[data-v-5bd14508]{font-size:14px;line-height:100%;padding:9px 8px;transition:.2s linear;color:#fff;border-radius:10px;background:#282828}.filter .btn.disabled[data-v-5bd14508]{pointer-events:none;opacity:.35}.filter .btn.active[data-v-5bd14508],.filter .btn[data-v-5bd14508]:hover{color:#fff;background:#950fff}.scroll[data-v-5bd14508]{display:flex;overflow:auto;flex-direction:column;width:100%;max-height:609px;padding-bottom:8px;scrollbar-color:#950fff var(--bg);scrollbar-width:thin}.titles[data-v-5bd14508]{font-size:14px;line-height:17px;display:flex;align-content:stretch;align-items:stretch;flex-wrap:nowrap;justify-content:flex-start;padding-right:6px;color:#555}.titles>[data-v-5bd14508]{display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:center;padding:10px 8px 18px;text-align:center;border-bottom:1px solid hsla(0,0%,100%,.05)}.titles>[data-v-5bd14508]:first-child{justify-content:flex-start;text-align:left}.titles>[data-v-5bd14508]:last-child{padding-right:10px}.titles .tooltip[data-v-5bd14508]{position:relative;margin-left:8px}.titles .tooltip .icon[data-v-5bd14508]{display:block;width:14px;height:14px;color:#fff}.titles .tooltip .text[data-v-5bd14508]{font-size:12px;line-height:100%;position:absolute;z-index:9;bottom:100%;left:50%;display:none;width:164px;margin-bottom:8px;padding:8px;transform:translateX(-50%);text-align:center;pointer-events:none;color:#fff;border-radius:8px;background:#282828;box-shadow:0 6px 12px rgba(0,0,0,.2)}.titles .tooltip .text[data-v-5bd14508]:before{position:absolute;top:100%;right:0;left:0;display:block;width:29px;height:7px;margin:0 auto;content:"";background:url(/img/tooltip_tail.67641cf1.svg) 50% 0/100% 100% no-repeat}.titles .tooltip:hover .text[data-v-5bd14508]{display:block}.item[data-v-5bd14508]{font-size:14px;font-weight:500;line-height:17px;display:flex;align-content:stretch;align-items:stretch;flex-wrap:nowrap;justify-content:flex-start;order:3;width:100%}.item.first[data-v-5bd14508]{order:1}.item.last[data-v-5bd14508]{order:5}.item>[data-v-5bd14508]{display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:center;min-height:60px;padding:8px;text-align:center;border-bottom:1px solid hsla(0,0%,100%,.05)}.item a[data-v-5bd14508]{transition:color .2s linear;text-decoration:none;color:currentColor}.item a[data-v-5bd14508]:hover{color:#950fff}.table_wrap .validator[data-v-5bd14508]{width:250px;min-width:250px;max-width:250px}.item .validator[data-v-5bd14508]{justify-content:space-between;text-align:left}.item .validator .logo[data-v-5bd14508]{position:relative;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:center;width:30px;height:30px;border-radius:50%;background:#282828}.item .validator .logo img[data-v-5bd14508]{position:absolute;top:0;left:0;display:block;width:100%;height:100%;border-radius:inherit;-o-object-fit:cover;object-fit:cover}.item .validator .logo img.hide[data-v-5bd14508]{display:none}.item .validator .logo .icon[data-v-5bd14508]{display:block;width:18px;height:18px}.item .validator .logo+[data-v-5bd14508]{width:calc(100% - 46px)}.item .validator .rank[data-v-5bd14508]{font-size:10px;line-height:14px;position:absolute;top:-5px;left:18px;min-width:22px;height:14px;padding:0 4px;text-align:center;white-space:nowrap;color:#fff;border-radius:10px;background:#950fff}.item .validator .moniker[data-v-5bd14508]{position:relative;display:inline-block;max-width:100%;vertical-align:top;white-space:nowrap}.item .validator .moniker span[data-v-5bd14508]{display:block;overflow:hidden;text-overflow:ellipsis}.item .validator .sticker[data-v-5bd14508]{font-size:10px;line-height:100%;display:inline-block;margin-top:4px;padding:4px;vertical-align:top;border:1px solid #950fff;border-radius:10px}.item .validator .moniker .tooltip[data-v-5bd14508]{font-size:12px;line-height:100%;position:absolute;z-index:9;bottom:100%;left:50%;display:none;margin-bottom:8px;padding:8px;transform:translateX(-50%);border-radius:8px;background:#282828;box-shadow:0 6px 12px rgba(0,0,0,.2)}.item .validator .moniker .tooltip[data-v-5bd14508]:before{position:absolute;top:100%;right:0;left:0;display:block;width:29px;height:7px;margin:0 auto;content:"";background:url(/img/tooltip_tail.67641cf1.svg) 50% 0/100% 100% no-repeat}.item .validator .moniker:hover .tooltip[data-v-5bd14508]{display:block}.table_wrap .most_voted[data-v-5bd14508],.table_wrap .validator_vote[data-v-5bd14508]{width:120px;min-width:120px;text-align:center}.table_wrap .community_votes[data-v-5bd14508]{width:100%}.table_wrap .percents[data-v-5bd14508]{justify-content:flex-start;width:124px;min-width:124px}.table_wrap .community_votes .empty[data-v-5bd14508]{text-align:center}.item .bar[data-v-5bd14508]{position:relative;display:flex;align-content:center;align-items:center;flex-wrap:nowrap;justify-content:flex-start;width:100%}.item .bar>[data-v-5bd14508]{position:relative;height:8px;border-radius:8px}.item .bar>*+[data-v-5bd14508]{margin-left:4px}.item .bar .nwv[data-v-5bd14508]{background:#eb5757}.item .bar .yes[data-v-5bd14508]{background:#1bc562}.item .bar .no[data-v-5bd14508]{background:#c5811b}.item .bar .tooltip[data-v-5bd14508]{font-size:12px;line-height:100%;position:absolute;z-index:9;bottom:100%;left:50%;display:none;align-content:center;align-items:center;flex-wrap:nowrap;justify-content:center;height:auto;margin-bottom:18px;padding:8px;transform:translateX(-50%);white-space:nowrap;border-radius:8px;background:#282828;box-shadow:0 6px 12px rgba(0,0,0,.2)}.item .bar .tooltip[data-v-5bd14508]:before{position:absolute;top:100%;right:0;left:0;display:block;width:29px;height:7px;margin:0 auto;content:"";background:url(/img/tooltip_tail.67641cf1.svg) 50% 0/100% 100% no-repeat}.item.first .bar .tooltip[data-v-5bd14508],.item.first .validator .moniker .tooltip[data-v-5bd14508],.scroll:not(.with_your_validator) .item:first-child .bar .tooltip[data-v-5bd14508],.scroll:not(.with_your_validator) .item:first-child .validator .moniker .tooltip[data-v-5bd14508]{top:100%;bottom:auto;margin-top:8px;margin-bottom:0}.item.first .validator .moniker .tooltip:before .item.first .bar .tooltip[data-v-5bd14508]:before{top:auto;bottom:100%;transform:rotate(180deg)}.item .bar .tooltip>[data-v-5bd14508]{position:relative;padding-left:10px;background:none}.item .bar .tooltip>[data-v-5bd14508]:before{position:absolute;top:0;bottom:0;left:0;display:block;width:6px;height:6px;margin:auto;content:"";border-radius:50%}.item .bar .tooltip>.nwv[data-v-5bd14508]:before{background:#eb5757}.item .bar .tooltip>.yes[data-v-5bd14508]:before{background:#1bc562}.item .bar .tooltip>.no[data-v-5bd14508]:before{background:#c5811b}.item .bar .tooltip>*+[data-v-5bd14508]{margin-left:8px}.item .community_votes:hover .tooltip[data-v-5bd14508]{display:flex}.item .percents[data-v-5bd14508]{justify-content:flex-end;text-align:right}@media (max-width:1023px),print{.item[data-v-5bd14508],.titles[data-v-5bd14508]{width:960px}}@media (max-width:767px),print{.filter .btn[data-v-5bd14508]{font-size:13px;padding:8px}.scroll[data-v-5bd14508]{max-height:304px}}.default_loader_wrap[data-v-98cd1d18]{position:absolute;z-index:90;display:flex;width:100%;height:100%;margin:auto;inset:0;justify-content:center;align-items:center;align-content:center;flex-wrap:wrap}.loader-wheel[data-v-98cd1d18]{font-size:64px;position:relative;width:100%;height:100%}.loader-wheel__spoke[data-v-98cd1d18]{position:absolute;top:50%;left:50%;display:block;width:.02em;height:.075em;transform-origin:left top;animation:fade-98cd1d18 .6s linear infinite;opacity:0;border-radius:.05em;background:#fff}@keyframes fade-98cd1d18{0%{opacity:1}to{opacity:0}}.loader-wheel__spoke[data-v-98cd1d18]:first-child{transform:rotate(0deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(2){transform:rotate(30deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(3){transform:rotate(60deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(4){transform:rotate(90deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(5){transform:rotate(120deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(6){transform:rotate(150deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(7){transform:rotate(180deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(8){transform:rotate(210deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(9){transform:rotate(240deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(10){transform:rotate(270deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(11){transform:rotate(300deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(12){transform:rotate(330deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(2){animation-delay:.05s}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(3){animation-delay:.1s}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(4){animation-delay:.15s}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(5){animation-delay:.2s}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(6){animation-delay:.25s}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(7){animation-delay:.3s}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(8){animation-delay:.35s}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(9){animation-delay:.4s}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(10){animation-delay:.45s}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(11){animation-delay:.5s}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(12){animation-delay:.55s}.modal_title[data-v-024285fd]{font-size:20px;font-weight:600;line-height:36px;margin-bottom:30px}.modal_content .data>.close_btn[data-v-024285fd]{top:20px}.form .line[data-v-024285fd]{margin-bottom:24px}.form .label[data-v-024285fd]{color:#555;font-size:14px;line-height:17px;margin-bottom:8px}.form .field[data-v-024285fd]{position:relative}.form .input[data-v-024285fd]{color:currentColor;font-family:var(--font_family);font-size:15px;display:block;width:100%;height:55px;padding:0 9px 2px;transition:border-color .2s linear;border:1px solid transparent;border-radius:15px;background:#191919}.form .balance[data-v-024285fd]{color:#fff;font-size:14px;line-height:17px;position:absolute;right:0;bottom:100%;display:flex;margin-bottom:8px;white-space:nowrap;opacity:.7;justify-content:flex-start;align-items:center;align-content:center;flex-wrap:wrap}.form .balance .default_loader_wrap[data-v-024285fd]{position:relative;width:16px;height:16px;margin:0 8px 0 0}.form .balance span[data-v-024285fd]{margin-right:4px}.form .submit[data-v-024285fd]{padding-top:10px}.form .submit_btn[data-v-024285fd]{font-weight:500;line-height:19px;display:block;margin-left:auto;padding:14px 24px;transition:background .2s linear;border-radius:14px;background:#950fff}.form .submit_btn[data-v-024285fd]:hover{background:#7700e1}.sticky[data-v-38514a4b]{position:sticky;top:118px}.current_account[data-v-38514a4b]{position:relative;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:space-between;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid hsla(0,0%,100%,.05)}.current_account .label[data-v-38514a4b]{font-weight:500;line-height:100%}.current_account .current[data-v-38514a4b]{font-size:14px;line-height:100%;position:relative;display:block;width:158px;height:28px;margin-left:auto;padding:6px 26px 6px 6px;text-align:left;border-radius:6px;background:#191919}.current_account .current .icon[data-v-38514a4b]{position:absolute;top:0;right:6px;bottom:0;display:block;width:16px;height:16px;margin:auto;transition:transform .2s linear}.current_account .current.active .icon[data-v-38514a4b]{transform:rotate(180deg)}.current_account .dropdown[data-v-38514a4b]{position:absolute;z-index:9;top:100%;right:0;width:158px;max-width:100%;margin-top:-13px;padding:4px;border-radius:6px;background:#1c1c1c}.current_account .dropdown>*+[data-v-38514a4b]{margin-top:4px}.current_account .dropdown .btn[data-v-38514a4b]{font-size:12px;line-height:15px;display:block;width:100%;padding:6px 4px;transition:background .2s linear;text-align:left;border-radius:6px}.current_account .dropdown .btn[data-v-38514a4b]:hover{background:#232323}.current_vote[data-v-38514a4b]{font-weight:500;line-height:100%;position:relative;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:space-between}.current_vote .val[data-v-38514a4b]:first-letter{text-transform:uppercase}.current_vote .green[data-v-38514a4b]{color:#1bc562}.current_vote .grey[data-v-38514a4b]{color:#555}.vote[data-v-38514a4b]{position:relative;display:flex;align-content:stretch;align-items:stretch;flex-wrap:wrap;justify-content:flex-start;margin-top:16px;margin-bottom:-8px;margin-left:-8px}.vote .tooltip[data-v-38514a4b]{font-size:12px;line-height:100%;position:absolute;z-index:9;top:50%;left:50%;display:block;margin-bottom:8px;padding:8px;transform:translate(-50%,calc(-50% - 4px));white-space:nowrap;border-radius:8px;background:#282828;box-shadow:0 6px 12px rgba(0,0,0,.2)}.connected_addresses .tooltip[data-v-38514a4b]:before{position:absolute;top:100%;right:0;left:0;display:block;width:29px;height:7px;margin:0 auto;content:"";background:url(/img/tooltip_tail.67641cf1.svg) 50% 0/100% 100% no-repeat}.vote .btn[data-v-38514a4b]{font-size:14px;line-height:100%;width:calc(50% - 8px);margin-bottom:8px;margin-left:8px;padding:8px;transition:.2s linear;border-radius:10px;background:#353535}.vote.disabled .btn[data-v-38514a4b]{pointer-events:none;opacity:.3}.vote .btn.green[data-v-38514a4b]{background:#1bc562}.vote .btn.yellow[data-v-38514a4b]{background:#c5811b}.vote .btn.red[data-v-38514a4b]{background:#eb5757}.deposit_status .title[data-v-38514a4b]{font-weight:500;line-height:100%;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:space-between;margin-bottom:16px}.refresh_btn[data-v-38514a4b]{font-size:14px;line-height:20px;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:flex-start;margin-left:auto;color:#950fff}.refresh_btn .icon[data-v-38514a4b]{display:block;width:16px;height:16px;margin-right:6px}.deposit_btn[data-v-38514a4b]{font-size:14px;line-height:100%;position:relative;display:block;width:100%;margin-top:16px;padding:10px;transition:background .2s linear;text-align:center;border-radius:10px;background:#950fff}.deposit_btn.disabled[data-v-38514a4b]{cursor:default;pointer-events:none;color:hsla(0,0%,100%,.5);background:rgba(149,15,255,.5)}.deposit_btn .tooltip[data-v-38514a4b]{font-size:12px;line-height:100%;position:absolute;z-index:9;bottom:100%;left:50%;margin-bottom:8px;padding:8px;transform:translateX(-50%);white-space:nowrap;color:#fff;border-radius:8px;background:#282828;box-shadow:0 6px 12px rgba(0,0,0,.2)}.deposit_btn .tooltip[data-v-38514a4b]:before{position:absolute;top:100%;right:0;left:0;display:block;width:29px;height:7px;margin:0 auto;content:"";background:url(/img/tooltip_tail.67641cf1.svg) 50% 0/100% 100% no-repeat}.deposit_btn[data-v-38514a4b]:hover{background:#7700e1}.details[data-v-38514a4b]{margin-top:16px;padding-top:16px;border-top:1px solid hsla(0,0%,100%,.05)}.details .title[data-v-38514a4b]{font-weight:500;line-height:100%;margin-bottom:16px}.details .row[data-v-38514a4b]{align-content:stretch;align-items:stretch;margin-bottom:-8px;margin-left:-8px}.details .row>[data-v-38514a4b]{width:calc(50% - 8px);margin-bottom:8px;margin-left:8px}.details .item[data-v-38514a4b]{min-height:81px;padding:8px;border-radius:10px;background:#191919}.details .label[data-v-38514a4b]{font-size:12px;line-height:100%;margin-bottom:8px;color:#555}.details .val[data-v-38514a4b]{font-size:14px;font-weight:500;line-height:110%}.vote_info[data-v-38514a4b]{margin-top:16px;padding-top:16px;border-top:1px solid hsla(0,0%,100%,.05)}.vote_info .head[data-v-38514a4b]{display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:space-between;margin-bottom:16px}.vote_info .title[data-v-38514a4b]{font-weight:500;line-height:100%}.chart[data-v-38514a4b]{position:relative;width:200px;height:200px;margin:0 auto}.chart .percents[data-v-38514a4b]{font-size:32px;font-weight:500;line-height:100%}.chart .final_status[data-v-38514a4b],.chart .percents[data-v-38514a4b]{position:absolute;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:center;width:100%;height:100%;text-align:center}.chart .final_status .label[data-v-38514a4b]{font-size:14px;line-height:17px;width:100%;color:#555}.chart .final_status .val[data-v-38514a4b]{font-size:32px;font-weight:500;line-height:100%;width:100%}.chart .final_status .val.green[data-v-38514a4b]{color:#1bc562}.chart .final_status .val.yellow[data-v-38514a4b]{color:#c5811b}.chart .final_status .val.red[data-v-38514a4b]{color:#eb5757}.vote_info>.row[data-v-38514a4b]{justify-content:center}.vote_info .turnout[data-v-38514a4b]{font-size:12px;line-height:15px;margin-top:16px;margin-right:auto;padding:7px;color:#eb5757;border:1px solid;border-radius:8px}.vote_info .turnout.green[data-v-38514a4b]{color:#1bc562}.vote_info .total[data-v-38514a4b]{font-size:12px;line-height:15px;margin-top:16px;padding:7px;color:#950fff;border:1px solid;border-radius:8px}.vote_info .exp[data-v-38514a4b]{font-size:12px;line-height:15px;margin-top:8px;color:#555}.vote_info .refresh_btn[data-v-38514a4b]{font-size:14px;line-height:20px;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:flex-start;margin-left:auto;color:#950fff}.vote_info .refresh_btn .icon[data-v-38514a4b]{display:block;width:16px;height:16px;margin-right:6px}.vote_result[data-v-38514a4b]{margin-top:16px;padding-top:16px;padding-bottom:14px;border-top:1px solid hsla(0,0%,100%,.05)}.vote_result .row[data-v-38514a4b]{align-content:stretch;align-items:stretch;margin-bottom:-8px;margin-left:-8px}.vote_result .row>[data-v-38514a4b]{width:calc(50% - 8px);margin-bottom:8px;margin-left:8px}.vote_result .item[data-v-38514a4b]{font-size:14px;line-height:100%;padding:8px;color:#555;border-radius:10px;background:#191919}.vote_result .item>*+[data-v-38514a4b]{margin-top:8px}.vote_result .item .val[data-v-38514a4b]{font-size:16px;font-weight:500;text-transform:uppercase}.vote_result .item .green[data-v-38514a4b]{color:#1bc562}.vote_result .item .yellow[data-v-38514a4b]{color:#c5811b}.vote_result .item .red[data-v-38514a4b]{color:#eb5757}@media (max-width:1359px),print{.details .val[data-v-38514a4b]{font-size:13px}.chart .final_status .val[data-v-38514a4b],.chart .percents[data-v-38514a4b]{font-size:30px}}@media (max-width:1279px),print{.details .row>[data-v-38514a4b],.vote .btn[data-v-38514a4b],.vote_result .row>[data-v-38514a4b]{width:calc(25% - 8px)}}@media (max-width:767px),print{.details .row>[data-v-38514a4b],.vote .btn[data-v-38514a4b],.vote_result .row>[data-v-38514a4b]{width:calc(50% - 8px)}}@media (max-width:479px),print{.chart .final_status .val[data-v-38514a4b],.chart .percents[data-v-38514a4b]{font-size:28px}}.back_btn[data-v-66e1e89c]{margin-bottom:20px}.back_btn .btn[data-v-66e1e89c]{color:currentColor;display:flex;width:36px;height:36px;transition:background .2s linear;text-decoration:none;border-radius:50%;background:#141414;justify-content:center;align-items:center;align-content:center;flex-wrap:wrap}.back_btn .icon[data-v-66e1e89c]{display:block;width:14px;height:14px}.back_btn .btn[data-v-66e1e89c]:hover{background:#950fff}.data[data-v-66e1e89c]{width:calc(100% - 373px);padding:32px;border-radius:30px;background:#0d0d0d}.data .head+.depositors[data-v-66e1e89c]{margin-bottom:40px}.data .tabs[data-v-66e1e89c]{margin-bottom:32px;padding-bottom:32px;border-bottom:1px solid hsla(0,0%,100%,.05)}.data .tabs .row[data-v-66e1e89c]{display:flex;margin-left:-8px;justify-content:flex-start;align-items:center;align-content:center;flex-wrap:wrap}.data .tabs .btn[data-v-66e1e89c]{font-size:14px;font-weight:500;line-height:17px;min-width:109px;margin-left:8px;padding:7px;transition:.2s linear;border:1px solid;border-radius:10px}.data .tabs .btn.active[data-v-66e1e89c],.data .tabs .btn[data-v-66e1e89c]:hover{color:#000;border-color:#fff;background:#fff}.info[data-v-66e1e89c]{position:relative;width:353px;max-width:100%;margin-left:auto;padding:14px;border-radius:20px;background:#0d0d0d}@media (max-width:1439px),print{.data[data-v-66e1e89c]{width:calc(100% - 344px);padding:24px}.info[data-v-66e1e89c]{width:320px}}@media (max-width:1279px),print{.data[data-v-66e1e89c]{width:100%}.info[data-v-66e1e89c]{width:100%;margin-top:24px}}@media (max-width:767px),print{.data[data-v-66e1e89c]{padding:14px}.data .tabs[data-v-66e1e89c]{margin-bottom:24px;padding-bottom:24px}.data .tabs .btn[data-v-66e1e89c]{font-size:13px}}@media (max-width:479px),print{.data .tabs .btn[data-v-66e1e89c]{width:calc(50% - 8px)}} \ No newline at end of file diff --git a/css/483.e9b68a90.css b/css/483.e9b68a90.css deleted file mode 100644 index 19d6f24..0000000 --- a/css/483.e9b68a90.css +++ /dev/null @@ -1 +0,0 @@ -.networks[data-v-37cd2cb6]{position:sticky;top:118px;padding:14px;border-radius:20px;background:#0d0d0d}.networks .title[data-v-37cd2cb6]{font-size:30px;font-weight:600;line-height:36px;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:flex-start;margin-bottom:20px;pointer-events:none}.networks .title>[data-v-37cd2cb6]{pointer-events:none}.networks .title .arr[data-v-37cd2cb6]{display:none;width:18px;height:18px;margin-left:8px;transition:transform .2s linear}.networks .title.active .arr[data-v-37cd2cb6]{transform:rotate(180deg)}.networks .list>*+[data-v-37cd2cb6]{margin-top:4px}.networks .network[data-v-37cd2cb6]{display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:space-between;width:100%;padding:10px;transition:background .2s linear;text-align:left;text-decoration:none;color:currentColor;border-radius:14px}.networks .logo[data-v-37cd2cb6]{position:relative;overflow:hidden;width:40px;height:40px;border-radius:50%}.networks .logo img[data-v-37cd2cb6]{position:absolute;top:0;left:0;display:block;width:100%;height:100%;border-radius:50%;-o-object-fit:cover;object-fit:cover}.networks .logo+[data-v-37cd2cb6]{width:calc(100% - 54px);margin-left:auto}.networks .name[data-v-37cd2cb6]{font-size:18px;font-weight:500;line-height:100%}.networks .token[data-v-37cd2cb6]{font-size:12px;line-height:15px;margin-top:6px;text-transform:uppercase;color:#555}.networks .network.active[data-v-37cd2cb6],.networks .network[data-v-37cd2cb6]:hover{background:#141414}@media (max-width:1899px),print{.networks .title[data-v-37cd2cb6]{font-size:27px;line-height:33px}}@media (max-width:1599px),print{.networks .title[data-v-37cd2cb6]{font-size:26px;line-height:32px}.networks .name[data-v-37cd2cb6]{font-size:17px}.networks .token[data-v-37cd2cb6]{margin-top:4px}}@media (max-width:1439px),print{.networks .title[data-v-37cd2cb6]{font-size:24px;line-height:30px}.networks .name[data-v-37cd2cb6]{font-size:16px}}@media (max-width:1279px),print{.networks[data-v-37cd2cb6]{margin-bottom:24px}.networks .title[data-v-37cd2cb6]{margin:0;pointer-events:auto}.networks .title .arr[data-v-37cd2cb6]{display:block}.networks .list[data-v-37cd2cb6]{display:none;padding-top:20px}.networks .title.active~.list[data-v-37cd2cb6]{display:block}}@media (max-width:1023px),print{.networks .title[data-v-37cd2cb6]{font-size:22px;line-height:28px}}@media (max-width:767px),print{.networks[data-v-37cd2cb6]{margin-bottom:20px}.networks .title[data-v-37cd2cb6]{font-size:20px;line-height:26px}}.proposal[data-v-0b88992a]{color:currentColor;display:flex;padding:10px;transition:border-color .2s linear;text-decoration:none;border:1px solid transparent;border-radius:13px;background:#0d0d0d;justify-content:flex-start;align-items:flex-start;align-content:flex-start;flex-wrap:wrap}.proposal .network_logo[data-v-0b88992a]{width:32px;height:32px;margin-right:8px;margin-bottom:16px;border-radius:50%}.proposal .network_logo img[data-v-0b88992a]{display:block;width:100%;height:100%;border-radius:inherit;-o-object-fit:cover;object-fit:cover}.proposal .status[data-v-0b88992a]{font-size:12px;line-height:130%;margin-bottom:16px}.proposal .status div[data-v-0b88992a]{display:flex;padding:7px 5px;border:1px solid currentColor;border-radius:10px;justify-content:flex-start;align-items:center;align-content:center;flex-wrap:wrap}.proposal .status div.blue[data-v-0b88992a]{color:#0343e8;background:rgba(3,67,232,.05)}.proposal .status div.green[data-v-0b88992a]{color:#1bc562;background:rgba(27,197,98,.05)}.proposal .status div.red[data-v-0b88992a]{color:#eb5757;background:rgba(235,87,87,.05)}.proposal .status div.violet[data-v-0b88992a]{color:#950fff;background:rgba(149,15,255,.05)}.proposal .status .icon[data-v-0b88992a]{display:block;width:16px;height:16px;margin-right:6px}.proposal .date[data-v-0b88992a]{font-size:12px;line-height:130%;display:flex;margin-bottom:16px;margin-left:auto;align-self:center;justify-content:flex-start;align-items:center;align-content:center;flex-wrap:wrap}.proposal .date>*+[data-v-0b88992a]{margin-left:4px}.proposal .name[data-v-0b88992a]{font-size:20px;font-weight:500;line-height:100%;overflow:hidden;width:100%;white-space:nowrap;text-overflow:ellipsis}.proposal .desc[data-v-0b88992a]{color:#fff;font-size:12px;line-height:140%;display:-webkit-box;overflow:hidden;width:100%;margin-top:8px;opacity:.7;-webkit-line-clamp:2;-webkit-box-orient:vertical}.proposal .progress[data-v-0b88992a]{width:100%;margin-top:8px}.proposal .progress .bar[data-v-0b88992a]{display:flex;overflow:hidden;height:8px;border-radius:4px;background:#353535;justify-content:flex-start;align-items:stretch;align-content:stretch;flex-wrap:wrap}.proposal .progress .bar>[data-v-0b88992a]{height:8px}.proposal .progress .bar>.green[data-v-0b88992a]{background:#1bc562}.proposal .progress .bar>.orange[data-v-0b88992a]{background:#c5811b}.proposal .progress .bar>.red[data-v-0b88992a]{background:#eb5757}.proposal .progress .bar>.violet[data-v-0b88992a]{background:#950fff}.proposal .progress .exp[data-v-0b88992a]{display:flex;margin-top:8px;justify-content:flex-start;align-items:stretch;align-content:stretch;flex-wrap:nowrap}.proposal .progress .exp>[data-v-0b88992a]{width:100%;padding:4px;border-radius:7px;background:#191919}.proposal .progress .exp>*+[data-v-0b88992a]{margin-left:8px}.proposal .progress .exp .label[data-v-0b88992a]{color:#555;font-size:12px;line-height:100%;margin-bottom:4px}.proposal .progress .exp .green .label[data-v-0b88992a]{color:#1bc562}.proposal .progress .exp .orange .label[data-v-0b88992a]{color:#c5811b}.proposal .progress .exp .red .label[data-v-0b88992a]{color:#eb5757}.proposal .progress .exp .val[data-v-0b88992a]{font-size:14px;font-weight:500;line-height:100%}.proposal .progress .funds[data-v-0b88992a]{font-size:12px;line-height:17px;margin-top:8px}.proposal .progress .funds>[data-v-0b88992a]{display:flex;justify-content:space-between;align-items:center;align-content:center;flex-wrap:wrap}.proposal .progress .funds>*+[data-v-0b88992a]{margin-top:4px}.proposal .progress .funds .label[data-v-0b88992a]{color:#555}.proposal .progress .funds .val[data-v-0b88992a]{white-space:nowrap}.proposal .likes[data-v-0b88992a]{width:100%;margin-top:8px;padding:3px 0}.proposal .likes .btn[data-v-0b88992a],.proposal .likes[data-v-0b88992a]{display:flex;justify-content:flex-start;align-items:center;align-content:center;flex-wrap:wrap}.proposal .likes .btn[data-v-0b88992a]{font-size:12px;line-height:130%;padding:8px;transition:.2s linear;border-radius:14px;background:#191919}.proposal .likes .btn.like[data-v-0b88992a]{color:#950fff}.proposal .likes .btn.dislike[data-v-0b88992a]{color:#eb5757}.proposal .likes .btn+.btn[data-v-0b88992a]{margin-left:8px}.proposal .likes .btn .icon[data-v-0b88992a]{display:block;width:20px;height:20px}.proposal .likes .btn span[data-v-0b88992a]{display:none}.proposal .likes .btn.active span[data-v-0b88992a]{display:block}.proposal .likes .btn.like[data-v-0b88992a]:hover{color:#fff;background:#950fff}.proposal .likes .btn.dislike[data-v-0b88992a]:hover{color:#fff;background:#eb5757}.proposal[data-v-0b88992a]:hover{border-color:#950fff}@media (max-width:1359px),print{.proposal .name[data-v-0b88992a]{font-size:18px}.proposal .date[data-v-0b88992a]{display:block}.proposal .date>*+[data-v-0b88992a]{margin-left:0}}.back_btn[data-v-9eb1480c]{margin-bottom:20px}.back_btn .btn[data-v-9eb1480c]{display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:center;width:36px;height:36px;transition:background .2s linear;text-decoration:none;color:currentColor;border-radius:50%;background:#141414}.back_btn .icon[data-v-9eb1480c]{display:block;width:14px;height:14px}.back_btn .btn[data-v-9eb1480c]:hover{background:#950fff}.grid[data-v-9eb1480c]{align-content:stretch;align-items:stretch;justify-content:space-between}.col[data-v-9eb1480c]{position:relative;width:353px;max-width:100%}.col_main[data-v-9eb1480c]{width:calc(100% - 746px)}.head[data-v-9eb1480c]{position:sticky;z-index:9;top:118px;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:space-between;margin-top:-28px;padding:28px 0 20px;background:var(--bg)}.head .title[data-v-9eb1480c]{font-size:30px;font-weight:600;line-height:100%}.head .create_link[data-v-9eb1480c]{font-size:16px;font-weight:500;line-height:110%;display:block;margin-left:auto;padding:14px 20px;transition:background .2s linear;text-decoration:none;color:currentColor;border-radius:16px;background:#950fff}.head .create_link[data-v-9eb1480c]:hover{background:#7700e1}.loader_wrap[data-v-9eb1480c]{position:relative;height:auto;padding:20px 0 0;background:none}.proposals[data-v-9eb1480c]{display:flex;align-content:stretch;align-items:stretch;flex-wrap:wrap;justify-content:flex-start;margin-bottom:-20px;margin-left:-20px}.proposals>[data-v-9eb1480c]{width:calc(50% - 20px);margin-bottom:20px;margin-left:20px}.empty[data-v-9eb1480c]{padding:36px 68px;text-align:center}.empty img[data-v-9eb1480c]{display:block;max-width:50%;margin:0 auto 24px}.empty .title[data-v-9eb1480c]{font-size:30px;font-weight:600;width:553px;max-width:100%;margin:0 auto}.load_more_area[data-v-9eb1480c]{width:100%;height:1px}.filter[data-v-9eb1480c]{position:sticky;top:118px;padding:16px 14px 24px;border-radius:20px;background:#0d0d0d}.filter .title[data-v-9eb1480c]{font-size:30px;font-weight:600;line-height:36px;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:flex-start;pointer-events:none}.filter .title>[data-v-9eb1480c]{pointer-events:none}.filter .title .arr[data-v-9eb1480c]{display:none;width:18px;height:18px;margin-left:8px;transition:transform .2s linear}.filter .title.active .arr[data-v-9eb1480c]{transform:rotate(180deg)}.filter .items[data-v-9eb1480c]{padding-top:24px;transition:opacity .2s linear}.filter .items.lock[data-v-9eb1480c]{pointer-events:none;opacity:.5}.filter .items>*+[data-v-9eb1480c]{margin-top:8px}.filter .btn[data-v-9eb1480c]{font-size:14px;line-height:100%;position:relative;display:block;width:100%;padding:11px 40px 10px 10px;transition:.2s linear;text-align:left;border-radius:12px;background:#141414}.filter .btn .icon[data-v-9eb1480c]{position:absolute;top:0;right:10px;bottom:0;display:block;width:16px;height:16px;margin:auto;transition:opacity .2s linear;opacity:0}.filter .btn.active[data-v-9eb1480c],.filter .btn[data-v-9eb1480c]:hover{background:#950fff}.filter .btn.active .icon[data-v-9eb1480c]{opacity:1}.btn_up[data-v-9eb1480c]{position:fixed;right:auto;bottom:200px;display:none;align-content:center;align-items:center;flex-wrap:wrap;justify-content:center;width:48px;height:48px;transition:background .2s linear;text-decoration:none;opacity:1;color:currentColor;border-radius:16px;background:#950fff}.btn_up .icon[data-v-9eb1480c]{display:block;width:40px;height:40px;margin:4px}.btn_up[data-v-9eb1480c]:hover{background:#7700e1}@media (max-width:1899px),print{.empty .title[data-v-9eb1480c],.filter .title[data-v-9eb1480c],.head .title[data-v-9eb1480c]{font-size:27px;line-height:33px}}@media (max-width:1599px),print{.col[data-v-9eb1480c]{width:324px}.col_main[data-v-9eb1480c]{width:calc(100% - 696px)}.empty .title[data-v-9eb1480c],.filter .title[data-v-9eb1480c],.head .title[data-v-9eb1480c]{font-size:26px;line-height:32px}}@media (max-width:1439px),print{.col[data-v-9eb1480c]{width:300px}.col_main[data-v-9eb1480c]{width:calc(100% - 648px)}.empty .title[data-v-9eb1480c],.filter .title[data-v-9eb1480c],.head .title[data-v-9eb1480c]{font-size:24px;line-height:30px}}@media (max-width:1359px),print{.col[data-v-9eb1480c]{width:280px}.col_main[data-v-9eb1480c]{width:calc(100% - 600px)}}@media (max-width:1279px),print{.col[data-v-9eb1480c],.col_main[data-v-9eb1480c]{width:100%}.col_main[data-v-9eb1480c]{order:3}.head[data-v-9eb1480c]{margin-top:0;padding:20px 0;background:none}.filter[data-v-9eb1480c]{padding:14px}.filter .title[data-v-9eb1480c]{margin:0;pointer-events:auto}.filter .title .arr[data-v-9eb1480c]{display:block}.filter .items[data-v-9eb1480c]{display:none;padding-top:20px}.filter .title.active~.items[data-v-9eb1480c]{display:block}.btn_up[data-v-9eb1480c]{display:none!important}}@media (max-width:1023px),print{.empty .title[data-v-9eb1480c],.filter .title[data-v-9eb1480c],.head .title[data-v-9eb1480c]{font-size:22px;line-height:28px}}@media (max-width:767px),print{.main_data[data-v-9eb1480c]{padding:14px}.empty .title[data-v-9eb1480c],.filter .title[data-v-9eb1480c],.head .title[data-v-9eb1480c]{font-size:20px;line-height:26px}.proposals[data-v-9eb1480c]{margin-left:0}.proposals>[data-v-9eb1480c]{width:100%;margin-left:0}.empty[data-v-9eb1480c]{padding:36px}}@media (max-width:479px),print{.empty[data-v-9eb1480c]{padding:40px 0}} \ No newline at end of file diff --git a/css/574.843340da.css b/css/574.843340da.css new file mode 100644 index 0000000..317e8f8 --- /dev/null +++ b/css/574.843340da.css @@ -0,0 +1 @@ +.networks[data-v-37cd2cb6]{position:sticky;top:118px;padding:14px;border-radius:20px;background:#0d0d0d}.networks .title[data-v-37cd2cb6]{font-size:30px;font-weight:600;line-height:36px;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:flex-start;margin-bottom:20px;pointer-events:none}.networks .title>[data-v-37cd2cb6]{pointer-events:none}.networks .title .arr[data-v-37cd2cb6]{display:none;width:18px;height:18px;margin-left:8px;transition:transform .2s linear}.networks .title.active .arr[data-v-37cd2cb6]{transform:rotate(180deg)}.networks .list>*+[data-v-37cd2cb6]{margin-top:4px}.networks .network[data-v-37cd2cb6]{display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:space-between;width:100%;padding:10px;transition:background .2s linear;text-align:left;text-decoration:none;color:currentColor;border-radius:14px}.networks .logo[data-v-37cd2cb6]{position:relative;overflow:hidden;width:40px;height:40px;border-radius:50%}.networks .logo img[data-v-37cd2cb6]{position:absolute;top:0;left:0;display:block;width:100%;height:100%;border-radius:50%;-o-object-fit:cover;object-fit:cover}.networks .logo+[data-v-37cd2cb6]{width:calc(100% - 54px);margin-left:auto}.networks .name[data-v-37cd2cb6]{font-size:18px;font-weight:500;line-height:100%}.networks .token[data-v-37cd2cb6]{font-size:12px;line-height:15px;margin-top:6px;text-transform:uppercase;color:#555}.networks .network.active[data-v-37cd2cb6],.networks .network[data-v-37cd2cb6]:hover{background:#141414}@media (max-width:1899px),print{.networks .title[data-v-37cd2cb6]{font-size:27px;line-height:33px}}@media (max-width:1599px),print{.networks .title[data-v-37cd2cb6]{font-size:26px;line-height:32px}.networks .name[data-v-37cd2cb6]{font-size:17px}.networks .token[data-v-37cd2cb6]{margin-top:4px}}@media (max-width:1439px),print{.networks .title[data-v-37cd2cb6]{font-size:24px;line-height:30px}.networks .name[data-v-37cd2cb6]{font-size:16px}}@media (max-width:1279px),print{.networks[data-v-37cd2cb6]{margin-bottom:24px}.networks .title[data-v-37cd2cb6]{margin:0;pointer-events:auto}.networks .title .arr[data-v-37cd2cb6]{display:block}.networks .list[data-v-37cd2cb6]{display:none;padding-top:20px}.networks .title.active~.list[data-v-37cd2cb6]{display:block}}@media (max-width:1023px),print{.networks .title[data-v-37cd2cb6]{font-size:22px;line-height:28px}}@media (max-width:767px),print{.networks[data-v-37cd2cb6]{margin-bottom:20px}.networks .title[data-v-37cd2cb6]{font-size:20px;line-height:26px}}.proposal[data-v-4953540e]{display:flex;align-content:flex-start;align-items:flex-start;flex-wrap:wrap;justify-content:flex-start;padding:10px;transition:border-color .2s linear;text-decoration:none;color:currentColor;border:1px solid transparent;border-radius:13px;background:#0d0d0d}.proposal .network_logo[data-v-4953540e]{width:32px;height:32px;margin-right:8px;margin-bottom:16px;border-radius:50%}.proposal .network_logo img[data-v-4953540e]{display:block;width:100%;height:100%;border-radius:inherit;-o-object-fit:cover;object-fit:cover}.proposal .status[data-v-4953540e]{font-size:12px;line-height:130%;margin-bottom:16px}.proposal .status div[data-v-4953540e]{display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:flex-start;padding:7px 5px;border:1px solid currentColor;border-radius:10px}.proposal .status div.blue[data-v-4953540e]{color:#0343e8;background:rgba(3,67,232,.05)}.proposal .status div.green[data-v-4953540e]{color:#1bc562;background:rgba(27,197,98,.05)}.proposal .status div.red[data-v-4953540e]{color:#eb5757;background:rgba(235,87,87,.05)}.proposal .status div.violet[data-v-4953540e]{color:#950fff;background:rgba(149,15,255,.05)}.proposal .status .icon[data-v-4953540e]{display:block;width:16px;height:16px;margin-right:6px}.proposal .suspicious[data-v-4953540e]{position:relative;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:center;width:32px;height:32px;margin-left:8px;color:#c5811b;border:1px solid;border-radius:10px;background:rgba(197,129,27,.05)}.proposal .suspicious .icon[data-v-4953540e]{display:block;width:16px;height:16px}.proposal .suspicious .tooltip[data-v-4953540e]{font-size:12px;line-height:100%;position:absolute;z-index:9;bottom:100%;left:50%;display:none;margin-bottom:11px;padding:8px;transform:translateX(-50%);pointer-events:none;color:#fff;border-radius:8px;background:#282828;box-shadow:0 6px 12px rgba(0,0,0,.2)}.proposal .suspicious .tooltip[data-v-4953540e]:before{position:absolute;top:100%;right:0;left:0;display:block;width:29px;height:7px;margin:0 auto;content:"";background:url(/img/tooltip_tail.67641cf1.svg) 50% 0/100% 100% no-repeat}.proposal .suspicious:hover .tooltip[data-v-4953540e]{display:block}.proposal .date[data-v-4953540e]{font-size:12px;line-height:130%;display:flex;align-content:center;align-items:center;align-self:center;flex-wrap:wrap;justify-content:flex-start;margin-bottom:16px;margin-left:auto}.proposal .date>*+[data-v-4953540e]{margin-left:4px}.proposal .name[data-v-4953540e]{font-size:20px;font-weight:500;line-height:100%;overflow:hidden;width:100%;white-space:nowrap;text-overflow:ellipsis}.proposal .desc[data-v-4953540e]{font-size:12px;line-height:140%;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;width:100%;margin-top:8px;opacity:.7;color:#fff;-webkit-line-clamp:2}.proposal .progress[data-v-4953540e]{width:100%;margin-top:8px}.proposal .progress .bar[data-v-4953540e]{display:flex;overflow:hidden;align-content:stretch;align-items:stretch;flex-wrap:wrap;justify-content:flex-start;height:8px;border-radius:4px;background:#353535}.proposal .progress .bar>[data-v-4953540e]{height:8px}.proposal .progress .bar>.green[data-v-4953540e]{background:#1bc562}.proposal .progress .bar>.orange[data-v-4953540e]{background:#c5811b}.proposal .progress .bar>.red[data-v-4953540e]{background:#eb5757}.proposal .progress .bar>.violet[data-v-4953540e]{background:#950fff}.proposal .progress .exp[data-v-4953540e]{display:flex;align-content:stretch;align-items:stretch;flex-wrap:nowrap;justify-content:flex-start;margin-top:8px}.proposal .progress .exp>[data-v-4953540e]{width:100%;padding:4px;border-radius:7px;background:#191919}.proposal .progress .exp>*+[data-v-4953540e]{margin-left:8px}.proposal .progress .exp .label[data-v-4953540e]{font-size:12px;line-height:100%;margin-bottom:4px;color:#555}.proposal .progress .exp .green .label[data-v-4953540e]{color:#1bc562}.proposal .progress .exp .orange .label[data-v-4953540e]{color:#c5811b}.proposal .progress .exp .red .label[data-v-4953540e]{color:#eb5757}.proposal .progress .exp .val[data-v-4953540e]{font-size:14px;font-weight:500;line-height:100%}.proposal .progress .funds[data-v-4953540e]{font-size:12px;line-height:17px;margin-top:8px}.proposal .progress .funds>[data-v-4953540e]{display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:space-between}.proposal .progress .funds>*+[data-v-4953540e]{margin-top:4px}.proposal .progress .funds .label[data-v-4953540e]{color:#555}.proposal .progress .funds .val[data-v-4953540e]{white-space:nowrap}.proposal .likes[data-v-4953540e]{width:100%;margin-top:8px;padding:3px 0}.proposal .likes .btn[data-v-4953540e],.proposal .likes[data-v-4953540e]{display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:flex-start}.proposal .likes .btn[data-v-4953540e]{font-size:12px;line-height:130%;padding:8px;transition:.2s linear;border-radius:14px;background:#191919}.proposal .likes .btn.like[data-v-4953540e]{color:#950fff}.proposal .likes .btn.dislike[data-v-4953540e]{color:#eb5757}.proposal .likes .btn+.btn[data-v-4953540e]{margin-left:8px}.proposal .likes .btn .icon[data-v-4953540e]{display:block;width:20px;height:20px}.proposal .likes .btn span[data-v-4953540e]{display:none}.proposal .likes .btn.active span[data-v-4953540e]{display:block}.proposal .likes .btn.like[data-v-4953540e]:hover{color:#fff;background:#950fff}.proposal .likes .btn.dislike[data-v-4953540e]:hover{color:#fff;background:#eb5757}.proposal[data-v-4953540e]:hover{border-color:#950fff}@media (max-width:1359px),print{.proposal .name[data-v-4953540e]{font-size:18px}.proposal .date[data-v-4953540e]{display:block}.proposal .date>*+[data-v-4953540e]{margin-left:0}}.back_btn[data-v-9eb1480c]{margin-bottom:20px}.back_btn .btn[data-v-9eb1480c]{display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:center;width:36px;height:36px;transition:background .2s linear;text-decoration:none;color:currentColor;border-radius:50%;background:#141414}.back_btn .icon[data-v-9eb1480c]{display:block;width:14px;height:14px}.back_btn .btn[data-v-9eb1480c]:hover{background:#950fff}.grid[data-v-9eb1480c]{align-content:stretch;align-items:stretch;justify-content:space-between}.col[data-v-9eb1480c]{position:relative;width:353px;max-width:100%}.col_main[data-v-9eb1480c]{width:calc(100% - 746px)}.head[data-v-9eb1480c]{position:sticky;z-index:9;top:118px;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:space-between;margin-top:-28px;padding:28px 0 20px;background:var(--bg)}.head .title[data-v-9eb1480c]{font-size:30px;font-weight:600;line-height:100%}.head .create_link[data-v-9eb1480c]{font-size:16px;font-weight:500;line-height:110%;display:block;margin-left:auto;padding:14px 20px;transition:background .2s linear;text-decoration:none;color:currentColor;border-radius:16px;background:#950fff}.head .create_link[data-v-9eb1480c]:hover{background:#7700e1}.loader_wrap[data-v-9eb1480c]{position:relative;height:auto;padding:20px 0 0;background:none}.proposals[data-v-9eb1480c]{display:flex;align-content:stretch;align-items:stretch;flex-wrap:wrap;justify-content:flex-start;margin-bottom:-20px;margin-left:-20px}.proposals>[data-v-9eb1480c]{width:calc(50% - 20px);margin-bottom:20px;margin-left:20px}.empty[data-v-9eb1480c]{padding:36px 68px;text-align:center}.empty img[data-v-9eb1480c]{display:block;max-width:50%;margin:0 auto 24px}.empty .title[data-v-9eb1480c]{font-size:30px;font-weight:600;width:553px;max-width:100%;margin:0 auto}.load_more_area[data-v-9eb1480c]{width:100%;height:1px}.filter[data-v-9eb1480c]{position:sticky;top:118px;padding:16px 14px 24px;border-radius:20px;background:#0d0d0d}.filter .title[data-v-9eb1480c]{font-size:30px;font-weight:600;line-height:36px;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:flex-start;pointer-events:none}.filter .title>[data-v-9eb1480c]{pointer-events:none}.filter .title .arr[data-v-9eb1480c]{display:none;width:18px;height:18px;margin-left:8px;transition:transform .2s linear}.filter .title.active .arr[data-v-9eb1480c]{transform:rotate(180deg)}.filter .items[data-v-9eb1480c]{padding-top:24px;transition:opacity .2s linear}.filter .items.lock[data-v-9eb1480c]{pointer-events:none;opacity:.5}.filter .items>*+[data-v-9eb1480c]{margin-top:8px}.filter .btn[data-v-9eb1480c]{font-size:14px;line-height:100%;position:relative;display:block;width:100%;padding:11px 40px 10px 10px;transition:.2s linear;text-align:left;border-radius:12px;background:#141414}.filter .btn .icon[data-v-9eb1480c]{position:absolute;top:0;right:10px;bottom:0;display:block;width:16px;height:16px;margin:auto;transition:opacity .2s linear;opacity:0}.filter .btn.active[data-v-9eb1480c],.filter .btn[data-v-9eb1480c]:hover{background:#950fff}.filter .btn.active .icon[data-v-9eb1480c]{opacity:1}.btn_up[data-v-9eb1480c]{position:fixed;right:auto;bottom:200px;display:none;align-content:center;align-items:center;flex-wrap:wrap;justify-content:center;width:48px;height:48px;transition:background .2s linear;text-decoration:none;opacity:1;color:currentColor;border-radius:16px;background:#950fff}.btn_up .icon[data-v-9eb1480c]{display:block;width:40px;height:40px;margin:4px}.btn_up[data-v-9eb1480c]:hover{background:#7700e1}@media (max-width:1899px),print{.empty .title[data-v-9eb1480c],.filter .title[data-v-9eb1480c],.head .title[data-v-9eb1480c]{font-size:27px;line-height:33px}}@media (max-width:1599px),print{.col[data-v-9eb1480c]{width:324px}.col_main[data-v-9eb1480c]{width:calc(100% - 696px)}.empty .title[data-v-9eb1480c],.filter .title[data-v-9eb1480c],.head .title[data-v-9eb1480c]{font-size:26px;line-height:32px}}@media (max-width:1439px),print{.col[data-v-9eb1480c]{width:300px}.col_main[data-v-9eb1480c]{width:calc(100% - 648px)}.empty .title[data-v-9eb1480c],.filter .title[data-v-9eb1480c],.head .title[data-v-9eb1480c]{font-size:24px;line-height:30px}}@media (max-width:1359px),print{.col[data-v-9eb1480c]{width:280px}.col_main[data-v-9eb1480c]{width:calc(100% - 600px)}}@media (max-width:1279px),print{.col[data-v-9eb1480c],.col_main[data-v-9eb1480c]{width:100%}.col_main[data-v-9eb1480c]{order:3}.head[data-v-9eb1480c]{margin-top:0;padding:20px 0;background:none}.filter[data-v-9eb1480c]{padding:14px}.filter .title[data-v-9eb1480c]{margin:0;pointer-events:auto}.filter .title .arr[data-v-9eb1480c]{display:block}.filter .items[data-v-9eb1480c]{display:none;padding-top:20px}.filter .title.active~.items[data-v-9eb1480c]{display:block}.btn_up[data-v-9eb1480c]{display:none!important}}@media (max-width:1023px),print{.empty .title[data-v-9eb1480c],.filter .title[data-v-9eb1480c],.head .title[data-v-9eb1480c]{font-size:22px;line-height:28px}}@media (max-width:767px),print{.main_data[data-v-9eb1480c]{padding:14px}.empty .title[data-v-9eb1480c],.filter .title[data-v-9eb1480c],.head .title[data-v-9eb1480c]{font-size:20px;line-height:26px}.proposals[data-v-9eb1480c]{margin-left:0}.proposals>[data-v-9eb1480c]{width:100%;margin-left:0}.empty[data-v-9eb1480c]{padding:36px}}@media (max-width:479px),print{.empty[data-v-9eb1480c]{padding:40px 0}} \ No newline at end of file diff --git a/css/778.09a78acb.css b/css/778.09a78acb.css deleted file mode 100644 index a7e13b9..0000000 --- a/css/778.09a78acb.css +++ /dev/null @@ -1 +0,0 @@ -.head[data-v-873d6c24]{margin-bottom:32px}.head .status[data-v-873d6c24],.head[data-v-873d6c24]{display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:flex-start}.head .status[data-v-873d6c24]{font-size:12px;line-height:130%;padding:7px 5px;border:1px solid;border-radius:10px}.head .status.green[data-v-873d6c24]{color:#1bc562;background:rgba(27,197,98,.05)}.head .status.blue[data-v-873d6c24]{color:#0343e8;background:rgba(3,67,232,.05)}.head .status.violet[data-v-873d6c24]{color:#950fff;background:rgba(149,15,255,.05)}.head .status.red[data-v-873d6c24]{color:#eb5757;background:rgba(235,87,87,.05)}.head .status .icon[data-v-873d6c24]{display:block;width:16px;height:16px;margin-right:6px}.head .type[data-v-873d6c24]{font-size:12px;line-height:130%;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:flex-start;margin-left:8px;padding:7px 5px;border:1px solid;border-radius:10px}.head .type .icon[data-v-873d6c24]{display:block;width:16px;height:16px;margin-right:6px}.head .name[data-v-873d6c24]{font-size:32px;font-weight:500;line-height:120%;display:flex;align-content:flex-start;align-items:flex-start;flex-wrap:nowrap;justify-content:flex-start;width:100%;margin-top:24px}.head .name .logo[data-v-873d6c24]{position:relative;overflow:hidden;width:36px;min-width:36px;height:36px;border-radius:50%}.head .name .logo img[data-v-873d6c24]{position:absolute;top:0;left:0;display:block;width:100%;height:100%;border-radius:inherit;-o-object-fit:cover;object-fit:cover}.head .name .logo+[data-v-873d6c24]{width:100%;margin-left:8px}.head .proposer[data-v-873d6c24]{font-size:14px;font-weight:500;line-height:17px;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:flex-start;margin-top:8px;color:#555}.head .proposer a[data-v-873d6c24]{margin-left:8px;white-space:nowrap;color:#950fff}@media (max-width:1359px),print{.head .name[data-v-873d6c24]{font-size:30px}}@media (max-width:1023px),print{.head .name .logo[data-v-873d6c24]{width:32px;min-width:32px;height:32px}.head .name[data-v-873d6c24]{font-size:27px}}@media (max-width:767px),print{.head[data-v-873d6c24]{margin-bottom:24px}.head .name[data-v-873d6c24]{font-size:24px;flex-wrap:wrap}.head .name .number+[data-v-873d6c24]{width:100%;margin-top:4px;margin-left:0}.head .proposer span[data-v-873d6c24]{width:100%}.head .proposer a[data-v-873d6c24]{margin-left:0}}@media (max-width:479px),print{.head .name[data-v-873d6c24]{font-size:22px}.head .name .logo[data-v-873d6c24]{width:28px;min-width:28px;height:28px}.head .proposer[data-v-873d6c24]{margin-top:12px}.head .proposer a[data-v-873d6c24]{display:block;overflow:hidden;width:307px;text-overflow:ellipsis}}.description[data-v-7062c208]{position:relative;overflow:hidden;height:128px;padding:16px;cursor:pointer;transition:height .2s linear;border-radius:10px;background:#191919}.description[data-v-7062c208]:after{position:absolute;z-index:1;bottom:0;left:0;display:block;width:100%;height:100%;content:"";background:linear-gradient(180deg,rgba(25,25,25,0) 0,#191919)}.description .title[data-v-7062c208]{font-size:20px;font-weight:500;line-height:100%;margin-bottom:16px;pointer-events:none}.description .text_block[data-v-7062c208]{width:calc(100% - 48px);pointer-events:none}.description .features>[data-v-7062c208]{font-size:14px;line-height:100%;display:flex;margin-top:16px;justify-content:space-between;align-items:flex-start;align-content:flex-start;flex-wrap:wrap}.description .features .label[data-v-7062c208]{width:168px;padding-right:16px}.description .features .val[data-v-7062c208]{width:calc(100% - 168px);margin-left:auto}.description .features .val.full_w[data-v-7062c208]{width:100%;margin-top:12px}.description .features pre[data-v-7062c208]{line-height:20px;display:block;overflow:auto;width:100%;max-height:200px;padding:8px;border-radius:8px;background:#282828}.description .features pre[data-v-7062c208]::-webkit-scrollbar{width:4px;height:4px}.description .icon[data-v-7062c208]{position:absolute;z-index:3;top:48px;right:16px;display:flex;width:32px;height:32px;pointer-events:none;justify-content:center;align-items:center;align-content:center;flex-wrap:wrap}.description .icon svg[data-v-7062c208]{display:block;width:32px;height:32px;transition:transform .2s linear}.description.active[data-v-7062c208]{height:auto;cursor:auto}.description.active[data-v-7062c208]:after{display:none}.description.active .icon svg[data-v-7062c208]{transform:rotate(-180deg)}@media (max-width:767px),print{.description .icon[data-v-7062c208]{top:10px;bottom:auto}.description .text_block[data-v-7062c208]{width:100%}.description .features .label[data-v-7062c208]{width:120px;padding-right:12px}.description .features .val[data-v-7062c208]{width:calc(100% - 120px)}}.title[data-v-6aad82fa]{font-weight:500;line-height:100%;margin-bottom:16px}table[data-v-6aad82fa]{width:100%;border-spacing:0;border-collapse:collapse}table th[data-v-6aad82fa]{color:#555;font-size:14px;line-height:17px;padding:10px 8px 18px;text-align:left;vertical-align:middle}table th[data-v-6aad82fa]:last-child{text-align:right}table td[data-v-6aad82fa]{font-size:14px;font-weight:500;line-height:17px;padding:5px 8px;text-align:left;vertical-align:middle;border-top:1px solid hsla(0,0%,100%,.05)}table td[data-v-6aad82fa]:last-child{text-align:right}table td.depositor[data-v-6aad82fa]{width:320px;table-layout:fixed;white-space:nowrap}table td.tx_hash a[data-v-6aad82fa]{color:currentColor;transition:color .2s linear;text-decoration:none}table td.tx_hash a[data-v-6aad82fa]:hover{color:#950fff}table td.tx_hash span[data-v-6aad82fa]{display:block;overflow:hidden;width:300px;max-width:100%;white-space:nowrap;text-overflow:ellipsis}table td.amount[data-v-6aad82fa]{font-weight:400;width:172px;table-layout:fixed;white-space:nowrap}table td.amount small[data-v-6aad82fa]{font-size:12px;line-height:15px}table td.date[data-v-6aad82fa]{color:#555;font-size:12px;font-weight:400;line-height:100%;width:216px;table-layout:fixed;white-space:nowrap}table td.date .ago[data-v-6aad82fa]{color:#fff;font-size:14px;line-height:100%;margin-bottom:6px}@media (max-width:1023px),print{.table_wrap[data-v-6aad82fa]{overflow:auto;max-width:100%;padding-bottom:8px;scrollbar-color:#950fff var(--bg);scrollbar-width:thin}.table_wrap[data-v-6aad82fa]::-webkit-scrollbar{width:4px;height:4px;background-color:var(--bg)}.table_wrap[data-v-6aad82fa]::-webkit-scrollbar-thumb{border-radius:5px;background-color:#950fff}table[data-v-6aad82fa]{width:860px}}.loader_wrap[data-v-5bd14508]{position:relative;height:auto;padding:0;background:none}.votes_info>*+[data-v-5bd14508]{margin-top:40px}.filter[data-v-5bd14508]{display:flex;align-content:flex-start;align-items:flex-start;flex-wrap:wrap;justify-content:flex-start;margin-bottom:8px;margin-left:-8px}.filter>[data-v-5bd14508]{margin-bottom:8px;margin-left:8px}.filter .btn[data-v-5bd14508]{font-size:14px;line-height:100%;padding:9px 8px;transition:.2s linear;color:#fff;border-radius:10px;background:#282828}.filter .btn.disabled[data-v-5bd14508]{pointer-events:none;opacity:.35}.filter .btn.active[data-v-5bd14508],.filter .btn[data-v-5bd14508]:hover{color:#fff;background:#950fff}.scroll[data-v-5bd14508]{display:flex;overflow:auto;flex-direction:column;width:100%;max-height:609px;padding-bottom:8px;scrollbar-color:#950fff var(--bg);scrollbar-width:thin}.titles[data-v-5bd14508]{font-size:14px;line-height:17px;display:flex;align-content:stretch;align-items:stretch;flex-wrap:nowrap;justify-content:flex-start;padding-right:6px;color:#555}.titles>[data-v-5bd14508]{display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:center;padding:10px 8px 18px;text-align:center;border-bottom:1px solid hsla(0,0%,100%,.05)}.titles>[data-v-5bd14508]:first-child{justify-content:flex-start;text-align:left}.titles>[data-v-5bd14508]:last-child{padding-right:10px}.titles .tooltip[data-v-5bd14508]{position:relative;margin-left:8px}.titles .tooltip .icon[data-v-5bd14508]{display:block;width:14px;height:14px;color:#fff}.titles .tooltip .text[data-v-5bd14508]{font-size:12px;line-height:100%;position:absolute;z-index:9;bottom:100%;left:50%;display:none;width:164px;margin-bottom:8px;padding:8px;transform:translateX(-50%);text-align:center;pointer-events:none;color:#fff;border-radius:8px;background:#282828;box-shadow:0 6px 12px rgba(0,0,0,.2)}.titles .tooltip .text[data-v-5bd14508]:before{position:absolute;top:100%;right:0;left:0;display:block;width:29px;height:7px;margin:0 auto;content:"";background:url(/img/tooltip_tail.67641cf1.svg) 50% 0/100% 100% no-repeat}.titles .tooltip:hover .text[data-v-5bd14508]{display:block}.item[data-v-5bd14508]{font-size:14px;font-weight:500;line-height:17px;display:flex;align-content:stretch;align-items:stretch;flex-wrap:nowrap;justify-content:flex-start;order:3;width:100%}.item.first[data-v-5bd14508]{order:1}.item.last[data-v-5bd14508]{order:5}.item>[data-v-5bd14508]{display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:center;min-height:60px;padding:8px;text-align:center;border-bottom:1px solid hsla(0,0%,100%,.05)}.item a[data-v-5bd14508]{transition:color .2s linear;text-decoration:none;color:currentColor}.item a[data-v-5bd14508]:hover{color:#950fff}.table_wrap .validator[data-v-5bd14508]{width:250px;min-width:250px;max-width:250px}.item .validator[data-v-5bd14508]{justify-content:space-between;text-align:left}.item .validator .logo[data-v-5bd14508]{position:relative;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:center;width:30px;height:30px;border-radius:50%;background:#282828}.item .validator .logo img[data-v-5bd14508]{position:absolute;top:0;left:0;display:block;width:100%;height:100%;border-radius:inherit;-o-object-fit:cover;object-fit:cover}.item .validator .logo img.hide[data-v-5bd14508]{display:none}.item .validator .logo .icon[data-v-5bd14508]{display:block;width:18px;height:18px}.item .validator .logo+[data-v-5bd14508]{width:calc(100% - 46px)}.item .validator .rank[data-v-5bd14508]{font-size:10px;line-height:14px;position:absolute;top:-5px;left:18px;min-width:22px;height:14px;padding:0 4px;text-align:center;white-space:nowrap;color:#fff;border-radius:10px;background:#950fff}.item .validator .moniker[data-v-5bd14508]{position:relative;display:inline-block;max-width:100%;vertical-align:top;white-space:nowrap}.item .validator .moniker span[data-v-5bd14508]{display:block;overflow:hidden;text-overflow:ellipsis}.item .validator .sticker[data-v-5bd14508]{font-size:10px;line-height:100%;display:inline-block;margin-top:4px;padding:4px;vertical-align:top;border:1px solid #950fff;border-radius:10px}.item .validator .moniker .tooltip[data-v-5bd14508]{font-size:12px;line-height:100%;position:absolute;z-index:9;bottom:100%;left:50%;display:none;margin-bottom:8px;padding:8px;transform:translateX(-50%);border-radius:8px;background:#282828;box-shadow:0 6px 12px rgba(0,0,0,.2)}.item .validator .moniker .tooltip[data-v-5bd14508]:before{position:absolute;top:100%;right:0;left:0;display:block;width:29px;height:7px;margin:0 auto;content:"";background:url(/img/tooltip_tail.67641cf1.svg) 50% 0/100% 100% no-repeat}.item .validator .moniker:hover .tooltip[data-v-5bd14508]{display:block}.table_wrap .most_voted[data-v-5bd14508],.table_wrap .validator_vote[data-v-5bd14508]{width:120px;min-width:120px;text-align:center}.table_wrap .community_votes[data-v-5bd14508]{width:100%}.table_wrap .percents[data-v-5bd14508]{justify-content:flex-start;width:124px;min-width:124px}.table_wrap .community_votes .empty[data-v-5bd14508]{text-align:center}.item .bar[data-v-5bd14508]{position:relative;display:flex;align-content:center;align-items:center;flex-wrap:nowrap;justify-content:flex-start;width:100%}.item .bar>[data-v-5bd14508]{position:relative;height:8px;border-radius:8px}.item .bar>*+[data-v-5bd14508]{margin-left:4px}.item .bar .nwv[data-v-5bd14508]{background:#eb5757}.item .bar .yes[data-v-5bd14508]{background:#1bc562}.item .bar .no[data-v-5bd14508]{background:#c5811b}.item .bar .tooltip[data-v-5bd14508]{font-size:12px;line-height:100%;position:absolute;z-index:9;bottom:100%;left:50%;display:none;align-content:center;align-items:center;flex-wrap:nowrap;justify-content:center;height:auto;margin-bottom:18px;padding:8px;transform:translateX(-50%);white-space:nowrap;border-radius:8px;background:#282828;box-shadow:0 6px 12px rgba(0,0,0,.2)}.item .bar .tooltip[data-v-5bd14508]:before{position:absolute;top:100%;right:0;left:0;display:block;width:29px;height:7px;margin:0 auto;content:"";background:url(/img/tooltip_tail.67641cf1.svg) 50% 0/100% 100% no-repeat}.item.first .bar .tooltip[data-v-5bd14508],.item.first .validator .moniker .tooltip[data-v-5bd14508],.scroll:not(.with_your_validator) .item:first-child .bar .tooltip[data-v-5bd14508],.scroll:not(.with_your_validator) .item:first-child .validator .moniker .tooltip[data-v-5bd14508]{top:100%;bottom:auto;margin-top:8px;margin-bottom:0}.item.first .validator .moniker .tooltip:before .item.first .bar .tooltip[data-v-5bd14508]:before{top:auto;bottom:100%;transform:rotate(180deg)}.item .bar .tooltip>[data-v-5bd14508]{position:relative;padding-left:10px;background:none}.item .bar .tooltip>[data-v-5bd14508]:before{position:absolute;top:0;bottom:0;left:0;display:block;width:6px;height:6px;margin:auto;content:"";border-radius:50%}.item .bar .tooltip>.nwv[data-v-5bd14508]:before{background:#eb5757}.item .bar .tooltip>.yes[data-v-5bd14508]:before{background:#1bc562}.item .bar .tooltip>.no[data-v-5bd14508]:before{background:#c5811b}.item .bar .tooltip>*+[data-v-5bd14508]{margin-left:8px}.item .community_votes:hover .tooltip[data-v-5bd14508]{display:flex}.item .percents[data-v-5bd14508]{justify-content:flex-end;text-align:right}@media (max-width:1023px),print{.item[data-v-5bd14508],.titles[data-v-5bd14508]{width:960px}}@media (max-width:767px),print{.filter .btn[data-v-5bd14508]{font-size:13px;padding:8px}.scroll[data-v-5bd14508]{max-height:304px}}.default_loader_wrap[data-v-98cd1d18]{position:absolute;z-index:90;display:flex;width:100%;height:100%;margin:auto;inset:0;justify-content:center;align-items:center;align-content:center;flex-wrap:wrap}.loader-wheel[data-v-98cd1d18]{font-size:64px;position:relative;width:100%;height:100%}.loader-wheel__spoke[data-v-98cd1d18]{position:absolute;top:50%;left:50%;display:block;width:.02em;height:.075em;transform-origin:left top;animation:fade-98cd1d18 .6s linear infinite;opacity:0;border-radius:.05em;background:#fff}@keyframes fade-98cd1d18{0%{opacity:1}to{opacity:0}}.loader-wheel__spoke[data-v-98cd1d18]:first-child{transform:rotate(0deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(2){transform:rotate(30deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(3){transform:rotate(60deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(4){transform:rotate(90deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(5){transform:rotate(120deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(6){transform:rotate(150deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(7){transform:rotate(180deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(8){transform:rotate(210deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(9){transform:rotate(240deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(10){transform:rotate(270deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(11){transform:rotate(300deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(12){transform:rotate(330deg) translate(-50%,70%)}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(2){animation-delay:.05s}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(3){animation-delay:.1s}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(4){animation-delay:.15s}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(5){animation-delay:.2s}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(6){animation-delay:.25s}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(7){animation-delay:.3s}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(8){animation-delay:.35s}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(9){animation-delay:.4s}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(10){animation-delay:.45s}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(11){animation-delay:.5s}.loader-wheel__spoke[data-v-98cd1d18]:nth-child(12){animation-delay:.55s}.modal_title[data-v-024285fd]{font-size:20px;font-weight:600;line-height:36px;margin-bottom:30px}.modal_content .data>.close_btn[data-v-024285fd]{top:20px}.form .line[data-v-024285fd]{margin-bottom:24px}.form .label[data-v-024285fd]{color:#555;font-size:14px;line-height:17px;margin-bottom:8px}.form .field[data-v-024285fd]{position:relative}.form .input[data-v-024285fd]{color:currentColor;font-family:var(--font_family);font-size:15px;display:block;width:100%;height:55px;padding:0 9px 2px;transition:border-color .2s linear;border:1px solid transparent;border-radius:15px;background:#191919}.form .balance[data-v-024285fd]{color:#fff;font-size:14px;line-height:17px;position:absolute;right:0;bottom:100%;display:flex;margin-bottom:8px;white-space:nowrap;opacity:.7;justify-content:flex-start;align-items:center;align-content:center;flex-wrap:wrap}.form .balance .default_loader_wrap[data-v-024285fd]{position:relative;width:16px;height:16px;margin:0 8px 0 0}.form .balance span[data-v-024285fd]{margin-right:4px}.form .submit[data-v-024285fd]{padding-top:10px}.form .submit_btn[data-v-024285fd]{font-weight:500;line-height:19px;display:block;margin-left:auto;padding:14px 24px;transition:background .2s linear;border-radius:14px;background:#950fff}.form .submit_btn[data-v-024285fd]:hover{background:#7700e1}.sticky[data-v-38514a4b]{position:sticky;top:118px}.current_account[data-v-38514a4b]{position:relative;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:space-between;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid hsla(0,0%,100%,.05)}.current_account .label[data-v-38514a4b]{font-weight:500;line-height:100%}.current_account .current[data-v-38514a4b]{font-size:14px;line-height:100%;position:relative;display:block;width:158px;height:28px;margin-left:auto;padding:6px 26px 6px 6px;text-align:left;border-radius:6px;background:#191919}.current_account .current .icon[data-v-38514a4b]{position:absolute;top:0;right:6px;bottom:0;display:block;width:16px;height:16px;margin:auto;transition:transform .2s linear}.current_account .current.active .icon[data-v-38514a4b]{transform:rotate(180deg)}.current_account .dropdown[data-v-38514a4b]{position:absolute;z-index:9;top:100%;right:0;width:158px;max-width:100%;margin-top:-13px;padding:4px;border-radius:6px;background:#1c1c1c}.current_account .dropdown>*+[data-v-38514a4b]{margin-top:4px}.current_account .dropdown .btn[data-v-38514a4b]{font-size:12px;line-height:15px;display:block;width:100%;padding:6px 4px;transition:background .2s linear;text-align:left;border-radius:6px}.current_account .dropdown .btn[data-v-38514a4b]:hover{background:#232323}.current_vote[data-v-38514a4b]{font-weight:500;line-height:100%;position:relative;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:space-between}.current_vote .val[data-v-38514a4b]:first-letter{text-transform:uppercase}.current_vote .green[data-v-38514a4b]{color:#1bc562}.current_vote .grey[data-v-38514a4b]{color:#555}.vote[data-v-38514a4b]{position:relative;display:flex;align-content:stretch;align-items:stretch;flex-wrap:wrap;justify-content:flex-start;margin-top:16px;margin-bottom:-8px;margin-left:-8px}.vote .tooltip[data-v-38514a4b]{font-size:12px;line-height:100%;position:absolute;z-index:9;top:50%;left:50%;display:block;margin-bottom:8px;padding:8px;transform:translate(-50%,calc(-50% - 4px));white-space:nowrap;border-radius:8px;background:#282828;box-shadow:0 6px 12px rgba(0,0,0,.2)}.connected_addresses .tooltip[data-v-38514a4b]:before{position:absolute;top:100%;right:0;left:0;display:block;width:29px;height:7px;margin:0 auto;content:"";background:url(/img/tooltip_tail.67641cf1.svg) 50% 0/100% 100% no-repeat}.vote .btn[data-v-38514a4b]{font-size:14px;line-height:100%;width:calc(50% - 8px);margin-bottom:8px;margin-left:8px;padding:8px;transition:.2s linear;border-radius:10px;background:#353535}.vote.disabled .btn[data-v-38514a4b]{pointer-events:none;opacity:.3}.vote .btn.green[data-v-38514a4b]{background:#1bc562}.vote .btn.yellow[data-v-38514a4b]{background:#c5811b}.vote .btn.red[data-v-38514a4b]{background:#eb5757}.deposit_status .title[data-v-38514a4b]{font-weight:500;line-height:100%;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:space-between;margin-bottom:16px}.refresh_btn[data-v-38514a4b]{font-size:14px;line-height:20px;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:flex-start;margin-left:auto;color:#950fff}.refresh_btn .icon[data-v-38514a4b]{display:block;width:16px;height:16px;margin-right:6px}.deposit_btn[data-v-38514a4b]{font-size:14px;line-height:100%;position:relative;display:block;width:100%;margin-top:16px;padding:10px;transition:background .2s linear;text-align:center;border-radius:10px;background:#950fff}.deposit_btn.disabled[data-v-38514a4b]{cursor:default;pointer-events:none;color:hsla(0,0%,100%,.5);background:rgba(149,15,255,.5)}.deposit_btn .tooltip[data-v-38514a4b]{font-size:12px;line-height:100%;position:absolute;z-index:9;bottom:100%;left:50%;margin-bottom:8px;padding:8px;transform:translateX(-50%);white-space:nowrap;color:#fff;border-radius:8px;background:#282828;box-shadow:0 6px 12px rgba(0,0,0,.2)}.deposit_btn .tooltip[data-v-38514a4b]:before{position:absolute;top:100%;right:0;left:0;display:block;width:29px;height:7px;margin:0 auto;content:"";background:url(/img/tooltip_tail.67641cf1.svg) 50% 0/100% 100% no-repeat}.deposit_btn[data-v-38514a4b]:hover{background:#7700e1}.details[data-v-38514a4b]{margin-top:16px;padding-top:16px;border-top:1px solid hsla(0,0%,100%,.05)}.details .title[data-v-38514a4b]{font-weight:500;line-height:100%;margin-bottom:16px}.details .row[data-v-38514a4b]{align-content:stretch;align-items:stretch;margin-bottom:-8px;margin-left:-8px}.details .row>[data-v-38514a4b]{width:calc(50% - 8px);margin-bottom:8px;margin-left:8px}.details .item[data-v-38514a4b]{min-height:81px;padding:8px;border-radius:10px;background:#191919}.details .label[data-v-38514a4b]{font-size:12px;line-height:100%;margin-bottom:8px;color:#555}.details .val[data-v-38514a4b]{font-size:14px;font-weight:500;line-height:110%}.vote_info[data-v-38514a4b]{margin-top:16px;padding-top:16px;border-top:1px solid hsla(0,0%,100%,.05)}.vote_info .head[data-v-38514a4b]{display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:space-between;margin-bottom:16px}.vote_info .title[data-v-38514a4b]{font-weight:500;line-height:100%}.chart[data-v-38514a4b]{position:relative;width:200px;height:200px;margin:0 auto}.chart .percents[data-v-38514a4b]{font-size:32px;font-weight:500;line-height:100%}.chart .final_status[data-v-38514a4b],.chart .percents[data-v-38514a4b]{position:absolute;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:center;width:100%;height:100%;text-align:center}.chart .final_status .label[data-v-38514a4b]{font-size:14px;line-height:17px;width:100%;color:#555}.chart .final_status .val[data-v-38514a4b]{font-size:32px;font-weight:500;line-height:100%;width:100%}.chart .final_status .val.green[data-v-38514a4b]{color:#1bc562}.chart .final_status .val.yellow[data-v-38514a4b]{color:#c5811b}.chart .final_status .val.red[data-v-38514a4b]{color:#eb5757}.vote_info>.row[data-v-38514a4b]{justify-content:center}.vote_info .turnout[data-v-38514a4b]{font-size:12px;line-height:15px;margin-top:16px;margin-right:auto;padding:7px;color:#eb5757;border:1px solid;border-radius:8px}.vote_info .turnout.green[data-v-38514a4b]{color:#1bc562}.vote_info .total[data-v-38514a4b]{font-size:12px;line-height:15px;margin-top:16px;padding:7px;color:#950fff;border:1px solid;border-radius:8px}.vote_info .exp[data-v-38514a4b]{font-size:12px;line-height:15px;margin-top:8px;color:#555}.vote_info .refresh_btn[data-v-38514a4b]{font-size:14px;line-height:20px;display:flex;align-content:center;align-items:center;flex-wrap:wrap;justify-content:flex-start;margin-left:auto;color:#950fff}.vote_info .refresh_btn .icon[data-v-38514a4b]{display:block;width:16px;height:16px;margin-right:6px}.vote_result[data-v-38514a4b]{margin-top:16px;padding-top:16px;padding-bottom:14px;border-top:1px solid hsla(0,0%,100%,.05)}.vote_result .row[data-v-38514a4b]{align-content:stretch;align-items:stretch;margin-bottom:-8px;margin-left:-8px}.vote_result .row>[data-v-38514a4b]{width:calc(50% - 8px);margin-bottom:8px;margin-left:8px}.vote_result .item[data-v-38514a4b]{font-size:14px;line-height:100%;padding:8px;color:#555;border-radius:10px;background:#191919}.vote_result .item>*+[data-v-38514a4b]{margin-top:8px}.vote_result .item .val[data-v-38514a4b]{font-size:16px;font-weight:500;text-transform:uppercase}.vote_result .item .green[data-v-38514a4b]{color:#1bc562}.vote_result .item .yellow[data-v-38514a4b]{color:#c5811b}.vote_result .item .red[data-v-38514a4b]{color:#eb5757}@media (max-width:1359px),print{.details .val[data-v-38514a4b]{font-size:13px}.chart .final_status .val[data-v-38514a4b],.chart .percents[data-v-38514a4b]{font-size:30px}}@media (max-width:1279px),print{.details .row>[data-v-38514a4b],.vote .btn[data-v-38514a4b],.vote_result .row>[data-v-38514a4b]{width:calc(25% - 8px)}}@media (max-width:767px),print{.details .row>[data-v-38514a4b],.vote .btn[data-v-38514a4b],.vote_result .row>[data-v-38514a4b]{width:calc(50% - 8px)}}@media (max-width:479px),print{.chart .final_status .val[data-v-38514a4b],.chart .percents[data-v-38514a4b]{font-size:28px}}.back_btn[data-v-66e1e89c]{margin-bottom:20px}.back_btn .btn[data-v-66e1e89c]{color:currentColor;display:flex;width:36px;height:36px;transition:background .2s linear;text-decoration:none;border-radius:50%;background:#141414;justify-content:center;align-items:center;align-content:center;flex-wrap:wrap}.back_btn .icon[data-v-66e1e89c]{display:block;width:14px;height:14px}.back_btn .btn[data-v-66e1e89c]:hover{background:#950fff}.data[data-v-66e1e89c]{width:calc(100% - 373px);padding:32px;border-radius:30px;background:#0d0d0d}.data .head+.depositors[data-v-66e1e89c]{margin-bottom:40px}.data .tabs[data-v-66e1e89c]{margin-bottom:32px;padding-bottom:32px;border-bottom:1px solid hsla(0,0%,100%,.05)}.data .tabs .row[data-v-66e1e89c]{display:flex;margin-left:-8px;justify-content:flex-start;align-items:center;align-content:center;flex-wrap:wrap}.data .tabs .btn[data-v-66e1e89c]{font-size:14px;font-weight:500;line-height:17px;min-width:109px;margin-left:8px;padding:7px;transition:.2s linear;border:1px solid;border-radius:10px}.data .tabs .btn.active[data-v-66e1e89c],.data .tabs .btn[data-v-66e1e89c]:hover{color:#000;border-color:#fff;background:#fff}.info[data-v-66e1e89c]{position:relative;width:353px;max-width:100%;margin-left:auto;padding:14px;border-radius:20px;background:#0d0d0d}@media (max-width:1439px),print{.data[data-v-66e1e89c]{width:calc(100% - 344px);padding:24px}.info[data-v-66e1e89c]{width:320px}}@media (max-width:1279px),print{.data[data-v-66e1e89c]{width:100%}.info[data-v-66e1e89c]{width:100%;margin-top:24px}}@media (max-width:767px),print{.data[data-v-66e1e89c]{padding:14px}.data .tabs[data-v-66e1e89c]{margin-bottom:24px;padding-bottom:24px}.data .tabs .btn[data-v-66e1e89c]{font-size:13px}}@media (max-width:479px),print{.data .tabs .btn[data-v-66e1e89c]{width:calc(50% - 8px)}} \ No newline at end of file diff --git a/img/sprite.0840251b.svg b/img/sprite.580f2bcd.svg similarity index 92% rename from img/sprite.0840251b.svg rename to img/sprite.580f2bcd.svg index 758c01e..7f5461e 100644 --- a/img/sprite.0840251b.svg +++ b/img/sprite.580f2bcd.svg @@ -137,6 +137,9 @@ + + + diff --git a/index.html b/index.html index 2039481..7261914 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -bro_app
\ No newline at end of file +bro_app
\ No newline at end of file diff --git a/js/365.2aa0b550.js b/js/365.2aa0b550.js new file mode 100644 index 0000000..5696717 --- /dev/null +++ b/js/365.2aa0b550.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkbro_app"]=self["webpackChunkbro_app"]||[]).push([[365],{62365:function(e,t,s){s.r(t),s.d(t,{default:function(){return Po}});s(57658);var n=s(73396),a=s(44870),o=s(87139),r=s(27795),l=s(34776),i=s(95673),p=s(42325),c=s(90466);const u=e=>((0,n.dD)("data-v-29ebd35a"),e=e(),(0,n.Cn)(),e),_=r+"#ic_status_deposite",d=r+"#ic_status_voting",h=r+"#ic_status_passed",g=r+"#ic_status_rejected",k=r+"#ic_suspicious",w=r+"#ic_proposal_Text",v=r+"#ic_proposal_CommunityPoolSpend",f=r+"#ic_proposal_SoftwareUpgrade",m=r+"#ic_proposal_ParameterChange",b=r+"#ic_proposal_UpdateSmartContract",x={class:"head"},y={key:0,class:"status violet"},S=u((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":_})],-1))),z={key:1,class:"status blue"},$=u((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":d})],-1))),U={key:2,class:"status green"},O=u((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":h})],-1))),T={key:3,class:"status red"},D=u((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":g})],-1))),P={key:4,class:"suspicious"},I=u((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":k})],-1))),A={class:"type"},E={key:0,class:"icon"},N=u((()=>(0,n._)("use",{"xlink:href":w},null,-1))),R=[N],q={key:1,class:"icon"},C=u((()=>(0,n._)("use",{"xlink:href":v},null,-1))),L=[C],V={key:2,class:"icon"},H=u((()=>(0,n._)("use",{"xlink:href":f},null,-1))),M=[H],W={key:3,class:"icon"},j=u((()=>(0,n._)("use",{"xlink:href":m},null,-1))),Z=[j],Y={key:4,class:"icon"},F=u((()=>(0,n._)("use",{"xlink:href":b},null,-1))),B=[F],Q={class:"name"},G={class:"logo"},K=["src"],X={class:"proposer"},J=["href"],ee=["href"];var te={__name:"HeadInfo",props:["proposal"],setup(e){const t=e,s=(0,l.s)();function r(e){let t=!1,s=["Airdrop","💎","💥","✅"],n=e.toLowerCase().split("");for(let a of n)s.includes(a)&&(t=!0);return t}return(l,i)=>((0,n.wg)(),(0,n.iD)("section",x,["PROPOSAL_STATUS_DEPOSIT_PERIOD"==t.proposal.status?((0,n.wg)(),(0,n.iD)("div",y,[S,(0,n._)("span",null,(0,o.zw)(l.$t("message.account_proposals_status_deposite")),1)])):(0,n.kq)("",!0),"PROPOSAL_STATUS_VOTING_PERIOD"==t.proposal.status?((0,n.wg)(),(0,n.iD)("div",z,[$,(0,n._)("span",null,(0,o.zw)(l.$t("message.account_proposals_status_voting")),1)])):(0,n.kq)("",!0),"PROPOSAL_STATUS_PASSED"==t.proposal.status?((0,n.wg)(),(0,n.iD)("div",U,[O,(0,n._)("span",null,(0,o.zw)(l.$t("message.account_proposals_status_passed")),1)])):(0,n.kq)("",!0),"PROPOSAL_STATUS_REJECTED"==t.proposal.status?((0,n.wg)(),(0,n.iD)("div",T,[D,(0,n._)("span",null,(0,o.zw)(l.$t("message.account_proposals_status_rejected")),1)])):(0,n.kq)("",!0),r(t.proposal.title)?((0,n.wg)(),(0,n.iD)("div",P,[I,(0,n._)("span",null,(0,o.zw)(l.$t("message.account_proposals_suspicious_tooltip")),1)])):(0,n.kq)("",!0),(0,n._)("div",A,["Text"==t.proposal.proposal_type?((0,n.wg)(),(0,n.iD)("svg",E,R)):(0,n.kq)("",!0),"CommunityPoolSpend"==t.proposal.proposal_type?((0,n.wg)(),(0,n.iD)("svg",q,L)):(0,n.kq)("",!0),"SoftwareUpgrade"==t.proposal.proposal_type?((0,n.wg)(),(0,n.iD)("svg",V,M)):(0,n.kq)("",!0),"ParameterChange"==t.proposal.proposal_type?((0,n.wg)(),(0,n.iD)("svg",W,Z)):(0,n.kq)("",!0),"Text"!=t.proposal.proposal_type&&"CommunityPoolSpend"!=t.proposal.proposal_type&&"SoftwareUpgrade"!=t.proposal.proposal_type&&"ParameterChange"!=t.proposal.proposal_type?((0,n.wg)(),(0,n.iD)("svg",Y,B)):(0,n.kq)("",!0),(0,n._)("span",null,(0,o.zw)(t.proposal.proposal_type),1)]),(0,n._)("div",Q,[(0,n._)("div",G,[(0,n._)("img",{src:`/${t.proposal.network}_logo.png`,alt:""},null,8,K)]),(0,n._)("div",null,"#"+(0,o.zw)(t.proposal.id)+" "+(0,o.zw)(t.proposal.title),1)]),(0,n._)("div",X,[(0,n._)("span",null,(0,o.zw)(l.$t("message.proposal_proposer_label"))+":",1),e.proposal.moniker?((0,n.wg)(),(0,n.iD)("a",{key:0,href:`https://www.mintscan.io/${(0,a.SU)(s).networks[t.proposal.network].mintscanAlias}/validators/${t.proposal.moniker}`,target:"_blank",rel:"noopener nofollow"},(0,o.zw)(t.proposal.moniker),9,J)):((0,n.wg)(),(0,n.iD)("a",{key:1,href:`https://www.mintscan.io/${(0,a.SU)(s).networks[t.proposal.network].mintscanAlias}/account/${t.proposal.proposer_address}`,target:"_blank",rel:"noopener nofollow"},(0,o.zw)(t.proposal.proposer_address),9,ee))])]))}},se=s(40089);const ne=(0,se.Z)(te,[["__scopeId","data-v-29ebd35a"]]);var ae=ne,oe=s(49242);s(21703);function re(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function le(e,t){re(e,t),t.add(e)}function ie(e,t,s){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return s}var pe=s(47327),ce=s(15941);function ue(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let _e=ue();function de(e){_e=e}const he=/[&<>"']/,ge=new RegExp(he.source,"g"),ke=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,we=new RegExp(ke.source,"g"),ve={"&":"&","<":"<",">":">",'"':""","'":"'"},fe=e=>ve[e];function me(e,t){if(t){if(he.test(e))return e.replace(ge,fe)}else if(ke.test(e))return e.replace(we,fe);return e}const be=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function xe(e){return e.replace(be,((e,t)=>(t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):"")))}const ye=/(^|[^\[])\^/g;function Se(e,t){e="string"===typeof e?e:e.source,t=t||"";const s={replace:(t,n)=>(n=n.source||n,n=n.replace(ye,"$1"),e=e.replace(t,n),s),getRegex:()=>new RegExp(e,t)};return s}const ze=/[^\w:]/g,$e=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Ue(e,t,s){if(e){let e;try{e=decodeURIComponent(xe(s)).replace(ze,"").toLowerCase()}catch(n){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!$e.test(s)&&(s=Ie(t,s));try{s=encodeURI(s).replace(/%25/g,"%")}catch(n){return null}return s}const Oe={},Te=/^[^:]+:\/*[^/]*$/,De=/^([^:]+:)[\s\S]*$/,Pe=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Ie(e,t){Oe[" "+e]||(Te.test(e)?Oe[" "+e]=e+"/":Oe[" "+e]=Ne(e,"/",!0)),e=Oe[" "+e];const s=-1===e.indexOf(":");return"//"===t.substring(0,2)?s?t:e.replace(De,"$1")+t:"/"===t.charAt(0)?s?t:e.replace(Pe,"$1")+t:e+t}const Ae={exec:function(){}};function Ee(e,t){const s=e.replace(/\|/g,((e,t,s)=>{let n=!1,a=t;while(--a>=0&&"\\"===s[a])n=!n;return n?"|":" |"})),n=s.split(/ \|/);let a=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>t)n.splice(t);else while(n.length{const t=e.match(/^\s+/);if(null===t)return e;const[s]=t;return s.length>=n.length?e.slice(n.length):e})).join("\n")}class Ve{constructor(e){this.options=e||_e}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:Ne(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],s=Le(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:s}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){const t=Ne(e,"#");this.options.pedantic?e=t.trim():t&&!/ $/.test(t)||(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const e=t[0].replace(/^ *>[ \t]?/gm,""),s=this.lexer.state.top;this.lexer.state.top=!0;const n=this.lexer.blockTokens(e);return this.lexer.state.top=s,{type:"blockquote",raw:t[0],tokens:n,text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let s,n,a,o,r,l,i,p,c,u,_,d,h=t[1].trim();const g=h.length>1,k={type:"list",raw:"",ordered:g,start:g?+h.slice(0,-1):"",loose:!1,items:[]};h=g?`\\d{1,9}\\${h.slice(-1)}`:`\\${h}`,this.options.pedantic&&(h=g?h:"[*+-]");const w=new RegExp(`^( {0,3}${h})((?:[\t ][^\\n]*)?(?:\\n|$))`);while(e){if(d=!1,!(t=w.exec(e)))break;if(this.rules.block.hr.test(e))break;if(s=t[0],e=e.substring(s.length),p=t[2].split("\n",1)[0].replace(/^\t+/,(e=>" ".repeat(3*e.length))),c=e.split("\n",1)[0],this.options.pedantic?(o=2,_=p.trimLeft()):(o=t[2].search(/[^ ]/),o=o>4?1:o,_=p.slice(o),o+=t[1].length),l=!1,!p&&/^ *$/.test(c)&&(s+=c+"\n",e=e.substring(c.length+1),d=!0),!d){const t=new RegExp(`^ {0,${Math.min(3,o-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),n=new RegExp(`^ {0,${Math.min(3,o-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),a=new RegExp(`^ {0,${Math.min(3,o-1)}}(?:\`\`\`|~~~)`),r=new RegExp(`^ {0,${Math.min(3,o-1)}}#`);while(e){if(u=e.split("\n",1)[0],c=u,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),a.test(c))break;if(r.test(c))break;if(t.test(c))break;if(n.test(e))break;if(c.search(/[^ ]/)>=o||!c.trim())_+="\n"+c.slice(o);else{if(l)break;if(p.search(/[^ ]/)>=4)break;if(a.test(p))break;if(r.test(p))break;if(n.test(p))break;_+="\n"+c}l||c.trim()||(l=!0),s+=u+"\n",e=e.substring(u.length+1),p=c.slice(o)}}k.loose||(i?k.loose=!0:/\n *\n *$/.test(s)&&(i=!0)),this.options.gfm&&(n=/^\[[ xX]\] /.exec(_),n&&(a="[ ] "!==n[0],_=_.replace(/^\[[ xX]\] +/,""))),k.items.push({type:"list_item",raw:s,task:!!n,checked:a,loose:!1,text:_}),k.raw+=s}k.items[k.items.length-1].raw=s.trimRight(),k.items[k.items.length-1].text=_.trimRight(),k.raw=k.raw.trimRight();const v=k.items.length;for(r=0;r"space"===e.type)),t=e.length>0&&e.some((e=>/\n.*\n/.test(e.raw)));k.loose=t}if(k.loose)for(r=0;r$/,"$1").replace(this.rules.inline._escapes,"$1"):"",n=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:s,title:n}}}table(e){const t=this.rules.block.table.exec(e);if(t){const e={type:"table",header:Ee(t[1]).map((e=>({text:e}))),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(e.header.length===e.align.length){e.raw=t[0];let s,n,a,o,r=e.align.length;for(s=0;s({text:e})));for(r=e.header.length,n=0;n/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):me(t[0]):t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&/^$/.test(e))return;const t=Ne(e.slice(0,-1),"\\");if((e.length-t.length)%2===0)return}else{const e=Re(t[2],"()");if(e>-1){const s=0===t[0].indexOf("!")?5:4,n=s+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let s=t[2],n="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);e&&(s=e[1],n=e[3])}else n=t[3]?t[3].slice(1,-1):"";return s=s.trim(),/^$/.test(e)?s.slice(1):s.slice(1,-1)),Ce(t,{href:s?s.replace(this.rules.inline._escapes,"$1"):s,title:n?n.replace(this.rules.inline._escapes,"$1"):n},t[0],this.lexer)}}reflink(e,t){let s;if((s=this.rules.inline.reflink.exec(e))||(s=this.rules.inline.nolink.exec(e))){let e=(s[2]||s[1]).replace(/\s+/g," ");if(e=t[e.toLowerCase()],!e){const e=s[0].charAt(0);return{type:"text",raw:e,text:e}}return Ce(s,e,s[0],this.lexer)}}emStrong(e,t,s=""){let n=this.rules.inline.emStrong.lDelim.exec(e);if(!n)return;if(n[3]&&s.match(/[\p{L}\p{N}]/u))return;const a=n[1]||n[2]||"";if(!a||!s||this.rules.inline.punctuation.exec(s)){const s=n[0].length-1;let a,o,r=s,l=0;const i="*"===n[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;i.lastIndex=0,t=t.slice(-1*e.length+s);while(null!=(n=i.exec(t))){if(a=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!a)continue;if(o=a.length,n[3]||n[4]){r+=o;continue}if((n[5]||n[6])&&s%3&&!((s+o)%3)){l+=o;continue}if(r-=o,r>0)continue;o=Math.min(o,o+r+l);const t=e.slice(0,s+n.index+o+1);if(Math.min(s,o)%2){const e=t.slice(1,-1);return{type:"em",raw:t,text:e,tokens:this.lexer.inlineTokens(e)}}const i=t.slice(2,-2);return{type:"strong",raw:t,text:i,tokens:this.lexer.inlineTokens(i)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," ");const s=/[^ ]/.test(e),n=/^ /.test(e)&&/ $/.test(e);return s&&n&&(e=e.substring(1,e.length-1)),e=me(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e,t){const s=this.rules.inline.autolink.exec(e);if(s){let e,n;return"@"===s[2]?(e=me(this.options.mangle?t(s[1]):s[1]),n="mailto:"+e):(e=me(s[1]),n=e),{type:"link",raw:s[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e,t){let s;if(s=this.rules.inline.url.exec(e)){let e,n;if("@"===s[2])e=me(this.options.mangle?t(s[0]):s[0]),n="mailto:"+e;else{let t;do{t=s[0],s[0]=this.rules.inline._backpedal.exec(s[0])[0]}while(t!==s[0]);e=me(s[0]),n="www."===s[1]?"http://"+s[0]:s[0]}return{type:"link",raw:s[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e,t){const s=this.rules.inline.text.exec(e);if(s){let e;return e=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(s[0]):me(s[0]):s[0]:me(this.options.smartypants?t(s[0]):s[0]),{type:"text",raw:s[0],text:e}}}}const He={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:Ae,lheading:/^((?:(?!^bull ).|\n(?!\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};He.def=Se(He.def).replace("label",He._label).replace("title",He._title).getRegex(),He.bullet=/(?:[*+-]|\d{1,9}[.)])/,He.listItemStart=Se(/^( *)(bull) */).replace("bull",He.bullet).getRegex(),He.list=Se(He.list).replace(/bull/g,He.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+He.def.source+")").getRegex(),He._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",He._comment=/|$)/,He.html=Se(He.html,"i").replace("comment",He._comment).replace("tag",He._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),He.lheading=Se(He.lheading).replace(/bull/g,He.bullet).getRegex(),He.paragraph=Se(He._paragraph).replace("hr",He.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",He._tag).getRegex(),He.blockquote=Se(He.blockquote).replace("paragraph",He.paragraph).getRegex(),He.normal={...He},He.gfm={...He.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},He.gfm.table=Se(He.gfm.table).replace("hr",He.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",He._tag).getRegex(),He.gfm.paragraph=Se(He._paragraph).replace("hr",He.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",He.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",He._tag).getRegex(),He.pedantic={...He.normal,html:Se("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",He._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ae,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Se(He.normal._paragraph).replace("hr",He.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",He.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const Me={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Ae,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,rDelimAst:/^[^_*]*?__[^_*]*?\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\*)[punct](\*+)(?=[\s]|$)|[^punct\s](\*+)(?!\*)(?=[punct\s]|$)|(?!\*)[punct\s](\*+)(?=[^punct\s])|[\s](\*+)(?!\*)(?=[punct])|(?!\*)[punct](\*+)(?!\*)(?=[punct])|[^punct\s](\*+)(?=[^punct\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\s]|$)|[^punct\s](_+)(?!_)(?=[punct\s]|$)|(?!_)[punct\s](_+)(?=[^punct\s])|[\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Ae,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(s="x"+s.toString(16)),n+="&#"+s+";";return n}Me._punctuation="\\p{P}$+<=>`^|~",Me.punctuation=Se(Me.punctuation,"u").replace(/punctuation/g,Me._punctuation).getRegex(),Me.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,Me.anyPunctuation=/\\[punct]/g,Me._escapes=/\\([punct])/g,Me._comment=Se(He._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),Me.emStrong.lDelim=Se(Me.emStrong.lDelim,"u").replace(/punct/g,Me._punctuation).getRegex(),Me.emStrong.rDelimAst=Se(Me.emStrong.rDelimAst,"gu").replace(/punct/g,Me._punctuation).getRegex(),Me.emStrong.rDelimUnd=Se(Me.emStrong.rDelimUnd,"gu").replace(/punct/g,Me._punctuation).getRegex(),Me.anyPunctuation=Se(Me.anyPunctuation,"gu").replace(/punct/g,Me._punctuation).getRegex(),Me._escapes=Se(Me._escapes,"gu").replace(/punct/g,Me._punctuation).getRegex(),Me._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Me._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,Me.autolink=Se(Me.autolink).replace("scheme",Me._scheme).replace("email",Me._email).getRegex(),Me._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Me.tag=Se(Me.tag).replace("comment",Me._comment).replace("attribute",Me._attribute).getRegex(),Me._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Me._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,Me._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Me.link=Se(Me.link).replace("label",Me._label).replace("href",Me._href).replace("title",Me._title).getRegex(),Me.reflink=Se(Me.reflink).replace("label",Me._label).replace("ref",He._label).getRegex(),Me.nolink=Se(Me.nolink).replace("ref",He._label).getRegex(),Me.reflinkSearch=Se(Me.reflinkSearch,"g").replace("reflink",Me.reflink).replace("nolink",Me.nolink).getRegex(),Me.normal={...Me},Me.pedantic={...Me.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Se(/^!?\[(label)\]\((.*?)\)/).replace("label",Me._label).getRegex(),reflink:Se(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Me._label).getRegex()},Me.gfm={...Me.normal,escape:Se(Me.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\t+" ".repeat(s.length)));while(e)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((n=>!!(s=n.call({lexer:this},e,t))&&(e=e.substring(s.raw.length),t.push(s),!0)))))if(s=this.tokenizer.space(e))e=e.substring(s.raw.length),1===s.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(s);else if(s=this.tokenizer.code(e))e=e.substring(s.raw.length),n=t[t.length-1],!n||"paragraph"!==n.type&&"text"!==n.type?t.push(s):(n.raw+="\n"+s.raw,n.text+="\n"+s.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(s=this.tokenizer.fences(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.heading(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.hr(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.blockquote(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.list(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.html(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.def(e))e=e.substring(s.raw.length),n=t[t.length-1],!n||"paragraph"!==n.type&&"text"!==n.type?this.tokens.links[s.tag]||(this.tokens.links[s.tag]={href:s.href,title:s.title}):(n.raw+="\n"+s.raw,n.text+="\n"+s.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(s=this.tokenizer.table(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.lheading(e))e=e.substring(s.raw.length),t.push(s);else{if(a=e,this.options.extensions&&this.options.extensions.startBlock){let t=1/0;const s=e.slice(1);let n;this.options.extensions.startBlock.forEach((function(e){n=e.call({lexer:this},s),"number"===typeof n&&n>=0&&(t=Math.min(t,n))})),t<1/0&&t>=0&&(a=e.substring(0,t+1))}if(this.state.top&&(s=this.tokenizer.paragraph(a)))n=t[t.length-1],o&&"paragraph"===n.type?(n.raw+="\n"+s.raw,n.text+="\n"+s.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(s),o=a.length!==e.length,e=e.substring(s.raw.length);else if(s=this.tokenizer.text(e))e=e.substring(s.raw.length),n=t[t.length-1],n&&"text"===n.type?(n.raw+="\n"+s.raw,n.text+="\n"+s.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(s);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){ce.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let s,n,a,o,r,l,i=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)while(null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(i)))e.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(i=i.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}while(null!=(o=this.tokenizer.rules.inline.blockSkip.exec(i)))i=i.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);while(null!=(o=this.tokenizer.rules.inline.anyPunctuation.exec(i)))i=i.slice(0,o.index)+"++"+i.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);while(e)if(r||(l=""),r=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((n=>!!(s=n.call({lexer:this},e,t))&&(e=e.substring(s.raw.length),t.push(s),!0)))))if(s=this.tokenizer.escape(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.tag(e))e=e.substring(s.raw.length),n=t[t.length-1],n&&"text"===s.type&&"text"===n.type?(n.raw+=s.raw,n.text+=s.text):t.push(s);else if(s=this.tokenizer.link(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(s.raw.length),n=t[t.length-1],n&&"text"===s.type&&"text"===n.type?(n.raw+=s.raw,n.text+=s.text):t.push(s);else if(s=this.tokenizer.emStrong(e,i,l))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.codespan(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.br(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.del(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.autolink(e,je))e=e.substring(s.raw.length),t.push(s);else if(this.state.inLink||!(s=this.tokenizer.url(e,je))){if(a=e,this.options.extensions&&this.options.extensions.startInline){let t=1/0;const s=e.slice(1);let n;this.options.extensions.startInline.forEach((function(e){n=e.call({lexer:this},s),"number"===typeof n&&n>=0&&(t=Math.min(t,n))})),t<1/0&&t>=0&&(a=e.substring(0,t+1))}if(s=this.tokenizer.inlineText(a,We))e=e.substring(s.raw.length),"_"!==s.raw.slice(-1)&&(l=s.raw.slice(-1)),r=!0,n=t[t.length-1],n&&"text"===n.type?(n.raw+=s.raw,n.text+=s.text):t.push(s);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){ce.error(t);break}throw new Error(t)}}else e=e.substring(s.raw.length),t.push(s);return t}}class Ye{constructor(e){this.options=e||_e}code(e,t,s){const n=(t||"").match(/\S*/)[0];if(this.options.highlight){const t=this.options.highlight(e,n);null!=t&&t!==e&&(s=!0,e=t)}return e=e.replace(/\n$/,"")+"\n",n?'
'+(s?e:me(e,!0))+"
\n":"
"+(s?e:me(e,!0))+"
\n"}blockquote(e){return`
\n${e}
\n`}html(e,t){return e}heading(e,t,s,n){if(this.options.headerIds){const a=this.options.headerPrefix+n.slug(s);return`${e}\n`}return`${e}\n`}hr(){return this.options.xhtml?"
\n":"
\n"}list(e,t,s){const n=t?"ol":"ul",a=t&&1!==s?' start="'+s+'"':"";return"<"+n+a+">\n"+e+"\n"}listitem(e){return`
  • ${e}
  • \n`}checkbox(e){return" "}paragraph(e){return`

    ${e}

    \n`}table(e,t){return t&&(t=`${t}`),"\n\n"+e+"\n"+t+"
    \n"}tablerow(e){return`\n${e}\n`}tablecell(e,t){const s=t.header?"th":"td",n=t.align?`<${s} align="${t.align}">`:`<${s}>`;return n+e+`\n`}strong(e){return`${e}`}em(e){return`${e}`}codespan(e){return`${e}`}br(){return this.options.xhtml?"
    ":"
    "}del(e){return`${e}`}link(e,t,s){if(e=Ue(this.options.sanitize,this.options.baseUrl,e),null===e)return s;let n='",n}image(e,t,s){if(e=Ue(this.options.sanitize,this.options.baseUrl,e),null===e)return s;let n=`${s}":">",n}text(e){return e}}class Fe{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,s){return""+s}image(e,t,s){return""+s}br(){return""}}class Be{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,t){let s=e,n=0;if(this.seen.hasOwnProperty(s)){n=this.seen[e];do{n++,s=e+"-"+n}while(this.seen.hasOwnProperty(s))}return t||(this.seen[e]=n,this.seen[s]=0),s}slug(e,t={}){const s=this.serialize(e);return this.getNextSafeSlug(s,t.dryrun)}}class Qe{constructor(e){this.options=e||_e,this.options.renderer=this.options.renderer||new Ye,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Fe,this.slugger=new Be}static parse(e,t){const s=new Qe(t);return s.parse(e)}static parseInline(e,t){const s=new Qe(t);return s.parseInline(e)}parse(e,t=!0){let s,n,a,o,r,l,i,p,c,u,_,d,h,g,k,w,v,f,m,b="";const x=e.length;for(s=0;s0&&"paragraph"===k.tokens[0].type?(k.tokens[0].text=f+" "+k.tokens[0].text,k.tokens[0].tokens&&k.tokens[0].tokens.length>0&&"text"===k.tokens[0].tokens[0].type&&(k.tokens[0].tokens[0].text=f+" "+k.tokens[0].tokens[0].text)):k.tokens.unshift({type:"text",text:f}):g+=f),g+=this.parse(k.tokens,h),c+=this.renderer.listitem(g,v,w);b+=this.renderer.list(c,_,d);continue;case"html":b+=this.renderer.html(u.text,u.block);continue;case"paragraph":b+=this.renderer.paragraph(this.parseInline(u.tokens));continue;case"text":c=u.tokens?this.parseInline(u.tokens):u.text;while(s+1{s=s.concat(this.walkTokens(n[e],t))})):n.tokens&&(s=s.concat(this.walkTokens(n.tokens,t)))}return s}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach((e=>{const s={...e};if(s.async=this.defaults.async||s.async||!1,e.extensions&&(e.extensions.forEach((e=>{if(!e.name)throw new Error("extension name required");if(e.renderer){const s=t.renderers[e.name];t.renderers[e.name]=s?function(...t){let n=e.renderer.apply(this,t);return!1===n&&(n=s.apply(this,t)),n}:e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");t[e.level]?t[e.level].unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}e.childTokens&&(t.childTokens[e.name]=e.childTokens)})),s.extensions=t),e.renderer){const t=this.defaults.renderer||new Ye(this.defaults);for(const s in e.renderer){const n=t[s];t[s]=(...a)=>{let o=e.renderer[s].apply(t,a);return!1===o&&(o=n.apply(t,a)),o}}s.renderer=t}if(e.tokenizer){const t=this.defaults.tokenizer||new Ve(this.defaults);for(const s in e.tokenizer){const n=t[s];t[s]=(...a)=>{let o=e.tokenizer[s].apply(t,a);return!1===o&&(o=n.apply(t,a)),o}}s.tokenizer=t}if(e.hooks){const t=this.defaults.hooks||new Ge;for(const s in e.hooks){const n=t[s];Ge.passThroughHooks.has(s)?t[s]=a=>{if(this.defaults.async)return Promise.resolve(e.hooks[s].call(t,a)).then((e=>n.call(t,e)));const o=e.hooks[s].call(t,a);return n.call(t,o)}:t[s]=(...a)=>{let o=e.hooks[s].apply(t,a);return!1===o&&(o=n.apply(t,a)),o}}s.hooks=t}if(e.walkTokens){const t=this.defaults.walkTokens;s.walkTokens=function(s){let n=[];return n.push(e.walkTokens.call(this,s)),t&&(n=n.concat(t.call(this,s))),n}}this.defaults={...this.defaults,...s}})),this}setOptions(e){return this.defaults={...this.defaults,...e},this}}function et(e,t){return(s,n,a)=>{"function"===typeof n&&(a=n,n=null);const o={...n};n={...this.defaults,...o};const r=ie(this,Xe,tt).call(this,n.silent,n.async,a);if("undefined"===typeof s||null===s)return r(new Error("marked(): input parameter is undefined or null"));if("string"!==typeof s)return r(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(s)+", string expected"));if(qe(n,a),n.hooks&&(n.hooks.options=n),a){const o=n.highlight;let i;try{n.hooks&&(s=n.hooks.preprocess(s)),i=e(s,n)}catch(l){return r(l)}const p=e=>{let s;if(!e)try{n.walkTokens&&this.walkTokens(i,n.walkTokens),s=t(i,n),n.hooks&&(s=n.hooks.postprocess(s))}catch(l){e=l}return n.highlight=o,e?r(e):a(null,s)};if(!o||o.length<3)return p();if(delete n.highlight,!i.length)return p();let c=0;return this.walkTokens(i,(e=>{"code"===e.type&&(c++,setTimeout((()=>{o(e.text,e.lang,((t,s)=>{if(t)return p(t);null!=s&&s!==e.text&&(e.text=s,e.escaped=!0),c--,0===c&&p()}))}),0))})),void(0===c&&p())}if(n.async)return Promise.resolve(n.hooks?n.hooks.preprocess(s):s).then((t=>e(t,n))).then((e=>n.walkTokens?Promise.all(this.walkTokens(e,n.walkTokens)).then((()=>e)):e)).then((e=>t(e,n))).then((e=>n.hooks?n.hooks.postprocess(e):e)).catch(r);try{n.hooks&&(s=n.hooks.preprocess(s));const a=e(s,n);n.walkTokens&&this.walkTokens(a,n.walkTokens);let o=t(a,n);return n.hooks&&(o=n.hooks.postprocess(o)),o}catch(l){return r(l)}}}function tt(e,t,s){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/this.",e){const e="

    An error occurred:

    "+me(n.message+"",!0)+"
    ";return t?Promise.resolve(e):s?void s(null,e):e}if(t)return Promise.reject(n);if(!s)throw n;s(n)}}const st=new Je(_e);function nt(e,t,s){return st.parse(e,t,s)}nt.options=nt.setOptions=function(e){return st.setOptions(e),nt.defaults=st.defaults,de(nt.defaults),nt},nt.getDefaults=ue,nt.defaults=_e,nt.use=function(...e){return st.use(...e),nt.defaults=st.defaults,de(nt.defaults),nt},nt.walkTokens=function(e,t){return st.walkTokens(e,t)},nt.parseInline=st.parseInline,nt.Parser=Qe,nt.parser=Qe.parse,nt.Renderer=Ye,nt.TextRenderer=Fe,nt.Lexer=Ze,nt.lexer=Ze.lex,nt.Tokenizer=Ve,nt.Slugger=Be,nt.Hooks=Ge,nt.parse=nt;nt.options,nt.setOptions,nt.use,nt.walkTokens,nt.parseInline,Qe.parse,Ze.lex;const at=e=>((0,n.dD)("data-v-7062c208"),e=e(),(0,n.Cn)(),e),ot=r+"#ic_arr_down",rt={class:"title"},lt=at((()=>(0,n._)("div",{class:"icon"},[(0,n._)("svg",null,[(0,n._)("use",{"xlink:href":ot})])],-1))),it=["innerHTML"],pt={class:"features"},ct={key:0},ut={class:"label"},_t={class:"val"},dt={key:1},ht={class:"label"},gt={class:"val full_w"},kt={key:2},wt={class:"label"},vt={class:"val"},ft={key:3},mt={class:"label"},bt={class:"val"},xt={key:4},yt={class:"label"},St={class:"val"},zt={key:5},$t={class:"label"},Ut={class:"val"},Ot={key:6},Tt={class:"label"},Dt={class:"val"};var Pt={__name:"DescriptionInfo",props:["proposal"],setup(e){const t=e,s=(0,a.iH)(!0);function r(e){return nt.parse(e)}return(e,a)=>((0,n.wg)(),(0,n.iD)("section",{class:(0,o.C_)(["description",{active:s.value}]),onClick:a[0]||(a[0]=(0,oe.iM)((e=>s.value=!s.value),["self"]))},[(0,n._)("div",rt,(0,o.zw)(e.$t("message.proposal_desc_title")),1),lt,(0,n._)("div",{class:"text_block",innerHTML:r(t.proposal.description)},null,8,it),(0,n._)("div",pt,[t.proposal.content.plan&&t.proposal.content.plan.height.length?((0,n.wg)(),(0,n.iD)("div",ct,[(0,n._)("div",ut,(0,o.zw)(e.$t("message.proposal_feature_height_label")),1),(0,n._)("div",_t,(0,o.zw)(t.proposal.content.plan.height),1)])):(0,n.kq)("",!0),t.proposal.content.plan&&t.proposal.content.plan.info.length?((0,n.wg)(),(0,n.iD)("div",dt,[(0,n._)("div",ht,(0,o.zw)(e.$t("message.proposal_feature_info_label")),1),(0,n._)("div",gt,[(0,n._)("pre",null,(0,o.zw)(JSON.parse(t.proposal.content.plan.info)),1)])])):(0,n.kq)("",!0),t.proposal.content.plan&&t.proposal.content.plan.name.length?((0,n.wg)(),(0,n.iD)("div",kt,[(0,n._)("div",wt,(0,o.zw)(e.$t("message.proposal_feature_name_label")),1),(0,n._)("div",vt,(0,o.zw)(t.proposal.content.plan.name),1)])):(0,n.kq)("",!0),t.proposal.content.plan&&t.proposal.content.plan.time.length?((0,n.wg)(),(0,n.iD)("div",ft,[(0,n._)("div",mt,(0,o.zw)(e.$t("message.proposal_feature_time_label")),1),(0,n._)("div",bt,(0,o.zw)(t.proposal.content.plan.time),1)])):(0,n.kq)("",!0),t.proposal.content.changes&&t.proposal.content.changes.length&&t.proposal.content.changes[0].key?((0,n.wg)(),(0,n.iD)("div",xt,[(0,n._)("div",yt,(0,o.zw)(e.$t("message.proposal_feature_changes_key_label")),1),(0,n._)("div",St,(0,o.zw)(t.proposal.content.changes[0].key),1)])):(0,n.kq)("",!0),t.proposal.content.changes&&t.proposal.content.changes.length&&t.proposal.content.changes[0].subspace?((0,n.wg)(),(0,n.iD)("div",zt,[(0,n._)("div",$t,(0,o.zw)(e.$t("message.proposal_feature_changes_subspace_label")),1),(0,n._)("div",Ut,(0,o.zw)(t.proposal.content.changes[0].subspace),1)])):(0,n.kq)("",!0),t.proposal.content.changes&&t.proposal.content.changes.length&&t.proposal.content.changes[0].value?((0,n.wg)(),(0,n.iD)("div",Ot,[(0,n._)("div",Tt,(0,o.zw)(e.$t("message.proposal_feature_changes_value_label")),1),(0,n._)("div",Dt,(0,o.zw)(t.proposal.content.changes[0].value),1)])):(0,n.kq)("",!0)])],2))}};const It=(0,se.Z)(Pt,[["__scopeId","data-v-7062c208"]]);var At=It;const Et={class:"depositors"},Nt={class:"title"},Rt={class:"table_wrap"},qt={class:"depositor"},Ct={class:"tx_hash"},Lt=["href"],Vt={class:"amount"},Ht={class:"date"},Mt={class:"ago"};var Wt={__name:"Depositors",props:["depositors","proposal"],setup(e){const t=e,s=(0,l.s)(),r=(new Date).getTimezoneOffset()/60*-1;function i(e){let t=new Date(e);return new Date(t.setHours(t.getHours()+r))}return(e,r)=>{const l=(0,n.up)("timeago");return(0,n.wg)(),(0,n.iD)("div",Et,[(0,n._)("div",Nt,(0,o.zw)(e.$t("message.proposal_depositors_title")),1),(0,n._)("div",Rt,[(0,n._)("table",null,[(0,n._)("thead",null,[(0,n._)("tr",null,[(0,n._)("th",null,(0,o.zw)(e.$t("message.proposal_depositors_th_depositor")),1),(0,n._)("th",null,(0,o.zw)(e.$t("message.proposal_depositors_th_tx_hash")),1),(0,n._)("th",null,(0,o.zw)(e.$t("message.proposal_depositors_th_amount")),1),(0,n._)("th",null,(0,o.zw)(e.$t("message.proposal_depositors_th_time")),1)])]),(0,n._)("tbody",null,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(t.depositors,((r,c)=>((0,n.wg)(),(0,n.iD)("tr",{key:c},[(0,n._)("td",qt,(0,o.zw)(r.depositor_address.slice(0,8)+"..."+r.depositor_address.slice(-8)),1),(0,n._)("td",Ct,[(0,n._)("a",{href:`https://www.mintscan.io/${(0,a.SU)(s).networks[t.proposal.network].mintscanAlias}/txs/${r.tx_hash}`,target:"_blank",rel:"noopener nofollow"},[(0,n._)("span",null,(0,o.zw)(r.tx_hash),1)],8,Lt)]),(0,n._)("td",Vt,[(0,n.Uk)((0,o.zw)(parseInt(e.$filters.toFixed((0,a.SU)(p.LH)(r.coins[0].amount,(0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name),6)))+".",1),(0,n._)("small",null,(0,o.zw)(e.$filters.toFixed((0,a.SU)(p.LH)(r.coins[0].amount,(0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name),6).split(".")[1]),1),(0,n.Uk)(" "+(0,o.zw)((0,a.SU)(p.uR)((0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name)),1)]),(0,n._)("td",Ht,[(0,n._)("div",Mt,[(0,n.Wm)(l,{datetime:i(r.timestamp),autoUpdate:""},null,8,["datetime"])]),(0,n._)("div",null,"("+(0,o.zw)(r.timestamp)+")",1)])])))),128))])])])])}}};const jt=(0,se.Z)(Wt,[["__scopeId","data-v-6aad82fa"]]);var Zt=jt,Yt=s(15941);const Ft=e=>((0,n.dD)("data-v-5bd14508"),e=e(),(0,n.Cn)(),e),Bt=r+"#ic_notice",Qt=r+"#ic_user",Gt={key:0,class:"loader_wrap"},Kt=Ft((()=>(0,n._)("div",{class:"loader"},[(0,n._)("span")],-1))),Xt=[Kt],Jt={key:1,class:"votes_info"},es={class:"votes"},ts={class:"filter"},ss={class:"table_wrap"},ns={class:"titles"},as={class:"validator"},os={class:"validator_vote"},rs={class:"most_voted"},ls={class:"community_votes"},is={class:"tooltip"},ps=Ft((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":Bt})],-1))),cs={class:"text"},us={class:"percents"},_s=["innerHTML"],ds={class:"tooltip"},hs=Ft((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":Bt})],-1))),gs={class:"text"},ks={class:"validator"},ws={class:"logo"},vs=["src","alt"],fs=Ft((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":Qt})],-1))),ms={class:"rank"},bs={key:0},xs={key:1},ys={class:"moniker"},Ss={class:"tooltip"},zs={key:0,class:"sticker"},$s={class:"validator_vote"},Us=["href"],Os={key:0},Ts={key:1},Ds={key:2},Ps={key:3},Is={key:1},As={class:"most_voted"},Es={key:0},Ns={key:1},Rs={key:2},qs={key:3},Cs={key:4},Ls={class:"community_votes"},Vs={key:0,class:"empty"},Hs={key:1,class:"bar"},Ms={class:"tooltip"},Ws={class:"yes"},js={class:"no"},Zs={class:"nwv"},Ys={class:"percents"},Fs={key:0},Bs={key:1};var Qs={__name:"VotesInfo",props:["depositors","proposal"],setup(e){const t=e,s=(0,l.s)(),r=(0,a.iH)(!0),i=(0,a.iH)([]),c=(0,a.iH)([]),u=(0,a.iH)("All");function _(e){e.target.classList.add("hide")}async function d(){try{await fetch(`https://rpc.bronbro.io/gov/votes/${s.currentProposalId}/validators-info`).then((e=>e.json())).then((async e=>{for(let t=e.delegators.length-1;t>=0;t--)e.delegators[t].voting_power_rank>180&&e.delegators.splice(t,1);i.value=e,r.value=!1}))}catch(e){Yt.error(e)}}async function h(){try{let e=(0,p.E$)(s.networks[s.currentNetwork].address_prefix,s.account.currentWallet);await fetch(`https://rpc.bronbro.io/account/validators/${e}`).then((e=>e.json())).then((e=>{e.validators.length&&(c.value=e.validators)}))}catch(e){Yt.error(e)}}function g(e){let t=c.value.find((t=>t.operator_address==e));return t}function k(e){let t=[];return"Yes"==e&&(t=i.value.delegators.filter((e=>e.validator_option.VOTE_OPTION_YES))),"No"==e&&(t=i.value.delegators.filter((e=>e.validator_option.VOTE_OPTION_NO))),"NWV"==e&&(t=i.value.delegators.filter((e=>e.validator_option.VOTE_OPTION_NO_WITH_VETO))),"Abstain"==e&&(t=i.value.delegators.filter((e=>e.validator_option.VOTE_OPTION_ABSTAIN))),"Weighted"==e&&(t=i.value.delegators.filter((e=>e.validator_option.VOTE_OPTION_WEIGHTED))),null==e&&(t=i.value.delegators.filter((e=>0===Object.keys(e.validator_option).length))),t.length}function w(e){let t=i.value.delegators;return u.value=e,"Yes"==e&&(t=i.value.delegators.filter((e=>e.validator_option.VOTE_OPTION_YES))),"No"==e&&(t=i.value.delegators.filter((e=>e.validator_option.VOTE_OPTION_NO))),"NWV"==e&&(t=i.value.delegators.filter((e=>e.validator_option.VOTE_OPTION_NO_WITH_VETO))),"Abstain"==e&&(t=i.value.delegators.filter((e=>e.validator_option.VOTE_OPTION_ABSTAIN))),"Weighted"==e&&(t=i.value.delegators.filter((e=>e.validator_option.VOTE_OPTION_WEIGHTED))),null==e&&(t=i.value.delegators.filter((e=>0===Object.keys(e.validator_option).length))),t.sort(((e,t)=>e.voting_power_rank>t.voting_power_rank?1:e.voting_power_rankt.operator_address==e)),a=n.delegators_shares_option_yes+n.delegators_shares_option_nwv+n.delegators_shares_option_no;return a&&("Yes"==t&&(s=n.delegators_shares_option_yes/a*100),"NWM"==t&&(s=n.delegators_shares_option_nwv/a*100),"No"==t&&(s=n.delegators_shares_option_no/a*100)),s}function f(e){return(e.delegators_shares_option_abstain+e.delegators_shares_option_no+e.delegators_shares_option_nwv+e.delegators_shares_option_yes)/Math.pow(10,s.networks[s.currentNetwork].exponent)/e.voting_power*100}return(0,n.wF)((async()=>{await d(),await h()})),(e,l)=>r.value?((0,n.wg)(),(0,n.iD)("div",Gt,Xt)):((0,n.wg)(),(0,n.iD)("section",Jt,[(0,n._)("div",es,[(0,n._)("div",ts,[(0,n._)("button",{class:(0,o.C_)(["btn",{active:"All"==u.value}]),onClick:l[0]||(l[0]=(0,oe.iM)((e=>u.value="All"),["prevent"]))},(0,o.zw)(e.$t("message.proposal_votes_filter_all"))+" "+(0,o.zw)(i.value.delegators.length),3),(0,n._)("button",{class:(0,o.C_)(["btn",{active:"Yes"==u.value,disabled:!k("Yes")}]),onClick:l[1]||(l[1]=(0,oe.iM)((e=>u.value="Yes"),["prevent"]))},(0,o.zw)(e.$t("message.proposal_votes_filter_yes"))+" "+(0,o.zw)(k("Yes")),3),(0,n._)("button",{class:(0,o.C_)(["btn",{active:"No"==u.value,disabled:!k("No")}]),onClick:l[2]||(l[2]=(0,oe.iM)((e=>u.value="No"),["prevent"]))},(0,o.zw)(e.$t("message.proposal_votes_filter_no"))+" "+(0,o.zw)(k("No")),3),(0,n._)("button",{class:(0,o.C_)(["btn",{active:"NWV"==u.value,disabled:!k("NWV")}]),onClick:l[3]||(l[3]=(0,oe.iM)((e=>u.value="NWV"),["prevent"]))},(0,o.zw)(e.$t("message.proposal_votes_filter_nwv"))+" "+(0,o.zw)(k("NWV")),3),(0,n._)("button",{class:(0,o.C_)(["btn",{active:"Abstain"==u.value,disabled:!k("Abstain")}]),onClick:l[4]||(l[4]=(0,oe.iM)((e=>u.value="Abstain"),["prevent"]))},(0,o.zw)(e.$t("message.proposal_votes_filter_abstain"))+" "+(0,o.zw)(k("Abstain")),3),(0,n._)("button",{class:(0,o.C_)(["btn",{active:"weighted"==u.value,disabled:!k("Weighted")}]),onClick:l[5]||(l[5]=(0,oe.iM)((e=>u.value="weighted"),["prevent"]))},(0,o.zw)(e.$t("message.proposal_votes_filter_weighted"))+" "+(0,o.zw)(k("Weighted")),3),(0,n._)("button",{class:(0,o.C_)(["btn",{active:"note_vote"==u.value,disabled:!k(null)}]),onClick:l[6]||(l[6]=(0,oe.iM)((e=>u.value=null),["prevent"]))},(0,o.zw)(e.$t("message.proposal_votes_filter_null"))+" "+(0,o.zw)(k(null)),3)]),(0,n._)("div",ss,[(0,n._)("div",ns,[(0,n._)("div",as,(0,o.zw)(e.$t("message.proposal_votes_th_validator")),1),(0,n._)("div",os,(0,o.zw)(e.$t("message.proposal_votes_th_validator_vote")),1),(0,n._)("div",rs,(0,o.zw)(e.$t("message.proposal_votes_th_most_voted")),1),(0,n._)("div",ls,[(0,n.Uk)((0,o.zw)(e.$t("message.proposal_votes_th_community_votes"))+" ",1),(0,n._)("div",is,[ps,(0,n._)("div",cs,(0,o.zw)(e.$t("message.proposal_votes_community_votes_tooltip")),1)])]),(0,n._)("div",us,[(0,n._)("span",{innerHTML:e.$t("message.proposal_votes_th_percents")},null,8,_s),(0,n._)("div",ds,[hs,(0,n._)("div",gs,(0,o.zw)(e.$t("message.proposal_votes_percents_tooltip")),1)])])]),(0,n._)("div",{class:(0,o.C_)(["scroll",{with_your_validator:c.value.length}])},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(w(u.value),((r,l)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,o.C_)(["item",{first:g(r.operator_address),last:!r.voting_power_rank}]),key:l},[(0,n._)("div",ks,[(0,n._)("div",ws,[(0,n._)("img",{src:`${r.mintscan_avatar_url}`,alt:r.moniker,onError:_},null,40,vs),fs,(0,n._)("div",ms,[r.voting_power_rank?((0,n.wg)(),(0,n.iD)("span",xs,(0,o.zw)(r.voting_power_rank),1)):((0,n.wg)(),(0,n.iD)("span",bs,(0,o.zw)(e.$t("message.proposal_votes_validator_no_active")),1))])]),(0,n._)("div",null,[(0,n._)("div",null,[(0,n._)("div",ys,[(0,n._)("span",null,(0,o.zw)(r.moniker),1),(0,n._)("div",Ss,(0,o.zw)(r.moniker),1)])]),g(r.operator_address)?((0,n.wg)(),(0,n.iD)("div",zs,(0,o.zw)(e.$t("message.proposal_votes_validator_sticker")),1)):(0,n.kq)("",!0)])]),(0,n._)("div",$s,[Object.keys(r.validator_option).length?((0,n.wg)(),(0,n.iD)("a",{key:0,href:`https://www.mintscan.io/${(0,a.SU)(s).networks[t.proposal.network].mintscanAlias}/txs/${r.vote_tx_hash}`,target:"_blank",rel:"noopener nofollow"},[r.validator_option.VOTE_OPTION_YES?((0,n.wg)(),(0,n.iD)("span",Os,(0,o.zw)(e.$t("message.proposal_vote_yes")),1)):(0,n.kq)("",!0),r.validator_option.VOTE_OPTION_NO?((0,n.wg)(),(0,n.iD)("span",Ts,(0,o.zw)(e.$t("message.proposal_vote_no")),1)):(0,n.kq)("",!0),r.validator_option.VOTE_OPTION_ABSTAIN?((0,n.wg)(),(0,n.iD)("span",Ds,(0,o.zw)(e.$t("message.proposal_vote_abstain")),1)):(0,n.kq)("",!0),r.validator_option.VOTE_OPTION_NO_WITH_VETO?((0,n.wg)(),(0,n.iD)("span",Ps,(0,o.zw)(e.$t("message.proposal_vote_nwv")),1)):(0,n.kq)("",!0)],8,Us)):((0,n.wg)(),(0,n.iD)("span",Is,"—"))]),(0,n._)("div",As,["VOTE_OPTION_YES"==r.most_voted?((0,n.wg)(),(0,n.iD)("span",Es,(0,o.zw)(e.$t("message.proposal_vote_yes")),1)):(0,n.kq)("",!0),"VOTE_OPTION_NO"==r.most_voted?((0,n.wg)(),(0,n.iD)("span",Ns,(0,o.zw)(e.$t("message.proposal_vote_no")),1)):(0,n.kq)("",!0),"VOTE_OPTION_ABSTAIN"==r.most_voted?((0,n.wg)(),(0,n.iD)("span",Rs,(0,o.zw)(e.$t("message.proposal_vote_abstain")),1)):(0,n.kq)("",!0),"VOTE_OPTION_NO_WITH_VETO"==r.most_voted?((0,n.wg)(),(0,n.iD)("span",qs,(0,o.zw)(e.$t("message.proposal_vote_nwv")),1)):(0,n.kq)("",!0),"DID_NOT_VOTE"==r.most_voted?((0,n.wg)(),(0,n.iD)("span",Cs,"—")):(0,n.kq)("",!0)]),(0,n._)("div",Ls,["DID_NOT_VOTE"==r.most_voted?((0,n.wg)(),(0,n.iD)("div",Vs,(0,o.zw)(e.$t("message.proposal_vote_did_not_vote")),1)):((0,n.wg)(),(0,n.iD)("div",Hs,[v(r.operator_address,"NWM")?((0,n.wg)(),(0,n.iD)("div",{key:0,class:"nwv",style:(0,o.j5)(`width: ${v(r.operator_address,"NWM")}%;`)},null,4)):(0,n.kq)("",!0),v(r.operator_address,"Yes")?((0,n.wg)(),(0,n.iD)("div",{key:1,class:"yes",style:(0,o.j5)(`width: ${v(r.operator_address,"Yes")}%;`)},null,4)):(0,n.kq)("",!0),v(r.operator_address,"No")?((0,n.wg)(),(0,n.iD)("div",{key:2,class:"no",style:(0,o.j5)(`width: ${v(r.operator_address,"No")}%;`)},null,4)):(0,n.kq)("",!0),(0,n._)("div",Ms,[(0,n._)("div",Ws,[v(r.operator_address,"Yes")<1&&v(r.operator_address,"Yes")>0?((0,n.wg)(),(0,n.iD)(n.HY,{key:0},[(0,n.Uk)(" <1% — "+(0,o.zw)(e.$t("message.proposal_vote_yes"))+"; ",1)],64)):((0,n.wg)(),(0,n.iD)(n.HY,{key:1},[(0,n.Uk)((0,o.zw)(e.$filters.toFixed(v(r.operator_address,"Yes"),2))+"% — "+(0,o.zw)(e.$t("message.proposal_vote_yes"))+"; ",1)],64))]),(0,n._)("div",js,[v(r.operator_address,"No")<1&&v(r.operator_address,"No")>0?((0,n.wg)(),(0,n.iD)(n.HY,{key:0},[(0,n.Uk)(" <1% — "+(0,o.zw)(e.$t("message.proposal_vote_no"))+"; ",1)],64)):((0,n.wg)(),(0,n.iD)(n.HY,{key:1},[(0,n.Uk)((0,o.zw)(e.$filters.toFixed(v(r.operator_address,"No"),2))+"% — "+(0,o.zw)(e.$t("message.proposal_vote_no"))+"; ",1)],64))]),(0,n._)("div",Zs,[v(r.operator_address,"NWM")<1&&v(r.operator_address,"NWM")>0?((0,n.wg)(),(0,n.iD)(n.HY,{key:0},[(0,n.Uk)(" <1% — "+(0,o.zw)(e.$t("message.proposal_vote_nwv"))+"; ",1)],64)):((0,n.wg)(),(0,n.iD)(n.HY,{key:1},[(0,n.Uk)((0,o.zw)(e.$filters.toFixed(v(r.operator_address,"NWM"),2))+"% — "+(0,o.zw)(e.$t("message.proposal_vote_nwv"))+"; ",1)],64))])])]))]),(0,n._)("div",Ys,[r.voting_power>0?((0,n.wg)(),(0,n.iD)("span",Fs,[f(r)<.01?((0,n.wg)(),(0,n.iD)(n.HY,{key:0},[(0,n.Uk)("<0.01%")],64)):((0,n.wg)(),(0,n.iD)(n.HY,{key:1},[(0,n.Uk)((0,o.zw)(e.$filters.toFixed(f(r),2))+"%",1)],64))])):((0,n.wg)(),(0,n.iD)("span",Bs,"0%"))])],2)))),128))],2)])]),(0,n.Wm)(Zt,{depositors:t.depositors,proposal:t.proposal},null,8,["depositors","proposal"])]))}};const Gs=(0,se.Z)(Qs,[["__scopeId","data-v-5bd14508"]]);var Ks=Gs,Xs=s(21037),Js=s(4618),en=s(15866);const tn={class:"default_loader_wrap"},sn=(0,n.uE)('
    ',1),nn=[sn];function an(e,t){return(0,n.wg)(),(0,n.iD)("div",tn,nn)}const on={},rn=(0,se.Z)(on,[["render",an],["__scopeId","data-v-98cd1d18"]]);var ln=rn,pn=s(15941);const cn=e=>((0,n.dD)("data-v-024285fd"),e=e(),(0,n.Cn)(),e),un=r+"#ic_close",_n={class:"modal",id:"deposit_modal"},dn={class:"data"},hn=cn((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":un})],-1))),gn=[hn],kn={class:"modal_title"},wn=["onSubmit"],vn={class:"line"},fn={class:"label"},mn={class:"field"},bn=["value"],xn={class:"line amount"},yn={class:"label"},Sn={class:"field"},zn={class:"balance"},$n={class:"submit"},Un={type:"submit",class:"submit_btn"},On=cn((()=>(0,n._)("div",{class:"overlay"},null,-1)));var Tn={__name:"DepositModal",props:["proposal"],setup(e){const t=e,s=(0,n.f3)("i18n"),r=(0,n.f3)("emitter"),i=(0,l.s)(),c=(0,Xs.lm)(),u=(0,a.iH)(!0),_=(0,a.iH)(""),d=(0,a.iH)(0);async function h(){let e=i.account.wallets.find((e=>e.address==i.account.currentWallet)),t=e.networks.find((e=>e.name==i.currentNetwork));if(t.balance>0)d.value=t.balance.liquid.native[0].amount/Math.pow(10,t.balance.liquid.native[0].exponent);else try{await fetch(`${i.networks[i.currentNetwork].index_api}/account/account_balance/${(0,p.E$)(i.networks.cosmoshub.address_prefix,e.address)}`).then((e=>e.json())).then((e=>{d.value=e.liquid.native[0].amount/Math.pow(10,e.liquid.native[0].exponent)}))}catch(s){pn.error(s)}u.value=!1}function g(e){parseFloat(e.target.value.replace(",","."))>d.value&&(_.value=d.value)}async function k(){c.notify({group:"default",duration:-100,title:s.global.t("message.notification_proposal_deposit_process")});try{let e=[{typeUrl:"/cosmos.gov.v1beta1.MsgDeposit",value:{proposalId:t.proposal.id,depositor:i.Keplr.account.address,amount:{denom:i.networks[i.currentNetwork].denom,amount:""+parseFloat(_.value.replace(",",".")).toFixed(i.networks[i.currentNetwork].exponent.toString().length-1)*Math.pow(10,i.networks[i.currentNetwork].exponent)}}}],n=await(0,p.V4)([e],!1,t.proposal.network),a=await(0,p.pi)(n);0===a.code&&(i.lastTXS=a.transactionHash,c.notify({group:"default",clean:!0}),c.notify({group:"default",title:s.global.t("message.notification_success_proposal_deposit_title"),type:"success",data:{chain:i.networks[i.currentNetwork].name,tx_type:s.global.t("message.notification_action_proposal_deposit")}}),w()),a.code&&(c.notify({group:"default",clean:!0}),c.notify({group:"default",title:s.global.t("message.notification_failed_title"),text:s.global.t("message.notification_tx_error_rejected"),type:"error",data:{chain:i.networks[i.currentNetwork].name,tx_type:s.global.t("message.notification_action_address_add")}}),loading.value=!1)}catch(e){pn.error(e),c.notify({group:"default",clean:!0}),c.notify({group:"default",title:s.global.t("message.notification_failed_title"),text:s.global.t("message.notification_tx_error_rejected"),type:"error",data:{chain:i.networks[i.currentNetwork].name,tx_type:s.global.t("message.manage_modal_action_deposit")}})}}async function w(){loading.value=!0,r.emit("refreshProposalData")}return(0,n.wF)((async()=>{await h()})),(e,s)=>((0,n.wg)(),(0,n.iD)("section",_n,[(0,n._)("div",{class:"modal_content",onClick:s[2]||(s[2]=(0,oe.iM)((e=>(0,a.SU)(r).emit("closeDepositModal")),["self"]))},[(0,n._)("div",dn,[(0,n._)("button",{class:"close_btn",onClick:s[0]||(s[0]=(0,oe.iM)((e=>(0,a.SU)(r).emit("closeDepositModal")),["prevent"]))},gn),(0,n._)("div",kn,(0,o.zw)(e.$t("message.deposit_modal_title")),1),(0,n._)("form",{class:"form",onSubmit:(0,oe.iM)(k,["prevent"])},[(0,n._)("div",vn,[(0,n._)("div",fn,(0,o.zw)(e.$t("message.deposit_modal_sender_label")),1),(0,n._)("div",mn,[(0,n._)("input",{type:"text",class:"input",readonly:"",value:(0,a.SU)(i).Keplr.account.address},null,8,bn)])]),(0,n._)("div",xn,[(0,n._)("div",yn,(0,o.zw)(e.$t("message.deposit_modal_amount_label")),1),(0,n._)("div",Sn,[(0,n.wy)((0,n._)("input",{type:"text",class:"input","onUpdate:modelValue":s[1]||(s[1]=e=>_.value=e),placeholder:"0",onInput:g},null,544),[[oe.nr,_.value]]),(0,n._)("div",zn,[u.value?((0,n.wg)(),(0,n.j4)(ln,{key:0})):(0,n.kq)("",!0),(0,n._)("span",null,(0,o.zw)(d.value),1),(0,n.Uk)(" "+(0,o.zw)((0,a.SU)(i).networks[t.proposal.network].token_name),1)])])]),(0,n._)("div",$n,[(0,n._)("button",Un,(0,o.zw)(e.$t("message.btn_send")),1)])],40,wn)])]),On]))}};const Dn=(0,se.Z)(Tn,[["__scopeId","data-v-024285fd"]]);var Pn=Dn,In=s(15941);const An=e=>((0,n.dD)("data-v-38514a4b"),e=e(),(0,n.Cn)(),e),En=r+"#ic_arr_down",Nn=r+"#ic_refresh",Rn={class:"sticky"},qn={key:0,class:"loader_wrap"},Cn=An((()=>(0,n._)("div",{class:"loader"},[(0,n._)("span")],-1))),Ln=[Cn],Vn={key:1,class:"current_account"},Hn={class:"label"},Mn=An((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":En})],-1))),Wn={key:0,class:"dropdown"},jn={key:0},Zn=["onClick"],Yn={key:2,class:"current_vote"},Fn={class:"label"},Bn={key:0,class:"val green"},Qn={key:1,class:"val yellow"},Gn={key:2,class:"val red"},Kn={key:1,class:"val grey"},Xn={key:0,class:"loader_wrap"},Jn=An((()=>(0,n._)("div",{class:"loader"},[(0,n._)("span")],-1))),ea=[Jn],ta={key:1,class:"tooltip"},sa={key:4,class:"deposit_status"},na={class:"title"},aa=["onClick"],oa=An((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":Nn})],-1))),ra={class:"chart"},la={class:"percents"},ia={key:0,class:"tooltip"},pa={class:"details"},ca={class:"title"},ua={class:"row"},_a={key:0,class:"item"},da={class:"label"},ha={class:"val"},ga={key:1,class:"item"},ka={class:"label"},wa={class:"val"},va={class:"item"},fa={class:"label"},ma={class:"val"},ba={class:"item"},xa={class:"label"},ya={class:"val"},Sa={class:"item"},za={class:"label"},$a={class:"val"},Ua={key:5,class:"vote_info"},Oa={class:"head"},Ta={class:"title"},Da=["onClick"],Pa=An((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":Nn})],-1))),Ia={class:"chart"},Aa={class:"final_status"},Ea={key:0,class:"label"},Na={key:1,class:"label"},Ra={key:2,class:"val green"},qa={key:3,class:"val red"},Ca={key:0,class:"val green"},La={key:1,class:"val red"},Va={class:"row"},Ha={class:"total"},Ma={key:0,class:"exp"},Wa={key:6,class:"vote_result"},ja={class:"row"},Za={class:"item"},Ya={class:"val green"},Fa={class:"tokens_count"},Ba={class:"votes_count"},Qa={class:"item"},Ga={class:"val yellow"},Ka={class:"tokens_count"},Xa={class:"votes_count"},Ja={class:"item"},eo={class:"val red"},to={class:"tokens_count"},so={class:"votes_count"},no={class:"item"},ao={class:"val"},oo={class:"tokens_count"},ro={class:"votes_count"};var lo={__name:"ProposalInfo",props:["proposal","chartDatasets","currentVote","stakingPool"],setup(e){const t=e;Js.kL.register(Js.qi);var s=(0,l.s)(),r=(0,Xs.lm)(),i=(0,n.f3)("i18n"),c=(0,n.f3)("emitter"),u=(0,a.iH)(!1),_=(0,a.iH)(!1),d=(0,a.iH)(!1),h=(0,a.iH)(!1),g=(new Date).getTimezoneOffset()/60*-1,k=(0,a.qj)({responsive:!0,plugins:{legend:!1,tooltip:!1},animation:{duration:200},transitions:{active:{animation:{duration:200}}}}),w=(0,a.iH)(null),v=["#1BC562","#C5811B","#EB5757","#888888"],f=["#950FFF","#353535"],m=(0,n.Fl)((()=>({datasets:[{data:t.chartDatasets,backgroundColor:"PROPOSAL_STATUS_DEPOSIT_PERIOD"==t.proposal.status?f:v,borderColor:"transparent",borderWidth:0,hoverBackgroundColor:"PROPOSAL_STATUS_DEPOSIT_PERIOD"==t.proposal.status?f:v,hoverBorderColor:"PROPOSAL_STATUS_DEPOSIT_PERIOD"==t.proposal.status?f:v,borderAlign:"inner",cutout:"84%"}]})));function b(){let{nickname:e}=s.account.wallets.find((e=>e.address==s.account.currentWallet));return e}function x(e){_.value=!1,s.account.currentWallet=(0,p.E$)("bostrom",e),c.emit("refreshUserCurrentVote"),d.value=!1}function y(e){let t=new Date(e);return new Date(t.setHours(t.getHours()+g))}function S(e){let s=t.proposal.tally_abstain+t.proposal.tally_no+t.proposal.tally_no_with_veto+t.proposal.tally_yes;return(e/s*100).toFixed(2)}function z(){let e=t.proposal.tally_abstain+t.proposal.tally_no+t.proposal.tally_no_with_veto+t.proposal.tally_yes;return(e/t.stakingPool.amount*100).toFixed(2)}function $(){let e="";return e=z()>40&&t.proposal.tally_no_with_veto/(t.proposal.tally_no+t.proposal.tally_yes+t.proposal.tally_no_with_veto)>.334&&t.proposal.tally_yes/(t.proposal.tally_no+t.proposal.tally_yes+t.proposal.tally_no_with_veto)>.5,e}async function U(){u.value=!0,c.emit("refreshProposalData")}async function O(e){_.value=!0,r.notify({group:"default",duration:-100,title:i.global.t("message.notification_proposal_vote_process")});try{let n=[{typeUrl:"/cosmos.gov.v1beta1.MsgVote",value:{proposalId:t.proposal.id,voter:s.Keplr.account.address,option:e}}],a=await(0,p.V4)(n,!1,t.proposal.network),o=await(0,p.pi)(a);if(In.log(o),0!=o.code)return r.notify({group:"default",clean:!0}),r.notify({group:"default",title:i.global.t("message.notification_failed_title"),text:i.global.t(`message.notification_tx_error_${o.code}`),type:"error",data:{chain:t.proposal.network,tx_type:i.global.t("message.notification_action_proposal_vote")}}),!1;r.notify({group:"default",clean:!0}),r.notify({group:"default",title:i.global.t("message.notification_successful_title"),type:"success",data:{chain:t.proposal.network,tx_type:i.global.t("message.notification_action_proposal_vote")}}),c.emit("refreshUserCurrentVote"),_.value=!1}catch(n){In.error(n),r.notify({group:"default",clean:!0}),r.notify({group:s.networks[t.proposal.network].denom,title:i.global.t("message.notification_failed_title"),text:i.global.t("message.notification_tx_error_rejected"),type:"error",data:{chain:t.proposal.network,tx_type:i.global.t("message.notification_action_proposal_vote")}}),_.value=!1}}return c.on("refreshProposalDataFinished",(async()=>{u.value=!1})),c.on("closeDepositModal",(()=>{h.value=!1})),(e,r)=>{const l=(0,n.up)("vue-countdown");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n._)("div",Rn,[(0,a.SU)(u)?((0,n.wg)(),(0,n.iD)("div",qn,Ln)):(0,n.kq)("",!0),(0,a.SU)(s).account.wallets.length?((0,n.wg)(),(0,n.iD)("div",Vn,[(0,n._)("div",Hn,(0,o.zw)(e.$t("message.proposal_current_account_title")),1),(0,n._)("button",{class:(0,o.C_)(["btn current",{active:(0,a.SU)(d)}]),onClick:r[0]||(r[0]=(0,oe.iM)((e=>(0,a.dq)(d)?d.value=!(0,a.SU)(d):d=!(0,a.SU)(d)),["prevent"]))},[(0,n._)("span",null,(0,o.zw)(b()),1),Mn],2),(0,n.Wm)(oe.uT,{name:"fadeUp",mode:"out-in"},{default:(0,n.w5)((()=>[(0,a.SU)(d)?((0,n.wg)(),(0,n.iD)("div",Wn,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)((0,a.SU)(s).account.wallets,((e,t)=>((0,n.wg)(),(0,n.iD)(n.HY,{key:t},[b()!=e.nickname?((0,n.wg)(),(0,n.iD)("div",jn,[(0,n._)("button",{class:"btn",onClick:(0,oe.iM)((t=>x(e.address)),["prevent"])},(0,o.zw)(e.nickname),9,Zn)])):(0,n.kq)("",!0)],64)))),128))])):(0,n.kq)("",!0)])),_:1})])):(0,n.kq)("",!0),"PROPOSAL_STATUS_DEPOSIT_PERIOD"!=(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)("div",Yn,[(0,n._)("div",Fn,(0,o.zw)(e.$t("message.proposal_current_vote_title")),1),(0,a.SU)(t).currentVote.value&&(0,a.SU)(t).currentVote.value.votes.length?((0,n.wg)(),(0,n.iD)(n.HY,{key:0},["VOTE_OPTION_YES"==(0,a.SU)(t).currentVote.value.votes[0].option?((0,n.wg)(),(0,n.iD)("div",Bn,(0,o.zw)(e.$t("message.proposal_vote_result_yes_label")),1)):(0,n.kq)("",!0),"VOTE_OPTION_NO"==(0,a.SU)(t).currentVote.value.votes[0].option?((0,n.wg)(),(0,n.iD)("div",Qn,(0,o.zw)(e.$t("message.proposal_vote_result_no_label")),1)):(0,n.kq)("",!0),"VOTE_OPTION_NO_WITH_VETO"==(0,a.SU)(t).currentVote.value.votes[0].option?((0,n.wg)(),(0,n.iD)("div",Gn,(0,o.zw)(e.$t("message.proposal_vote_result_nwv_label")),1)):(0,n.kq)("",!0)],64)):((0,n.wg)(),(0,n.iD)("div",Kn,(0,o.zw)(e.$t("message.proposal_vote_result_no_vote_label")),1))])):(0,n.kq)("",!0),"PROPOSAL_STATUS_VOTING_PERIOD"==(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)("div",{key:3,class:(0,o.C_)(["vote",{disabled:(0,a.SU)(s).account.currentWallet!=(0,a.SU)(p.E$)("bostrom",(0,a.SU)(s).Keplr.account.address)}])},[(0,a.SU)(_)?((0,n.wg)(),(0,n.iD)("div",Xn,ea)):(0,n.kq)("",!0),(0,n._)("button",{class:"btn green",onClick:r[1]||(r[1]=(0,oe.iM)((e=>O(1)),["prevent"]))},(0,o.zw)(e.$t("message.proposal_vote_yes_btn")),1),(0,n._)("button",{class:"btn yellow",onClick:r[2]||(r[2]=(0,oe.iM)((e=>O(3)),["prevent"]))},(0,o.zw)(e.$t("message.proposal_vote_no_btn")),1),(0,n._)("button",{class:"btn red",onClick:r[3]||(r[3]=(0,oe.iM)((e=>O(4)),["prevent"]))},(0,o.zw)(e.$t("message.proposal_vote_nwv_btn")),1),(0,n._)("button",{class:"btn grey",onClick:r[4]||(r[4]=(0,oe.iM)((e=>O(2)),["prevent"]))},(0,o.zw)(e.$t("message.proposal_vote_abstain_btn")),1),(0,a.SU)(s).account.currentWallet!=(0,a.SU)(p.E$)("bostrom",(0,a.SU)(s).Keplr.account.address)?((0,n.wg)(),(0,n.iD)("div",ta,(0,o.zw)(e.$t("message.proposal_add_vote_exp")),1)):(0,n.kq)("",!0)],2)):(0,n.kq)("",!0),"PROPOSAL_STATUS_DEPOSIT_PERIOD"==(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)("div",sa,[(0,n._)("div",na,[(0,n.Uk)((0,o.zw)(e.$t("message.proposal_deposit_status_title"))+" ",1),(0,n._)("button",{class:"refresh_btn",onClick:(0,oe.iM)(U,["prevent"])},[oa,(0,n._)("span",null,(0,o.zw)(e.$t("message.btn_refresh")),1)],8,aa)]),(0,n._)("div",ra,[(0,n._)("div",la,(0,o.zw)(e.$filters.toFixed((0,a.SU)(p.LH)((0,a.SU)(t).proposal.deposit,(0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name)/(0,a.SU)(s).networks[(0,a.SU)(t).proposal.network].proposal_need*100,2))+"% ",1),(0,n.Wm)((0,a.SU)(en.$I),{ref_key:"chart",ref:w,data:(0,a.SU)(m),options:(0,a.SU)(k)},null,8,["data","options"])]),(0,n._)("button",{class:(0,o.C_)(["deposit_btn",{disabled:(0,a.SU)(s).account.currentWallet!=(0,a.SU)(p.E$)("bostrom",(0,a.SU)(s).Keplr.account.address)}]),onClick:r[5]||(r[5]=(0,oe.iM)((e=>(0,a.dq)(h)?h.value=!(0,a.SU)(h):h=!(0,a.SU)(h)),["prevent"]))},[(0,a.SU)(s).account.currentWallet!=(0,a.SU)(p.E$)("bostrom",(0,a.SU)(s).Keplr.account.address)?((0,n.wg)(),(0,n.iD)("div",ia,(0,o.zw)(e.$t("message.proposal_add_vote_exp")),1)):(0,n.kq)("",!0),(0,n.Uk)(" "+(0,o.zw)(e.$t("message.btn_deposit")),1)],2)])):(0,n.kq)("",!0),(0,n._)("div",pa,[(0,n._)("div",ca,(0,o.zw)(e.$t("message.proposal_details_title")),1),(0,n._)("div",ua,["PROPOSAL_STATUS_DEPOSIT_PERIOD"==(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)("div",_a,[(0,n._)("div",da,(0,o.zw)(e.$t("message.proposal_details_deposit_label")),1),(0,n._)("div",ha,[(0,n.Wm)(l,{time:y((0,a.SU)(t).proposal.deposit_end_time)-new Date},{default:(0,n.w5)((({days:e,hours:t,minutes:s,seconds:a})=>[(0,n.Uk)((0,o.zw)(e)+"D : "+(0,o.zw)(t)+"H : "+(0,o.zw)(s)+"M : "+(0,o.zw)(a)+"S ",1)])),_:1},8,["time"])])])):((0,n.wg)(),(0,n.iD)("div",ga,[(0,n._)("div",ka,(0,o.zw)(e.$t("message.proposal_details_voting_label")),1),(0,n._)("div",wa,(0,o.zw)((0,a.SU)(t).proposal.voting_end_time),1)])),(0,n._)("div",va,[(0,n._)("div",fa,(0,o.zw)(e.$t("message.proposal_details_submit_label")),1),(0,n._)("div",ma,(0,o.zw)((0,a.SU)(t).proposal.submit_time),1)]),(0,n._)("div",ba,[(0,n._)("div",xa,(0,o.zw)(e.$t("message.proposal_details_total_label")),1),(0,n._)("div",ya,(0,o.zw)((0,a.SU)(p.LH)((0,a.SU)(t).proposal.deposit,(0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name))+" "+(0,o.zw)((0,a.SU)(p.uR)((0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name)),1)]),(0,n._)("div",Sa,[(0,n._)("div",za,(0,o.zw)(e.$t("message.proposal_details_initial_label")),1),(0,n._)("div",$a,(0,o.zw)((0,a.SU)(p.LH)((0,a.SU)(t).proposal.init_deposit,(0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name))+" "+(0,o.zw)((0,a.SU)(p.uR)((0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name)),1)])])]),"PROPOSAL_STATUS_DEPOSIT_PERIOD"!=(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)("div",Ua,[(0,n._)("div",Oa,[(0,n._)("div",Ta,(0,o.zw)(e.$t("message.proposal_vote_details_title")),1),(0,n._)("button",{class:"refresh_btn",onClick:(0,oe.iM)(U,["prevent"])},[Pa,(0,n._)("span",null,(0,o.zw)(e.$t("message.btn_refresh")),1)],8,Da)]),(0,n._)("div",Ia,[(0,n._)("div",Aa,["PROPOSAL_STATUS_VOTING_PERIOD"==(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)("div",Ea,(0,o.zw)(e.$t("message.proposal_vote_info_current_status_label"))+": ",1)):((0,n.wg)(),(0,n.iD)("div",Na,(0,o.zw)(e.$t("message.proposal_vote_info_final_status_label"))+": ",1)),"PROPOSAL_STATUS_PASSED"==(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)("div",Ra,(0,o.zw)(e.$t("message.proposal_vote_info_status_passed")),1)):(0,n.kq)("",!0),"PROPOSAL_STATUS_REJECTED"==(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)("div",qa,(0,o.zw)(e.$t("message.proposal_vote_info_status_rejected")),1)):(0,n.kq)("",!0),"PROPOSAL_STATUS_VOTING_PERIOD"==(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)(n.HY,{key:4},[$()?((0,n.wg)(),(0,n.iD)("div",Ca,(0,o.zw)(e.$t("message.proposal_vote_info_status_passing")),1)):((0,n.wg)(),(0,n.iD)("div",La,(0,o.zw)(e.$t("message.proposal_vote_info_status_rejecting")),1))],64)):(0,n.kq)("",!0)]),(0,n.Wm)((0,a.SU)(en.$I),{data:(0,a.SU)(m),options:(0,a.SU)(k)},null,8,["data","options"])]),(0,n._)("div",Va,["PROPOSAL_STATUS_VOTING_PERIOD"==(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)("div",{key:0,class:(0,o.C_)(["turnout",{green:z()>40}])},(0,o.zw)(e.$t("message.proposal_vote_info_turnout_label"))+": "+(0,o.zw)(z())+"% ",3)):(0,n.kq)("",!0),(0,n._)("div",Ha,(0,o.zw)(e.$t("message.proposal_vote_info_total_vote_label"))+": "+(0,o.zw)(((0,a.SU)(t).proposal.VOTE_OPTION_YES+(0,a.SU)(t).proposal.VOTE_OPTION_NO+(0,a.SU)(t).proposal.VOTE_OPTION_NO_WITH_VETO+(0,a.SU)(t).proposal.VOTE_OPTION_ABSTAIN).toLocaleString("en-US")),1)]),"PROPOSAL_STATUS_VOTING_PERIOD"==(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)("div",Ma,(0,o.zw)(e.$t("message.proposal_vote_info_minimum",{amount:Number(e.$filters.toFixed(.4*(0,a.SU)(p.LH)((0,a.SU)(t).stakingPool.amount,(0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name),2)).toLocaleString("en-US"),denom:(0,a.SU)(p.uR)((0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name)})),1)):(0,n.kq)("",!0)])):(0,n.kq)("",!0),"PROPOSAL_STATUS_DEPOSIT_PERIOD"!=(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)("div",Wa,[(0,n._)("div",ja,[(0,n._)("div",Za,[(0,n._)("div",Ya,(0,o.zw)(e.$t("message.proposal_vote_result_yes_label"))+" "+(0,o.zw)(S((0,a.SU)(t).proposal.tally_yes))+"% ",1),(0,n._)("div",Fa,(0,o.zw)(Number(e.$filters.toFixed((0,a.SU)(p.LH)((0,a.SU)(t).proposal.tally_yes,(0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name),2)).toLocaleString("en-US"))+" "+(0,o.zw)((0,a.SU)(p.uR)((0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name)),1),(0,n._)("div",Ba,(0,o.zw)((0,a.SU)(t).proposal.VOTE_OPTION_YES.toLocaleString("en-US"))+" "+(0,o.zw)(e.$t("message.proposal_vote_result_votes_label")),1)]),(0,n._)("div",Qa,[(0,n._)("div",Ga,(0,o.zw)(e.$t("message.proposal_vote_result_no_label"))+" "+(0,o.zw)(S((0,a.SU)(t).proposal.tally_no))+"% ",1),(0,n._)("div",Ka,(0,o.zw)(Number(e.$filters.toFixed((0,a.SU)(p.LH)((0,a.SU)(t).proposal.tally_no,(0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name),2)).toLocaleString("en-US"))+" "+(0,o.zw)((0,a.SU)(p.uR)((0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name)),1),(0,n._)("div",Xa,(0,o.zw)((0,a.SU)(t).proposal.VOTE_OPTION_NO.toLocaleString("en-US"))+" "+(0,o.zw)(e.$t("message.proposal_vote_result_votes_label")),1)]),(0,n._)("div",Ja,[(0,n._)("div",eo,(0,o.zw)(e.$t("message.proposal_vote_result_nwv_label"))+" "+(0,o.zw)(S((0,a.SU)(t).proposal.tally_no_with_veto))+"% ",1),(0,n._)("div",to,(0,o.zw)(Number(e.$filters.toFixed((0,a.SU)(p.LH)((0,a.SU)(t).proposal.tally_no_with_veto,(0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name),2)).toLocaleString("en-US"))+" "+(0,o.zw)((0,a.SU)(p.uR)((0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name)),1),(0,n._)("div",so,(0,o.zw)((0,a.SU)(t).proposal.VOTE_OPTION_NO_WITH_VETO.toLocaleString("en-US"))+" "+(0,o.zw)(e.$t("message.proposal_vote_result_votes_label")),1)]),(0,n._)("div",no,[(0,n._)("div",ao,(0,o.zw)(e.$t("message.proposal_vote_result_abstain_label"))+" "+(0,o.zw)(S((0,a.SU)(t).proposal.tally_abstain))+"% ",1),(0,n._)("div",oo,(0,o.zw)(Number(e.$filters.toFixed((0,a.SU)(p.LH)((0,a.SU)(t).proposal.tally_abstain,(0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name),2)).toLocaleString("en-US"))+" "+(0,o.zw)((0,a.SU)(p.uR)((0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name)),1),(0,n._)("div",ro,(0,o.zw)((0,a.SU)(t).proposal.VOTE_OPTION_ABSTAIN.toLocaleString("en-US"))+" "+(0,o.zw)(e.$t("message.proposal_vote_result_votes_label")),1)])])])):(0,n.kq)("",!0)]),(0,a.SU)(h)&&(0,a.SU)(s).account.currentWallet==(0,a.SU)(p.E$)("bostrom",(0,a.SU)(s).Keplr.account.address)?((0,n.wg)(),(0,n.j4)(Pn,{key:0,proposal:(0,a.SU)(t).proposal},null,8,["proposal"])):(0,n.kq)("",!0)],64)}}};const io=(0,se.Z)(lo,[["__scopeId","data-v-38514a4b"]]);var po=io,co=s(15941);const uo=e=>((0,n.dD)("data-v-66e1e89c"),e=e(),(0,n.Cn)(),e),_o=r+"#ic_arrow_hor",ho={key:0,class:"loader_wrap"},go=uo((()=>(0,n._)("div",{class:"loader"},[(0,n._)("span")],-1))),ko=[go],wo={key:1,class:"proposal_info"},vo={class:"cont middle"},fo={class:"back_btn"},mo=uo((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":_o})],-1))),bo=uo((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":_o})],-1))),xo={class:"row"},yo={class:"data"},So={key:1,class:"tabs"},zo={class:"row"},$o={key:2},Uo={key:3},Oo={class:"info"};var To={__name:"Proposal",setup(e){var t=(0,l.s)(),s=(0,n.f3)("i18n"),r=(0,a.iH)(!0),u=(0,n.f3)("emitter"),_=(0,c.ltg)("history"),d=(0,a.iH)({}),h=(0,a.iH)(_.tab?_.tab:"tab1"),g=(0,a.qj)([]),k=(0,a.qj)({votes:[]}),w=(0,a.iH)({});async function v(){try{await fetch(`${t.networks[t.currentNetwork].index_api}/gov/proposal/${t.currentProposalId}`).then((e=>e.json())).then((async e=>{if(d.value=e,"PROPOSAL_STATUS_DEPOSIT_PERIOD"==d.value.status){let e=t.networks[d.value.network].proposal_need-d.value.deposit/Math.pow(10,t.networks[d.value.network].exponent);g.push(d.value.deposit/Math.pow(10,t.networks[d.value.network].exponent)),e>0&&g.push(e)}else g.push(d.value.tally_yes),g.push(d.value.tally_no),g.push(d.value.tally_no_with_veto),g.push(d.value.tally_abstain);if(f(),"PROPOSAL_STATUS_VOTING_PERIOD"==d.value.status)try{fetch("https://rpc.bronbro.io/distribution/staking_pool").then((e=>e.json())).then((e=>w.value=e))}catch(s){co.error(s)}if(d.value.proposer_address.length){let e=(0,i.g6)(t.networks[d.value.network].address_prefix+"valoper",(0,i.zl)(d.value.proposer_address).data);try{fetch(`https://rpc.bronbro.io/validators/${e}`).then((e=>e.json())).then((e=>d.value.moniker=e.moniker))}catch(s){co.error(s)}}r.value=!1}))}catch(e){co.error(e)}}async function f(){try{await fetch(`https://rpc.bronbro.io/account/votes/${(0,p.E$)(t.networks[d.value.network].address_prefix,t.account.currentWallet)}?proposal_id=${d.value.id}`).then((e=>e.json())).then((e=>k.value=e))}catch(e){co.error(e)}}function m(e){h.value=e,_.tab=value}return(0,n.wF)((async()=>{t.tooltip=s.global.t("message.notice_default_proposal_page"),"all"==t.account.currentWallet&&(t.account.currentWallet=t.account.moonPassportOwnerAddress),await v()})),u.on("refreshProposalData",(async()=>{g=(0,a.qj)([]),await v(),u.emit("refreshProposalDataFinished")})),u.on("refreshUserCurrentVote",(async()=>{k.value=(0,a.qj)({votes:[]}),await f()})),(e,s)=>{const l=(0,n.up)("router-link");return(0,a.SU)(r)?((0,n.wg)(),(0,n.iD)("div",ho,ko)):((0,n.wg)(),(0,n.iD)("section",wo,[(0,n._)("div",vo,[(0,n._)("div",fo,[(0,a.SU)(t).demo?((0,n.wg)(),(0,n.j4)(l,{key:0,to:`/proposals/${(0,a.SU)(t).currentNetwork}?demo=true`,class:"btn"},{default:(0,n.w5)((()=>[mo])),_:1},8,["to"])):((0,n.wg)(),(0,n.j4)(l,{key:1,to:`/proposals/${(0,a.SU)(t).currentNetwork}`,class:"btn"},{default:(0,n.w5)((()=>[bo])),_:1},8,["to"]))]),(0,n._)("div",xo,[(0,n._)("div",yo,[(0,n.Wm)(ae,{proposal:(0,a.SU)(d)},null,8,["proposal"]),(0,a.SU)(d).depositors.length&&"PROPOSAL_STATUS_VOTING_PERIOD"!=(0,a.SU)(d).status?((0,n.wg)(),(0,n.j4)(Zt,{key:0,depositors:(0,a.SU)(d).depositors,proposal:(0,a.SU)(d)},null,8,["depositors","proposal"])):(0,n.kq)("",!0),"PROPOSAL_STATUS_DEPOSIT_PERIOD"!=(0,a.SU)(d).status?((0,n.wg)(),(0,n.iD)("div",So,[(0,n._)("div",zo,[(0,n._)("button",{class:(0,o.C_)(["btn",{active:"tab1"==(0,a.SU)(h)}]),onClick:s[0]||(s[0]=e=>m("tab1"))},(0,o.zw)(e.$t("message.proposal_tab1")),3),"PROPOSAL_STATUS_VOTING_PERIOD"==(0,a.SU)(d).status?((0,n.wg)(),(0,n.iD)("button",{key:0,class:(0,o.C_)(["btn",{active:"tab2"==(0,a.SU)(h)}]),onClick:s[1]||(s[1]=e=>m("tab2"))},(0,o.zw)(e.$t("message.proposal_tab2")),3)):(0,n.kq)("",!0)])])):(0,n.kq)("",!0),"tab1"==(0,a.SU)(h)?((0,n.wg)(),(0,n.iD)("div",$o,[(0,n.Wm)(At,{proposal:(0,a.SU)(d)},null,8,["proposal"])])):(0,n.kq)("",!0),"tab2"==(0,a.SU)(h)?((0,n.wg)(),(0,n.iD)("div",Uo,[(0,n.Wm)(Ks,{depositors:(0,a.SU)(d).depositors,proposal:(0,a.SU)(d)},null,8,["depositors","proposal"])])):(0,n.kq)("",!0)]),(0,n._)("div",Oo,[(0,n.Wm)(po,{proposal:(0,a.SU)(d),chartDatasets:(0,a.SU)(g),currentVote:(0,a.SU)(k),stakingPool:(0,a.SU)(w)},null,8,["proposal","chartDatasets","currentVote","stakingPool"])])])])]))}}};const Do=(0,se.Z)(To,[["__scopeId","data-v-66e1e89c"]]);var Po=Do}}]); +//# sourceMappingURL=365.2aa0b550.js.map \ No newline at end of file diff --git a/js/365.2aa0b550.js.map b/js/365.2aa0b550.js.map new file mode 100644 index 0000000..1214eb1 --- /dev/null +++ b/js/365.2aa0b550.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/365.2aa0b550.js","mappings":"wsDAqEQA,GAAQC,EAAAA,EAAAA,KAIZ,SAASC,EAAgBC,GACrB,IAAIC,GAAS,EACTC,EAAiB,CAAC,UAAW,KAAgB,KAAgB,KAG7DC,EAAWH,EAAMI,cAAcC,MAAM,IAEzC,IAAK,IAAIC,KAAQH,EAETD,EA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BH,EAAUG,IAAMnO,KACpB,C,OAnGA+H,EAAAA,EAAAA,KAAcza,UAEVzB,EAAMigB,QAAUvD,EAAKwB,OAAOvS,EAAE,wCAGI,OAA/B3L,EAAMsa,QAAQC,gBACbva,EAAMsa,QAAQC,cAAgBva,EAAMsa,QAAQ+I,gCAI1CZ,GAAiB,IA6F3B7F,EAAQsF,GAAG,uBAAuBzgB,UAE9Bkf,GAAgBd,EAAAA,EAAAA,IAAS,UAGnB4C,IAGN7F,EAAQyC,KAAK,8BAA8B,IAK/CzC,EAAQsF,GAAG,0BAA0BzgB,UAEjC8gB,EAAYpO,OAAQ0L,EAAAA,EAAAA,IAAS,CAAE2C,MAAO,WAGhCK,GAAgB,I,8vDCxM9B,MAAM,IAA2B,QAAgB,GAAQ,CAAC,CAAC,YAAY,qBAEvE,S","sources":["webpack://bro_app/./src/components/proposal/HeadInfo.vue","webpack://bro_app/./src/components/proposal/HeadInfo.vue?e091","webpack://bro_app/./node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js","webpack://bro_app/./node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js","webpack://bro_app/./node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js","webpack://bro_app/./node_modules/marked/lib/marked.esm.js","webpack://bro_app/./src/components/proposal/DescriptionInfo.vue","webpack://bro_app/./src/components/proposal/DescriptionInfo.vue?9f59","webpack://bro_app/./src/components/proposal/Depositors.vue","webpack://bro_app/./src/components/proposal/Depositors.vue?3e1f","webpack://bro_app/./src/components/proposal/VotesInfo.vue","webpack://bro_app/./src/components/proposal/VotesInfo.vue?13ed","webpack://bro_app/./src/components/Loader.vue","webpack://bro_app/./src/components/Loader.vue?b8fd","webpack://bro_app/./src/components/modal/DepositModal.vue","webpack://bro_app/./src/components/modal/DepositModal.vue?c716","webpack://bro_app/./src/components/proposal/ProposalInfo.vue","webpack://bro_app/./src/components/proposal/ProposalInfo.vue?38a3","webpack://bro_app/./src/views/Proposal.vue","webpack://bro_app/./src/views/Proposal.vue?29ee"],"sourcesContent":["\n\n\n\n\n\n","import script from \"./HeadInfo.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./HeadInfo.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./HeadInfo.vue?vue&type=style&index=0&id=29ebd35a&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-29ebd35a\"]])\n\nexport default __exports__","export default function _checkPrivateRedeclaration(obj, privateCollection) {\n if (privateCollection.has(obj)) {\n throw new TypeError(\"Cannot initialize the same private elements twice on an object\");\n }\n}","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateMethodInitSpec(obj, privateSet) {\n checkPrivateRedeclaration(obj, privateSet);\n privateSet.add(obj);\n}","export default function _classPrivateMethodGet(receiver, privateSet, fn) {\n if (!privateSet.has(receiver)) {\n throw new TypeError(\"attempted to get private field on non-instance\");\n }\n return fn;\n}","/**\n * marked v5.1.0 - a markdown parser\n * Copyright (c) 2011-2023, Christopher Jeffrey. (MIT Licensed)\n * https://github.com/markedjs/marked\n */\n\n/**\n * DO NOT EDIT THIS FILE\n * The code in this file is generated from files in ./src/\n */\n\nfunction getDefaults() {\n return {\n async: false,\n baseUrl: null,\n breaks: false,\n extensions: null,\n gfm: true,\n headerIds: true,\n headerPrefix: '',\n highlight: null,\n hooks: null,\n langPrefix: 'language-',\n mangle: true,\n pedantic: false,\n renderer: null,\n sanitize: false,\n sanitizer: null,\n silent: false,\n smartypants: false,\n tokenizer: null,\n walkTokens: null,\n xhtml: false\n };\n}\n\nlet defaults = getDefaults();\n\nfunction changeDefaults(newDefaults) {\n defaults = newDefaults;\n}\n\n/**\n * Helpers\n */\nconst escapeTest = /[&<>\"']/;\nconst escapeReplace = new RegExp(escapeTest.source, 'g');\nconst escapeTestNoEncode = /[<>\"']|&(?!(#\\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\\w+);)/;\nconst escapeReplaceNoEncode = new RegExp(escapeTestNoEncode.source, 'g');\nconst escapeReplacements = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": '''\n};\nconst getEscapeReplacement = (ch) => escapeReplacements[ch];\nfunction escape(html, encode) {\n if (encode) {\n if (escapeTest.test(html)) {\n return html.replace(escapeReplace, getEscapeReplacement);\n }\n } else {\n if (escapeTestNoEncode.test(html)) {\n return html.replace(escapeReplaceNoEncode, getEscapeReplacement);\n }\n }\n\n return html;\n}\n\nconst unescapeTest = /&(#(?:\\d+)|(?:#x[0-9A-Fa-f]+)|(?:\\w+));?/ig;\n\n/**\n * @param {string} html\n */\nfunction unescape(html) {\n // explicitly match decimal, hex, and named HTML entities\n return html.replace(unescapeTest, (_, n) => {\n n = n.toLowerCase();\n if (n === 'colon') return ':';\n if (n.charAt(0) === '#') {\n return n.charAt(1) === 'x'\n ? String.fromCharCode(parseInt(n.substring(2), 16))\n : String.fromCharCode(+n.substring(1));\n }\n return '';\n });\n}\n\nconst caret = /(^|[^\\[])\\^/g;\n\n/**\n * @param {string | RegExp} regex\n * @param {string} opt\n */\nfunction edit(regex, opt) {\n regex = typeof regex === 'string' ? regex : regex.source;\n opt = opt || '';\n const obj = {\n replace: (name, val) => {\n val = val.source || val;\n val = val.replace(caret, '$1');\n regex = regex.replace(name, val);\n return obj;\n },\n getRegex: () => {\n return new RegExp(regex, opt);\n }\n };\n return obj;\n}\n\nconst nonWordAndColonTest = /[^\\w:]/g;\nconst originIndependentUrl = /^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;\n\n/**\n * @param {boolean} sanitize\n * @param {string} base\n * @param {string} href\n */\nfunction cleanUrl(sanitize, base, href) {\n if (sanitize) {\n let prot;\n try {\n prot = decodeURIComponent(unescape(href))\n .replace(nonWordAndColonTest, '')\n .toLowerCase();\n } catch (e) {\n return null;\n }\n if (prot.indexOf('javascript:') === 0 || prot.indexOf('vbscript:') === 0 || prot.indexOf('data:') === 0) {\n return null;\n }\n }\n if (base && !originIndependentUrl.test(href)) {\n href = resolveUrl(base, href);\n }\n try {\n href = encodeURI(href).replace(/%25/g, '%');\n } catch (e) {\n return null;\n }\n return href;\n}\n\nconst baseUrls = {};\nconst justDomain = /^[^:]+:\\/*[^/]*$/;\nconst protocol = /^([^:]+:)[\\s\\S]*$/;\nconst domain = /^([^:]+:\\/*[^/]*)[\\s\\S]*$/;\n\n/**\n * @param {string} base\n * @param {string} href\n */\nfunction resolveUrl(base, href) {\n if (!baseUrls[' ' + base]) {\n // we can ignore everything in base after the last slash of its path component,\n // but we might need to add _that_\n // https://tools.ietf.org/html/rfc3986#section-3\n if (justDomain.test(base)) {\n baseUrls[' ' + base] = base + '/';\n } else {\n baseUrls[' ' + base] = rtrim(base, '/', true);\n }\n }\n base = baseUrls[' ' + base];\n const relativeBase = base.indexOf(':') === -1;\n\n if (href.substring(0, 2) === '//') {\n if (relativeBase) {\n return href;\n }\n return base.replace(protocol, '$1') + href;\n } else if (href.charAt(0) === '/') {\n if (relativeBase) {\n return href;\n }\n return base.replace(domain, '$1') + href;\n } else {\n return base + href;\n }\n}\n\nconst noopTest = { exec: function noopTest() {} };\n\nfunction splitCells(tableRow, count) {\n // ensure that every cell-delimiting pipe has a space\n // before it to distinguish it from an escaped pipe\n const row = tableRow.replace(/\\|/g, (match, offset, str) => {\n let escaped = false,\n curr = offset;\n while (--curr >= 0 && str[curr] === '\\\\') escaped = !escaped;\n if (escaped) {\n // odd number of slashes means | is escaped\n // so we leave it alone\n return '|';\n } else {\n // add space before unescaped |\n return ' |';\n }\n }),\n cells = row.split(/ \\|/);\n let i = 0;\n\n // First/last cell in a row cannot be empty if it has no leading/trailing pipe\n if (!cells[0].trim()) { cells.shift(); }\n if (cells.length > 0 && !cells[cells.length - 1].trim()) { cells.pop(); }\n\n if (cells.length > count) {\n cells.splice(count);\n } else {\n while (cells.length < count) cells.push('');\n }\n\n for (; i < cells.length; i++) {\n // leading or trailing whitespace is ignored per the gfm spec\n cells[i] = cells[i].trim().replace(/\\\\\\|/g, '|');\n }\n return cells;\n}\n\n/**\n * Remove trailing 'c's. Equivalent to str.replace(/c*$/, '').\n * /c*$/ is vulnerable to REDOS.\n *\n * @param {string} str\n * @param {string} c\n * @param {boolean} invert Remove suffix of non-c chars instead. Default falsey.\n */\nfunction rtrim(str, c, invert) {\n const l = str.length;\n if (l === 0) {\n return '';\n }\n\n // Length of suffix matching the invert condition.\n let suffLen = 0;\n\n // Step left until we fail to match the invert condition.\n while (suffLen < l) {\n const currChar = str.charAt(l - suffLen - 1);\n if (currChar === c && !invert) {\n suffLen++;\n } else if (currChar !== c && invert) {\n suffLen++;\n } else {\n break;\n }\n }\n\n return str.slice(0, l - suffLen);\n}\n\nfunction findClosingBracket(str, b) {\n if (str.indexOf(b[1]) === -1) {\n return -1;\n }\n const l = str.length;\n let level = 0,\n i = 0;\n for (; i < l; i++) {\n if (str[i] === '\\\\') {\n i++;\n } else if (str[i] === b[0]) {\n level++;\n } else if (str[i] === b[1]) {\n level--;\n if (level < 0) {\n return i;\n }\n }\n }\n return -1;\n}\n\nfunction checkDeprecations(opt, callback) {\n if (!opt || opt.silent) {\n return;\n }\n\n if (callback) {\n console.warn('marked(): callback is deprecated since version 5.0.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/using_pro#async');\n }\n\n if (opt.sanitize || opt.sanitizer) {\n console.warn('marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options');\n }\n\n if (opt.highlight || opt.langPrefix !== 'language-') {\n console.warn('marked(): highlight and langPrefix parameters are deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-highlight.');\n }\n\n if (opt.mangle) {\n console.warn('marked(): mangle parameter is enabled by default, but is deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-mangle, or disable by setting `{mangle: false}`.');\n }\n\n if (opt.baseUrl) {\n console.warn('marked(): baseUrl parameter is deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-base-url.');\n }\n\n if (opt.smartypants) {\n console.warn('marked(): smartypants parameter is deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-smartypants.');\n }\n\n if (opt.xhtml) {\n console.warn('marked(): xhtml parameter is deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-xhtml.');\n }\n\n if (opt.headerIds || opt.headerPrefix) {\n console.warn('marked(): headerIds and headerPrefix parameters enabled by default, but are deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-gfm-heading-id, or disable by setting `{headerIds: false}`.');\n }\n}\n\nfunction outputLink(cap, link, raw, lexer) {\n const href = link.href;\n const title = link.title ? escape(link.title) : null;\n const text = cap[1].replace(/\\\\([\\[\\]])/g, '$1');\n\n if (cap[0].charAt(0) !== '!') {\n lexer.state.inLink = true;\n const token = {\n type: 'link',\n raw,\n href,\n title,\n text,\n tokens: lexer.inlineTokens(text)\n };\n lexer.state.inLink = false;\n return token;\n }\n return {\n type: 'image',\n raw,\n href,\n title,\n text: escape(text)\n };\n}\n\nfunction indentCodeCompensation(raw, text) {\n const matchIndentToCode = raw.match(/^(\\s+)(?:```)/);\n\n if (matchIndentToCode === null) {\n return text;\n }\n\n const indentToCode = matchIndentToCode[1];\n\n return text\n .split('\\n')\n .map(node => {\n const matchIndentInNode = node.match(/^\\s+/);\n if (matchIndentInNode === null) {\n return node;\n }\n\n const [indentInNode] = matchIndentInNode;\n\n if (indentInNode.length >= indentToCode.length) {\n return node.slice(indentToCode.length);\n }\n\n return node;\n })\n .join('\\n');\n}\n\n/**\n * Tokenizer\n */\nclass Tokenizer {\n constructor(options) {\n this.options = options || defaults;\n }\n\n space(src) {\n const cap = this.rules.block.newline.exec(src);\n if (cap && cap[0].length > 0) {\n return {\n type: 'space',\n raw: cap[0]\n };\n }\n }\n\n code(src) {\n const cap = this.rules.block.code.exec(src);\n if (cap) {\n const text = cap[0].replace(/^ {1,4}/gm, '');\n return {\n type: 'code',\n raw: cap[0],\n codeBlockStyle: 'indented',\n text: !this.options.pedantic\n ? rtrim(text, '\\n')\n : text\n };\n }\n }\n\n fences(src) {\n const cap = this.rules.block.fences.exec(src);\n if (cap) {\n const raw = cap[0];\n const text = indentCodeCompensation(raw, cap[3] || '');\n\n return {\n type: 'code',\n raw,\n lang: cap[2] ? cap[2].trim().replace(this.rules.inline._escapes, '$1') : cap[2],\n text\n };\n }\n }\n\n heading(src) {\n const cap = this.rules.block.heading.exec(src);\n if (cap) {\n let text = cap[2].trim();\n\n // remove trailing #s\n if (/#$/.test(text)) {\n const trimmed = rtrim(text, '#');\n if (this.options.pedantic) {\n text = trimmed.trim();\n } else if (!trimmed || / $/.test(trimmed)) {\n // CommonMark requires space before trailing #s\n text = trimmed.trim();\n }\n }\n\n return {\n type: 'heading',\n raw: cap[0],\n depth: cap[1].length,\n text,\n tokens: this.lexer.inline(text)\n };\n }\n }\n\n hr(src) {\n const cap = this.rules.block.hr.exec(src);\n if (cap) {\n return {\n type: 'hr',\n raw: cap[0]\n };\n }\n }\n\n blockquote(src) {\n const cap = this.rules.block.blockquote.exec(src);\n if (cap) {\n const text = cap[0].replace(/^ *>[ \\t]?/gm, '');\n const top = this.lexer.state.top;\n this.lexer.state.top = true;\n const tokens = this.lexer.blockTokens(text);\n this.lexer.state.top = top;\n return {\n type: 'blockquote',\n raw: cap[0],\n tokens,\n text\n };\n }\n }\n\n list(src) {\n let cap = this.rules.block.list.exec(src);\n if (cap) {\n let raw, istask, ischecked, indent, i, blankLine, endsWithBlankLine,\n line, nextLine, rawLine, itemContents, endEarly;\n\n let bull = cap[1].trim();\n const isordered = bull.length > 1;\n\n const list = {\n type: 'list',\n raw: '',\n ordered: isordered,\n start: isordered ? +bull.slice(0, -1) : '',\n loose: false,\n items: []\n };\n\n bull = isordered ? `\\\\d{1,9}\\\\${bull.slice(-1)}` : `\\\\${bull}`;\n\n if (this.options.pedantic) {\n bull = isordered ? bull : '[*+-]';\n }\n\n // Get next list item\n const itemRegex = new RegExp(`^( {0,3}${bull})((?:[\\t ][^\\\\n]*)?(?:\\\\n|$))`);\n\n // Check if current bullet point can start a new List Item\n while (src) {\n endEarly = false;\n if (!(cap = itemRegex.exec(src))) {\n break;\n }\n\n if (this.rules.block.hr.test(src)) { // End list if bullet was actually HR (possibly move into itemRegex?)\n break;\n }\n\n raw = cap[0];\n src = src.substring(raw.length);\n\n line = cap[2].split('\\n', 1)[0].replace(/^\\t+/, (t) => ' '.repeat(3 * t.length));\n nextLine = src.split('\\n', 1)[0];\n\n if (this.options.pedantic) {\n indent = 2;\n itemContents = line.trimLeft();\n } else {\n indent = cap[2].search(/[^ ]/); // Find first non-space char\n indent = indent > 4 ? 1 : indent; // Treat indented code blocks (> 4 spaces) as having only 1 indent\n itemContents = line.slice(indent);\n indent += cap[1].length;\n }\n\n blankLine = false;\n\n if (!line && /^ *$/.test(nextLine)) { // Items begin with at most one blank line\n raw += nextLine + '\\n';\n src = src.substring(nextLine.length + 1);\n endEarly = true;\n }\n\n if (!endEarly) {\n const nextBulletRegex = new RegExp(`^ {0,${Math.min(3, indent - 1)}}(?:[*+-]|\\\\d{1,9}[.)])((?:[ \\t][^\\\\n]*)?(?:\\\\n|$))`);\n const hrRegex = new RegExp(`^ {0,${Math.min(3, indent - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\\\* *){3,})(?:\\\\n+|$)`);\n const fencesBeginRegex = new RegExp(`^ {0,${Math.min(3, indent - 1)}}(?:\\`\\`\\`|~~~)`);\n const headingBeginRegex = new RegExp(`^ {0,${Math.min(3, indent - 1)}}#`);\n\n // Check if following lines should be included in List Item\n while (src) {\n rawLine = src.split('\\n', 1)[0];\n nextLine = rawLine;\n\n // Re-align to follow commonmark nesting rules\n if (this.options.pedantic) {\n nextLine = nextLine.replace(/^ {1,4}(?=( {4})*[^ ])/g, ' ');\n }\n\n // End list item if found code fences\n if (fencesBeginRegex.test(nextLine)) {\n break;\n }\n\n // End list item if found start of new heading\n if (headingBeginRegex.test(nextLine)) {\n break;\n }\n\n // End list item if found start of new bullet\n if (nextBulletRegex.test(nextLine)) {\n break;\n }\n\n // Horizontal rule found\n if (hrRegex.test(src)) {\n break;\n }\n\n if (nextLine.search(/[^ ]/) >= indent || !nextLine.trim()) { // Dedent if possible\n itemContents += '\\n' + nextLine.slice(indent);\n } else {\n // not enough indentation\n if (blankLine) {\n break;\n }\n\n // paragraph continuation unless last line was a different block level element\n if (line.search(/[^ ]/) >= 4) { // indented code block\n break;\n }\n if (fencesBeginRegex.test(line)) {\n break;\n }\n if (headingBeginRegex.test(line)) {\n break;\n }\n if (hrRegex.test(line)) {\n break;\n }\n\n itemContents += '\\n' + nextLine;\n }\n\n if (!blankLine && !nextLine.trim()) { // Check if current line is blank\n blankLine = true;\n }\n\n raw += rawLine + '\\n';\n src = src.substring(rawLine.length + 1);\n line = nextLine.slice(indent);\n }\n }\n\n if (!list.loose) {\n // If the previous item ended with a blank line, the list is loose\n if (endsWithBlankLine) {\n list.loose = true;\n } else if (/\\n *\\n *$/.test(raw)) {\n endsWithBlankLine = true;\n }\n }\n\n // Check for task list items\n if (this.options.gfm) {\n istask = /^\\[[ xX]\\] /.exec(itemContents);\n if (istask) {\n ischecked = istask[0] !== '[ ] ';\n itemContents = itemContents.replace(/^\\[[ xX]\\] +/, '');\n }\n }\n\n list.items.push({\n type: 'list_item',\n raw,\n task: !!istask,\n checked: ischecked,\n loose: false,\n text: itemContents\n });\n\n list.raw += raw;\n }\n\n // Do not consume newlines at end of final item. Alternatively, make itemRegex *start* with any newlines to simplify/speed up endsWithBlankLine logic\n list.items[list.items.length - 1].raw = raw.trimRight();\n list.items[list.items.length - 1].text = itemContents.trimRight();\n list.raw = list.raw.trimRight();\n\n const l = list.items.length;\n\n // Item child tokens handled here at end because we needed to have the final item to trim it first\n for (i = 0; i < l; i++) {\n this.lexer.state.top = false;\n list.items[i].tokens = this.lexer.blockTokens(list.items[i].text, []);\n\n if (!list.loose) {\n // Check if list should be loose\n const spacers = list.items[i].tokens.filter(t => t.type === 'space');\n const hasMultipleLineBreaks = spacers.length > 0 && spacers.some(t => /\\n.*\\n/.test(t.raw));\n\n list.loose = hasMultipleLineBreaks;\n }\n }\n\n // Set all items to loose if list is loose\n if (list.loose) {\n for (i = 0; i < l; i++) {\n list.items[i].loose = true;\n }\n }\n\n return list;\n }\n }\n\n html(src) {\n const cap = this.rules.block.html.exec(src);\n if (cap) {\n const token = {\n type: 'html',\n block: true,\n raw: cap[0],\n pre: !this.options.sanitizer\n && (cap[1] === 'pre' || cap[1] === 'script' || cap[1] === 'style'),\n text: cap[0]\n };\n if (this.options.sanitize) {\n const text = this.options.sanitizer ? this.options.sanitizer(cap[0]) : escape(cap[0]);\n token.type = 'paragraph';\n token.text = text;\n token.tokens = this.lexer.inline(text);\n }\n return token;\n }\n }\n\n def(src) {\n const cap = this.rules.block.def.exec(src);\n if (cap) {\n const tag = cap[1].toLowerCase().replace(/\\s+/g, ' ');\n const href = cap[2] ? cap[2].replace(/^<(.*)>$/, '$1').replace(this.rules.inline._escapes, '$1') : '';\n const title = cap[3] ? cap[3].substring(1, cap[3].length - 1).replace(this.rules.inline._escapes, '$1') : cap[3];\n return {\n type: 'def',\n tag,\n raw: cap[0],\n href,\n title\n };\n }\n }\n\n table(src) {\n const cap = this.rules.block.table.exec(src);\n if (cap) {\n const item = {\n type: 'table',\n header: splitCells(cap[1]).map(c => { return { text: c }; }),\n align: cap[2].replace(/^ *|\\| *$/g, '').split(/ *\\| */),\n rows: cap[3] && cap[3].trim() ? cap[3].replace(/\\n[ \\t]*$/, '').split('\\n') : []\n };\n\n if (item.header.length === item.align.length) {\n item.raw = cap[0];\n\n let l = item.align.length;\n let i, j, k, row;\n for (i = 0; i < l; i++) {\n if (/^ *-+: *$/.test(item.align[i])) {\n item.align[i] = 'right';\n } else if (/^ *:-+: *$/.test(item.align[i])) {\n item.align[i] = 'center';\n } else if (/^ *:-+ *$/.test(item.align[i])) {\n item.align[i] = 'left';\n } else {\n item.align[i] = null;\n }\n }\n\n l = item.rows.length;\n for (i = 0; i < l; i++) {\n item.rows[i] = splitCells(item.rows[i], item.header.length).map(c => { return { text: c }; });\n }\n\n // parse child tokens inside headers and cells\n\n // header child tokens\n l = item.header.length;\n for (j = 0; j < l; j++) {\n item.header[j].tokens = this.lexer.inline(item.header[j].text);\n }\n\n // cell child tokens\n l = item.rows.length;\n for (j = 0; j < l; j++) {\n row = item.rows[j];\n for (k = 0; k < row.length; k++) {\n row[k].tokens = this.lexer.inline(row[k].text);\n }\n }\n\n return item;\n }\n }\n }\n\n lheading(src) {\n const cap = this.rules.block.lheading.exec(src);\n if (cap) {\n return {\n type: 'heading',\n raw: cap[0],\n depth: cap[2].charAt(0) === '=' ? 1 : 2,\n text: cap[1],\n tokens: this.lexer.inline(cap[1])\n };\n }\n }\n\n paragraph(src) {\n const cap = this.rules.block.paragraph.exec(src);\n if (cap) {\n const text = cap[1].charAt(cap[1].length - 1) === '\\n'\n ? cap[1].slice(0, -1)\n : cap[1];\n return {\n type: 'paragraph',\n raw: cap[0],\n text,\n tokens: this.lexer.inline(text)\n };\n }\n }\n\n text(src) {\n const cap = this.rules.block.text.exec(src);\n if (cap) {\n return {\n type: 'text',\n raw: cap[0],\n text: cap[0],\n tokens: this.lexer.inline(cap[0])\n };\n }\n }\n\n escape(src) {\n const cap = this.rules.inline.escape.exec(src);\n if (cap) {\n return {\n type: 'escape',\n raw: cap[0],\n text: escape(cap[1])\n };\n }\n }\n\n tag(src) {\n const cap = this.rules.inline.tag.exec(src);\n if (cap) {\n if (!this.lexer.state.inLink && /^
    /i.test(cap[0])) {\n this.lexer.state.inLink = false;\n }\n if (!this.lexer.state.inRawBlock && /^<(pre|code|kbd|script)(\\s|>)/i.test(cap[0])) {\n this.lexer.state.inRawBlock = true;\n } else if (this.lexer.state.inRawBlock && /^<\\/(pre|code|kbd|script)(\\s|>)/i.test(cap[0])) {\n this.lexer.state.inRawBlock = false;\n }\n\n return {\n type: this.options.sanitize\n ? 'text'\n : 'html',\n raw: cap[0],\n inLink: this.lexer.state.inLink,\n inRawBlock: this.lexer.state.inRawBlock,\n block: false,\n text: this.options.sanitize\n ? (this.options.sanitizer\n ? this.options.sanitizer(cap[0])\n : escape(cap[0]))\n : cap[0]\n };\n }\n }\n\n link(src) {\n const cap = this.rules.inline.link.exec(src);\n if (cap) {\n const trimmedUrl = cap[2].trim();\n if (!this.options.pedantic && /^$/.test(trimmedUrl))) {\n return;\n }\n\n // ending angle bracket cannot be escaped\n const rtrimSlash = rtrim(trimmedUrl.slice(0, -1), '\\\\');\n if ((trimmedUrl.length - rtrimSlash.length) % 2 === 0) {\n return;\n }\n } else {\n // find closing parenthesis\n const lastParenIndex = findClosingBracket(cap[2], '()');\n if (lastParenIndex > -1) {\n const start = cap[0].indexOf('!') === 0 ? 5 : 4;\n const linkLen = start + cap[1].length + lastParenIndex;\n cap[2] = cap[2].substring(0, lastParenIndex);\n cap[0] = cap[0].substring(0, linkLen).trim();\n cap[3] = '';\n }\n }\n let href = cap[2];\n let title = '';\n if (this.options.pedantic) {\n // split pedantic href and title\n const link = /^([^'\"]*[^\\s])\\s+(['\"])(.*)\\2/.exec(href);\n\n if (link) {\n href = link[1];\n title = link[3];\n }\n } else {\n title = cap[3] ? cap[3].slice(1, -1) : '';\n }\n\n href = href.trim();\n if (/^$/.test(trimmedUrl))) {\n // pedantic allows starting angle bracket without ending angle bracket\n href = href.slice(1);\n } else {\n href = href.slice(1, -1);\n }\n }\n return outputLink(cap, {\n href: href ? href.replace(this.rules.inline._escapes, '$1') : href,\n title: title ? title.replace(this.rules.inline._escapes, '$1') : title\n }, cap[0], this.lexer);\n }\n }\n\n reflink(src, links) {\n let cap;\n if ((cap = this.rules.inline.reflink.exec(src))\n || (cap = this.rules.inline.nolink.exec(src))) {\n let link = (cap[2] || cap[1]).replace(/\\s+/g, ' ');\n link = links[link.toLowerCase()];\n if (!link) {\n const text = cap[0].charAt(0);\n return {\n type: 'text',\n raw: text,\n text\n };\n }\n return outputLink(cap, link, cap[0], this.lexer);\n }\n }\n\n emStrong(src, maskedSrc, prevChar = '') {\n let match = this.rules.inline.emStrong.lDelim.exec(src);\n if (!match) return;\n\n // _ can't be between two alphanumerics. \\p{L}\\p{N} includes non-english alphabet/numbers as well\n if (match[3] && prevChar.match(/[\\p{L}\\p{N}]/u)) return;\n\n const nextChar = match[1] || match[2] || '';\n\n if (!nextChar || !prevChar || this.rules.inline.punctuation.exec(prevChar)) {\n const lLength = match[0].length - 1;\n let rDelim, rLength, delimTotal = lLength, midDelimTotal = 0;\n\n const endReg = match[0][0] === '*' ? this.rules.inline.emStrong.rDelimAst : this.rules.inline.emStrong.rDelimUnd;\n endReg.lastIndex = 0;\n\n // Clip maskedSrc to same section of string as src (move to lexer?)\n maskedSrc = maskedSrc.slice(-1 * src.length + lLength);\n\n while ((match = endReg.exec(maskedSrc)) != null) {\n rDelim = match[1] || match[2] || match[3] || match[4] || match[5] || match[6];\n\n if (!rDelim) continue; // skip single * in __abc*abc__\n\n rLength = rDelim.length;\n\n if (match[3] || match[4]) { // found another Left Delim\n delimTotal += rLength;\n continue;\n } else if (match[5] || match[6]) { // either Left or Right Delim\n if (lLength % 3 && !((lLength + rLength) % 3)) {\n midDelimTotal += rLength;\n continue; // CommonMark Emphasis Rules 9-10\n }\n }\n\n delimTotal -= rLength;\n\n if (delimTotal > 0) continue; // Haven't found enough closing delimiters\n\n // Remove extra characters. *a*** -> *a*\n rLength = Math.min(rLength, rLength + delimTotal + midDelimTotal);\n\n const raw = src.slice(0, lLength + match.index + rLength + 1);\n\n // Create `em` if smallest delimiter has odd char count. *a***\n if (Math.min(lLength, rLength) % 2) {\n const text = raw.slice(1, -1);\n return {\n type: 'em',\n raw,\n text,\n tokens: this.lexer.inlineTokens(text)\n };\n }\n\n // Create 'strong' if smallest delimiter has even char count. **a***\n const text = raw.slice(2, -2);\n return {\n type: 'strong',\n raw,\n text,\n tokens: this.lexer.inlineTokens(text)\n };\n }\n }\n }\n\n codespan(src) {\n const cap = this.rules.inline.code.exec(src);\n if (cap) {\n let text = cap[2].replace(/\\n/g, ' ');\n const hasNonSpaceChars = /[^ ]/.test(text);\n const hasSpaceCharsOnBothEnds = /^ /.test(text) && / $/.test(text);\n if (hasNonSpaceChars && hasSpaceCharsOnBothEnds) {\n text = text.substring(1, text.length - 1);\n }\n text = escape(text, true);\n return {\n type: 'codespan',\n raw: cap[0],\n text\n };\n }\n }\n\n br(src) {\n const cap = this.rules.inline.br.exec(src);\n if (cap) {\n return {\n type: 'br',\n raw: cap[0]\n };\n }\n }\n\n del(src) {\n const cap = this.rules.inline.del.exec(src);\n if (cap) {\n return {\n type: 'del',\n raw: cap[0],\n text: cap[2],\n tokens: this.lexer.inlineTokens(cap[2])\n };\n }\n }\n\n autolink(src, mangle) {\n const cap = this.rules.inline.autolink.exec(src);\n if (cap) {\n let text, href;\n if (cap[2] === '@') {\n text = escape(this.options.mangle ? mangle(cap[1]) : cap[1]);\n href = 'mailto:' + text;\n } else {\n text = escape(cap[1]);\n href = text;\n }\n\n return {\n type: 'link',\n raw: cap[0],\n text,\n href,\n tokens: [\n {\n type: 'text',\n raw: text,\n text\n }\n ]\n };\n }\n }\n\n url(src, mangle) {\n let cap;\n if (cap = this.rules.inline.url.exec(src)) {\n let text, href;\n if (cap[2] === '@') {\n text = escape(this.options.mangle ? mangle(cap[0]) : cap[0]);\n href = 'mailto:' + text;\n } else {\n // do extended autolink path validation\n let prevCapZero;\n do {\n prevCapZero = cap[0];\n cap[0] = this.rules.inline._backpedal.exec(cap[0])[0];\n } while (prevCapZero !== cap[0]);\n text = escape(cap[0]);\n if (cap[1] === 'www.') {\n href = 'http://' + cap[0];\n } else {\n href = cap[0];\n }\n }\n return {\n type: 'link',\n raw: cap[0],\n text,\n href,\n tokens: [\n {\n type: 'text',\n raw: text,\n text\n }\n ]\n };\n }\n }\n\n inlineText(src, smartypants) {\n const cap = this.rules.inline.text.exec(src);\n if (cap) {\n let text;\n if (this.lexer.state.inRawBlock) {\n text = this.options.sanitize ? (this.options.sanitizer ? this.options.sanitizer(cap[0]) : escape(cap[0])) : cap[0];\n } else {\n text = escape(this.options.smartypants ? smartypants(cap[0]) : cap[0]);\n }\n return {\n type: 'text',\n raw: cap[0],\n text\n };\n }\n }\n}\n\n/**\n * Block-Level Grammar\n */\nconst block = {\n newline: /^(?: *(?:\\n|$))+/,\n code: /^( {4}[^\\n]+(?:\\n(?: *(?:\\n|$))*)?)+/,\n fences: /^ {0,3}(`{3,}(?=[^`\\n]*(?:\\n|$))|~{3,})([^\\n]*)(?:\\n|$)(?:|([\\s\\S]*?)(?:\\n|$))(?: {0,3}\\1[~`]* *(?=\\n|$)|$)/,\n hr: /^ {0,3}((?:-[\\t ]*){3,}|(?:_[ \\t]*){3,}|(?:\\*[ \\t]*){3,})(?:\\n+|$)/,\n heading: /^ {0,3}(#{1,6})(?=\\s|$)(.*)(?:\\n+|$)/,\n blockquote: /^( {0,3}> ?(paragraph|[^\\n]*)(?:\\n|$))+/,\n list: /^( {0,3}bull)([ \\t][^\\n]+?)?(?:\\n|$)/,\n html: '^ {0,3}(?:' // optional indentation\n + '<(script|pre|style|textarea)[\\\\s>][\\\\s\\\\S]*?(?:[^\\\\n]*\\\\n+|$)' // (1)\n + '|comment[^\\\\n]*(\\\\n+|$)' // (2)\n + '|<\\\\?[\\\\s\\\\S]*?(?:\\\\?>\\\\n*|$)' // (3)\n + '|\\\\n*|$)' // (4)\n + '|\\\\n*|$)' // (5)\n + '|)[\\\\s\\\\S]*?(?:(?:\\\\n *)+\\\\n|$)' // (6)\n + '|<(?!script|pre|style|textarea)([a-z][\\\\w-]*)(?:attribute)*? */?>(?=[ \\\\t]*(?:\\\\n|$))[\\\\s\\\\S]*?(?:(?:\\\\n *)+\\\\n|$)' // (7) open tag\n + '|(?=[ \\\\t]*(?:\\\\n|$))[\\\\s\\\\S]*?(?:(?:\\\\n *)+\\\\n|$)' // (7) closing tag\n + ')',\n def: /^ {0,3}\\[(label)\\]: *(?:\\n *)?([^<\\s][^\\s]*|<.*?>)(?:(?: +(?:\\n *)?| *\\n *)(title))? *(?:\\n+|$)/,\n table: noopTest,\n lheading: /^((?:(?!^bull ).|\\n(?!\\n|bull ))+?)\\n {0,3}(=+|-+) *(?:\\n+|$)/,\n // regex template, placeholders will be replaced according to different paragraph\n // interruption rules of commonmark and the original markdown spec:\n _paragraph: /^([^\\n]+(?:\\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\\n)[^\\n]+)*)/,\n text: /^[^\\n]+/\n};\n\nblock._label = /(?!\\s*\\])(?:\\\\.|[^\\[\\]\\\\])+/;\nblock._title = /(?:\"(?:\\\\\"?|[^\"\\\\])*\"|'[^'\\n]*(?:\\n[^'\\n]+)*\\n?'|\\([^()]*\\))/;\nblock.def = edit(block.def)\n .replace('label', block._label)\n .replace('title', block._title)\n .getRegex();\n\nblock.bullet = /(?:[*+-]|\\d{1,9}[.)])/;\nblock.listItemStart = edit(/^( *)(bull) */)\n .replace('bull', block.bullet)\n .getRegex();\n\nblock.list = edit(block.list)\n .replace(/bull/g, block.bullet)\n .replace('hr', '\\\\n+(?=\\\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\\\* *){3,})(?:\\\\n+|$))')\n .replace('def', '\\\\n+(?=' + block.def.source + ')')\n .getRegex();\n\nblock._tag = 'address|article|aside|base|basefont|blockquote|body|caption'\n + '|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption'\n + '|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe'\n + '|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option'\n + '|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr'\n + '|track|ul';\nblock._comment = /|$)/;\nblock.html = edit(block.html, 'i')\n .replace('comment', block._comment)\n .replace('tag', block._tag)\n .replace('attribute', / +[a-zA-Z:_][\\w.:-]*(?: *= *\"[^\"\\n]*\"| *= *'[^'\\n]*'| *= *[^\\s\"'=<>`]+)?/)\n .getRegex();\n\nblock.lheading = edit(block.lheading)\n .replace(/bull/g, block.bullet) // lists can interrupt\n .getRegex();\n\nblock.paragraph = edit(block._paragraph)\n .replace('hr', block.hr)\n .replace('heading', ' {0,3}#{1,6} ')\n .replace('|lheading', '') // setex headings don't interrupt commonmark paragraphs\n .replace('|table', '')\n .replace('blockquote', ' {0,3}>')\n .replace('fences', ' {0,3}(?:`{3,}(?=[^`\\\\n]*\\\\n)|~{3,})[^\\\\n]*\\\\n')\n .replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt\n .replace('html', ')|<(?:script|pre|style|textarea|!--)')\n .replace('tag', block._tag) // pars can be interrupted by type (6) html blocks\n .getRegex();\n\nblock.blockquote = edit(block.blockquote)\n .replace('paragraph', block.paragraph)\n .getRegex();\n\n/**\n * Normal Block Grammar\n */\n\nblock.normal = { ...block };\n\n/**\n * GFM Block Grammar\n */\n\nblock.gfm = {\n ...block.normal,\n table: '^ *([^\\\\n ].*\\\\|.*)\\\\n' // Header\n + ' {0,3}(?:\\\\| *)?(:?-+:? *(?:\\\\| *:?-+:? *)*)(?:\\\\| *)?' // Align\n + '(?:\\\\n((?:(?! *\\\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\\\n|$))*)\\\\n*|$)' // Cells\n};\n\nblock.gfm.table = edit(block.gfm.table)\n .replace('hr', block.hr)\n .replace('heading', ' {0,3}#{1,6} ')\n .replace('blockquote', ' {0,3}>')\n .replace('code', ' {4}[^\\\\n]')\n .replace('fences', ' {0,3}(?:`{3,}(?=[^`\\\\n]*\\\\n)|~{3,})[^\\\\n]*\\\\n')\n .replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt\n .replace('html', ')|<(?:script|pre|style|textarea|!--)')\n .replace('tag', block._tag) // tables can be interrupted by type (6) html blocks\n .getRegex();\n\nblock.gfm.paragraph = edit(block._paragraph)\n .replace('hr', block.hr)\n .replace('heading', ' {0,3}#{1,6} ')\n .replace('|lheading', '') // setex headings don't interrupt commonmark paragraphs\n .replace('table', block.gfm.table) // interrupt paragraphs with table\n .replace('blockquote', ' {0,3}>')\n .replace('fences', ' {0,3}(?:`{3,}(?=[^`\\\\n]*\\\\n)|~{3,})[^\\\\n]*\\\\n')\n .replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt\n .replace('html', ')|<(?:script|pre|style|textarea|!--)')\n .replace('tag', block._tag) // pars can be interrupted by type (6) html blocks\n .getRegex();\n/**\n * Pedantic grammar (original John Gruber's loose markdown specification)\n */\n\nblock.pedantic = {\n ...block.normal,\n html: edit(\n '^ *(?:comment *(?:\\\\n|\\\\s*$)'\n + '|<(tag)[\\\\s\\\\S]+? *(?:\\\\n{2,}|\\\\s*$)' // closed tag\n + '|\\\\s]*)*?/?> *(?:\\\\n{2,}|\\\\s*$))')\n .replace('comment', block._comment)\n .replace(/tag/g, '(?!(?:'\n + 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub'\n + '|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)'\n + '\\\\b)\\\\w+(?!:|[^\\\\w\\\\s@]*@)\\\\b')\n .getRegex(),\n def: /^ *\\[([^\\]]+)\\]: *]+)>?(?: +([\"(][^\\n]+[\")]))? *(?:\\n+|$)/,\n heading: /^(#{1,6})(.*)(?:\\n+|$)/,\n fences: noopTest, // fences not supported\n lheading: /^(.+?)\\n {0,3}(=+|-+) *(?:\\n+|$)/,\n paragraph: edit(block.normal._paragraph)\n .replace('hr', block.hr)\n .replace('heading', ' *#{1,6} *[^\\n]')\n .replace('lheading', block.lheading)\n .replace('blockquote', ' {0,3}>')\n .replace('|fences', '')\n .replace('|list', '')\n .replace('|html', '')\n .getRegex()\n};\n\n/**\n * Inline-Level Grammar\n */\nconst inline = {\n escape: /^\\\\([!\"#$%&'()*+,\\-./:;<=>?@\\[\\]\\\\^_`{|}~])/,\n autolink: /^<(scheme:[^\\s\\x00-\\x1f<>]*|email)>/,\n url: noopTest,\n tag: '^comment'\n + '|^' // self-closing tag\n + '|^<[a-zA-Z][\\\\w-]*(?:attribute)*?\\\\s*/?>' // open tag\n + '|^<\\\\?[\\\\s\\\\S]*?\\\\?>' // processing instruction, e.g. \n + '|^' // declaration, e.g. \n + '|^', // CDATA section\n link: /^!?\\[(label)\\]\\(\\s*(href)(?:\\s+(title))?\\s*\\)/,\n reflink: /^!?\\[(label)\\]\\[(ref)\\]/,\n nolink: /^!?\\[(ref)\\](?:\\[\\])?/,\n reflinkSearch: 'reflink|nolink(?!\\\\()',\n emStrong: {\n lDelim: /^(?:\\*+(?:((?!\\*)[punct])|[^\\s*]))|^_+(?:((?!_)[punct])|([^\\s_]))/,\n // (1) and (2) can only be a Right Delimiter. (3) and (4) can only be Left. (5) and (6) can be either Left or Right.\n // | Skip orphan inside strong | Consume to delim | (1) #*** | (2) a***#, a*** | (3) #***a, ***a | (4) ***# | (5) #***# | (6) a***a\n rDelimAst: /^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])/,\n rDelimUnd: /^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/ // ^- Not allowed for _\n },\n code: /^(`+)([^`]|[^`][\\s\\S]*?[^`])\\1(?!`)/,\n br: /^( {2,}|\\\\)\\n(?!\\s*$)/,\n del: noopTest,\n text: /^(`+|[^`])(?:(?= {2,}\\n)|[\\s\\S]*?(?:(?=[\\\\`^|~';\ninline.punctuation = edit(inline.punctuation, 'u').replace(/punctuation/g, inline._punctuation).getRegex();\n\n// sequences em should skip over [title](link), `code`, \ninline.blockSkip = /\\[[^[\\]]*?\\]\\([^\\(\\)]*?\\)|`[^`]*?`|<[^<>]*?>/g;\ninline.anyPunctuation = /\\\\[punct]/g;\ninline._escapes = /\\\\([punct])/g;\n\ninline._comment = edit(block._comment).replace('(?:-->|$)', '-->').getRegex();\n\ninline.emStrong.lDelim = edit(inline.emStrong.lDelim, 'u')\n .replace(/punct/g, inline._punctuation)\n .getRegex();\n\ninline.emStrong.rDelimAst = edit(inline.emStrong.rDelimAst, 'gu')\n .replace(/punct/g, inline._punctuation)\n .getRegex();\n\ninline.emStrong.rDelimUnd = edit(inline.emStrong.rDelimUnd, 'gu')\n .replace(/punct/g, inline._punctuation)\n .getRegex();\n\ninline.anyPunctuation = edit(inline.anyPunctuation, 'gu')\n .replace(/punct/g, inline._punctuation)\n .getRegex();\n\ninline._escapes = edit(inline._escapes, 'gu')\n .replace(/punct/g, inline._punctuation)\n .getRegex();\n\ninline._scheme = /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;\ninline._email = /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;\ninline.autolink = edit(inline.autolink)\n .replace('scheme', inline._scheme)\n .replace('email', inline._email)\n .getRegex();\n\ninline._attribute = /\\s+[a-zA-Z:_][\\w.:-]*(?:\\s*=\\s*\"[^\"]*\"|\\s*=\\s*'[^']*'|\\s*=\\s*[^\\s\"'=<>`]+)?/;\n\ninline.tag = edit(inline.tag)\n .replace('comment', inline._comment)\n .replace('attribute', inline._attribute)\n .getRegex();\n\ninline._label = /(?:\\[(?:\\\\.|[^\\[\\]\\\\])*\\]|\\\\.|`[^`]*`|[^\\[\\]\\\\`])*?/;\ninline._href = /<(?:\\\\.|[^\\n<>\\\\])+>|[^\\s\\x00-\\x1f]*/;\ninline._title = /\"(?:\\\\\"?|[^\"\\\\])*\"|'(?:\\\\'?|[^'\\\\])*'|\\((?:\\\\\\)?|[^)\\\\])*\\)/;\n\ninline.link = edit(inline.link)\n .replace('label', inline._label)\n .replace('href', inline._href)\n .replace('title', inline._title)\n .getRegex();\n\ninline.reflink = edit(inline.reflink)\n .replace('label', inline._label)\n .replace('ref', block._label)\n .getRegex();\n\ninline.nolink = edit(inline.nolink)\n .replace('ref', block._label)\n .getRegex();\n\ninline.reflinkSearch = edit(inline.reflinkSearch, 'g')\n .replace('reflink', inline.reflink)\n .replace('nolink', inline.nolink)\n .getRegex();\n\n/**\n * Normal Inline Grammar\n */\n\ninline.normal = { ...inline };\n\n/**\n * Pedantic Inline Grammar\n */\n\ninline.pedantic = {\n ...inline.normal,\n strong: {\n start: /^__|\\*\\*/,\n middle: /^__(?=\\S)([\\s\\S]*?\\S)__(?!_)|^\\*\\*(?=\\S)([\\s\\S]*?\\S)\\*\\*(?!\\*)/,\n endAst: /\\*\\*(?!\\*)/g,\n endUnd: /__(?!_)/g\n },\n em: {\n start: /^_|\\*/,\n middle: /^()\\*(?=\\S)([\\s\\S]*?\\S)\\*(?!\\*)|^_(?=\\S)([\\s\\S]*?\\S)_(?!_)/,\n endAst: /\\*(?!\\*)/g,\n endUnd: /_(?!_)/g\n },\n link: edit(/^!?\\[(label)\\]\\((.*?)\\)/)\n .replace('label', inline._label)\n .getRegex(),\n reflink: edit(/^!?\\[(label)\\]\\s*\\[([^\\]]*)\\]/)\n .replace('label', inline._label)\n .getRegex()\n};\n\n/**\n * GFM Inline Grammar\n */\n\ninline.gfm = {\n ...inline.normal,\n escape: edit(inline.escape).replace('])', '~|])').getRegex(),\n _extended_email: /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,\n url: /^((?:ftp|https?):\\/\\/|www\\.)(?:[a-zA-Z0-9\\-]+\\.?)+[^\\s<]*|^email/,\n _backpedal: /(?:[^?!.,:;*_'\"~()&]+|\\([^)]*\\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'\"~)]+(?!$))+/,\n del: /^(~~?)(?=[^\\s~])([\\s\\S]*?[^\\s~])\\1(?=[^~]|$)/,\n text: /^([`~]+|[^`~])(?:(?= {2,}\\n)|(?=[a-zA-Z0-9.!#$%&'*+\\/=?_`{\\|}~-]+@)|[\\s\\S]*?(?:(?=[\\\\ 0.5) {\n ch = 'x' + ch.toString(16);\n }\n out += '&#' + ch + ';';\n }\n\n return out;\n}\n\n/**\n * Block Lexer\n */\nclass Lexer {\n constructor(options) {\n this.tokens = [];\n this.tokens.links = Object.create(null);\n this.options = options || defaults;\n this.options.tokenizer = this.options.tokenizer || new Tokenizer();\n this.tokenizer = this.options.tokenizer;\n this.tokenizer.options = this.options;\n this.tokenizer.lexer = this;\n this.inlineQueue = [];\n this.state = {\n inLink: false,\n inRawBlock: false,\n top: true\n };\n\n const rules = {\n block: block.normal,\n inline: inline.normal\n };\n\n if (this.options.pedantic) {\n rules.block = block.pedantic;\n rules.inline = inline.pedantic;\n } else if (this.options.gfm) {\n rules.block = block.gfm;\n if (this.options.breaks) {\n rules.inline = inline.breaks;\n } else {\n rules.inline = inline.gfm;\n }\n }\n this.tokenizer.rules = rules;\n }\n\n /**\n * Expose Rules\n */\n static get rules() {\n return {\n block,\n inline\n };\n }\n\n /**\n * Static Lex Method\n */\n static lex(src, options) {\n const lexer = new Lexer(options);\n return lexer.lex(src);\n }\n\n /**\n * Static Lex Inline Method\n */\n static lexInline(src, options) {\n const lexer = new Lexer(options);\n return lexer.inlineTokens(src);\n }\n\n /**\n * Preprocessing\n */\n lex(src) {\n src = src\n .replace(/\\r\\n|\\r/g, '\\n');\n\n this.blockTokens(src, this.tokens);\n\n let next;\n while (next = this.inlineQueue.shift()) {\n this.inlineTokens(next.src, next.tokens);\n }\n\n return this.tokens;\n }\n\n /**\n * Lexing\n */\n blockTokens(src, tokens = []) {\n if (this.options.pedantic) {\n src = src.replace(/\\t/g, ' ').replace(/^ +$/gm, '');\n } else {\n src = src.replace(/^( *)(\\t+)/gm, (_, leading, tabs) => {\n return leading + ' '.repeat(tabs.length);\n });\n }\n\n let token, lastToken, cutSrc, lastParagraphClipped;\n\n while (src) {\n if (this.options.extensions\n && this.options.extensions.block\n && this.options.extensions.block.some((extTokenizer) => {\n if (token = extTokenizer.call({ lexer: this }, src, tokens)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n return true;\n }\n return false;\n })) {\n continue;\n }\n\n // newline\n if (token = this.tokenizer.space(src)) {\n src = src.substring(token.raw.length);\n if (token.raw.length === 1 && tokens.length > 0) {\n // if there's a single \\n as a spacer, it's terminating the last line,\n // so move it there so that we don't get unecessary paragraph tags\n tokens[tokens.length - 1].raw += '\\n';\n } else {\n tokens.push(token);\n }\n continue;\n }\n\n // code\n if (token = this.tokenizer.code(src)) {\n src = src.substring(token.raw.length);\n lastToken = tokens[tokens.length - 1];\n // An indented code block cannot interrupt a paragraph.\n if (lastToken && (lastToken.type === 'paragraph' || lastToken.type === 'text')) {\n lastToken.raw += '\\n' + token.raw;\n lastToken.text += '\\n' + token.text;\n this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;\n } else {\n tokens.push(token);\n }\n continue;\n }\n\n // fences\n if (token = this.tokenizer.fences(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // heading\n if (token = this.tokenizer.heading(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // hr\n if (token = this.tokenizer.hr(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // blockquote\n if (token = this.tokenizer.blockquote(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // list\n if (token = this.tokenizer.list(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // html\n if (token = this.tokenizer.html(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // def\n if (token = this.tokenizer.def(src)) {\n src = src.substring(token.raw.length);\n lastToken = tokens[tokens.length - 1];\n if (lastToken && (lastToken.type === 'paragraph' || lastToken.type === 'text')) {\n lastToken.raw += '\\n' + token.raw;\n lastToken.text += '\\n' + token.raw;\n this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;\n } else if (!this.tokens.links[token.tag]) {\n this.tokens.links[token.tag] = {\n href: token.href,\n title: token.title\n };\n }\n continue;\n }\n\n // table (gfm)\n if (token = this.tokenizer.table(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // lheading\n if (token = this.tokenizer.lheading(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // top-level paragraph\n // prevent paragraph consuming extensions by clipping 'src' to extension start\n cutSrc = src;\n if (this.options.extensions && this.options.extensions.startBlock) {\n let startIndex = Infinity;\n const tempSrc = src.slice(1);\n let tempStart;\n this.options.extensions.startBlock.forEach(function(getStartIndex) {\n tempStart = getStartIndex.call({ lexer: this }, tempSrc);\n if (typeof tempStart === 'number' && tempStart >= 0) { startIndex = Math.min(startIndex, tempStart); }\n });\n if (startIndex < Infinity && startIndex >= 0) {\n cutSrc = src.substring(0, startIndex + 1);\n }\n }\n if (this.state.top && (token = this.tokenizer.paragraph(cutSrc))) {\n lastToken = tokens[tokens.length - 1];\n if (lastParagraphClipped && lastToken.type === 'paragraph') {\n lastToken.raw += '\\n' + token.raw;\n lastToken.text += '\\n' + token.text;\n this.inlineQueue.pop();\n this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;\n } else {\n tokens.push(token);\n }\n lastParagraphClipped = (cutSrc.length !== src.length);\n src = src.substring(token.raw.length);\n continue;\n }\n\n // text\n if (token = this.tokenizer.text(src)) {\n src = src.substring(token.raw.length);\n lastToken = tokens[tokens.length - 1];\n if (lastToken && lastToken.type === 'text') {\n lastToken.raw += '\\n' + token.raw;\n lastToken.text += '\\n' + token.text;\n this.inlineQueue.pop();\n this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;\n } else {\n tokens.push(token);\n }\n continue;\n }\n\n if (src) {\n const errMsg = 'Infinite loop on byte: ' + src.charCodeAt(0);\n if (this.options.silent) {\n console.error(errMsg);\n break;\n } else {\n throw new Error(errMsg);\n }\n }\n }\n\n this.state.top = true;\n return tokens;\n }\n\n inline(src, tokens = []) {\n this.inlineQueue.push({ src, tokens });\n return tokens;\n }\n\n /**\n * Lexing/Compiling\n */\n inlineTokens(src, tokens = []) {\n let token, lastToken, cutSrc;\n\n // String with links masked to avoid interference with em and strong\n let maskedSrc = src;\n let match;\n let keepPrevChar, prevChar;\n\n // Mask out reflinks\n if (this.tokens.links) {\n const links = Object.keys(this.tokens.links);\n if (links.length > 0) {\n while ((match = this.tokenizer.rules.inline.reflinkSearch.exec(maskedSrc)) != null) {\n if (links.includes(match[0].slice(match[0].lastIndexOf('[') + 1, -1))) {\n maskedSrc = maskedSrc.slice(0, match.index) + '[' + 'a'.repeat(match[0].length - 2) + ']' + maskedSrc.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex);\n }\n }\n }\n }\n // Mask out other blocks\n while ((match = this.tokenizer.rules.inline.blockSkip.exec(maskedSrc)) != null) {\n maskedSrc = maskedSrc.slice(0, match.index) + '[' + 'a'.repeat(match[0].length - 2) + ']' + maskedSrc.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);\n }\n\n // Mask out escaped characters\n while ((match = this.tokenizer.rules.inline.anyPunctuation.exec(maskedSrc)) != null) {\n maskedSrc = maskedSrc.slice(0, match.index) + '++' + maskedSrc.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);\n }\n\n while (src) {\n if (!keepPrevChar) {\n prevChar = '';\n }\n keepPrevChar = false;\n\n // extensions\n if (this.options.extensions\n && this.options.extensions.inline\n && this.options.extensions.inline.some((extTokenizer) => {\n if (token = extTokenizer.call({ lexer: this }, src, tokens)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n return true;\n }\n return false;\n })) {\n continue;\n }\n\n // escape\n if (token = this.tokenizer.escape(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // tag\n if (token = this.tokenizer.tag(src)) {\n src = src.substring(token.raw.length);\n lastToken = tokens[tokens.length - 1];\n if (lastToken && token.type === 'text' && lastToken.type === 'text') {\n lastToken.raw += token.raw;\n lastToken.text += token.text;\n } else {\n tokens.push(token);\n }\n continue;\n }\n\n // link\n if (token = this.tokenizer.link(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // reflink, nolink\n if (token = this.tokenizer.reflink(src, this.tokens.links)) {\n src = src.substring(token.raw.length);\n lastToken = tokens[tokens.length - 1];\n if (lastToken && token.type === 'text' && lastToken.type === 'text') {\n lastToken.raw += token.raw;\n lastToken.text += token.text;\n } else {\n tokens.push(token);\n }\n continue;\n }\n\n // em & strong\n if (token = this.tokenizer.emStrong(src, maskedSrc, prevChar)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // code\n if (token = this.tokenizer.codespan(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // br\n if (token = this.tokenizer.br(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // del (gfm)\n if (token = this.tokenizer.del(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // autolink\n if (token = this.tokenizer.autolink(src, mangle)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // url (gfm)\n if (!this.state.inLink && (token = this.tokenizer.url(src, mangle))) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // text\n // prevent inlineText consuming extensions by clipping 'src' to extension start\n cutSrc = src;\n if (this.options.extensions && this.options.extensions.startInline) {\n let startIndex = Infinity;\n const tempSrc = src.slice(1);\n let tempStart;\n this.options.extensions.startInline.forEach(function(getStartIndex) {\n tempStart = getStartIndex.call({ lexer: this }, tempSrc);\n if (typeof tempStart === 'number' && tempStart >= 0) { startIndex = Math.min(startIndex, tempStart); }\n });\n if (startIndex < Infinity && startIndex >= 0) {\n cutSrc = src.substring(0, startIndex + 1);\n }\n }\n if (token = this.tokenizer.inlineText(cutSrc, smartypants)) {\n src = src.substring(token.raw.length);\n if (token.raw.slice(-1) !== '_') { // Track prevChar before string of ____ started\n prevChar = token.raw.slice(-1);\n }\n keepPrevChar = true;\n lastToken = tokens[tokens.length - 1];\n if (lastToken && lastToken.type === 'text') {\n lastToken.raw += token.raw;\n lastToken.text += token.text;\n } else {\n tokens.push(token);\n }\n continue;\n }\n\n if (src) {\n const errMsg = 'Infinite loop on byte: ' + src.charCodeAt(0);\n if (this.options.silent) {\n console.error(errMsg);\n break;\n } else {\n throw new Error(errMsg);\n }\n }\n }\n\n return tokens;\n }\n}\n\n/**\n * Renderer\n */\nclass Renderer {\n constructor(options) {\n this.options = options || defaults;\n }\n\n code(code, infostring, escaped) {\n const lang = (infostring || '').match(/\\S*/)[0];\n if (this.options.highlight) {\n const out = this.options.highlight(code, lang);\n if (out != null && out !== code) {\n escaped = true;\n code = out;\n }\n }\n\n code = code.replace(/\\n$/, '') + '\\n';\n\n if (!lang) {\n return '
    '\n        + (escaped ? code : escape(code, true))\n        + '
    \\n';\n }\n\n return '
    '\n      + (escaped ? code : escape(code, true))\n      + '
    \\n';\n }\n\n /**\n * @param {string} quote\n */\n blockquote(quote) {\n return `
    \\n${quote}
    \\n`;\n }\n\n html(html, block) {\n return html;\n }\n\n /**\n * @param {string} text\n * @param {string} level\n * @param {string} raw\n * @param {any} slugger\n */\n heading(text, level, raw, slugger) {\n if (this.options.headerIds) {\n const id = this.options.headerPrefix + slugger.slug(raw);\n return `${text}\\n`;\n }\n\n // ignore IDs\n return `${text}\\n`;\n }\n\n hr() {\n return this.options.xhtml ? '
    \\n' : '
    \\n';\n }\n\n list(body, ordered, start) {\n const type = ordered ? 'ol' : 'ul',\n startatt = (ordered && start !== 1) ? (' start=\"' + start + '\"') : '';\n return '<' + type + startatt + '>\\n' + body + '\\n';\n }\n\n /**\n * @param {string} text\n */\n listitem(text) {\n return `
  • ${text}
  • \\n`;\n }\n\n checkbox(checked) {\n return ' ';\n }\n\n /**\n * @param {string} text\n */\n paragraph(text) {\n return `

    ${text}

    \\n`;\n }\n\n /**\n * @param {string} header\n * @param {string} body\n */\n table(header, body) {\n if (body) body = `${body}`;\n\n return '\\n'\n + '\\n'\n + header\n + '\\n'\n + body\n + '
    \\n';\n }\n\n /**\n * @param {string} content\n */\n tablerow(content) {\n return `\\n${content}\\n`;\n }\n\n tablecell(content, flags) {\n const type = flags.header ? 'th' : 'td';\n const tag = flags.align\n ? `<${type} align=\"${flags.align}\">`\n : `<${type}>`;\n return tag + content + `\\n`;\n }\n\n /**\n * span level renderer\n * @param {string} text\n */\n strong(text) {\n return `${text}`;\n }\n\n /**\n * @param {string} text\n */\n em(text) {\n return `${text}`;\n }\n\n /**\n * @param {string} text\n */\n codespan(text) {\n return `${text}`;\n }\n\n br() {\n return this.options.xhtml ? '
    ' : '
    ';\n }\n\n /**\n * @param {string} text\n */\n del(text) {\n return `${text}`;\n }\n\n /**\n * @param {string} href\n * @param {string} title\n * @param {string} text\n */\n link(href, title, text) {\n href = cleanUrl(this.options.sanitize, this.options.baseUrl, href);\n if (href === null) {\n return text;\n }\n let out = '
    ';\n return out;\n }\n\n /**\n * @param {string} href\n * @param {string} title\n * @param {string} text\n */\n image(href, title, text) {\n href = cleanUrl(this.options.sanitize, this.options.baseUrl, href);\n if (href === null) {\n return text;\n }\n\n let out = `\"${text}\"`;\n' : '>';\n return out;\n }\n\n text(text) {\n return text;\n }\n}\n\n/**\n * TextRenderer\n * returns only the textual part of the token\n */\nclass TextRenderer {\n // no need for block level renderers\n strong(text) {\n return text;\n }\n\n em(text) {\n return text;\n }\n\n codespan(text) {\n return text;\n }\n\n del(text) {\n return text;\n }\n\n html(text) {\n return text;\n }\n\n text(text) {\n return text;\n }\n\n link(href, title, text) {\n return '' + text;\n }\n\n image(href, title, text) {\n return '' + text;\n }\n\n br() {\n return '';\n }\n}\n\n/**\n * Slugger generates header id\n */\nclass Slugger {\n constructor() {\n this.seen = {};\n }\n\n /**\n * @param {string} value\n */\n serialize(value) {\n return value\n .toLowerCase()\n .trim()\n // remove html tags\n .replace(/<[!\\/a-z].*?>/ig, '')\n // remove unwanted chars\n .replace(/[\\u2000-\\u206F\\u2E00-\\u2E7F\\\\'!\"#$%&()*+,./:;<=>?@[\\]^`{|}~]/g, '')\n .replace(/\\s/g, '-');\n }\n\n /**\n * Finds the next safe (unique) slug to use\n * @param {string} originalSlug\n * @param {boolean} isDryRun\n */\n getNextSafeSlug(originalSlug, isDryRun) {\n let slug = originalSlug;\n let occurenceAccumulator = 0;\n if (this.seen.hasOwnProperty(slug)) {\n occurenceAccumulator = this.seen[originalSlug];\n do {\n occurenceAccumulator++;\n slug = originalSlug + '-' + occurenceAccumulator;\n } while (this.seen.hasOwnProperty(slug));\n }\n if (!isDryRun) {\n this.seen[originalSlug] = occurenceAccumulator;\n this.seen[slug] = 0;\n }\n return slug;\n }\n\n /**\n * Convert string to unique id\n * @param {object} [options]\n * @param {boolean} [options.dryrun] Generates the next unique slug without\n * updating the internal accumulator.\n */\n slug(value, options = {}) {\n const slug = this.serialize(value);\n return this.getNextSafeSlug(slug, options.dryrun);\n }\n}\n\n/**\n * Parsing & Compiling\n */\nclass Parser {\n constructor(options) {\n this.options = options || defaults;\n this.options.renderer = this.options.renderer || new Renderer();\n this.renderer = this.options.renderer;\n this.renderer.options = this.options;\n this.textRenderer = new TextRenderer();\n this.slugger = new Slugger();\n }\n\n /**\n * Static Parse Method\n */\n static parse(tokens, options) {\n const parser = new Parser(options);\n return parser.parse(tokens);\n }\n\n /**\n * Static Parse Inline Method\n */\n static parseInline(tokens, options) {\n const parser = new Parser(options);\n return parser.parseInline(tokens);\n }\n\n /**\n * Parse Loop\n */\n parse(tokens, top = true) {\n let out = '',\n i,\n j,\n k,\n l2,\n l3,\n row,\n cell,\n header,\n body,\n token,\n ordered,\n start,\n loose,\n itemBody,\n item,\n checked,\n task,\n checkbox,\n ret;\n\n const l = tokens.length;\n for (i = 0; i < l; i++) {\n token = tokens[i];\n\n // Run any renderer extensions\n if (this.options.extensions && this.options.extensions.renderers && this.options.extensions.renderers[token.type]) {\n ret = this.options.extensions.renderers[token.type].call({ parser: this }, token);\n if (ret !== false || !['space', 'hr', 'heading', 'code', 'table', 'blockquote', 'list', 'html', 'paragraph', 'text'].includes(token.type)) {\n out += ret || '';\n continue;\n }\n }\n\n switch (token.type) {\n case 'space': {\n continue;\n }\n case 'hr': {\n out += this.renderer.hr();\n continue;\n }\n case 'heading': {\n out += this.renderer.heading(\n this.parseInline(token.tokens),\n token.depth,\n unescape(this.parseInline(token.tokens, this.textRenderer)),\n this.slugger);\n continue;\n }\n case 'code': {\n out += this.renderer.code(token.text,\n token.lang,\n token.escaped);\n continue;\n }\n case 'table': {\n header = '';\n\n // header\n cell = '';\n l2 = token.header.length;\n for (j = 0; j < l2; j++) {\n cell += this.renderer.tablecell(\n this.parseInline(token.header[j].tokens),\n { header: true, align: token.align[j] }\n );\n }\n header += this.renderer.tablerow(cell);\n\n body = '';\n l2 = token.rows.length;\n for (j = 0; j < l2; j++) {\n row = token.rows[j];\n\n cell = '';\n l3 = row.length;\n for (k = 0; k < l3; k++) {\n cell += this.renderer.tablecell(\n this.parseInline(row[k].tokens),\n { header: false, align: token.align[k] }\n );\n }\n\n body += this.renderer.tablerow(cell);\n }\n out += this.renderer.table(header, body);\n continue;\n }\n case 'blockquote': {\n body = this.parse(token.tokens);\n out += this.renderer.blockquote(body);\n continue;\n }\n case 'list': {\n ordered = token.ordered;\n start = token.start;\n loose = token.loose;\n l2 = token.items.length;\n\n body = '';\n for (j = 0; j < l2; j++) {\n item = token.items[j];\n checked = item.checked;\n task = item.task;\n\n itemBody = '';\n if (item.task) {\n checkbox = this.renderer.checkbox(checked);\n if (loose) {\n if (item.tokens.length > 0 && item.tokens[0].type === 'paragraph') {\n item.tokens[0].text = checkbox + ' ' + item.tokens[0].text;\n if (item.tokens[0].tokens && item.tokens[0].tokens.length > 0 && item.tokens[0].tokens[0].type === 'text') {\n item.tokens[0].tokens[0].text = checkbox + ' ' + item.tokens[0].tokens[0].text;\n }\n } else {\n item.tokens.unshift({\n type: 'text',\n text: checkbox\n });\n }\n } else {\n itemBody += checkbox;\n }\n }\n\n itemBody += this.parse(item.tokens, loose);\n body += this.renderer.listitem(itemBody, task, checked);\n }\n\n out += this.renderer.list(body, ordered, start);\n continue;\n }\n case 'html': {\n out += this.renderer.html(token.text, token.block);\n continue;\n }\n case 'paragraph': {\n out += this.renderer.paragraph(this.parseInline(token.tokens));\n continue;\n }\n case 'text': {\n body = token.tokens ? this.parseInline(token.tokens) : token.text;\n while (i + 1 < l && tokens[i + 1].type === 'text') {\n token = tokens[++i];\n body += '\\n' + (token.tokens ? this.parseInline(token.tokens) : token.text);\n }\n out += top ? this.renderer.paragraph(body) : body;\n continue;\n }\n\n default: {\n const errMsg = 'Token with \"' + token.type + '\" type was not found.';\n if (this.options.silent) {\n console.error(errMsg);\n return;\n } else {\n throw new Error(errMsg);\n }\n }\n }\n }\n\n return out;\n }\n\n /**\n * Parse Inline Tokens\n */\n parseInline(tokens, renderer) {\n renderer = renderer || this.renderer;\n let out = '',\n i,\n token,\n ret;\n\n const l = tokens.length;\n for (i = 0; i < l; i++) {\n token = tokens[i];\n\n // Run any renderer extensions\n if (this.options.extensions && this.options.extensions.renderers && this.options.extensions.renderers[token.type]) {\n ret = this.options.extensions.renderers[token.type].call({ parser: this }, token);\n if (ret !== false || !['escape', 'html', 'link', 'image', 'strong', 'em', 'codespan', 'br', 'del', 'text'].includes(token.type)) {\n out += ret || '';\n continue;\n }\n }\n\n switch (token.type) {\n case 'escape': {\n out += renderer.text(token.text);\n break;\n }\n case 'html': {\n out += renderer.html(token.text);\n break;\n }\n case 'link': {\n out += renderer.link(token.href, token.title, this.parseInline(token.tokens, renderer));\n break;\n }\n case 'image': {\n out += renderer.image(token.href, token.title, token.text);\n break;\n }\n case 'strong': {\n out += renderer.strong(this.parseInline(token.tokens, renderer));\n break;\n }\n case 'em': {\n out += renderer.em(this.parseInline(token.tokens, renderer));\n break;\n }\n case 'codespan': {\n out += renderer.codespan(token.text);\n break;\n }\n case 'br': {\n out += renderer.br();\n break;\n }\n case 'del': {\n out += renderer.del(this.parseInline(token.tokens, renderer));\n break;\n }\n case 'text': {\n out += renderer.text(token.text);\n break;\n }\n default: {\n const errMsg = 'Token with \"' + token.type + '\" type was not found.';\n if (this.options.silent) {\n console.error(errMsg);\n return;\n } else {\n throw new Error(errMsg);\n }\n }\n }\n }\n return out;\n }\n}\n\nclass Hooks {\n constructor(options) {\n this.options = options || defaults;\n }\n\n static passThroughHooks = new Set([\n 'preprocess',\n 'postprocess'\n ]);\n\n /**\n * Process markdown before marked\n */\n preprocess(markdown) {\n return markdown;\n }\n\n /**\n * Process HTML after marked is finished\n */\n postprocess(html) {\n return html;\n }\n}\n\nclass Marked {\n defaults = getDefaults();\n options = this.setOptions;\n\n parse = this.#parseMarkdown(Lexer.lex, Parser.parse);\n parseInline = this.#parseMarkdown(Lexer.lexInline, Parser.parseInline);\n\n Parser = Parser;\n parser = Parser.parse;\n Renderer = Renderer;\n TextRenderer = TextRenderer;\n Lexer = Lexer;\n lexer = Lexer.lex;\n Tokenizer = Tokenizer;\n Slugger = Slugger;\n Hooks = Hooks;\n\n constructor(...args) {\n this.use(...args);\n }\n\n walkTokens(tokens, callback) {\n let values = [];\n for (const token of tokens) {\n values = values.concat(callback.call(this, token));\n switch (token.type) {\n case 'table': {\n for (const cell of token.header) {\n values = values.concat(this.walkTokens(cell.tokens, callback));\n }\n for (const row of token.rows) {\n for (const cell of row) {\n values = values.concat(this.walkTokens(cell.tokens, callback));\n }\n }\n break;\n }\n case 'list': {\n values = values.concat(this.walkTokens(token.items, callback));\n break;\n }\n default: {\n if (this.defaults.extensions && this.defaults.extensions.childTokens && this.defaults.extensions.childTokens[token.type]) { // Walk any extensions\n this.defaults.extensions.childTokens[token.type].forEach((childTokens) => {\n values = values.concat(this.walkTokens(token[childTokens], callback));\n });\n } else if (token.tokens) {\n values = values.concat(this.walkTokens(token.tokens, callback));\n }\n }\n }\n }\n return values;\n }\n\n use(...args) {\n const extensions = this.defaults.extensions || { renderers: {}, childTokens: {} };\n\n args.forEach((pack) => {\n // copy options to new object\n const opts = { ...pack };\n\n // set async to true if it was set to true before\n opts.async = this.defaults.async || opts.async || false;\n\n // ==-- Parse \"addon\" extensions --== //\n if (pack.extensions) {\n pack.extensions.forEach((ext) => {\n if (!ext.name) {\n throw new Error('extension name required');\n }\n if (ext.renderer) { // Renderer extensions\n const prevRenderer = extensions.renderers[ext.name];\n if (prevRenderer) {\n // Replace extension with func to run new extension but fall back if false\n extensions.renderers[ext.name] = function(...args) {\n let ret = ext.renderer.apply(this, args);\n if (ret === false) {\n ret = prevRenderer.apply(this, args);\n }\n return ret;\n };\n } else {\n extensions.renderers[ext.name] = ext.renderer;\n }\n }\n if (ext.tokenizer) { // Tokenizer Extensions\n if (!ext.level || (ext.level !== 'block' && ext.level !== 'inline')) {\n throw new Error(\"extension level must be 'block' or 'inline'\");\n }\n if (extensions[ext.level]) {\n extensions[ext.level].unshift(ext.tokenizer);\n } else {\n extensions[ext.level] = [ext.tokenizer];\n }\n if (ext.start) { // Function to check for start of token\n if (ext.level === 'block') {\n if (extensions.startBlock) {\n extensions.startBlock.push(ext.start);\n } else {\n extensions.startBlock = [ext.start];\n }\n } else if (ext.level === 'inline') {\n if (extensions.startInline) {\n extensions.startInline.push(ext.start);\n } else {\n extensions.startInline = [ext.start];\n }\n }\n }\n }\n if (ext.childTokens) { // Child tokens to be visited by walkTokens\n extensions.childTokens[ext.name] = ext.childTokens;\n }\n });\n opts.extensions = extensions;\n }\n\n // ==-- Parse \"overwrite\" extensions --== //\n if (pack.renderer) {\n const renderer = this.defaults.renderer || new Renderer(this.defaults);\n for (const prop in pack.renderer) {\n const prevRenderer = renderer[prop];\n // Replace renderer with func to run extension, but fall back if false\n renderer[prop] = (...args) => {\n let ret = pack.renderer[prop].apply(renderer, args);\n if (ret === false) {\n ret = prevRenderer.apply(renderer, args);\n }\n return ret;\n };\n }\n opts.renderer = renderer;\n }\n if (pack.tokenizer) {\n const tokenizer = this.defaults.tokenizer || new Tokenizer(this.defaults);\n for (const prop in pack.tokenizer) {\n const prevTokenizer = tokenizer[prop];\n // Replace tokenizer with func to run extension, but fall back if false\n tokenizer[prop] = (...args) => {\n let ret = pack.tokenizer[prop].apply(tokenizer, args);\n if (ret === false) {\n ret = prevTokenizer.apply(tokenizer, args);\n }\n return ret;\n };\n }\n opts.tokenizer = tokenizer;\n }\n\n // ==-- Parse Hooks extensions --== //\n if (pack.hooks) {\n const hooks = this.defaults.hooks || new Hooks();\n for (const prop in pack.hooks) {\n const prevHook = hooks[prop];\n if (Hooks.passThroughHooks.has(prop)) {\n hooks[prop] = (arg) => {\n if (this.defaults.async) {\n return Promise.resolve(pack.hooks[prop].call(hooks, arg)).then(ret => {\n return prevHook.call(hooks, ret);\n });\n }\n\n const ret = pack.hooks[prop].call(hooks, arg);\n return prevHook.call(hooks, ret);\n };\n } else {\n hooks[prop] = (...args) => {\n let ret = pack.hooks[prop].apply(hooks, args);\n if (ret === false) {\n ret = prevHook.apply(hooks, args);\n }\n return ret;\n };\n }\n }\n opts.hooks = hooks;\n }\n\n // ==-- Parse WalkTokens extensions --== //\n if (pack.walkTokens) {\n const walkTokens = this.defaults.walkTokens;\n opts.walkTokens = function(token) {\n let values = [];\n values.push(pack.walkTokens.call(this, token));\n if (walkTokens) {\n values = values.concat(walkTokens.call(this, token));\n }\n return values;\n };\n }\n\n this.defaults = { ...this.defaults, ...opts };\n });\n\n return this;\n }\n\n setOptions(opt) {\n this.defaults = { ...this.defaults, ...opt };\n return this;\n }\n\n #parseMarkdown(lexer, parser) {\n return (src, opt, callback) => {\n if (typeof opt === 'function') {\n callback = opt;\n opt = null;\n }\n\n const origOpt = { ...opt };\n opt = { ...this.defaults, ...origOpt };\n const throwError = this.#onError(opt.silent, opt.async, callback);\n\n // throw error in case of non string input\n if (typeof src === 'undefined' || src === null) {\n return throwError(new Error('marked(): input parameter is undefined or null'));\n }\n if (typeof src !== 'string') {\n return throwError(new Error('marked(): input parameter is of type '\n + Object.prototype.toString.call(src) + ', string expected'));\n }\n\n checkDeprecations(opt, callback);\n\n if (opt.hooks) {\n opt.hooks.options = opt;\n }\n\n if (callback) {\n const highlight = opt.highlight;\n let tokens;\n\n try {\n if (opt.hooks) {\n src = opt.hooks.preprocess(src);\n }\n tokens = lexer(src, opt);\n } catch (e) {\n return throwError(e);\n }\n\n const done = (err) => {\n let out;\n\n if (!err) {\n try {\n if (opt.walkTokens) {\n this.walkTokens(tokens, opt.walkTokens);\n }\n out = parser(tokens, opt);\n if (opt.hooks) {\n out = opt.hooks.postprocess(out);\n }\n } catch (e) {\n err = e;\n }\n }\n\n opt.highlight = highlight;\n\n return err\n ? throwError(err)\n : callback(null, out);\n };\n\n if (!highlight || highlight.length < 3) {\n return done();\n }\n\n delete opt.highlight;\n\n if (!tokens.length) return done();\n\n let pending = 0;\n this.walkTokens(tokens, (token) => {\n if (token.type === 'code') {\n pending++;\n setTimeout(() => {\n highlight(token.text, token.lang, (err, code) => {\n if (err) {\n return done(err);\n }\n if (code != null && code !== token.text) {\n token.text = code;\n token.escaped = true;\n }\n\n pending--;\n if (pending === 0) {\n done();\n }\n });\n }, 0);\n }\n });\n\n if (pending === 0) {\n done();\n }\n\n return;\n }\n\n if (opt.async) {\n return Promise.resolve(opt.hooks ? opt.hooks.preprocess(src) : src)\n .then(src => lexer(src, opt))\n .then(tokens => opt.walkTokens ? Promise.all(this.walkTokens(tokens, opt.walkTokens)).then(() => tokens) : tokens)\n .then(tokens => parser(tokens, opt))\n .then(html => opt.hooks ? opt.hooks.postprocess(html) : html)\n .catch(throwError);\n }\n\n try {\n if (opt.hooks) {\n src = opt.hooks.preprocess(src);\n }\n const tokens = lexer(src, opt);\n if (opt.walkTokens) {\n this.walkTokens(tokens, opt.walkTokens);\n }\n let html = parser(tokens, opt);\n if (opt.hooks) {\n html = opt.hooks.postprocess(html);\n }\n return html;\n } catch (e) {\n return throwError(e);\n }\n };\n }\n\n #onError(silent, async, callback) {\n return (e) => {\n e.message += '\\nPlease report this to https://github.com/markedjs/this.';\n\n if (silent) {\n const msg = '

    An error occurred:

    '\n          + escape(e.message + '', true)\n          + '
    ';\n if (async) {\n return Promise.resolve(msg);\n }\n if (callback) {\n callback(null, msg);\n return;\n }\n return msg;\n }\n\n if (async) {\n return Promise.reject(e);\n }\n if (callback) {\n callback(e);\n return;\n }\n throw e;\n };\n }\n}\n\nconst markedInstance = new Marked(defaults);\n\n/**\n * Marked\n */\nfunction marked(src, opt, callback) {\n return markedInstance.parse(src, opt, callback);\n}\n\n/**\n * Options\n */\n\nmarked.options =\nmarked.setOptions = function(opt) {\n markedInstance.setOptions(opt);\n marked.defaults = markedInstance.defaults;\n changeDefaults(marked.defaults);\n return marked;\n};\n\nmarked.getDefaults = getDefaults;\n\nmarked.defaults = defaults;\n\n/**\n * Use Extension\n */\n\nmarked.use = function(...args) {\n markedInstance.use(...args);\n marked.defaults = markedInstance.defaults;\n changeDefaults(marked.defaults);\n return marked;\n};\n\n/**\n * Run callback for every token\n */\n\nmarked.walkTokens = function(tokens, callback) {\n return markedInstance.walkTokens(tokens, callback);\n};\n\n/**\n * Parse Inline\n * @param {string} src\n */\nmarked.parseInline = markedInstance.parseInline;\n\n/**\n * Expose\n */\nmarked.Parser = Parser;\nmarked.parser = Parser.parse;\nmarked.Renderer = Renderer;\nmarked.TextRenderer = TextRenderer;\nmarked.Lexer = Lexer;\nmarked.lexer = Lexer.lex;\nmarked.Tokenizer = Tokenizer;\nmarked.Slugger = Slugger;\nmarked.Hooks = Hooks;\nmarked.parse = marked;\n\nconst options = marked.options;\nconst setOptions = marked.setOptions;\nconst use = marked.use;\nconst walkTokens = marked.walkTokens;\nconst parseInline = marked.parseInline;\nconst parse = marked;\nconst parser = Parser.parse;\nconst lexer = Lexer.lex;\n\nexport { Hooks, Lexer, Marked, Parser, Renderer, Slugger, TextRenderer, Tokenizer, defaults, getDefaults, lexer, marked, options, parse, parseInline, parser, setOptions, use, walkTokens };\n","\n\n\n\n\n\n","import script from \"./DescriptionInfo.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./DescriptionInfo.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./DescriptionInfo.vue?vue&type=style&index=0&id=7062c208&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-7062c208\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./Depositors.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./Depositors.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./Depositors.vue?vue&type=style&index=0&id=6aad82fa&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-6aad82fa\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./VotesInfo.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./VotesInfo.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./VotesInfo.vue?vue&type=style&index=0&id=5bd14508&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-5bd14508\"]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Loader.vue?vue&type=template&id=98cd1d18&scoped=true\"\nconst script = {}\n\nimport \"./Loader.vue?vue&type=style&index=0&id=98cd1d18&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-98cd1d18\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./DepositModal.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./DepositModal.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./DepositModal.vue?vue&type=style&index=0&id=024285fd&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-024285fd\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./ProposalInfo.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./ProposalInfo.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./ProposalInfo.vue?vue&type=style&index=0&id=38514a4b&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-38514a4b\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./Proposal.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./Proposal.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./Proposal.vue?vue&type=style&index=0&id=66e1e89c&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-66e1e89c\"]])\n\nexport default __exports__"],"names":["store","useGlobalStore","checkSuspicious","title","result","forbiddenWords","titleArr","toLowerCase","split","char","includes","__exports__","_checkPrivateRedeclaration","obj","privateCollection","has","TypeError","_classPrivateMethodInitSpec","privateSet","checkPrivateRedeclaration","add","_classPrivateMethodGet","receiver","fn","getDefaults","async","baseUrl","breaks","extensions","gfm","headerIds","headerPrefix","highlight","hooks","langPrefix","mangle","pedantic","renderer","sanitize","sanitizer","silent","smartypants","tokenizer","walkTokens","xhtml","defaults","changeDefaults","newDefaults","escapeTest","escapeReplace","RegExp","source","escapeTestNoEncode","escapeReplaceNoEncode","escapeReplacements","getEscapeReplacement","ch","escape","html","encode","test","replace","unescapeTest","unescape","_","n","charAt","String","fromCharCode","parseInt","substring","caret","edit","regex","opt","name","val","getRegex","nonWordAndColonTest","originIndependentUrl","cleanUrl","base","href","prot","decodeURIComponent","e","indexOf","resolveUrl","encodeURI","baseUrls","justDomain","protocol","domain","rtrim","relativeBase","noopTest","exec","splitCells","tableRow","count","row","match","offset","str","escaped","curr","cells","i","trim","shift","length","pop","splice","push","c","invert","l","suffLen","currChar","slice","findClosingBracket","b","level","checkDeprecations","callback","console","warn","outputLink","cap","link","raw","lexer","text","state","inLink","token","type","tokens","inlineTokens","indentCodeCompensation","matchIndentToCode","indentToCode","map","node","matchIndentInNode","indentInNode","join","Tokenizer","constructor","options","this","space","src","rules","block","newline","code","codeBlockStyle","fences","lang","inline","_escapes","heading","trimmed","depth","hr","blockquote","top","blockTokens","list","istask","ischecked","indent","blankLine","endsWithBlankLine","line","nextLine","rawLine","itemContents","endEarly","bull","isordered","ordered","start","loose","items","itemRegex","t","repeat","trimLeft","search","nextBulletRegex","Math","min","hrRegex","fencesBeginRegex","headingBeginRegex","task","checked","trimRight","spacers","filter","hasMultipleLineBreaks","some","pre","def","tag","table","item","header","align","rows","j","k","lheading","paragraph","inRawBlock","trimmedUrl","rtrimSlash","lastParenIndex","linkLen","reflink","links","nolink","emStrong","maskedSrc","prevChar","lDelim","nextChar","punctuation","lLength","rDelim","rLength","delimTotal","midDelimTotal","endReg","rDelimAst","rDelimUnd","lastIndex","index","codespan","hasNonSpaceChars","hasSpaceCharsOnBothEnds","br","del","autolink","url","prevCapZero","_backpedal","inlineText","_paragraph","_label","_title","bullet","listItemStart","_tag","_comment","normal","reflinkSearch","out","charCodeAt","random","toString","_punctuation","blockSkip","anyPunctuation","_scheme","_email","_attribute","_href","strong","middle","endAst","endUnd","em","_extended_email","Lexer","Object","create","inlineQueue","static","lex","next","lastToken","cutSrc","lastParagraphClipped","leading","tabs","extTokenizer","call","startBlock","startIndex","Infinity","tempSrc","tempStart","forEach","getStartIndex","errMsg","error","Error","keepPrevChar","keys","lastIndexOf","startInline","Renderer","infostring","quote","slugger","id","slug","body","startatt","listitem","checkbox","tablerow","content","tablecell","flags","image","TextRenderer","Slugger","seen","serialize","value","getNextSafeSlug","originalSlug","isDryRun","occurenceAccumulator","hasOwnProperty","dryrun","Parser","textRenderer","parser","parse","parseInline","l2","l3","cell","itemBody","ret","renderers","unshift","Hooks","preprocess","markdown","postprocess","_defineProperty","Set","_parseMarkdown","WeakSet","_onError","Marked","args","setOptions","_parseMarkdown2","lexInline","use","values","concat","childTokens","pack","opts","ext","prevRenderer","apply","prop","prevTokenizer","prevHook","passThroughHooks","arg","Promise","resolve","then","origOpt","throwError","_onError2","prototype","done","err","pending","setTimeout","all","catch","message","msg","reject","markedInstance","marked","showDescription","ref","parseMarkdown","data","userTimeZone","Date","getTimezoneOffset","dateCalc","date","currentDate","setHours","getHours","loading","validators","walletValidators","currentFilter","imageLoadError","event","target","classList","getVotesData","fetch","currentProposalId","res","json","response","delegators","voting_power_rank","getValidatorsWallet","currentAddress","generateAddress","networks","currentNetwork","address_prefix","account","currentWallet","checkValidator","operator_address","find","el","getFilterCount","status","validator_option","VOTE_OPTION_YES","VOTE_OPTION_NO","VOTE_OPTION_NO_WITH_VETO","VOTE_OPTION_ABSTAIN","VOTE_OPTION_WEIGHTED","filterValidators","sort","a","calcPercents","validator","sum","delegators_shares_option_yes","delegators_shares_option_nwv","delegators_shares_option_no","calcCommunityPercents","delegators_shares_option_abstain","pow","exponent","voting_power","onBeforeMount","class","_hoisted_2","_createElementBlock","_hoisted_1","_hoisted_3","script","render","i18n","inject","emitter","notification","useNotification","loader","amount","balance","getCurrentAccountBalance","wallet","wallets","address","networkInWallet","network","liquid","native","index_api","cosmoshub","setAmount","parseFloat","onSubmit","notify","group","duration","global","msgAny","typeUrl","proposalId","props","proposal","depositor","Keplr","denom","toFixed","prepareResult","prepareTx","sendTx","lastTXS","transactionHash","clean","chain","tx_type","refreshProposalData","emit","ChartJS","register","ArcElement","voteLoading","showAccountDropdown","showDepositModal","chartOptions","reactive","responsive","plugins","legend","tooltip","animation","transitions","active","chart","chartColors","depositChartColors","chartData","computed","datasets","chartDatasets","backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","borderAlign","cutout","getCurrentAccount","nickname","selectWallet","getProgressPercents","tally_abstain","tally_no","tally_no_with_veto","tally_yes","calcTurnout","stakingPool","isQuorum","setVote","option","voter","log","on","urlParams","useUrlSearchParams","activeTab","tab","currentVote","votes","getProposalData","remnant","proposal_need","deposit","getCurrentVote","proposer_address","valoperAddress","toBech32","fromBech32","moniker","vote","setActiveTab","moonPassportOwnerAddress"],"sourceRoot":""} \ No newline at end of file diff --git a/js/483.a6bcb25d.js b/js/483.a6bcb25d.js deleted file mode 100644 index a7b4da8..0000000 --- a/js/483.a6bcb25d.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkbro_app"]=self["webpackChunkbro_app"]||[]).push([[483],{20633:function(s,e,t){t.r(e),t.d(e,{default:function(){return be}});var l=t(73396),o=t(44870),a=t(87139),i=t(49242),n=t(27795),r=t.p+"img/empty_proposals.40cc1f50.svg",_=t(34776),c=t(90466);const p=s=>((0,l.dD)("data-v-37cd2cb6"),s=s(),(0,l.Cn)(),s),d=n+"#ic_arr_down",v={class:"networks"},u=["onClick"],w=p((()=>(0,l._)("svg",{class:"arr"},[(0,l._)("use",{"xlink:href":d})],-1))),g={class:"list"},k=p((()=>(0,l._)("div",{class:"logo"},[(0,l._)("img",{src:"/cosmoshub_logo.png",alt:""})],-1))),f={class:"name"},m={class:"token"},S=p((()=>(0,l._)("div",{class:"logo"},[(0,l._)("img",{src:"/bostrom_logo.png",alt:""})],-1))),y={class:"name"},b={class:"token"};var h={__name:"Networks",setup(s){const e=(0,_.s)();function t(s){s.target.classList.toggle("active")}return(s,n)=>{const r=(0,l.up)("router-link");return(0,l.wg)(),(0,l.iD)("section",v,[(0,l._)("div",{class:"title",onClick:(0,i.iM)(t,["prevent"])},[(0,l._)("span",null,(0,a.zw)(s.$t("message.account_networks_title")),1),w],8,u),(0,l._)("div",g,[(0,l.Wm)(r,{to:"/proposals/cosmoshub",class:(0,a.C_)(["network",{active:"cosmoshub"==(0,o.SU)(e).currentNetwork}])},{default:(0,l.w5)((()=>[k,(0,l._)("div",null,[(0,l._)("div",f,(0,a.zw)((0,o.SU)(e).networks.cosmoshub.name),1),(0,l._)("div",m,(0,a.zw)((0,o.SU)(e).networks.cosmoshub.token_name),1)])])),_:1},8,["class"]),(0,l.Wm)(r,{to:"/proposals/bostrom",class:(0,a.C_)(["network",{active:"bostrom"==(0,o.SU)(e).currentNetwork}])},{default:(0,l.w5)((()=>[S,(0,l._)("div",null,[(0,l._)("div",y,(0,a.zw)((0,o.SU)(e).networks.bostrom.name),1),(0,l._)("div",b,(0,a.zw)((0,o.SU)(e).networks.bostrom.token_name),1)])])),_:1},8,["class"])])])}}},z=t(40089);const O=(0,z.Z)(h,[["__scopeId","data-v-37cd2cb6"]]);var P=O,D=t(42325);const U=s=>((0,l.dD)("data-v-0b88992a"),s=s(),(0,l.Cn)(),s),T=n+"#ic_status_deposite",$=n+"#ic_status_voting",R=n+"#ic_status_passed",A=n+"#ic_status_rejected",E={class:"network_logo"},C=["src"],j={class:"status"},x={key:0,class:"violet"},I=U((()=>(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":T})],-1))),L={key:1,class:"blue"},N=U((()=>(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":$})],-1))),q={key:2,class:"green"},H=U((()=>(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":R})],-1))),F={key:3,class:"red"},M=U((()=>(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":A})],-1))),W={key:0,class:"date"},G={key:1,class:"date"},J={key:2,class:"date"},V={class:"name"},Y={class:"desc"},B={key:3,class:"progress"},Z={class:"bar"},K={class:"funds"},Q={class:"label"},X={class:"val"},ss={class:"label"},es={class:"val"},ts={key:4,class:"progress"},ls={class:"bar"},os={class:"exp"},as={class:"yes green"},is={class:"label"},ns={class:"val"},rs={class:"no orange"},_s={class:"label"},cs={class:"val"},ps={class:"nwv red"},ds={class:"label"},vs={class:"val"},us={key:5,class:"progress"},ws={class:"bar"},gs={class:"exp"},ks={class:"yes green"},fs={class:"label"},ms={class:"val"},Ss={class:"no orange"},ys={class:"label"},bs={class:"val"},hs={class:"nwv red"},zs={class:"label"},Os={class:"val"},Ps={class:"abstain grey"},Ds={class:"label"},Us={class:"val"};var Ts={__name:"ProposalsItem",props:["proposal"],setup(s){const e=s,t=(0,_.s)(),i=(new Date).getTimezoneOffset()/60*-1,n=(0,c.BKj)(r(e.proposal.voting_end_time));function r(s){let e=new Date(s);return new Date(e.setHours(e.getHours()+i))}function p(s){let t=e.proposal.tally_no+e.proposal.tally_no_with_veto+e.proposal.tally_yes;return(s/t*100).toFixed(2)}function d(s){let t=e.proposal.tally_abstain+e.proposal.tally_no+e.proposal.tally_no_with_veto+e.proposal.tally_yes;return(s/t*100).toFixed(2)}return(i,_)=>{const c=(0,l.up)("vue-countdown"),v=(0,l.up)("router-link");return(0,l.wg)(),(0,l.j4)(v,{to:`/${(0,o.SU)(t).currentNetwork}/proposal/${e.proposal.id}`,class:"proposal"},{default:(0,l.w5)((()=>[(0,l._)("div",E,[(0,l._)("img",{src:`/${(0,o.SU)(t).currentNetwork}_logo.png`,alt:""},null,8,C)]),(0,l._)("div",j,["PROPOSAL_STATUS_DEPOSIT_PERIOD"==e.proposal.status?((0,l.wg)(),(0,l.iD)("div",x,[I,(0,l._)("span",null,(0,a.zw)(i.$t("message.account_proposals_status_deposite")),1)])):(0,l.kq)("",!0),"PROPOSAL_STATUS_VOTING_PERIOD"==e.proposal.status?((0,l.wg)(),(0,l.iD)("div",L,[N,(0,l._)("span",null,(0,a.zw)(i.$t("message.account_proposals_status_voting")),1)])):(0,l.kq)("",!0),"PROPOSAL_STATUS_PASSED"==e.proposal.status?((0,l.wg)(),(0,l.iD)("div",q,[H,(0,l._)("span",null,(0,a.zw)(i.$t("message.account_proposals_status_passed")),1)])):(0,l.kq)("",!0),"PROPOSAL_STATUS_REJECTED"==e.proposal.status?((0,l.wg)(),(0,l.iD)("div",F,[M,(0,l._)("span",null,(0,a.zw)(i.$t("message.account_proposals_status_rejected")),1)])):(0,l.kq)("",!0)]),"PROPOSAL_STATUS_DEPOSIT_PERIOD"==e.proposal.status?((0,l.wg)(),(0,l.iD)("div",W,[(0,l.Wm)(c,{time:r(s.proposal.deposit_end_time)-new Date},{default:(0,l.w5)((({days:s,hours:e,minutes:t,seconds:o})=>[(0,l.Uk)((0,a.zw)(s)+"D : "+(0,a.zw)(e)+"H : "+(0,a.zw)(t)+"M : "+(0,a.zw)(o)+"S ",1)])),_:1},8,["time"])])):(0,l.kq)("",!0),"PROPOSAL_STATUS_VOTING_PERIOD"==e.proposal.status?((0,l.wg)(),(0,l.iD)("div",G,[(0,l.Wm)(c,{time:r(s.proposal.voting_end_time)-new Date},{default:(0,l.w5)((({days:s,hours:e,minutes:t,seconds:o})=>[(0,l.Uk)((0,a.zw)(s)+"D : "+(0,a.zw)(e)+"H : "+(0,a.zw)(t)+"M : "+(0,a.zw)(o)+"S ",1)])),_:1},8,["time"])])):(0,l.kq)("",!0),"PROPOSAL_STATUS_PASSED"==e.proposal.status||"PROPOSAL_STATUS_REJECTED"==e.proposal.status?((0,l.wg)(),(0,l.iD)("div",J,[(0,l._)("div",null,(0,a.zw)(i.$t("message.proposal_date_label_default")),1),(0,l._)("div",null,(0,a.zw)((0,o.SU)(n)),1)])):(0,l.kq)("",!0),(0,l._)("div",V,"#"+(0,a.zw)(e.proposal.id)+" "+(0,a.zw)(e.proposal.title),1),(0,l._)("div",Y,(0,a.zw)(e.proposal.description),1),"PROPOSAL_STATUS_DEPOSIT_PERIOD"==e.proposal.status?((0,l.wg)(),(0,l.iD)("div",B,[(0,l._)("div",Z,[(0,l._)("div",{class:"violet",style:(0,a.j5)(`width: ${i.$filters.toFixed((0,o.SU)(D.LH)(e.proposal.deposit,(0,o.SU)(t).networks[(0,o.SU)(t).currentNetwork].token_name)/(0,o.SU)(t).networks[(0,o.SU)(t).currentNetwork].proposal_need*100,2)}%;`)},null,4)]),(0,l._)("div",K,[(0,l._)("div",null,[(0,l._)("div",Q,(0,a.zw)(i.$t("message.proposal_deposite_label_collected")),1),(0,l._)("div",X,(0,a.zw)(i.$filters.toFixed((0,o.SU)(D.LH)(e.proposal.deposit,(0,o.SU)(t).networks[(0,o.SU)(t).currentNetwork].token_name),0))+" "+(0,a.zw)((0,o.SU)(D.uR)((0,o.SU)(t).networks[(0,o.SU)(t).currentNetwork].token_name)),1)]),(0,l._)("div",null,[(0,l._)("div",ss,(0,a.zw)(i.$t("message.proposal_deposite_label_necessary")),1),(0,l._)("div",es,(0,a.zw)((0,o.SU)(t).networks[(0,o.SU)(t).currentNetwork].proposal_need)+" "+(0,a.zw)((0,o.SU)(D.uR)((0,o.SU)(t).networks[(0,o.SU)(t).currentNetwork].token_name)),1)])])])):(0,l.kq)("",!0),"PROPOSAL_STATUS_VOTING_PERIOD"==e.proposal.status?((0,l.wg)(),(0,l.iD)("div",ts,[(0,l._)("div",ls,[(0,l._)("div",{class:"yes green",style:(0,a.j5)(`width: ${p(e.proposal.tally_yes)}%;`)},null,4),(0,l._)("div",{class:"no orange",style:(0,a.j5)(`width: ${p(e.proposal.tally_no)}%;`)},null,4),(0,l._)("div",{class:"nwv red",style:(0,a.j5)(`width: ${p(e.proposal.tally_no_with_veto)}%;`)},null,4)]),(0,l._)("div",os,[(0,l._)("div",as,[(0,l._)("div",is,(0,a.zw)(i.$t("message.proposal_voting_label_yes")),1),(0,l._)("div",ns,(0,a.zw)(p(e.proposal.tally_yes))+"%",1)]),(0,l._)("div",rs,[(0,l._)("div",_s,(0,a.zw)(i.$t("message.proposal_voting_label_no")),1),(0,l._)("div",cs,(0,a.zw)(p(e.proposal.tally_no))+"%",1)]),(0,l._)("div",ps,[(0,l._)("div",ds,(0,a.zw)(i.$t("message.proposal_voting_label_nwv")),1),(0,l._)("div",vs,(0,a.zw)(p(e.proposal.tally_no_with_veto))+"%",1)])])])):(0,l.kq)("",!0),"PROPOSAL_STATUS_PASSED"==e.proposal.status||"PROPOSAL_STATUS_REJECTED"==s.proposal.status?((0,l.wg)(),(0,l.iD)("div",us,[(0,l._)("div",ws,[(0,l._)("div",{class:"yes green",style:(0,a.j5)(`width: ${d(e.proposal.tally_yes)}%;`)},null,4),(0,l._)("div",{class:"no orange",style:(0,a.j5)(`width: ${d(e.proposal.tally_no)}%;`)},null,4),(0,l._)("div",{class:"nwv red",style:(0,a.j5)(`width: ${d(e.proposal.tally_no_with_veto)}%;`)},null,4)]),(0,l._)("div",gs,[(0,l._)("div",ks,[(0,l._)("div",fs,(0,a.zw)(i.$t("message.proposal_voting_label_yes")),1),(0,l._)("div",ms,(0,a.zw)(d(e.proposal.tally_yes))+"%",1)]),(0,l._)("div",Ss,[(0,l._)("div",ys,(0,a.zw)(i.$t("message.proposal_voting_label_no")),1),(0,l._)("div",bs,(0,a.zw)(d(e.proposal.tally_no))+"%",1)]),(0,l._)("div",hs,[(0,l._)("div",zs,(0,a.zw)(i.$t("message.proposal_voting_label_nwv")),1),(0,l._)("div",Os,(0,a.zw)(d(e.proposal.tally_no_with_veto))+"%",1)]),(0,l._)("div",Ps,[(0,l._)("div",Ds,(0,a.zw)(i.$t("message.proposal_voting_label_abstain")),1),(0,l._)("div",Us,(0,a.zw)(d(e.proposal.tally_abstain))+"%",1)])])])):(0,l.kq)("",!0)])),_:1},8,["to"])}}};const $s=(0,z.Z)(Ts,[["__scopeId","data-v-0b88992a"]]);var Rs=$s;const As=n+"#ic_arrow_ver",Es=(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":As})],-1),Cs=[Es];var js={__name:"ButtonUp",setup(s){const e=(0,o.iH)("none");function t(){window.scrollTo({top:0,behavior:"smooth"})}return(0,l.bv)((()=>{window.addEventListener("scroll",(()=>{let s=window.pageYOffset,t=document.documentElement.clientHeight;e.value=s>t?"flex":"none"}))})),(s,o)=>((0,l.wg)(),(0,l.iD)("button",{class:"btn_up",onClick:o[0]||(o[0]=s=>t()),style:(0,a.j5)({display:e.value})},Cs,4))}};const xs=js;var Is=xs,Ls=t(15941);const Ns=s=>((0,l.dD)("data-v-9eb1480c"),s=s(),(0,l.Cn)(),s),qs=n+"#ic_arrow_hor",Hs=n+"#ic_arr_down",Fs=n+"#ic_check",Ms={class:"proposals_page"},Ws={class:"cont middle"},Gs={class:"back_btn"},Js=Ns((()=>(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":qs})],-1))),Vs=Ns((()=>(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":qs})],-1))),Ys={class:"grid row"},Bs={class:"col"},Zs={class:"col_main"},Ks={class:"head"},Qs={class:"title"},Xs={key:0,class:"loader_wrap"},se=Ns((()=>(0,l._)("div",{class:"loader"},[(0,l._)("span")],-1))),ee=[se],te={key:1,class:"proposals"},le={key:2,class:"empty"},oe=Ns((()=>(0,l._)("img",{src:r,alt:""},null,-1))),ae={class:"title"},ie={key:0,class:"loader_wrap"},ne=Ns((()=>(0,l._)("div",{class:"loader"},[(0,l._)("span")],-1))),re=[ne],_e=Ns((()=>(0,l._)("div",{class:"load_more_area"},null,-1))),ce={class:"col"},pe={class:"filter"},de=["onClick"],ve=Ns((()=>(0,l._)("svg",{class:"arr"},[(0,l._)("use",{"xlink:href":Hs})],-1))),ue=["onClick"],we=Ns((()=>(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":Fs})],-1))),ge=Ns((()=>(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":Fs})],-1))),ke=Ns((()=>(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":Fs})],-1))),fe=Ns((()=>(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":Fs})],-1))),me=Ns((()=>(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":Fs})],-1)));var Se={__name:"Proposals",setup(s){const e=(0,_.s)(),t=(0,l.f3)("i18n"),n=(0,o.iH)(!0),r=(0,o.iH)(!1),p=(0,c.ltg)("history"),d=(0,o.qj)({loading:!1,allReceived:!1,showButtonUp:!1,filter_deposit:!1,filter_voting:!1,filter_passed:!1,filter_rejected:!1,filter:""});async function v(){d.loading=!0,d.offset=d.offset+d.limit,await g(!0)}async function u(s){let e="",t=s.split("-");for(s of t)"deposit"==s&&(d.filter_deposit=!d.filter_deposit),"voting"==s&&(d.filter_voting=!d.filter_voting),"passed"==s&&(d.filter_passed=!d.filter_passed),"rejected"==s&&(d.filter_rejected=!d.filter_rejected);d.filter="",d.filter_deposit&&(e.length&&(e+="-"),e+="deposit",d.filter+=",PROPOSAL_STATUS_DEPOSIT_PERIOD"),d.filter_voting&&(e.length&&(e+="-"),e+="voting",d.filter+=",PROPOSAL_STATUS_VOTING_PERIOD"),d.filter_passed&&(e.length&&(e+="-"),e+="passed",d.filter+=",PROPOSAL_STATUS_PASSED"),d.filter_rejected&&(e.length&&(e+="-"),e+="rejected",d.filter+=",PROPOSAL_STATUS_REJECTED"),p.filter=e,d.allReceived=!1,await g()}async function w(){d.allReceived=!1,d.filter_deposit=!1,d.filter_voting=!1,d.filter_passed=!1,d.filter_rejected=!1,d.filter="",await g()}async function g(s=!1){r.value=!0;let t="";s||(n.value=!0,d.proposals=[],d.offset=0,d.limit=10),t=d.filter.length?`${e.networks[e.currentNetwork].index_api}/gov/proposals?limit=${d.limit}&offset=${d.offset}&status__in=${d.filter.substring(1)}`:`${e.networks[e.currentNetwork].index_api}/gov/proposals?limit=${d.limit}&offset=${d.offset}`,await fetch(t).then((s=>s.json())).then((e=>{e.proposals.length?d.proposals=d.proposals.concat(e.proposals):d.allReceived=!0,e.proposals.length=1&&!d.loading&&!d.allReceived&&v()}(0,l.wF)((async()=>{e.tooltip=t.global.t("message.notice_default_proposals_page");try{e.proposalsFilter?await u(e.proposalsFilter):await g()}catch(s){Ls.error(s)}})),(0,l.YP)((0,l.Fl)((()=>e.currentNetwork)),(async()=>{n.value=!0,d.proposals=[],d.offset=0,d.limit=10;try{e.proposalsFilter?await u(e.proposalsFilter):await g()}catch(s){Ls.error(s)}}));var f=new IntersectionObserver(k,{threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]});function m(s){s.target.classList.toggle("active")}return(s,t)=>{const _=(0,l.up)("router-link");return(0,l.wg)(),(0,l.iD)("section",Ms,[(0,l._)("div",Ws,[(0,l._)("div",Gs,[(0,o.SU)(e).demo?((0,l.wg)(),(0,l.j4)(_,{key:0,to:`/account/${(0,o.SU)(e).currentNetwork}?demo=true`,class:"btn"},{default:(0,l.w5)((()=>[Js])),_:1},8,["to"])):((0,l.wg)(),(0,l.j4)(_,{key:1,to:`/account/${(0,o.SU)(e).currentNetwork}`,class:"btn"},{default:(0,l.w5)((()=>[Vs])),_:1},8,["to"]))]),(0,l._)("div",Ys,[(0,l._)("section",Bs,[(0,l.Wm)(P)]),(0,l._)("section",Zs,[(0,l._)("div",Ks,[(0,l._)("div",Qs,(0,a.zw)(s.$t("message.account_proposals_title")),1)]),n.value?((0,l.wg)(),(0,l.iD)("div",Xs,ee)):((0,l.wg)(),(0,l.iD)("div",te,[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(d.proposals,((s,e)=>((0,l.wg)(),(0,l.j4)(Rs,{key:e,proposal:s},null,8,["proposal"])))),128))])),n.value||d.proposals.length?(0,l.kq)("",!0):((0,l.wg)(),(0,l.iD)("div",le,[oe,(0,l._)("div",ae,(0,a.zw)(s.$t("message.proposals_empty_title")),1)])),d.proposals.length?((0,l.wg)(),(0,l.iD)(l.HY,{key:3},[d.loading?((0,l.wg)(),(0,l.iD)("div",ie,re)):(0,l.kq)("",!0),_e],64)):(0,l.kq)("",!0)]),(0,l._)("section",ce,[(0,l._)("div",pe,[(0,l._)("div",{class:"title",onClick:(0,i.iM)(m,["prevent"])},[(0,l._)("span",null,(0,a.zw)(s.$t("message.filter_title")),1),ve],8,de),(0,l._)("div",{class:(0,a.C_)(["items",{lock:r.value}])},[(0,l._)("button",{class:(0,a.C_)(["btn",{active:!d.filter.length}]),onClick:(0,i.iM)(w,["prevent"])},[(0,l._)("span",null,(0,a.zw)(s.$t("message.account_proposals_status_all")),1),we],10,ue),(0,l._)("button",{class:(0,a.C_)(["btn",{active:d.filter_deposit}]),onClick:t[0]||(t[0]=(0,i.iM)((s=>u("deposit")),["prevent"]))},[(0,l._)("span",null,(0,a.zw)(s.$t("message.account_proposals_status_deposite")),1),ge],2),(0,l._)("button",{class:(0,a.C_)(["btn",{active:d.filter_passed}]),onClick:t[1]||(t[1]=(0,i.iM)((s=>u("passed")),["prevent"]))},[(0,l._)("span",null,(0,a.zw)(s.$t("message.account_proposals_status_passed")),1),ke],2),(0,l._)("button",{class:(0,a.C_)(["btn",{active:d.filter_rejected}]),onClick:t[2]||(t[2]=(0,i.iM)((s=>u("rejected")),["prevent"]))},[(0,l._)("span",null,(0,a.zw)(s.$t("message.account_proposals_status_rejected")),1),fe],2),(0,l._)("button",{class:(0,a.C_)(["btn",{active:d.filter_voting}]),onClick:t[3]||(t[3]=(0,i.iM)((s=>u("voting")),["prevent"]))},[(0,l._)("span",null,(0,a.zw)(s.$t("message.account_proposals_status_voting")),1),me],2)],2)]),(0,l.Wm)(Is)])])])])}}};const ye=(0,z.Z)(Se,[["__scopeId","data-v-9eb1480c"]]);var be=ye}}]); -//# sourceMappingURL=483.a6bcb25d.js.map \ No newline at end of file diff --git a/js/483.a6bcb25d.js.map b/js/483.a6bcb25d.js.map deleted file mode 100644 index 7505b18..0000000 --- a/js/483.a6bcb25d.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/483.a6bcb25d.js","mappings":"4wBAsCI,MAAMA,GAAQC,EAAAA,EAAAA,KAId,SAASC,EAAkBC,GACvBA,EAAEC,OAAOC,UAAUC,OAAO,SAC9B,C,i4BCtCJ,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,YAAY,qBAEvE,Q,87CCiJUP,GAAQC,EAAAA,EAAAA,KAEVO,GAAe,IAAIC,MAAOC,oBAAsB,IAAM,EACtDC,GAAUC,EAAAA,EAAAA,KAAcC,EAASC,EAAMC,SAASC,kBAIpD,SAASH,EAASI,GACd,IAAIC,EAAc,IAAIT,KAAKQ,GAE3B,OAAO,IAAIR,KAAKS,EAAYC,SAASD,EAAYE,WAAaZ,GAClE,CAIA,SAASa,EAAoBC,GACzB,IAAIC,EAAMT,EAAMC,SAASS,SAAWV,EAAMC,SAASU,mBAAqBX,EAAMC,SAASW,UAEvF,OAAQJ,EAAQC,EAAM,KAAKI,QAAQ,EACvC,CAIA,SAASC,EAA+BN,GACpC,IAAIC,EAAMT,EAAMC,SAASc,cAAgBf,EAAMC,SAASS,SAAWV,EAAMC,SAASU,mBAAqBX,EAAMC,SAASW,UAEtH,OAAQJ,EAAQC,EAAM,KAAKI,QAAQ,EACvC,C,g/JC9KJ,MAAM,IAA2B,OAAgB,GAAQ,CAAC,CAAC,YAAY,qBAEvE,U,6ICGI,MAAMG,GAAcC,EAAAA,EAAAA,IAAI,QAgBxB,SAASC,IACLC,OAAOC,SAAS,CACZC,IAAK,EACLC,SAAU,UAElB,C,OAlBAC,EAAAA,EAAAA,KAAU,KACNJ,OAAOK,iBAAiB,UAAU,KAC9B,IAAIC,EAAWN,OAAOO,YAClBC,EAASC,SAASC,gBAAgBC,aAGhCd,EAAYR,MADlBiB,EAAWE,EACe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AAY,GACjBvB,EAAKW,OAAS,EACdX,EAAKY,MAAQ,GAGb,IACI/D,EAAMgG,sBACM/B,EAAUjE,EAAMgG,uBAChBhC,GAChB,CAAE,MAAOiC,GACLC,GAAQD,MAAMA,EAClB,KAkJJ,IAAIZ,EAAW,IAAIgB,qBAAqBb,EAAgB,CACpDc,UAAW,CAAC,EAAG,GAAK,GAAK,GAAK,GAAK,GAAK,GAAK,GAAK,GAAK,GAAK,KAKhE,SAASpG,EAAkBC,GACvBA,EAAEC,OAAOC,UAAUC,OAAO,SAC9B,C,k3ECrTJ,MAAM,IAA2B,OAAgB,GAAQ,CAAC,CAAC,YAAY,qBAEvE,S","sources":["webpack://bro_app/./src/components/proposals/Networks.vue","webpack://bro_app/./src/components/proposals/Networks.vue?7352","webpack://bro_app/./src/components/proposals/ProposalsItem.vue","webpack://bro_app/./src/components/proposals/ProposalsItem.vue?1be2","webpack://bro_app/./src/components/ButtonUp.vue","webpack://bro_app/./src/components/ButtonUp.vue?114f","webpack://bro_app/./src/views/Proposals.vue","webpack://bro_app/./src/views/Proposals.vue?9259"],"sourcesContent":["\n\n\n\n\n\n\n","import script from \"./Networks.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./Networks.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./Networks.vue?vue&type=style&index=0&id=37cd2cb6&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-37cd2cb6\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./ProposalsItem.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./ProposalsItem.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./ProposalsItem.vue?vue&type=style&index=0&id=0b88992a&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-0b88992a\"]])\n\nexport default __exports__","\n\n\n\n","import script from \"./ButtonUp.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./ButtonUp.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./Proposals.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./Proposals.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./Proposals.vue?vue&type=style&index=0&id=9eb1480c&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-9eb1480c\"]])\n\nexport default __exports__"],"names":["store","useGlobalStore","toggleActiveClass","e","target","classList","toggle","__exports__","userTimeZone","Date","getTimezoneOffset","timeAgo","formatTimeAgo","dateCalc","props","proposal","voting_end_time","date","currentDate","setHours","getHours","getProgressPercents","value","sum","tally_no","tally_no_with_veto","tally_yes","toFixed","getProgressPercentsWithAbstain","tally_abstain","activeBlock","ref","scrollTop","window","scrollTo","top","behavior","onMounted","addEventListener","scrolled","pageYOffset","coords","document","documentElement","clientHeight","i18n","inject","loading","lockFilter","urlParams","useUrlSearchParams","data","reactive","allReceived","showButtonUp","filter_deposit","filter_voting","filter_passed","filter_rejected","filter","async","loadMoreProposals","offset","limit","getProposals","setFilter","status","urlFilter","statuses","split","length","resetFilter","loadMore","url","proposals","networks","currentNetwork","index_api","substring","fetch","then","res","json","response","concat","observer","observe","querySelector","scrollTracking","entries","entry","intersectionRatio","onBeforeMount","tooltip","global","t","proposalsFilter","error","console","watch","computed","IntersectionObserver","threshold"],"sourceRoot":""} \ No newline at end of file diff --git a/js/574.649ffda7.js b/js/574.649ffda7.js new file mode 100644 index 0000000..2d12bcc --- /dev/null +++ b/js/574.649ffda7.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunkbro_app"]=self["webpackChunkbro_app"]||[]).push([[574],{16555:function(s,e,t){t.r(e),t.d(e,{default:function(){return Pe}});var l=t(73396),o=t(44870),a=t(87139),i=t(49242),n=t(27795),r=t.p+"img/empty_proposals.40cc1f50.svg",_=t(34776),c=t(90466);const p=s=>((0,l.dD)("data-v-37cd2cb6"),s=s(),(0,l.Cn)(),s),d=n+"#ic_arr_down",u={class:"networks"},v=["onClick"],w=p((()=>(0,l._)("svg",{class:"arr"},[(0,l._)("use",{"xlink:href":d})],-1))),g={class:"list"},k=p((()=>(0,l._)("div",{class:"logo"},[(0,l._)("img",{src:"/cosmoshub_logo.png",alt:""})],-1))),f={class:"name"},m={class:"token"},S=p((()=>(0,l._)("div",{class:"logo"},[(0,l._)("img",{src:"/bostrom_logo.png",alt:""})],-1))),y={class:"name"},b={class:"token"};var h={__name:"Networks",setup(s){const e=(0,_.s)();function t(s){s.target.classList.toggle("active")}return(s,n)=>{const r=(0,l.up)("router-link");return(0,l.wg)(),(0,l.iD)("section",u,[(0,l._)("div",{class:"title",onClick:(0,i.iM)(t,["prevent"])},[(0,l._)("span",null,(0,a.zw)(s.$t("message.account_networks_title")),1),w],8,v),(0,l._)("div",g,[(0,l.Wm)(r,{to:"/proposals/cosmoshub",class:(0,a.C_)(["network",{active:"cosmoshub"==(0,o.SU)(e).currentNetwork}])},{default:(0,l.w5)((()=>[k,(0,l._)("div",null,[(0,l._)("div",f,(0,a.zw)((0,o.SU)(e).networks.cosmoshub.name),1),(0,l._)("div",m,(0,a.zw)((0,o.SU)(e).networks.cosmoshub.token_name),1)])])),_:1},8,["class"]),(0,l.Wm)(r,{to:"/proposals/bostrom",class:(0,a.C_)(["network",{active:"bostrom"==(0,o.SU)(e).currentNetwork}])},{default:(0,l.w5)((()=>[S,(0,l._)("div",null,[(0,l._)("div",y,(0,a.zw)((0,o.SU)(e).networks.bostrom.name),1),(0,l._)("div",b,(0,a.zw)((0,o.SU)(e).networks.bostrom.token_name),1)])])),_:1},8,["class"])])])}}},z=t(40089);const O=(0,z.Z)(h,[["__scopeId","data-v-37cd2cb6"]]);var P=O,U=t(42325);const D=s=>((0,l.dD)("data-v-4953540e"),s=s(),(0,l.Cn)(),s),T=n+"#ic_status_deposite",$=n+"#ic_status_voting",A=n+"#ic_status_passed",R=n+"#ic_status_rejected",E=n+"#ic_suspicious",C={class:"network_logo"},j=["src"],x={class:"status"},L={key:0,class:"violet"},I=D((()=>(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":T})],-1))),N={key:1,class:"blue"},q=D((()=>(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":$})],-1))),H={key:2,class:"green"},F=D((()=>(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":A})],-1))),M={key:3,class:"red"},W=D((()=>(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":R})],-1))),G={key:0,class:"suspicious"},J=D((()=>(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":E})],-1))),V={class:"tooltip"},Y={key:1,class:"date"},B={key:2,class:"date"},Z={key:3,class:"date"},K={class:"name"},Q={class:"desc"},X={key:4,class:"progress"},ss={class:"bar"},es={class:"funds"},ts={class:"label"},ls={class:"val"},os={class:"label"},as={class:"val"},is={key:5,class:"progress"},ns={class:"bar"},rs={class:"exp"},_s={class:"yes green"},cs={class:"label"},ps={class:"val"},ds={class:"no orange"},us={class:"label"},vs={class:"val"},ws={class:"nwv red"},gs={class:"label"},ks={class:"val"},fs={key:6,class:"progress"},ms={class:"bar"},Ss={class:"exp"},ys={class:"yes green"},bs={class:"label"},hs={class:"val"},zs={class:"no orange"},Os={class:"label"},Ps={class:"val"},Us={class:"nwv red"},Ds={class:"label"},Ts={class:"val"},$s={class:"abstain grey"},As={class:"label"},Rs={class:"val"};var Es={__name:"ProposalsItem",props:["proposal"],setup(s){const e=s,t=(0,_.s)(),i=(new Date).getTimezoneOffset()/60*-1,n=(0,c.BKj)(r(e.proposal.voting_end_time));function r(s){let e=new Date(s);return new Date(e.setHours(e.getHours()+i))}function p(s){let e=!1,t=["Airdrop","💎","💥","✅"],l=s.toLowerCase().split("");for(let o of l)t.includes(o)&&(e=!0);return e}function d(s){let t=e.proposal.tally_no+e.proposal.tally_no_with_veto+e.proposal.tally_yes;return(s/t*100).toFixed(2)}function u(s){let t=e.proposal.tally_abstain+e.proposal.tally_no+e.proposal.tally_no_with_veto+e.proposal.tally_yes;return(s/t*100).toFixed(2)}return(i,_)=>{const c=(0,l.up)("vue-countdown"),v=(0,l.up)("router-link");return(0,l.wg)(),(0,l.j4)(v,{to:`/${(0,o.SU)(t).currentNetwork}/proposal/${e.proposal.id}`,class:"proposal"},{default:(0,l.w5)((()=>[(0,l._)("div",C,[(0,l._)("img",{src:`/${(0,o.SU)(t).currentNetwork}_logo.png`,alt:""},null,8,j)]),(0,l._)("div",x,["PROPOSAL_STATUS_DEPOSIT_PERIOD"==e.proposal.status?((0,l.wg)(),(0,l.iD)("div",L,[I,(0,l._)("span",null,(0,a.zw)(i.$t("message.account_proposals_status_deposite")),1)])):(0,l.kq)("",!0),"PROPOSAL_STATUS_VOTING_PERIOD"==e.proposal.status?((0,l.wg)(),(0,l.iD)("div",N,[q,(0,l._)("span",null,(0,a.zw)(i.$t("message.account_proposals_status_voting")),1)])):(0,l.kq)("",!0),"PROPOSAL_STATUS_PASSED"==e.proposal.status?((0,l.wg)(),(0,l.iD)("div",H,[F,(0,l._)("span",null,(0,a.zw)(i.$t("message.account_proposals_status_passed")),1)])):(0,l.kq)("",!0),"PROPOSAL_STATUS_REJECTED"==e.proposal.status?((0,l.wg)(),(0,l.iD)("div",M,[W,(0,l._)("span",null,(0,a.zw)(i.$t("message.account_proposals_status_rejected")),1)])):(0,l.kq)("",!0)]),p(e.proposal.title)?((0,l.wg)(),(0,l.iD)("div",G,[J,(0,l._)("div",V,(0,a.zw)(i.$t("message.account_proposals_suspicious_tooltip")),1)])):(0,l.kq)("",!0),"PROPOSAL_STATUS_DEPOSIT_PERIOD"==e.proposal.status?((0,l.wg)(),(0,l.iD)("div",Y,[(0,l.Wm)(c,{time:r(s.proposal.deposit_end_time)-new Date},{default:(0,l.w5)((({days:s,hours:e,minutes:t,seconds:o})=>[(0,l.Uk)((0,a.zw)(s)+"D : "+(0,a.zw)(e)+"H : "+(0,a.zw)(t)+"M : "+(0,a.zw)(o)+"S ",1)])),_:1},8,["time"])])):(0,l.kq)("",!0),"PROPOSAL_STATUS_VOTING_PERIOD"==e.proposal.status?((0,l.wg)(),(0,l.iD)("div",B,[(0,l.Wm)(c,{time:r(s.proposal.voting_end_time)-new Date},{default:(0,l.w5)((({days:s,hours:e,minutes:t,seconds:o})=>[(0,l.Uk)((0,a.zw)(s)+"D : "+(0,a.zw)(e)+"H : "+(0,a.zw)(t)+"M : "+(0,a.zw)(o)+"S ",1)])),_:1},8,["time"])])):(0,l.kq)("",!0),"PROPOSAL_STATUS_PASSED"==e.proposal.status||"PROPOSAL_STATUS_REJECTED"==e.proposal.status?((0,l.wg)(),(0,l.iD)("div",Z,[(0,l._)("div",null,(0,a.zw)(i.$t("message.proposal_date_label_default")),1),(0,l._)("div",null,(0,a.zw)((0,o.SU)(n)),1)])):(0,l.kq)("",!0),(0,l._)("div",K,"#"+(0,a.zw)(e.proposal.id)+" "+(0,a.zw)(e.proposal.title),1),(0,l._)("div",Q,(0,a.zw)(e.proposal.description),1),"PROPOSAL_STATUS_DEPOSIT_PERIOD"==e.proposal.status?((0,l.wg)(),(0,l.iD)("div",X,[(0,l._)("div",ss,[(0,l._)("div",{class:"violet",style:(0,a.j5)(`width: ${i.$filters.toFixed((0,o.SU)(U.LH)(e.proposal.deposit,(0,o.SU)(t).networks[(0,o.SU)(t).currentNetwork].token_name)/(0,o.SU)(t).networks[(0,o.SU)(t).currentNetwork].proposal_need*100,2)}%;`)},null,4)]),(0,l._)("div",es,[(0,l._)("div",null,[(0,l._)("div",ts,(0,a.zw)(i.$t("message.proposal_deposite_label_collected")),1),(0,l._)("div",ls,(0,a.zw)(i.$filters.toFixed((0,o.SU)(U.LH)(e.proposal.deposit,(0,o.SU)(t).networks[(0,o.SU)(t).currentNetwork].token_name),0))+" "+(0,a.zw)((0,o.SU)(U.uR)((0,o.SU)(t).networks[(0,o.SU)(t).currentNetwork].token_name)),1)]),(0,l._)("div",null,[(0,l._)("div",os,(0,a.zw)(i.$t("message.proposal_deposite_label_necessary")),1),(0,l._)("div",as,(0,a.zw)(i.$filters.toFixed((0,o.SU)(U.LH)((0,o.SU)(t).networks[(0,o.SU)(t).currentNetwork].proposal_need,(0,o.SU)(t).networks[(0,o.SU)(t).currentNetwork].token_name),0))+" "+(0,a.zw)((0,o.SU)(U.uR)((0,o.SU)(t).networks[(0,o.SU)(t).currentNetwork].token_name)),1)])])])):(0,l.kq)("",!0),"PROPOSAL_STATUS_VOTING_PERIOD"==e.proposal.status?((0,l.wg)(),(0,l.iD)("div",is,[(0,l._)("div",ns,[(0,l._)("div",{class:"yes green",style:(0,a.j5)(`width: ${d(e.proposal.tally_yes)}%;`)},null,4),(0,l._)("div",{class:"no orange",style:(0,a.j5)(`width: ${d(e.proposal.tally_no)}%;`)},null,4),(0,l._)("div",{class:"nwv red",style:(0,a.j5)(`width: ${d(e.proposal.tally_no_with_veto)}%;`)},null,4)]),(0,l._)("div",rs,[(0,l._)("div",_s,[(0,l._)("div",cs,(0,a.zw)(i.$t("message.proposal_voting_label_yes")),1),(0,l._)("div",ps,(0,a.zw)(d(e.proposal.tally_yes))+"%",1)]),(0,l._)("div",ds,[(0,l._)("div",us,(0,a.zw)(i.$t("message.proposal_voting_label_no")),1),(0,l._)("div",vs,(0,a.zw)(d(e.proposal.tally_no))+"%",1)]),(0,l._)("div",ws,[(0,l._)("div",gs,(0,a.zw)(i.$t("message.proposal_voting_label_nwv")),1),(0,l._)("div",ks,(0,a.zw)(d(e.proposal.tally_no_with_veto))+"%",1)])])])):(0,l.kq)("",!0),"PROPOSAL_STATUS_PASSED"==e.proposal.status||"PROPOSAL_STATUS_REJECTED"==s.proposal.status?((0,l.wg)(),(0,l.iD)("div",fs,[(0,l._)("div",ms,[(0,l._)("div",{class:"yes green",style:(0,a.j5)(`width: ${u(e.proposal.tally_yes)}%;`)},null,4),(0,l._)("div",{class:"no orange",style:(0,a.j5)(`width: ${u(e.proposal.tally_no)}%;`)},null,4),(0,l._)("div",{class:"nwv red",style:(0,a.j5)(`width: ${u(e.proposal.tally_no_with_veto)}%;`)},null,4)]),(0,l._)("div",Ss,[(0,l._)("div",ys,[(0,l._)("div",bs,(0,a.zw)(i.$t("message.proposal_voting_label_yes")),1),(0,l._)("div",hs,(0,a.zw)(u(e.proposal.tally_yes))+"%",1)]),(0,l._)("div",zs,[(0,l._)("div",Os,(0,a.zw)(i.$t("message.proposal_voting_label_no")),1),(0,l._)("div",Ps,(0,a.zw)(u(e.proposal.tally_no))+"%",1)]),(0,l._)("div",Us,[(0,l._)("div",Ds,(0,a.zw)(i.$t("message.proposal_voting_label_nwv")),1),(0,l._)("div",Ts,(0,a.zw)(u(e.proposal.tally_no_with_veto))+"%",1)]),(0,l._)("div",$s,[(0,l._)("div",As,(0,a.zw)(i.$t("message.proposal_voting_label_abstain")),1),(0,l._)("div",Rs,(0,a.zw)(u(e.proposal.tally_abstain))+"%",1)])])])):(0,l.kq)("",!0)])),_:1},8,["to"])}}};const Cs=(0,z.Z)(Es,[["__scopeId","data-v-4953540e"]]);var js=Cs;const xs=n+"#ic_arrow_ver",Ls=(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":xs})],-1),Is=[Ls];var Ns={__name:"ButtonUp",setup(s){const e=(0,o.iH)("none");function t(){window.scrollTo({top:0,behavior:"smooth"})}return(0,l.bv)((()=>{window.addEventListener("scroll",(()=>{let s=window.pageYOffset,t=document.documentElement.clientHeight;e.value=s>t?"flex":"none"}))})),(s,o)=>((0,l.wg)(),(0,l.iD)("button",{class:"btn_up",onClick:o[0]||(o[0]=s=>t()),style:(0,a.j5)({display:e.value})},Is,4))}};const qs=Ns;var Hs=qs,Fs=t(15941);const Ms=s=>((0,l.dD)("data-v-9eb1480c"),s=s(),(0,l.Cn)(),s),Ws=n+"#ic_arrow_hor",Gs=n+"#ic_arr_down",Js=n+"#ic_check",Vs={class:"proposals_page"},Ys={class:"cont middle"},Bs={class:"back_btn"},Zs=Ms((()=>(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":Ws})],-1))),Ks=Ms((()=>(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":Ws})],-1))),Qs={class:"grid row"},Xs={class:"col"},se={class:"col_main"},ee={class:"head"},te={class:"title"},le={key:0,class:"loader_wrap"},oe=Ms((()=>(0,l._)("div",{class:"loader"},[(0,l._)("span")],-1))),ae=[oe],ie={key:1,class:"proposals"},ne={key:2,class:"empty"},re=Ms((()=>(0,l._)("img",{src:r,alt:""},null,-1))),_e={class:"title"},ce={key:0,class:"loader_wrap"},pe=Ms((()=>(0,l._)("div",{class:"loader"},[(0,l._)("span")],-1))),de=[pe],ue=Ms((()=>(0,l._)("div",{class:"load_more_area"},null,-1))),ve={class:"col"},we={class:"filter"},ge=["onClick"],ke=Ms((()=>(0,l._)("svg",{class:"arr"},[(0,l._)("use",{"xlink:href":Gs})],-1))),fe=["onClick"],me=Ms((()=>(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":Js})],-1))),Se=Ms((()=>(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":Js})],-1))),ye=Ms((()=>(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":Js})],-1))),be=Ms((()=>(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":Js})],-1))),he=Ms((()=>(0,l._)("svg",{class:"icon"},[(0,l._)("use",{"xlink:href":Js})],-1)));var ze={__name:"Proposals",setup(s){const e=(0,_.s)(),t=(0,l.f3)("i18n"),n=(0,o.iH)(!0),r=(0,o.iH)(!1),p=(0,c.ltg)("history"),d=(0,o.qj)({loading:!1,allReceived:!1,showButtonUp:!1,filter_deposit:!1,filter_voting:!1,filter_passed:!1,filter_rejected:!1,filter:""});async function u(){d.loading=!0,d.offset=d.offset+d.limit,await g(!0)}async function v(s){let e="",t=s.split("-");for(s of t)"deposit"==s&&(d.filter_deposit=!d.filter_deposit),"voting"==s&&(d.filter_voting=!d.filter_voting),"passed"==s&&(d.filter_passed=!d.filter_passed),"rejected"==s&&(d.filter_rejected=!d.filter_rejected);d.filter="",d.filter_deposit&&(e.length&&(e+="-"),e+="deposit",d.filter+=",PROPOSAL_STATUS_DEPOSIT_PERIOD"),d.filter_voting&&(e.length&&(e+="-"),e+="voting",d.filter+=",PROPOSAL_STATUS_VOTING_PERIOD"),d.filter_passed&&(e.length&&(e+="-"),e+="passed",d.filter+=",PROPOSAL_STATUS_PASSED"),d.filter_rejected&&(e.length&&(e+="-"),e+="rejected",d.filter+=",PROPOSAL_STATUS_REJECTED"),p.filter=e,d.allReceived=!1,await g()}async function w(){d.allReceived=!1,d.filter_deposit=!1,d.filter_voting=!1,d.filter_passed=!1,d.filter_rejected=!1,d.filter="",await g()}async function g(s=!1){r.value=!0;let t="";s||(n.value=!0,d.proposals=[],d.offset=0,d.limit=10),t=d.filter.length?`${e.networks[e.currentNetwork].index_api}/gov/proposals?limit=${d.limit}&offset=${d.offset}&status__in=${d.filter.substring(1)}`:`${e.networks[e.currentNetwork].index_api}/gov/proposals?limit=${d.limit}&offset=${d.offset}`,await fetch(t).then((s=>s.json())).then((e=>{e.proposals.length?d.proposals=d.proposals.concat(e.proposals):d.allReceived=!0,e.proposals.length=1&&!d.loading&&!d.allReceived&&u()}(0,l.wF)((async()=>{e.tooltip=t.global.t("message.notice_default_proposals_page");try{e.proposalsFilter?await v(e.proposalsFilter):await g()}catch(s){Fs.error(s)}})),(0,l.YP)((0,l.Fl)((()=>e.currentNetwork)),(async()=>{n.value=!0,d.proposals=[],d.offset=0,d.limit=10;try{e.proposalsFilter?await v(e.proposalsFilter):await g()}catch(s){Fs.error(s)}}));var f=new IntersectionObserver(k,{threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]});function m(s){s.target.classList.toggle("active")}return(s,t)=>{const _=(0,l.up)("router-link");return(0,l.wg)(),(0,l.iD)("section",Vs,[(0,l._)("div",Ys,[(0,l._)("div",Bs,[(0,o.SU)(e).demo?((0,l.wg)(),(0,l.j4)(_,{key:0,to:`/account/${(0,o.SU)(e).currentNetwork}?demo=true`,class:"btn"},{default:(0,l.w5)((()=>[Zs])),_:1},8,["to"])):((0,l.wg)(),(0,l.j4)(_,{key:1,to:`/account/${(0,o.SU)(e).currentNetwork}`,class:"btn"},{default:(0,l.w5)((()=>[Ks])),_:1},8,["to"]))]),(0,l._)("div",Qs,[(0,l._)("section",Xs,[(0,l.Wm)(P)]),(0,l._)("section",se,[(0,l._)("div",ee,[(0,l._)("div",te,(0,a.zw)(s.$t("message.account_proposals_title")),1)]),n.value?((0,l.wg)(),(0,l.iD)("div",le,ae)):((0,l.wg)(),(0,l.iD)("div",ie,[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(d.proposals,((s,e)=>((0,l.wg)(),(0,l.j4)(js,{key:e,proposal:s},null,8,["proposal"])))),128))])),n.value||d.proposals.length?(0,l.kq)("",!0):((0,l.wg)(),(0,l.iD)("div",ne,[re,(0,l._)("div",_e,(0,a.zw)(s.$t("message.proposals_empty_title")),1)])),d.proposals.length?((0,l.wg)(),(0,l.iD)(l.HY,{key:3},[d.loading?((0,l.wg)(),(0,l.iD)("div",ce,de)):(0,l.kq)("",!0),ue],64)):(0,l.kq)("",!0)]),(0,l._)("section",ve,[(0,l._)("div",we,[(0,l._)("div",{class:"title",onClick:(0,i.iM)(m,["prevent"])},[(0,l._)("span",null,(0,a.zw)(s.$t("message.filter_title")),1),ke],8,ge),(0,l._)("div",{class:(0,a.C_)(["items",{lock:r.value}])},[(0,l._)("button",{class:(0,a.C_)(["btn",{active:!d.filter.length}]),onClick:(0,i.iM)(w,["prevent"])},[(0,l._)("span",null,(0,a.zw)(s.$t("message.account_proposals_status_all")),1),me],10,fe),(0,l._)("button",{class:(0,a.C_)(["btn",{active:d.filter_deposit}]),onClick:t[0]||(t[0]=(0,i.iM)((s=>v("deposit")),["prevent"]))},[(0,l._)("span",null,(0,a.zw)(s.$t("message.account_proposals_status_deposite")),1),Se],2),(0,l._)("button",{class:(0,a.C_)(["btn",{active:d.filter_passed}]),onClick:t[1]||(t[1]=(0,i.iM)((s=>v("passed")),["prevent"]))},[(0,l._)("span",null,(0,a.zw)(s.$t("message.account_proposals_status_passed")),1),ye],2),(0,l._)("button",{class:(0,a.C_)(["btn",{active:d.filter_rejected}]),onClick:t[2]||(t[2]=(0,i.iM)((s=>v("rejected")),["prevent"]))},[(0,l._)("span",null,(0,a.zw)(s.$t("message.account_proposals_status_rejected")),1),be],2),(0,l._)("button",{class:(0,a.C_)(["btn",{active:d.filter_voting}]),onClick:t[3]||(t[3]=(0,i.iM)((s=>v("voting")),["prevent"]))},[(0,l._)("span",null,(0,a.zw)(s.$t("message.account_proposals_status_voting")),1),he],2)],2)]),(0,l.Wm)(Hs)])])])])}}};const Oe=(0,z.Z)(ze,[["__scopeId","data-v-9eb1480c"]]);var Pe=Oe}}]); +//# sourceMappingURL=574.649ffda7.js.map \ No newline at end of file diff --git a/js/574.649ffda7.js.map b/js/574.649ffda7.js.map new file mode 100644 index 0000000..e9f0cd8 --- /dev/null +++ b/js/574.649ffda7.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/574.649ffda7.js","mappings":"4wBAsCI,MAAMA,GAAQC,EAAAA,EAAAA,KAId,SAASC,EAAkBC,GACvBA,EAAEC,OAAOC,UAAUC,OAAO,SAC9B,C,i4BCtCJ,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,YAAY,qBAEvE,Q,slDCyJUP,GAAQC,EAAAA,EAAAA,KAEVO,GAAe,IAAIC,MAAOC,oBAAsB,IAAM,EACtDC,GAAUC,EAAAA,EAAAA,KAAcC,EAASC,EAAMC,SAASC,kBAIpD,SAASH,EAASI,GACd,IAAIC,EAAc,IAAIT,KAAKQ,GAE3B,OAA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AUC,OAAO,SAC9B,C,k3ECrTJ,MAAM,IAA2B,OAAgB,GAAQ,CAAC,CAAC,YAAY,qBAEvE,S","sources":["webpack://bro_app/./src/components/proposals/Networks.vue","webpack://bro_app/./src/components/proposals/Networks.vue?7352","webpack://bro_app/./src/components/proposals/ProposalsItem.vue","webpack://bro_app/./src/components/proposals/ProposalsItem.vue?1be2","webpack://bro_app/./src/components/ButtonUp.vue","webpack://bro_app/./src/components/ButtonUp.vue?114f","webpack://bro_app/./src/views/Proposals.vue","webpack://bro_app/./src/views/Proposals.vue?9259"],"sourcesContent":["\n\n\n\n\n\n\n","import script from \"./Networks.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./Networks.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./Networks.vue?vue&type=style&index=0&id=37cd2cb6&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-37cd2cb6\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./ProposalsItem.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./ProposalsItem.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./ProposalsItem.vue?vue&type=style&index=0&id=4953540e&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-4953540e\"]])\n\nexport default __exports__","\n\n\n\n","import script from \"./ButtonUp.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./ButtonUp.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./Proposals.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./Proposals.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./Proposals.vue?vue&type=style&index=0&id=9eb1480c&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-9eb1480c\"]])\n\nexport default __exports__"],"names":["store","useGlobalStore","toggleActiveClass","e","target","classList","toggle","__exports__","userTimeZone","Date","getTimezoneOffset","timeAgo","formatTimeAgo","dateCalc","props","proposal","voting_end_time","date","currentDate","setHours","getHours","checkSuspicious","title","result","forbiddenWords","titleArr","toLowerCase","split","char","includes","getProgressPercents","value","sum","tally_no","tally_no_with_veto","tally_yes","toFixed","getProgressPercentsWithAbstain","tally_abstain","activeBlock","ref","scrollTop","window","scrollTo","top","behavior","onMounted","addEventListener","scrolled","pageYOffset","coords","document","documentElement","clientHeight","i18n","inject","loading","lockFilter","urlParams","useUrlSearchParams","data","reactive","allReceived","showButtonUp","filter_deposit","filter_voting","filter_passed","filter_rejected","filter","async","loadMoreProposals","offset","limit","getProposals","setFilter","status","urlFilter","statuses","length","resetFilter","loadMore","url","proposals","networks","currentNetwork","index_api","substring","fetch","then","res","json","response","concat","observer","observe","querySelector","scrollTracking","entries","entry","intersectionRatio","onBeforeMount","tooltip","global","t","proposalsFilter","error","console","watch","computed","IntersectionObserver","threshold"],"sourceRoot":""} \ No newline at end of file diff --git a/js/778.6cb1db9a.js b/js/778.6cb1db9a.js deleted file mode 100644 index a9df0e7..0000000 --- a/js/778.6cb1db9a.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self["webpackChunkbro_app"]=self["webpackChunkbro_app"]||[]).push([[778],{65778:function(e,t,s){s.r(t),s.d(t,{default:function(){return Oo}});s(57658);var n=s(73396),a=s(44870),o=s(87139),r=s(27795),l=s(34776),i=s(95673),p=s(42325),c=s(90466);const u=e=>((0,n.dD)("data-v-873d6c24"),e=e(),(0,n.Cn)(),e),_=r+"#ic_status_deposite",d=r+"#ic_status_voting",h=r+"#ic_status_passed",g=r+"#ic_status_rejected",k=r+"#ic_proposal_Text",w=r+"#ic_proposal_CommunityPoolSpend",v=r+"#ic_proposal_SoftwareUpgrade",m=r+"#ic_proposal_ParameterChange",f=r+"#ic_proposal_UpdateSmartContract",b={class:"head"},x={key:0,class:"status violet"},y=u((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":_})],-1))),S={key:1,class:"status blue"},z=u((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":d})],-1))),$={key:2,class:"status green"},U=u((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":h})],-1))),O={key:3,class:"status red"},T=u((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":g})],-1))),D={class:"type"},P={key:0,class:"icon"},I=u((()=>(0,n._)("use",{"xlink:href":k},null,-1))),A=[I],E={key:1,class:"icon"},N=u((()=>(0,n._)("use",{"xlink:href":w},null,-1))),R=[N],q={key:2,class:"icon"},C=u((()=>(0,n._)("use",{"xlink:href":v},null,-1))),V=[C],L={key:3,class:"icon"},H=u((()=>(0,n._)("use",{"xlink:href":m},null,-1))),M=[H],W={key:4,class:"icon"},j=u((()=>(0,n._)("use",{"xlink:href":f},null,-1))),Z=[j],Y={class:"name"},F={class:"logo"},B=["src"],Q={class:"proposer"},G=["href"],K=["href"];var X={__name:"HeadInfo",props:["proposal"],setup(e){const t=e,s=(0,l.s)();return(r,l)=>((0,n.wg)(),(0,n.iD)("section",b,["PROPOSAL_STATUS_DEPOSIT_PERIOD"==t.proposal.status?((0,n.wg)(),(0,n.iD)("div",x,[y,(0,n._)("span",null,(0,o.zw)(r.$t("message.account_proposals_status_deposite")),1)])):(0,n.kq)("",!0),"PROPOSAL_STATUS_VOTING_PERIOD"==t.proposal.status?((0,n.wg)(),(0,n.iD)("div",S,[z,(0,n._)("span",null,(0,o.zw)(r.$t("message.account_proposals_status_voting")),1)])):(0,n.kq)("",!0),"PROPOSAL_STATUS_PASSED"==t.proposal.status?((0,n.wg)(),(0,n.iD)("div",$,[U,(0,n._)("span",null,(0,o.zw)(r.$t("message.account_proposals_status_passed")),1)])):(0,n.kq)("",!0),"PROPOSAL_STATUS_REJECTED"==t.proposal.status?((0,n.wg)(),(0,n.iD)("div",O,[T,(0,n._)("span",null,(0,o.zw)(r.$t("message.account_proposals_status_rejected")),1)])):(0,n.kq)("",!0),(0,n._)("div",D,["Text"==t.proposal.proposal_type?((0,n.wg)(),(0,n.iD)("svg",P,A)):(0,n.kq)("",!0),"CommunityPoolSpend"==t.proposal.proposal_type?((0,n.wg)(),(0,n.iD)("svg",E,R)):(0,n.kq)("",!0),"SoftwareUpgrade"==t.proposal.proposal_type?((0,n.wg)(),(0,n.iD)("svg",q,V)):(0,n.kq)("",!0),"ParameterChange"==t.proposal.proposal_type?((0,n.wg)(),(0,n.iD)("svg",L,M)):(0,n.kq)("",!0),"Text"!=t.proposal.proposal_type&&"CommunityPoolSpend"!=t.proposal.proposal_type&&"SoftwareUpgrade"!=t.proposal.proposal_type&&"ParameterChange"!=t.proposal.proposal_type?((0,n.wg)(),(0,n.iD)("svg",W,Z)):(0,n.kq)("",!0),(0,n._)("span",null,(0,o.zw)(t.proposal.proposal_type),1)]),(0,n._)("div",Y,[(0,n._)("div",F,[(0,n._)("img",{src:`/${t.proposal.network}_logo.png`,alt:""},null,8,B)]),(0,n._)("div",null,"#"+(0,o.zw)(t.proposal.id)+" "+(0,o.zw)(t.proposal.title),1)]),(0,n._)("div",Q,[(0,n._)("span",null,(0,o.zw)(r.$t("message.proposal_proposer_label"))+":",1),e.proposal.moniker?((0,n.wg)(),(0,n.iD)("a",{key:0,href:`https://www.mintscan.io/${(0,a.SU)(s).networks[t.proposal.network].mintscanAlias}/validators/${t.proposal.moniker}`,target:"_blank",rel:"noopener nofollow"},(0,o.zw)(t.proposal.moniker),9,G)):((0,n.wg)(),(0,n.iD)("a",{key:1,href:`https://www.mintscan.io/${(0,a.SU)(s).networks[t.proposal.network].mintscanAlias}/account/${t.proposal.proposer_address}`,target:"_blank",rel:"noopener nofollow"},(0,o.zw)(t.proposal.proposer_address),9,K))])]))}},J=s(40089);const ee=(0,J.Z)(X,[["__scopeId","data-v-873d6c24"]]);var te=ee,se=s(49242);s(21703);function ne(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ae(e,t){ne(e,t),t.add(e)}function oe(e,t,s){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return s}var re=s(47327),le=s(15941);function ie(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let pe=ie();function ce(e){pe=e}const ue=/[&<>"']/,_e=new RegExp(ue.source,"g"),de=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,he=new RegExp(de.source,"g"),ge={"&":"&","<":"<",">":">",'"':""","'":"'"},ke=e=>ge[e];function we(e,t){if(t){if(ue.test(e))return e.replace(_e,ke)}else if(de.test(e))return e.replace(he,ke);return e}const ve=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function me(e){return e.replace(ve,((e,t)=>(t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):"")))}const fe=/(^|[^\[])\^/g;function be(e,t){e="string"===typeof e?e:e.source,t=t||"";const s={replace:(t,n)=>(n=n.source||n,n=n.replace(fe,"$1"),e=e.replace(t,n),s),getRegex:()=>new RegExp(e,t)};return s}const xe=/[^\w:]/g,ye=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Se(e,t,s){if(e){let e;try{e=decodeURIComponent(me(s)).replace(xe,"").toLowerCase()}catch(n){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!ye.test(s)&&(s=Te(t,s));try{s=encodeURI(s).replace(/%25/g,"%")}catch(n){return null}return s}const ze={},$e=/^[^:]+:\/*[^/]*$/,Ue=/^([^:]+:)[\s\S]*$/,Oe=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Te(e,t){ze[" "+e]||($e.test(e)?ze[" "+e]=e+"/":ze[" "+e]=Ie(e,"/",!0)),e=ze[" "+e];const s=-1===e.indexOf(":");return"//"===t.substring(0,2)?s?t:e.replace(Ue,"$1")+t:"/"===t.charAt(0)?s?t:e.replace(Oe,"$1")+t:e+t}const De={exec:function(){}};function Pe(e,t){const s=e.replace(/\|/g,((e,t,s)=>{let n=!1,a=t;while(--a>=0&&"\\"===s[a])n=!n;return n?"|":" |"})),n=s.split(/ \|/);let a=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>t)n.splice(t);else while(n.length{const t=e.match(/^\s+/);if(null===t)return e;const[s]=t;return s.length>=n.length?e.slice(n.length):e})).join("\n")}class qe{constructor(e){this.options=e||pe}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:Ie(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],s=Re(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:s}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){const t=Ie(e,"#");this.options.pedantic?e=t.trim():t&&!/ $/.test(t)||(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const e=t[0].replace(/^ *>[ \t]?/gm,""),s=this.lexer.state.top;this.lexer.state.top=!0;const n=this.lexer.blockTokens(e);return this.lexer.state.top=s,{type:"blockquote",raw:t[0],tokens:n,text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let s,n,a,o,r,l,i,p,c,u,_,d,h=t[1].trim();const g=h.length>1,k={type:"list",raw:"",ordered:g,start:g?+h.slice(0,-1):"",loose:!1,items:[]};h=g?`\\d{1,9}\\${h.slice(-1)}`:`\\${h}`,this.options.pedantic&&(h=g?h:"[*+-]");const w=new RegExp(`^( {0,3}${h})((?:[\t ][^\\n]*)?(?:\\n|$))`);while(e){if(d=!1,!(t=w.exec(e)))break;if(this.rules.block.hr.test(e))break;if(s=t[0],e=e.substring(s.length),p=t[2].split("\n",1)[0].replace(/^\t+/,(e=>" ".repeat(3*e.length))),c=e.split("\n",1)[0],this.options.pedantic?(o=2,_=p.trimLeft()):(o=t[2].search(/[^ ]/),o=o>4?1:o,_=p.slice(o),o+=t[1].length),l=!1,!p&&/^ *$/.test(c)&&(s+=c+"\n",e=e.substring(c.length+1),d=!0),!d){const t=new RegExp(`^ {0,${Math.min(3,o-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),n=new RegExp(`^ {0,${Math.min(3,o-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),a=new RegExp(`^ {0,${Math.min(3,o-1)}}(?:\`\`\`|~~~)`),r=new RegExp(`^ {0,${Math.min(3,o-1)}}#`);while(e){if(u=e.split("\n",1)[0],c=u,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),a.test(c))break;if(r.test(c))break;if(t.test(c))break;if(n.test(e))break;if(c.search(/[^ ]/)>=o||!c.trim())_+="\n"+c.slice(o);else{if(l)break;if(p.search(/[^ ]/)>=4)break;if(a.test(p))break;if(r.test(p))break;if(n.test(p))break;_+="\n"+c}l||c.trim()||(l=!0),s+=u+"\n",e=e.substring(u.length+1),p=c.slice(o)}}k.loose||(i?k.loose=!0:/\n *\n *$/.test(s)&&(i=!0)),this.options.gfm&&(n=/^\[[ xX]\] /.exec(_),n&&(a="[ ] "!==n[0],_=_.replace(/^\[[ xX]\] +/,""))),k.items.push({type:"list_item",raw:s,task:!!n,checked:a,loose:!1,text:_}),k.raw+=s}k.items[k.items.length-1].raw=s.trimRight(),k.items[k.items.length-1].text=_.trimRight(),k.raw=k.raw.trimRight();const v=k.items.length;for(r=0;r"space"===e.type)),t=e.length>0&&e.some((e=>/\n.*\n/.test(e.raw)));k.loose=t}if(k.loose)for(r=0;r$/,"$1").replace(this.rules.inline._escapes,"$1"):"",n=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:s,title:n}}}table(e){const t=this.rules.block.table.exec(e);if(t){const e={type:"table",header:Pe(t[1]).map((e=>({text:e}))),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(e.header.length===e.align.length){e.raw=t[0];let s,n,a,o,r=e.align.length;for(s=0;s({text:e})));for(r=e.header.length,n=0;n/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):we(t[0]):t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&/^$/.test(e))return;const t=Ie(e.slice(0,-1),"\\");if((e.length-t.length)%2===0)return}else{const e=Ae(t[2],"()");if(e>-1){const s=0===t[0].indexOf("!")?5:4,n=s+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let s=t[2],n="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);e&&(s=e[1],n=e[3])}else n=t[3]?t[3].slice(1,-1):"";return s=s.trim(),/^$/.test(e)?s.slice(1):s.slice(1,-1)),Ne(t,{href:s?s.replace(this.rules.inline._escapes,"$1"):s,title:n?n.replace(this.rules.inline._escapes,"$1"):n},t[0],this.lexer)}}reflink(e,t){let s;if((s=this.rules.inline.reflink.exec(e))||(s=this.rules.inline.nolink.exec(e))){let e=(s[2]||s[1]).replace(/\s+/g," ");if(e=t[e.toLowerCase()],!e){const e=s[0].charAt(0);return{type:"text",raw:e,text:e}}return Ne(s,e,s[0],this.lexer)}}emStrong(e,t,s=""){let n=this.rules.inline.emStrong.lDelim.exec(e);if(!n)return;if(n[3]&&s.match(/[\p{L}\p{N}]/u))return;const a=n[1]||n[2]||"";if(!a||!s||this.rules.inline.punctuation.exec(s)){const s=n[0].length-1;let a,o,r=s,l=0;const i="*"===n[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;i.lastIndex=0,t=t.slice(-1*e.length+s);while(null!=(n=i.exec(t))){if(a=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!a)continue;if(o=a.length,n[3]||n[4]){r+=o;continue}if((n[5]||n[6])&&s%3&&!((s+o)%3)){l+=o;continue}if(r-=o,r>0)continue;o=Math.min(o,o+r+l);const t=e.slice(0,s+n.index+o+1);if(Math.min(s,o)%2){const e=t.slice(1,-1);return{type:"em",raw:t,text:e,tokens:this.lexer.inlineTokens(e)}}const i=t.slice(2,-2);return{type:"strong",raw:t,text:i,tokens:this.lexer.inlineTokens(i)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," ");const s=/[^ ]/.test(e),n=/^ /.test(e)&&/ $/.test(e);return s&&n&&(e=e.substring(1,e.length-1)),e=we(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e,t){const s=this.rules.inline.autolink.exec(e);if(s){let e,n;return"@"===s[2]?(e=we(this.options.mangle?t(s[1]):s[1]),n="mailto:"+e):(e=we(s[1]),n=e),{type:"link",raw:s[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e,t){let s;if(s=this.rules.inline.url.exec(e)){let e,n;if("@"===s[2])e=we(this.options.mangle?t(s[0]):s[0]),n="mailto:"+e;else{let t;do{t=s[0],s[0]=this.rules.inline._backpedal.exec(s[0])[0]}while(t!==s[0]);e=we(s[0]),n="www."===s[1]?"http://"+s[0]:s[0]}return{type:"link",raw:s[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e,t){const s=this.rules.inline.text.exec(e);if(s){let e;return e=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(s[0]):we(s[0]):s[0]:we(this.options.smartypants?t(s[0]):s[0]),{type:"text",raw:s[0],text:e}}}}const Ce={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:De,lheading:/^((?:(?!^bull ).|\n(?!\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};Ce.def=be(Ce.def).replace("label",Ce._label).replace("title",Ce._title).getRegex(),Ce.bullet=/(?:[*+-]|\d{1,9}[.)])/,Ce.listItemStart=be(/^( *)(bull) */).replace("bull",Ce.bullet).getRegex(),Ce.list=be(Ce.list).replace(/bull/g,Ce.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Ce.def.source+")").getRegex(),Ce._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Ce._comment=/|$)/,Ce.html=be(Ce.html,"i").replace("comment",Ce._comment).replace("tag",Ce._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Ce.lheading=be(Ce.lheading).replace(/bull/g,Ce.bullet).getRegex(),Ce.paragraph=be(Ce._paragraph).replace("hr",Ce.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ce._tag).getRegex(),Ce.blockquote=be(Ce.blockquote).replace("paragraph",Ce.paragraph).getRegex(),Ce.normal={...Ce},Ce.gfm={...Ce.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},Ce.gfm.table=be(Ce.gfm.table).replace("hr",Ce.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ce._tag).getRegex(),Ce.gfm.paragraph=be(Ce._paragraph).replace("hr",Ce.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",Ce.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ce._tag).getRegex(),Ce.pedantic={...Ce.normal,html:be("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",Ce._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:De,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:be(Ce.normal._paragraph).replace("hr",Ce.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",Ce.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const Ve={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:De,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,rDelimAst:/^[^_*]*?__[^_*]*?\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\*)[punct](\*+)(?=[\s]|$)|[^punct\s](\*+)(?!\*)(?=[punct\s]|$)|(?!\*)[punct\s](\*+)(?=[^punct\s])|[\s](\*+)(?!\*)(?=[punct])|(?!\*)[punct](\*+)(?!\*)(?=[punct])|[^punct\s](\*+)(?=[^punct\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\s]|$)|[^punct\s](_+)(?!_)(?=[punct\s]|$)|(?!_)[punct\s](_+)(?=[^punct\s])|[\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:De,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(s="x"+s.toString(16)),n+="&#"+s+";";return n}Ve._punctuation="\\p{P}$+<=>`^|~",Ve.punctuation=be(Ve.punctuation,"u").replace(/punctuation/g,Ve._punctuation).getRegex(),Ve.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,Ve.anyPunctuation=/\\[punct]/g,Ve._escapes=/\\([punct])/g,Ve._comment=be(Ce._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),Ve.emStrong.lDelim=be(Ve.emStrong.lDelim,"u").replace(/punct/g,Ve._punctuation).getRegex(),Ve.emStrong.rDelimAst=be(Ve.emStrong.rDelimAst,"gu").replace(/punct/g,Ve._punctuation).getRegex(),Ve.emStrong.rDelimUnd=be(Ve.emStrong.rDelimUnd,"gu").replace(/punct/g,Ve._punctuation).getRegex(),Ve.anyPunctuation=be(Ve.anyPunctuation,"gu").replace(/punct/g,Ve._punctuation).getRegex(),Ve._escapes=be(Ve._escapes,"gu").replace(/punct/g,Ve._punctuation).getRegex(),Ve._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Ve._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,Ve.autolink=be(Ve.autolink).replace("scheme",Ve._scheme).replace("email",Ve._email).getRegex(),Ve._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Ve.tag=be(Ve.tag).replace("comment",Ve._comment).replace("attribute",Ve._attribute).getRegex(),Ve._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Ve._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,Ve._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Ve.link=be(Ve.link).replace("label",Ve._label).replace("href",Ve._href).replace("title",Ve._title).getRegex(),Ve.reflink=be(Ve.reflink).replace("label",Ve._label).replace("ref",Ce._label).getRegex(),Ve.nolink=be(Ve.nolink).replace("ref",Ce._label).getRegex(),Ve.reflinkSearch=be(Ve.reflinkSearch,"g").replace("reflink",Ve.reflink).replace("nolink",Ve.nolink).getRegex(),Ve.normal={...Ve},Ve.pedantic={...Ve.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:be(/^!?\[(label)\]\((.*?)\)/).replace("label",Ve._label).getRegex(),reflink:be(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ve._label).getRegex()},Ve.gfm={...Ve.normal,escape:be(Ve.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\t+" ".repeat(s.length)));while(e)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((n=>!!(s=n.call({lexer:this},e,t))&&(e=e.substring(s.raw.length),t.push(s),!0)))))if(s=this.tokenizer.space(e))e=e.substring(s.raw.length),1===s.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(s);else if(s=this.tokenizer.code(e))e=e.substring(s.raw.length),n=t[t.length-1],!n||"paragraph"!==n.type&&"text"!==n.type?t.push(s):(n.raw+="\n"+s.raw,n.text+="\n"+s.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(s=this.tokenizer.fences(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.heading(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.hr(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.blockquote(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.list(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.html(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.def(e))e=e.substring(s.raw.length),n=t[t.length-1],!n||"paragraph"!==n.type&&"text"!==n.type?this.tokens.links[s.tag]||(this.tokens.links[s.tag]={href:s.href,title:s.title}):(n.raw+="\n"+s.raw,n.text+="\n"+s.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(s=this.tokenizer.table(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.lheading(e))e=e.substring(s.raw.length),t.push(s);else{if(a=e,this.options.extensions&&this.options.extensions.startBlock){let t=1/0;const s=e.slice(1);let n;this.options.extensions.startBlock.forEach((function(e){n=e.call({lexer:this},s),"number"===typeof n&&n>=0&&(t=Math.min(t,n))})),t<1/0&&t>=0&&(a=e.substring(0,t+1))}if(this.state.top&&(s=this.tokenizer.paragraph(a)))n=t[t.length-1],o&&"paragraph"===n.type?(n.raw+="\n"+s.raw,n.text+="\n"+s.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(s),o=a.length!==e.length,e=e.substring(s.raw.length);else if(s=this.tokenizer.text(e))e=e.substring(s.raw.length),n=t[t.length-1],n&&"text"===n.type?(n.raw+="\n"+s.raw,n.text+="\n"+s.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(s);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){le.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let s,n,a,o,r,l,i=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)while(null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(i)))e.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(i=i.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}while(null!=(o=this.tokenizer.rules.inline.blockSkip.exec(i)))i=i.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);while(null!=(o=this.tokenizer.rules.inline.anyPunctuation.exec(i)))i=i.slice(0,o.index)+"++"+i.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);while(e)if(r||(l=""),r=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((n=>!!(s=n.call({lexer:this},e,t))&&(e=e.substring(s.raw.length),t.push(s),!0)))))if(s=this.tokenizer.escape(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.tag(e))e=e.substring(s.raw.length),n=t[t.length-1],n&&"text"===s.type&&"text"===n.type?(n.raw+=s.raw,n.text+=s.text):t.push(s);else if(s=this.tokenizer.link(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(s.raw.length),n=t[t.length-1],n&&"text"===s.type&&"text"===n.type?(n.raw+=s.raw,n.text+=s.text):t.push(s);else if(s=this.tokenizer.emStrong(e,i,l))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.codespan(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.br(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.del(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.autolink(e,He))e=e.substring(s.raw.length),t.push(s);else if(this.state.inLink||!(s=this.tokenizer.url(e,He))){if(a=e,this.options.extensions&&this.options.extensions.startInline){let t=1/0;const s=e.slice(1);let n;this.options.extensions.startInline.forEach((function(e){n=e.call({lexer:this},s),"number"===typeof n&&n>=0&&(t=Math.min(t,n))})),t<1/0&&t>=0&&(a=e.substring(0,t+1))}if(s=this.tokenizer.inlineText(a,Le))e=e.substring(s.raw.length),"_"!==s.raw.slice(-1)&&(l=s.raw.slice(-1)),r=!0,n=t[t.length-1],n&&"text"===n.type?(n.raw+=s.raw,n.text+=s.text):t.push(s);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){le.error(t);break}throw new Error(t)}}else e=e.substring(s.raw.length),t.push(s);return t}}class We{constructor(e){this.options=e||pe}code(e,t,s){const n=(t||"").match(/\S*/)[0];if(this.options.highlight){const t=this.options.highlight(e,n);null!=t&&t!==e&&(s=!0,e=t)}return e=e.replace(/\n$/,"")+"\n",n?'
    '+(s?e:we(e,!0))+"
    \n":"
    "+(s?e:we(e,!0))+"
    \n"}blockquote(e){return`
    \n${e}
    \n`}html(e,t){return e}heading(e,t,s,n){if(this.options.headerIds){const a=this.options.headerPrefix+n.slug(s);return`${e}\n`}return`${e}\n`}hr(){return this.options.xhtml?"
    \n":"
    \n"}list(e,t,s){const n=t?"ol":"ul",a=t&&1!==s?' start="'+s+'"':"";return"<"+n+a+">\n"+e+"\n"}listitem(e){return`
  • ${e}
  • \n`}checkbox(e){return" "}paragraph(e){return`

    ${e}

    \n`}table(e,t){return t&&(t=`${t}`),"\n\n"+e+"\n"+t+"
    \n"}tablerow(e){return`\n${e}\n`}tablecell(e,t){const s=t.header?"th":"td",n=t.align?`<${s} align="${t.align}">`:`<${s}>`;return n+e+`\n`}strong(e){return`${e}`}em(e){return`${e}`}codespan(e){return`${e}`}br(){return this.options.xhtml?"
    ":"
    "}del(e){return`${e}`}link(e,t,s){if(e=Se(this.options.sanitize,this.options.baseUrl,e),null===e)return s;let n='
    ",n}image(e,t,s){if(e=Se(this.options.sanitize,this.options.baseUrl,e),null===e)return s;let n=`${s}":">",n}text(e){return e}}class je{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,s){return""+s}image(e,t,s){return""+s}br(){return""}}class Ze{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,t){let s=e,n=0;if(this.seen.hasOwnProperty(s)){n=this.seen[e];do{n++,s=e+"-"+n}while(this.seen.hasOwnProperty(s))}return t||(this.seen[e]=n,this.seen[s]=0),s}slug(e,t={}){const s=this.serialize(e);return this.getNextSafeSlug(s,t.dryrun)}}class Ye{constructor(e){this.options=e||pe,this.options.renderer=this.options.renderer||new We,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new je,this.slugger=new Ze}static parse(e,t){const s=new Ye(t);return s.parse(e)}static parseInline(e,t){const s=new Ye(t);return s.parseInline(e)}parse(e,t=!0){let s,n,a,o,r,l,i,p,c,u,_,d,h,g,k,w,v,m,f,b="";const x=e.length;for(s=0;s0&&"paragraph"===k.tokens[0].type?(k.tokens[0].text=m+" "+k.tokens[0].text,k.tokens[0].tokens&&k.tokens[0].tokens.length>0&&"text"===k.tokens[0].tokens[0].type&&(k.tokens[0].tokens[0].text=m+" "+k.tokens[0].tokens[0].text)):k.tokens.unshift({type:"text",text:m}):g+=m),g+=this.parse(k.tokens,h),c+=this.renderer.listitem(g,v,w);b+=this.renderer.list(c,_,d);continue;case"html":b+=this.renderer.html(u.text,u.block);continue;case"paragraph":b+=this.renderer.paragraph(this.parseInline(u.tokens));continue;case"text":c=u.tokens?this.parseInline(u.tokens):u.text;while(s+1{s=s.concat(this.walkTokens(n[e],t))})):n.tokens&&(s=s.concat(this.walkTokens(n.tokens,t)))}return s}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach((e=>{const s={...e};if(s.async=this.defaults.async||s.async||!1,e.extensions&&(e.extensions.forEach((e=>{if(!e.name)throw new Error("extension name required");if(e.renderer){const s=t.renderers[e.name];t.renderers[e.name]=s?function(...t){let n=e.renderer.apply(this,t);return!1===n&&(n=s.apply(this,t)),n}:e.renderer}if(e.tokenizer){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");t[e.level]?t[e.level].unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}e.childTokens&&(t.childTokens[e.name]=e.childTokens)})),s.extensions=t),e.renderer){const t=this.defaults.renderer||new We(this.defaults);for(const s in e.renderer){const n=t[s];t[s]=(...a)=>{let o=e.renderer[s].apply(t,a);return!1===o&&(o=n.apply(t,a)),o}}s.renderer=t}if(e.tokenizer){const t=this.defaults.tokenizer||new qe(this.defaults);for(const s in e.tokenizer){const n=t[s];t[s]=(...a)=>{let o=e.tokenizer[s].apply(t,a);return!1===o&&(o=n.apply(t,a)),o}}s.tokenizer=t}if(e.hooks){const t=this.defaults.hooks||new Fe;for(const s in e.hooks){const n=t[s];Fe.passThroughHooks.has(s)?t[s]=a=>{if(this.defaults.async)return Promise.resolve(e.hooks[s].call(t,a)).then((e=>n.call(t,e)));const o=e.hooks[s].call(t,a);return n.call(t,o)}:t[s]=(...a)=>{let o=e.hooks[s].apply(t,a);return!1===o&&(o=n.apply(t,a)),o}}s.hooks=t}if(e.walkTokens){const t=this.defaults.walkTokens;s.walkTokens=function(s){let n=[];return n.push(e.walkTokens.call(this,s)),t&&(n=n.concat(t.call(this,s))),n}}this.defaults={...this.defaults,...s}})),this}setOptions(e){return this.defaults={...this.defaults,...e},this}}function Ke(e,t){return(s,n,a)=>{"function"===typeof n&&(a=n,n=null);const o={...n};n={...this.defaults,...o};const r=oe(this,Qe,Xe).call(this,n.silent,n.async,a);if("undefined"===typeof s||null===s)return r(new Error("marked(): input parameter is undefined or null"));if("string"!==typeof s)return r(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(s)+", string expected"));if(Ee(n,a),n.hooks&&(n.hooks.options=n),a){const o=n.highlight;let i;try{n.hooks&&(s=n.hooks.preprocess(s)),i=e(s,n)}catch(l){return r(l)}const p=e=>{let s;if(!e)try{n.walkTokens&&this.walkTokens(i,n.walkTokens),s=t(i,n),n.hooks&&(s=n.hooks.postprocess(s))}catch(l){e=l}return n.highlight=o,e?r(e):a(null,s)};if(!o||o.length<3)return p();if(delete n.highlight,!i.length)return p();let c=0;return this.walkTokens(i,(e=>{"code"===e.type&&(c++,setTimeout((()=>{o(e.text,e.lang,((t,s)=>{if(t)return p(t);null!=s&&s!==e.text&&(e.text=s,e.escaped=!0),c--,0===c&&p()}))}),0))})),void(0===c&&p())}if(n.async)return Promise.resolve(n.hooks?n.hooks.preprocess(s):s).then((t=>e(t,n))).then((e=>n.walkTokens?Promise.all(this.walkTokens(e,n.walkTokens)).then((()=>e)):e)).then((e=>t(e,n))).then((e=>n.hooks?n.hooks.postprocess(e):e)).catch(r);try{n.hooks&&(s=n.hooks.preprocess(s));const a=e(s,n);n.walkTokens&&this.walkTokens(a,n.walkTokens);let o=t(a,n);return n.hooks&&(o=n.hooks.postprocess(o)),o}catch(l){return r(l)}}}function Xe(e,t,s){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/this.",e){const e="

    An error occurred:

    "+we(n.message+"",!0)+"
    ";return t?Promise.resolve(e):s?void s(null,e):e}if(t)return Promise.reject(n);if(!s)throw n;s(n)}}const Je=new Ge(pe);function et(e,t,s){return Je.parse(e,t,s)}et.options=et.setOptions=function(e){return Je.setOptions(e),et.defaults=Je.defaults,ce(et.defaults),et},et.getDefaults=ie,et.defaults=pe,et.use=function(...e){return Je.use(...e),et.defaults=Je.defaults,ce(et.defaults),et},et.walkTokens=function(e,t){return Je.walkTokens(e,t)},et.parseInline=Je.parseInline,et.Parser=Ye,et.parser=Ye.parse,et.Renderer=We,et.TextRenderer=je,et.Lexer=Me,et.lexer=Me.lex,et.Tokenizer=qe,et.Slugger=Ze,et.Hooks=Fe,et.parse=et;et.options,et.setOptions,et.use,et.walkTokens,et.parseInline,Ye.parse,Me.lex;const tt=e=>((0,n.dD)("data-v-7062c208"),e=e(),(0,n.Cn)(),e),st=r+"#ic_arr_down",nt={class:"title"},at=tt((()=>(0,n._)("div",{class:"icon"},[(0,n._)("svg",null,[(0,n._)("use",{"xlink:href":st})])],-1))),ot=["innerHTML"],rt={class:"features"},lt={key:0},it={class:"label"},pt={class:"val"},ct={key:1},ut={class:"label"},_t={class:"val full_w"},dt={key:2},ht={class:"label"},gt={class:"val"},kt={key:3},wt={class:"label"},vt={class:"val"},mt={key:4},ft={class:"label"},bt={class:"val"},xt={key:5},yt={class:"label"},St={class:"val"},zt={key:6},$t={class:"label"},Ut={class:"val"};var Ot={__name:"DescriptionInfo",props:["proposal"],setup(e){const t=e,s=(0,a.iH)(!0);function r(e){return et.parse(e)}return(e,a)=>((0,n.wg)(),(0,n.iD)("section",{class:(0,o.C_)(["description",{active:s.value}]),onClick:a[0]||(a[0]=(0,se.iM)((e=>s.value=!s.value),["self"]))},[(0,n._)("div",nt,(0,o.zw)(e.$t("message.proposal_desc_title")),1),at,(0,n._)("div",{class:"text_block",innerHTML:r(t.proposal.description)},null,8,ot),(0,n._)("div",rt,[t.proposal.content.plan&&t.proposal.content.plan.height.length?((0,n.wg)(),(0,n.iD)("div",lt,[(0,n._)("div",it,(0,o.zw)(e.$t("message.proposal_feature_height_label")),1),(0,n._)("div",pt,(0,o.zw)(t.proposal.content.plan.height),1)])):(0,n.kq)("",!0),t.proposal.content.plan&&t.proposal.content.plan.info.length?((0,n.wg)(),(0,n.iD)("div",ct,[(0,n._)("div",ut,(0,o.zw)(e.$t("message.proposal_feature_info_label")),1),(0,n._)("div",_t,[(0,n._)("pre",null,(0,o.zw)(JSON.parse(t.proposal.content.plan.info)),1)])])):(0,n.kq)("",!0),t.proposal.content.plan&&t.proposal.content.plan.name.length?((0,n.wg)(),(0,n.iD)("div",dt,[(0,n._)("div",ht,(0,o.zw)(e.$t("message.proposal_feature_name_label")),1),(0,n._)("div",gt,(0,o.zw)(t.proposal.content.plan.name),1)])):(0,n.kq)("",!0),t.proposal.content.plan&&t.proposal.content.plan.time.length?((0,n.wg)(),(0,n.iD)("div",kt,[(0,n._)("div",wt,(0,o.zw)(e.$t("message.proposal_feature_time_label")),1),(0,n._)("div",vt,(0,o.zw)(t.proposal.content.plan.time),1)])):(0,n.kq)("",!0),t.proposal.content.changes&&t.proposal.content.changes.length&&t.proposal.content.changes[0].key?((0,n.wg)(),(0,n.iD)("div",mt,[(0,n._)("div",ft,(0,o.zw)(e.$t("message.proposal_feature_changes_key_label")),1),(0,n._)("div",bt,(0,o.zw)(t.proposal.content.changes[0].key),1)])):(0,n.kq)("",!0),t.proposal.content.changes&&t.proposal.content.changes.length&&t.proposal.content.changes[0].subspace?((0,n.wg)(),(0,n.iD)("div",xt,[(0,n._)("div",yt,(0,o.zw)(e.$t("message.proposal_feature_changes_subspace_label")),1),(0,n._)("div",St,(0,o.zw)(t.proposal.content.changes[0].subspace),1)])):(0,n.kq)("",!0),t.proposal.content.changes&&t.proposal.content.changes.length&&t.proposal.content.changes[0].value?((0,n.wg)(),(0,n.iD)("div",zt,[(0,n._)("div",$t,(0,o.zw)(e.$t("message.proposal_feature_changes_value_label")),1),(0,n._)("div",Ut,(0,o.zw)(t.proposal.content.changes[0].value),1)])):(0,n.kq)("",!0)])],2))}};const Tt=(0,J.Z)(Ot,[["__scopeId","data-v-7062c208"]]);var Dt=Tt;const Pt={class:"depositors"},It={class:"title"},At={class:"table_wrap"},Et={class:"depositor"},Nt={class:"tx_hash"},Rt=["href"],qt={class:"amount"},Ct={class:"date"},Vt={class:"ago"};var Lt={__name:"Depositors",props:["depositors","proposal"],setup(e){const t=e,s=(0,l.s)(),r=(new Date).getTimezoneOffset()/60*-1;function i(e){let t=new Date(e);return new Date(t.setHours(t.getHours()+r))}return(e,r)=>{const l=(0,n.up)("timeago");return(0,n.wg)(),(0,n.iD)("div",Pt,[(0,n._)("div",It,(0,o.zw)(e.$t("message.proposal_depositors_title")),1),(0,n._)("div",At,[(0,n._)("table",null,[(0,n._)("thead",null,[(0,n._)("tr",null,[(0,n._)("th",null,(0,o.zw)(e.$t("message.proposal_depositors_th_depositor")),1),(0,n._)("th",null,(0,o.zw)(e.$t("message.proposal_depositors_th_tx_hash")),1),(0,n._)("th",null,(0,o.zw)(e.$t("message.proposal_depositors_th_amount")),1),(0,n._)("th",null,(0,o.zw)(e.$t("message.proposal_depositors_th_time")),1)])]),(0,n._)("tbody",null,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(t.depositors,((r,c)=>((0,n.wg)(),(0,n.iD)("tr",{key:c},[(0,n._)("td",Et,(0,o.zw)(r.depositor_address.slice(0,8)+"..."+r.depositor_address.slice(-8)),1),(0,n._)("td",Nt,[(0,n._)("a",{href:`https://www.mintscan.io/${(0,a.SU)(s).networks[t.proposal.network].mintscanAlias}/txs/${r.tx_hash}`,target:"_blank",rel:"noopener nofollow"},[(0,n._)("span",null,(0,o.zw)(r.tx_hash),1)],8,Rt)]),(0,n._)("td",qt,[(0,n.Uk)((0,o.zw)(parseInt(e.$filters.toFixed((0,a.SU)(p.LH)(r.coins[0].amount,(0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name),6)))+".",1),(0,n._)("small",null,(0,o.zw)(e.$filters.toFixed((0,a.SU)(p.LH)(r.coins[0].amount,(0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name),6).split(".")[1]),1),(0,n.Uk)(" "+(0,o.zw)((0,a.SU)(p.uR)((0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name)),1)]),(0,n._)("td",Ct,[(0,n._)("div",Vt,[(0,n.Wm)(l,{datetime:i(r.timestamp),autoUpdate:""},null,8,["datetime"])]),(0,n._)("div",null,"("+(0,o.zw)(r.timestamp)+")",1)])])))),128))])])])])}}};const Ht=(0,J.Z)(Lt,[["__scopeId","data-v-6aad82fa"]]);var Mt=Ht,Wt=s(15941);const jt=e=>((0,n.dD)("data-v-5bd14508"),e=e(),(0,n.Cn)(),e),Zt=r+"#ic_notice",Yt=r+"#ic_user",Ft={key:0,class:"loader_wrap"},Bt=jt((()=>(0,n._)("div",{class:"loader"},[(0,n._)("span")],-1))),Qt=[Bt],Gt={key:1,class:"votes_info"},Kt={class:"votes"},Xt={class:"filter"},Jt={class:"table_wrap"},es={class:"titles"},ts={class:"validator"},ss={class:"validator_vote"},ns={class:"most_voted"},as={class:"community_votes"},os={class:"tooltip"},rs=jt((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":Zt})],-1))),ls={class:"text"},is={class:"percents"},ps=["innerHTML"],cs={class:"tooltip"},us=jt((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":Zt})],-1))),_s={class:"text"},ds={class:"validator"},hs={class:"logo"},gs=["src","alt"],ks=jt((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":Yt})],-1))),ws={class:"rank"},vs={key:0},ms={key:1},fs={class:"moniker"},bs={class:"tooltip"},xs={key:0,class:"sticker"},ys={class:"validator_vote"},Ss=["href"],zs={key:0},$s={key:1},Us={key:2},Os={key:3},Ts={key:1},Ds={class:"most_voted"},Ps={key:0},Is={key:1},As={key:2},Es={key:3},Ns={key:4},Rs={class:"community_votes"},qs={key:0,class:"empty"},Cs={key:1,class:"bar"},Vs={class:"tooltip"},Ls={class:"yes"},Hs={class:"no"},Ms={class:"nwv"},Ws={class:"percents"},js={key:0},Zs={key:1};var Ys={__name:"VotesInfo",props:["depositors","proposal"],setup(e){const t=e,s=(0,l.s)(),r=(0,a.iH)(!0),i=(0,a.iH)([]),c=(0,a.iH)([]),u=(0,a.iH)("All");function _(e){e.target.classList.add("hide")}async function d(){try{await fetch(`https://rpc.bronbro.io/gov/votes/${s.currentProposalId}/validators-info`).then((e=>e.json())).then((async e=>{for(let t=e.delegators.length-1;t>=0;t--)e.delegators[t].voting_power_rank>180&&e.delegators.splice(t,1);i.value=e,r.value=!1}))}catch(e){Wt.error(e)}}async function h(){try{let e=(0,p.E$)(s.networks[s.currentNetwork].address_prefix,s.account.currentWallet);await fetch(`https://rpc.bronbro.io/account/validators/${e}`).then((e=>e.json())).then((e=>{e.validators.length&&(c.value=e.validators)}))}catch(e){Wt.error(e)}}function g(e){let t=c.value.find((t=>t.operator_address==e));return t}function k(e){let t=[];return"Yes"==e&&(t=i.value.delegators.filter((e=>e.validator_option.VOTE_OPTION_YES))),"No"==e&&(t=i.value.delegators.filter((e=>e.validator_option.VOTE_OPTION_NO))),"NWV"==e&&(t=i.value.delegators.filter((e=>e.validator_option.VOTE_OPTION_NO_WITH_VETO))),"Abstain"==e&&(t=i.value.delegators.filter((e=>e.validator_option.VOTE_OPTION_ABSTAIN))),"Weighted"==e&&(t=i.value.delegators.filter((e=>e.validator_option.VOTE_OPTION_WEIGHTED))),null==e&&(t=i.value.delegators.filter((e=>0===Object.keys(e.validator_option).length))),t.length}function w(e){let t=i.value.delegators;return u.value=e,"Yes"==e&&(t=i.value.delegators.filter((e=>e.validator_option.VOTE_OPTION_YES))),"No"==e&&(t=i.value.delegators.filter((e=>e.validator_option.VOTE_OPTION_NO))),"NWV"==e&&(t=i.value.delegators.filter((e=>e.validator_option.VOTE_OPTION_NO_WITH_VETO))),"Abstain"==e&&(t=i.value.delegators.filter((e=>e.validator_option.VOTE_OPTION_ABSTAIN))),"Weighted"==e&&(t=i.value.delegators.filter((e=>e.validator_option.VOTE_OPTION_WEIGHTED))),null==e&&(t=i.value.delegators.filter((e=>0===Object.keys(e.validator_option).length))),t.sort(((e,t)=>e.voting_power_rank>t.voting_power_rank?1:e.voting_power_rankt.operator_address==e)),a=n.delegators_shares_option_yes+n.delegators_shares_option_nwv+n.delegators_shares_option_no;return a&&("Yes"==t&&(s=n.delegators_shares_option_yes/a*100),"NWM"==t&&(s=n.delegators_shares_option_nwv/a*100),"No"==t&&(s=n.delegators_shares_option_no/a*100)),s}function m(e){return(e.delegators_shares_option_abstain+e.delegators_shares_option_no+e.delegators_shares_option_nwv+e.delegators_shares_option_yes)/Math.pow(10,s.networks[s.currentNetwork].exponent)/e.voting_power*100}return(0,n.wF)((async()=>{await d(),await h()})),(e,l)=>r.value?((0,n.wg)(),(0,n.iD)("div",Ft,Qt)):((0,n.wg)(),(0,n.iD)("section",Gt,[(0,n._)("div",Kt,[(0,n._)("div",Xt,[(0,n._)("button",{class:(0,o.C_)(["btn",{active:"All"==u.value}]),onClick:l[0]||(l[0]=(0,se.iM)((e=>u.value="All"),["prevent"]))},(0,o.zw)(e.$t("message.proposal_votes_filter_all"))+" "+(0,o.zw)(i.value.delegators.length),3),(0,n._)("button",{class:(0,o.C_)(["btn",{active:"Yes"==u.value,disabled:!k("Yes")}]),onClick:l[1]||(l[1]=(0,se.iM)((e=>u.value="Yes"),["prevent"]))},(0,o.zw)(e.$t("message.proposal_votes_filter_yes"))+" "+(0,o.zw)(k("Yes")),3),(0,n._)("button",{class:(0,o.C_)(["btn",{active:"No"==u.value,disabled:!k("No")}]),onClick:l[2]||(l[2]=(0,se.iM)((e=>u.value="No"),["prevent"]))},(0,o.zw)(e.$t("message.proposal_votes_filter_no"))+" "+(0,o.zw)(k("No")),3),(0,n._)("button",{class:(0,o.C_)(["btn",{active:"NWV"==u.value,disabled:!k("NWV")}]),onClick:l[3]||(l[3]=(0,se.iM)((e=>u.value="NWV"),["prevent"]))},(0,o.zw)(e.$t("message.proposal_votes_filter_nwv"))+" "+(0,o.zw)(k("NWV")),3),(0,n._)("button",{class:(0,o.C_)(["btn",{active:"Abstain"==u.value,disabled:!k("Abstain")}]),onClick:l[4]||(l[4]=(0,se.iM)((e=>u.value="Abstain"),["prevent"]))},(0,o.zw)(e.$t("message.proposal_votes_filter_abstain"))+" "+(0,o.zw)(k("Abstain")),3),(0,n._)("button",{class:(0,o.C_)(["btn",{active:"weighted"==u.value,disabled:!k("Weighted")}]),onClick:l[5]||(l[5]=(0,se.iM)((e=>u.value="weighted"),["prevent"]))},(0,o.zw)(e.$t("message.proposal_votes_filter_weighted"))+" "+(0,o.zw)(k("Weighted")),3),(0,n._)("button",{class:(0,o.C_)(["btn",{active:"note_vote"==u.value,disabled:!k(null)}]),onClick:l[6]||(l[6]=(0,se.iM)((e=>u.value=null),["prevent"]))},(0,o.zw)(e.$t("message.proposal_votes_filter_null"))+" "+(0,o.zw)(k(null)),3)]),(0,n._)("div",Jt,[(0,n._)("div",es,[(0,n._)("div",ts,(0,o.zw)(e.$t("message.proposal_votes_th_validator")),1),(0,n._)("div",ss,(0,o.zw)(e.$t("message.proposal_votes_th_validator_vote")),1),(0,n._)("div",ns,(0,o.zw)(e.$t("message.proposal_votes_th_most_voted")),1),(0,n._)("div",as,[(0,n.Uk)((0,o.zw)(e.$t("message.proposal_votes_th_community_votes"))+" ",1),(0,n._)("div",os,[rs,(0,n._)("div",ls,(0,o.zw)(e.$t("message.proposal_votes_community_votes_tooltip")),1)])]),(0,n._)("div",is,[(0,n._)("span",{innerHTML:e.$t("message.proposal_votes_th_percents")},null,8,ps),(0,n._)("div",cs,[us,(0,n._)("div",_s,(0,o.zw)(e.$t("message.proposal_votes_percents_tooltip")),1)])])]),(0,n._)("div",{class:(0,o.C_)(["scroll",{with_your_validator:c.value.length}])},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(w(u.value),((r,l)=>((0,n.wg)(),(0,n.iD)("div",{class:(0,o.C_)(["item",{first:g(r.operator_address),last:!r.voting_power_rank}]),key:l},[(0,n._)("div",ds,[(0,n._)("div",hs,[(0,n._)("img",{src:`${r.mintscan_avatar_url}`,alt:r.moniker,onError:_},null,40,gs),ks,(0,n._)("div",ws,[r.voting_power_rank?((0,n.wg)(),(0,n.iD)("span",ms,(0,o.zw)(r.voting_power_rank),1)):((0,n.wg)(),(0,n.iD)("span",vs,(0,o.zw)(e.$t("message.proposal_votes_validator_no_active")),1))])]),(0,n._)("div",null,[(0,n._)("div",null,[(0,n._)("div",fs,[(0,n._)("span",null,(0,o.zw)(r.moniker),1),(0,n._)("div",bs,(0,o.zw)(r.moniker),1)])]),g(r.operator_address)?((0,n.wg)(),(0,n.iD)("div",xs,(0,o.zw)(e.$t("message.proposal_votes_validator_sticker")),1)):(0,n.kq)("",!0)])]),(0,n._)("div",ys,[Object.keys(r.validator_option).length?((0,n.wg)(),(0,n.iD)("a",{key:0,href:`https://www.mintscan.io/${(0,a.SU)(s).networks[t.proposal.network].mintscanAlias}/txs/${r.vote_tx_hash}`,target:"_blank",rel:"noopener nofollow"},[r.validator_option.VOTE_OPTION_YES?((0,n.wg)(),(0,n.iD)("span",zs,(0,o.zw)(e.$t("message.proposal_vote_yes")),1)):(0,n.kq)("",!0),r.validator_option.VOTE_OPTION_NO?((0,n.wg)(),(0,n.iD)("span",$s,(0,o.zw)(e.$t("message.proposal_vote_no")),1)):(0,n.kq)("",!0),r.validator_option.VOTE_OPTION_ABSTAIN?((0,n.wg)(),(0,n.iD)("span",Us,(0,o.zw)(e.$t("message.proposal_vote_abstain")),1)):(0,n.kq)("",!0),r.validator_option.VOTE_OPTION_NO_WITH_VETO?((0,n.wg)(),(0,n.iD)("span",Os,(0,o.zw)(e.$t("message.proposal_vote_nwv")),1)):(0,n.kq)("",!0)],8,Ss)):((0,n.wg)(),(0,n.iD)("span",Ts,"—"))]),(0,n._)("div",Ds,["VOTE_OPTION_YES"==r.most_voted?((0,n.wg)(),(0,n.iD)("span",Ps,(0,o.zw)(e.$t("message.proposal_vote_yes")),1)):(0,n.kq)("",!0),"VOTE_OPTION_NO"==r.most_voted?((0,n.wg)(),(0,n.iD)("span",Is,(0,o.zw)(e.$t("message.proposal_vote_no")),1)):(0,n.kq)("",!0),"VOTE_OPTION_ABSTAIN"==r.most_voted?((0,n.wg)(),(0,n.iD)("span",As,(0,o.zw)(e.$t("message.proposal_vote_abstain")),1)):(0,n.kq)("",!0),"VOTE_OPTION_NO_WITH_VETO"==r.most_voted?((0,n.wg)(),(0,n.iD)("span",Es,(0,o.zw)(e.$t("message.proposal_vote_nwv")),1)):(0,n.kq)("",!0),"DID_NOT_VOTE"==r.most_voted?((0,n.wg)(),(0,n.iD)("span",Ns,"—")):(0,n.kq)("",!0)]),(0,n._)("div",Rs,["DID_NOT_VOTE"==r.most_voted?((0,n.wg)(),(0,n.iD)("div",qs,(0,o.zw)(e.$t("message.proposal_vote_did_not_vote")),1)):((0,n.wg)(),(0,n.iD)("div",Cs,[v(r.operator_address,"NWM")?((0,n.wg)(),(0,n.iD)("div",{key:0,class:"nwv",style:(0,o.j5)(`width: ${v(r.operator_address,"NWM")}%;`)},null,4)):(0,n.kq)("",!0),v(r.operator_address,"Yes")?((0,n.wg)(),(0,n.iD)("div",{key:1,class:"yes",style:(0,o.j5)(`width: ${v(r.operator_address,"Yes")}%;`)},null,4)):(0,n.kq)("",!0),v(r.operator_address,"No")?((0,n.wg)(),(0,n.iD)("div",{key:2,class:"no",style:(0,o.j5)(`width: ${v(r.operator_address,"No")}%;`)},null,4)):(0,n.kq)("",!0),(0,n._)("div",Vs,[(0,n._)("div",Ls,[v(r.operator_address,"Yes")<1&&v(r.operator_address,"Yes")>0?((0,n.wg)(),(0,n.iD)(n.HY,{key:0},[(0,n.Uk)(" <1% — "+(0,o.zw)(e.$t("message.proposal_vote_yes"))+"; ",1)],64)):((0,n.wg)(),(0,n.iD)(n.HY,{key:1},[(0,n.Uk)((0,o.zw)(e.$filters.toFixed(v(r.operator_address,"Yes"),2))+"% — "+(0,o.zw)(e.$t("message.proposal_vote_yes"))+"; ",1)],64))]),(0,n._)("div",Hs,[v(r.operator_address,"No")<1&&v(r.operator_address,"No")>0?((0,n.wg)(),(0,n.iD)(n.HY,{key:0},[(0,n.Uk)(" <1% — "+(0,o.zw)(e.$t("message.proposal_vote_no"))+"; ",1)],64)):((0,n.wg)(),(0,n.iD)(n.HY,{key:1},[(0,n.Uk)((0,o.zw)(e.$filters.toFixed(v(r.operator_address,"No"),2))+"% — "+(0,o.zw)(e.$t("message.proposal_vote_no"))+"; ",1)],64))]),(0,n._)("div",Ms,[v(r.operator_address,"NWM")<1&&v(r.operator_address,"NWM")>0?((0,n.wg)(),(0,n.iD)(n.HY,{key:0},[(0,n.Uk)(" <1% — "+(0,o.zw)(e.$t("message.proposal_vote_nwv"))+"; ",1)],64)):((0,n.wg)(),(0,n.iD)(n.HY,{key:1},[(0,n.Uk)((0,o.zw)(e.$filters.toFixed(v(r.operator_address,"NWM"),2))+"% — "+(0,o.zw)(e.$t("message.proposal_vote_nwv"))+"; ",1)],64))])])]))]),(0,n._)("div",Ws,[r.voting_power>0?((0,n.wg)(),(0,n.iD)("span",js,[m(r)<.01?((0,n.wg)(),(0,n.iD)(n.HY,{key:0},[(0,n.Uk)("<0.01%")],64)):((0,n.wg)(),(0,n.iD)(n.HY,{key:1},[(0,n.Uk)((0,o.zw)(e.$filters.toFixed(m(r),2))+"%",1)],64))])):((0,n.wg)(),(0,n.iD)("span",Zs,"0%"))])],2)))),128))],2)])]),(0,n.Wm)(Mt,{depositors:t.depositors,proposal:t.proposal},null,8,["depositors","proposal"])]))}};const Fs=(0,J.Z)(Ys,[["__scopeId","data-v-5bd14508"]]);var Bs=Fs,Qs=s(21037),Gs=s(4618),Ks=s(15866);const Xs={class:"default_loader_wrap"},Js=(0,n.uE)('
    ',1),en=[Js];function tn(e,t){return(0,n.wg)(),(0,n.iD)("div",Xs,en)}const sn={},nn=(0,J.Z)(sn,[["render",tn],["__scopeId","data-v-98cd1d18"]]);var an=nn,on=s(15941);const rn=e=>((0,n.dD)("data-v-024285fd"),e=e(),(0,n.Cn)(),e),ln=r+"#ic_close",pn={class:"modal",id:"deposit_modal"},cn={class:"data"},un=rn((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":ln})],-1))),_n=[un],dn={class:"modal_title"},hn=["onSubmit"],gn={class:"line"},kn={class:"label"},wn={class:"field"},vn=["value"],mn={class:"line amount"},fn={class:"label"},bn={class:"field"},xn={class:"balance"},yn={class:"submit"},Sn={type:"submit",class:"submit_btn"},zn=rn((()=>(0,n._)("div",{class:"overlay"},null,-1)));var $n={__name:"DepositModal",props:["proposal"],setup(e){const t=e,s=(0,n.f3)("i18n"),r=(0,n.f3)("emitter"),i=(0,l.s)(),c=(0,Qs.lm)(),u=(0,a.iH)(!0),_=(0,a.iH)(""),d=(0,a.iH)(0);async function h(){let e=i.account.wallets.find((e=>e.address==i.account.currentWallet)),t=e.networks.find((e=>e.name==i.currentNetwork));if(t.balance>0)d.value=t.balance.liquid.native[0].amount/Math.pow(10,t.balance.liquid.native[0].exponent);else try{await fetch(`${i.networks[i.currentNetwork].index_api}/account/account_balance/${(0,p.E$)(i.networks.cosmoshub.address_prefix,e.address)}`).then((e=>e.json())).then((e=>{d.value=e.liquid.native[0].amount/Math.pow(10,e.liquid.native[0].exponent)}))}catch(s){on.error(s)}u.value=!1}function g(e){parseFloat(e.target.value.replace(",","."))>d.value&&(_.value=d.value)}async function k(){c.notify({group:"default",duration:-100,title:s.global.t("message.notification_proposal_deposit_process")});try{let e=[{typeUrl:"/cosmos.gov.v1beta1.MsgDeposit",value:{proposalId:t.proposal.id,depositor:i.Keplr.account.address,amount:{denom:i.networks[i.currentNetwork].denom,amount:""+parseFloat(_.value.replace(",",".")).toFixed(i.networks[i.currentNetwork].exponent.toString().length-1)*Math.pow(10,i.networks[i.currentNetwork].exponent)}}}],n=await(0,p.V4)([e],!1,t.proposal.network),a=await(0,p.pi)(n);0===a.code&&(i.lastTXS=a.transactionHash,c.notify({group:"default",clean:!0}),c.notify({group:"default",title:s.global.t("message.notification_success_proposal_deposit_title"),type:"success",data:{chain:i.networks[i.currentNetwork].name,tx_type:s.global.t("message.notification_action_proposal_deposit")}}),w()),a.code&&(c.notify({group:"default",clean:!0}),c.notify({group:"default",title:s.global.t("message.notification_failed_title"),text:s.global.t("message.notification_tx_error_rejected"),type:"error",data:{chain:i.networks[i.currentNetwork].name,tx_type:s.global.t("message.notification_action_address_add")}}),loading.value=!1)}catch(e){on.error(e),c.notify({group:"default",clean:!0}),c.notify({group:"default",title:s.global.t("message.notification_failed_title"),text:s.global.t("message.notification_tx_error_rejected"),type:"error",data:{chain:i.networks[i.currentNetwork].name,tx_type:s.global.t("message.manage_modal_action_deposit")}})}}async function w(){loading.value=!0,r.emit("refreshProposalData")}return(0,n.wF)((async()=>{await h()})),(e,s)=>((0,n.wg)(),(0,n.iD)("section",pn,[(0,n._)("div",{class:"modal_content",onClick:s[2]||(s[2]=(0,se.iM)((e=>(0,a.SU)(r).emit("closeDepositModal")),["self"]))},[(0,n._)("div",cn,[(0,n._)("button",{class:"close_btn",onClick:s[0]||(s[0]=(0,se.iM)((e=>(0,a.SU)(r).emit("closeDepositModal")),["prevent"]))},_n),(0,n._)("div",dn,(0,o.zw)(e.$t("message.deposit_modal_title")),1),(0,n._)("form",{class:"form",onSubmit:(0,se.iM)(k,["prevent"])},[(0,n._)("div",gn,[(0,n._)("div",kn,(0,o.zw)(e.$t("message.deposit_modal_sender_label")),1),(0,n._)("div",wn,[(0,n._)("input",{type:"text",class:"input",readonly:"",value:(0,a.SU)(i).Keplr.account.address},null,8,vn)])]),(0,n._)("div",mn,[(0,n._)("div",fn,(0,o.zw)(e.$t("message.deposit_modal_amount_label")),1),(0,n._)("div",bn,[(0,n.wy)((0,n._)("input",{type:"text",class:"input","onUpdate:modelValue":s[1]||(s[1]=e=>_.value=e),placeholder:"0",onInput:g},null,544),[[se.nr,_.value]]),(0,n._)("div",xn,[u.value?((0,n.wg)(),(0,n.j4)(an,{key:0})):(0,n.kq)("",!0),(0,n._)("span",null,(0,o.zw)(d.value),1),(0,n.Uk)(" "+(0,o.zw)((0,a.SU)(i).networks[t.proposal.network].token_name),1)])])]),(0,n._)("div",yn,[(0,n._)("button",Sn,(0,o.zw)(e.$t("message.btn_send")),1)])],40,hn)])]),zn]))}};const Un=(0,J.Z)($n,[["__scopeId","data-v-024285fd"]]);var On=Un,Tn=s(15941);const Dn=e=>((0,n.dD)("data-v-38514a4b"),e=e(),(0,n.Cn)(),e),Pn=r+"#ic_arr_down",In=r+"#ic_refresh",An={class:"sticky"},En={key:0,class:"loader_wrap"},Nn=Dn((()=>(0,n._)("div",{class:"loader"},[(0,n._)("span")],-1))),Rn=[Nn],qn={key:1,class:"current_account"},Cn={class:"label"},Vn=Dn((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":Pn})],-1))),Ln={key:0,class:"dropdown"},Hn={key:0},Mn=["onClick"],Wn={key:2,class:"current_vote"},jn={class:"label"},Zn={key:0,class:"val green"},Yn={key:1,class:"val yellow"},Fn={key:2,class:"val red"},Bn={key:1,class:"val grey"},Qn={key:0,class:"loader_wrap"},Gn=Dn((()=>(0,n._)("div",{class:"loader"},[(0,n._)("span")],-1))),Kn=[Gn],Xn={key:1,class:"tooltip"},Jn={key:4,class:"deposit_status"},ea={class:"title"},ta=["onClick"],sa=Dn((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":In})],-1))),na={class:"chart"},aa={class:"percents"},oa={key:0,class:"tooltip"},ra={class:"details"},la={class:"title"},ia={class:"row"},pa={key:0,class:"item"},ca={class:"label"},ua={class:"val"},_a={key:1,class:"item"},da={class:"label"},ha={class:"val"},ga={class:"item"},ka={class:"label"},wa={class:"val"},va={class:"item"},ma={class:"label"},fa={class:"val"},ba={class:"item"},xa={class:"label"},ya={class:"val"},Sa={key:5,class:"vote_info"},za={class:"head"},$a={class:"title"},Ua=["onClick"],Oa=Dn((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":In})],-1))),Ta={class:"chart"},Da={class:"final_status"},Pa={key:0,class:"label"},Ia={key:1,class:"label"},Aa={key:2,class:"val green"},Ea={key:3,class:"val red"},Na={key:0,class:"val green"},Ra={key:1,class:"val red"},qa={class:"row"},Ca={class:"total"},Va={key:0,class:"exp"},La={key:6,class:"vote_result"},Ha={class:"row"},Ma={class:"item"},Wa={class:"val green"},ja={class:"tokens_count"},Za={class:"votes_count"},Ya={class:"item"},Fa={class:"val yellow"},Ba={class:"tokens_count"},Qa={class:"votes_count"},Ga={class:"item"},Ka={class:"val red"},Xa={class:"tokens_count"},Ja={class:"votes_count"},eo={class:"item"},to={class:"val"},so={class:"tokens_count"},no={class:"votes_count"};var ao={__name:"ProposalInfo",props:["proposal","chartDatasets","currentVote","stakingPool"],setup(e){const t=e;Gs.kL.register(Gs.qi);var s=(0,l.s)(),r=(0,Qs.lm)(),i=(0,n.f3)("i18n"),c=(0,n.f3)("emitter"),u=(0,a.iH)(!1),_=(0,a.iH)(!1),d=(0,a.iH)(!1),h=(0,a.iH)(!1),g=(new Date).getTimezoneOffset()/60*-1,k=(0,a.qj)({responsive:!0,plugins:{legend:!1,tooltip:!1},animation:{duration:200},transitions:{active:{animation:{duration:200}}}}),w=(0,a.iH)(null),v=["#1BC562","#C5811B","#EB5757","#888888"],m=["#950FFF","#353535"],f=(0,n.Fl)((()=>({datasets:[{data:t.chartDatasets,backgroundColor:"PROPOSAL_STATUS_DEPOSIT_PERIOD"==t.proposal.status?m:v,borderColor:"transparent",borderWidth:0,hoverBackgroundColor:"PROPOSAL_STATUS_DEPOSIT_PERIOD"==t.proposal.status?m:v,hoverBorderColor:"PROPOSAL_STATUS_DEPOSIT_PERIOD"==t.proposal.status?m:v,borderAlign:"inner",cutout:"84%"}]})));function b(){let{nickname:e}=s.account.wallets.find((e=>e.address==s.account.currentWallet));return e}function x(e){_.value=!1,s.account.currentWallet=(0,p.E$)("bostrom",e),c.emit("refreshUserCurrentVote"),d.value=!1}function y(e){let t=new Date(e);return new Date(t.setHours(t.getHours()+g))}function S(e){let s=t.proposal.tally_abstain+t.proposal.tally_no+t.proposal.tally_no_with_veto+t.proposal.tally_yes;return(e/s*100).toFixed(2)}function z(){let e=t.proposal.tally_abstain+t.proposal.tally_no+t.proposal.tally_no_with_veto+t.proposal.tally_yes;return(e/t.stakingPool.amount*100).toFixed(2)}function $(){let e="";return e=z()>40&&t.proposal.tally_no_with_veto/(t.proposal.tally_no+t.proposal.tally_yes+t.proposal.tally_no_with_veto)>.334&&t.proposal.tally_yes/(t.proposal.tally_no+t.proposal.tally_yes+t.proposal.tally_no_with_veto)>.5,e}async function U(){u.value=!0,c.emit("refreshProposalData")}async function O(e){_.value=!0,r.notify({group:"default",duration:-100,title:i.global.t("message.notification_proposal_vote_process")});try{let n=[{typeUrl:"/cosmos.gov.v1beta1.MsgVote",value:{proposalId:t.proposal.id,voter:s.Keplr.account.address,option:e}}],a=await(0,p.V4)(n,!1,t.proposal.network),o=await(0,p.pi)(a);if(Tn.log(o),0!=o.code)return r.notify({group:"default",clean:!0}),r.notify({group:"default",title:i.global.t("message.notification_failed_title"),text:i.global.t(`message.notification_tx_error_${o.code}`),type:"error",data:{chain:t.proposal.network,tx_type:i.global.t("message.notification_action_proposal_vote")}}),!1;r.notify({group:"default",clean:!0}),r.notify({group:"default",title:i.global.t("message.notification_successful_title"),type:"success",data:{chain:t.proposal.network,tx_type:i.global.t("message.notification_action_proposal_vote")}}),c.emit("refreshUserCurrentVote"),_.value=!1}catch(n){Tn.error(n),r.notify({group:"default",clean:!0}),r.notify({group:s.networks[t.proposal.network].denom,title:i.global.t("message.notification_failed_title"),text:i.global.t("message.notification_tx_error_rejected"),type:"error",data:{chain:t.proposal.network,tx_type:i.global.t("message.notification_action_proposal_vote")}}),_.value=!1}}return c.on("refreshProposalDataFinished",(async()=>{u.value=!1})),c.on("closeDepositModal",(()=>{h.value=!1})),(e,r)=>{const l=(0,n.up)("vue-countdown");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n._)("div",An,[(0,a.SU)(u)?((0,n.wg)(),(0,n.iD)("div",En,Rn)):(0,n.kq)("",!0),(0,a.SU)(s).account.wallets.length?((0,n.wg)(),(0,n.iD)("div",qn,[(0,n._)("div",Cn,(0,o.zw)(e.$t("message.proposal_current_account_title")),1),(0,n._)("button",{class:(0,o.C_)(["btn current",{active:(0,a.SU)(d)}]),onClick:r[0]||(r[0]=(0,se.iM)((e=>(0,a.dq)(d)?d.value=!(0,a.SU)(d):d=!(0,a.SU)(d)),["prevent"]))},[(0,n._)("span",null,(0,o.zw)(b()),1),Vn],2),(0,n.Wm)(se.uT,{name:"fadeUp",mode:"out-in"},{default:(0,n.w5)((()=>[(0,a.SU)(d)?((0,n.wg)(),(0,n.iD)("div",Ln,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)((0,a.SU)(s).account.wallets,((e,t)=>((0,n.wg)(),(0,n.iD)(n.HY,{key:t},[b()!=e.nickname?((0,n.wg)(),(0,n.iD)("div",Hn,[(0,n._)("button",{class:"btn",onClick:(0,se.iM)((t=>x(e.address)),["prevent"])},(0,o.zw)(e.nickname),9,Mn)])):(0,n.kq)("",!0)],64)))),128))])):(0,n.kq)("",!0)])),_:1})])):(0,n.kq)("",!0),"PROPOSAL_STATUS_DEPOSIT_PERIOD"!=(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)("div",Wn,[(0,n._)("div",jn,(0,o.zw)(e.$t("message.proposal_current_vote_title")),1),(0,a.SU)(t).currentVote.value&&(0,a.SU)(t).currentVote.value.votes.length?((0,n.wg)(),(0,n.iD)(n.HY,{key:0},["VOTE_OPTION_YES"==(0,a.SU)(t).currentVote.value.votes[0].option?((0,n.wg)(),(0,n.iD)("div",Zn,(0,o.zw)(e.$t("message.proposal_vote_result_yes_label")),1)):(0,n.kq)("",!0),"VOTE_OPTION_NO"==(0,a.SU)(t).currentVote.value.votes[0].option?((0,n.wg)(),(0,n.iD)("div",Yn,(0,o.zw)(e.$t("message.proposal_vote_result_no_label")),1)):(0,n.kq)("",!0),"VOTE_OPTION_NO_WITH_VETO"==(0,a.SU)(t).currentVote.value.votes[0].option?((0,n.wg)(),(0,n.iD)("div",Fn,(0,o.zw)(e.$t("message.proposal_vote_result_nwv_label")),1)):(0,n.kq)("",!0)],64)):((0,n.wg)(),(0,n.iD)("div",Bn,(0,o.zw)(e.$t("message.proposal_vote_result_no_vote_label")),1))])):(0,n.kq)("",!0),"PROPOSAL_STATUS_VOTING_PERIOD"==(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)("div",{key:3,class:(0,o.C_)(["vote",{disabled:(0,a.SU)(s).account.currentWallet!=(0,a.SU)(p.E$)("bostrom",(0,a.SU)(s).Keplr.account.address)}])},[(0,a.SU)(_)?((0,n.wg)(),(0,n.iD)("div",Qn,Kn)):(0,n.kq)("",!0),(0,n._)("button",{class:"btn green",onClick:r[1]||(r[1]=(0,se.iM)((e=>O(1)),["prevent"]))},(0,o.zw)(e.$t("message.proposal_vote_yes_btn")),1),(0,n._)("button",{class:"btn yellow",onClick:r[2]||(r[2]=(0,se.iM)((e=>O(3)),["prevent"]))},(0,o.zw)(e.$t("message.proposal_vote_no_btn")),1),(0,n._)("button",{class:"btn red",onClick:r[3]||(r[3]=(0,se.iM)((e=>O(4)),["prevent"]))},(0,o.zw)(e.$t("message.proposal_vote_nwv_btn")),1),(0,n._)("button",{class:"btn grey",onClick:r[4]||(r[4]=(0,se.iM)((e=>O(2)),["prevent"]))},(0,o.zw)(e.$t("message.proposal_vote_abstain_btn")),1),(0,a.SU)(s).account.currentWallet!=(0,a.SU)(p.E$)("bostrom",(0,a.SU)(s).Keplr.account.address)?((0,n.wg)(),(0,n.iD)("div",Xn,(0,o.zw)(e.$t("message.proposal_add_vote_exp")),1)):(0,n.kq)("",!0)],2)):(0,n.kq)("",!0),"PROPOSAL_STATUS_DEPOSIT_PERIOD"==(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)("div",Jn,[(0,n._)("div",ea,[(0,n.Uk)((0,o.zw)(e.$t("message.proposal_deposit_status_title"))+" ",1),(0,n._)("button",{class:"refresh_btn",onClick:(0,se.iM)(U,["prevent"])},[sa,(0,n._)("span",null,(0,o.zw)(e.$t("message.btn_refresh")),1)],8,ta)]),(0,n._)("div",na,[(0,n._)("div",aa,(0,o.zw)(e.$filters.toFixed((0,a.SU)(p.LH)((0,a.SU)(t).proposal.deposit,(0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name)/(0,a.SU)(s).networks[(0,a.SU)(t).proposal.network].proposal_need*100,2))+"% ",1),(0,n.Wm)((0,a.SU)(Ks.$I),{ref_key:"chart",ref:w,data:(0,a.SU)(f),options:(0,a.SU)(k)},null,8,["data","options"])]),(0,n._)("button",{class:(0,o.C_)(["deposit_btn",{disabled:(0,a.SU)(s).account.currentWallet!=(0,a.SU)(p.E$)("bostrom",(0,a.SU)(s).Keplr.account.address)}]),onClick:r[5]||(r[5]=(0,se.iM)((e=>(0,a.dq)(h)?h.value=!(0,a.SU)(h):h=!(0,a.SU)(h)),["prevent"]))},[(0,a.SU)(s).account.currentWallet!=(0,a.SU)(p.E$)("bostrom",(0,a.SU)(s).Keplr.account.address)?((0,n.wg)(),(0,n.iD)("div",oa,(0,o.zw)(e.$t("message.proposal_add_vote_exp")),1)):(0,n.kq)("",!0),(0,n.Uk)(" "+(0,o.zw)(e.$t("message.btn_deposit")),1)],2)])):(0,n.kq)("",!0),(0,n._)("div",ra,[(0,n._)("div",la,(0,o.zw)(e.$t("message.proposal_details_title")),1),(0,n._)("div",ia,["PROPOSAL_STATUS_DEPOSIT_PERIOD"==(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)("div",pa,[(0,n._)("div",ca,(0,o.zw)(e.$t("message.proposal_details_deposit_label")),1),(0,n._)("div",ua,[(0,n.Wm)(l,{time:y((0,a.SU)(t).proposal.deposit_end_time)-new Date},{default:(0,n.w5)((({days:e,hours:t,minutes:s,seconds:a})=>[(0,n.Uk)((0,o.zw)(e)+"D : "+(0,o.zw)(t)+"H : "+(0,o.zw)(s)+"M : "+(0,o.zw)(a)+"S ",1)])),_:1},8,["time"])])])):((0,n.wg)(),(0,n.iD)("div",_a,[(0,n._)("div",da,(0,o.zw)(e.$t("message.proposal_details_voting_label")),1),(0,n._)("div",ha,(0,o.zw)((0,a.SU)(t).proposal.voting_end_time),1)])),(0,n._)("div",ga,[(0,n._)("div",ka,(0,o.zw)(e.$t("message.proposal_details_submit_label")),1),(0,n._)("div",wa,(0,o.zw)((0,a.SU)(t).proposal.submit_time),1)]),(0,n._)("div",va,[(0,n._)("div",ma,(0,o.zw)(e.$t("message.proposal_details_total_label")),1),(0,n._)("div",fa,(0,o.zw)((0,a.SU)(p.LH)((0,a.SU)(t).proposal.deposit,(0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name))+" "+(0,o.zw)((0,a.SU)(p.uR)((0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name)),1)]),(0,n._)("div",ba,[(0,n._)("div",xa,(0,o.zw)(e.$t("message.proposal_details_initial_label")),1),(0,n._)("div",ya,(0,o.zw)((0,a.SU)(p.LH)((0,a.SU)(t).proposal.init_deposit,(0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name))+" "+(0,o.zw)((0,a.SU)(p.uR)((0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name)),1)])])]),"PROPOSAL_STATUS_DEPOSIT_PERIOD"!=(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)("div",Sa,[(0,n._)("div",za,[(0,n._)("div",$a,(0,o.zw)(e.$t("message.proposal_vote_details_title")),1),(0,n._)("button",{class:"refresh_btn",onClick:(0,se.iM)(U,["prevent"])},[Oa,(0,n._)("span",null,(0,o.zw)(e.$t("message.btn_refresh")),1)],8,Ua)]),(0,n._)("div",Ta,[(0,n._)("div",Da,["PROPOSAL_STATUS_VOTING_PERIOD"==(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)("div",Pa,(0,o.zw)(e.$t("message.proposal_vote_info_current_status_label"))+": ",1)):((0,n.wg)(),(0,n.iD)("div",Ia,(0,o.zw)(e.$t("message.proposal_vote_info_final_status_label"))+": ",1)),"PROPOSAL_STATUS_PASSED"==(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)("div",Aa,(0,o.zw)(e.$t("message.proposal_vote_info_status_passed")),1)):(0,n.kq)("",!0),"PROPOSAL_STATUS_REJECTED"==(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)("div",Ea,(0,o.zw)(e.$t("message.proposal_vote_info_status_rejected")),1)):(0,n.kq)("",!0),"PROPOSAL_STATUS_VOTING_PERIOD"==(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)(n.HY,{key:4},[$()?((0,n.wg)(),(0,n.iD)("div",Na,(0,o.zw)(e.$t("message.proposal_vote_info_status_passing")),1)):((0,n.wg)(),(0,n.iD)("div",Ra,(0,o.zw)(e.$t("message.proposal_vote_info_status_rejecting")),1))],64)):(0,n.kq)("",!0)]),(0,n.Wm)((0,a.SU)(Ks.$I),{data:(0,a.SU)(f),options:(0,a.SU)(k)},null,8,["data","options"])]),(0,n._)("div",qa,["PROPOSAL_STATUS_VOTING_PERIOD"==(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)("div",{key:0,class:(0,o.C_)(["turnout",{green:z()>40}])},(0,o.zw)(e.$t("message.proposal_vote_info_turnout_label"))+": "+(0,o.zw)(z())+"% ",3)):(0,n.kq)("",!0),(0,n._)("div",Ca,(0,o.zw)(e.$t("message.proposal_vote_info_total_vote_label"))+": "+(0,o.zw)(((0,a.SU)(t).proposal.VOTE_OPTION_YES+(0,a.SU)(t).proposal.VOTE_OPTION_NO+(0,a.SU)(t).proposal.VOTE_OPTION_NO_WITH_VETO+(0,a.SU)(t).proposal.VOTE_OPTION_ABSTAIN).toLocaleString("en-US")),1)]),"PROPOSAL_STATUS_VOTING_PERIOD"==(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)("div",Va,(0,o.zw)(e.$t("message.proposal_vote_info_minimum",{amount:Number(e.$filters.toFixed(.4*(0,a.SU)(p.LH)((0,a.SU)(t).stakingPool.amount,(0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name),2)).toLocaleString("en-US"),denom:(0,a.SU)(p.uR)((0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name)})),1)):(0,n.kq)("",!0)])):(0,n.kq)("",!0),"PROPOSAL_STATUS_DEPOSIT_PERIOD"!=(0,a.SU)(t).proposal.status?((0,n.wg)(),(0,n.iD)("div",La,[(0,n._)("div",Ha,[(0,n._)("div",Ma,[(0,n._)("div",Wa,(0,o.zw)(e.$t("message.proposal_vote_result_yes_label"))+" "+(0,o.zw)(S((0,a.SU)(t).proposal.tally_yes))+"% ",1),(0,n._)("div",ja,(0,o.zw)(Number(e.$filters.toFixed((0,a.SU)(p.LH)((0,a.SU)(t).proposal.tally_yes,(0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name),2)).toLocaleString("en-US"))+" "+(0,o.zw)((0,a.SU)(p.uR)((0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name)),1),(0,n._)("div",Za,(0,o.zw)((0,a.SU)(t).proposal.VOTE_OPTION_YES.toLocaleString("en-US"))+" "+(0,o.zw)(e.$t("message.proposal_vote_result_votes_label")),1)]),(0,n._)("div",Ya,[(0,n._)("div",Fa,(0,o.zw)(e.$t("message.proposal_vote_result_no_label"))+" "+(0,o.zw)(S((0,a.SU)(t).proposal.tally_no))+"% ",1),(0,n._)("div",Ba,(0,o.zw)(Number(e.$filters.toFixed((0,a.SU)(p.LH)((0,a.SU)(t).proposal.tally_no,(0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name),2)).toLocaleString("en-US"))+" "+(0,o.zw)((0,a.SU)(p.uR)((0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name)),1),(0,n._)("div",Qa,(0,o.zw)((0,a.SU)(t).proposal.VOTE_OPTION_NO.toLocaleString("en-US"))+" "+(0,o.zw)(e.$t("message.proposal_vote_result_votes_label")),1)]),(0,n._)("div",Ga,[(0,n._)("div",Ka,(0,o.zw)(e.$t("message.proposal_vote_result_nwv_label"))+" "+(0,o.zw)(S((0,a.SU)(t).proposal.tally_no_with_veto))+"% ",1),(0,n._)("div",Xa,(0,o.zw)(Number(e.$filters.toFixed((0,a.SU)(p.LH)((0,a.SU)(t).proposal.tally_no_with_veto,(0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name),2)).toLocaleString("en-US"))+" "+(0,o.zw)((0,a.SU)(p.uR)((0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name)),1),(0,n._)("div",Ja,(0,o.zw)((0,a.SU)(t).proposal.VOTE_OPTION_NO_WITH_VETO.toLocaleString("en-US"))+" "+(0,o.zw)(e.$t("message.proposal_vote_result_votes_label")),1)]),(0,n._)("div",eo,[(0,n._)("div",to,(0,o.zw)(e.$t("message.proposal_vote_result_abstain_label"))+" "+(0,o.zw)(S((0,a.SU)(t).proposal.tally_abstain))+"% ",1),(0,n._)("div",so,(0,o.zw)(Number(e.$filters.toFixed((0,a.SU)(p.LH)((0,a.SU)(t).proposal.tally_abstain,(0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name),2)).toLocaleString("en-US"))+" "+(0,o.zw)((0,a.SU)(p.uR)((0,a.SU)(s).networks[(0,a.SU)(s).currentNetwork].token_name)),1),(0,n._)("div",no,(0,o.zw)((0,a.SU)(t).proposal.VOTE_OPTION_ABSTAIN.toLocaleString("en-US"))+" "+(0,o.zw)(e.$t("message.proposal_vote_result_votes_label")),1)])])])):(0,n.kq)("",!0)]),(0,a.SU)(h)&&(0,a.SU)(s).account.currentWallet==(0,a.SU)(p.E$)("bostrom",(0,a.SU)(s).Keplr.account.address)?((0,n.wg)(),(0,n.j4)(On,{key:0,proposal:(0,a.SU)(t).proposal},null,8,["proposal"])):(0,n.kq)("",!0)],64)}}};const oo=(0,J.Z)(ao,[["__scopeId","data-v-38514a4b"]]);var ro=oo,lo=s(15941);const io=e=>((0,n.dD)("data-v-66e1e89c"),e=e(),(0,n.Cn)(),e),po=r+"#ic_arrow_hor",co={key:0,class:"loader_wrap"},uo=io((()=>(0,n._)("div",{class:"loader"},[(0,n._)("span")],-1))),_o=[uo],ho={key:1,class:"proposal_info"},go={class:"cont middle"},ko={class:"back_btn"},wo=io((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":po})],-1))),vo=io((()=>(0,n._)("svg",{class:"icon"},[(0,n._)("use",{"xlink:href":po})],-1))),mo={class:"row"},fo={class:"data"},bo={key:1,class:"tabs"},xo={class:"row"},yo={key:2},So={key:3},zo={class:"info"};var $o={__name:"Proposal",setup(e){var t=(0,l.s)(),s=(0,n.f3)("i18n"),r=(0,a.iH)(!0),u=(0,n.f3)("emitter"),_=(0,c.ltg)("history"),d=(0,a.iH)({}),h=(0,a.iH)(_.tab?_.tab:"tab1"),g=(0,a.qj)([]),k=(0,a.qj)({votes:[]}),w=(0,a.iH)({});async function v(){try{await fetch(`${t.networks[t.currentNetwork].index_api}/gov/proposal/${t.currentProposalId}`).then((e=>e.json())).then((async e=>{if(d.value=e,"PROPOSAL_STATUS_DEPOSIT_PERIOD"==d.value.status){let e=t.networks[d.value.network].proposal_need-d.value.deposit/Math.pow(10,t.networks[d.value.network].exponent);g.push(d.value.deposit/Math.pow(10,t.networks[d.value.network].exponent)),e>0&&g.push(e)}else g.push(d.value.tally_yes),g.push(d.value.tally_no),g.push(d.value.tally_no_with_veto),g.push(d.value.tally_abstain);if(m(),"PROPOSAL_STATUS_VOTING_PERIOD"==d.value.status)try{fetch("https://rpc.bronbro.io/distribution/staking_pool").then((e=>e.json())).then((e=>w.value=e))}catch(s){lo.error(s)}if(d.value.proposer_address.length){let e=(0,i.g6)(t.networks[d.value.network].address_prefix+"valoper",(0,i.zl)(d.value.proposer_address).data);try{fetch(`https://rpc.bronbro.io/validators/${e}`).then((e=>e.json())).then((e=>d.value.moniker=e.moniker))}catch(s){lo.error(s)}}r.value=!1}))}catch(e){lo.error(e)}}async function m(){try{await fetch(`https://rpc.bronbro.io/account/votes/${(0,p.E$)(t.networks[d.value.network].address_prefix,t.account.currentWallet)}?proposal_id=${d.value.id}`).then((e=>e.json())).then((e=>k.value=e))}catch(e){lo.error(e)}}function f(e){h.value=e,_.tab=value}return(0,n.wF)((async()=>{t.tooltip=s.global.t("message.notice_default_proposal_page"),"all"==t.account.currentWallet&&(t.account.currentWallet=t.account.moonPassportOwnerAddress),await v()})),u.on("refreshProposalData",(async()=>{g=(0,a.qj)([]),await v(),u.emit("refreshProposalDataFinished")})),u.on("refreshUserCurrentVote",(async()=>{k.value=(0,a.qj)({votes:[]}),await m()})),(e,s)=>{const l=(0,n.up)("router-link");return(0,a.SU)(r)?((0,n.wg)(),(0,n.iD)("div",co,_o)):((0,n.wg)(),(0,n.iD)("section",ho,[(0,n._)("div",go,[(0,n._)("div",ko,[(0,a.SU)(t).demo?((0,n.wg)(),(0,n.j4)(l,{key:0,to:`/proposals/${(0,a.SU)(t).currentNetwork}?demo=true`,class:"btn"},{default:(0,n.w5)((()=>[wo])),_:1},8,["to"])):((0,n.wg)(),(0,n.j4)(l,{key:1,to:`/proposals/${(0,a.SU)(t).currentNetwork}`,class:"btn"},{default:(0,n.w5)((()=>[vo])),_:1},8,["to"]))]),(0,n._)("div",mo,[(0,n._)("div",fo,[(0,n.Wm)(te,{proposal:(0,a.SU)(d)},null,8,["proposal"]),(0,a.SU)(d).depositors.length&&"PROPOSAL_STATUS_VOTING_PERIOD"!=(0,a.SU)(d).status?((0,n.wg)(),(0,n.j4)(Mt,{key:0,depositors:(0,a.SU)(d).depositors,proposal:(0,a.SU)(d)},null,8,["depositors","proposal"])):(0,n.kq)("",!0),"PROPOSAL_STATUS_DEPOSIT_PERIOD"!=(0,a.SU)(d).status?((0,n.wg)(),(0,n.iD)("div",bo,[(0,n._)("div",xo,[(0,n._)("button",{class:(0,o.C_)(["btn",{active:"tab1"==(0,a.SU)(h)}]),onClick:s[0]||(s[0]=e=>f("tab1"))},(0,o.zw)(e.$t("message.proposal_tab1")),3),"PROPOSAL_STATUS_VOTING_PERIOD"==(0,a.SU)(d).status?((0,n.wg)(),(0,n.iD)("button",{key:0,class:(0,o.C_)(["btn",{active:"tab2"==(0,a.SU)(h)}]),onClick:s[1]||(s[1]=e=>f("tab2"))},(0,o.zw)(e.$t("message.proposal_tab2")),3)):(0,n.kq)("",!0)])])):(0,n.kq)("",!0),"tab1"==(0,a.SU)(h)?((0,n.wg)(),(0,n.iD)("div",yo,[(0,n.Wm)(Dt,{proposal:(0,a.SU)(d)},null,8,["proposal"])])):(0,n.kq)("",!0),"tab2"==(0,a.SU)(h)?((0,n.wg)(),(0,n.iD)("div",So,[(0,n.Wm)(Bs,{depositors:(0,a.SU)(d).depositors,proposal:(0,a.SU)(d)},null,8,["depositors","proposal"])])):(0,n.kq)("",!0)]),(0,n._)("div",zo,[(0,n.Wm)(ro,{proposal:(0,a.SU)(d),chartDatasets:(0,a.SU)(g),currentVote:(0,a.SU)(k),stakingPool:(0,a.SU)(w)},null,8,["proposal","chartDatasets","currentVote","stakingPool"])])])])]))}}};const Uo=(0,J.Z)($o,[["__scopeId","data-v-66e1e89c"]]);var Oo=Uo}}]); -//# sourceMappingURL=778.6cb1db9a.js.map \ No newline at end of file diff --git a/js/778.6cb1db9a.js.map b/js/778.6cb1db9a.js.map deleted file mode 100644 index 61f03aa..0000000 --- a/js/778.6cb1db9a.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/778.6cb1db9a.js","mappings":"skDAgEQA,GAAQC,EAAAA,EAAAA,K,qrEC1DhB,MAAMC,IAA2B,OAAgB,EAAQ,CAAC,CAAC,YAAY,qBAEvE,U,qBCRe,SAASC,GAA2BC,EAAKC,GACtD,GAAIA,EAAkBC,IAAIF,GACxB,MAAM,IAAIG,UAAU,iEAExB,CCHe,SAASC,GAA4BJ,EAAKK,GACvDC,GAA0BN,EAAKK,GAC/BA,EAAWE,IAAIP,EACjB,CCJe,SAASQ,GAAuBC,EAAUJ,EAAYK,GACnE,IAAKL,EAAWH,IAAIO,GAClB,MAAM,IAAIN,UAAU,kDAEtB,OAAOO,CACT,C,4BCMA,SAASC,KACP,MAAO,CACLC,OAAO,EACPC,QAAS,KACTC,QAAQ,EACRC,WAAY,KACZC,KAAK,EACLC,WAAW,EACXC,aAAc,GACdC,UAAW,KACXC,MAAO,KACPC,WAAY,YACZC,QAAQ,EACRC,UAAU,EACVC,SAAU,KACVC,UAAU,EACVC,UAAW,KACXC,QAAQ,EACRC,aAAa,EACbC,UAAW,KACXC,WAAY,KACZC,OAAO,EAEX,CAEA,IAAIC,GAAWrB,KAEf,SAASsB,GAAeC,GACtBF,GAAWE,CACb,CAKA,MAAMC,GAAa,UACbC,GAAgB,IAAIC,OAAOF,GAAWG,OAAQ,KAC9CC,GAAqB,oDACrBC,GAAwB,IAAIH,OAAOE,GAAmBD,OAAQ,KAC9DG,GAAqB,CACzB,IAAK,QACL,IAAK,OACL,IAAK,OACL,IAAK,SACL,IAAK,SAEDC,GAAwBC,GAAOF,GAAmBE,GACxD,SAASC,GAAOC,EAAMC,GACpB,GAAIA,GACF,GAAIX,GAAWY,KAAKF,GAClB,OAAOA,EAAKG,QAAQZ,GAAeM,SAGrC,GAAIH,GAA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E,EAASrK,MAAMqJ,SAASnD,eAAgBha,EAAMia,QAAQC,8BAA8BiE,EAASrK,MAAMf,MACjLgE,MAAKuC,GAAOA,EAAIC,SAChBxC,MAAKgM,GAAQZ,EAAYrO,MAAQiP,GAC1C,CAAE,MAAO3Q,GACL9K,GAAQ8K,MAAMA,EAClB,CACJ,CAIA,SAAS4Q,EAAad,GAElBD,EAAUnO,MAAQoO,EAGlBH,EAAUG,IAAMpO,KACpB,C,OAnGAgI,EAAAA,EAAAA,KAAc9a,UAEVhB,EAAM6f,QAAUvD,EAAKwB,OAAOzS,EAAE,wCAGI,OAA/BrL,EAAMia,QAAQC,gBACbla,EAAMia,QAAQC,cAAgBla,EAAMia,QAAQgJ,gCAI1CZ,GAAiB,IA6F3B7F,EAAQsF,GAAG,uBAAuB9gB,UAE9Buf,GAAgBd,EAAAA,EAAAA,IAAS,UAGnB4C,IAGN7F,EAAQyC,KAAK,8BAA8B,IAK/CzC,EAAQsF,GAAG,0BAA0B9gB,UAEjCmhB,EAAYrO,OAAQ2L,EAAAA,EAAAA,IAAS,CAAE2C,MAAO,WAGhCK,GAAgB,I,8vDCxM9B,MAAM,IAA2B,OAAgB,GAAQ,CAAC,CAAC,YAAY,qBAEvE,S","sources":["webpack://bro_app/./src/components/proposal/HeadInfo.vue","webpack://bro_app/./src/components/proposal/HeadInfo.vue?e091","webpack://bro_app/./node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js","webpack://bro_app/./node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js","webpack://bro_app/./node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js","webpack://bro_app/./node_modules/marked/lib/marked.esm.js","webpack://bro_app/./src/components/proposal/DescriptionInfo.vue","webpack://bro_app/./src/components/proposal/DescriptionInfo.vue?9f59","webpack://bro_app/./src/components/proposal/Depositors.vue","webpack://bro_app/./src/components/proposal/Depositors.vue?3e1f","webpack://bro_app/./src/components/proposal/VotesInfo.vue","webpack://bro_app/./src/components/proposal/VotesInfo.vue?13ed","webpack://bro_app/./src/components/Loader.vue","webpack://bro_app/./src/components/Loader.vue?b8fd","webpack://bro_app/./src/components/modal/DepositModal.vue","webpack://bro_app/./src/components/modal/DepositModal.vue?c716","webpack://bro_app/./src/components/proposal/ProposalInfo.vue","webpack://bro_app/./src/components/proposal/ProposalInfo.vue?38a3","webpack://bro_app/./src/views/Proposal.vue","webpack://bro_app/./src/views/Proposal.vue?29ee"],"sourcesContent":["\n\n\n\n\n\n","import script from \"./HeadInfo.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./HeadInfo.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./HeadInfo.vue?vue&type=style&index=0&id=873d6c24&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-873d6c24\"]])\n\nexport default __exports__","export default function _checkPrivateRedeclaration(obj, privateCollection) {\n if (privateCollection.has(obj)) {\n throw new TypeError(\"Cannot initialize the same private elements twice on an object\");\n }\n}","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateMethodInitSpec(obj, privateSet) {\n checkPrivateRedeclaration(obj, privateSet);\n privateSet.add(obj);\n}","export default function _classPrivateMethodGet(receiver, privateSet, fn) {\n if (!privateSet.has(receiver)) {\n throw new TypeError(\"attempted to get private field on non-instance\");\n }\n return fn;\n}","/**\n * marked v5.1.0 - a markdown parser\n * Copyright (c) 2011-2023, Christopher Jeffrey. (MIT Licensed)\n * https://github.com/markedjs/marked\n */\n\n/**\n * DO NOT EDIT THIS FILE\n * The code in this file is generated from files in ./src/\n */\n\nfunction getDefaults() {\n return {\n async: false,\n baseUrl: null,\n breaks: false,\n extensions: null,\n gfm: true,\n headerIds: true,\n headerPrefix: '',\n highlight: null,\n hooks: null,\n langPrefix: 'language-',\n mangle: true,\n pedantic: false,\n renderer: null,\n sanitize: false,\n sanitizer: null,\n silent: false,\n smartypants: false,\n tokenizer: null,\n walkTokens: null,\n xhtml: false\n };\n}\n\nlet defaults = getDefaults();\n\nfunction changeDefaults(newDefaults) {\n defaults = newDefaults;\n}\n\n/**\n * Helpers\n */\nconst escapeTest = /[&<>\"']/;\nconst escapeReplace = new RegExp(escapeTest.source, 'g');\nconst escapeTestNoEncode = /[<>\"']|&(?!(#\\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\\w+);)/;\nconst escapeReplaceNoEncode = new RegExp(escapeTestNoEncode.source, 'g');\nconst escapeReplacements = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": '''\n};\nconst getEscapeReplacement = (ch) => escapeReplacements[ch];\nfunction escape(html, encode) {\n if (encode) {\n if (escapeTest.test(html)) {\n return html.replace(escapeReplace, getEscapeReplacement);\n }\n } else {\n if (escapeTestNoEncode.test(html)) {\n return html.replace(escapeReplaceNoEncode, getEscapeReplacement);\n }\n }\n\n return html;\n}\n\nconst unescapeTest = /&(#(?:\\d+)|(?:#x[0-9A-Fa-f]+)|(?:\\w+));?/ig;\n\n/**\n * @param {string} html\n */\nfunction unescape(html) {\n // explicitly match decimal, hex, and named HTML entities\n return html.replace(unescapeTest, (_, n) => {\n n = n.toLowerCase();\n if (n === 'colon') return ':';\n if (n.charAt(0) === '#') {\n return n.charAt(1) === 'x'\n ? String.fromCharCode(parseInt(n.substring(2), 16))\n : String.fromCharCode(+n.substring(1));\n }\n return '';\n });\n}\n\nconst caret = /(^|[^\\[])\\^/g;\n\n/**\n * @param {string | RegExp} regex\n * @param {string} opt\n */\nfunction edit(regex, opt) {\n regex = typeof regex === 'string' ? regex : regex.source;\n opt = opt || '';\n const obj = {\n replace: (name, val) => {\n val = val.source || val;\n val = val.replace(caret, '$1');\n regex = regex.replace(name, val);\n return obj;\n },\n getRegex: () => {\n return new RegExp(regex, opt);\n }\n };\n return obj;\n}\n\nconst nonWordAndColonTest = /[^\\w:]/g;\nconst originIndependentUrl = /^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;\n\n/**\n * @param {boolean} sanitize\n * @param {string} base\n * @param {string} href\n */\nfunction cleanUrl(sanitize, base, href) {\n if (sanitize) {\n let prot;\n try {\n prot = decodeURIComponent(unescape(href))\n .replace(nonWordAndColonTest, '')\n .toLowerCase();\n } catch (e) {\n return null;\n }\n if (prot.indexOf('javascript:') === 0 || prot.indexOf('vbscript:') === 0 || prot.indexOf('data:') === 0) {\n return null;\n }\n }\n if (base && !originIndependentUrl.test(href)) {\n href = resolveUrl(base, href);\n }\n try {\n href = encodeURI(href).replace(/%25/g, '%');\n } catch (e) {\n return null;\n }\n return href;\n}\n\nconst baseUrls = {};\nconst justDomain = /^[^:]+:\\/*[^/]*$/;\nconst protocol = /^([^:]+:)[\\s\\S]*$/;\nconst domain = /^([^:]+:\\/*[^/]*)[\\s\\S]*$/;\n\n/**\n * @param {string} base\n * @param {string} href\n */\nfunction resolveUrl(base, href) {\n if (!baseUrls[' ' + base]) {\n // we can ignore everything in base after the last slash of its path component,\n // but we might need to add _that_\n // https://tools.ietf.org/html/rfc3986#section-3\n if (justDomain.test(base)) {\n baseUrls[' ' + base] = base + '/';\n } else {\n baseUrls[' ' + base] = rtrim(base, '/', true);\n }\n }\n base = baseUrls[' ' + base];\n const relativeBase = base.indexOf(':') === -1;\n\n if (href.substring(0, 2) === '//') {\n if (relativeBase) {\n return href;\n }\n return base.replace(protocol, '$1') + href;\n } else if (href.charAt(0) === '/') {\n if (relativeBase) {\n return href;\n }\n return base.replace(domain, '$1') + href;\n } else {\n return base + href;\n }\n}\n\nconst noopTest = { exec: function noopTest() {} };\n\nfunction splitCells(tableRow, count) {\n // ensure that every cell-delimiting pipe has a space\n // before it to distinguish it from an escaped pipe\n const row = tableRow.replace(/\\|/g, (match, offset, str) => {\n let escaped = false,\n curr = offset;\n while (--curr >= 0 && str[curr] === '\\\\') escaped = !escaped;\n if (escaped) {\n // odd number of slashes means | is escaped\n // so we leave it alone\n return '|';\n } else {\n // add space before unescaped |\n return ' |';\n }\n }),\n cells = row.split(/ \\|/);\n let i = 0;\n\n // First/last cell in a row cannot be empty if it has no leading/trailing pipe\n if (!cells[0].trim()) { cells.shift(); }\n if (cells.length > 0 && !cells[cells.length - 1].trim()) { cells.pop(); }\n\n if (cells.length > count) {\n cells.splice(count);\n } else {\n while (cells.length < count) cells.push('');\n }\n\n for (; i < cells.length; i++) {\n // leading or trailing whitespace is ignored per the gfm spec\n cells[i] = cells[i].trim().replace(/\\\\\\|/g, '|');\n }\n return cells;\n}\n\n/**\n * Remove trailing 'c's. Equivalent to str.replace(/c*$/, '').\n * /c*$/ is vulnerable to REDOS.\n *\n * @param {string} str\n * @param {string} c\n * @param {boolean} invert Remove suffix of non-c chars instead. Default falsey.\n */\nfunction rtrim(str, c, invert) {\n const l = str.length;\n if (l === 0) {\n return '';\n }\n\n // Length of suffix matching the invert condition.\n let suffLen = 0;\n\n // Step left until we fail to match the invert condition.\n while (suffLen < l) {\n const currChar = str.charAt(l - suffLen - 1);\n if (currChar === c && !invert) {\n suffLen++;\n } else if (currChar !== c && invert) {\n suffLen++;\n } else {\n break;\n }\n }\n\n return str.slice(0, l - suffLen);\n}\n\nfunction findClosingBracket(str, b) {\n if (str.indexOf(b[1]) === -1) {\n return -1;\n }\n const l = str.length;\n let level = 0,\n i = 0;\n for (; i < l; i++) {\n if (str[i] === '\\\\') {\n i++;\n } else if (str[i] === b[0]) {\n level++;\n } else if (str[i] === b[1]) {\n level--;\n if (level < 0) {\n return i;\n }\n }\n }\n return -1;\n}\n\nfunction checkDeprecations(opt, callback) {\n if (!opt || opt.silent) {\n return;\n }\n\n if (callback) {\n console.warn('marked(): callback is deprecated since version 5.0.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/using_pro#async');\n }\n\n if (opt.sanitize || opt.sanitizer) {\n console.warn('marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options');\n }\n\n if (opt.highlight || opt.langPrefix !== 'language-') {\n console.warn('marked(): highlight and langPrefix parameters are deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-highlight.');\n }\n\n if (opt.mangle) {\n console.warn('marked(): mangle parameter is enabled by default, but is deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-mangle, or disable by setting `{mangle: false}`.');\n }\n\n if (opt.baseUrl) {\n console.warn('marked(): baseUrl parameter is deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-base-url.');\n }\n\n if (opt.smartypants) {\n console.warn('marked(): smartypants parameter is deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-smartypants.');\n }\n\n if (opt.xhtml) {\n console.warn('marked(): xhtml parameter is deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-xhtml.');\n }\n\n if (opt.headerIds || opt.headerPrefix) {\n console.warn('marked(): headerIds and headerPrefix parameters enabled by default, but are deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-gfm-heading-id, or disable by setting `{headerIds: false}`.');\n }\n}\n\nfunction outputLink(cap, link, raw, lexer) {\n const href = link.href;\n const title = link.title ? escape(link.title) : null;\n const text = cap[1].replace(/\\\\([\\[\\]])/g, '$1');\n\n if (cap[0].charAt(0) !== '!') {\n lexer.state.inLink = true;\n const token = {\n type: 'link',\n raw,\n href,\n title,\n text,\n tokens: lexer.inlineTokens(text)\n };\n lexer.state.inLink = false;\n return token;\n }\n return {\n type: 'image',\n raw,\n href,\n title,\n text: escape(text)\n };\n}\n\nfunction indentCodeCompensation(raw, text) {\n const matchIndentToCode = raw.match(/^(\\s+)(?:```)/);\n\n if (matchIndentToCode === null) {\n return text;\n }\n\n const indentToCode = matchIndentToCode[1];\n\n return text\n .split('\\n')\n .map(node => {\n const matchIndentInNode = node.match(/^\\s+/);\n if (matchIndentInNode === null) {\n return node;\n }\n\n const [indentInNode] = matchIndentInNode;\n\n if (indentInNode.length >= indentToCode.length) {\n return node.slice(indentToCode.length);\n }\n\n return node;\n })\n .join('\\n');\n}\n\n/**\n * Tokenizer\n */\nclass Tokenizer {\n constructor(options) {\n this.options = options || defaults;\n }\n\n space(src) {\n const cap = this.rules.block.newline.exec(src);\n if (cap && cap[0].length > 0) {\n return {\n type: 'space',\n raw: cap[0]\n };\n }\n }\n\n code(src) {\n const cap = this.rules.block.code.exec(src);\n if (cap) {\n const text = cap[0].replace(/^ {1,4}/gm, '');\n return {\n type: 'code',\n raw: cap[0],\n codeBlockStyle: 'indented',\n text: !this.options.pedantic\n ? rtrim(text, '\\n')\n : text\n };\n }\n }\n\n fences(src) {\n const cap = this.rules.block.fences.exec(src);\n if (cap) {\n const raw = cap[0];\n const text = indentCodeCompensation(raw, cap[3] || '');\n\n return {\n type: 'code',\n raw,\n lang: cap[2] ? cap[2].trim().replace(this.rules.inline._escapes, '$1') : cap[2],\n text\n };\n }\n }\n\n heading(src) {\n const cap = this.rules.block.heading.exec(src);\n if (cap) {\n let text = cap[2].trim();\n\n // remove trailing #s\n if (/#$/.test(text)) {\n const trimmed = rtrim(text, '#');\n if (this.options.pedantic) {\n text = trimmed.trim();\n } else if (!trimmed || / $/.test(trimmed)) {\n // CommonMark requires space before trailing #s\n text = trimmed.trim();\n }\n }\n\n return {\n type: 'heading',\n raw: cap[0],\n depth: cap[1].length,\n text,\n tokens: this.lexer.inline(text)\n };\n }\n }\n\n hr(src) {\n const cap = this.rules.block.hr.exec(src);\n if (cap) {\n return {\n type: 'hr',\n raw: cap[0]\n };\n }\n }\n\n blockquote(src) {\n const cap = this.rules.block.blockquote.exec(src);\n if (cap) {\n const text = cap[0].replace(/^ *>[ \\t]?/gm, '');\n const top = this.lexer.state.top;\n this.lexer.state.top = true;\n const tokens = this.lexer.blockTokens(text);\n this.lexer.state.top = top;\n return {\n type: 'blockquote',\n raw: cap[0],\n tokens,\n text\n };\n }\n }\n\n list(src) {\n let cap = this.rules.block.list.exec(src);\n if (cap) {\n let raw, istask, ischecked, indent, i, blankLine, endsWithBlankLine,\n line, nextLine, rawLine, itemContents, endEarly;\n\n let bull = cap[1].trim();\n const isordered = bull.length > 1;\n\n const list = {\n type: 'list',\n raw: '',\n ordered: isordered,\n start: isordered ? +bull.slice(0, -1) : '',\n loose: false,\n items: []\n };\n\n bull = isordered ? `\\\\d{1,9}\\\\${bull.slice(-1)}` : `\\\\${bull}`;\n\n if (this.options.pedantic) {\n bull = isordered ? bull : '[*+-]';\n }\n\n // Get next list item\n const itemRegex = new RegExp(`^( {0,3}${bull})((?:[\\t ][^\\\\n]*)?(?:\\\\n|$))`);\n\n // Check if current bullet point can start a new List Item\n while (src) {\n endEarly = false;\n if (!(cap = itemRegex.exec(src))) {\n break;\n }\n\n if (this.rules.block.hr.test(src)) { // End list if bullet was actually HR (possibly move into itemRegex?)\n break;\n }\n\n raw = cap[0];\n src = src.substring(raw.length);\n\n line = cap[2].split('\\n', 1)[0].replace(/^\\t+/, (t) => ' '.repeat(3 * t.length));\n nextLine = src.split('\\n', 1)[0];\n\n if (this.options.pedantic) {\n indent = 2;\n itemContents = line.trimLeft();\n } else {\n indent = cap[2].search(/[^ ]/); // Find first non-space char\n indent = indent > 4 ? 1 : indent; // Treat indented code blocks (> 4 spaces) as having only 1 indent\n itemContents = line.slice(indent);\n indent += cap[1].length;\n }\n\n blankLine = false;\n\n if (!line && /^ *$/.test(nextLine)) { // Items begin with at most one blank line\n raw += nextLine + '\\n';\n src = src.substring(nextLine.length + 1);\n endEarly = true;\n }\n\n if (!endEarly) {\n const nextBulletRegex = new RegExp(`^ {0,${Math.min(3, indent - 1)}}(?:[*+-]|\\\\d{1,9}[.)])((?:[ \\t][^\\\\n]*)?(?:\\\\n|$))`);\n const hrRegex = new RegExp(`^ {0,${Math.min(3, indent - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\\\* *){3,})(?:\\\\n+|$)`);\n const fencesBeginRegex = new RegExp(`^ {0,${Math.min(3, indent - 1)}}(?:\\`\\`\\`|~~~)`);\n const headingBeginRegex = new RegExp(`^ {0,${Math.min(3, indent - 1)}}#`);\n\n // Check if following lines should be included in List Item\n while (src) {\n rawLine = src.split('\\n', 1)[0];\n nextLine = rawLine;\n\n // Re-align to follow commonmark nesting rules\n if (this.options.pedantic) {\n nextLine = nextLine.replace(/^ {1,4}(?=( {4})*[^ ])/g, ' ');\n }\n\n // End list item if found code fences\n if (fencesBeginRegex.test(nextLine)) {\n break;\n }\n\n // End list item if found start of new heading\n if (headingBeginRegex.test(nextLine)) {\n break;\n }\n\n // End list item if found start of new bullet\n if (nextBulletRegex.test(nextLine)) {\n break;\n }\n\n // Horizontal rule found\n if (hrRegex.test(src)) {\n break;\n }\n\n if (nextLine.search(/[^ ]/) >= indent || !nextLine.trim()) { // Dedent if possible\n itemContents += '\\n' + nextLine.slice(indent);\n } else {\n // not enough indentation\n if (blankLine) {\n break;\n }\n\n // paragraph continuation unless last line was a different block level element\n if (line.search(/[^ ]/) >= 4) { // indented code block\n break;\n }\n if (fencesBeginRegex.test(line)) {\n break;\n }\n if (headingBeginRegex.test(line)) {\n break;\n }\n if (hrRegex.test(line)) {\n break;\n }\n\n itemContents += '\\n' + nextLine;\n }\n\n if (!blankLine && !nextLine.trim()) { // Check if current line is blank\n blankLine = true;\n }\n\n raw += rawLine + '\\n';\n src = src.substring(rawLine.length + 1);\n line = nextLine.slice(indent);\n }\n }\n\n if (!list.loose) {\n // If the previous item ended with a blank line, the list is loose\n if (endsWithBlankLine) {\n list.loose = true;\n } else if (/\\n *\\n *$/.test(raw)) {\n endsWithBlankLine = true;\n }\n }\n\n // Check for task list items\n if (this.options.gfm) {\n istask = /^\\[[ xX]\\] /.exec(itemContents);\n if (istask) {\n ischecked = istask[0] !== '[ ] ';\n itemContents = itemContents.replace(/^\\[[ xX]\\] +/, '');\n }\n }\n\n list.items.push({\n type: 'list_item',\n raw,\n task: !!istask,\n checked: ischecked,\n loose: false,\n text: itemContents\n });\n\n list.raw += raw;\n }\n\n // Do not consume newlines at end of final item. Alternatively, make itemRegex *start* with any newlines to simplify/speed up endsWithBlankLine logic\n list.items[list.items.length - 1].raw = raw.trimRight();\n list.items[list.items.length - 1].text = itemContents.trimRight();\n list.raw = list.raw.trimRight();\n\n const l = list.items.length;\n\n // Item child tokens handled here at end because we needed to have the final item to trim it first\n for (i = 0; i < l; i++) {\n this.lexer.state.top = false;\n list.items[i].tokens = this.lexer.blockTokens(list.items[i].text, []);\n\n if (!list.loose) {\n // Check if list should be loose\n const spacers = list.items[i].tokens.filter(t => t.type === 'space');\n const hasMultipleLineBreaks = spacers.length > 0 && spacers.some(t => /\\n.*\\n/.test(t.raw));\n\n list.loose = hasMultipleLineBreaks;\n }\n }\n\n // Set all items to loose if list is loose\n if (list.loose) {\n for (i = 0; i < l; i++) {\n list.items[i].loose = true;\n }\n }\n\n return list;\n }\n }\n\n html(src) {\n const cap = this.rules.block.html.exec(src);\n if (cap) {\n const token = {\n type: 'html',\n block: true,\n raw: cap[0],\n pre: !this.options.sanitizer\n && (cap[1] === 'pre' || cap[1] === 'script' || cap[1] === 'style'),\n text: cap[0]\n };\n if (this.options.sanitize) {\n const text = this.options.sanitizer ? this.options.sanitizer(cap[0]) : escape(cap[0]);\n token.type = 'paragraph';\n token.text = text;\n token.tokens = this.lexer.inline(text);\n }\n return token;\n }\n }\n\n def(src) {\n const cap = this.rules.block.def.exec(src);\n if (cap) {\n const tag = cap[1].toLowerCase().replace(/\\s+/g, ' ');\n const href = cap[2] ? cap[2].replace(/^<(.*)>$/, '$1').replace(this.rules.inline._escapes, '$1') : '';\n const title = cap[3] ? cap[3].substring(1, cap[3].length - 1).replace(this.rules.inline._escapes, '$1') : cap[3];\n return {\n type: 'def',\n tag,\n raw: cap[0],\n href,\n title\n };\n }\n }\n\n table(src) {\n const cap = this.rules.block.table.exec(src);\n if (cap) {\n const item = {\n type: 'table',\n header: splitCells(cap[1]).map(c => { return { text: c }; }),\n align: cap[2].replace(/^ *|\\| *$/g, '').split(/ *\\| */),\n rows: cap[3] && cap[3].trim() ? cap[3].replace(/\\n[ \\t]*$/, '').split('\\n') : []\n };\n\n if (item.header.length === item.align.length) {\n item.raw = cap[0];\n\n let l = item.align.length;\n let i, j, k, row;\n for (i = 0; i < l; i++) {\n if (/^ *-+: *$/.test(item.align[i])) {\n item.align[i] = 'right';\n } else if (/^ *:-+: *$/.test(item.align[i])) {\n item.align[i] = 'center';\n } else if (/^ *:-+ *$/.test(item.align[i])) {\n item.align[i] = 'left';\n } else {\n item.align[i] = null;\n }\n }\n\n l = item.rows.length;\n for (i = 0; i < l; i++) {\n item.rows[i] = splitCells(item.rows[i], item.header.length).map(c => { return { text: c }; });\n }\n\n // parse child tokens inside headers and cells\n\n // header child tokens\n l = item.header.length;\n for (j = 0; j < l; j++) {\n item.header[j].tokens = this.lexer.inline(item.header[j].text);\n }\n\n // cell child tokens\n l = item.rows.length;\n for (j = 0; j < l; j++) {\n row = item.rows[j];\n for (k = 0; k < row.length; k++) {\n row[k].tokens = this.lexer.inline(row[k].text);\n }\n }\n\n return item;\n }\n }\n }\n\n lheading(src) {\n const cap = this.rules.block.lheading.exec(src);\n if (cap) {\n return {\n type: 'heading',\n raw: cap[0],\n depth: cap[2].charAt(0) === '=' ? 1 : 2,\n text: cap[1],\n tokens: this.lexer.inline(cap[1])\n };\n }\n }\n\n paragraph(src) {\n const cap = this.rules.block.paragraph.exec(src);\n if (cap) {\n const text = cap[1].charAt(cap[1].length - 1) === '\\n'\n ? cap[1].slice(0, -1)\n : cap[1];\n return {\n type: 'paragraph',\n raw: cap[0],\n text,\n tokens: this.lexer.inline(text)\n };\n }\n }\n\n text(src) {\n const cap = this.rules.block.text.exec(src);\n if (cap) {\n return {\n type: 'text',\n raw: cap[0],\n text: cap[0],\n tokens: this.lexer.inline(cap[0])\n };\n }\n }\n\n escape(src) {\n const cap = this.rules.inline.escape.exec(src);\n if (cap) {\n return {\n type: 'escape',\n raw: cap[0],\n text: escape(cap[1])\n };\n }\n }\n\n tag(src) {\n const cap = this.rules.inline.tag.exec(src);\n if (cap) {\n if (!this.lexer.state.inLink && /^
    /i.test(cap[0])) {\n this.lexer.state.inLink = false;\n }\n if (!this.lexer.state.inRawBlock && /^<(pre|code|kbd|script)(\\s|>)/i.test(cap[0])) {\n this.lexer.state.inRawBlock = true;\n } else if (this.lexer.state.inRawBlock && /^<\\/(pre|code|kbd|script)(\\s|>)/i.test(cap[0])) {\n this.lexer.state.inRawBlock = false;\n }\n\n return {\n type: this.options.sanitize\n ? 'text'\n : 'html',\n raw: cap[0],\n inLink: this.lexer.state.inLink,\n inRawBlock: this.lexer.state.inRawBlock,\n block: false,\n text: this.options.sanitize\n ? (this.options.sanitizer\n ? this.options.sanitizer(cap[0])\n : escape(cap[0]))\n : cap[0]\n };\n }\n }\n\n link(src) {\n const cap = this.rules.inline.link.exec(src);\n if (cap) {\n const trimmedUrl = cap[2].trim();\n if (!this.options.pedantic && /^$/.test(trimmedUrl))) {\n return;\n }\n\n // ending angle bracket cannot be escaped\n const rtrimSlash = rtrim(trimmedUrl.slice(0, -1), '\\\\');\n if ((trimmedUrl.length - rtrimSlash.length) % 2 === 0) {\n return;\n }\n } else {\n // find closing parenthesis\n const lastParenIndex = findClosingBracket(cap[2], '()');\n if (lastParenIndex > -1) {\n const start = cap[0].indexOf('!') === 0 ? 5 : 4;\n const linkLen = start + cap[1].length + lastParenIndex;\n cap[2] = cap[2].substring(0, lastParenIndex);\n cap[0] = cap[0].substring(0, linkLen).trim();\n cap[3] = '';\n }\n }\n let href = cap[2];\n let title = '';\n if (this.options.pedantic) {\n // split pedantic href and title\n const link = /^([^'\"]*[^\\s])\\s+(['\"])(.*)\\2/.exec(href);\n\n if (link) {\n href = link[1];\n title = link[3];\n }\n } else {\n title = cap[3] ? cap[3].slice(1, -1) : '';\n }\n\n href = href.trim();\n if (/^$/.test(trimmedUrl))) {\n // pedantic allows starting angle bracket without ending angle bracket\n href = href.slice(1);\n } else {\n href = href.slice(1, -1);\n }\n }\n return outputLink(cap, {\n href: href ? href.replace(this.rules.inline._escapes, '$1') : href,\n title: title ? title.replace(this.rules.inline._escapes, '$1') : title\n }, cap[0], this.lexer);\n }\n }\n\n reflink(src, links) {\n let cap;\n if ((cap = this.rules.inline.reflink.exec(src))\n || (cap = this.rules.inline.nolink.exec(src))) {\n let link = (cap[2] || cap[1]).replace(/\\s+/g, ' ');\n link = links[link.toLowerCase()];\n if (!link) {\n const text = cap[0].charAt(0);\n return {\n type: 'text',\n raw: text,\n text\n };\n }\n return outputLink(cap, link, cap[0], this.lexer);\n }\n }\n\n emStrong(src, maskedSrc, prevChar = '') {\n let match = this.rules.inline.emStrong.lDelim.exec(src);\n if (!match) return;\n\n // _ can't be between two alphanumerics. \\p{L}\\p{N} includes non-english alphabet/numbers as well\n if (match[3] && prevChar.match(/[\\p{L}\\p{N}]/u)) return;\n\n const nextChar = match[1] || match[2] || '';\n\n if (!nextChar || !prevChar || this.rules.inline.punctuation.exec(prevChar)) {\n const lLength = match[0].length - 1;\n let rDelim, rLength, delimTotal = lLength, midDelimTotal = 0;\n\n const endReg = match[0][0] === '*' ? this.rules.inline.emStrong.rDelimAst : this.rules.inline.emStrong.rDelimUnd;\n endReg.lastIndex = 0;\n\n // Clip maskedSrc to same section of string as src (move to lexer?)\n maskedSrc = maskedSrc.slice(-1 * src.length + lLength);\n\n while ((match = endReg.exec(maskedSrc)) != null) {\n rDelim = match[1] || match[2] || match[3] || match[4] || match[5] || match[6];\n\n if (!rDelim) continue; // skip single * in __abc*abc__\n\n rLength = rDelim.length;\n\n if (match[3] || match[4]) { // found another Left Delim\n delimTotal += rLength;\n continue;\n } else if (match[5] || match[6]) { // either Left or Right Delim\n if (lLength % 3 && !((lLength + rLength) % 3)) {\n midDelimTotal += rLength;\n continue; // CommonMark Emphasis Rules 9-10\n }\n }\n\n delimTotal -= rLength;\n\n if (delimTotal > 0) continue; // Haven't found enough closing delimiters\n\n // Remove extra characters. *a*** -> *a*\n rLength = Math.min(rLength, rLength + delimTotal + midDelimTotal);\n\n const raw = src.slice(0, lLength + match.index + rLength + 1);\n\n // Create `em` if smallest delimiter has odd char count. *a***\n if (Math.min(lLength, rLength) % 2) {\n const text = raw.slice(1, -1);\n return {\n type: 'em',\n raw,\n text,\n tokens: this.lexer.inlineTokens(text)\n };\n }\n\n // Create 'strong' if smallest delimiter has even char count. **a***\n const text = raw.slice(2, -2);\n return {\n type: 'strong',\n raw,\n text,\n tokens: this.lexer.inlineTokens(text)\n };\n }\n }\n }\n\n codespan(src) {\n const cap = this.rules.inline.code.exec(src);\n if (cap) {\n let text = cap[2].replace(/\\n/g, ' ');\n const hasNonSpaceChars = /[^ ]/.test(text);\n const hasSpaceCharsOnBothEnds = /^ /.test(text) && / $/.test(text);\n if (hasNonSpaceChars && hasSpaceCharsOnBothEnds) {\n text = text.substring(1, text.length - 1);\n }\n text = escape(text, true);\n return {\n type: 'codespan',\n raw: cap[0],\n text\n };\n }\n }\n\n br(src) {\n const cap = this.rules.inline.br.exec(src);\n if (cap) {\n return {\n type: 'br',\n raw: cap[0]\n };\n }\n }\n\n del(src) {\n const cap = this.rules.inline.del.exec(src);\n if (cap) {\n return {\n type: 'del',\n raw: cap[0],\n text: cap[2],\n tokens: this.lexer.inlineTokens(cap[2])\n };\n }\n }\n\n autolink(src, mangle) {\n const cap = this.rules.inline.autolink.exec(src);\n if (cap) {\n let text, href;\n if (cap[2] === '@') {\n text = escape(this.options.mangle ? mangle(cap[1]) : cap[1]);\n href = 'mailto:' + text;\n } else {\n text = escape(cap[1]);\n href = text;\n }\n\n return {\n type: 'link',\n raw: cap[0],\n text,\n href,\n tokens: [\n {\n type: 'text',\n raw: text,\n text\n }\n ]\n };\n }\n }\n\n url(src, mangle) {\n let cap;\n if (cap = this.rules.inline.url.exec(src)) {\n let text, href;\n if (cap[2] === '@') {\n text = escape(this.options.mangle ? mangle(cap[0]) : cap[0]);\n href = 'mailto:' + text;\n } else {\n // do extended autolink path validation\n let prevCapZero;\n do {\n prevCapZero = cap[0];\n cap[0] = this.rules.inline._backpedal.exec(cap[0])[0];\n } while (prevCapZero !== cap[0]);\n text = escape(cap[0]);\n if (cap[1] === 'www.') {\n href = 'http://' + cap[0];\n } else {\n href = cap[0];\n }\n }\n return {\n type: 'link',\n raw: cap[0],\n text,\n href,\n tokens: [\n {\n type: 'text',\n raw: text,\n text\n }\n ]\n };\n }\n }\n\n inlineText(src, smartypants) {\n const cap = this.rules.inline.text.exec(src);\n if (cap) {\n let text;\n if (this.lexer.state.inRawBlock) {\n text = this.options.sanitize ? (this.options.sanitizer ? this.options.sanitizer(cap[0]) : escape(cap[0])) : cap[0];\n } else {\n text = escape(this.options.smartypants ? smartypants(cap[0]) : cap[0]);\n }\n return {\n type: 'text',\n raw: cap[0],\n text\n };\n }\n }\n}\n\n/**\n * Block-Level Grammar\n */\nconst block = {\n newline: /^(?: *(?:\\n|$))+/,\n code: /^( {4}[^\\n]+(?:\\n(?: *(?:\\n|$))*)?)+/,\n fences: /^ {0,3}(`{3,}(?=[^`\\n]*(?:\\n|$))|~{3,})([^\\n]*)(?:\\n|$)(?:|([\\s\\S]*?)(?:\\n|$))(?: {0,3}\\1[~`]* *(?=\\n|$)|$)/,\n hr: /^ {0,3}((?:-[\\t ]*){3,}|(?:_[ \\t]*){3,}|(?:\\*[ \\t]*){3,})(?:\\n+|$)/,\n heading: /^ {0,3}(#{1,6})(?=\\s|$)(.*)(?:\\n+|$)/,\n blockquote: /^( {0,3}> ?(paragraph|[^\\n]*)(?:\\n|$))+/,\n list: /^( {0,3}bull)([ \\t][^\\n]+?)?(?:\\n|$)/,\n html: '^ {0,3}(?:' // optional indentation\n + '<(script|pre|style|textarea)[\\\\s>][\\\\s\\\\S]*?(?:[^\\\\n]*\\\\n+|$)' // (1)\n + '|comment[^\\\\n]*(\\\\n+|$)' // (2)\n + '|<\\\\?[\\\\s\\\\S]*?(?:\\\\?>\\\\n*|$)' // (3)\n + '|\\\\n*|$)' // (4)\n + '|\\\\n*|$)' // (5)\n + '|)[\\\\s\\\\S]*?(?:(?:\\\\n *)+\\\\n|$)' // (6)\n + '|<(?!script|pre|style|textarea)([a-z][\\\\w-]*)(?:attribute)*? */?>(?=[ \\\\t]*(?:\\\\n|$))[\\\\s\\\\S]*?(?:(?:\\\\n *)+\\\\n|$)' // (7) open tag\n + '|(?=[ \\\\t]*(?:\\\\n|$))[\\\\s\\\\S]*?(?:(?:\\\\n *)+\\\\n|$)' // (7) closing tag\n + ')',\n def: /^ {0,3}\\[(label)\\]: *(?:\\n *)?([^<\\s][^\\s]*|<.*?>)(?:(?: +(?:\\n *)?| *\\n *)(title))? *(?:\\n+|$)/,\n table: noopTest,\n lheading: /^((?:(?!^bull ).|\\n(?!\\n|bull ))+?)\\n {0,3}(=+|-+) *(?:\\n+|$)/,\n // regex template, placeholders will be replaced according to different paragraph\n // interruption rules of commonmark and the original markdown spec:\n _paragraph: /^([^\\n]+(?:\\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\\n)[^\\n]+)*)/,\n text: /^[^\\n]+/\n};\n\nblock._label = /(?!\\s*\\])(?:\\\\.|[^\\[\\]\\\\])+/;\nblock._title = /(?:\"(?:\\\\\"?|[^\"\\\\])*\"|'[^'\\n]*(?:\\n[^'\\n]+)*\\n?'|\\([^()]*\\))/;\nblock.def = edit(block.def)\n .replace('label', block._label)\n .replace('title', block._title)\n .getRegex();\n\nblock.bullet = /(?:[*+-]|\\d{1,9}[.)])/;\nblock.listItemStart = edit(/^( *)(bull) */)\n .replace('bull', block.bullet)\n .getRegex();\n\nblock.list = edit(block.list)\n .replace(/bull/g, block.bullet)\n .replace('hr', '\\\\n+(?=\\\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\\\* *){3,})(?:\\\\n+|$))')\n .replace('def', '\\\\n+(?=' + block.def.source + ')')\n .getRegex();\n\nblock._tag = 'address|article|aside|base|basefont|blockquote|body|caption'\n + '|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption'\n + '|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe'\n + '|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option'\n + '|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr'\n + '|track|ul';\nblock._comment = /|$)/;\nblock.html = edit(block.html, 'i')\n .replace('comment', block._comment)\n .replace('tag', block._tag)\n .replace('attribute', / +[a-zA-Z:_][\\w.:-]*(?: *= *\"[^\"\\n]*\"| *= *'[^'\\n]*'| *= *[^\\s\"'=<>`]+)?/)\n .getRegex();\n\nblock.lheading = edit(block.lheading)\n .replace(/bull/g, block.bullet) // lists can interrupt\n .getRegex();\n\nblock.paragraph = edit(block._paragraph)\n .replace('hr', block.hr)\n .replace('heading', ' {0,3}#{1,6} ')\n .replace('|lheading', '') // setex headings don't interrupt commonmark paragraphs\n .replace('|table', '')\n .replace('blockquote', ' {0,3}>')\n .replace('fences', ' {0,3}(?:`{3,}(?=[^`\\\\n]*\\\\n)|~{3,})[^\\\\n]*\\\\n')\n .replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt\n .replace('html', ')|<(?:script|pre|style|textarea|!--)')\n .replace('tag', block._tag) // pars can be interrupted by type (6) html blocks\n .getRegex();\n\nblock.blockquote = edit(block.blockquote)\n .replace('paragraph', block.paragraph)\n .getRegex();\n\n/**\n * Normal Block Grammar\n */\n\nblock.normal = { ...block };\n\n/**\n * GFM Block Grammar\n */\n\nblock.gfm = {\n ...block.normal,\n table: '^ *([^\\\\n ].*\\\\|.*)\\\\n' // Header\n + ' {0,3}(?:\\\\| *)?(:?-+:? *(?:\\\\| *:?-+:? *)*)(?:\\\\| *)?' // Align\n + '(?:\\\\n((?:(?! *\\\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\\\n|$))*)\\\\n*|$)' // Cells\n};\n\nblock.gfm.table = edit(block.gfm.table)\n .replace('hr', block.hr)\n .replace('heading', ' {0,3}#{1,6} ')\n .replace('blockquote', ' {0,3}>')\n .replace('code', ' {4}[^\\\\n]')\n .replace('fences', ' {0,3}(?:`{3,}(?=[^`\\\\n]*\\\\n)|~{3,})[^\\\\n]*\\\\n')\n .replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt\n .replace('html', ')|<(?:script|pre|style|textarea|!--)')\n .replace('tag', block._tag) // tables can be interrupted by type (6) html blocks\n .getRegex();\n\nblock.gfm.paragraph = edit(block._paragraph)\n .replace('hr', block.hr)\n .replace('heading', ' {0,3}#{1,6} ')\n .replace('|lheading', '') // setex headings don't interrupt commonmark paragraphs\n .replace('table', block.gfm.table) // interrupt paragraphs with table\n .replace('blockquote', ' {0,3}>')\n .replace('fences', ' {0,3}(?:`{3,}(?=[^`\\\\n]*\\\\n)|~{3,})[^\\\\n]*\\\\n')\n .replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt\n .replace('html', ')|<(?:script|pre|style|textarea|!--)')\n .replace('tag', block._tag) // pars can be interrupted by type (6) html blocks\n .getRegex();\n/**\n * Pedantic grammar (original John Gruber's loose markdown specification)\n */\n\nblock.pedantic = {\n ...block.normal,\n html: edit(\n '^ *(?:comment *(?:\\\\n|\\\\s*$)'\n + '|<(tag)[\\\\s\\\\S]+? *(?:\\\\n{2,}|\\\\s*$)' // closed tag\n + '|\\\\s]*)*?/?> *(?:\\\\n{2,}|\\\\s*$))')\n .replace('comment', block._comment)\n .replace(/tag/g, '(?!(?:'\n + 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub'\n + '|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)'\n + '\\\\b)\\\\w+(?!:|[^\\\\w\\\\s@]*@)\\\\b')\n .getRegex(),\n def: /^ *\\[([^\\]]+)\\]: *]+)>?(?: +([\"(][^\\n]+[\")]))? *(?:\\n+|$)/,\n heading: /^(#{1,6})(.*)(?:\\n+|$)/,\n fences: noopTest, // fences not supported\n lheading: /^(.+?)\\n {0,3}(=+|-+) *(?:\\n+|$)/,\n paragraph: edit(block.normal._paragraph)\n .replace('hr', block.hr)\n .replace('heading', ' *#{1,6} *[^\\n]')\n .replace('lheading', block.lheading)\n .replace('blockquote', ' {0,3}>')\n .replace('|fences', '')\n .replace('|list', '')\n .replace('|html', '')\n .getRegex()\n};\n\n/**\n * Inline-Level Grammar\n */\nconst inline = {\n escape: /^\\\\([!\"#$%&'()*+,\\-./:;<=>?@\\[\\]\\\\^_`{|}~])/,\n autolink: /^<(scheme:[^\\s\\x00-\\x1f<>]*|email)>/,\n url: noopTest,\n tag: '^comment'\n + '|^' // self-closing tag\n + '|^<[a-zA-Z][\\\\w-]*(?:attribute)*?\\\\s*/?>' // open tag\n + '|^<\\\\?[\\\\s\\\\S]*?\\\\?>' // processing instruction, e.g. \n + '|^' // declaration, e.g. \n + '|^', // CDATA section\n link: /^!?\\[(label)\\]\\(\\s*(href)(?:\\s+(title))?\\s*\\)/,\n reflink: /^!?\\[(label)\\]\\[(ref)\\]/,\n nolink: /^!?\\[(ref)\\](?:\\[\\])?/,\n reflinkSearch: 'reflink|nolink(?!\\\\()',\n emStrong: {\n lDelim: /^(?:\\*+(?:((?!\\*)[punct])|[^\\s*]))|^_+(?:((?!_)[punct])|([^\\s_]))/,\n // (1) and (2) can only be a Right Delimiter. (3) and (4) can only be Left. (5) and (6) can be either Left or Right.\n // | Skip orphan inside strong | Consume to delim | (1) #*** | (2) a***#, a*** | (3) #***a, ***a | (4) ***# | (5) #***# | (6) a***a\n rDelimAst: /^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])/,\n rDelimUnd: /^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/ // ^- Not allowed for _\n },\n code: /^(`+)([^`]|[^`][\\s\\S]*?[^`])\\1(?!`)/,\n br: /^( {2,}|\\\\)\\n(?!\\s*$)/,\n del: noopTest,\n text: /^(`+|[^`])(?:(?= {2,}\\n)|[\\s\\S]*?(?:(?=[\\\\`^|~';\ninline.punctuation = edit(inline.punctuation, 'u').replace(/punctuation/g, inline._punctuation).getRegex();\n\n// sequences em should skip over [title](link), `code`, \ninline.blockSkip = /\\[[^[\\]]*?\\]\\([^\\(\\)]*?\\)|`[^`]*?`|<[^<>]*?>/g;\ninline.anyPunctuation = /\\\\[punct]/g;\ninline._escapes = /\\\\([punct])/g;\n\ninline._comment = edit(block._comment).replace('(?:-->|$)', '-->').getRegex();\n\ninline.emStrong.lDelim = edit(inline.emStrong.lDelim, 'u')\n .replace(/punct/g, inline._punctuation)\n .getRegex();\n\ninline.emStrong.rDelimAst = edit(inline.emStrong.rDelimAst, 'gu')\n .replace(/punct/g, inline._punctuation)\n .getRegex();\n\ninline.emStrong.rDelimUnd = edit(inline.emStrong.rDelimUnd, 'gu')\n .replace(/punct/g, inline._punctuation)\n .getRegex();\n\ninline.anyPunctuation = edit(inline.anyPunctuation, 'gu')\n .replace(/punct/g, inline._punctuation)\n .getRegex();\n\ninline._escapes = edit(inline._escapes, 'gu')\n .replace(/punct/g, inline._punctuation)\n .getRegex();\n\ninline._scheme = /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;\ninline._email = /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;\ninline.autolink = edit(inline.autolink)\n .replace('scheme', inline._scheme)\n .replace('email', inline._email)\n .getRegex();\n\ninline._attribute = /\\s+[a-zA-Z:_][\\w.:-]*(?:\\s*=\\s*\"[^\"]*\"|\\s*=\\s*'[^']*'|\\s*=\\s*[^\\s\"'=<>`]+)?/;\n\ninline.tag = edit(inline.tag)\n .replace('comment', inline._comment)\n .replace('attribute', inline._attribute)\n .getRegex();\n\ninline._label = /(?:\\[(?:\\\\.|[^\\[\\]\\\\])*\\]|\\\\.|`[^`]*`|[^\\[\\]\\\\`])*?/;\ninline._href = /<(?:\\\\.|[^\\n<>\\\\])+>|[^\\s\\x00-\\x1f]*/;\ninline._title = /\"(?:\\\\\"?|[^\"\\\\])*\"|'(?:\\\\'?|[^'\\\\])*'|\\((?:\\\\\\)?|[^)\\\\])*\\)/;\n\ninline.link = edit(inline.link)\n .replace('label', inline._label)\n .replace('href', inline._href)\n .replace('title', inline._title)\n .getRegex();\n\ninline.reflink = edit(inline.reflink)\n .replace('label', inline._label)\n .replace('ref', block._label)\n .getRegex();\n\ninline.nolink = edit(inline.nolink)\n .replace('ref', block._label)\n .getRegex();\n\ninline.reflinkSearch = edit(inline.reflinkSearch, 'g')\n .replace('reflink', inline.reflink)\n .replace('nolink', inline.nolink)\n .getRegex();\n\n/**\n * Normal Inline Grammar\n */\n\ninline.normal = { ...inline };\n\n/**\n * Pedantic Inline Grammar\n */\n\ninline.pedantic = {\n ...inline.normal,\n strong: {\n start: /^__|\\*\\*/,\n middle: /^__(?=\\S)([\\s\\S]*?\\S)__(?!_)|^\\*\\*(?=\\S)([\\s\\S]*?\\S)\\*\\*(?!\\*)/,\n endAst: /\\*\\*(?!\\*)/g,\n endUnd: /__(?!_)/g\n },\n em: {\n start: /^_|\\*/,\n middle: /^()\\*(?=\\S)([\\s\\S]*?\\S)\\*(?!\\*)|^_(?=\\S)([\\s\\S]*?\\S)_(?!_)/,\n endAst: /\\*(?!\\*)/g,\n endUnd: /_(?!_)/g\n },\n link: edit(/^!?\\[(label)\\]\\((.*?)\\)/)\n .replace('label', inline._label)\n .getRegex(),\n reflink: edit(/^!?\\[(label)\\]\\s*\\[([^\\]]*)\\]/)\n .replace('label', inline._label)\n .getRegex()\n};\n\n/**\n * GFM Inline Grammar\n */\n\ninline.gfm = {\n ...inline.normal,\n escape: edit(inline.escape).replace('])', '~|])').getRegex(),\n _extended_email: /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,\n url: /^((?:ftp|https?):\\/\\/|www\\.)(?:[a-zA-Z0-9\\-]+\\.?)+[^\\s<]*|^email/,\n _backpedal: /(?:[^?!.,:;*_'\"~()&]+|\\([^)]*\\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'\"~)]+(?!$))+/,\n del: /^(~~?)(?=[^\\s~])([\\s\\S]*?[^\\s~])\\1(?=[^~]|$)/,\n text: /^([`~]+|[^`~])(?:(?= {2,}\\n)|(?=[a-zA-Z0-9.!#$%&'*+\\/=?_`{\\|}~-]+@)|[\\s\\S]*?(?:(?=[\\\\ 0.5) {\n ch = 'x' + ch.toString(16);\n }\n out += '&#' + ch + ';';\n }\n\n return out;\n}\n\n/**\n * Block Lexer\n */\nclass Lexer {\n constructor(options) {\n this.tokens = [];\n this.tokens.links = Object.create(null);\n this.options = options || defaults;\n this.options.tokenizer = this.options.tokenizer || new Tokenizer();\n this.tokenizer = this.options.tokenizer;\n this.tokenizer.options = this.options;\n this.tokenizer.lexer = this;\n this.inlineQueue = [];\n this.state = {\n inLink: false,\n inRawBlock: false,\n top: true\n };\n\n const rules = {\n block: block.normal,\n inline: inline.normal\n };\n\n if (this.options.pedantic) {\n rules.block = block.pedantic;\n rules.inline = inline.pedantic;\n } else if (this.options.gfm) {\n rules.block = block.gfm;\n if (this.options.breaks) {\n rules.inline = inline.breaks;\n } else {\n rules.inline = inline.gfm;\n }\n }\n this.tokenizer.rules = rules;\n }\n\n /**\n * Expose Rules\n */\n static get rules() {\n return {\n block,\n inline\n };\n }\n\n /**\n * Static Lex Method\n */\n static lex(src, options) {\n const lexer = new Lexer(options);\n return lexer.lex(src);\n }\n\n /**\n * Static Lex Inline Method\n */\n static lexInline(src, options) {\n const lexer = new Lexer(options);\n return lexer.inlineTokens(src);\n }\n\n /**\n * Preprocessing\n */\n lex(src) {\n src = src\n .replace(/\\r\\n|\\r/g, '\\n');\n\n this.blockTokens(src, this.tokens);\n\n let next;\n while (next = this.inlineQueue.shift()) {\n this.inlineTokens(next.src, next.tokens);\n }\n\n return this.tokens;\n }\n\n /**\n * Lexing\n */\n blockTokens(src, tokens = []) {\n if (this.options.pedantic) {\n src = src.replace(/\\t/g, ' ').replace(/^ +$/gm, '');\n } else {\n src = src.replace(/^( *)(\\t+)/gm, (_, leading, tabs) => {\n return leading + ' '.repeat(tabs.length);\n });\n }\n\n let token, lastToken, cutSrc, lastParagraphClipped;\n\n while (src) {\n if (this.options.extensions\n && this.options.extensions.block\n && this.options.extensions.block.some((extTokenizer) => {\n if (token = extTokenizer.call({ lexer: this }, src, tokens)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n return true;\n }\n return false;\n })) {\n continue;\n }\n\n // newline\n if (token = this.tokenizer.space(src)) {\n src = src.substring(token.raw.length);\n if (token.raw.length === 1 && tokens.length > 0) {\n // if there's a single \\n as a spacer, it's terminating the last line,\n // so move it there so that we don't get unecessary paragraph tags\n tokens[tokens.length - 1].raw += '\\n';\n } else {\n tokens.push(token);\n }\n continue;\n }\n\n // code\n if (token = this.tokenizer.code(src)) {\n src = src.substring(token.raw.length);\n lastToken = tokens[tokens.length - 1];\n // An indented code block cannot interrupt a paragraph.\n if (lastToken && (lastToken.type === 'paragraph' || lastToken.type === 'text')) {\n lastToken.raw += '\\n' + token.raw;\n lastToken.text += '\\n' + token.text;\n this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;\n } else {\n tokens.push(token);\n }\n continue;\n }\n\n // fences\n if (token = this.tokenizer.fences(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // heading\n if (token = this.tokenizer.heading(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // hr\n if (token = this.tokenizer.hr(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // blockquote\n if (token = this.tokenizer.blockquote(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // list\n if (token = this.tokenizer.list(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // html\n if (token = this.tokenizer.html(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // def\n if (token = this.tokenizer.def(src)) {\n src = src.substring(token.raw.length);\n lastToken = tokens[tokens.length - 1];\n if (lastToken && (lastToken.type === 'paragraph' || lastToken.type === 'text')) {\n lastToken.raw += '\\n' + token.raw;\n lastToken.text += '\\n' + token.raw;\n this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;\n } else if (!this.tokens.links[token.tag]) {\n this.tokens.links[token.tag] = {\n href: token.href,\n title: token.title\n };\n }\n continue;\n }\n\n // table (gfm)\n if (token = this.tokenizer.table(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // lheading\n if (token = this.tokenizer.lheading(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // top-level paragraph\n // prevent paragraph consuming extensions by clipping 'src' to extension start\n cutSrc = src;\n if (this.options.extensions && this.options.extensions.startBlock) {\n let startIndex = Infinity;\n const tempSrc = src.slice(1);\n let tempStart;\n this.options.extensions.startBlock.forEach(function(getStartIndex) {\n tempStart = getStartIndex.call({ lexer: this }, tempSrc);\n if (typeof tempStart === 'number' && tempStart >= 0) { startIndex = Math.min(startIndex, tempStart); }\n });\n if (startIndex < Infinity && startIndex >= 0) {\n cutSrc = src.substring(0, startIndex + 1);\n }\n }\n if (this.state.top && (token = this.tokenizer.paragraph(cutSrc))) {\n lastToken = tokens[tokens.length - 1];\n if (lastParagraphClipped && lastToken.type === 'paragraph') {\n lastToken.raw += '\\n' + token.raw;\n lastToken.text += '\\n' + token.text;\n this.inlineQueue.pop();\n this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;\n } else {\n tokens.push(token);\n }\n lastParagraphClipped = (cutSrc.length !== src.length);\n src = src.substring(token.raw.length);\n continue;\n }\n\n // text\n if (token = this.tokenizer.text(src)) {\n src = src.substring(token.raw.length);\n lastToken = tokens[tokens.length - 1];\n if (lastToken && lastToken.type === 'text') {\n lastToken.raw += '\\n' + token.raw;\n lastToken.text += '\\n' + token.text;\n this.inlineQueue.pop();\n this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;\n } else {\n tokens.push(token);\n }\n continue;\n }\n\n if (src) {\n const errMsg = 'Infinite loop on byte: ' + src.charCodeAt(0);\n if (this.options.silent) {\n console.error(errMsg);\n break;\n } else {\n throw new Error(errMsg);\n }\n }\n }\n\n this.state.top = true;\n return tokens;\n }\n\n inline(src, tokens = []) {\n this.inlineQueue.push({ src, tokens });\n return tokens;\n }\n\n /**\n * Lexing/Compiling\n */\n inlineTokens(src, tokens = []) {\n let token, lastToken, cutSrc;\n\n // String with links masked to avoid interference with em and strong\n let maskedSrc = src;\n let match;\n let keepPrevChar, prevChar;\n\n // Mask out reflinks\n if (this.tokens.links) {\n const links = Object.keys(this.tokens.links);\n if (links.length > 0) {\n while ((match = this.tokenizer.rules.inline.reflinkSearch.exec(maskedSrc)) != null) {\n if (links.includes(match[0].slice(match[0].lastIndexOf('[') + 1, -1))) {\n maskedSrc = maskedSrc.slice(0, match.index) + '[' + 'a'.repeat(match[0].length - 2) + ']' + maskedSrc.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex);\n }\n }\n }\n }\n // Mask out other blocks\n while ((match = this.tokenizer.rules.inline.blockSkip.exec(maskedSrc)) != null) {\n maskedSrc = maskedSrc.slice(0, match.index) + '[' + 'a'.repeat(match[0].length - 2) + ']' + maskedSrc.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);\n }\n\n // Mask out escaped characters\n while ((match = this.tokenizer.rules.inline.anyPunctuation.exec(maskedSrc)) != null) {\n maskedSrc = maskedSrc.slice(0, match.index) + '++' + maskedSrc.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);\n }\n\n while (src) {\n if (!keepPrevChar) {\n prevChar = '';\n }\n keepPrevChar = false;\n\n // extensions\n if (this.options.extensions\n && this.options.extensions.inline\n && this.options.extensions.inline.some((extTokenizer) => {\n if (token = extTokenizer.call({ lexer: this }, src, tokens)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n return true;\n }\n return false;\n })) {\n continue;\n }\n\n // escape\n if (token = this.tokenizer.escape(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // tag\n if (token = this.tokenizer.tag(src)) {\n src = src.substring(token.raw.length);\n lastToken = tokens[tokens.length - 1];\n if (lastToken && token.type === 'text' && lastToken.type === 'text') {\n lastToken.raw += token.raw;\n lastToken.text += token.text;\n } else {\n tokens.push(token);\n }\n continue;\n }\n\n // link\n if (token = this.tokenizer.link(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // reflink, nolink\n if (token = this.tokenizer.reflink(src, this.tokens.links)) {\n src = src.substring(token.raw.length);\n lastToken = tokens[tokens.length - 1];\n if (lastToken && token.type === 'text' && lastToken.type === 'text') {\n lastToken.raw += token.raw;\n lastToken.text += token.text;\n } else {\n tokens.push(token);\n }\n continue;\n }\n\n // em & strong\n if (token = this.tokenizer.emStrong(src, maskedSrc, prevChar)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // code\n if (token = this.tokenizer.codespan(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // br\n if (token = this.tokenizer.br(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // del (gfm)\n if (token = this.tokenizer.del(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // autolink\n if (token = this.tokenizer.autolink(src, mangle)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // url (gfm)\n if (!this.state.inLink && (token = this.tokenizer.url(src, mangle))) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // text\n // prevent inlineText consuming extensions by clipping 'src' to extension start\n cutSrc = src;\n if (this.options.extensions && this.options.extensions.startInline) {\n let startIndex = Infinity;\n const tempSrc = src.slice(1);\n let tempStart;\n this.options.extensions.startInline.forEach(function(getStartIndex) {\n tempStart = getStartIndex.call({ lexer: this }, tempSrc);\n if (typeof tempStart === 'number' && tempStart >= 0) { startIndex = Math.min(startIndex, tempStart); }\n });\n if (startIndex < Infinity && startIndex >= 0) {\n cutSrc = src.substring(0, startIndex + 1);\n }\n }\n if (token = this.tokenizer.inlineText(cutSrc, smartypants)) {\n src = src.substring(token.raw.length);\n if (token.raw.slice(-1) !== '_') { // Track prevChar before string of ____ started\n prevChar = token.raw.slice(-1);\n }\n keepPrevChar = true;\n lastToken = tokens[tokens.length - 1];\n if (lastToken && lastToken.type === 'text') {\n lastToken.raw += token.raw;\n lastToken.text += token.text;\n } else {\n tokens.push(token);\n }\n continue;\n }\n\n if (src) {\n const errMsg = 'Infinite loop on byte: ' + src.charCodeAt(0);\n if (this.options.silent) {\n console.error(errMsg);\n break;\n } else {\n throw new Error(errMsg);\n }\n }\n }\n\n return tokens;\n }\n}\n\n/**\n * Renderer\n */\nclass Renderer {\n constructor(options) {\n this.options = options || defaults;\n }\n\n code(code, infostring, escaped) {\n const lang = (infostring || '').match(/\\S*/)[0];\n if (this.options.highlight) {\n const out = this.options.highlight(code, lang);\n if (out != null && out !== code) {\n escaped = true;\n code = out;\n }\n }\n\n code = code.replace(/\\n$/, '') + '\\n';\n\n if (!lang) {\n return '
    '\n        + (escaped ? code : escape(code, true))\n        + '
    \\n';\n }\n\n return '
    '\n      + (escaped ? code : escape(code, true))\n      + '
    \\n';\n }\n\n /**\n * @param {string} quote\n */\n blockquote(quote) {\n return `
    \\n${quote}
    \\n`;\n }\n\n html(html, block) {\n return html;\n }\n\n /**\n * @param {string} text\n * @param {string} level\n * @param {string} raw\n * @param {any} slugger\n */\n heading(text, level, raw, slugger) {\n if (this.options.headerIds) {\n const id = this.options.headerPrefix + slugger.slug(raw);\n return `${text}\\n`;\n }\n\n // ignore IDs\n return `${text}\\n`;\n }\n\n hr() {\n return this.options.xhtml ? '
    \\n' : '
    \\n';\n }\n\n list(body, ordered, start) {\n const type = ordered ? 'ol' : 'ul',\n startatt = (ordered && start !== 1) ? (' start=\"' + start + '\"') : '';\n return '<' + type + startatt + '>\\n' + body + '\\n';\n }\n\n /**\n * @param {string} text\n */\n listitem(text) {\n return `
  • ${text}
  • \\n`;\n }\n\n checkbox(checked) {\n return ' ';\n }\n\n /**\n * @param {string} text\n */\n paragraph(text) {\n return `

    ${text}

    \\n`;\n }\n\n /**\n * @param {string} header\n * @param {string} body\n */\n table(header, body) {\n if (body) body = `${body}`;\n\n return '\\n'\n + '\\n'\n + header\n + '\\n'\n + body\n + '
    \\n';\n }\n\n /**\n * @param {string} content\n */\n tablerow(content) {\n return `\\n${content}\\n`;\n }\n\n tablecell(content, flags) {\n const type = flags.header ? 'th' : 'td';\n const tag = flags.align\n ? `<${type} align=\"${flags.align}\">`\n : `<${type}>`;\n return tag + content + `\\n`;\n }\n\n /**\n * span level renderer\n * @param {string} text\n */\n strong(text) {\n return `${text}`;\n }\n\n /**\n * @param {string} text\n */\n em(text) {\n return `${text}`;\n }\n\n /**\n * @param {string} text\n */\n codespan(text) {\n return `${text}`;\n }\n\n br() {\n return this.options.xhtml ? '
    ' : '
    ';\n }\n\n /**\n * @param {string} text\n */\n del(text) {\n return `${text}`;\n }\n\n /**\n * @param {string} href\n * @param {string} title\n * @param {string} text\n */\n link(href, title, text) {\n href = cleanUrl(this.options.sanitize, this.options.baseUrl, href);\n if (href === null) {\n return text;\n }\n let out = '
    ';\n return out;\n }\n\n /**\n * @param {string} href\n * @param {string} title\n * @param {string} text\n */\n image(href, title, text) {\n href = cleanUrl(this.options.sanitize, this.options.baseUrl, href);\n if (href === null) {\n return text;\n }\n\n let out = `\"${text}\"`;\n' : '>';\n return out;\n }\n\n text(text) {\n return text;\n }\n}\n\n/**\n * TextRenderer\n * returns only the textual part of the token\n */\nclass TextRenderer {\n // no need for block level renderers\n strong(text) {\n return text;\n }\n\n em(text) {\n return text;\n }\n\n codespan(text) {\n return text;\n }\n\n del(text) {\n return text;\n }\n\n html(text) {\n return text;\n }\n\n text(text) {\n return text;\n }\n\n link(href, title, text) {\n return '' + text;\n }\n\n image(href, title, text) {\n return '' + text;\n }\n\n br() {\n return '';\n }\n}\n\n/**\n * Slugger generates header id\n */\nclass Slugger {\n constructor() {\n this.seen = {};\n }\n\n /**\n * @param {string} value\n */\n serialize(value) {\n return value\n .toLowerCase()\n .trim()\n // remove html tags\n .replace(/<[!\\/a-z].*?>/ig, '')\n // remove unwanted chars\n .replace(/[\\u2000-\\u206F\\u2E00-\\u2E7F\\\\'!\"#$%&()*+,./:;<=>?@[\\]^`{|}~]/g, '')\n .replace(/\\s/g, '-');\n }\n\n /**\n * Finds the next safe (unique) slug to use\n * @param {string} originalSlug\n * @param {boolean} isDryRun\n */\n getNextSafeSlug(originalSlug, isDryRun) {\n let slug = originalSlug;\n let occurenceAccumulator = 0;\n if (this.seen.hasOwnProperty(slug)) {\n occurenceAccumulator = this.seen[originalSlug];\n do {\n occurenceAccumulator++;\n slug = originalSlug + '-' + occurenceAccumulator;\n } while (this.seen.hasOwnProperty(slug));\n }\n if (!isDryRun) {\n this.seen[originalSlug] = occurenceAccumulator;\n this.seen[slug] = 0;\n }\n return slug;\n }\n\n /**\n * Convert string to unique id\n * @param {object} [options]\n * @param {boolean} [options.dryrun] Generates the next unique slug without\n * updating the internal accumulator.\n */\n slug(value, options = {}) {\n const slug = this.serialize(value);\n return this.getNextSafeSlug(slug, options.dryrun);\n }\n}\n\n/**\n * Parsing & Compiling\n */\nclass Parser {\n constructor(options) {\n this.options = options || defaults;\n this.options.renderer = this.options.renderer || new Renderer();\n this.renderer = this.options.renderer;\n this.renderer.options = this.options;\n this.textRenderer = new TextRenderer();\n this.slugger = new Slugger();\n }\n\n /**\n * Static Parse Method\n */\n static parse(tokens, options) {\n const parser = new Parser(options);\n return parser.parse(tokens);\n }\n\n /**\n * Static Parse Inline Method\n */\n static parseInline(tokens, options) {\n const parser = new Parser(options);\n return parser.parseInline(tokens);\n }\n\n /**\n * Parse Loop\n */\n parse(tokens, top = true) {\n let out = '',\n i,\n j,\n k,\n l2,\n l3,\n row,\n cell,\n header,\n body,\n token,\n ordered,\n start,\n loose,\n itemBody,\n item,\n checked,\n task,\n checkbox,\n ret;\n\n const l = tokens.length;\n for (i = 0; i < l; i++) {\n token = tokens[i];\n\n // Run any renderer extensions\n if (this.options.extensions && this.options.extensions.renderers && this.options.extensions.renderers[token.type]) {\n ret = this.options.extensions.renderers[token.type].call({ parser: this }, token);\n if (ret !== false || !['space', 'hr', 'heading', 'code', 'table', 'blockquote', 'list', 'html', 'paragraph', 'text'].includes(token.type)) {\n out += ret || '';\n continue;\n }\n }\n\n switch (token.type) {\n case 'space': {\n continue;\n }\n case 'hr': {\n out += this.renderer.hr();\n continue;\n }\n case 'heading': {\n out += this.renderer.heading(\n this.parseInline(token.tokens),\n token.depth,\n unescape(this.parseInline(token.tokens, this.textRenderer)),\n this.slugger);\n continue;\n }\n case 'code': {\n out += this.renderer.code(token.text,\n token.lang,\n token.escaped);\n continue;\n }\n case 'table': {\n header = '';\n\n // header\n cell = '';\n l2 = token.header.length;\n for (j = 0; j < l2; j++) {\n cell += this.renderer.tablecell(\n this.parseInline(token.header[j].tokens),\n { header: true, align: token.align[j] }\n );\n }\n header += this.renderer.tablerow(cell);\n\n body = '';\n l2 = token.rows.length;\n for (j = 0; j < l2; j++) {\n row = token.rows[j];\n\n cell = '';\n l3 = row.length;\n for (k = 0; k < l3; k++) {\n cell += this.renderer.tablecell(\n this.parseInline(row[k].tokens),\n { header: false, align: token.align[k] }\n );\n }\n\n body += this.renderer.tablerow(cell);\n }\n out += this.renderer.table(header, body);\n continue;\n }\n case 'blockquote': {\n body = this.parse(token.tokens);\n out += this.renderer.blockquote(body);\n continue;\n }\n case 'list': {\n ordered = token.ordered;\n start = token.start;\n loose = token.loose;\n l2 = token.items.length;\n\n body = '';\n for (j = 0; j < l2; j++) {\n item = token.items[j];\n checked = item.checked;\n task = item.task;\n\n itemBody = '';\n if (item.task) {\n checkbox = this.renderer.checkbox(checked);\n if (loose) {\n if (item.tokens.length > 0 && item.tokens[0].type === 'paragraph') {\n item.tokens[0].text = checkbox + ' ' + item.tokens[0].text;\n if (item.tokens[0].tokens && item.tokens[0].tokens.length > 0 && item.tokens[0].tokens[0].type === 'text') {\n item.tokens[0].tokens[0].text = checkbox + ' ' + item.tokens[0].tokens[0].text;\n }\n } else {\n item.tokens.unshift({\n type: 'text',\n text: checkbox\n });\n }\n } else {\n itemBody += checkbox;\n }\n }\n\n itemBody += this.parse(item.tokens, loose);\n body += this.renderer.listitem(itemBody, task, checked);\n }\n\n out += this.renderer.list(body, ordered, start);\n continue;\n }\n case 'html': {\n out += this.renderer.html(token.text, token.block);\n continue;\n }\n case 'paragraph': {\n out += this.renderer.paragraph(this.parseInline(token.tokens));\n continue;\n }\n case 'text': {\n body = token.tokens ? this.parseInline(token.tokens) : token.text;\n while (i + 1 < l && tokens[i + 1].type === 'text') {\n token = tokens[++i];\n body += '\\n' + (token.tokens ? this.parseInline(token.tokens) : token.text);\n }\n out += top ? this.renderer.paragraph(body) : body;\n continue;\n }\n\n default: {\n const errMsg = 'Token with \"' + token.type + '\" type was not found.';\n if (this.options.silent) {\n console.error(errMsg);\n return;\n } else {\n throw new Error(errMsg);\n }\n }\n }\n }\n\n return out;\n }\n\n /**\n * Parse Inline Tokens\n */\n parseInline(tokens, renderer) {\n renderer = renderer || this.renderer;\n let out = '',\n i,\n token,\n ret;\n\n const l = tokens.length;\n for (i = 0; i < l; i++) {\n token = tokens[i];\n\n // Run any renderer extensions\n if (this.options.extensions && this.options.extensions.renderers && this.options.extensions.renderers[token.type]) {\n ret = this.options.extensions.renderers[token.type].call({ parser: this }, token);\n if (ret !== false || !['escape', 'html', 'link', 'image', 'strong', 'em', 'codespan', 'br', 'del', 'text'].includes(token.type)) {\n out += ret || '';\n continue;\n }\n }\n\n switch (token.type) {\n case 'escape': {\n out += renderer.text(token.text);\n break;\n }\n case 'html': {\n out += renderer.html(token.text);\n break;\n }\n case 'link': {\n out += renderer.link(token.href, token.title, this.parseInline(token.tokens, renderer));\n break;\n }\n case 'image': {\n out += renderer.image(token.href, token.title, token.text);\n break;\n }\n case 'strong': {\n out += renderer.strong(this.parseInline(token.tokens, renderer));\n break;\n }\n case 'em': {\n out += renderer.em(this.parseInline(token.tokens, renderer));\n break;\n }\n case 'codespan': {\n out += renderer.codespan(token.text);\n break;\n }\n case 'br': {\n out += renderer.br();\n break;\n }\n case 'del': {\n out += renderer.del(this.parseInline(token.tokens, renderer));\n break;\n }\n case 'text': {\n out += renderer.text(token.text);\n break;\n }\n default: {\n const errMsg = 'Token with \"' + token.type + '\" type was not found.';\n if (this.options.silent) {\n console.error(errMsg);\n return;\n } else {\n throw new Error(errMsg);\n }\n }\n }\n }\n return out;\n }\n}\n\nclass Hooks {\n constructor(options) {\n this.options = options || defaults;\n }\n\n static passThroughHooks = new Set([\n 'preprocess',\n 'postprocess'\n ]);\n\n /**\n * Process markdown before marked\n */\n preprocess(markdown) {\n return markdown;\n }\n\n /**\n * Process HTML after marked is finished\n */\n postprocess(html) {\n return html;\n }\n}\n\nclass Marked {\n defaults = getDefaults();\n options = this.setOptions;\n\n parse = this.#parseMarkdown(Lexer.lex, Parser.parse);\n parseInline = this.#parseMarkdown(Lexer.lexInline, Parser.parseInline);\n\n Parser = Parser;\n parser = Parser.parse;\n Renderer = Renderer;\n TextRenderer = TextRenderer;\n Lexer = Lexer;\n lexer = Lexer.lex;\n Tokenizer = Tokenizer;\n Slugger = Slugger;\n Hooks = Hooks;\n\n constructor(...args) {\n this.use(...args);\n }\n\n walkTokens(tokens, callback) {\n let values = [];\n for (const token of tokens) {\n values = values.concat(callback.call(this, token));\n switch (token.type) {\n case 'table': {\n for (const cell of token.header) {\n values = values.concat(this.walkTokens(cell.tokens, callback));\n }\n for (const row of token.rows) {\n for (const cell of row) {\n values = values.concat(this.walkTokens(cell.tokens, callback));\n }\n }\n break;\n }\n case 'list': {\n values = values.concat(this.walkTokens(token.items, callback));\n break;\n }\n default: {\n if (this.defaults.extensions && this.defaults.extensions.childTokens && this.defaults.extensions.childTokens[token.type]) { // Walk any extensions\n this.defaults.extensions.childTokens[token.type].forEach((childTokens) => {\n values = values.concat(this.walkTokens(token[childTokens], callback));\n });\n } else if (token.tokens) {\n values = values.concat(this.walkTokens(token.tokens, callback));\n }\n }\n }\n }\n return values;\n }\n\n use(...args) {\n const extensions = this.defaults.extensions || { renderers: {}, childTokens: {} };\n\n args.forEach((pack) => {\n // copy options to new object\n const opts = { ...pack };\n\n // set async to true if it was set to true before\n opts.async = this.defaults.async || opts.async || false;\n\n // ==-- Parse \"addon\" extensions --== //\n if (pack.extensions) {\n pack.extensions.forEach((ext) => {\n if (!ext.name) {\n throw new Error('extension name required');\n }\n if (ext.renderer) { // Renderer extensions\n const prevRenderer = extensions.renderers[ext.name];\n if (prevRenderer) {\n // Replace extension with func to run new extension but fall back if false\n extensions.renderers[ext.name] = function(...args) {\n let ret = ext.renderer.apply(this, args);\n if (ret === false) {\n ret = prevRenderer.apply(this, args);\n }\n return ret;\n };\n } else {\n extensions.renderers[ext.name] = ext.renderer;\n }\n }\n if (ext.tokenizer) { // Tokenizer Extensions\n if (!ext.level || (ext.level !== 'block' && ext.level !== 'inline')) {\n throw new Error(\"extension level must be 'block' or 'inline'\");\n }\n if (extensions[ext.level]) {\n extensions[ext.level].unshift(ext.tokenizer);\n } else {\n extensions[ext.level] = [ext.tokenizer];\n }\n if (ext.start) { // Function to check for start of token\n if (ext.level === 'block') {\n if (extensions.startBlock) {\n extensions.startBlock.push(ext.start);\n } else {\n extensions.startBlock = [ext.start];\n }\n } else if (ext.level === 'inline') {\n if (extensions.startInline) {\n extensions.startInline.push(ext.start);\n } else {\n extensions.startInline = [ext.start];\n }\n }\n }\n }\n if (ext.childTokens) { // Child tokens to be visited by walkTokens\n extensions.childTokens[ext.name] = ext.childTokens;\n }\n });\n opts.extensions = extensions;\n }\n\n // ==-- Parse \"overwrite\" extensions --== //\n if (pack.renderer) {\n const renderer = this.defaults.renderer || new Renderer(this.defaults);\n for (const prop in pack.renderer) {\n const prevRenderer = renderer[prop];\n // Replace renderer with func to run extension, but fall back if false\n renderer[prop] = (...args) => {\n let ret = pack.renderer[prop].apply(renderer, args);\n if (ret === false) {\n ret = prevRenderer.apply(renderer, args);\n }\n return ret;\n };\n }\n opts.renderer = renderer;\n }\n if (pack.tokenizer) {\n const tokenizer = this.defaults.tokenizer || new Tokenizer(this.defaults);\n for (const prop in pack.tokenizer) {\n const prevTokenizer = tokenizer[prop];\n // Replace tokenizer with func to run extension, but fall back if false\n tokenizer[prop] = (...args) => {\n let ret = pack.tokenizer[prop].apply(tokenizer, args);\n if (ret === false) {\n ret = prevTokenizer.apply(tokenizer, args);\n }\n return ret;\n };\n }\n opts.tokenizer = tokenizer;\n }\n\n // ==-- Parse Hooks extensions --== //\n if (pack.hooks) {\n const hooks = this.defaults.hooks || new Hooks();\n for (const prop in pack.hooks) {\n const prevHook = hooks[prop];\n if (Hooks.passThroughHooks.has(prop)) {\n hooks[prop] = (arg) => {\n if (this.defaults.async) {\n return Promise.resolve(pack.hooks[prop].call(hooks, arg)).then(ret => {\n return prevHook.call(hooks, ret);\n });\n }\n\n const ret = pack.hooks[prop].call(hooks, arg);\n return prevHook.call(hooks, ret);\n };\n } else {\n hooks[prop] = (...args) => {\n let ret = pack.hooks[prop].apply(hooks, args);\n if (ret === false) {\n ret = prevHook.apply(hooks, args);\n }\n return ret;\n };\n }\n }\n opts.hooks = hooks;\n }\n\n // ==-- Parse WalkTokens extensions --== //\n if (pack.walkTokens) {\n const walkTokens = this.defaults.walkTokens;\n opts.walkTokens = function(token) {\n let values = [];\n values.push(pack.walkTokens.call(this, token));\n if (walkTokens) {\n values = values.concat(walkTokens.call(this, token));\n }\n return values;\n };\n }\n\n this.defaults = { ...this.defaults, ...opts };\n });\n\n return this;\n }\n\n setOptions(opt) {\n this.defaults = { ...this.defaults, ...opt };\n return this;\n }\n\n #parseMarkdown(lexer, parser) {\n return (src, opt, callback) => {\n if (typeof opt === 'function') {\n callback = opt;\n opt = null;\n }\n\n const origOpt = { ...opt };\n opt = { ...this.defaults, ...origOpt };\n const throwError = this.#onError(opt.silent, opt.async, callback);\n\n // throw error in case of non string input\n if (typeof src === 'undefined' || src === null) {\n return throwError(new Error('marked(): input parameter is undefined or null'));\n }\n if (typeof src !== 'string') {\n return throwError(new Error('marked(): input parameter is of type '\n + Object.prototype.toString.call(src) + ', string expected'));\n }\n\n checkDeprecations(opt, callback);\n\n if (opt.hooks) {\n opt.hooks.options = opt;\n }\n\n if (callback) {\n const highlight = opt.highlight;\n let tokens;\n\n try {\n if (opt.hooks) {\n src = opt.hooks.preprocess(src);\n }\n tokens = lexer(src, opt);\n } catch (e) {\n return throwError(e);\n }\n\n const done = (err) => {\n let out;\n\n if (!err) {\n try {\n if (opt.walkTokens) {\n this.walkTokens(tokens, opt.walkTokens);\n }\n out = parser(tokens, opt);\n if (opt.hooks) {\n out = opt.hooks.postprocess(out);\n }\n } catch (e) {\n err = e;\n }\n }\n\n opt.highlight = highlight;\n\n return err\n ? throwError(err)\n : callback(null, out);\n };\n\n if (!highlight || highlight.length < 3) {\n return done();\n }\n\n delete opt.highlight;\n\n if (!tokens.length) return done();\n\n let pending = 0;\n this.walkTokens(tokens, (token) => {\n if (token.type === 'code') {\n pending++;\n setTimeout(() => {\n highlight(token.text, token.lang, (err, code) => {\n if (err) {\n return done(err);\n }\n if (code != null && code !== token.text) {\n token.text = code;\n token.escaped = true;\n }\n\n pending--;\n if (pending === 0) {\n done();\n }\n });\n }, 0);\n }\n });\n\n if (pending === 0) {\n done();\n }\n\n return;\n }\n\n if (opt.async) {\n return Promise.resolve(opt.hooks ? opt.hooks.preprocess(src) : src)\n .then(src => lexer(src, opt))\n .then(tokens => opt.walkTokens ? Promise.all(this.walkTokens(tokens, opt.walkTokens)).then(() => tokens) : tokens)\n .then(tokens => parser(tokens, opt))\n .then(html => opt.hooks ? opt.hooks.postprocess(html) : html)\n .catch(throwError);\n }\n\n try {\n if (opt.hooks) {\n src = opt.hooks.preprocess(src);\n }\n const tokens = lexer(src, opt);\n if (opt.walkTokens) {\n this.walkTokens(tokens, opt.walkTokens);\n }\n let html = parser(tokens, opt);\n if (opt.hooks) {\n html = opt.hooks.postprocess(html);\n }\n return html;\n } catch (e) {\n return throwError(e);\n }\n };\n }\n\n #onError(silent, async, callback) {\n return (e) => {\n e.message += '\\nPlease report this to https://github.com/markedjs/this.';\n\n if (silent) {\n const msg = '

    An error occurred:

    '\n          + escape(e.message + '', true)\n          + '
    ';\n if (async) {\n return Promise.resolve(msg);\n }\n if (callback) {\n callback(null, msg);\n return;\n }\n return msg;\n }\n\n if (async) {\n return Promise.reject(e);\n }\n if (callback) {\n callback(e);\n return;\n }\n throw e;\n };\n }\n}\n\nconst markedInstance = new Marked(defaults);\n\n/**\n * Marked\n */\nfunction marked(src, opt, callback) {\n return markedInstance.parse(src, opt, callback);\n}\n\n/**\n * Options\n */\n\nmarked.options =\nmarked.setOptions = function(opt) {\n markedInstance.setOptions(opt);\n marked.defaults = markedInstance.defaults;\n changeDefaults(marked.defaults);\n return marked;\n};\n\nmarked.getDefaults = getDefaults;\n\nmarked.defaults = defaults;\n\n/**\n * Use Extension\n */\n\nmarked.use = function(...args) {\n markedInstance.use(...args);\n marked.defaults = markedInstance.defaults;\n changeDefaults(marked.defaults);\n return marked;\n};\n\n/**\n * Run callback for every token\n */\n\nmarked.walkTokens = function(tokens, callback) {\n return markedInstance.walkTokens(tokens, callback);\n};\n\n/**\n * Parse Inline\n * @param {string} src\n */\nmarked.parseInline = markedInstance.parseInline;\n\n/**\n * Expose\n */\nmarked.Parser = Parser;\nmarked.parser = Parser.parse;\nmarked.Renderer = Renderer;\nmarked.TextRenderer = TextRenderer;\nmarked.Lexer = Lexer;\nmarked.lexer = Lexer.lex;\nmarked.Tokenizer = Tokenizer;\nmarked.Slugger = Slugger;\nmarked.Hooks = Hooks;\nmarked.parse = marked;\n\nconst options = marked.options;\nconst setOptions = marked.setOptions;\nconst use = marked.use;\nconst walkTokens = marked.walkTokens;\nconst parseInline = marked.parseInline;\nconst parse = marked;\nconst parser = Parser.parse;\nconst lexer = Lexer.lex;\n\nexport { Hooks, Lexer, Marked, Parser, Renderer, Slugger, TextRenderer, Tokenizer, defaults, getDefaults, lexer, marked, options, parse, parseInline, parser, setOptions, use, walkTokens };\n","\n\n\n\n\n\n","import script from \"./DescriptionInfo.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./DescriptionInfo.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./DescriptionInfo.vue?vue&type=style&index=0&id=7062c208&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-7062c208\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./Depositors.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./Depositors.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./Depositors.vue?vue&type=style&index=0&id=6aad82fa&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-6aad82fa\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./VotesInfo.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./VotesInfo.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./VotesInfo.vue?vue&type=style&index=0&id=5bd14508&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-5bd14508\"]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Loader.vue?vue&type=template&id=98cd1d18&scoped=true\"\nconst script = {}\n\nimport \"./Loader.vue?vue&type=style&index=0&id=98cd1d18&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-98cd1d18\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./DepositModal.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./DepositModal.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./DepositModal.vue?vue&type=style&index=0&id=024285fd&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-024285fd\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./ProposalInfo.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./ProposalInfo.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./ProposalInfo.vue?vue&type=style&index=0&id=38514a4b&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-38514a4b\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./Proposal.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./Proposal.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./Proposal.vue?vue&type=style&index=0&id=66e1e89c&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-66e1e89c\"]])\n\nexport default __exports__"],"names":["store","useGlobalStore","__exports__","_checkPrivateRedeclaration","obj","privateCollection","has","TypeError","_classPrivateMethodInitSpec","privateSet","checkPrivateRedeclaration","add","_classPrivateMethodGet","receiver","fn","getDefaults","async","baseUrl","breaks","extensions","gfm","headerIds","headerPrefix","highlight","hooks","langPrefix","mangle","pedantic","renderer","sanitize","sanitizer","silent","smartypants","tokenizer","walkTokens","xhtml","defaults","changeDefaults","newDefaults","escapeTest","escapeReplace","RegExp","source","escapeTestNoEncode","escapeReplaceNoEncode","escapeReplacements","getEscapeReplacement","ch","escape","html","encode","test","replace","unescapeTest","unescape","_","n","toLowerCase","charAt","String","fromCharCode","parseInt","substring","caret","edit","regex","opt","name","val","getRegex","nonWordAndColonTest","originIndependentUrl","cleanUrl","base","href","prot","decodeURIComponent","e","indexOf","resolveUrl","encodeURI","baseUrls","justDomain","protocol","domain","rtrim","relativeBase","noopTest","exec","splitCells","tableRow","count","row","match","offset","str","escaped","curr","cells","split","i","trim","shift","length","pop","splice","push","c","invert","l","suffLen","currChar","slice","findClosingBracket","b","level","checkDeprecations","callback","console","warn","outputLink","cap","link","raw","lexer","title","text","state","inLink","token","type","tokens","inlineTokens","indentCodeCompensation","matchIndentToCode","indentToCode","map","node","matchIndentInNode","indentInNode","join","Tokenizer","constructor","options","this","space","src","rules","block","newline","code","codeBlockStyle","fences","lang","inline","_escapes","heading","trimmed","depth","hr","blockquote","top","blockTokens","list","istask","ischecked","indent","blankLine","endsWithBlankLine","line","nextLine","rawLine","itemContents","endEarly","bull","isordered","ordered","start","loose","items","itemRegex","t","repeat","trimLeft","search","nextBulletRegex","Math","min","hrRegex","fencesBeginRegex","headingBeginRegex","task","checked","trimRight","spacers","filter","hasMultipleLineBreaks","some","pre","def","tag","table","item","header","align","rows","j","k","lheading","paragraph","inRawBlock","trimmedUrl","rtrimSlash","lastParenIndex","linkLen","reflink","links","nolink","emStrong","maskedSrc","prevChar","lDelim","nextChar","punctuation","lLength","rDelim","rLength","delimTotal","midDelimTotal","endReg","rDelimAst","rDelimUnd","lastIndex","index","codespan","hasNonSpaceChars","hasSpaceCharsOnBothEnds","br","del","autolink","url","prevCapZero","_backpedal","inlineText","_paragraph","_label","_title","bullet","listItemStart","_tag","_comment","normal","reflinkSearch","out","charCodeAt","random","toString","_punctuation","blockSkip","anyPunctuation","_scheme","_email","_attribute","_href","strong","middle","endAst","endUnd","em","_extended_email","Lexer","Object","create","inlineQueue","static","lex","next","lastToken","cutSrc","lastParagraphClipped","leading","tabs","extTokenizer","call","startBlock","startIndex","Infinity","tempSrc","tempStart","forEach","getStartIndex","errMsg","error","Error","keepPrevChar","keys","includes","lastIndexOf","startInline","Renderer","infostring","quote","slugger","id","slug","body","startatt","listitem","checkbox","tablerow","content","tablecell","flags","image","TextRenderer","Slugger","seen","serialize","value","getNextSafeSlug","originalSlug","isDryRun","occurenceAccumulator","hasOwnProperty","dryrun","Parser","textRenderer","parser","parse","parseInline","l2","l3","cell","itemBody","ret","renderers","unshift","Hooks","preprocess","markdown","postprocess","_defineProperty","Set","_parseMarkdown","WeakSet","_onError","Marked","args","setOptions","_parseMarkdown2","lexInline","use","values","concat","childTokens","pack","opts","ext","prevRenderer","apply","prop","prevTokenizer","prevHook","passThroughHooks","arg","Promise","resolve","then","origOpt","throwError","_onError2","prototype","done","err","pending","setTimeout","all","catch","message","msg","reject","markedInstance","marked","showDescription","ref","parseMarkdown","data","userTimeZone","Date","getTimezoneOffset","dateCalc","date","currentDate","setHours","getHours","loading","validators","walletValidators","currentFilter","imageLoadError","event","target","classList","getVotesData","fetch","currentProposalId","res","json","response","delegators","voting_power_rank","getValidatorsWallet","currentAddress","generateAddress","networks","currentNetwork","address_prefix","account","currentWallet","checkValidator","operator_address","result","find","el","getFilterCount","status","validator_option","VOTE_OPTION_YES","VOTE_OPTION_NO","VOTE_OPTION_NO_WITH_VETO","VOTE_OPTION_ABSTAIN","VOTE_OPTION_WEIGHTED","filterValidators","sort","a","calcPercents","validator","sum","delegators_shares_option_yes","delegators_shares_option_nwv","delegators_shares_option_no","calcCommunityPercents","delegators_shares_option_abstain","pow","exponent","voting_power","onBeforeMount","class","_hoisted_2","_createElementBlock","_hoisted_1","_hoisted_3","script","render","i18n","inject","emitter","notification","useNotification","loader","amount","balance","getCurrentAccountBalance","wallet","wallets","address","networkInWallet","network","liquid","native","index_api","cosmoshub","setAmount","parseFloat","onSubmit","notify","group","duration","global","msgAny","typeUrl","proposalId","props","proposal","depositor","Keplr","denom","toFixed","prepareResult","prepareTx","sendTx","lastTXS","transactionHash","clean","chain","tx_type","refreshProposalData","emit","ChartJS","register","ArcElement","voteLoading","showAccountDropdown","showDepositModal","chartOptions","reactive","responsive","plugins","legend","tooltip","animation","transitions","active","chart","chartColors","depositChartColors","chartData","computed","datasets","chartDatasets","backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","borderAlign","cutout","getCurrentAccount","nickname","selectWallet","getProgressPercents","tally_abstain","tally_no","tally_no_with_veto","tally_yes","calcTurnout","stakingPool","isQuorum","setVote","option","voter","log","on","urlParams","useUrlSearchParams","activeTab","tab","currentVote","votes","getProposalData","remnant","proposal_need","deposit","getCurrentVote","proposer_address","valoperAddress","toBech32","fromBech32","moniker","vote","setActiveTab","moonPassportOwnerAddress"],"sourceRoot":""} \ No newline at end of file diff --git a/js/app.20051cdd.js b/js/app.20051cdd.js new file mode 100644 index 0000000..f4f979e --- /dev/null +++ b/js/app.20051cdd.js @@ -0,0 +1,2 @@ +(function(){var e={18632:function(e,t,o){"use strict";var s=o(49242),n=o(61020),a=(o(57658),o(73396)),r=o(44870),i=o(87139),c=o(27795),l=o(34776),u=o(22483),d=o(90466),_=o(42325),p=o(55177),m=o.n(p),g=o.p+"img/mobile_plug_img.2ff74533.svg";const h={class:"mobile_plug"},f=(0,a._)("div",{class:"image"},[(0,a._)("img",{src:g,alt:""})],-1),b={class:"title"},v={class:"desc"};function w(e,t){return(0,a.wg)(),(0,a.iD)("div",h,[f,(0,a._)("div",b,(0,i.zw)(e.$t("message.mobile_plug_title")),1),(0,a._)("div",v,(0,i.zw)(e.$t("message.mobile_plug_desc")),1)])}var y=o(40089);const k={},x=(0,y.Z)(k,[["render",w]]);var A=x;const T=c+"#ic_notification_success",D=c+"#ic_notification_error",C=c+"#ic_notification_progress",S=c+"#ic_link_arrow",P={key:0,class:"loader_wrap"},O=(0,a._)("div",{class:"loader"},[(0,a._)("span")],-1),N=[O],M={class:"notification"},E={key:0,class:"icon green"},F=(0,a._)("svg",null,[(0,a._)("use",{"xlink:href":T})],-1),q=[F],U={key:1,class:"icon red"},B=(0,a._)("svg",null,[(0,a._)("use",{"xlink:href":D})],-1),j=[B],R={key:2,class:"icon"},I=(0,a._)("svg",null,[(0,a._)("use",{"xlink:href":C})],-1),z=[I],K={key:3},L={class:"chain"},H={class:"tx_type"},W={class:"title"},Y=["innerHTML"],V={key:5,class:"explorer"},$=["href"],G=(0,a._)("svg",null,[(0,a._)("use",{"xlink:href":S})],-1);var J={__name:"App",setup(e){const t=(0,l.s)(),o=(0,a.f3)("i18n"),s=(0,u.yj)(),n=(0,u.tv)(),c=(0,a.f3)("emitter"),p=(0,d.ZQf)(),g=m().parse(navigator.userAgent),h=(0,a.Fl)((()=>s.meta.layout||"default-layout"));return(0,a.wF)((()=>{p.value=o.global.t("message.page_title"),window.addEventListener("keplr_keystorechange",(()=>{t.showAddAddressModal||window.location.reload()}))})),(0,a.YP)((0,a.Fl)((()=>t.currentNetwork)),(async()=>{await(0,_.wO)(t.networks[t.currentNetwork].chainId)})),c.on("initApp",(async()=>{window.keplr?n.push("/"):n.push("/keplr_error")})),c.on("setNotification",(e=>{t.tooltipAnimate=!1,t.tooltip=e,setTimeout((()=>t.tooltipAnimate=!0),10)})),(e,o)=>{const n=(0,a.up)("notifications");return(0,r.SU)(t).isAppFullLoaded?((0,a.wg)(),(0,a.iD)(a.HY,{key:1},[(0,r.SU)(t).demo||"/welcome"==(0,r.SU)(s).path||"Desktop"==(0,r.SU)(g).device.type?((0,a.wg)(),(0,a.iD)(a.HY,{key:1},[((0,a.wg)(),(0,a.j4)((0,a.LL)(h.value))),(0,a.Wm)(n,{width:"280px",group:"default"},{body:(0,a.w5)((t=>[(0,a._)("div",M,["success"==t.item.type?((0,a.wg)(),(0,a.iD)("div",E,q)):(0,a.kq)("",!0),"error"==t.item.type?((0,a.wg)(),(0,a.iD)("div",U,j)):(0,a.kq)("",!0),t.item.type?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",R,z)),t.item.data.chain&&t.item.data.tx_type?((0,a.wg)(),(0,a.iD)("div",K,[(0,a._)("div",L,(0,i.zw)(t.item.data.chain),1),(0,a._)("div",H,(0,i.zw)(t.item.data.tx_type),1)])):(0,a.kq)("",!0),(0,a._)("div",W,(0,i.zw)(t.item.title),1),t.item.text?((0,a.wg)(),(0,a.iD)("div",{key:4,class:"text",innerHTML:t.item.text},null,8,Y)):(0,a.kq)("",!0),t.item.data.tx_hash?((0,a.wg)(),(0,a.iD)("div",V,[(0,a._)("a",{href:`https://www.mintscan.io/cosmos/txs/${t.item.data.tx_hash}`,target:"_blank",rel:"noopener nofollow"},[(0,a._)("span",null,(0,i.zw)(e.$t("message.notification_explorer_link")),1),G],8,$)])):(0,a.kq)("",!0)])])),_:1})],64)):((0,a.wg)(),(0,a.j4)(A,{key:0}))],64)):((0,a.wg)(),(0,a.iD)("div",P,N))}}};const Z=J;var X=Z,Q=o.p+"img/logo.cdb53eb9.svg",ee=o.p+"img/bro_logo.9d9857b3.svg",te=o.p+"img/bro_score_logo.9e597a4d.svg",oe=o.p+"img/bro_stats_logo.509e23e1.svg";const se=e=>((0,a.dD)("data-v-e24fdca2"),e=e(),(0,a.Cn)(),e),ne=c+"#ic_notification",ae={key:0,class:"notifications"},re=se((()=>(0,a._)("div",{class:"icon"},[(0,a._)("svg",null,[(0,a._)("use",{"xlink:href":ne})])],-1)));var ie={__name:"Notifications",setup(e){const t=(0,l.s)();return(e,o)=>(0,r.SU)(t).tooltip?((0,a.wg)(),(0,a.iD)("section",ae,[(0,a._)("div",{class:(0,i.C_)(["data",{animate:(0,r.SU)(t).tooltipAnimate}])},[re,(0,a._)("span",null,(0,i.zw)((0,r.SU)(t).tooltip),1)],2)])):(0,a.kq)("",!0)}};const ce=(0,y.Z)(ie,[["__scopeId","data-v-e24fdca2"]]);var le=ce,ue={__name:"IPFS",setup(e){const t=(0,l.s)(),o=(0,a.f3)("emitter"),s=(0,a.f3)("i18n");function n(){t.IPFSNode?o.emit("setNotification",s.global.t("message.notice_ipfs_active")):o.emit("setNotification",s.global.t("message.notice_ipfs_not_active"))}return(e,o)=>((0,a.wg)(),(0,a.iD)("div",{class:(0,i.C_)(["ipfs_status",{green:(0,r.SU)(t).IPFSNode||(0,r.SU)(t).demo}]),onMouseover:n},[(0,a._)("div",null,(0,i.zw)(e.$t("message.ipfs")),1)],34))}};const de=(0,y.Z)(ue,[["__scopeId","data-v-0c91de1f"]]);var _e=de;const pe=e=>((0,a.dD)("data-v-28434968"),e=e(),(0,a.Cn)(),e),me=c+"#ic_arr_down",ge=pe((()=>(0,a._)("svg",null,[(0,a._)("use",{"xlink:href":me})],-1))),he={class:"dropdown"};var fe={__name:"Currency",setup(e){const t=(0,l.s)(),o=(0,a.f3)("emitter"),n=(0,r.iH)(!1),c=(0,r.iH)(null);function u(e){t.currentCurrency=e,n.value=!1}return(0,d.i9H)(c,(e=>n.value=!1)),(e,l)=>((0,a.wg)(),(0,a.iD)("div",{class:"currency",onMouseover:l[5]||(l[5]=t=>(0,r.SU)(o).emit("setNotification",e.$t("message.notice_currency"))),ref_key:"target",ref:c},[(0,a._)("button",{class:(0,i.C_)(["btn",{active:n.value}]),onClick:l[0]||(l[0]=(0,s.iM)((e=>n.value=!n.value),["prevent"]))},[(0,a._)("span",null,(0,i.zw)((0,r.SU)(t).currentCurrency),1),ge],2),(0,a.Wm)(s.uT,{name:"fadeUp",mode:"out-in"},{default:(0,a.w5)((()=>[(0,a.wy)((0,a._)("div",he,[(0,a._)("div",null,[(0,a._)("button",{class:(0,i.C_)(["btn",{active:"BTC"==(0,r.SU)(t).currentCurrency}]),onClick:l[1]||(l[1]=(0,s.iM)((e=>u("BTC")),["prevent"]))},"BTC",2)]),(0,a._)("div",null,[(0,a._)("button",{class:(0,i.C_)(["btn",{active:"ETH"==(0,r.SU)(t).currentCurrency}]),onClick:l[2]||(l[2]=(0,s.iM)((e=>u("ETH")),["prevent"]))},"ETH",2)]),(0,a._)("div",null,[(0,a._)("button",{class:(0,i.C_)(["btn",{active:"ATOM"==(0,r.SU)(t).currentCurrency}]),onClick:l[3]||(l[3]=(0,s.iM)((e=>u("ATOM")),["prevent"]))},"ATOM",2)]),(0,a._)("div",null,[(0,a._)("button",{class:(0,i.C_)(["btn",{active:"USDT"==(0,r.SU)(t).currentCurrency}]),onClick:l[4]||(l[4]=(0,s.iM)((e=>u("USDT")),["prevent"]))},"USDT",2)])],512),[[s.F8,n.value]])])),_:1})],544))}};const be=(0,y.Z)(fe,[["__scopeId","data-v-28434968"]]);var ve=be;const we=e=>((0,a.dD)("data-v-4c190ac0"),e=e(),(0,a.Cn)(),e),ye=c+"#ic_wallet",ke={class:"user"},xe=we((()=>(0,a._)("div",{class:"icon"},[(0,a._)("svg",null,[(0,a._)("use",{"xlink:href":ye})])],-1))),Ae={key:0},Te={key:1},De={key:0,src:"/demo_avatar.jpg",alt:""},Ce=["src"],Se=we((()=>(0,a._)("div",{class:"icon"},[(0,a._)("svg",null,[(0,a._)("use",{"xlink:href":ye})])],-1))),Pe={key:0},Oe={key:1},Ne=we((()=>(0,a._)("img",{src:"/demo_avatar.jpg",alt:""},null,-1))),Me={class:"account_link"},Ee=we((()=>(0,a._)("div",{class:"icon"},[(0,a._)("svg",null,[(0,a._)("use",{"xlink:href":ye})])],-1))),Fe={key:0},qe={key:1},Ue={key:0,src:"/demo_avatar.jpg",alt:""},Be=["src"];var je={__name:"User",setup(e){const t=(0,l.s)(),o=(0,a.f3)("emitter");return(e,s)=>{const n=(0,a.up)("router-link");return(0,a.wg)(),(0,a.iD)("div",ke,[(0,r.SU)(t).account.moonPassport?((0,a.wg)(),(0,a.iD)(a.HY,{key:0},[(0,r.SU)(t).demo?((0,a.wg)(),(0,a.iD)(a.HY,{key:1},[(0,a.Wm)(n,{to:"/account/cosmoshub?demo=true",class:"account_link"},{default:(0,a.w5)((()=>[Se,(0,a._)("div",{class:"name",onMouseover:s[2]||(s[2]=t=>(0,r.SU)(o).emit("setNotification",e.$t("message.notice_username")))},[(0,r.SU)(t).account.moonPassportOwner?((0,a.wg)(),(0,a.iD)("span",Pe,(0,i.zw)((0,r.SU)(t).account.moonPassportOwner.extension.nickname),1)):((0,a.wg)(),(0,a.iD)("span",Oe,(0,i.zw)((0,r.SU)(t).account.userName),1))],32)])),_:1}),(0,a.Wm)(n,{to:"/account/passport?demo=true",class:"photo",onMouseover:s[3]||(s[3]=t=>(0,r.SU)(o).emit("setNotification",e.$t("message.notice_avatar")))},{default:(0,a.w5)((()=>[Ne])),_:1})],64)):((0,a.wg)(),(0,a.iD)(a.HY,{key:0},[(0,a.Wm)(n,{to:"/account/cosmoshub",class:"account_link"},{default:(0,a.w5)((()=>[xe,(0,a._)("div",{class:"name",onMouseover:s[0]||(s[0]=t=>(0,r.SU)(o).emit("setNotification",e.$t("message.notice_username")))},[(0,r.SU)(t).account.moonPassportOwner?((0,a.wg)(),(0,a.iD)("span",Ae,(0,i.zw)((0,r.SU)(t).account.moonPassportOwner.extension.nickname),1)):((0,a.wg)(),(0,a.iD)("span",Te,(0,i.zw)((0,r.SU)(t).account.userName),1))],32)])),_:1}),(0,a.Wm)(n,{to:"/account/passport",class:"photo",onMouseover:s[1]||(s[1]=t=>(0,r.SU)(o).emit("setNotification",e.$t("message.notice_avatar")))},{default:(0,a.w5)((()=>[(0,r.SU)(t).account.avatar?((0,a.wg)(),(0,a.iD)(a.HY,{key:0},[(0,r.SU)(t).demo?((0,a.wg)(),(0,a.iD)("img",De)):((0,a.wg)(),(0,a.iD)("img",{key:1,src:(0,r.SU)(t).account.avatar,alt:""},null,8,Ce))],64)):(0,a.kq)("",!0)])),_:1})],64))],64)):((0,a.wg)(),(0,a.iD)(a.HY,{key:1},[(0,a._)("div",Me,[Ee,(0,a._)("div",{class:"name",onMouseover:s[4]||(s[4]=t=>(0,r.SU)(o).emit("setNotification",e.$t("message.notice_username")))},[(0,r.SU)(t).account.moonPassportOwner?((0,a.wg)(),(0,a.iD)("span",Fe,(0,i.zw)((0,r.SU)(t).account.moonPassportOwner.extension.nickname),1)):((0,a.wg)(),(0,a.iD)("span",qe,(0,i.zw)((0,r.SU)(t).account.userName),1))],32)]),(0,a._)("div",{class:"photo",onMouseover:s[5]||(s[5]=t=>(0,r.SU)(o).emit("setNotification",e.$t("message.notice_avatar")))},[(0,r.SU)(t).demo?((0,a.wg)(),(0,a.iD)("img",Ue)):((0,a.wg)(),(0,a.iD)("img",{key:1,src:(0,r.SU)(t).account.avatar,alt:""},null,8,Be))],32)],64))])}}};const Re=(0,y.Z)(je,[["__scopeId","data-v-4c190ac0"]]);var Ie=Re;const ze=e=>((0,a.dD)("data-v-7fc8a49b"),e=e(),(0,a.Cn)(),e),Ke=c+"#ic_arr_down",Le={class:"cont"},He={class:"info row"},We=ze((()=>(0,a._)("img",{src:Q,alt:""},null,-1))),Ye=ze((()=>(0,a._)("svg",{class:"arr"},[(0,a._)("use",{"xlink:href":Ke})],-1))),Ve=[We,Ye],$e={class:"mini_modal"},Ge=(0,a.uE)('
    ',3),Je=[Ge];var Ze={__name:"Header",setup(e){const t=(0,l.s)(),o=(0,u.yj)(),n=(0,r.iH)(!1),i=(0,r.iH)(null);return(0,a.bv)((()=>{const e=document.querySelector("header");e&&(e.stickyEvent=()=>setTimeout((()=>{window.scrollY>0?e.classList.add("stuck"):e.classList.remove("stuck")})),document.addEventListener("scroll",e.stickyEvent))})),(0,d.i9H)(i,(e=>n.value=!1)),(e,c)=>((0,a.wg)(),(0,a.iD)("header",null,[(0,a._)("div",Le,[(0,a._)("div",He,[(0,a._)("div",{class:"logo",ref_key:"target",ref:i},[(0,a._)("div",{class:"btn",onClick:c[0]||(c[0]=(0,s.iM)((e=>n.value=!n.value),["prevent"]))},Ve),(0,a.wy)((0,a._)("div",$e,Je,512),[[s.F8,n.value]])],512),"KeplrError"!=(0,r.SU)(o).name&&"KeplrReload"!=(0,r.SU)(o).name?((0,a.wg)(),(0,a.j4)(le,{key:0})):(0,a.kq)("",!0),"KeplrError"!=(0,r.SU)(o).name&&"KeplrReload"!=(0,r.SU)(o).name?((0,a.wg)(),(0,a.j4)(_e,{key:1})):(0,a.kq)("",!0),(0,r.SU)(t).isAuth?((0,a.wg)(),(0,a.j4)(ve,{key:2})):(0,a.kq)("",!0),(0,r.SU)(t).isAuth?((0,a.wg)(),(0,a.j4)(Ie,{key:3})):(0,a.kq)("",!0)])])]))}};const Xe=(0,y.Z)(Ze,[["__scopeId","data-v-7fc8a49b"]]);var Qe=Xe;const et=e=>((0,a.dD)("data-v-58ee27f5"),e=e(),(0,a.Cn)(),e),tt=c+"#ic_bug",ot=c+"#ic_close",st=c+"#ic_feedback",nt=c+"#ic_telegram",at=c+"#ic_link_arrow",rt=c+"#ic_github",it={class:"feedback"},ct=et((()=>(0,a._)("svg",{class:"icon"},[(0,a._)("use",{"xlink:href":tt})],-1))),lt=[ct],ut={class:"info"},dt=et((()=>(0,a._)("svg",null,[(0,a._)("use",{"xlink:href":ot})],-1))),_t=[dt],pt={class:"head"},mt=et((()=>(0,a._)("svg",{class:"icon"},[(0,a._)("use",{"xlink:href":st})],-1))),gt={class:"title"},ht={class:"desc"},ft={class:"links"},bt={href:"https://t.me/bro_n_bro_community",target:"_blank",rel:"noopener nofollow"},vt=et((()=>(0,a._)("svg",{class:"icon"},[(0,a._)("use",{"xlink:href":nt})],-1))),wt=et((()=>(0,a._)("svg",{class:"arrow"},[(0,a._)("use",{"xlink:href":at})],-1))),yt={href:"https://github.com/bro-n-bro/bro.app/issues/new",target:"_blank",rel:"noopener nofollow"},kt=et((()=>(0,a._)("svg",{class:"icon"},[(0,a._)("use",{"xlink:href":rt})],-1))),xt=et((()=>(0,a._)("svg",{class:"arrow"},[(0,a._)("use",{"xlink:href":at})],-1)));var At={__name:"Feedback",setup(e){const t=(0,r.iH)(!1);return(e,o)=>((0,a.wg)(),(0,a.iD)("section",it,[(0,a._)("button",{class:(0,i.C_)(["btn",{active:t.value}]),onClick:o[0]||(o[0]=(0,s.iM)((e=>t.value=!t.value),["prevent"]))},lt,2),(0,a._)("div",ut,[(0,a._)("button",{class:"close_btn",onClick:o[1]||(o[1]=(0,s.iM)((e=>t.value=!t.value),["prevent"]))},_t),(0,a._)("div",pt,[mt,(0,a._)("div",null,[(0,a._)("div",gt,(0,i.zw)(e.$t("message.feedback_title")),1),(0,a._)("div",ht,(0,i.zw)(e.$t("message.feedback_desc")),1)])]),(0,a._)("div",ft,[(0,a._)("div",null,[(0,a._)("a",bt,[vt,(0,a._)("span",null,(0,i.zw)(e.$t("message.feedback_telegram_link")),1),wt])]),(0,a._)("div",null,[(0,a._)("a",yt,[kt,(0,a._)("span",null,(0,i.zw)(e.$t("message.feedback_github_link")),1),xt])])])])]))}};const Tt=(0,y.Z)(At,[["__scopeId","data-v-58ee27f5"]]);var Dt=Tt,Ct={__name:"Error",setup(e){const t=(0,l.s)();return(e,o)=>{const s=(0,a.up)("RouterView");return(0,a.wg)(),(0,a.iD)(a.HY,null,[(0,a._)("div",{class:(0,i.C_)(["main",{tour_show:(0,r.SU)(t).tour}])},[(0,a.Wm)(Qe),(0,a.Wm)(s)],2),(0,a.Wm)(Dt)],64)}}};const St=Ct;var Pt=St;const Ot=e=>((0,a.dD)("data-v-1b624b55"),e=e(),(0,a.Cn)(),e),Nt=c+"#ic_notice2",Mt={class:"demo_notice"},Et=Ot((()=>(0,a._)("svg",{class:"icon"},[(0,a._)("use",{"xlink:href":Nt})],-1))),Ft=Ot((()=>(0,a._)("div",{class:"sep"},"—",-1)));var qt={__name:"DemoNotice",setup(e){const t=(0,a.f3)("emitter");return(e,o)=>((0,a.wg)(),(0,a.iD)("div",Mt,[Et,(0,a._)("span",null,(0,i.zw)(e.$t("message.demo_notice_text")),1),Ft,(0,a._)("button",{class:"btn",onClick:o[0]||(o[0]=(0,s.iM)((e=>(0,r.SU)(t).emit("initApp")),["prevent"]))},(0,i.zw)(e.$t("message.btn_connect_wallet")),1)]))}};const Ut=(0,y.Z)(qt,[["__scopeId","data-v-1b624b55"]]);var Bt=Ut;const jt=e=>((0,a.dD)("data-v-226ffc1c"),e=e(),(0,a.Cn)(),e),Rt=c+"#ic_feedback",It=jt((()=>(0,a._)("svg",{class:"icon"},[(0,a._)("use",{"xlink:href":Rt})],-1))),zt=[It];var Kt={__name:"TourButton",setup(e){const t=(0,l.s)();return(e,o)=>((0,a.wg)(),(0,a.iD)("button",{class:"get_tour_btn",onClick:o[0]||(o[0]=(0,s.iM)((e=>(0,r.SU)(t).tour=!0),["prevent"]))},zt))}};const Lt=(0,y.Z)(Kt,[["__scopeId","data-v-226ffc1c"]]);var Ht=Lt,Wt=o.p+"img/ic_and.878b1ea5.svg",Yt=o.p+"img/spacebox_logo.9e80ac47.svg";const Vt=e=>((0,a.dD)("data-v-919445e8"),e=e(),(0,a.Cn)(),e),$t=c+"#ic_social_github",Gt=c+"#ic_social_telegram",Jt=c+"#ic_social_twitter",Zt=c+"#ic_social_keybase",Xt=c+"#ic_social_cyb",Qt={class:"cont row"},eo={class:"text"},to=Vt((()=>(0,a._)("img",{src:Wt,alt:""},null,-1))),oo={href:"https://github.com/bro-n-bro/spacebox",target:"_blank",rel:"noopener nofollow",class:"powered"},so=Vt((()=>(0,a._)("img",{src:Yt,alt:""},null,-1))),no=Vt((()=>(0,a._)("div",{class:"socials"},[(0,a._)("a",{href:"https://github.com/bro-n-bro",target:"_blank",rel:"noopener nofollow"},[(0,a._)("svg",{class:"icon"},[(0,a._)("use",{"xlink:href":$t})])]),(0,a._)("a",{href:"https://t.me/bro_n_bro_community",target:"_blank",rel:"noopener nofollow"},[(0,a._)("svg",{class:"icon"},[(0,a._)("use",{"xlink:href":Gt})])]),(0,a._)("a",{href:"https://twitter.com/Bro_n_Bro",target:"_blank",rel:"noopener nofollow"},[(0,a._)("svg",{class:"icon"},[(0,a._)("use",{"xlink:href":Jt})])]),(0,a._)("a",{href:"https://keybase.io/bronbroio",target:"_blank",rel:"noopener nofollow"},[(0,a._)("svg",{class:"icon"},[(0,a._)("use",{"xlink:href":Zt})])]),(0,a._)("a",{href:"https://cyb.ai/network/bostrom/contract/bostrom1ndwqfv2skglrmsqu4wlneepthyrquf9r7sx6r0",target:"_blank",rel:"noopener nofollow"},[(0,a._)("svg",{class:"icon"},[(0,a._)("use",{"xlink:href":Xt})])])],-1)));function ao(e,t){return(0,a.wg)(),(0,a.iD)("footer",null,[(0,a._)("div",Qt,[(0,a._)("div",eo,[(0,a._)("span",null,(0,i.zw)(e.$t("message.footer_contact")),1),to,(0,a._)("span",null,(0,i.zw)(e.$t("message.footer_support")),1)]),(0,a._)("a",oo,[so,(0,a._)("span",null,(0,i.zw)(e.$t("message.footer_powered")),1)]),no])])}const ro={},io=(0,y.Z)(ro,[["render",ao],["__scopeId","data-v-919445e8"]]);var co=io,lo={__name:"Default",setup(e){const t=(0,l.s)();return(e,o)=>{const s=(0,a.up)("RouterView");return(0,a.wg)(),(0,a.iD)(a.HY,null,[(0,a._)("div",{class:(0,i.C_)(["main",{tour_show:(0,r.SU)(t).tour}])},[(0,a.Wm)(Qe),(0,r.SU)(t).demo?((0,a.wg)(),(0,a.j4)(Bt,{key:0})):(0,a.kq)("",!0),(0,a.Wm)(s)],2),(0,a.Wm)(co),(0,a.Wm)(Ht),(0,a.Wm)(Dt)],64)}}};const uo=lo;var _o=uo,po={__name:"MainPage",setup(e){const t=(0,l.s)();return(e,o)=>{const s=(0,a.up)("RouterView");return(0,a.wg)(),(0,a.iD)(a.HY,null,[(0,a._)("div",{class:(0,i.C_)(["main no_pad",{tour_show:(0,r.SU)(t).tour}])},[(0,a.Wm)(s)],2),(0,a.Wm)(Dt)],64)}}};const mo=po;var go=mo;const ho=[{path:"/:pathMatch(.*)",name:"Error",component:()=>o.e(955).then(o.bind(o,19955)),meta:{layout:Pt,accessDenied:[]}},{path:"/keplr_error",name:"KeplrError",component:()=>o.e(394).then(o.bind(o,34186)),meta:{layout:Pt,accessDenied:["with_keplr"]}},{path:"/keplr_reload",name:"KeplrReload",component:()=>o.e(6).then(o.bind(o,95418)),meta:{layout:Pt,accessDenied:["with_keplr"]}},{path:"/under_construction",name:"Under construction",component:()=>o.e(184).then(o.bind(o,69184)),meta:{layout:Pt,accessDenied:["without_keplr"]}},{path:"/",name:"MainPage",component:()=>o.e(838).then(o.bind(o,90838)),meta:{layout:go,accessDenied:[]}},{path:"/welcome",name:"Welcome",component:()=>o.e(895).then(o.bind(o,35235)),meta:{layout:go,accessDenied:["with_passport","with_global_passport"]}},{path:"/create_passport",name:"CreatePassport",component:()=>Promise.all([o.e(869),o.e(151)]).then(o.bind(o,24131)),meta:{layout:_o,accessDenied:["without_keplr","not_connected","with_passport"]}},{path:"/proposals/:network",name:"Proposals",component:()=>o.e(574).then(o.bind(o,16555)),meta:{layout:_o,accessDenied:["without_keplr","not_connected","without_passport"]}},{path:"/:network/proposal/:proposal_id",name:"Proposal",component:()=>Promise.all([o.e(866),o.e(365)]).then(o.bind(o,62365)),meta:{layout:_o,accessDenied:["without_keplr","not_connected","without_passport"]}},{path:"/account/:network",name:"Account",component:()=>Promise.all([o.e(866),o.e(572)]).then(o.bind(o,29075)),meta:{layout:_o,accessDenied:["without_keplr","not_connected","without_passport"]}},{path:"/account/passport",name:"Passport",component:()=>Promise.all([o.e(869),o.e(573)]).then(o.bind(o,78573)),meta:{layout:_o,accessDenied:["without_keplr","not_connected","without_passport"]}}],fo=(0,u.p7)({history:(0,u.PO)(),routes:ho}),bo=["/","/welcome","/keplr_error","/keplr_reload","/under_construction"];fo.beforeResolve((async(e,t,o)=>{let s=(0,l.s)();e.query.demo?s.demo=!0:s.demo=!1,e.query.ref&&(s.referer=e.query.ref),e.params.network&&(s.currentNetwork=e.params.network),e.params.proposal_id&&(s.currentProposalId=e.params.proposal_id),e.query.filter&&(s.proposalsFilter=e.query.filter),s.prices||await s.getCurrenciesPrice(),bo.includes(e.fullPath)||(s.isAuth?!s.account.demo&&s.demo?(s.reset(),s.initDemo()):s.account.moonPassport||s.isKeplrConnected||(s.reset(),await s.initApp()):s.demo?s.initDemo():await s.initApp()),e.matched.some((e=>{let t=e.meta.accessDenied;if(t.length&&!s.account.demo){if(t.includes("without_keplr")&&!window.keplr)return o({name:"KeplrError"}),!1;if(t.includes("with_keplr")&&window.keplr)return s.demo?o("/?demo=true"):o("/"),!1;if(t.includes("with_passport")&&s.account.moonPassport)return s.demo?o("/account/cosmoshub?demo=true"):o("/account/cosmoshub"),!1;if(t.includes("without_passport")&&!s.account.moonPassportOwner)return s.demo?o("/?demo=true"):o("/"),!1;if(t.includes("with_global_passport")&&s.account.moonPassportOwner&&!s.account.moonPassport)return s.demo?o("/account/cosmoshub?demo=true"):o("/account/cosmoshub"),!1;if(t.includes("not_connected")&&!s.isKeplrConnected)return s.demo?o("/?demo=true"):o("/"),!1}})),s.isAppFullLoaded||(s.isAppFullLoaded=!0),o()}));var vo=fo,wo=o(5658),yo={en:{message:{page_title:"Bro APP",error_title_404:"Page was lost in space....
    Are you sure that it exist?",keplr_error_title:"Oooops, it seems you don't have
    a Keplr extension",keplr_reload_title:"Please reload the page",main_page_title:"Advance Your Asset Management",main_page_demo_text:"For a brief set of instructions, please refer to the",main_page_demo_link:"Demo",passport_avatar_label:"Upload avatar",passport_avatar_file_size:"File up to 5 MB",passport_avatar_mimetype_size:"Only jpg, png",passport_constitution_link:"read constitution",passport_name_label:"Nickname",passport_citizenship_label:"Citizenship",passport_citizenship_text:"Moon
    citizen",passport_name_placeholder:"Choose name",passport_address_exp:"Address",passport_name_exp:'Limit 8-16 characters; only a-z, 0-9, "-"',passport_constitution_exp:"Creating a passport I confirm reading the Constitution",passport_error_nickname_title:"Nickname misspelled",proposals_empty_title:"The governor's desk is proposal-free, no action needed!",proposal_date_label_default:"Voting ended:",proposal_deposite_label_collected:"Collected funds:",proposal_deposite_label_necessary:"Necessary funds:",proposal_voting_label_yes:"Yes",proposal_voting_label_no:"No",proposal_voting_label_nwv:"NWV",proposal_voting_label_abstain:"Abstain",proposal_vote_yes:"Yes",proposal_vote_no:"No",proposal_vote_nwv:"No with veto",proposal_vote_abstain:"Abstain",proposal_vote_did_not_vote:"Didn't vote",proposal_proposer_label:"Proposer",proposal_tab1:"Proposal data",proposal_tab2:"Votes",proposal_desc_title:"Description",proposal_current_account_title:"Account:",proposal_current_vote_title:"Your current vote:",proposal_deposit_status_title:"Deposit status",proposal_details_title:"Proposal Details",proposal_vote_details_title:"Vote details",proposal_details_voting_label:"Voting End Time",proposal_details_deposit_label:"Deposit End Time",proposal_details_submit_label:"Submit Time",proposal_details_total_label:"Total Deposit",proposal_details_initial_label:"Initial Deposit",proposal_add_vote_exp:"You need to change your Keplr account",proposal_vote_info_final_status_label:"Final Status",proposal_vote_info_current_status_label:"Current Status",proposal_vote_info_status_passed:"Passed",proposal_vote_info_status_rejected:"Rejected",proposal_vote_info_status_passing:"Passing",proposal_vote_info_status_rejecting:"Rejecting",proposal_vote_info_turnout_label:"Turnout",proposal_vote_info_total_vote_label:"Total Vote",proposal_vote_info_minimum:"Minimum of staked {amount} {denom} (40%) need to vote for this proposal to pass",proposal_vote_yes_btn:"Yes",proposal_vote_no_btn:"No",proposal_vote_nwv_btn:"No with veto",proposal_vote_abstain_btn:"Abstain",proposal_vote_result_no_vote_label:"Not voted",proposal_vote_result_yes_label:"yes",proposal_vote_result_no_label:"no",proposal_vote_result_nwv_label:"nwv",proposal_vote_result_abstain_label:"abstain",proposal_vote_result_votes_label:"votes",proposal_feature_height_label:"Height",proposal_feature_info_label:"Info",proposal_feature_name_label:"Name",proposal_feature_time_label:"Time",proposal_feature_changes_key_label:"Key",proposal_feature_changes_subspace_label:"Subspace",proposal_feature_changes_value_label:"Value",proposal_votes_filter_all:"All",proposal_votes_filter_yes:"Yes",proposal_votes_filter_no:"No",proposal_votes_filter_nwv:"No with veto",proposal_votes_filter_abstain:"Abstain",proposal_votes_filter_null:"Did not vote",proposal_votes_filter_weighted:"Weighted",proposal_votes_th_validator:"Validator",proposal_votes_th_validator_vote:"Validator Vote",proposal_votes_th_most_voted:"Most voted on",proposal_votes_th_community_votes:"Community Votes",proposal_votes_th_percents:"Participation
    Rate",proposal_votes_community_votes_tooltip:"The ratio of specific votes to the total votes cast",proposal_votes_percents_tooltip:"Percentage of voters relative to the total number of delegators.",proposal_votes_validator_no_active:"no active",proposal_votes_validator_sticker:"Your Validator",proposal_depositors_title:"Depositors",proposal_depositors_th_depositor:"Depositor",proposal_depositors_th_tx_hash:"TxHash",proposal_depositors_th_amount:"Amount",proposal_depositors_th_time:"Time",account_networks_title:"Networks",account_abilities_title:"Abilities",account_validators_title:"Validators",account_proposals_title:"Governance",account_connected_addresses_title:"My Portfolio",account_connected_addresses_all:"View all",account_charts_tab_stake:"Stake",account_charts_tab_liquide:"Liquid",account_charts_tab_assets:"Assets",account_charts_tab_networks:"Networks",account_charts_tab_accounts:"Accounts",account_chart_stake_block_title:"Stake Management",account_chart_stake_desc:"contain staked, liquid and unbonding tokens",account_chart_liquide_block_title:"Liquid Management",account_chart_liquide_desc:"contain liquid, rewards and IBC tokens",account_chart_networks_block_title:"Network Management",account_chart_networks_desc:"represent all networks in portfolio",account_chart_assets_block_title:"Asset Management",account_chart_assets_desc:"represent all tokens in portfolio",account_chart_accounts_block_title:"Account Management",account_chart_accounts_desc:"contain your linked accounts",account_charts_staked_label:"Staked",account_charts_outside_label:"Outside",account_charts_liquid_tokens_label:"Liquid",account_charts_unbonding_label:"Unbondend",account_charts_ibc_label:"IBC Tokens",account_charts_rewards_label:"Rewards",account_charts_on_chain:"On",account_charts_total_assets:"Total Assets",account_validators_col_account_name:"Account name",account_validators_col_network:"Network",account_validators_col_validator:"Validator",account_validators_col_account_percent:"Account %",account_validators_col_passport_percent:"Passport %",account_validators_empty_text:"You have no active validators",account_proposals_col_network:"Network",account_proposals_col_name:"Proposal name",account_proposals_col_type:"Type",account_proposals_col_status:"Status",account_proposals_status_all:"All proposals",account_proposals_status_deposite:"Deposit period",account_proposals_status_voting:"Voting period",account_proposals_status_passed:"Passed",account_proposals_status_rejected:"Rejected",account_proposals_suspicious_tooltip:"Suspicious",account_RPDE:"Daily profit",account_APR:"Personal APR",account_rewards:"Rewards",account_passport_value:"Passport Value",account_copy_tooltip:"Address copied",account_duplicate_ext:"Duplicated address",account_not_supported_ext:"Not supported",filter_title:"Filter",demo_notice_text:"Finish Demo session",footer_contact:"Contact",footer_support:"Support",footer_powered:"Powered by the Spacebox Index",feedback_title:"Report a bug here",feedback_desc:"Share it with us",feedback_telegram_link:"Telegram",feedback_github_link:"Github",under_construction_title:"This part of site is under construction",mobile_plug_title:"Oops!",mobile_plug_desc:"Bro App not yet supported on mobile devices. Please use a desktop or laptop. We're working on it! Thank you for your patience.",notice_default_main_page:"Welcome to the best Cosmos managing tool.",notice_default_create_passport:"To create your passport, please ensure that you upload the information correctly. Then you will be asked to sign the transaction.",notice_default_create_passport_success:"Congrats! You have successfully created a Passport. You can now continue the journey and explore the app in BETA 2.0.",notice_default_constitution_modal:"By clicking 'Agree & Sign' you confirm that you have read the Constitution in full and wish to create a passport. After clicking 'Agree & Sign' you will be asked to sign the transaction.",notice_default_account_passport:"That’s your recently created passport. You can now change the image or download the passport.",notice_default_proposals_page:"All proposals including proposals in Deposit period can be found on this page.",notice_default_account_page:"Welcome to our portfolio management tool. Take control of your investments and optimize your portfolio for maximum returns.",notice_default_proposal_page:"Detailed overview for the selected proposal.",notice_demo_default_account_page:"Provides valuable information regarding your interactions inside the app.",notice_ipfs_active:"The IPFS node is built in right in your browser. It helps store and resolves the content from the distributed storage. NFTs, moon passports, ENS, with contents address, can be resolved right here. It is green because the IPFS node is active and resolves the content.",notice_ipfs_not_active:"The IPFS node is built in right in your browser. It helps store and resolves the content from the distributed storage. NFTs, moon passports, ENS, with contents address, can be resolved right here. It is red because the IPFS node is inactive and not resolves the content.",notice_currency:"The currency for the account valuation",notice_username:"Chosen keplr account",notice_avatar:"Your Moon passport avatar",notice_delete_address:"To Delete linked account please press on “delete icon” for selected address and then confirm your actions.",notice_edit_address:"To Edit linked account please press on “edit icon” for selected address and then confirm your actions.",notice_copy_address:"To Copy linked account please press on “copy icon” for selected address.",notice_account_charts_tab_stake:"The Stake Management tab shows how many staked, liquid, and unbonding tokens you have in your account, providing a comprehensive view of your current staking activity.",notice_account_charts_tab_liquide:"The Liquid Management tab shows all of your liquid tokens for the selected networks, on both Outside and IBC channels, providing a detailed overview of your current holdings.",notice_account_charts_tab_assets:"The Asset Management tab represents all networks and offers a complete view of your entire portfolio",notice_account_charts_tab4:"The Network Management tab represents the value of all tokens in your portfolio and provides a complete overview on network level. ",notice_account_charts_tab_accounts:"The Account Management tab provides a detailed breakdown of all your linked accounts, offering a complete overview for each.",notice_add_address_step1:"Please select a new address in Keplr to be able to link it to the portfolio.",notice_add_address_step2:"Select the right address that you want to add to the portfolio.",notice_add_address_step2_error:"The address you have selected already linked to your portfolio, please switch to another account.",notice_add_address_step3:"To approve selected address and confirm the change you need to sign a transaction.",notice_add_address_step4:"To complete the process, you need to switch to your passport account in Keplr.",notice_add_address_step5:"To finish the process and finalize adding a new account please sign a broadcast transaction.",notice_add_address_success:"You have successfully added new wallet address to your portfolio.",ipfs:"IPFS node",constitution_modal_title:"Constitution",deposit_modal_title:"Deposit",deposit_modal_sender_label:"Sender",deposit_modal_amount_label:"Amount available",add_address_modal_title:"Add new account",add_address_modal_error_desc:"To add a new address — select a different Keplr account",add_address_modal_error_desc2:"This wallet is already added to portfolio",add_address_modal_error_desc3:"This wallet has its own unique passport",add_address_modal_step1_name:"Choose Address",add_address_modal_step2_name:"Approve Address",add_address_modal_step3_name:"Switch Account",add_address_modal_step4_name:"Accounts Linked",add_address_modal_step1_title:"Select the address",add_address_modal_step2_title:"To approve the address you need to sign the transaction.",add_address_modal_step3_title:"Switch to passport account in Keplr",add_address_modal_step4_title:"Almost there...",add_address_modal_step5_title:"Bravo! Congrats!",add_address_added_label:"Added",add_address_duplicated_label:"Duplicated",validator_modal_title:"Validator details",validator_modal_website_btn:"Website",validator_modal_mintscan_btn:"Mintscan",validator_modal_broscore_btn:"Bro Score",validator_modal_active_set:"Active",validator_modal_inactive_set:"Inactive",validator_modal_operator_address_label:"Operator Address",validator_modal_details_label:"Details",validator_modal_commission_label:"Commission",validator_modal_ownership_label:"Self Bonded/
    Ownership",validator_modal_total_delegated_label:"Total delegated amount",validator_modal_voted_label:"Props voted",validator_modal_col_commission_notice:"The percentage of validator's commision.",validator_modal_col_self_bonded_ownership_notice:"The number of tokens delegated to yourself. The ratio of the number of tokens delegated to yourself to the total number of delegations.",validator_modal_col_voted_notice:"This criterion is about the number of votes ({voted}) for the last 5 ended proposals.",validator_modal_col_total_delegated_notice:"Total amount of tokens delegated to the validator",notification_progress_title:"Transaction is in progress",notification_successful_title:"Transaction successful",notification_failed_title:"Transaction failed",notification_explorer_link:"Explorer",notification_error_file_size_title:"Error",notification_error_file_size_text:"Selected image is too large. Please select new < {size}",notification_error_nickName_title:"Nickname error",notification_error_nickName_desc:"There is already a passport for this name, come up with a new one",notification_passport_signature:"Constitution successfully signed",notification_passport_activation_process:"Account activation...",notification_passport_activation_success:"Account successfully activated",notification_passport_activation_error:"Account activation error",notification_passport_activation_error_desc:"Try again",notification_passport_wait_ipfs:"Please, wait while local IPFS node is starting.",notification_action_create_passport:"Create passport",notification_passport_create_process:"Passport creation...",notification_success_create_passport_title:"Passport created successfully",notification_error_create_passport_title:"Passport issue error",notification_action_update_passport:"Update passport",notification_action_delete_passport:"Delete passport",notification_passport_update_process:"Passport updating...",notification_passport_delete_process:"Passport deleting...",notification_success_update_passport_title:"Passport updated successfully",notification_success_delete_passport_title:"Passport delete successfully",notification_error_update_passport_title:"Passport issue error",notification_action_address_delete:"Address delete",notification_address_deleting_process:"Address deleting...",notification_success_address_delete_title:"Address deleted successfully",notification_action_address_add:"Address add",notification_address_adding_process:"Processing...",notification_success_address_added_title:"Address added successfully",notification_action_address_rename:"Address rename",notification_address_renaming_process:"Address renaming...",notification_success_address_rename_title:"Address renamed successfully",notification_action_proposal_vote:"Proposal vote",notification_proposal_vote_process:"Proposal voiting...",notification_proposal_deposit_process:"Proposal depositing...",notification_success_proposal_deposit_title:"Proposal deposit successful",notification_action_proposal_deposit:"Proposal deposit",notification_tx_error_2:"tx parse error",notification_tx_error_3:"invalid sequence",notification_tx_error_4:"unauthorized",notification_tx_error_5:"insufficient funds",notification_tx_error_6:"unknown request",notification_tx_error_7:"invalid address",notification_tx_error_8:"invalid pubkey",notification_tx_error_9:"unknown address",notification_tx_error_10:"invalid coins",notification_tx_error_11:"Broadcasting transaction failed: out of gas try again and increase gas amount",notification_tx_error_12:"memo too large",notification_tx_error_13:"insufficient fee",notification_tx_error_14:"maximum number of signatures exceeded",notification_tx_error_15:"no signatures supplied",notification_tx_error_16:"failed to marshal JSON bytes",notification_tx_error_17:"failed to unmarshal JSON bytes",notification_tx_error_18:"invalid request",notification_tx_error_19:"tx already in mempool",notification_tx_error_20:"mempool is full",notification_tx_error_21:"tx too large",notification_tx_error_22:"key not found",notification_tx_error_23:"invalid account password",notification_tx_error_24:"tx intended signer does not match the given signer",notification_tx_error_25:"invalid gas adjustment",notification_tx_error_26:"invalid height",notification_tx_error_27:"invalid version",notification_tx_error_28:"invalid chain-id",notification_tx_error_29:"invalid type",notification_tx_error_30:"tx timeout height",notification_tx_error_31:"unknown extension options",notification_tx_error_32:"incorrect account sequence",notification_tx_error_33:"failed packing protobuf message to Any",notification_tx_error_34:"failed unpacking protobuf message from Any",notification_tx_error_35:"internal logic error",notification_tx_error_36:"conflict",notification_tx_error_37:"feature not supported",notification_tx_error_38:"not found",notification_tx_error_39:"Internal IO error",notification_tx_error_40:"error in app.toml",notification_tx_error_41:"invalid gas limit",notification_tx_error_rejected:"The transaction has been rejected",tour_header_title_step0:"Tooltip",tour_header_title_step1:"Portfolio Currency",tour_header_title_step2:"Your Digital Identity",tour_account_page_title_step1:"Networks",tour_account_page_title_step2:"Bundled Wallets",tour_account_page_title_step3:"Assets Management",tour_account_page_title_step4:"Portfolio Insights",tour_account_page_title_step5:"Validators",tour_account_page_title_step6:"Governance",tour_header_desc_step0:"Provides valuable information regarding your interactions inside the app",tour_header_desc_step1:"Allows you to conveniently change between different currencies and view portfolio evaluations within the app",tour_header_desc_step2:"Allows you to authenticate yourself, securely interact with others, and engage in transactions with confidence",tour_account_page_desc_step1:"Enables you to view info and seamlessly switch between different blockchain networks",tour_account_page_desc_step2:"Allows you to consolidate and manage multiple wallets in one place; it may include duplicates",tour_account_page_desc_step3:"Provides detailed view of all your digital assets on different levels",tour_account_page_desc_step4:"Offers an overview of key performance indicators and average numbers for your portfolio",tour_account_page_desc_step5:"Displays the number of validators you stake with on one or more networks",tour_account_page_desc_step6:"Lets you navigate through proposals, view their descriptions, vote and see votes breakdown",btn_back_home:"Back to home",btn_reload:"Reload",btn_connect_wallet:"Connect Keplr wallet",btn_reject:"Reject",btn_confirm:"Confirm",btn_agree_sign:"Agree & Sign",btn_keplr_install:"Install Keplr",btn_add_address:"Add address",btn_use_new_passport:"Use new passport",btn_next:"Next",btn_back:"Back",btn_sign:"Sign",btn_sing_broadcast:"Sign and Broadcast",btn_done:"Done",btn_see_more:"See more",btn_no:"No",btn_yes:"Yes",btn_download_png:"Dowloand png",btn_continue:"Continue journey",btn_update:"Update",btn_change_image:"Change image",btn_settings:"Setting",btn_create_passport:"Create passport",btn_refresh:"Refresh",btn_deposit:"Deposit",btn_send:"Send"}}};const ko=(0,wo.o)({locale:"en",fallbackLocale:"en",messages:yo});var xo=ko,Ao=o(21037),To=o(24384),Do=o(1373);const Co=(0,s.ri)(X),So=(0,n.WB)(),Po=(0,Do.Z)();Co.use(So),Co.use(vo),Co.use(xo),Co.use(Ao.ZP),Co.provide("i18n",xo),Co.provide("emitter",Po),Co.config.globalProperties.$filters={toFixed(e,t){let o;return o=0!=e?e.toFixed(t):e,o}},Co.component(To.Z.name,To.Z),Co.mount("#app")},34776:function(e,t,o){"use strict";o.d(t,{s:function(){return M}});o(57658);var s=o(61020),n=o(90466),a=o(77307),r=o(20657),i=o(42325);const c={userName:null,tempUserName:(0,n._aR)("tempUserName"),avatar:null,signature:null,demo:!1,moonPassport:null,moonPassportOwnerAddress:(0,n._aR)("moonPassportOwnerAddress"),moonPassportOwner:null,currentWallet:(0,n._aR)("currentWallet"),wallets:[],info:{RPDE:0},total:{liquid:0,staked:0,unbonding:0,rewards:0,outside:0,ibc:0},totalTokensPrice:0};var l=c;const u={name:"Cosmos Hub",lcd_api:"https://lcd.cosmoshub-4.bronbro.io",rpc_api:"https://rpc.cosmoshub-4.bronbro.io",index_api:"https://rpc.bronbro.io",denom:"uatom",token_name:"ATOM",chainId:"cosmoshub-4",mintscanAlias:"cosmos",prefix:"cosmos",address_prefix:"cosmos",exponent:6,proposal_need:250};var d=u;const _={name:"Bostrom",lcd_api:"https://lcd.bostrom.bronbro.io",rpc_api:"https://rpc.bostrom.bronbro.io",index_api:"https://rpc.index.bostrom.bronbro.io",denom:"boot",token_name:"BOOT",chainId:"bostrom",prefix:"bostrom",mintscanAlias:null,address_prefix:"bostrom",exponent:0,proposal_need:42e10};var p=_;const m={name:"Crescent hub",lcd_api:"https://lcd.crescent-1.bronbro.io",rpc_api:"https://rpc.crescent-1.bronbro.io",denom:"ucre",token_name:"CRE",chainId:"crescent-1",mintscanAlias:"crescent",prefix:"crescent",address_prefix:"cre",exponent:6,proposal_need:250};var g=m;const h={name:"G-Bridge",lcd_api:"https://lcd.gravity-bridge-3.bronbro.io",rpc_api:"https://rpc.gravity-bridge-3.bronbro.io",denom:"ugraviton",token_name:"GRAV",chainId:"gravity-bridge-3",mintscanAlias:"gravity-bridge",prefix:"gravity",address_prefix:"gravity",exponent:6,proposal_need:250};var f=h;const b={name:"Juno",lcd_api:"https://lcd.juno-1.bronbro.io",rpc_api:"https://rpc.juno-1.bronbro.io",denom:"ujuno",token_name:"JUNO",chainId:"juno-1",mintscanAlias:"juno",prefix:"juno",address_prefix:"juno",exponent:6,proposal_need:250};var v=b;const w={name:"OmniFlix Network",lcd_api:"https://lcd.omniflixhub-1.bronbro.io",rpc_api:"https://rpc.omniflixhub-1.bronbro.io",denom:"uflix",token_name:"FLIX",chainId:"omniflixhub-1",mintscanAlias:"omniflix",prefix:"omniflix",address_prefix:"omniflix",exponent:6,proposal_need:250};var y=w;const k={name:"Osmosis",lcd_api:"https://lcd.osmosis-1.bronbro.io",rpc_api:"https://rpc.osmosis-1.bronbro.io",denom:"uosmo",token_name:"OSMO",chainId:"osmosis-1",mintscanAlias:"osmosis",prefix:"osmosis",address_prefix:"osmo",exponent:6,proposal_need:250};var x=k;const A={name:"Stargaze",lcd_api:"https://lcd.stargaze-1.bronbro.io",rpc_api:"https://rpc.stargaze-1.bronbro.io",denom:"ustars",token_name:"STARS",chainId:"stargaze-1",mintscanAlias:"stargaze",prefix:"stargaze",address_prefix:"stars",exponent:6,proposal_need:250};var T=A;const D={name:"Stride",lcd_api:"https://lcd.stride-1.bronbro.io",rpc_api:"https://rpc.stride-1.bronbro.io",denom:"ustrd",token_name:"STRD",chainId:"stride-1",mintscanAlias:"stride",prefix:"stride",address_prefix:"stride",exponent:6,proposal_need:250};var C=D,S=JSON.parse('{"userName":"Demo name","tempUserName":"","avatar":null,"signature":null,"demo":true,"moonPassport":{"owner":"bostrom1smtqmvpaa8tp7ykeafm3h39grla54mawkqjk0n","approvals":[],"token_uri":null,"extension":{"addresses":[{"label":"Stride","address":"stride17ld6vnfumezwtw36pt37l0xyuknzxghajxevaw"},{"label":"Airdrops","address":"osmo1qj56cf2k8pwtd0yp50r85frsl4yvwew04qm7nw"},{"label":"Main","address":"juno1rkhrfuq7k2k68k0hctrmv8efyxul6tgn8hny6y"},{"label":"Flix","address":"omniflix15p6m8taywua86afxqwu25fx9wu3mpx0dqp0kpa"},{"label":"Pools","address":"cosmos1qj56cf2k8pwtd0yp50r85frsl4yvwew0amgw9u"},{"label":null,"address":"0x12fd21763b661d55b322a07b6ab251fd62c6d9a0"}],"avatar":"QmeNYiTMBrMzvuyL26NUuothAestC6dEwGVn5VrpbqS2nw","nickname":"Demo Bro","data":null,"particle":null}},"moonPassportOwnerAddress":"bostrom1smtqmvpaa8tp7ykeafm3h39grla54mawkqjk0n","moonPassportOwner":{"owner":"bostrom1smtqmvpaa8tp7ykeafm3h39grla54mawkqjk0n","approvals":[],"token_uri":null,"extension":{"addresses":[{"label":"Stride","address":"stride17ld6vnfumezwtw36pt37l0xyuknzxghajxevaw"},{"label":"Airdrops","address":"osmo1qj56cf2k8pwtd0yp50r85frsl4yvwew04qm7nw"},{"label":"Main","address":"juno1rkhrfuq7k2k68k0hctrmv8efyxul6tgn8hny6y"},{"label":"Flix","address":"omniflix15p6m8taywua86afxqwu25fx9wu3mpx0dqp0kpa"},{"label":"Pools","address":"cosmos1qj56cf2k8pwtd0yp50r85frsl4yvwew0amgw9u"},{"label":null,"address":"0x12fd21763b661d55b322a07b6ab251fd62c6d9a0"}],"avatar":"QmeNYiTMBrMzvuyL26NUuothAestC6dEwGVn5VrpbqS2nw","nickname":"Demo Bro","data":null,"particle":null}},"currentWallet":"bostrom1smtqmvpaa8tp7ykeafm3h39grla54mawkqjk0n","wallets":[{"address":"bostrom1smtqmvpaa8tp7ykeafm3h39grla54mawkqjk0n","nickname":"Demo Bro","info":{},"totalTokensPrice":0,"networks":[{"name":"cosmoshub","color":"#2E314B","total":{"liquid":0,"staked":0,"unbonding":0,"rewards":0,"outside":0,"ibc":0,"liquid_rewards":0},"totalTokensPrice":0,"balance":{"liquid":{"native":[{"amount":32300000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"ibc":[{"amount":10000000000,"denom":"boot","exponent":0,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/bostrom/images/boot.svg","symbol":"BOOT","amountCurrentDenom":0},{"amount":1128000000,"denom":"ujuno","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/images/juno.svg","symbol":"JUNO","amountCurrentDenom":0}]},"staked":[{"amount":935380000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"unbonding":[{"amount":50000000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"rewards":[{"amount":1070.999334414421,"denom":"untrn","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/neutron/images/ntrn.svg","symbol":"NTRN","amountCurrentDenom":0},{"amount":9.55988110093,"denom":"stuatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/stride/images/statom.svg","symbol":"stATOM","amountCurrentDenom":0},{"amount":0.01141964818,"denom":"uumee","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/umee/images/umee.svg","symbol":"UMEE","amountCurrentDenom":0},{"amount":9495985.36079159,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM","amountCurrentDenom":0}]},"groupByDenom":[]},{"name":"bostrom","color":"#25FF25","total":{"liquid":0,"staked":0,"unbonding":0,"rewards":0,"outside":0,"ibc":0,"liquid_rewards":0},"totalTokensPrice":0,"balance":{"liquid":{"native":[{"amount":10000000000,"denom":"boot","exponent":0,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/bostrom/images/boot.svg","symbol":"BOOT"}]},"staked":[],"unbonding":[],"rewards":[]},"groupByDenom":[]}]},{"address":"bostrom17ld6vnfumezwtw36pt37l0xyuknzxghaj7drh9","nickname":"Stride","info":{},"totalTokensPrice":0,"networks":[{"name":"cosmoshub","color":"#2E314B","total":{"liquid":0,"staked":0,"unbonding":0,"rewards":0,"outside":0,"ibc":0,"liquid_rewards":0},"totalTokensPrice":0,"balance":{"liquid":{"native":[{"amount":3230000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"ibc":[{"amount":1000000000,"denom":"boot","exponent":0,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/bostrom/images/boot.svg","symbol":"BOOT","amountCurrentDenom":0},{"amount":112800000,"denom":"ujuno","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/images/juno.svg","symbol":"JUNO","amountCurrentDenom":0}]},"staked":[{"amount":93538000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"unbonding":[{"amount":5000000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"rewards":[{"amount":107.99933441442,"denom":"untrn","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/neutron/images/ntrn.svg","symbol":"NTRN","amountCurrentDenom":0},{"amount":0.955988110093,"denom":"stuatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/stride/images/statom.svg","symbol":"stATOM","amountCurrentDenom":0},{"amount":0.01141964818,"denom":"uumee","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/umee/images/umee.svg","symbol":"UMEE","amountCurrentDenom":0},{"amount":949598.36079159,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM","amountCurrentDenom":0}]},"groupByDenom":[]}]},{"address":"bostrom1qj56cf2k8pwtd0yp50r85frsl4yvwew07guamm","nickname":"Airdrops","info":{},"totalTokensPrice":0,"networks":[{"name":"cosmoshub","color":"#2E314B","total":{"liquid":0,"staked":0,"unbonding":0,"rewards":0,"outside":0,"ibc":0,"liquid_rewards":0},"totalTokensPrice":0,"balance":{"liquid":{"native":[{"amount":323000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"ibc":[{"amount":100000000,"denom":"boot","exponent":0,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/bostrom/images/boot.svg","symbol":"BOOT","amountCurrentDenom":0},{"amount":11280000,"denom":"ujuno","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/images/juno.svg","symbol":"JUNO","amountCurrentDenom":0}]},"staked":[{"amount":9353800,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"unbonding":[{"amount":500000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"rewards":[{"amount":10.9993344144209,"denom":"untrn","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/neutron/images/ntrn.svg","symbol":"NTRN","amountCurrentDenom":0},{"amount":0.0955988110093,"denom":"stuatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/stride/images/statom.svg","symbol":"stATOM","amountCurrentDenom":0},{"amount":0.0001141964818,"denom":"uumee","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/umee/images/umee.svg","symbol":"UMEE","amountCurrentDenom":0},{"amount":94959.36079159,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM","amountCurrentDenom":0}]},"groupByDenom":[]}]},{"address":"bostrom1rkhrfuq7k2k68k0hctrmv8efyxul6tgnjkyvrl","nickname":"Main","info":{},"totalTokensPrice":0,"networks":[{"name":"cosmoshub","color":"#2E314B","total":{"liquid":0,"staked":0,"unbonding":0,"rewards":0,"outside":0,"ibc":0,"liquid_rewards":0},"totalTokensPrice":0,"balance":{"liquid":{"native":[{"amount":3230000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"ibc":[{"amount":1000000000,"denom":"boot","exponent":0,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/bostrom/images/boot.svg","symbol":"BOOT","amountCurrentDenom":0},{"amount":112800000,"denom":"ujuno","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/images/juno.svg","symbol":"JUNO","amountCurrentDenom":0}]},"staked":[{"amount":93538000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"unbonding":[{"amount":5000000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"rewards":[{"amount":107.99933441442,"denom":"untrn","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/neutron/images/ntrn.svg","symbol":"NTRN","amountCurrentDenom":0},{"amount":0.955988110093,"denom":"stuatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/stride/images/statom.svg","symbol":"stATOM","amountCurrentDenom":0},{"amount":0.01141964818,"denom":"uumee","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/umee/images/umee.svg","symbol":"UMEE","amountCurrentDenom":0},{"amount":949598.36079159,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM","amountCurrentDenom":0}]},"groupByDenom":[]}]},{"address":"bostrom15p6m8taywua86afxqwu25fx9wu3mpx0d7v2ugy","nickname":"Flix","info":{},"totalTokensPrice":0,"networks":[{"name":"cosmoshub","color":"#2E314B","total":{"liquid":0,"staked":0,"unbonding":0,"rewards":0,"outside":0,"ibc":0,"liquid_rewards":0},"totalTokensPrice":0,"balance":{"liquid":{"native":[{"amount":323000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"ibc":[{"amount":100000000,"denom":"boot","exponent":0,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/bostrom/images/boot.svg","symbol":"BOOT","amountCurrentDenom":0},{"amount":11280000,"denom":"ujuno","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/images/juno.svg","symbol":"JUNO","amountCurrentDenom":0}]},"staked":[{"amount":9353800,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"unbonding":[{"amount":500000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"rewards":[{"amount":10.9993344144209,"denom":"untrn","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/neutron/images/ntrn.svg","symbol":"NTRN","amountCurrentDenom":0},{"amount":0.0955988110093,"denom":"stuatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/stride/images/statom.svg","symbol":"stATOM","amountCurrentDenom":0},{"amount":0.0001141964818,"denom":"uumee","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/umee/images/umee.svg","symbol":"UMEE","amountCurrentDenom":0},{"amount":94959.36079159,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM","amountCurrentDenom":0}]},"groupByDenom":[]}]}],"info":{},"totalTokensPrice":0}'),P=JSON.parse('{"offlineSinger":{"chainId":"cosmoshub-4","keplr":{"version":"0.12.15","mode":"extension","eventListener":{},"enigmaUtils":{"Map(0)":{}},"defaultOptions":{}}},"account":{"address":"cosmos1smtqmvpaa8tp7ykeafm3h39grla54maw4nx935","algo":"","pubkey":""},"key":{"name":"Demo name","algo":"","pubKey":"","address":"","bech32Address":"cosmos1smtqmvpaa8tp7ykeafm3h39grla54maw4nx935","isNanoLedger":false,"isKeystone":false}}'),O=o(15941);const N={cosmoshub:d,bostrom:p,crescent:g,gravity:f,juno:v,omniflix:y,osmosis:x,stargaze:T,stride:C},M=(0,s.Q_)("global",{state:()=>({CONTRACT_ADDRESS_PASSPORT:"bostrom1xut80d09q0tgtch8p0z4k5f88d3uvt8cvtzm5h3tu3tsy4jk9xlsfzhxel",CONSTITUTION_HASH:"QmcHB9GKHAKCLQhmSj71qNJhENJJg8Gymd1PvvsCQBhG7M",isAppFullLoaded:!1,isKeplrConnected:!1,isAuth:!1,referer:null,demo:!1,tour:(0,n._aR)("tour",!0),currentNetwork:"cosmoshub",currentProposalId:null,currentDeleteAddress:null,currentCurrency:(0,n._aR)("currency","USDT"),proposalsFilter:null,tooltip:null,tooltipAnimate:!1,IPFSNode:null,Keplr:{},account:l,networks:N,showConstitutionModal:!1,showAddAddressModal:!1,showDeleteAddressModal:!1,prices:null,lastTXS:null,validatorInfo:{operator_address:null},needReload:!1,formatableTokens:[{tokenName:"BTC",formatTokenName:"WBTC"},{tokenName:"BOOT",formatTokenName:"MBOOT",exponent:6},{tokenName:"HYDROGEN",formatTokenName:"MHYDROGEN",exponent:6}],networkColors:{BOOT:"#25FF25",EVMOS:"#ED4E33",STARS:"#E94A9D",STRD:"#E94A9D",JUNO:"#F0827D",CRE:"#FFB04A",GRAV:"#0036C1",OSMO:"#7900E1",NGM:"#00646F",ATOM:"#2E314B",DSM:"#F98256",DYM:"#F0E0D3",FLIX:"#F19E22",AKT:"#ED3324",MNTL:"#F5B31D",AXL:"#459CEF",BAND:"#4022DD",BCNA:"#52B489",BTSG:"#EA335F",CANTO:"#74F8A2",HUAHUA:"#E5AB55",CMDX:"#FE4350",CORE:"#25D695",CRO:"#0F2C70",CUDOS:"#950FFF",FET:"#2D4BA9",INJ:"#363FEC",IRIS:"#6627BB",IXO:"#00D2FF",KAVA:"#FF232F",XKI:"#0000F5",DARC:"#4D7ABD",KUJI:"#E53935",KYVE:"#76C4B2",LIKE:"#B9EFE7",LUM:"#3374E5",MARS:"#AC061A",MED:"#3A71E2",NOBLE:"#9CB0FF",NYX:"#E57937",NOM:"#353340",PASG:"#DF5936",XPRT:"#D22F26",HASH:"#437BDA",QSR:"#7C2ED4",QCK:"#BF5822",REGEN:"#9CCAAF",ATOLO:"#56BBF8",SCRT:"#6594D6",DVPN:"#315DF6",CTK:"#D9AC5C",ROWAN:"#B1A062",SOMM:"#674FD1",FIS:"#6F5CEF",IOV:"#3063B7",TORI:"#5476F7",TGD:"#FFFFFF",UMEE:"#FDA9FF",XPLA:"#00B1FF"}}),actions:{async getCurrenciesPrice(){try{await fetch("https://rpc.bronbro.io/price_feed_api/tokens/").then((e=>e.json())).then((e=>this.prices=e))}catch(e){O.error(e)}},initDemo(){this.Keplr=P,this.account=S,this.isAppFullLoaded=!0,this.isKeplrConnected=!0,this.isAuth=!0},async initApp(e=!0,t=!0){if(window.keplr){await(0,i.wO)(this.networks[this.currentNetwork].chainId),this.isKeplrConnected=!0;let o=await r.Tendermint34Client.connect(this.networks.bostrom.rpc_api);this.jsCyber=new a.J(o),await this.getMoonPassport(),e&&this.account.moonPassport&&this.account.moonPassportOwnerAddress!=this.account.moonPassport.owner&&(this.account.moonPassportOwnerAddress=this.account.moonPassport.owner,this.account.currentWallet=this.account.moonPassportOwnerAddress,this.account.moonPassportOwner=this.account.moonPassport),e&&this.account.moonPassportOwnerAddress&&await this.getOwnerMoonPassport(),this.setUserInfo(t)}},async getMoonPassport(){try{this.account.moonPassport=await this.jsCyber.queryContractSmart(this.CONTRACT_ADDRESS_PASSPORT,{active_passport:{address:(0,i.E$)("bostrom",this.Keplr.account.address)}})}catch(e){O.error(e),this.account.moonPassport=null}},async getOwnerMoonPassport(){try{this.account.moonPassportOwner=await this.jsCyber.queryContractSmart(this.CONTRACT_ADDRESS_PASSPORT,{active_passport:{address:this.account.moonPassportOwnerAddress}}),this.account.wallets=[],this.account.wallets.push({address:this.account.moonPassportOwner.owner,nickname:this.account.moonPassportOwner.extension.nickname,info:{RPDE:0},totalTokensPrice:0,networks:[{name:"cosmoshub",color:"#2E314B",price:this.prices.find((e=>"ATOM"==e.symbol)).price,total:{liquid:0,staked:0,unbonding:0,rewards:0,outside:0,ibc:0,liquid_rewards:0},totalRewardsPrice:0,totalTokensPrice:0},{name:"bostrom",color:"#25FF25",price:this.prices.find((e=>"BOOT"==e.symbol)).price,total:{liquid:0,staked:0,unbonding:0,rewards:0,outside:0,ibc:0,liquid_rewards:0},totalRewardsPrice:0,totalTokensPrice:0}]}),this.account.moonPassportOwner.extension.addresses&&this.account.moonPassportOwner.extension.addresses.forEach((e=>{if("0x"!=e.address.substring(0,2)&&"terra"!=e.address.substring(0,5)){let t=this.account.wallets.find((t=>t.address==(0,i.E$)("bostrom",e.address)));"undefined"===typeof t&&this.account.wallets.push({address:(0,i.E$)("bostrom",e.address),nickname:e.label,info:{RPDE:0},totalTokensPrice:0,networks:[{name:"cosmoshub",color:"#2E314B",price:this.prices.find((e=>"ATOM"==e.symbol)).price,total:{liquid:0,staked:0,unbonding:0,rewards:0,outside:0,ibc:0,liquid_rewards:0},totalRewardsPrice:0,totalTokensPrice:0},{name:"bostrom",color:"#25FF25",price:this.prices.find((e=>"BOOT"==e.symbol)).price,total:{liquid:0,staked:0,unbonding:0,rewards:0,outside:0,ibc:0,liquid_rewards:0},totalRewardsPrice:0,totalTokensPrice:0}]})}}))}catch(e){O.error(e)}},async setUserInfo(e){this.account.userName=this.Keplr.key.name,this.isAuth=!0,e&&(this.IPFSNode||(this.IPFSNode=await Ipfs.create()),this.IPFSNode&&this.getAvatar())},async getAvatar(){let e=!1,t=3e3;setTimeout((()=>{!e&&this.account.moonPassportOwner&&(this.account.avatar=`https://gateway.ipfs.cybernode.ai/ipfs/${this.account.moonPassportOwner.extension.avatar}`,e=!0)}),t)},async reset(){this.Keplr={},this.account=l,this.networks=N,this.isAppFullLoaded=!1,this.isKeplrConnected=!1,this.isAuth=!1}}})},42325:function(e,t,o){"use strict";o.d(t,{E$:function(){return u},Ih:function(){return g},LH:function(){return f},V4:function(){return p},jp:function(){return b},nD:function(){return v},pi:function(){return m},r0:function(){return _},uR:function(){return h},wO:function(){return d}});o(57658);var s=o(34776),n=o(9684),a=o(7365),r=o(48340),i=o(16071),c=o(2043),l=o(95673);const u=(e,t)=>(0,l.g6)(e,(0,l.zl)(t).data),d=async e=>{let t=(0,s.s)();await window.keplr.enable(e),t.Keplr.offlineSinger=await window.getOfflineSignerAuto(e);let o=await t.Keplr.offlineSinger.getAccounts();t.Keplr.account=o[0],t.Keplr.key=await window.keplr.getKey(e),t.isKeplrConnected=!0},_=async e=>{let t=(0,s.s)(),o=new n.Registry([["/cosmwasm.wasm.v1.MsgExecuteContract",c.MsgExecuteContract]]),a=new r.AminoTypes({...(0,i.createWasmAminoConverters)()});await window.keplr.enable(t.networks.bostrom.chainId);let d=await window.getOfflineSignerAuto(t.networks.bostrom.chainId),_=t.networks.bostrom.rpc_api,p=await r.SigningStargateClient.connectWithSigner(_,d,{registry:o,aminoTypes:a}),m={amount:[{denom:t.networks.bostrom.denom,amount:"0"}],gas:"1000000"},g=t.ref?`bro.${t.ref}`:"bro.app",h=[],f=[];Array.isArray(e)?e.forEach((e=>{f.push({typeUrl:"/cosmwasm.wasm.v1.MsgExecuteContract",value:c.MsgExecuteContract.fromPartial({sender:u("bostrom",t.Keplr.account.address),contract:t.CONTRACT_ADDRESS_PASSPORT,msg:(0,l.GZ)(JSON.stringify(e)),funds:h})})})):f.push({typeUrl:"/cosmwasm.wasm.v1.MsgExecuteContract",value:c.MsgExecuteContract.fromPartial({sender:u("bostrom",t.Keplr.account.address),contract:t.CONTRACT_ADDRESS_PASSPORT,msg:(0,l.GZ)(JSON.stringify(e)),funds:h})});let b=await p.sign(u("bostrom",t.Keplr.account.address),f,m,g);return{txRaw:b,client:p}},p=async(e,t=!0,o=n.currentNetwork)=>{let n=(0,s.s)(),a=await window.getOfflineSignerAuto(n.networks[o].chainId);Object.assign(a,{signAmino:a.signAmino??a.sign});let i=n.networks[o].rpc_api,c=await r.SigningStargateClient.connectWithSigner(i,a);t&&(gasUsed=await c.simulate(u(n.networks[o].address_prefix,n.account.currentWallet),e));let l={amount:[{denom:n.networks[o].denom,amount:"0"}],gas:t?Math.round(1.3*gasUsed).toString():"1000000"},d=n.ref?`bro.${n.ref}`:"bro.app",_=await c.sign(u(n.networks[o].address_prefix,n.account.currentWallet),e,l,d);return{txRaw:_,client:c}},m=async({txRaw:e,client:t})=>{let o=a.TxRaw.encode(e).finish(),s=await t.broadcastTx(o,t.broadcastTimeoutMs,t.broadcastPollIntervalMs);return s},g=(e,t)=>{let o=(0,s.s)(),n=v(o.prices.find((e=>e.symbol==t)).price,t),a=1;return"USDT"!=o.currentCurrency&&(t=o.currentCurrency,"BTC"==t&&(t=h("BTC")),a=v(o.prices.find((e=>e.symbol==t)).price,t)),e*(n/a)},h=e=>{let t=(0,s.s)(),o="";return o=t.formatableTokens.find((t=>t.tokenName==e)),o?o.formatTokenName:e},f=(e,t)=>{let o=(0,s.s)(),n=0,a=o.formatableTokens.find((e=>e.tokenName==t));return n=a?e/Math.pow(10,a.exponent):e/Math.pow(10,o.prices.find((e=>e.symbol==t)).exponent),n},b=(e,t)=>{let o=(0,s.s)();return e*(v(o.prices.find((e=>e.symbol==t)).price)/v(o.prices.find((e=>e.symbol==o.networks[o.currentNetwork].token_name)).price))},v=(e,t)=>{let o=(0,s.s)(),n=0,a=o.formatableTokens.find((e=>e.tokenName==t));return n=a?e*Math.pow(10,a.exponent):e,n}},27795:function(e,t,o){"use strict";e.exports=o.p+"img/sprite.580f2bcd.svg"},80950:function(){},46601:function(){},89214:function(){},8623:function(){},7748:function(){},85568:function(){},75992:function(){},78110:function(){},56619:function(){},77108:function(){},52361:function(){},94616:function(){}},t={};function o(s){var n=t[s];if(void 0!==n)return n.exports;var a=t[s]={id:s,loaded:!1,exports:{}};return e[s].call(a.exports,a,a.exports,o),a.loaded=!0,a.exports}o.m=e,function(){var e=[];o.O=function(t,s,n,a){if(!s){var r=1/0;for(u=0;u=a)&&Object.keys(o.O).every((function(e){return o.O[e](s[c])}))?s.splice(c--,1):(i=!1,a0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[s,n,a]}}(),function(){o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,{a:t}),t}}(),function(){o.d=function(e,t){for(var s in t)o.o(t,s)&&!o.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})}}(),function(){o.f={},o.e=function(e){return Promise.all(Object.keys(o.f).reduce((function(t,s){return o.f[s](e,t),t}),[]))}}(),function(){o.u=function(e){return"js/"+e+"."+{6:"47fe4917",151:"015a4032",184:"d0d61a96",365:"2aa0b550",394:"737a2fc0",572:"7c959ddf",573:"d34451d8",574:"649ffda7",838:"76d41b3d",866:"2932d9af",869:"aab32e01",895:"dc9922ea",955:"8c855972"}[e]+".js"}}(),function(){o.miniCssF=function(e){return"css/"+e+"."+{6:"337099b6",151:"9b22bb07",365:"a0cdc518",394:"e54cc163",572:"9d40147a",573:"f6f86d69",574:"843340da",895:"2aa2e47e"}[e]+".css"}}(),function(){o.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="bro_app:";o.l=function(s,n,a,r){if(e[s])e[s].push(n);else{var i,c;if(void 0!==a)for(var l=document.getElementsByTagName("script"),u=0;u\n
    \n
    \n \"\"\n
    \n\n
    \n {{ $t('message.mobile_plug_title') }}\n
    \n\n
    \n {{ $t('message.mobile_plug_desc') }}\n
    \n
    \n\n\n\n","import { render } from \"./MobilePlug.vue?vue&type=template&id=c41949b4\"\nconst script = {}\n\nimport \"./MobilePlug.vue?vue&type=style&index=0&id=c41949b4&scope=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n","import script from \"./App.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./App.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./Notifications.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./Notifications.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./Notifications.vue?vue&type=style&index=0&id=e24fdca2&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-e24fdca2\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./IPFS.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./IPFS.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./IPFS.vue?vue&type=style&index=0&id=0c91de1f&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-0c91de1f\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./Currency.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./Currency.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./Currency.vue?vue&type=style&index=0&id=28434968&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-28434968\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./User.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./User.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./User.vue?vue&type=style&index=0&id=4c190ac0&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-4c190ac0\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./Header.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./Header.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./Header.vue?vue&type=style&index=0&id=7fc8a49b&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-7fc8a49b\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./Feedback.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./Feedback.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./Feedback.vue?vue&type=style&index=0&id=58ee27f5&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-58ee27f5\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./Error.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./Error.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./Error.vue?vue&type=style&index=0&id=18e0fbc1&lang=css\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./DemoNotice.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./DemoNotice.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./DemoNotice.vue?vue&type=style&index=0&id=1b624b55&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-1b624b55\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./TourButton.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./TourButton.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./TourButton.vue?vue&type=style&index=0&id=226ffc1c&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-226ffc1c\"]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Footer.vue?vue&type=template&id=919445e8&scoped=true\"\nconst script = {}\n\nimport \"./Footer.vue?vue&type=style&index=0&id=919445e8&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-919445e8\"]])\n\nexport default __exports__","\n\n\n\n","import script from \"./Default.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./Default.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n","import script from \"./MainPage.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./MainPage.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { createRouter, createWebHistory } from 'vue-router'\nimport { useGlobalStore } from '@/stores'\n\nimport errorLayout from '@/layouts/Error.vue'\nimport defaultLayout from '@/layouts/Default.vue'\nimport mainPageLayout from '@/layouts/MainPage.vue'\n\n\nconst routes = [\n {\n path: '/:pathMatch(.*)',\n name: 'Error',\n component: () => import('../views/Error404.vue'),\n meta: {\n layout: errorLayout,\n accessDenied: []\n }\n },\n {\n path: '/keplr_error',\n name: 'KeplrError',\n component: () => import('../views/KeplrError.vue'),\n meta: {\n layout: errorLayout,\n accessDenied: ['with_keplr']\n }\n },\n {\n path: '/keplr_reload',\n name: 'KeplrReload',\n component: () => import('../views/KeplrReload.vue'),\n meta: {\n layout: errorLayout,\n accessDenied: ['with_keplr']\n }\n },\n\t{\n\t\tpath: '/under_construction',\n\t\tname: 'Under construction',\n\t\tcomponent: () => import('../views/UnderConstruction.vue'),\n\t\tmeta: {\n\t\t\tlayout: errorLayout,\n\t\t\taccessDenied: ['without_keplr']\n\t\t}\n\t},\n {\n\t\tpath: '/',\n\t\tname: 'MainPage',\n\t\tcomponent: () => import('../views/MainPage.vue'),\n\t\tmeta: {\n\t\t\tlayout: mainPageLayout,\n\t\t\taccessDenied: []\n\t\t}\n\t},\n {\n\t\tpath: '/welcome',\n\t\tname: 'Welcome',\n\t\tcomponent: () => import('../views/Welcome.vue'),\n\t\tmeta: {\n\t\t\tlayout: mainPageLayout,\n\t\t\taccessDenied: ['with_passport', 'with_global_passport']\n\t\t}\n\t},\n {\n\t\tpath: '/create_passport',\n\t\tname: 'CreatePassport',\n\t\tcomponent: () => import('../views/CreatePassport.vue'),\n\t\tmeta: {\n\t\t\tlayout: defaultLayout,\n\t\t\taccessDenied: ['without_keplr', 'not_connected', 'with_passport']\n\t\t}\n\t},\n\t{\n\t\tpath: '/proposals/:network',\n\t\tname: 'Proposals',\n\t\tcomponent: () => import('../views/Proposals.vue'),\n\t\tmeta: {\n\t\t\tlayout: defaultLayout,\n\t\t\taccessDenied: ['without_keplr', 'not_connected', 'without_passport']\n\t\t}\n\t},\n\t{\n\t\tpath: '/:network/proposal/:proposal_id',\n\t\tname: 'Proposal',\n\t\tcomponent: () => import('../views/Proposal.vue'),\n\t\tmeta: {\n\t\t\tlayout: defaultLayout,\n\t\t\taccessDenied: ['without_keplr', 'not_connected', 'without_passport']\n\t\t}\n\t},\n\t{\n\t\tpath: '/account/:network',\n\t\tname: 'Account',\n\t\tcomponent: () => import('../views/Account.vue'),\n\t\tmeta: {\n\t\t\tlayout: defaultLayout,\n\t\t\taccessDenied: ['without_keplr', 'not_connected', 'without_passport']\n\t\t}\n\t},\n\t{\n\t\tpath: '/account/passport',\n\t\tname: 'Passport',\n\t\tcomponent: () => import('../views/Passport.vue'),\n\t\tmeta: {\n\t\t\tlayout: defaultLayout,\n\t\t\taccessDenied: ['without_keplr', 'not_connected', 'without_passport']\n\t\t}\n\t},\n]\n\n\nconst router = createRouter({\n\thistory: createWebHistory(),\n\troutes\n})\n\n\nconst urlsExceptions = [\n\t'/',\n\t'/welcome',\n\t'/keplr_error',\n\t'/keplr_reload',\n\t'/under_construction'\n]\n\n\nrouter.beforeResolve(async (to, from, next) => {\n\tlet store = useGlobalStore()\n\n\t// Demo\n\tto.query.demo\n\t\t? store.demo = true\n\t\t: store.demo = false\n\n\t// Referer\n\tif (to.query.ref) {\n\t\tstore.referer = to.query.ref\n\t}\n\n\t// Current network from url\n\tif (to.params.network) {\n\t\tstore.currentNetwork = to.params.network\n\t}\n\n\t// Current proposal from url\n\tif (to.params.proposal_id) {\n\t\tstore.currentProposalId = to.params.proposal_id\n\t}\n\n\t// Referer\n\tif (to.query.filter) {\n\t\tstore.proposalsFilter = to.query.filter\n\t}\n\n\n\t// Get currencies price\n\tif (!store.prices) {\n\t\tawait store.getCurrenciesPrice()\n\t}\n\n\n // Init APP\n\tif (!urlsExceptions.includes(to.fullPath)) {\n\t\tif (!store.isAuth) {\n\t\t\tstore.demo\n\t\t\t\t? store.initDemo()\n\t\t\t\t: await store.initApp()\n\t\t} else{\n\t\t\tif (!store.account.demo && store.demo) {\n\t\t\t\t// Reset\n\t\t\t\tstore.reset()\n\n\t\t\t\t// Set demo\n\t\t\t\tstore.initDemo()\n\t\t\t} else if (!store.account.moonPassport && !store.isKeplrConnected){\n\t\t\t\t// Reset\n\t\t\t\tstore.reset()\n\n\t\t\t\t// Init APP\n\t\t\t\tawait store.initApp()\n\t\t\t}\n\t\t}\n\t}\n\n\n\t// Check page access\n\tto.matched.some(record => {\n\t\t// Array with prohibitions\n\t\tlet access = record.meta.accessDenied\n\n\t\tif(access.length && !store.account.demo) {\n\t\t\t// Forbidden without keplr\n\t\t\tif(access.includes('without_keplr') && !window.keplr) {\n\t\t\t\tnext({ name: 'KeplrError' })\n\n\t\t\t\treturn false\n\t\t\t}\n\n\t\t\t// Forbidden with keplr\n\t\t\tif(access.includes('with_keplr') && window.keplr) {\n\t\t\t\t!store.demo\n\t\t\t\t\t? next('/')\n\t\t\t\t\t: next('/?demo=true')\n\n\t\t\t\treturn false\n\t\t\t}\n\n\t\t\t// Forbidden with a passport\n\t\t\tif (access.includes('with_passport') && store.account.moonPassport) {\n\t\t\t\t!store.demo\n\t\t\t\t\t? next('/account/cosmoshub')\n\t\t\t\t\t: next('/account/cosmoshub?demo=true')\n\n\t\t\t\treturn false\n\t\t\t}\n\n\t\t\t// Forbidden without a passport\n\t\t\tif (access.includes('without_passport') && !store.account.moonPassportOwner) {\n\t\t\t\t!store.demo\n\t\t\t\t\t? next('/')\n\t\t\t\t\t: next('/?demo=true')\n\n\t\t\t\treturn false\n\t\t\t}\n\n\t\t\t// Forbidden with a global passport\n\t\t\tif (access.includes('with_global_passport') && store.account.moonPassportOwner && !store.account.moonPassport) {\n\t\t\t\t!store.demo\n\t\t\t\t\t? next('/account/cosmoshub')\n\t\t\t\t\t: next('/account/cosmoshub?demo=true')\n\n\t\t\t\treturn false\n\t\t\t}\n\n\t\t\t// Wallet not connected\n\t\t\tif (access.includes('not_connected') && !store.isKeplrConnected) {\n\t\t\t\t!store.demo\n\t\t\t\t\t? next('/')\n\t\t\t\t\t: next('/?demo=true')\n\n\t\t\t\treturn false\n\t\t\t}\n\t\t}\n\t})\n\n\n // App full loaded\n if(!store.isAppFullLoaded) {\n store.isAppFullLoaded = true\n }\n\n\tnext()\n})\n\n\nexport default router\n","export default {\n // English\n en: {\n message: {\n // Page title\n 'page_title': 'Bro APP',\n\n\n // Error page\n 'error_title_404': 'Page was lost in space....
    Are you sure that it exist?',\n\n\n // Keplr Error page\n 'keplr_error_title': \"Oooops, it seems you don't have
    a Keplr extension\",\n 'keplr_reload_title': 'Please reload the page',\n\n\n // Main page\n 'main_page_title': 'Advance Your Asset Management',\n 'main_page_demo_text': 'For a brief set of instructions, please refer to the',\n 'main_page_demo_link': 'Demo',\n\n\n // Create passport page\n 'passport_avatar_label': 'Upload avatar',\n 'passport_avatar_file_size': 'File up to 5 MB',\n 'passport_avatar_mimetype_size': 'Only jpg, png',\n 'passport_constitution_link': 'read constitution',\n 'passport_name_label': 'Nickname',\n 'passport_citizenship_label': 'Citizenship',\n 'passport_citizenship_text': 'Moon
    citizen',\n 'passport_name_placeholder': 'Choose name',\n 'passport_address_exp': 'Address',\n 'passport_name_exp': 'Limit 8-16 characters; only a-z, 0-9, \"-\"',\n 'passport_constitution_exp': 'Creating a passport I confirm reading the Constitution',\n 'passport_error_nickname_title': 'Nickname misspelled',\n\n\n // Proposals page\n 'proposals_empty_title': \"The governor's desk is proposal-free, no action needed!\",\n\n 'proposal_date_label_default': 'Voting ended:',\n\n 'proposal_deposite_label_collected': 'Collected funds:',\n 'proposal_deposite_label_necessary': 'Necessary funds:',\n\n 'proposal_voting_label_yes': 'Yes',\n 'proposal_voting_label_no': 'No',\n 'proposal_voting_label_nwv': 'NWV',\n 'proposal_voting_label_abstain': 'Abstain',\n\n 'proposal_vote_yes': 'Yes',\n 'proposal_vote_no': 'No',\n 'proposal_vote_nwv': 'No with veto',\n 'proposal_vote_abstain': 'Abstain',\n 'proposal_vote_did_not_vote': \"Didn't vote\",\n\n\n // Proposal page\n 'proposal_proposer_label': 'Proposer',\n 'proposal_tab1': 'Proposal data',\n 'proposal_tab2': 'Votes',\n 'proposal_desc_title': 'Description',\n 'proposal_current_account_title': 'Account:',\n 'proposal_current_vote_title': 'Your current vote:',\n 'proposal_deposit_status_title': 'Deposit status',\n 'proposal_details_title': 'Proposal Details',\n 'proposal_vote_details_title': 'Vote details',\n\n 'proposal_details_voting_label': 'Voting End Time',\n 'proposal_details_deposit_label': 'Deposit End Time',\n 'proposal_details_submit_label': 'Submit Time',\n 'proposal_details_total_label': 'Total Deposit',\n 'proposal_details_initial_label': 'Initial Deposit',\n\n 'proposal_add_vote_exp': 'You need to change your Keplr account',\n\n 'proposal_vote_info_final_status_label': 'Final Status',\n 'proposal_vote_info_current_status_label': 'Current Status',\n 'proposal_vote_info_status_passed': 'Passed',\n 'proposal_vote_info_status_rejected': 'Rejected',\n 'proposal_vote_info_status_passing': 'Passing',\n 'proposal_vote_info_status_rejecting': 'Rejecting',\n 'proposal_vote_info_turnout_label': 'Turnout',\n 'proposal_vote_info_total_vote_label': 'Total Vote',\n 'proposal_vote_info_minimum': 'Minimum of staked {amount} {denom} (40%) need to vote for this proposal to pass',\n\n 'proposal_vote_yes_btn': 'Yes',\n 'proposal_vote_no_btn': 'No',\n 'proposal_vote_nwv_btn': 'No with veto',\n 'proposal_vote_abstain_btn': 'Abstain',\n\n 'proposal_vote_result_no_vote_label': 'Not voted',\n 'proposal_vote_result_yes_label': 'yes',\n 'proposal_vote_result_no_label': 'no',\n 'proposal_vote_result_nwv_label': 'nwv',\n 'proposal_vote_result_abstain_label': 'abstain',\n 'proposal_vote_result_votes_label': 'votes',\n\n 'proposal_feature_height_label': 'Height',\n 'proposal_feature_info_label': 'Info',\n 'proposal_feature_name_label': 'Name',\n 'proposal_feature_time_label': 'Time',\n 'proposal_feature_changes_key_label': 'Key',\n 'proposal_feature_changes_subspace_label': 'Subspace',\n 'proposal_feature_changes_value_label': 'Value',\n\n 'proposal_votes_filter_all': 'All',\n 'proposal_votes_filter_yes': 'Yes',\n 'proposal_votes_filter_no': 'No',\n 'proposal_votes_filter_nwv': 'No with veto',\n 'proposal_votes_filter_abstain': 'Abstain',\n 'proposal_votes_filter_null': 'Did not vote',\n 'proposal_votes_filter_weighted': 'Weighted',\n\n 'proposal_votes_th_validator': 'Validator',\n 'proposal_votes_th_validator_vote': 'Validator Vote',\n 'proposal_votes_th_most_voted': 'Most voted on',\n 'proposal_votes_th_community_votes': 'Community Votes',\n 'proposal_votes_th_percents': 'Participation
    Rate',\n\n 'proposal_votes_community_votes_tooltip': 'The ratio of specific votes to the total votes cast',\n 'proposal_votes_percents_tooltip': 'Percentage of voters relative to the total number of delegators.',\n\n 'proposal_votes_validator_no_active': 'no active',\n 'proposal_votes_validator_sticker': 'Your Validator',\n\n 'proposal_depositors_title': 'Depositors',\n 'proposal_depositors_th_depositor': 'Depositor',\n 'proposal_depositors_th_tx_hash': 'TxHash',\n 'proposal_depositors_th_amount': 'Amount',\n 'proposal_depositors_th_time': 'Time',\n\n\n // Account\n 'account_networks_title': 'Networks',\n 'account_abilities_title': 'Abilities',\n 'account_validators_title': 'Validators',\n 'account_proposals_title': 'Governance',\n 'account_connected_addresses_title': 'My Portfolio',\n\n 'account_connected_addresses_all': 'View all',\n\n 'account_charts_tab_stake': 'Stake',\n 'account_charts_tab_liquide': 'Liquid',\n 'account_charts_tab_assets': 'Assets',\n 'account_charts_tab_networks': 'Networks',\n 'account_charts_tab_accounts': 'Accounts',\n\n 'account_chart_stake_block_title': 'Stake Management',\n 'account_chart_stake_desc': 'contain staked, liquid and unbonding tokens',\n\n 'account_chart_liquide_block_title': 'Liquid Management',\n 'account_chart_liquide_desc': 'contain liquid, rewards and IBC tokens',\n\n 'account_chart_networks_block_title': 'Network Management',\n 'account_chart_networks_desc': 'represent all networks in portfolio',\n\n 'account_chart_assets_block_title': 'Asset Management',\n 'account_chart_assets_desc': 'represent all tokens in portfolio',\n\n 'account_chart_accounts_block_title': 'Account Management',\n 'account_chart_accounts_desc': 'contain your linked accounts',\n\n 'account_charts_staked_label': 'Staked',\n 'account_charts_outside_label': 'Outside',\n 'account_charts_liquid_tokens_label': 'Liquid',\n 'account_charts_unbonding_label': 'Unbondend',\n 'account_charts_ibc_label': 'IBC Tokens',\n 'account_charts_rewards_label': 'Rewards',\n 'account_charts_on_chain': 'On',\n\n 'account_charts_total_assets': 'Total Assets',\n\n 'account_validators_col_account_name': 'Account name',\n 'account_validators_col_network': 'Network',\n 'account_validators_col_validator': 'Validator',\n 'account_validators_col_account_percent': 'Account %',\n 'account_validators_col_passport_percent': 'Passport %',\n 'account_validators_empty_text': 'You have no active validators',\n\n 'account_proposals_col_network': 'Network',\n 'account_proposals_col_name': 'Proposal name',\n 'account_proposals_col_type': 'Type',\n 'account_proposals_col_status': 'Status',\n\n 'account_proposals_status_all': 'All proposals',\n 'account_proposals_status_deposite': 'Deposit period',\n 'account_proposals_status_voting': 'Voting period',\n 'account_proposals_status_passed': 'Passed',\n 'account_proposals_status_rejected': 'Rejected',\n\n 'account_proposals_suspicious_tooltip': 'Suspicious',\n\n 'account_RPDE': 'Daily profit',\n 'account_APR': 'Personal APR',\n 'account_rewards': 'Rewards',\n 'account_passport_value': 'Passport Value',\n\n 'account_copy_tooltip': 'Address copied',\n 'account_duplicate_ext': 'Duplicated address',\n 'account_not_supported_ext': 'Not supported',\n\n\n // Filter\n 'filter_title': 'Filter',\n\n\n // Demo notice\n 'demo_notice_text': 'Finish Demo session',\n\n\n // Footer\n 'footer_contact': 'Contact',\n 'footer_support': 'Support',\n 'footer_powered': 'Powered by the Spacebox Index',\n\n\n // Feedback\n 'feedback_title': 'Report a bug here',\n 'feedback_desc': 'Share it with us',\n 'feedback_telegram_link': 'Telegram',\n 'feedback_github_link': 'Github',\n\n\n // Under construction page\n 'under_construction_title': 'This part of site is under construction',\n\n\n // Mobile plug\n 'mobile_plug_title': 'Oops!',\n 'mobile_plug_desc': \"Bro App not yet supported on mobile devices. Please use a desktop or laptop. We're working on it! Thank you for your patience.\",\n\n\n // Notofications\n 'notice_default_main_page': 'Welcome to the best Cosmos managing tool.',\n 'notice_default_create_passport': 'To create your passport, please ensure that you upload the information correctly. Then you will be asked to sign the transaction.',\n 'notice_default_create_passport_success': 'Congrats! You have successfully created a Passport. You can now continue the journey and explore the app in BETA 2.0.',\n 'notice_default_constitution_modal': \"By clicking 'Agree & Sign' you confirm that you have read the Constitution in full and wish to create a passport. After clicking 'Agree & Sign' you will be asked to sign the transaction.\",\n 'notice_default_account_passport': 'That’s your recently created passport. You can now change the image or download the passport.',\n 'notice_default_proposals_page': 'All proposals including proposals in Deposit period can be found on this page.',\n 'notice_default_account_page': 'Welcome to our portfolio management tool. Take control of your investments and optimize your portfolio for maximum returns.',\n 'notice_default_proposal_page': 'Detailed overview for the selected proposal.',\n\n 'notice_demo_default_account_page': 'Provides valuable information regarding your interactions inside the app.',\n\n 'notice_ipfs_active': \"The IPFS node is built in right in your browser. It helps store and resolves the content from the distributed storage. NFTs, moon passports, ENS, with contents address, can be resolved right here. It is green because the IPFS node is active and resolves the content.\",\n 'notice_ipfs_not_active': \"The IPFS node is built in right in your browser. It helps store and resolves the content from the distributed storage. NFTs, moon passports, ENS, with contents address, can be resolved right here. It is red because the IPFS node is inactive and not resolves the content.\",\n\n 'notice_currency': \"The currency for the account valuation\",\n 'notice_username': \"Chosen keplr account\",\n 'notice_avatar': \"Your Moon passport avatar\",\n\n 'notice_delete_address': 'To Delete linked account please press on “delete icon” for selected address and then confirm your actions.',\n 'notice_edit_address': 'To Edit linked account please press on “edit icon” for selected address and then confirm your actions.',\n 'notice_copy_address': 'To Copy linked account please press on “copy icon” for selected address.',\n\n 'notice_account_charts_tab_stake': 'The Stake Management tab shows how many staked, liquid, and unbonding tokens you have in your account, providing a comprehensive view of your current staking activity.',\n 'notice_account_charts_tab_liquide': 'The Liquid Management tab shows all of your liquid tokens for the selected networks, on both Outside and IBC channels, providing a detailed overview of your current holdings.',\n 'notice_account_charts_tab_assets': 'The Asset Management tab represents all networks and offers a complete view of your entire portfolio',\n 'notice_account_charts_tab4': 'The Network Management tab represents the value of all tokens in your portfolio and provides a complete overview on network level. ',\n 'notice_account_charts_tab_accounts': 'The Account Management tab provides a detailed breakdown of all your linked accounts, offering a complete overview for each.',\n\n 'notice_add_address_step1': 'Please select a new address in Keplr to be able to link it to the portfolio.',\n 'notice_add_address_step2': 'Select the right address that you want to add to the portfolio.',\n 'notice_add_address_step2_error': 'The address you have selected already linked to your portfolio, please switch to another account.',\n 'notice_add_address_step3': 'To approve selected address and confirm the change you need to sign a transaction.',\n 'notice_add_address_step4': 'To complete the process, you need to switch to your passport account in Keplr.',\n 'notice_add_address_step5': 'To finish the process and finalize adding a new account please sign a broadcast transaction.',\n 'notice_add_address_success': 'You have successfully added new wallet address to your portfolio.',\n\n\n // IPFS\n 'ipfs': 'IPFS node',\n\n\n // Constitution modal\n 'constitution_modal_title': 'Constitution',\n\n\n // Deposit modal\n 'deposit_modal_title': 'Deposit',\n 'deposit_modal_sender_label': 'Sender',\n 'deposit_modal_amount_label': 'Amount available',\n\n\n // Add address modal\n 'add_address_modal_title': 'Add new account',\n 'add_address_modal_error_desc': 'To add a new address — select a different Keplr account',\n 'add_address_modal_error_desc2': 'This wallet is already added to portfolio',\n 'add_address_modal_error_desc3': 'This wallet has its own unique passport',\n\n 'add_address_modal_step1_name': 'Choose Address',\n 'add_address_modal_step2_name': 'Approve Address',\n 'add_address_modal_step3_name': 'Switch Account',\n 'add_address_modal_step4_name': 'Accounts Linked',\n\n 'add_address_modal_step1_title': 'Select the address',\n 'add_address_modal_step2_title': 'To approve the address you need to sign the transaction.',\n 'add_address_modal_step3_title': 'Switch to passport account in Keplr',\n 'add_address_modal_step4_title': 'Almost there...',\n 'add_address_modal_step5_title': 'Bravo! Congrats!',\n\n 'add_address_added_label': 'Added',\n 'add_address_duplicated_label': 'Duplicated',\n\n\n // Validator modal\n 'validator_modal_title': 'Validator details',\n\n 'validator_modal_website_btn': 'Website',\n 'validator_modal_mintscan_btn': 'Mintscan',\n 'validator_modal_broscore_btn': 'Bro Score',\n\n 'validator_modal_active_set': 'Active',\n 'validator_modal_inactive_set': 'Inactive',\n\n 'validator_modal_operator_address_label': 'Operator Address',\n 'validator_modal_details_label': 'Details',\n\n 'validator_modal_commission_label': 'Commission',\n 'validator_modal_ownership_label': 'Self Bonded/
    Ownership',\n 'validator_modal_total_delegated_label': 'Total delegated amount',\n 'validator_modal_voted_label': 'Props voted',\n\n 'validator_modal_col_commission_notice': \"The percentage of validator's commision.\",\n 'validator_modal_col_self_bonded_ownership_notice': 'The number of tokens delegated to yourself. The ratio of the number of tokens delegated to yourself to the total number of delegations.',\n 'validator_modal_col_voted_notice': 'This criterion is about the number of votes ({voted}) for the last 5 ended proposals.',\n 'validator_modal_col_total_delegated_notice': 'Total amount of tokens delegated to the validator',\n\n\n // Notofications\n 'notification_progress_title': 'Transaction is in progress',\n 'notification_successful_title': 'Transaction successful',\n 'notification_failed_title': 'Transaction failed',\n 'notification_explorer_link': 'Explorer',\n 'notification_error_file_size_title': 'Error',\n 'notification_error_file_size_text': 'Selected image is too large. Please select new < {size}',\n 'notification_error_nickName_title': 'Nickname error',\n 'notification_error_nickName_desc': 'There is already a passport for this name, come up with a new one',\n 'notification_passport_signature': 'Constitution successfully signed',\n 'notification_passport_activation_process': 'Account activation...',\n 'notification_passport_activation_success': 'Account successfully activated',\n 'notification_passport_activation_error': 'Account activation error',\n 'notification_passport_activation_error_desc': 'Try again',\n 'notification_passport_wait_ipfs': 'Please, wait while local IPFS node is starting.',\n\n 'notification_action_create_passport': 'Create passport',\n 'notification_passport_create_process': 'Passport creation...',\n 'notification_success_create_passport_title': 'Passport created successfully',\n 'notification_error_create_passport_title': 'Passport issue error',\n\n 'notification_action_update_passport': 'Update passport',\n 'notification_action_delete_passport': 'Delete passport',\n 'notification_passport_update_process': 'Passport updating...',\n 'notification_passport_delete_process': 'Passport deleting...',\n 'notification_success_update_passport_title': 'Passport updated successfully',\n 'notification_success_delete_passport_title': 'Passport delete successfully',\n 'notification_error_update_passport_title': 'Passport issue error',\n\n 'notification_action_address_delete': 'Address delete',\n 'notification_address_deleting_process': 'Address deleting...',\n 'notification_success_address_delete_title': 'Address deleted successfully',\n\n 'notification_action_address_add': 'Address add',\n 'notification_address_adding_process': 'Processing...',\n 'notification_success_address_added_title': 'Address added successfully',\n\n 'notification_action_address_rename': 'Address rename',\n 'notification_address_renaming_process': 'Address renaming...',\n 'notification_success_address_rename_title': 'Address renamed successfully',\n\n 'notification_action_proposal_vote': 'Proposal vote',\n 'notification_proposal_vote_process': 'Proposal voiting...',\n\n 'notification_proposal_deposit_process': 'Proposal depositing...',\n 'notification_success_proposal_deposit_title': 'Proposal deposit successful',\n 'notification_action_proposal_deposit': 'Proposal deposit',\n\n 'notification_tx_error_2': \"tx parse error\",\n 'notification_tx_error_3': \"invalid sequence\",\n 'notification_tx_error_4': \"unauthorized\",\n 'notification_tx_error_5': \"insufficient funds\",\n 'notification_tx_error_6': \"unknown request\",\n 'notification_tx_error_7': \"invalid address\",\n 'notification_tx_error_8': \"invalid pubkey\",\n 'notification_tx_error_9': \"unknown address\",\n 'notification_tx_error_10': \"invalid coins\",\n 'notification_tx_error_11': \"Broadcasting transaction failed: out of gas try again and increase gas amount\",\n 'notification_tx_error_12': \"memo too large\",\n 'notification_tx_error_13': \"insufficient fee\",\n 'notification_tx_error_14': \"maximum number of signatures exceeded\",\n 'notification_tx_error_15': \"no signatures supplied\",\n 'notification_tx_error_16': \"failed to marshal JSON bytes\",\n 'notification_tx_error_17': \"failed to unmarshal JSON bytes\",\n 'notification_tx_error_18': \"invalid request\",\n 'notification_tx_error_19': \"tx already in mempool\",\n 'notification_tx_error_20': \"mempool is full\",\n 'notification_tx_error_21': \"tx too large\",\n 'notification_tx_error_22': \"key not found\",\n 'notification_tx_error_23': \"invalid account password\",\n 'notification_tx_error_24': \"tx intended signer does not match the given signer\",\n 'notification_tx_error_25': \"invalid gas adjustment\",\n 'notification_tx_error_26': \"invalid height\",\n 'notification_tx_error_27': \"invalid version\",\n 'notification_tx_error_28': \"invalid chain-id\",\n 'notification_tx_error_29': \"invalid type\",\n 'notification_tx_error_30': \"tx timeout height\",\n 'notification_tx_error_31': \"unknown extension options\",\n 'notification_tx_error_32': \"incorrect account sequence\",\n 'notification_tx_error_33': \"failed packing protobuf message to Any\",\n 'notification_tx_error_34': \"failed unpacking protobuf message from Any\",\n 'notification_tx_error_35': \"internal logic error\",\n 'notification_tx_error_36': \"conflict\",\n 'notification_tx_error_37': \"feature not supported\",\n 'notification_tx_error_38': \"not found\",\n 'notification_tx_error_39': \"Internal IO error\",\n 'notification_tx_error_40': \"error in app.toml\",\n 'notification_tx_error_41': \"invalid gas limit\",\n\n 'notification_tx_error_rejected': \"The transaction has been rejected\",\n\n\n // Tours\n 'tour_header_title_step0': 'Tooltip',\n 'tour_header_title_step1': 'Portfolio Currency',\n 'tour_header_title_step2': 'Your Digital Identity',\n\n 'tour_account_page_title_step1': 'Networks',\n 'tour_account_page_title_step2': 'Bundled Wallets',\n 'tour_account_page_title_step3': 'Assets Management',\n 'tour_account_page_title_step4': 'Portfolio Insights',\n 'tour_account_page_title_step5': 'Validators',\n 'tour_account_page_title_step6': 'Governance',\n\n 'tour_header_desc_step0': 'Provides valuable information regarding your interactions inside the app',\n 'tour_header_desc_step1': 'Allows you to conveniently change between different currencies and view portfolio evaluations within the app',\n 'tour_header_desc_step2': 'Allows you to authenticate yourself, securely interact with others, and engage in transactions with confidence',\n\n 'tour_account_page_desc_step1': 'Enables you to view info and seamlessly switch between different blockchain networks',\n 'tour_account_page_desc_step2': 'Allows you to consolidate and manage multiple wallets in one place; it may include duplicates',\n 'tour_account_page_desc_step3': 'Provides detailed view of all your digital assets on different levels',\n 'tour_account_page_desc_step4': 'Offers an overview of key performance indicators and average numbers for your portfolio',\n 'tour_account_page_desc_step5': 'Displays the number of validators you stake with on one or more networks',\n 'tour_account_page_desc_step6': 'Lets you navigate through proposals, view their descriptions, vote and see votes breakdown',\n\n\n // Buttons\n 'btn_back_home': 'Back to home',\n 'btn_reload': 'Reload',\n 'btn_connect_wallet': 'Connect Keplr wallet',\n 'btn_reject': 'Reject',\n 'btn_confirm': 'Confirm',\n 'btn_agree_sign': 'Agree & Sign',\n 'btn_keplr_install': 'Install Keplr',\n 'btn_add_address': 'Add address',\n 'btn_use_new_passport': 'Use new passport',\n 'btn_next': 'Next',\n 'btn_back': 'Back',\n 'btn_sign': 'Sign',\n 'btn_sing_broadcast': 'Sign and Broadcast',\n 'btn_done': 'Done',\n 'btn_see_more': 'See more',\n 'btn_no': 'No',\n 'btn_yes': 'Yes',\n 'btn_download_png': 'Dowloand png',\n 'btn_continue': 'Continue journey',\n 'btn_update': 'Update',\n 'btn_change_image': 'Change image',\n 'btn_settings': 'Setting',\n 'btn_create_passport': 'Create passport',\n 'btn_refresh': 'Refresh',\n 'btn_deposit': 'Deposit',\n 'btn_send': 'Send',\n }\n }\n}","import { createI18n } from 'vue-i18n'\nimport VueI18nMessages from '../locale/messages'\n\n\nconst i18n = createI18n({\n locale: 'en',\n fallbackLocale: 'en',\n messages: VueI18nMessages\n})\n\n\nexport default i18n","import { createApp } from 'vue'\nimport { createPinia } from 'pinia'\n\nimport App from './App.vue'\nimport router from './router'\nimport i18n from './locale'\nimport Notifications from '@kyvg/vue3-notification'\nimport VueCountdown from '@chenfengyuan/vue-countdown'\nimport mitt from 'mitt'\n\n\n// Create App\nconst app = createApp(App)\n\n\n// Pinia\nconst pinia = createPinia()\n\n\n// Events\nconst emitter = mitt()\n\n\n// Vue use\napp.use(pinia)\napp.use(router)\napp.use(i18n)\napp.use(Notifications)\n\n\n// Vue provide\napp.provide('i18n', i18n)\napp.provide('emitter', emitter)\n\n\n// Filters\napp.config.globalProperties.$filters = {\n // Add rounding\n toFixed(value, limit) {\n let newValue\n\n value != 0\n ? newValue = value.toFixed(limit)\n : newValue = value\n\n return newValue\n }\n}\n\n\n// VueCountdown\napp.component(VueCountdown.name, VueCountdown)\n\n\n// Mount\napp.mount('#app')\n","import { useLocalStorage } from '@vueuse/core'\n\nconst account = {\n userName: null,\n tempUserName: useLocalStorage('tempUserName'),\n avatar: null,\n signature: null,\n demo: false,\n\n moonPassport: null,\n moonPassportOwnerAddress: useLocalStorage('moonPassportOwnerAddress'),\n moonPassportOwner: null,\n\n currentWallet: useLocalStorage('currentWallet'),\n wallets: [],\n info: {\n RPDE: 0\n },\n\n total: {\n liquid: 0,\n staked: 0,\n unbonding: 0,\n rewards: 0,\n outside: 0,\n ibc: 0,\n },\n totalTokensPrice: 0,\n}\n\nexport default account","const network = {\n name: 'Cosmos Hub',\n lcd_api: 'https://lcd.cosmoshub-4.bronbro.io',\n rpc_api: 'https://rpc.cosmoshub-4.bronbro.io',\n index_api: 'https://rpc.bronbro.io',\n\n denom: 'uatom',\n token_name: 'ATOM',\n chainId: 'cosmoshub-4',\n mintscanAlias: 'cosmos',\n prefix: 'cosmos',\n address_prefix: 'cosmos',\n exponent: 6,\n proposal_need: 250\n}\n\nexport default network","const network = {\n name: 'Bostrom',\n lcd_api: 'https://lcd.bostrom.bronbro.io',\n rpc_api: 'https://rpc.bostrom.bronbro.io',\n index_api: 'https://rpc.index.bostrom.bronbro.io',\n\n denom: 'boot',\n token_name: 'BOOT',\n chainId: 'bostrom',\n prefix: 'bostrom',\n mintscanAlias: null,\n address_prefix: 'bostrom',\n exponent: 0,\n proposal_need: 420000000000\n}\n\nexport default network","const network = {\n name: 'Crescent hub',\n lcd_api: 'https://lcd.crescent-1.bronbro.io',\n rpc_api: 'https://rpc.crescent-1.bronbro.io',\n\n denom: 'ucre',\n token_name: 'CRE',\n chainId: 'crescent-1',\n mintscanAlias: 'crescent',\n prefix: 'crescent',\n address_prefix: 'cre',\n exponent: 6,\n proposal_need: 250\n}\n\nexport default network","const network = {\n name: 'G-Bridge',\n lcd_api: 'https://lcd.gravity-bridge-3.bronbro.io',\n rpc_api: 'https://rpc.gravity-bridge-3.bronbro.io',\n\n denom: 'ugraviton',\n token_name: 'GRAV',\n chainId: 'gravity-bridge-3',\n mintscanAlias: 'gravity-bridge',\n prefix: 'gravity',\n address_prefix: 'gravity',\n exponent: 6,\n proposal_need: 250\n}\n\nexport default network","const network = {\n name: 'Juno',\n lcd_api: 'https://lcd.juno-1.bronbro.io',\n rpc_api: 'https://rpc.juno-1.bronbro.io',\n\n denom: 'ujuno',\n token_name: 'JUNO',\n chainId: 'juno-1',\n mintscanAlias: 'juno',\n prefix: 'juno',\n address_prefix: 'juno',\n exponent: 6,\n proposal_need: 250\n}\n\nexport default network","const network = {\n name: 'OmniFlix Network',\n lcd_api: 'https://lcd.omniflixhub-1.bronbro.io',\n rpc_api: 'https://rpc.omniflixhub-1.bronbro.io',\n\n denom: 'uflix',\n token_name: 'FLIX',\n chainId: 'omniflixhub-1',\n mintscanAlias: 'omniflix',\n prefix: 'omniflix',\n address_prefix: 'omniflix',\n exponent: 6,\n proposal_need: 250\n}\n\nexport default network","const network = {\n name: 'Osmosis',\n lcd_api: 'https://lcd.osmosis-1.bronbro.io',\n rpc_api: 'https://rpc.osmosis-1.bronbro.io',\n\n denom: 'uosmo',\n token_name: 'OSMO',\n chainId: 'osmosis-1',\n mintscanAlias: 'osmosis',\n prefix: 'osmosis',\n address_prefix: 'osmo',\n exponent: 6,\n proposal_need: 250\n}\n\nexport default network","const network = {\n name: 'Stargaze',\n lcd_api: 'https://lcd.stargaze-1.bronbro.io',\n rpc_api: 'https://rpc.stargaze-1.bronbro.io',\n\n denom: 'ustars',\n token_name: 'STARS',\n chainId: 'stargaze-1',\n mintscanAlias: 'stargaze',\n prefix: 'stargaze',\n address_prefix: 'stars',\n exponent: 6,\n proposal_need: 250\n}\n\nexport default network","const network = {\n name: 'Stride',\n lcd_api: 'https://lcd.stride-1.bronbro.io',\n rpc_api: 'https://rpc.stride-1.bronbro.io',\n\n denom: 'ustrd',\n token_name: 'STRD',\n chainId: 'stride-1',\n mintscanAlias: 'stride',\n prefix: 'stride',\n address_prefix: 'stride',\n exponent: 6,\n proposal_need: 250\n}\n\nexport default network","import { defineStore } from 'pinia'\nimport { useLocalStorage } from '@vueuse/core'\nimport { CyberClient } from '@cybercongress/cyber-js'\nimport { Tendermint34Client } from '@cosmjs/tendermint-rpc'\nimport { generateAddress, createKeplrOfflineSinger } from '@/utils'\n\n// Account\nimport account from '@/stores/account'\n\n// Networks\nimport cosmoshub from '@/stores/networks/cosmoshub'\nimport bostrom from '@/stores/networks/bostrom'\nimport crescent from '@/stores/networks/crescent'\nimport gravity from '@/stores/networks/gravity'\nimport juno from '@/stores/networks/juno'\nimport omniflix from '@/stores/networks/omniflix'\nimport osmosis from '@/stores/networks/osmosis'\nimport stargaze from '@/stores/networks/stargaze'\nimport stride from '@/stores/networks/stride'\n\n// Demo data\nimport DemoAccount from '@/demo/Account.json'\nimport DemoKeplr from '@/demo/Keplr.json'\n\nconst networks = {\n cosmoshub,\n bostrom,\n crescent,\n gravity,\n juno,\n omniflix,\n osmosis,\n stargaze,\n stride,\n}\n\n\nexport const useGlobalStore = defineStore('global', {\n state: () => ({\n CONTRACT_ADDRESS_PASSPORT: 'bostrom1xut80d09q0tgtch8p0z4k5f88d3uvt8cvtzm5h3tu3tsy4jk9xlsfzhxel',\n CONSTITUTION_HASH: 'QmcHB9GKHAKCLQhmSj71qNJhENJJg8Gymd1PvvsCQBhG7M',\n\n isAppFullLoaded: false,\n isKeplrConnected: false,\n isAuth: false,\n\n referer: null,\n demo: false,\n tour: useLocalStorage('tour', true),\n\n currentNetwork: 'cosmoshub',\n currentProposalId: null,\n currentDeleteAddress: null,\n currentCurrency: useLocalStorage('currency', 'USDT'),\n proposalsFilter: null,\n\n tooltip: null,\n tooltipAnimate: false,\n\n IPFSNode: null,\n Keplr: {},\n\n account,\n networks,\n\n showConstitutionModal: false,\n showAddAddressModal: false,\n showDeleteAddressModal: false,\n\n prices: null,\n lastTXS: null,\n validatorInfo: {\n operator_address: null\n },\n needReload: false,\n\n formatableTokens: [\n {\n tokenName: 'BTC',\n formatTokenName: 'WBTC'\n },\n {\n tokenName: 'BOOT',\n formatTokenName: 'MBOOT',\n exponent: 6\n },\n {\n tokenName: 'HYDROGEN',\n formatTokenName: 'MHYDROGEN',\n exponent: 6\n }\n ],\n\n networkColors: {\n BOOT: '#25FF25',\n EVMOS: '#ED4E33',\n STARS: '#E94A9D',\n STRD: '#E94A9D',\n JUNO: '#F0827D',\n CRE: '#FFB04A',\n GRAV: '#0036C1',\n OSMO: '#7900E1',\n NGM: '#00646F',\n ATOM: '#2E314B',\n DSM: '#F98256',\n DYM: '#F0E0D3',\n FLIX: '#F19E22',\n AKT: '#ED3324',\n MNTL: '#F5B31D',\n AXL: '#459CEF',\n BAND: '#4022DD',\n BCNA: '#52B489',\n BTSG: '#EA335F',\n CANTO: '#74F8A2',\n HUAHUA: '#E5AB55',\n CMDX: '#FE4350',\n CORE: '#25D695',\n CRO: '#0F2C70',\n CUDOS: '#950FFF',\n FET: '#2D4BA9',\n INJ: '#363FEC',\n IRIS: '#6627BB',\n IXO: '#00D2FF',\n KAVA: '#FF232F',\n XKI: '#0000F5',\n DARC: '#4D7ABD',\n KUJI: '#E53935',\n KYVE: '#76C4B2',\n LIKE: '#B9EFE7',\n LUM: '#3374E5',\n MARS: '#AC061A',\n MED: '#3A71E2',\n NOBLE: '#9CB0FF',\n NYX: '#E57937',\n NOM: '#353340',\n PASG: '#DF5936',\n XPRT: '#D22F26',\n HASH: '#437BDA',\n QSR: '#7C2ED4',\n QCK: '#BF5822',\n REGEN: '#9CCAAF',\n ATOLO: '#56BBF8',\n SCRT: '#6594D6',\n DVPN: '#315DF6',\n CTK: '#D9AC5C',\n ROWAN: '#B1A062',\n SOMM: '#674FD1',\n FIS: '#6F5CEF',\n IOV: '#3063B7',\n TORI: '#5476F7',\n TGD: '#FFFFFF',\n UMEE: '#FDA9FF',\n XPLA: '#00B1FF'\n },\n }),\n\n\n actions: {\n // Currencies price\n async getCurrenciesPrice() {\n try {\n await fetch('https://rpc.bronbro.io/price_feed_api/tokens/')\n .then(response => response.json())\n .then(data => this.prices = data)\n } catch (error) {\n console.error(error)\n }\n },\n\n\n // Init demo\n initDemo() {\n this.Keplr = DemoKeplr\n this.account = DemoAccount\n\n this.isAppFullLoaded = true\n this.isKeplrConnected = true\n this.isAuth = true\n },\n\n\n // Init APP\n async initApp(updateOwnerMoonPassport = true, updateAvatar = true) {\n if (window.keplr) {\n // Keplr connect\n await createKeplrOfflineSinger(this.networks[this.currentNetwork].chainId)\n\n this.isKeplrConnected = true\n\n // Set jsCyber\n let tendermintClient = await Tendermint34Client.connect(this.networks.bostrom.rpc_api)\n\n this.jsCyber = new CyberClient(tendermintClient)\n\n // Get moon passport\n await this.getMoonPassport()\n\n if (updateOwnerMoonPassport && this.account.moonPassport && this.account.moonPassportOwnerAddress != this.account.moonPassport.owner) {\n // Set owner to localStorage\n this.account.moonPassportOwnerAddress = this.account.moonPassport.owner\n\n // Set current wallet\n this.account.currentWallet = this.account.moonPassportOwnerAddress\n\n // Set owner moon passport\n this.account.moonPassportOwner = this.account.moonPassport\n }\n\n // Get owner moon passport\n if (updateOwnerMoonPassport && this.account.moonPassportOwnerAddress) {\n await this.getOwnerMoonPassport()\n }\n\n // Set user info\n this.setUserInfo(updateAvatar)\n }\n },\n\n\n // Get moon passport\n async getMoonPassport() {\n try {\n // Get passport data\n this.account.moonPassport = await this.jsCyber.queryContractSmart(\n this.CONTRACT_ADDRESS_PASSPORT,\n {\n active_passport: {\n address: generateAddress('bostrom', this.Keplr.account.address)\n }\n }\n )\n } catch (error) {\n console.error(error)\n\n // Clear passport\n this.account.moonPassport = null\n }\n },\n\n\n // Get owner moon passport\n async getOwnerMoonPassport() {\n try {\n // Get passport data\n this.account.moonPassportOwner = await this.jsCyber.queryContractSmart(\n this.CONTRACT_ADDRESS_PASSPORT,\n {\n active_passport: {\n address: this.account.moonPassportOwnerAddress\n }\n }\n )\n\n // Set owner wallet\n this.account.wallets = []\n\n this.account.wallets.push({\n address: this.account.moonPassportOwner.owner,\n nickname: this.account.moonPassportOwner.extension.nickname,\n info: {\n RPDE: 0\n },\n totalTokensPrice: 0,\n networks: [\n {\n name: 'cosmoshub',\n color: '#2E314B',\n price: this.prices.find(el => el.symbol == 'ATOM').price,\n total: {\n liquid: 0,\n staked: 0,\n unbonding: 0,\n rewards: 0,\n outside: 0,\n ibc: 0,\n liquid_rewards: 0\n },\n totalRewardsPrice: 0,\n totalTokensPrice: 0\n },\n {\n name: 'bostrom',\n color: '#25FF25',\n price: this.prices.find(el => el.symbol == 'BOOT').price,\n total: {\n liquid: 0,\n staked: 0,\n unbonding: 0,\n rewards: 0,\n outside: 0,\n ibc: 0,\n liquid_rewards: 0\n },\n totalRewardsPrice: 0,\n totalTokensPrice: 0\n }\n ]\n })\n\n // Set other wallets\n if (this.account.moonPassportOwner.extension.addresses){\n this.account.moonPassportOwner.extension.addresses.forEach(address => {\n if (address.address.substring(0, 2) != '0x' && address.address.substring(0, 5) != 'terra') {\n let result = this.account.wallets.find(el => el.address == generateAddress('bostrom', address.address))\n\n if (typeof result === 'undefined') {\n this.account.wallets.push({\n address: generateAddress('bostrom', address.address),\n nickname: address.label,\n info: {\n RPDE: 0\n },\n totalTokensPrice: 0,\n networks: [\n {\n name: 'cosmoshub',\n color: '#2E314B',\n price: this.prices.find(el => el.symbol == 'ATOM').price,\n total: {\n liquid: 0,\n staked: 0,\n unbonding: 0,\n rewards: 0,\n outside: 0,\n ibc: 0,\n liquid_rewards: 0\n },\n totalRewardsPrice: 0,\n totalTokensPrice: 0\n },\n {\n name: 'bostrom',\n color: '#25FF25',\n price: this.prices.find(el => el.symbol == 'BOOT').price,\n total: {\n liquid: 0,\n staked: 0,\n unbonding: 0,\n rewards: 0,\n outside: 0,\n ibc: 0,\n liquid_rewards: 0\n },\n totalRewardsPrice: 0,\n totalTokensPrice: 0\n }\n ]\n })\n }\n }\n })\n }\n } catch (error) {\n console.error(error)\n }\n },\n\n\n // Set user info\n async setUserInfo(updateAvatar) {\n this.account.userName = this.Keplr.key.name\n this.isAuth = true\n\n if (updateAvatar) {\n // Start IPFS\n if (!this.IPFSNode) {\n this.IPFSNode = await Ipfs.create()\n }\n\n\n // Get avatar\n if (this.IPFSNode) {\n this.getAvatar()\n }\n }\n },\n\n\n // Avatar\n async getAvatar() {\n let avatarStatus = false,\n delay = 3000\n\n // Getting avatar from gateway\n setTimeout(() => {\n if (!avatarStatus && this.account.moonPassportOwner) {\n this.account.avatar = `https://gateway.ipfs.cybernode.ai/ipfs/${this.account.moonPassportOwner.extension.avatar}`\n\n avatarStatus = true\n }\n }, delay)\n\n // Getting avatar from ipfs node\n // if(this.account.moonPassportOwner) {\n // let content = []\n\n // for await (let chunk of this.IPFSNode.cat(this.account.moonPassportOwner.extension.avatar)) {\n // content.push(chunk)\n // }\n\n // if (content.length) {\n // this.account.avatar = URL.createObjectURL(new Blob(content, { type: 'image/jpeg' }))\n\n // avatarStatus = true\n // }\n // }\n },\n\n\n // Reset state\n async reset() {\n this.Keplr = {}\n this.account = account\n this.networks = networks\n\n this.isAppFullLoaded = false\n this.isKeplrConnected = false\n this.isAuth = false\n }\n }\n})\n","import { useGlobalStore } from '@/stores'\nimport { Registry } from '@cosmjs/proto-signing'\nimport { TxRaw } from 'cosmjs-types/cosmos/tx/v1beta1/tx'\nimport { AminoTypes, SigningStargateClient } from '@cosmjs/stargate'\nimport { createWasmAminoConverters } from '@cosmjs/cosmwasm-stargate'\nimport { MsgExecuteContract } from 'cosmjs-types/cosmwasm/wasm/v1/tx'\nimport { toUtf8, fromBech32, toBech32 } from '@cosmjs/encoding'\n\n\n// Generate address\nexport const generateAddress = (prefix, address) => {\n return toBech32(prefix, fromBech32(address).data)\n}\n\n\n// Create Keplr offline singer\nexport const createKeplrOfflineSinger = async chainId => {\n let store = useGlobalStore()\n\n // Get Keplr network enable\n await window.keplr.enable(chainId)\n\n // Set Offline Singer\n store.Keplr.offlineSinger = await window.getOfflineSignerAuto(chainId)\n\n // Set Keplr account\n let accounts = await store.Keplr.offlineSinger.getAccounts()\n store.Keplr.account = accounts[0]\n\n // Set Keplr key\n store.Keplr.key = await window.keplr.getKey(chainId)\n\n // Set Keplr connected status\n store.isKeplrConnected = true\n}\n\n\n\n// Prepare create passport Tx\nexport const preparePassportTx = async params => {\n let store = useGlobalStore()\n\n // Register type\n let typeRegistry = new Registry([\n ['/cosmwasm.wasm.v1.MsgExecuteContract', MsgExecuteContract]\n ])\n\n // Amino types\n let aminoTypes = new AminoTypes({\n ...createWasmAminoConverters()\n })\n\n // Create request\n await window.keplr.enable(store.networks.bostrom.chainId)\n\n let offlineSigner = await window.getOfflineSignerAuto(store.networks.bostrom.chainId)\n\n // RPC endpoint\n let rpcEndpoint = store.networks.bostrom.rpc_api\n\n // Client\n let client = await SigningStargateClient.connectWithSigner(rpcEndpoint, offlineSigner, {\n registry: typeRegistry,\n aminoTypes\n })\n\n // Fee\n let fee = {\n amount: [{\n denom: store.networks.bostrom.denom,\n amount: '0'\n }],\n gas: '1000000'\n }\n\n // MENO\n let memo = store.ref ? `bro.${store.ref}` : 'bro.app'\n\n // Funds\n let funds = []\n\n // Params\n let messages = []\n\n if(Array.isArray(params)) {\n params.forEach(el => {\n messages.push({\n typeUrl: '/cosmwasm.wasm.v1.MsgExecuteContract',\n value: MsgExecuteContract.fromPartial({\n sender: generateAddress('bostrom', store.Keplr.account.address),\n contract: store.CONTRACT_ADDRESS_PASSPORT,\n msg: toUtf8(JSON.stringify(el)),\n funds\n })\n })\n })\n } else {\n messages.push({\n typeUrl: '/cosmwasm.wasm.v1.MsgExecuteContract',\n value: MsgExecuteContract.fromPartial({\n sender: generateAddress('bostrom', store.Keplr.account.address),\n contract: store.CONTRACT_ADDRESS_PASSPORT,\n msg: toUtf8(JSON.stringify(params)),\n funds\n })\n })\n }\n\n // Sign transaction\n let txRaw = await client.sign(generateAddress('bostrom', store.Keplr.account.address), messages, fee, memo)\n\n return { txRaw, client }\n}\n\n\n\n// Prepare Tx\nexport const prepareTx = async (msg, gasSimulate = true, chain = store.currentNetwork) => {\n let store = useGlobalStore()\n\n // Create request\n let offlineSigner = await window.getOfflineSignerAuto(store.networks[chain].chainId)\n\n Object.assign(offlineSigner, {\n signAmino: offlineSigner.signAmino ?? offlineSigner.sign\n })\n\n // RPC endpoint\n let rpcEndpoint = store.networks[chain].rpc_api\n\n // Client\n let client = await SigningStargateClient.connectWithSigner(rpcEndpoint, offlineSigner)\n\n // Simulate gas\n if (gasSimulate) {\n gasUsed = await client.simulate(generateAddress(store.networks[chain].address_prefix, store.account.currentWallet), msg)\n }\n\n let fee = {\n amount: [{\n denom: store.networks[chain].denom,\n amount: '0'\n }],\n gas: gasSimulate ? Math.round(gasUsed * 1.3).toString() : '1000000'\n }\n\n // MENO\n let memo = store.ref ? `bro.${store.ref}` : 'bro.app'\n\n // Sign transaction\n let txRaw = await client.sign(generateAddress(store.networks[chain].address_prefix, store.account.currentWallet), msg, fee, memo)\n\n return { txRaw, client }\n}\n\n\n\n// Send Tx\nexport const sendTx = async ({ txRaw, client }) => {\n // Encode TxRaw\n let txBytes = TxRaw.encode(txRaw).finish()\n\n // Broadcast Tx\n let result = await client.broadcastTx(txBytes, client.broadcastTimeoutMs, client.broadcastPollIntervalMs)\n\n return result\n}\n\n\n\n// Currency conversion\nexport const currencyСonversion = (amount, currency) => {\n let store = useGlobalStore(),\n tokenPrice = formatTokenPrice(store.prices.find(el => el.symbol == currency).price, currency),\n toPrice = 1\n\n if (store.currentCurrency != 'USDT') {\n currency = store.currentCurrency\n\n if (currency == 'BTC') {\n currency = formatTokenName('BTC')\n }\n\n toPrice = formatTokenPrice(store.prices.find(el => el.symbol == currency).price, currency)\n }\n\n return amount * (tokenPrice / toPrice)\n}\n\n\n\n// Formating token name\nexport const formatTokenName = (tokenName) => {\n let store = useGlobalStore(),\n newTokenName = ''\n\n newTokenName = store.formatableTokens.find(el => el.tokenName == tokenName)\n\n return newTokenName ? newTokenName.formatTokenName : tokenName\n}\n\n\n// Formating token amount\nexport const formatTokenAmount = (amount, tokenName) => {\n let store = useGlobalStore(),\n formatAmount = 0,\n formatableToken = store.formatableTokens.find(el => el.tokenName == tokenName)\n\n formatableToken\n ? formatAmount = amount / Math.pow(10, formatableToken.exponent)\n : formatAmount = amount / Math.pow(10, store.prices.find(el => el.symbol == tokenName).exponent)\n\n return formatAmount\n}\n\n\n// Formating token amount to current denom\nexport const formatAmountToCurrentDenom = (amount, tokenName) => {\n let store = useGlobalStore()\n\n return amount * (formatTokenPrice(store.prices.find(e => e.symbol == tokenName).price) / formatTokenPrice(store.prices.find(e => e.symbol == store.networks[store.currentNetwork].token_name).price))\n}\n\n\n// Formating token price\nexport const formatTokenPrice = (price, tokenName) => {\n let store = useGlobalStore(),\n formatPrice = 0,\n formatableToken = store.formatableTokens.find(el => el.tokenName == tokenName)\n\n formatableToken\n ? formatPrice = price * Math.pow(10, formatableToken.exponent)\n : formatPrice = price\n\n return formatPrice\n}","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"js/\" + chunkId + \".\" + {\"6\":\"47fe4917\",\"151\":\"015a4032\",\"184\":\"d0d61a96\",\"365\":\"2aa0b550\",\"394\":\"737a2fc0\",\"572\":\"7c959ddf\",\"573\":\"d34451d8\",\"574\":\"649ffda7\",\"838\":\"76d41b3d\",\"866\":\"2932d9af\",\"869\":\"aab32e01\",\"895\":\"dc9922ea\",\"955\":\"8c855972\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"css/\" + chunkId + \".\" + {\"6\":\"337099b6\",\"151\":\"9b22bb07\",\"365\":\"a0cdc518\",\"394\":\"e54cc163\",\"572\":\"9d40147a\",\"573\":\"f6f86d69\",\"574\":\"843340da\",\"895\":\"2aa2e47e\"}[chunkId] + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"bro_app:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = function(chunkId, fullhref, oldTag, resolve, reject) {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tvar onLinkComplete = function(event) {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + realHref + \")\");\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = function(href, fullhref) {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = function(chunkId) {\n\treturn new Promise(function(resolve, reject) {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t143: 0\n};\n\n__webpack_require__.f.miniCss = function(chunkId, promises) {\n\tvar cssChunks = {\"6\":1,\"151\":1,\"365\":1,\"394\":1,\"572\":1,\"573\":1,\"574\":1,\"895\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, function(e) {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t143: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkbro_app\"] = self[\"webpackChunkbro_app\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [998], function() { return __webpack_require__(18632); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["class","_createElementVNode","src","_imports_0","alt","_createElementBlock","_hoisted_1","_hoisted_2","_hoisted_3","_toDisplayString","_ctx","$t","_hoisted_4","script","__exports__","render","store","useGlobalStore","i18n","inject","route","useRoute","router","useRouter","emitter","title","useTitle","ua","detect","navigator","userAgent","layout","computed","meta","onBeforeMount","value","global","t","window","addEventListener","showAddAddressModal","location","reload","watch","currentNetwork","async","createKeplrOfflineSinger","networks","chainId","on","keplr","push","notice","tooltipAnimate","tooltip","setTimeout","setNotice","IPFSNode","emit","showDropdown","ref","target","selectCurrency","newCurrency","currentCurrency","onClickOutside","event","onMounted","header","document","querySelector","stickyEvent","scrollY","classList","add","remove","isActive","_imports_2","href","rel","_imports_1","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","routes","path","name","component","errorLayout","accessDenied","mainPageLayout","defaultLayout","createRouter","history","createWebHistory","urlsExceptions","beforeResolve","to","from","next","query","demo","referer","params","network","proposal_id","currentProposalId","filter","proposalsFilter","prices","getCurrenciesPrice","includes","fullPath","isAuth","account","reset","initDemo","moonPassport","isKeplrConnected","initApp","matched","some","record","access","length","moonPassportOwner","isAppFullLoaded","en","message","createI18n","locale","fallbackLocale","messages","VueI18nMessages","app","createApp","App","pinia","createPinia","mitt","use","Notifications","provide","config","globalProperties","$filters","toFixed","limit","newValue","VueCountdown","mount","userName","tempUserName","useLocalStorage","avatar","signature","moonPassportOwnerAddress","currentWallet","wallets","info","RPDE","total","liquid","staked","unbonding","rewards","outside","ibc","totalTokensPrice","lcd_api","rpc_api","index_api","denom","token_name","mintscanAlias","prefix","address_prefix","exponent","proposal_need","cosmoshub","bostrom","crescent","gravity","juno","omniflix","osmosis","stargaze","stride","defineStore","state","CONTRACT_ADDRESS_PASSPORT","CONSTITUTION_HASH","tour","currentDeleteAddress","Keplr","showConstitutionModal","showDeleteAddressModal","lastTXS","validatorInfo","operator_address","needReload","formatableTokens","tokenName","formatTokenName","networkColors","BOOT","EVMOS","STARS","STRD","JUNO","CRE","GRAV","OSMO","NGM","ATOM","DSM","DYM","FLIX","AKT","MNTL","AXL","BAND","BCNA","BTSG","CANTO","HUAHUA","CMDX","CORE","CRO","CUDOS","FET","INJ","IRIS","IXO","KAVA","XKI","DARC","KUJI","KYVE","LIKE","LUM","MARS","MED","NOBLE","NYX","NOM","PASG","XPRT","HASH","QSR","QCK","REGEN","ATOLO","SCRT","DVPN","CTK","ROWAN","SOMM","FIS","IOV","TORI","TGD","UMEE","XPLA","actions","fetch","then","response","json","data","this","error","console","DemoKeplr","DemoAccount","updateOwnerMoonPassport","updateAvatar","tendermintClient","Tendermint34Client","connect","jsCyber","CyberClient","getMoonPassport","owner","getOwnerMoonPassport","setUserInfo","queryContractSmart","active_passport","address","generateAddress","nickname","extension","color","price","find","el","symbol","liquid_rewards","totalRewardsPrice","addresses","forEach","substring","result","label","key","Ipfs","create","getAvatar","avatarStatus","delay","toBech32","fromBech32","enable","offlineSinger","getOfflineSignerAuto","accounts","getAccounts","getKey","preparePassportTx","typeRegistry","Registry","MsgExecuteContract","aminoTypes","AminoTypes","createWasmAminoConverters","offlineSigner","rpcEndpoint","client","SigningStargateClient","connectWithSigner","registry","fee","amount","gas","memo","funds","Array","isArray","typeUrl","fromPartial","sender","contract","msg","toUtf8","JSON","stringify","txRaw","sign","prepareTx","gasSimulate","chain","Object","assign","signAmino","gasUsed","simulate","Math","round","toString","sendTx","txBytes","TxRaw","encode","finish","broadcastTx","broadcastTimeoutMs","broadcastPollIntervalMs","currencyСonversion","currency","tokenPrice","formatTokenPrice","toPrice","newTokenName","formatTokenAmount","formatAmount","formatableToken","pow","formatAmountToCurrentDenom","e","formatPrice","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","keys","every","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","f","chunkId","Promise","all","reduce","promises","u","miniCssF","g","globalThis","Function","obj","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","url","done","needAttach","scripts","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","onScriptComplete","prev","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","bind","type","head","appendChild","Symbol","toStringTag","nmd","paths","children","p","createStylesheet","fullhref","oldTag","resolve","reject","linkTag","onLinkComplete","errorType","realHref","err","Error","code","request","insertBefore","nextSibling","findStylesheet","existingLinkTags","tag","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","miniCss","cssChunks","installedChunks","installedChunkData","promise","loadingEnded","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/js/app.c5bd210b.js b/js/app.c5bd210b.js deleted file mode 100644 index 41ce9ee..0000000 --- a/js/app.c5bd210b.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(){var e={18632:function(e,t,o){"use strict";var n=o(49242),s=o(61020),a=(o(57658),o(73396)),r=o(44870),i=o(87139),c=o(27795),l=o(34776),u=o(22483),d=o(90466),_=o(42325),p=o(55177),m=o.n(p),g=o.p+"img/mobile_plug_img.2ff74533.svg";const h={class:"mobile_plug"},f=(0,a._)("div",{class:"image"},[(0,a._)("img",{src:g,alt:""})],-1),b={class:"title"},v={class:"desc"};function w(e,t){return(0,a.wg)(),(0,a.iD)("div",h,[f,(0,a._)("div",b,(0,i.zw)(e.$t("message.mobile_plug_title")),1),(0,a._)("div",v,(0,i.zw)(e.$t("message.mobile_plug_desc")),1)])}var y=o(40089);const k={},x=(0,y.Z)(k,[["render",w]]);var A=x;const T=c+"#ic_notification_success",D=c+"#ic_notification_error",C=c+"#ic_notification_progress",S=c+"#ic_link_arrow",P={key:0,class:"loader_wrap"},O=(0,a._)("div",{class:"loader"},[(0,a._)("span")],-1),N=[O],M={class:"notification"},E={key:0,class:"icon green"},F=(0,a._)("svg",null,[(0,a._)("use",{"xlink:href":T})],-1),q=[F],U={key:1,class:"icon red"},B=(0,a._)("svg",null,[(0,a._)("use",{"xlink:href":D})],-1),j=[B],R={key:2,class:"icon"},I=(0,a._)("svg",null,[(0,a._)("use",{"xlink:href":C})],-1),z=[I],K={key:3},L={class:"chain"},H={class:"tx_type"},W={class:"title"},Y=["innerHTML"],V={key:5,class:"explorer"},$=["href"],G=(0,a._)("svg",null,[(0,a._)("use",{"xlink:href":S})],-1);var J={__name:"App",setup(e){const t=(0,l.s)(),o=(0,a.f3)("i18n"),n=(0,u.yj)(),s=(0,u.tv)(),c=(0,a.f3)("emitter"),p=(0,d.ZQf)(),g=m().parse(navigator.userAgent),h=(0,a.Fl)((()=>n.meta.layout||"default-layout"));return(0,a.wF)((()=>{p.value=o.global.t("message.page_title"),window.addEventListener("keplr_keystorechange",(()=>{t.showAddAddressModal||window.location.reload()}))})),(0,a.YP)((0,a.Fl)((()=>t.currentNetwork)),(async()=>{await(0,_.wO)(t.networks[t.currentNetwork].chainId)})),c.on("initApp",(async()=>{window.keplr?s.push("/"):s.push("/keplr_error")})),c.on("setNotification",(e=>{t.tooltipAnimate=!1,t.tooltip=e,setTimeout((()=>t.tooltipAnimate=!0),10)})),(e,o)=>{const s=(0,a.up)("notifications");return(0,r.SU)(t).isAppFullLoaded?((0,a.wg)(),(0,a.iD)(a.HY,{key:1},[(0,r.SU)(t).demo||"/welcome"==(0,r.SU)(n).path||"Desktop"==(0,r.SU)(g).device.type?((0,a.wg)(),(0,a.iD)(a.HY,{key:1},[((0,a.wg)(),(0,a.j4)((0,a.LL)(h.value))),(0,a.Wm)(s,{width:"280px",group:"default"},{body:(0,a.w5)((t=>[(0,a._)("div",M,["success"==t.item.type?((0,a.wg)(),(0,a.iD)("div",E,q)):(0,a.kq)("",!0),"error"==t.item.type?((0,a.wg)(),(0,a.iD)("div",U,j)):(0,a.kq)("",!0),t.item.type?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",R,z)),t.item.data.chain&&t.item.data.tx_type?((0,a.wg)(),(0,a.iD)("div",K,[(0,a._)("div",L,(0,i.zw)(t.item.data.chain),1),(0,a._)("div",H,(0,i.zw)(t.item.data.tx_type),1)])):(0,a.kq)("",!0),(0,a._)("div",W,(0,i.zw)(t.item.title),1),t.item.text?((0,a.wg)(),(0,a.iD)("div",{key:4,class:"text",innerHTML:t.item.text},null,8,Y)):(0,a.kq)("",!0),t.item.data.tx_hash?((0,a.wg)(),(0,a.iD)("div",V,[(0,a._)("a",{href:`https://www.mintscan.io/cosmos/txs/${t.item.data.tx_hash}`,target:"_blank",rel:"noopener nofollow"},[(0,a._)("span",null,(0,i.zw)(e.$t("message.notification_explorer_link")),1),G],8,$)])):(0,a.kq)("",!0)])])),_:1})],64)):((0,a.wg)(),(0,a.j4)(A,{key:0}))],64)):((0,a.wg)(),(0,a.iD)("div",P,N))}}};const Z=J;var X=Z,Q=o.p+"img/logo.cdb53eb9.svg",ee=o.p+"img/bro_logo.9d9857b3.svg",te=o.p+"img/bro_score_logo.9e597a4d.svg",oe=o.p+"img/bro_stats_logo.509e23e1.svg";const ne=e=>((0,a.dD)("data-v-e24fdca2"),e=e(),(0,a.Cn)(),e),se=c+"#ic_notification",ae={key:0,class:"notifications"},re=ne((()=>(0,a._)("div",{class:"icon"},[(0,a._)("svg",null,[(0,a._)("use",{"xlink:href":se})])],-1)));var ie={__name:"Notifications",setup(e){const t=(0,l.s)();return(e,o)=>(0,r.SU)(t).tooltip?((0,a.wg)(),(0,a.iD)("section",ae,[(0,a._)("div",{class:(0,i.C_)(["data",{animate:(0,r.SU)(t).tooltipAnimate}])},[re,(0,a._)("span",null,(0,i.zw)((0,r.SU)(t).tooltip),1)],2)])):(0,a.kq)("",!0)}};const ce=(0,y.Z)(ie,[["__scopeId","data-v-e24fdca2"]]);var le=ce,ue={__name:"IPFS",setup(e){const t=(0,l.s)(),o=(0,a.f3)("emitter"),n=(0,a.f3)("i18n");function s(){t.IPFSNode?o.emit("setNotification",n.global.t("message.notice_ipfs_active")):o.emit("setNotification",n.global.t("message.notice_ipfs_not_active"))}return(e,o)=>((0,a.wg)(),(0,a.iD)("div",{class:(0,i.C_)(["ipfs_status",{green:(0,r.SU)(t).IPFSNode||(0,r.SU)(t).demo}]),onMouseover:s},[(0,a._)("div",null,(0,i.zw)(e.$t("message.ipfs")),1)],34))}};const de=(0,y.Z)(ue,[["__scopeId","data-v-0c91de1f"]]);var _e=de;const pe=e=>((0,a.dD)("data-v-28434968"),e=e(),(0,a.Cn)(),e),me=c+"#ic_arr_down",ge=pe((()=>(0,a._)("svg",null,[(0,a._)("use",{"xlink:href":me})],-1))),he={class:"dropdown"};var fe={__name:"Currency",setup(e){const t=(0,l.s)(),o=(0,a.f3)("emitter"),s=(0,r.iH)(!1),c=(0,r.iH)(null);function u(e){t.currentCurrency=e,s.value=!1}return(0,d.i9H)(c,(e=>s.value=!1)),(e,l)=>((0,a.wg)(),(0,a.iD)("div",{class:"currency",onMouseover:l[5]||(l[5]=t=>(0,r.SU)(o).emit("setNotification",e.$t("message.notice_currency"))),ref_key:"target",ref:c},[(0,a._)("button",{class:(0,i.C_)(["btn",{active:s.value}]),onClick:l[0]||(l[0]=(0,n.iM)((e=>s.value=!s.value),["prevent"]))},[(0,a._)("span",null,(0,i.zw)((0,r.SU)(t).currentCurrency),1),ge],2),(0,a.Wm)(n.uT,{name:"fadeUp",mode:"out-in"},{default:(0,a.w5)((()=>[(0,a.wy)((0,a._)("div",he,[(0,a._)("div",null,[(0,a._)("button",{class:(0,i.C_)(["btn",{active:"BTC"==(0,r.SU)(t).currentCurrency}]),onClick:l[1]||(l[1]=(0,n.iM)((e=>u("BTC")),["prevent"]))},"BTC",2)]),(0,a._)("div",null,[(0,a._)("button",{class:(0,i.C_)(["btn",{active:"ETH"==(0,r.SU)(t).currentCurrency}]),onClick:l[2]||(l[2]=(0,n.iM)((e=>u("ETH")),["prevent"]))},"ETH",2)]),(0,a._)("div",null,[(0,a._)("button",{class:(0,i.C_)(["btn",{active:"ATOM"==(0,r.SU)(t).currentCurrency}]),onClick:l[3]||(l[3]=(0,n.iM)((e=>u("ATOM")),["prevent"]))},"ATOM",2)]),(0,a._)("div",null,[(0,a._)("button",{class:(0,i.C_)(["btn",{active:"USDT"==(0,r.SU)(t).currentCurrency}]),onClick:l[4]||(l[4]=(0,n.iM)((e=>u("USDT")),["prevent"]))},"USDT",2)])],512),[[n.F8,s.value]])])),_:1})],544))}};const be=(0,y.Z)(fe,[["__scopeId","data-v-28434968"]]);var ve=be;const we=e=>((0,a.dD)("data-v-4c190ac0"),e=e(),(0,a.Cn)(),e),ye=c+"#ic_wallet",ke={class:"user"},xe=we((()=>(0,a._)("div",{class:"icon"},[(0,a._)("svg",null,[(0,a._)("use",{"xlink:href":ye})])],-1))),Ae={key:0},Te={key:1},De={key:0,src:"/demo_avatar.jpg",alt:""},Ce=["src"],Se=we((()=>(0,a._)("div",{class:"icon"},[(0,a._)("svg",null,[(0,a._)("use",{"xlink:href":ye})])],-1))),Pe={key:0},Oe={key:1},Ne=we((()=>(0,a._)("img",{src:"/demo_avatar.jpg",alt:""},null,-1))),Me={class:"account_link"},Ee=we((()=>(0,a._)("div",{class:"icon"},[(0,a._)("svg",null,[(0,a._)("use",{"xlink:href":ye})])],-1))),Fe={key:0},qe={key:1},Ue={key:0,src:"/demo_avatar.jpg",alt:""},Be=["src"];var je={__name:"User",setup(e){const t=(0,l.s)(),o=(0,a.f3)("emitter");return(e,n)=>{const s=(0,a.up)("router-link");return(0,a.wg)(),(0,a.iD)("div",ke,[(0,r.SU)(t).account.moonPassport?((0,a.wg)(),(0,a.iD)(a.HY,{key:0},[(0,r.SU)(t).demo?((0,a.wg)(),(0,a.iD)(a.HY,{key:1},[(0,a.Wm)(s,{to:"/account/cosmoshub?demo=true",class:"account_link"},{default:(0,a.w5)((()=>[Se,(0,a._)("div",{class:"name",onMouseover:n[2]||(n[2]=t=>(0,r.SU)(o).emit("setNotification",e.$t("message.notice_username")))},[(0,r.SU)(t).account.moonPassportOwner?((0,a.wg)(),(0,a.iD)("span",Pe,(0,i.zw)((0,r.SU)(t).account.moonPassportOwner.extension.nickname),1)):((0,a.wg)(),(0,a.iD)("span",Oe,(0,i.zw)((0,r.SU)(t).account.userName),1))],32)])),_:1}),(0,a.Wm)(s,{to:"/account/passport?demo=true",class:"photo",onMouseover:n[3]||(n[3]=t=>(0,r.SU)(o).emit("setNotification",e.$t("message.notice_avatar")))},{default:(0,a.w5)((()=>[Ne])),_:1})],64)):((0,a.wg)(),(0,a.iD)(a.HY,{key:0},[(0,a.Wm)(s,{to:"/account/cosmoshub",class:"account_link"},{default:(0,a.w5)((()=>[xe,(0,a._)("div",{class:"name",onMouseover:n[0]||(n[0]=t=>(0,r.SU)(o).emit("setNotification",e.$t("message.notice_username")))},[(0,r.SU)(t).account.moonPassportOwner?((0,a.wg)(),(0,a.iD)("span",Ae,(0,i.zw)((0,r.SU)(t).account.moonPassportOwner.extension.nickname),1)):((0,a.wg)(),(0,a.iD)("span",Te,(0,i.zw)((0,r.SU)(t).account.userName),1))],32)])),_:1}),(0,a.Wm)(s,{to:"/account/passport",class:"photo",onMouseover:n[1]||(n[1]=t=>(0,r.SU)(o).emit("setNotification",e.$t("message.notice_avatar")))},{default:(0,a.w5)((()=>[(0,r.SU)(t).account.avatar?((0,a.wg)(),(0,a.iD)(a.HY,{key:0},[(0,r.SU)(t).demo?((0,a.wg)(),(0,a.iD)("img",De)):((0,a.wg)(),(0,a.iD)("img",{key:1,src:(0,r.SU)(t).account.avatar,alt:""},null,8,Ce))],64)):(0,a.kq)("",!0)])),_:1})],64))],64)):((0,a.wg)(),(0,a.iD)(a.HY,{key:1},[(0,a._)("div",Me,[Ee,(0,a._)("div",{class:"name",onMouseover:n[4]||(n[4]=t=>(0,r.SU)(o).emit("setNotification",e.$t("message.notice_username")))},[(0,r.SU)(t).account.moonPassportOwner?((0,a.wg)(),(0,a.iD)("span",Fe,(0,i.zw)((0,r.SU)(t).account.moonPassportOwner.extension.nickname),1)):((0,a.wg)(),(0,a.iD)("span",qe,(0,i.zw)((0,r.SU)(t).account.userName),1))],32)]),(0,a._)("div",{class:"photo",onMouseover:n[5]||(n[5]=t=>(0,r.SU)(o).emit("setNotification",e.$t("message.notice_avatar")))},[(0,r.SU)(t).demo?((0,a.wg)(),(0,a.iD)("img",Ue)):((0,a.wg)(),(0,a.iD)("img",{key:1,src:(0,r.SU)(t).account.avatar,alt:""},null,8,Be))],32)],64))])}}};const Re=(0,y.Z)(je,[["__scopeId","data-v-4c190ac0"]]);var Ie=Re;const ze=e=>((0,a.dD)("data-v-7fc8a49b"),e=e(),(0,a.Cn)(),e),Ke=c+"#ic_arr_down",Le={class:"cont"},He={class:"info row"},We=ze((()=>(0,a._)("img",{src:Q,alt:""},null,-1))),Ye=ze((()=>(0,a._)("svg",{class:"arr"},[(0,a._)("use",{"xlink:href":Ke})],-1))),Ve=[We,Ye],$e={class:"mini_modal"},Ge=(0,a.uE)('
    ',3),Je=[Ge];var Ze={__name:"Header",setup(e){const t=(0,l.s)(),o=(0,u.yj)(),s=(0,r.iH)(!1),i=(0,r.iH)(null);return(0,a.bv)((()=>{const e=document.querySelector("header");e&&(e.stickyEvent=()=>setTimeout((()=>{window.scrollY>0?e.classList.add("stuck"):e.classList.remove("stuck")})),document.addEventListener("scroll",e.stickyEvent))})),(0,d.i9H)(i,(e=>s.value=!1)),(e,c)=>((0,a.wg)(),(0,a.iD)("header",null,[(0,a._)("div",Le,[(0,a._)("div",He,[(0,a._)("div",{class:"logo",ref_key:"target",ref:i},[(0,a._)("div",{class:"btn",onClick:c[0]||(c[0]=(0,n.iM)((e=>s.value=!s.value),["prevent"]))},Ve),(0,a.wy)((0,a._)("div",$e,Je,512),[[n.F8,s.value]])],512),"KeplrError"!=(0,r.SU)(o).name&&"KeplrReload"!=(0,r.SU)(o).name?((0,a.wg)(),(0,a.j4)(le,{key:0})):(0,a.kq)("",!0),"KeplrError"!=(0,r.SU)(o).name&&"KeplrReload"!=(0,r.SU)(o).name?((0,a.wg)(),(0,a.j4)(_e,{key:1})):(0,a.kq)("",!0),(0,r.SU)(t).isAuth?((0,a.wg)(),(0,a.j4)(ve,{key:2})):(0,a.kq)("",!0),(0,r.SU)(t).isAuth?((0,a.wg)(),(0,a.j4)(Ie,{key:3})):(0,a.kq)("",!0)])])]))}};const Xe=(0,y.Z)(Ze,[["__scopeId","data-v-7fc8a49b"]]);var Qe=Xe;const et=e=>((0,a.dD)("data-v-58ee27f5"),e=e(),(0,a.Cn)(),e),tt=c+"#ic_bug",ot=c+"#ic_close",nt=c+"#ic_feedback",st=c+"#ic_telegram",at=c+"#ic_link_arrow",rt=c+"#ic_github",it={class:"feedback"},ct=et((()=>(0,a._)("svg",{class:"icon"},[(0,a._)("use",{"xlink:href":tt})],-1))),lt=[ct],ut={class:"info"},dt=et((()=>(0,a._)("svg",null,[(0,a._)("use",{"xlink:href":ot})],-1))),_t=[dt],pt={class:"head"},mt=et((()=>(0,a._)("svg",{class:"icon"},[(0,a._)("use",{"xlink:href":nt})],-1))),gt={class:"title"},ht={class:"desc"},ft={class:"links"},bt={href:"https://t.me/bro_n_bro_community",target:"_blank",rel:"noopener nofollow"},vt=et((()=>(0,a._)("svg",{class:"icon"},[(0,a._)("use",{"xlink:href":st})],-1))),wt=et((()=>(0,a._)("svg",{class:"arrow"},[(0,a._)("use",{"xlink:href":at})],-1))),yt={href:"https://github.com/bro-n-bro/bro.app/issues/new",target:"_blank",rel:"noopener nofollow"},kt=et((()=>(0,a._)("svg",{class:"icon"},[(0,a._)("use",{"xlink:href":rt})],-1))),xt=et((()=>(0,a._)("svg",{class:"arrow"},[(0,a._)("use",{"xlink:href":at})],-1)));var At={__name:"Feedback",setup(e){const t=(0,r.iH)(!1);return(e,o)=>((0,a.wg)(),(0,a.iD)("section",it,[(0,a._)("button",{class:(0,i.C_)(["btn",{active:t.value}]),onClick:o[0]||(o[0]=(0,n.iM)((e=>t.value=!t.value),["prevent"]))},lt,2),(0,a._)("div",ut,[(0,a._)("button",{class:"close_btn",onClick:o[1]||(o[1]=(0,n.iM)((e=>t.value=!t.value),["prevent"]))},_t),(0,a._)("div",pt,[mt,(0,a._)("div",null,[(0,a._)("div",gt,(0,i.zw)(e.$t("message.feedback_title")),1),(0,a._)("div",ht,(0,i.zw)(e.$t("message.feedback_desc")),1)])]),(0,a._)("div",ft,[(0,a._)("div",null,[(0,a._)("a",bt,[vt,(0,a._)("span",null,(0,i.zw)(e.$t("message.feedback_telegram_link")),1),wt])]),(0,a._)("div",null,[(0,a._)("a",yt,[kt,(0,a._)("span",null,(0,i.zw)(e.$t("message.feedback_github_link")),1),xt])])])])]))}};const Tt=(0,y.Z)(At,[["__scopeId","data-v-58ee27f5"]]);var Dt=Tt,Ct={__name:"Error",setup(e){const t=(0,l.s)();return(e,o)=>{const n=(0,a.up)("RouterView");return(0,a.wg)(),(0,a.iD)(a.HY,null,[(0,a._)("div",{class:(0,i.C_)(["main",{tour_show:(0,r.SU)(t).tour}])},[(0,a.Wm)(Qe),(0,a.Wm)(n)],2),(0,a.Wm)(Dt)],64)}}};const St=Ct;var Pt=St;const Ot=e=>((0,a.dD)("data-v-1b624b55"),e=e(),(0,a.Cn)(),e),Nt=c+"#ic_notice2",Mt={class:"demo_notice"},Et=Ot((()=>(0,a._)("svg",{class:"icon"},[(0,a._)("use",{"xlink:href":Nt})],-1))),Ft=Ot((()=>(0,a._)("div",{class:"sep"},"—",-1)));var qt={__name:"DemoNotice",setup(e){const t=(0,a.f3)("emitter");return(e,o)=>((0,a.wg)(),(0,a.iD)("div",Mt,[Et,(0,a._)("span",null,(0,i.zw)(e.$t("message.demo_notice_text")),1),Ft,(0,a._)("button",{class:"btn",onClick:o[0]||(o[0]=(0,n.iM)((e=>(0,r.SU)(t).emit("initApp")),["prevent"]))},(0,i.zw)(e.$t("message.btn_connect_wallet")),1)]))}};const Ut=(0,y.Z)(qt,[["__scopeId","data-v-1b624b55"]]);var Bt=Ut;const jt=e=>((0,a.dD)("data-v-226ffc1c"),e=e(),(0,a.Cn)(),e),Rt=c+"#ic_feedback",It=jt((()=>(0,a._)("svg",{class:"icon"},[(0,a._)("use",{"xlink:href":Rt})],-1))),zt=[It];var Kt={__name:"TourButton",setup(e){const t=(0,l.s)();return(e,o)=>((0,a.wg)(),(0,a.iD)("button",{class:"get_tour_btn",onClick:o[0]||(o[0]=(0,n.iM)((e=>(0,r.SU)(t).tour=!0),["prevent"]))},zt))}};const Lt=(0,y.Z)(Kt,[["__scopeId","data-v-226ffc1c"]]);var Ht=Lt,Wt=o.p+"img/ic_and.878b1ea5.svg",Yt=o.p+"img/spacebox_logo.9e80ac47.svg";const Vt=e=>((0,a.dD)("data-v-919445e8"),e=e(),(0,a.Cn)(),e),$t=c+"#ic_social_github",Gt=c+"#ic_social_telegram",Jt=c+"#ic_social_twitter",Zt=c+"#ic_social_keybase",Xt=c+"#ic_social_cyb",Qt={class:"cont row"},eo={class:"text"},to=Vt((()=>(0,a._)("img",{src:Wt,alt:""},null,-1))),oo={href:"https://github.com/bro-n-bro/spacebox",target:"_blank",rel:"noopener nofollow",class:"powered"},no=Vt((()=>(0,a._)("img",{src:Yt,alt:""},null,-1))),so=Vt((()=>(0,a._)("div",{class:"socials"},[(0,a._)("a",{href:"https://github.com/bro-n-bro",target:"_blank",rel:"noopener nofollow"},[(0,a._)("svg",{class:"icon"},[(0,a._)("use",{"xlink:href":$t})])]),(0,a._)("a",{href:"https://t.me/bro_n_bro_community",target:"_blank",rel:"noopener nofollow"},[(0,a._)("svg",{class:"icon"},[(0,a._)("use",{"xlink:href":Gt})])]),(0,a._)("a",{href:"https://twitter.com/Bro_n_Bro",target:"_blank",rel:"noopener nofollow"},[(0,a._)("svg",{class:"icon"},[(0,a._)("use",{"xlink:href":Jt})])]),(0,a._)("a",{href:"https://keybase.io/bronbroio",target:"_blank",rel:"noopener nofollow"},[(0,a._)("svg",{class:"icon"},[(0,a._)("use",{"xlink:href":Zt})])]),(0,a._)("a",{href:"https://cyb.ai/network/bostrom/contract/bostrom1ndwqfv2skglrmsqu4wlneepthyrquf9r7sx6r0",target:"_blank",rel:"noopener nofollow"},[(0,a._)("svg",{class:"icon"},[(0,a._)("use",{"xlink:href":Xt})])])],-1)));function ao(e,t){return(0,a.wg)(),(0,a.iD)("footer",null,[(0,a._)("div",Qt,[(0,a._)("div",eo,[(0,a._)("span",null,(0,i.zw)(e.$t("message.footer_contact")),1),to,(0,a._)("span",null,(0,i.zw)(e.$t("message.footer_support")),1)]),(0,a._)("a",oo,[no,(0,a._)("span",null,(0,i.zw)(e.$t("message.footer_powered")),1)]),so])])}const ro={},io=(0,y.Z)(ro,[["render",ao],["__scopeId","data-v-919445e8"]]);var co=io,lo={__name:"Default",setup(e){const t=(0,l.s)();return(e,o)=>{const n=(0,a.up)("RouterView");return(0,a.wg)(),(0,a.iD)(a.HY,null,[(0,a._)("div",{class:(0,i.C_)(["main",{tour_show:(0,r.SU)(t).tour}])},[(0,a.Wm)(Qe),(0,r.SU)(t).demo?((0,a.wg)(),(0,a.j4)(Bt,{key:0})):(0,a.kq)("",!0),(0,a.Wm)(n)],2),(0,a.Wm)(co),(0,a.Wm)(Ht),(0,a.Wm)(Dt)],64)}}};const uo=lo;var _o=uo,po={__name:"MainPage",setup(e){const t=(0,l.s)();return(e,o)=>{const n=(0,a.up)("RouterView");return(0,a.wg)(),(0,a.iD)(a.HY,null,[(0,a._)("div",{class:(0,i.C_)(["main no_pad",{tour_show:(0,r.SU)(t).tour}])},[(0,a.Wm)(n)],2),(0,a.Wm)(Dt)],64)}}};const mo=po;var go=mo;const ho=[{path:"/:pathMatch(.*)",name:"Error",component:()=>o.e(955).then(o.bind(o,19955)),meta:{layout:Pt,accessDenied:[]}},{path:"/keplr_error",name:"KeplrError",component:()=>o.e(394).then(o.bind(o,34186)),meta:{layout:Pt,accessDenied:["with_keplr"]}},{path:"/keplr_reload",name:"KeplrReload",component:()=>o.e(6).then(o.bind(o,95418)),meta:{layout:Pt,accessDenied:["with_keplr"]}},{path:"/under_construction",name:"Under construction",component:()=>o.e(184).then(o.bind(o,69184)),meta:{layout:Pt,accessDenied:["without_keplr"]}},{path:"/",name:"MainPage",component:()=>o.e(838).then(o.bind(o,90838)),meta:{layout:go,accessDenied:[]}},{path:"/welcome",name:"Welcome",component:()=>o.e(895).then(o.bind(o,35235)),meta:{layout:go,accessDenied:["with_passport","with_global_passport"]}},{path:"/create_passport",name:"CreatePassport",component:()=>Promise.all([o.e(869),o.e(151)]).then(o.bind(o,24131)),meta:{layout:_o,accessDenied:["without_keplr","not_connected","with_passport"]}},{path:"/proposals/:network",name:"Proposals",component:()=>o.e(483).then(o.bind(o,20633)),meta:{layout:_o,accessDenied:["without_keplr","not_connected","without_passport"]}},{path:"/:network/proposal/:proposal_id",name:"Proposal",component:()=>Promise.all([o.e(866),o.e(778)]).then(o.bind(o,65778)),meta:{layout:_o,accessDenied:["without_keplr","not_connected","without_passport"]}},{path:"/account/:network",name:"Account",component:()=>Promise.all([o.e(866),o.e(572)]).then(o.bind(o,29075)),meta:{layout:_o,accessDenied:["without_keplr","not_connected","without_passport"]}},{path:"/account/passport",name:"Passport",component:()=>Promise.all([o.e(869),o.e(573)]).then(o.bind(o,78573)),meta:{layout:_o,accessDenied:["without_keplr","not_connected","without_passport"]}}],fo=(0,u.p7)({history:(0,u.PO)(),routes:ho}),bo=["/","/welcome","/keplr_error","/keplr_reload","/under_construction"];fo.beforeResolve((async(e,t,o)=>{let n=(0,l.s)();e.query.demo?n.demo=!0:n.demo=!1,e.query.ref&&(n.referer=e.query.ref),e.params.network&&(n.currentNetwork=e.params.network),e.params.proposal_id&&(n.currentProposalId=e.params.proposal_id),e.query.filter&&(n.proposalsFilter=e.query.filter),n.prices||await n.getCurrenciesPrice(),bo.includes(e.fullPath)||(n.isAuth?!n.account.demo&&n.demo?(n.reset(),n.initDemo()):n.account.moonPassport||n.isKeplrConnected||(n.reset(),await n.initApp()):n.demo?n.initDemo():await n.initApp()),e.matched.some((e=>{let t=e.meta.accessDenied;if(t.length&&!n.account.demo){if(t.includes("without_keplr")&&!window.keplr)return o({name:"KeplrError"}),!1;if(t.includes("with_keplr")&&window.keplr)return n.demo?o("/?demo=true"):o("/"),!1;if(t.includes("with_passport")&&n.account.moonPassport)return n.demo?o("/account/cosmoshub?demo=true"):o("/account/cosmoshub"),!1;if(t.includes("without_passport")&&!n.account.moonPassportOwner)return n.demo?o("/?demo=true"):o("/"),!1;if(t.includes("with_global_passport")&&n.account.moonPassportOwner&&!n.account.moonPassport)return n.demo?o("/account/cosmoshub?demo=true"):o("/account/cosmoshub"),!1;if(t.includes("not_connected")&&!n.isKeplrConnected)return n.demo?o("/?demo=true"):o("/"),!1}})),n.isAppFullLoaded||(n.isAppFullLoaded=!0),o()}));var vo=fo,wo=o(5658),yo={en:{message:{page_title:"Bro APP",error_title_404:"Page was lost in space....
    Are you sure that it exist?",keplr_error_title:"Oooops, it seems you don't have
    a Keplr extension",keplr_reload_title:"Please reload the page",main_page_title:"Advance Your Asset Management",main_page_demo_text:"For a brief set of instructions, please refer to the",main_page_demo_link:"Demo",passport_avatar_label:"Upload avatar",passport_avatar_file_size:"File up to 5 MB",passport_avatar_mimetype_size:"Only jpg, png",passport_constitution_link:"read constitution",passport_name_label:"Nickname",passport_citizenship_label:"Citizenship",passport_citizenship_text:"Moon
    citizen",passport_name_placeholder:"Choose name",passport_address_exp:"Address",passport_name_exp:'Limit 8-16 characters; only a-z, 0-9, "-"',passport_constitution_exp:"Creating a passport I confirm reading the Constitution",passport_error_nickname_title:"Nickname misspelled",proposals_empty_title:"The governor's desk is proposal-free, no action needed!",proposal_date_label_default:"Voting ended:",proposal_deposite_label_collected:"Collected funds:",proposal_deposite_label_necessary:"Necessary funds:",proposal_voting_label_yes:"Yes",proposal_voting_label_no:"No",proposal_voting_label_nwv:"NWV",proposal_voting_label_abstain:"Abstain",proposal_vote_yes:"Yes",proposal_vote_no:"No",proposal_vote_nwv:"No with veto",proposal_vote_abstain:"Abstain",proposal_vote_did_not_vote:"Didn't vote",proposal_proposer_label:"Proposer",proposal_tab1:"Proposal data",proposal_tab2:"Votes",proposal_desc_title:"Description",proposal_current_account_title:"Account:",proposal_current_vote_title:"Your current vote:",proposal_deposit_status_title:"Deposit status",proposal_details_title:"Proposal Details",proposal_vote_details_title:"Vote details",proposal_details_voting_label:"Voting End Time",proposal_details_deposit_label:"Deposit End Time",proposal_details_submit_label:"Submit Time",proposal_details_total_label:"Total Deposit",proposal_details_initial_label:"Initial Deposit",proposal_add_vote_exp:"You need to change your Keplr account",proposal_vote_info_final_status_label:"Final Status",proposal_vote_info_current_status_label:"Current Status",proposal_vote_info_status_passed:"Passed",proposal_vote_info_status_rejected:"Rejected",proposal_vote_info_status_passing:"Passing",proposal_vote_info_status_rejecting:"Rejecting",proposal_vote_info_turnout_label:"Turnout",proposal_vote_info_total_vote_label:"Total Vote",proposal_vote_info_minimum:"Minimum of staked {amount} {denom} (40%) need to vote for this proposal to pass",proposal_vote_yes_btn:"Yes",proposal_vote_no_btn:"No",proposal_vote_nwv_btn:"No with veto",proposal_vote_abstain_btn:"Abstain",proposal_vote_result_no_vote_label:"Not voted",proposal_vote_result_yes_label:"yes",proposal_vote_result_no_label:"no",proposal_vote_result_nwv_label:"nwv",proposal_vote_result_abstain_label:"abstain",proposal_vote_result_votes_label:"votes",proposal_feature_height_label:"Height",proposal_feature_info_label:"Info",proposal_feature_name_label:"Name",proposal_feature_time_label:"Time",proposal_feature_changes_key_label:"Key",proposal_feature_changes_subspace_label:"Subspace",proposal_feature_changes_value_label:"Value",proposal_votes_filter_all:"All",proposal_votes_filter_yes:"Yes",proposal_votes_filter_no:"No",proposal_votes_filter_nwv:"No with veto",proposal_votes_filter_abstain:"Abstain",proposal_votes_filter_null:"Did not vote",proposal_votes_filter_weighted:"Weighted",proposal_votes_th_validator:"Validator",proposal_votes_th_validator_vote:"Validator Vote",proposal_votes_th_most_voted:"Most voted on",proposal_votes_th_community_votes:"Community Votes",proposal_votes_th_percents:"Participation
    Rate",proposal_votes_community_votes_tooltip:"The ratio of specific votes to the total votes cast",proposal_votes_percents_tooltip:"Percentage of voters relative to the total number of delegators.",proposal_votes_validator_no_active:"no active",proposal_votes_validator_sticker:"Your Validator",proposal_depositors_title:"Depositors",proposal_depositors_th_depositor:"Depositor",proposal_depositors_th_tx_hash:"TxHash",proposal_depositors_th_amount:"Amount",proposal_depositors_th_time:"Time",account_networks_title:"Networks",account_abilities_title:"Abilities",account_validators_title:"Validators",account_proposals_title:"Governance",account_connected_addresses_title:"My Portfolio",account_connected_addresses_all:"View all",account_charts_tab_stake:"Stake",account_charts_tab_liquide:"Liquid",account_charts_tab_assets:"Assets",account_charts_tab_networks:"Networks",account_charts_tab_accounts:"Accounts",account_chart_stake_block_title:"Stake Management",account_chart_stake_desc:"contain staked, liquid and unbonding tokens",account_chart_liquide_block_title:"Liquid Management",account_chart_liquide_desc:"contain liquid, rewards and IBC tokens",account_chart_networks_block_title:"Network Management",account_chart_networks_desc:"represent all networks in portfolio",account_chart_assets_block_title:"Asset Management",account_chart_assets_desc:"represent all tokens in portfolio",account_chart_accounts_block_title:"Account Management",account_chart_accounts_desc:"contain your linked accounts",account_charts_staked_label:"Staked",account_charts_outside_label:"Outside",account_charts_liquid_tokens_label:"Liquid",account_charts_unbonding_label:"Unbondend",account_charts_ibc_label:"IBC Tokens",account_charts_rewards_label:"Rewards",account_charts_on_chain:"On",account_charts_total_assets:"Total Assets",account_validators_col_account_name:"Account name",account_validators_col_network:"Network",account_validators_col_validator:"Validator",account_validators_col_account_percent:"Account %",account_validators_col_passport_percent:"Passport %",account_validators_empty_text:"You have no active validators",account_proposals_col_network:"Network",account_proposals_col_name:"Proposal name",account_proposals_col_type:"Type",account_proposals_col_status:"Status",account_proposals_status_all:"All proposals",account_proposals_status_deposite:"Deposit period",account_proposals_status_voting:"Voting period",account_proposals_status_passed:"Passed",account_proposals_status_rejected:"Rejected",account_RPDE:"Daily profit",account_APR:"Personal APR",account_rewards:"Rewards",account_passport_value:"Passport Value",account_copy_tooltip:"Address copied",account_duplicate_ext:"Duplicated address",account_not_supported_ext:"Not supported",filter_title:"Filter",demo_notice_text:"Finish Demo session",footer_contact:"Contact",footer_support:"Support",footer_powered:"Powered by the Spacebox Index",feedback_title:"Report a bug here",feedback_desc:"Share it with us",feedback_telegram_link:"Telegram",feedback_github_link:"Github",under_construction_title:"This part of site is under construction",mobile_plug_title:"Oops!",mobile_plug_desc:"Bro App not yet supported on mobile devices. Please use a desktop or laptop. We're working on it! Thank you for your patience.",notice_default_main_page:"Welcome to the best Cosmos managing tool.",notice_default_create_passport:"To create your passport, please ensure that you upload the information correctly. Then you will be asked to sign the transaction.",notice_default_create_passport_success:"Congrats! You have successfully created a Passport. You can now continue the journey and explore the app in BETA 2.0.",notice_default_constitution_modal:"By clicking 'Agree & Sign' you confirm that you have read the Constitution in full and wish to create a passport. After clicking 'Agree & Sign' you will be asked to sign the transaction.",notice_default_account_passport:"That’s your recently created passport. You can now change the image or download the passport.",notice_default_proposals_page:"All proposals including proposals in Deposit period can be found on this page.",notice_default_account_page:"Welcome to our portfolio management tool. Take control of your investments and optimize your portfolio for maximum returns.",notice_default_proposal_page:"Detailed overview for the selected proposal.",notice_demo_default_account_page:"Provides valuable information regarding your interactions inside the app.",notice_ipfs_active:"The IPFS node is built in right in your browser. It helps store and resolves the content from the distributed storage. NFTs, moon passports, ENS, with contents address, can be resolved right here. It is green because the IPFS node is active and resolves the content.",notice_ipfs_not_active:"The IPFS node is built in right in your browser. It helps store and resolves the content from the distributed storage. NFTs, moon passports, ENS, with contents address, can be resolved right here. It is red because the IPFS node is inactive and not resolves the content.",notice_currency:"The currency for the account valuation",notice_username:"Chosen keplr account",notice_avatar:"Your Moon passport avatar",notice_delete_address:"To Delete linked account please press on “delete icon” for selected address and then confirm your actions.",notice_edit_address:"To Edit linked account please press on “edit icon” for selected address and then confirm your actions.",notice_copy_address:"To Copy linked account please press on “copy icon” for selected address.",notice_account_charts_tab_stake:"The Stake Management tab shows how many staked, liquid, and unbonding tokens you have in your account, providing a comprehensive view of your current staking activity.",notice_account_charts_tab_liquide:"The Liquid Management tab shows all of your liquid tokens for the selected networks, on both Outside and IBC channels, providing a detailed overview of your current holdings.",notice_account_charts_tab_assets:"The Asset Management tab represents all networks and offers a complete view of your entire portfolio",notice_account_charts_tab4:"The Network Management tab represents the value of all tokens in your portfolio and provides a complete overview on network level. ",notice_account_charts_tab_accounts:"The Account Management tab provides a detailed breakdown of all your linked accounts, offering a complete overview for each.",notice_add_address_step1:"Please select a new address in Keplr to be able to link it to the portfolio.",notice_add_address_step2:"Select the right address that you want to add to the portfolio.",notice_add_address_step2_error:"The address you have selected already linked to your portfolio, please switch to another account.",notice_add_address_step3:"To approve selected address and confirm the change you need to sign a transaction.",notice_add_address_step4:"To complete the process, you need to switch to your passport account in Keplr.",notice_add_address_step5:"To finish the process and finalize adding a new account please sign a broadcast transaction.",notice_add_address_success:"You have successfully added new wallet address to your portfolio.",ipfs:"IPFS node",constitution_modal_title:"Constitution",deposit_modal_title:"Deposit",deposit_modal_sender_label:"Sender",deposit_modal_amount_label:"Amount available",add_address_modal_title:"Add new account",add_address_modal_error_desc:"To add a new address — select a different Keplr account",add_address_modal_error_desc2:"This wallet is already added to portfolio",add_address_modal_error_desc3:"This wallet has its own unique passport",add_address_modal_step1_name:"Choose Address",add_address_modal_step2_name:"Approve Address",add_address_modal_step3_name:"Switch Account",add_address_modal_step4_name:"Accounts Linked",add_address_modal_step1_title:"Select the address",add_address_modal_step2_title:"To approve the address you need to sign the transaction.",add_address_modal_step3_title:"Switch to passport account in Keplr",add_address_modal_step4_title:"Almost there...",add_address_modal_step5_title:"Bravo! Congrats!",add_address_added_label:"Added",add_address_duplicated_label:"Duplicated",validator_modal_title:"Validator details",validator_modal_website_btn:"Website",validator_modal_mintscan_btn:"Mintscan",validator_modal_broscore_btn:"Bro Score",validator_modal_active_set:"Active",validator_modal_inactive_set:"Inactive",validator_modal_operator_address_label:"Operator Address",validator_modal_details_label:"Details",validator_modal_commission_label:"Commission",validator_modal_ownership_label:"Self Bonded/
    Ownership",validator_modal_total_delegated_label:"Total delegated amount",validator_modal_voted_label:"Props voted",validator_modal_col_commission_notice:"The percentage of validator's commision.",validator_modal_col_self_bonded_ownership_notice:"The number of tokens delegated to yourself. The ratio of the number of tokens delegated to yourself to the total number of delegations.",validator_modal_col_voted_notice:"This criterion is about the number of votes ({voted}) for the last 5 ended proposals.",validator_modal_col_total_delegated_notice:"Total amount of tokens delegated to the validator",notification_progress_title:"Transaction is in progress",notification_successful_title:"Transaction successful",notification_failed_title:"Transaction failed",notification_explorer_link:"Explorer",notification_error_file_size_title:"Error",notification_error_file_size_text:"Selected image is too large. Please select new < {size}",notification_error_nickName_title:"Nickname error",notification_error_nickName_desc:"There is already a passport for this name, come up with a new one",notification_passport_signature:"Constitution successfully signed",notification_passport_activation_process:"Account activation...",notification_passport_activation_success:"Account successfully activated",notification_passport_activation_error:"Account activation error",notification_passport_activation_error_desc:"Try again",notification_passport_wait_ipfs:"Please, wait while local IPFS node is starting.",notification_action_create_passport:"Create passport",notification_passport_create_process:"Passport creation...",notification_success_create_passport_title:"Passport created successfully",notification_error_create_passport_title:"Passport issue error",notification_action_update_passport:"Update passport",notification_action_delete_passport:"Delete passport",notification_passport_update_process:"Passport updating...",notification_passport_delete_process:"Passport deleting...",notification_success_update_passport_title:"Passport updated successfully",notification_success_delete_passport_title:"Passport delete successfully",notification_error_update_passport_title:"Passport issue error",notification_action_address_delete:"Address delete",notification_address_deleting_process:"Address deleting...",notification_success_address_delete_title:"Address deleted successfully",notification_action_address_add:"Address add",notification_address_adding_process:"Processing...",notification_success_address_added_title:"Address added successfully",notification_action_address_rename:"Address rename",notification_address_renaming_process:"Address renaming...",notification_success_address_rename_title:"Address renamed successfully",notification_action_proposal_vote:"Proposal vote",notification_proposal_vote_process:"Proposal voiting...",notification_proposal_deposit_process:"Proposal depositing...",notification_success_proposal_deposit_title:"Proposal deposit successful",notification_action_proposal_deposit:"Proposal deposit",notification_tx_error_2:"tx parse error",notification_tx_error_3:"invalid sequence",notification_tx_error_4:"unauthorized",notification_tx_error_5:"insufficient funds",notification_tx_error_6:"unknown request",notification_tx_error_7:"invalid address",notification_tx_error_8:"invalid pubkey",notification_tx_error_9:"unknown address",notification_tx_error_10:"invalid coins",notification_tx_error_11:"Broadcasting transaction failed: out of gas try again and increase gas amount",notification_tx_error_12:"memo too large",notification_tx_error_13:"insufficient fee",notification_tx_error_14:"maximum number of signatures exceeded",notification_tx_error_15:"no signatures supplied",notification_tx_error_16:"failed to marshal JSON bytes",notification_tx_error_17:"failed to unmarshal JSON bytes",notification_tx_error_18:"invalid request",notification_tx_error_19:"tx already in mempool",notification_tx_error_20:"mempool is full",notification_tx_error_21:"tx too large",notification_tx_error_22:"key not found",notification_tx_error_23:"invalid account password",notification_tx_error_24:"tx intended signer does not match the given signer",notification_tx_error_25:"invalid gas adjustment",notification_tx_error_26:"invalid height",notification_tx_error_27:"invalid version",notification_tx_error_28:"invalid chain-id",notification_tx_error_29:"invalid type",notification_tx_error_30:"tx timeout height",notification_tx_error_31:"unknown extension options",notification_tx_error_32:"incorrect account sequence",notification_tx_error_33:"failed packing protobuf message to Any",notification_tx_error_34:"failed unpacking protobuf message from Any",notification_tx_error_35:"internal logic error",notification_tx_error_36:"conflict",notification_tx_error_37:"feature not supported",notification_tx_error_38:"not found",notification_tx_error_39:"Internal IO error",notification_tx_error_40:"error in app.toml",notification_tx_error_41:"invalid gas limit",notification_tx_error_rejected:"The transaction has been rejected",tour_header_title_step0:"Tooltip",tour_header_title_step1:"Portfolio Currency",tour_header_title_step2:"Your Digital Identity",tour_account_page_title_step1:"Networks",tour_account_page_title_step2:"Bundled Wallets",tour_account_page_title_step3:"Assets Management",tour_account_page_title_step4:"Portfolio Insights",tour_account_page_title_step5:"Validators",tour_account_page_title_step6:"Governance",tour_header_desc_step0:"Provides valuable information regarding your interactions inside the app",tour_header_desc_step1:"Allows you to conveniently change between different currencies and view portfolio evaluations within the app",tour_header_desc_step2:"Allows you to authenticate yourself, securely interact with others, and engage in transactions with confidence",tour_account_page_desc_step1:"Enables you to view info and seamlessly switch between different blockchain networks",tour_account_page_desc_step2:"Allows you to consolidate and manage multiple wallets in one place; it may include duplicates",tour_account_page_desc_step3:"Provides detailed view of all your digital assets on different levels",tour_account_page_desc_step4:"Offers an overview of key performance indicators and average numbers for your portfolio",tour_account_page_desc_step5:"Displays the number of validators you stake with on one or more networks",tour_account_page_desc_step6:"Lets you navigate through proposals, view their descriptions, vote and see votes breakdown",btn_back_home:"Back to home",btn_reload:"Reload",btn_connect_wallet:"Connect Keplr wallet",btn_reject:"Reject",btn_confirm:"Confirm",btn_agree_sign:"Agree & Sign",btn_keplr_install:"Install Keplr",btn_add_address:"Add address",btn_use_new_passport:"Use new passport",btn_next:"Next",btn_back:"Back",btn_sign:"Sign",btn_sing_broadcast:"Sign and Broadcast",btn_done:"Done",btn_see_more:"See more",btn_no:"No",btn_yes:"Yes",btn_download_png:"Dowloand png",btn_continue:"Continue journey",btn_update:"Update",btn_change_image:"Change image",btn_settings:"Setting",btn_create_passport:"Create passport",btn_refresh:"Refresh",btn_deposit:"Deposit",btn_send:"Send"}}};const ko=(0,wo.o)({locale:"en",fallbackLocale:"en",messages:yo});var xo=ko,Ao=o(21037),To=o(24384),Do=o(1373);const Co=(0,n.ri)(X),So=(0,s.WB)(),Po=(0,Do.Z)();Co.use(So),Co.use(vo),Co.use(xo),Co.use(Ao.ZP),Co.provide("i18n",xo),Co.provide("emitter",Po),Co.config.globalProperties.$filters={toFixed(e,t){let o;return o=0!=e?e.toFixed(t):e,o}},Co.component(To.Z.name,To.Z),Co.mount("#app")},34776:function(e,t,o){"use strict";o.d(t,{s:function(){return M}});o(57658);var n=o(61020),s=o(90466),a=o(77307),r=o(20657),i=o(42325);const c={userName:null,tempUserName:(0,s._aR)("tempUserName"),avatar:null,signature:null,demo:!1,moonPassport:null,moonPassportOwnerAddress:(0,s._aR)("moonPassportOwnerAddress"),moonPassportOwner:null,currentWallet:(0,s._aR)("currentWallet"),wallets:[],info:{RPDE:0},total:{liquid:0,staked:0,unbonding:0,rewards:0,outside:0,ibc:0},totalTokensPrice:0};var l=c;const u={name:"Cosmos Hub",lcd_api:"https://lcd.cosmoshub-4.bronbro.io",rpc_api:"https://rpc.cosmoshub-4.bronbro.io",index_api:"https://rpc.bronbro.io",denom:"uatom",token_name:"ATOM",chainId:"cosmoshub-4",mintscanAlias:"cosmos",prefix:"cosmos",address_prefix:"cosmos",exponent:6,proposal_need:250};var d=u;const _={name:"Bostrom",lcd_api:"https://lcd.bostrom.bronbro.io",rpc_api:"https://rpc.bostrom.bronbro.io",index_api:"https://rpc.index.bostrom.bronbro.io",denom:"boot",token_name:"BOOT",chainId:"bostrom",prefix:"bostrom",mintscanAlias:null,address_prefix:"bostrom",exponent:0,proposal_need:42e10};var p=_;const m={name:"Crescent hub",lcd_api:"https://lcd.crescent-1.bronbro.io",rpc_api:"https://rpc.crescent-1.bronbro.io",denom:"ucre",token_name:"CRE",chainId:"crescent-1",mintscanAlias:"crescent",prefix:"crescent",address_prefix:"cre",exponent:6,proposal_need:250};var g=m;const h={name:"G-Bridge",lcd_api:"https://lcd.gravity-bridge-3.bronbro.io",rpc_api:"https://rpc.gravity-bridge-3.bronbro.io",denom:"ugraviton",token_name:"GRAV",chainId:"gravity-bridge-3",mintscanAlias:"gravity-bridge",prefix:"gravity",address_prefix:"gravity",exponent:6,proposal_need:250};var f=h;const b={name:"Juno",lcd_api:"https://lcd.juno-1.bronbro.io",rpc_api:"https://rpc.juno-1.bronbro.io",denom:"ujuno",token_name:"JUNO",chainId:"juno-1",mintscanAlias:"juno",prefix:"juno",address_prefix:"juno",exponent:6,proposal_need:250};var v=b;const w={name:"OmniFlix Network",lcd_api:"https://lcd.omniflixhub-1.bronbro.io",rpc_api:"https://rpc.omniflixhub-1.bronbro.io",denom:"uflix",token_name:"FLIX",chainId:"omniflixhub-1",mintscanAlias:"omniflix",prefix:"omniflix",address_prefix:"omniflix",exponent:6,proposal_need:250};var y=w;const k={name:"Osmosis",lcd_api:"https://lcd.osmosis-1.bronbro.io",rpc_api:"https://rpc.osmosis-1.bronbro.io",denom:"uosmo",token_name:"OSMO",chainId:"osmosis-1",mintscanAlias:"osmosis",prefix:"osmosis",address_prefix:"osmo",exponent:6,proposal_need:250};var x=k;const A={name:"Stargaze",lcd_api:"https://lcd.stargaze-1.bronbro.io",rpc_api:"https://rpc.stargaze-1.bronbro.io",denom:"ustars",token_name:"STARS",chainId:"stargaze-1",mintscanAlias:"stargaze",prefix:"stargaze",address_prefix:"stars",exponent:6,proposal_need:250};var T=A;const D={name:"Stride",lcd_api:"https://lcd.stride-1.bronbro.io",rpc_api:"https://rpc.stride-1.bronbro.io",denom:"ustrd",token_name:"STRD",chainId:"stride-1",mintscanAlias:"stride",prefix:"stride",address_prefix:"stride",exponent:6,proposal_need:250};var C=D,S=JSON.parse('{"userName":"Demo name","tempUserName":"","avatar":null,"signature":null,"demo":true,"moonPassport":{"owner":"bostrom1smtqmvpaa8tp7ykeafm3h39grla54mawkqjk0n","approvals":[],"token_uri":null,"extension":{"addresses":[{"label":"Stride","address":"stride17ld6vnfumezwtw36pt37l0xyuknzxghajxevaw"},{"label":"Airdrops","address":"osmo1qj56cf2k8pwtd0yp50r85frsl4yvwew04qm7nw"},{"label":"Main","address":"juno1rkhrfuq7k2k68k0hctrmv8efyxul6tgn8hny6y"},{"label":"Flix","address":"omniflix15p6m8taywua86afxqwu25fx9wu3mpx0dqp0kpa"},{"label":"Pools","address":"cosmos1qj56cf2k8pwtd0yp50r85frsl4yvwew0amgw9u"},{"label":null,"address":"0x12fd21763b661d55b322a07b6ab251fd62c6d9a0"}],"avatar":"QmeNYiTMBrMzvuyL26NUuothAestC6dEwGVn5VrpbqS2nw","nickname":"Demo Bro","data":null,"particle":null}},"moonPassportOwnerAddress":"bostrom1smtqmvpaa8tp7ykeafm3h39grla54mawkqjk0n","moonPassportOwner":{"owner":"bostrom1smtqmvpaa8tp7ykeafm3h39grla54mawkqjk0n","approvals":[],"token_uri":null,"extension":{"addresses":[{"label":"Stride","address":"stride17ld6vnfumezwtw36pt37l0xyuknzxghajxevaw"},{"label":"Airdrops","address":"osmo1qj56cf2k8pwtd0yp50r85frsl4yvwew04qm7nw"},{"label":"Main","address":"juno1rkhrfuq7k2k68k0hctrmv8efyxul6tgn8hny6y"},{"label":"Flix","address":"omniflix15p6m8taywua86afxqwu25fx9wu3mpx0dqp0kpa"},{"label":"Pools","address":"cosmos1qj56cf2k8pwtd0yp50r85frsl4yvwew0amgw9u"},{"label":null,"address":"0x12fd21763b661d55b322a07b6ab251fd62c6d9a0"}],"avatar":"QmeNYiTMBrMzvuyL26NUuothAestC6dEwGVn5VrpbqS2nw","nickname":"Demo Bro","data":null,"particle":null}},"currentWallet":"bostrom1smtqmvpaa8tp7ykeafm3h39grla54mawkqjk0n","wallets":[{"address":"bostrom1smtqmvpaa8tp7ykeafm3h39grla54mawkqjk0n","nickname":"Demo Bro","info":{},"totalTokensPrice":0,"networks":[{"name":"cosmoshub","color":"#2E314B","total":{"liquid":0,"staked":0,"unbonding":0,"rewards":0,"outside":0,"ibc":0,"liquid_rewards":0},"totalTokensPrice":0,"balance":{"liquid":{"native":[{"amount":32300000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"ibc":[{"amount":10000000000,"denom":"boot","exponent":0,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/bostrom/images/boot.svg","symbol":"BOOT","amountCurrentDenom":0},{"amount":1128000000,"denom":"ujuno","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/images/juno.svg","symbol":"JUNO","amountCurrentDenom":0}]},"staked":[{"amount":935380000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"unbonding":[{"amount":50000000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"rewards":[{"amount":1070.999334414421,"denom":"untrn","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/neutron/images/ntrn.svg","symbol":"NTRN","amountCurrentDenom":0},{"amount":9.55988110093,"denom":"stuatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/stride/images/statom.svg","symbol":"stATOM","amountCurrentDenom":0},{"amount":0.01141964818,"denom":"uumee","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/umee/images/umee.svg","symbol":"UMEE","amountCurrentDenom":0},{"amount":9495985.36079159,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM","amountCurrentDenom":0}]},"groupByDenom":[]},{"name":"bostrom","color":"#25FF25","total":{"liquid":0,"staked":0,"unbonding":0,"rewards":0,"outside":0,"ibc":0,"liquid_rewards":0},"totalTokensPrice":0,"balance":{"liquid":{"native":[{"amount":10000000000,"denom":"boot","exponent":0,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/bostrom/images/boot.svg","symbol":"BOOT"}]},"staked":[],"unbonding":[],"rewards":[]},"groupByDenom":[]}]},{"address":"bostrom17ld6vnfumezwtw36pt37l0xyuknzxghaj7drh9","nickname":"Stride","info":{},"totalTokensPrice":0,"networks":[{"name":"cosmoshub","color":"#2E314B","total":{"liquid":0,"staked":0,"unbonding":0,"rewards":0,"outside":0,"ibc":0,"liquid_rewards":0},"totalTokensPrice":0,"balance":{"liquid":{"native":[{"amount":3230000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"ibc":[{"amount":1000000000,"denom":"boot","exponent":0,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/bostrom/images/boot.svg","symbol":"BOOT","amountCurrentDenom":0},{"amount":112800000,"denom":"ujuno","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/images/juno.svg","symbol":"JUNO","amountCurrentDenom":0}]},"staked":[{"amount":93538000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"unbonding":[{"amount":5000000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"rewards":[{"amount":107.99933441442,"denom":"untrn","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/neutron/images/ntrn.svg","symbol":"NTRN","amountCurrentDenom":0},{"amount":0.955988110093,"denom":"stuatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/stride/images/statom.svg","symbol":"stATOM","amountCurrentDenom":0},{"amount":0.01141964818,"denom":"uumee","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/umee/images/umee.svg","symbol":"UMEE","amountCurrentDenom":0},{"amount":949598.36079159,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM","amountCurrentDenom":0}]},"groupByDenom":[]}]},{"address":"bostrom1qj56cf2k8pwtd0yp50r85frsl4yvwew07guamm","nickname":"Airdrops","info":{},"totalTokensPrice":0,"networks":[{"name":"cosmoshub","color":"#2E314B","total":{"liquid":0,"staked":0,"unbonding":0,"rewards":0,"outside":0,"ibc":0,"liquid_rewards":0},"totalTokensPrice":0,"balance":{"liquid":{"native":[{"amount":323000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"ibc":[{"amount":100000000,"denom":"boot","exponent":0,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/bostrom/images/boot.svg","symbol":"BOOT","amountCurrentDenom":0},{"amount":11280000,"denom":"ujuno","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/images/juno.svg","symbol":"JUNO","amountCurrentDenom":0}]},"staked":[{"amount":9353800,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"unbonding":[{"amount":500000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"rewards":[{"amount":10.9993344144209,"denom":"untrn","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/neutron/images/ntrn.svg","symbol":"NTRN","amountCurrentDenom":0},{"amount":0.0955988110093,"denom":"stuatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/stride/images/statom.svg","symbol":"stATOM","amountCurrentDenom":0},{"amount":0.0001141964818,"denom":"uumee","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/umee/images/umee.svg","symbol":"UMEE","amountCurrentDenom":0},{"amount":94959.36079159,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM","amountCurrentDenom":0}]},"groupByDenom":[]}]},{"address":"bostrom1rkhrfuq7k2k68k0hctrmv8efyxul6tgnjkyvrl","nickname":"Main","info":{},"totalTokensPrice":0,"networks":[{"name":"cosmoshub","color":"#2E314B","total":{"liquid":0,"staked":0,"unbonding":0,"rewards":0,"outside":0,"ibc":0,"liquid_rewards":0},"totalTokensPrice":0,"balance":{"liquid":{"native":[{"amount":3230000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"ibc":[{"amount":1000000000,"denom":"boot","exponent":0,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/bostrom/images/boot.svg","symbol":"BOOT","amountCurrentDenom":0},{"amount":112800000,"denom":"ujuno","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/images/juno.svg","symbol":"JUNO","amountCurrentDenom":0}]},"staked":[{"amount":93538000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"unbonding":[{"amount":5000000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"rewards":[{"amount":107.99933441442,"denom":"untrn","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/neutron/images/ntrn.svg","symbol":"NTRN","amountCurrentDenom":0},{"amount":0.955988110093,"denom":"stuatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/stride/images/statom.svg","symbol":"stATOM","amountCurrentDenom":0},{"amount":0.01141964818,"denom":"uumee","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/umee/images/umee.svg","symbol":"UMEE","amountCurrentDenom":0},{"amount":949598.36079159,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM","amountCurrentDenom":0}]},"groupByDenom":[]}]},{"address":"bostrom15p6m8taywua86afxqwu25fx9wu3mpx0d7v2ugy","nickname":"Flix","info":{},"totalTokensPrice":0,"networks":[{"name":"cosmoshub","color":"#2E314B","total":{"liquid":0,"staked":0,"unbonding":0,"rewards":0,"outside":0,"ibc":0,"liquid_rewards":0},"totalTokensPrice":0,"balance":{"liquid":{"native":[{"amount":323000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"ibc":[{"amount":100000000,"denom":"boot","exponent":0,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/bostrom/images/boot.svg","symbol":"BOOT","amountCurrentDenom":0},{"amount":11280000,"denom":"ujuno","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/juno/images/juno.svg","symbol":"JUNO","amountCurrentDenom":0}]},"staked":[{"amount":9353800,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"unbonding":[{"amount":500000,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM"}],"rewards":[{"amount":10.9993344144209,"denom":"untrn","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/neutron/images/ntrn.svg","symbol":"NTRN","amountCurrentDenom":0},{"amount":0.0955988110093,"denom":"stuatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/stride/images/statom.svg","symbol":"stATOM","amountCurrentDenom":0},{"amount":0.0001141964818,"denom":"uumee","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/umee/images/umee.svg","symbol":"UMEE","amountCurrentDenom":0},{"amount":94959.36079159,"denom":"uatom","exponent":6,"logo":"https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg","symbol":"ATOM","amountCurrentDenom":0}]},"groupByDenom":[]}]}],"info":{},"totalTokensPrice":0}'),P=JSON.parse('{"offlineSinger":{"chainId":"cosmoshub-4","keplr":{"version":"0.12.15","mode":"extension","eventListener":{},"enigmaUtils":{"Map(0)":{}},"defaultOptions":{}}},"account":{"address":"cosmos1smtqmvpaa8tp7ykeafm3h39grla54maw4nx935","algo":"","pubkey":""},"key":{"name":"Demo name","algo":"","pubKey":"","address":"","bech32Address":"cosmos1smtqmvpaa8tp7ykeafm3h39grla54maw4nx935","isNanoLedger":false,"isKeystone":false}}'),O=o(15941);const N={cosmoshub:d,bostrom:p,crescent:g,gravity:f,juno:v,omniflix:y,osmosis:x,stargaze:T,stride:C},M=(0,n.Q_)("global",{state:()=>({CONTRACT_ADDRESS_PASSPORT:"bostrom1xut80d09q0tgtch8p0z4k5f88d3uvt8cvtzm5h3tu3tsy4jk9xlsfzhxel",CONSTITUTION_HASH:"QmcHB9GKHAKCLQhmSj71qNJhENJJg8Gymd1PvvsCQBhG7M",isAppFullLoaded:!1,isKeplrConnected:!1,isAuth:!1,referer:null,demo:!1,tour:(0,s._aR)("tour",!0),currentNetwork:"cosmoshub",currentProposalId:null,currentDeleteAddress:null,currentCurrency:(0,s._aR)("currency","USDT"),proposalsFilter:null,tooltip:null,tooltipAnimate:!1,IPFSNode:null,Keplr:{},account:l,networks:N,showConstitutionModal:!1,showAddAddressModal:!1,showDeleteAddressModal:!1,prices:null,lastTXS:null,validatorInfo:{operator_address:null},needReload:!1,formatableTokens:[{tokenName:"BTC",formatTokenName:"WBTC"},{tokenName:"BOOT",formatTokenName:"MBOOT",exponent:6},{tokenName:"HYDROGEN",formatTokenName:"MHYDROGEN",exponent:6}],networkColors:{BOOT:"#25FF25",EVMOS:"#ED4E33",STARS:"#E94A9D",STRD:"#E94A9D",JUNO:"#F0827D",CRE:"#FFB04A",GRAV:"#0036C1",OSMO:"#7900E1",NGM:"#00646F",ATOM:"#2E314B",DSM:"#F98256",DYM:"#F0E0D3",FLIX:"#F19E22",AKT:"#ED3324",MNTL:"#F5B31D",AXL:"#459CEF",BAND:"#4022DD",BCNA:"#52B489",BTSG:"#EA335F",CANTO:"#74F8A2",HUAHUA:"#E5AB55",CMDX:"#FE4350",CORE:"#25D695",CRO:"#0F2C70",CUDOS:"#950FFF",FET:"#2D4BA9",INJ:"#363FEC",IRIS:"#6627BB",IXO:"#00D2FF",KAVA:"#FF232F",XKI:"#0000F5",DARC:"#4D7ABD",KUJI:"#E53935",KYVE:"#76C4B2",LIKE:"#B9EFE7",LUM:"#3374E5",MARS:"#AC061A",MED:"#3A71E2",NOBLE:"#9CB0FF",NYX:"#E57937",NOM:"#353340",PASG:"#DF5936",XPRT:"#D22F26",HASH:"#437BDA",QSR:"#7C2ED4",QCK:"#BF5822",REGEN:"#9CCAAF",ATOLO:"#56BBF8",SCRT:"#6594D6",DVPN:"#315DF6",CTK:"#D9AC5C",ROWAN:"#B1A062",SOMM:"#674FD1",FIS:"#6F5CEF",IOV:"#3063B7",TORI:"#5476F7",TGD:"#FFFFFF",UMEE:"#FDA9FF",XPLA:"#00B1FF"}}),actions:{async getCurrenciesPrice(){try{await fetch("https://rpc.bronbro.io/price_feed_api/tokens/").then((e=>e.json())).then((e=>this.prices=e))}catch(e){O.error(e)}},initDemo(){this.Keplr=P,this.account=S,this.isAppFullLoaded=!0,this.isKeplrConnected=!0,this.isAuth=!0},async initApp(e=!0,t=!0){if(window.keplr){await(0,i.wO)(this.networks[this.currentNetwork].chainId),this.isKeplrConnected=!0;let o=await r.Tendermint34Client.connect(this.networks.bostrom.rpc_api);this.jsCyber=new a.J(o),await this.getMoonPassport(),e&&this.account.moonPassport&&this.account.moonPassportOwnerAddress!=this.account.moonPassport.owner&&(this.account.moonPassportOwnerAddress=this.account.moonPassport.owner,this.account.currentWallet=this.account.moonPassportOwnerAddress,this.account.moonPassportOwner=this.account.moonPassport),e&&this.account.moonPassportOwnerAddress&&await this.getOwnerMoonPassport(),this.setUserInfo(t)}},async getMoonPassport(){try{this.account.moonPassport=await this.jsCyber.queryContractSmart(this.CONTRACT_ADDRESS_PASSPORT,{active_passport:{address:(0,i.E$)("bostrom",this.Keplr.account.address)}})}catch(e){O.error(e),this.account.moonPassport=null}},async getOwnerMoonPassport(){try{this.account.moonPassportOwner=await this.jsCyber.queryContractSmart(this.CONTRACT_ADDRESS_PASSPORT,{active_passport:{address:this.account.moonPassportOwnerAddress}}),this.account.wallets=[],this.account.wallets.push({address:this.account.moonPassportOwner.owner,nickname:this.account.moonPassportOwner.extension.nickname,info:{RPDE:0},totalTokensPrice:0,networks:[{name:"cosmoshub",color:"#2E314B",price:this.prices.find((e=>"ATOM"==e.symbol)).price,total:{liquid:0,staked:0,unbonding:0,rewards:0,outside:0,ibc:0,liquid_rewards:0},totalRewardsPrice:0,totalTokensPrice:0},{name:"bostrom",color:"#25FF25",price:this.prices.find((e=>"BOOT"==e.symbol)).price,total:{liquid:0,staked:0,unbonding:0,rewards:0,outside:0,ibc:0,liquid_rewards:0},totalRewardsPrice:0,totalTokensPrice:0}]}),this.account.moonPassportOwner.extension.addresses&&this.account.moonPassportOwner.extension.addresses.forEach((e=>{if("0x"!=e.address.substring(0,2)&&"terra"!=e.address.substring(0,5)){let t=this.account.wallets.find((t=>t.address==(0,i.E$)("bostrom",e.address)));"undefined"===typeof t&&this.account.wallets.push({address:(0,i.E$)("bostrom",e.address),nickname:e.label,info:{RPDE:0},totalTokensPrice:0,networks:[{name:"cosmoshub",color:"#2E314B",price:this.prices.find((e=>"ATOM"==e.symbol)).price,total:{liquid:0,staked:0,unbonding:0,rewards:0,outside:0,ibc:0,liquid_rewards:0},totalRewardsPrice:0,totalTokensPrice:0},{name:"bostrom",color:"#25FF25",price:this.prices.find((e=>"BOOT"==e.symbol)).price,total:{liquid:0,staked:0,unbonding:0,rewards:0,outside:0,ibc:0,liquid_rewards:0},totalRewardsPrice:0,totalTokensPrice:0}]})}}))}catch(e){O.error(e)}},async setUserInfo(e){this.account.userName=this.Keplr.key.name,this.isAuth=!0,e&&(this.IPFSNode||(this.IPFSNode=await Ipfs.create()),this.IPFSNode&&this.getAvatar())},async getAvatar(){let e=!1,t=3e3;setTimeout((()=>{!e&&this.account.moonPassportOwner&&(this.account.avatar=`https://gateway.ipfs.cybernode.ai/ipfs/${this.account.moonPassportOwner.extension.avatar}`,e=!0)}),t)},async reset(){this.Keplr={},this.account=l,this.networks=N,this.isAppFullLoaded=!1,this.isKeplrConnected=!1,this.isAuth=!1}}})},42325:function(e,t,o){"use strict";o.d(t,{E$:function(){return u},Ih:function(){return g},LH:function(){return f},V4:function(){return p},jp:function(){return b},nD:function(){return v},pi:function(){return m},r0:function(){return _},uR:function(){return h},wO:function(){return d}});o(57658);var n=o(34776),s=o(9684),a=o(7365),r=o(48340),i=o(16071),c=o(2043),l=o(95673);const u=(e,t)=>(0,l.g6)(e,(0,l.zl)(t).data),d=async e=>{let t=(0,n.s)();await window.keplr.enable(e),t.Keplr.offlineSinger=await window.getOfflineSignerAuto(e);let o=await t.Keplr.offlineSinger.getAccounts();t.Keplr.account=o[0],t.Keplr.key=await window.keplr.getKey(e),t.isKeplrConnected=!0},_=async e=>{let t=(0,n.s)(),o=new s.Registry([["/cosmwasm.wasm.v1.MsgExecuteContract",c.MsgExecuteContract]]),a=new r.AminoTypes({...(0,i.createWasmAminoConverters)()});await window.keplr.enable(t.networks.bostrom.chainId);let d=await window.getOfflineSignerAuto(t.networks.bostrom.chainId),_=t.networks.bostrom.rpc_api,p=await r.SigningStargateClient.connectWithSigner(_,d,{registry:o,aminoTypes:a}),m={amount:[{denom:t.networks.bostrom.denom,amount:"0"}],gas:"1000000"},g=t.ref?`bro.${t.ref}`:"bro.app",h=[],f=[];Array.isArray(e)?e.forEach((e=>{f.push({typeUrl:"/cosmwasm.wasm.v1.MsgExecuteContract",value:c.MsgExecuteContract.fromPartial({sender:u("bostrom",t.Keplr.account.address),contract:t.CONTRACT_ADDRESS_PASSPORT,msg:(0,l.GZ)(JSON.stringify(e)),funds:h})})})):f.push({typeUrl:"/cosmwasm.wasm.v1.MsgExecuteContract",value:c.MsgExecuteContract.fromPartial({sender:u("bostrom",t.Keplr.account.address),contract:t.CONTRACT_ADDRESS_PASSPORT,msg:(0,l.GZ)(JSON.stringify(e)),funds:h})});let b=await p.sign(u("bostrom",t.Keplr.account.address),f,m,g);return{txRaw:b,client:p}},p=async(e,t=!0,o=s.currentNetwork)=>{let s=(0,n.s)(),a=await window.getOfflineSignerAuto(s.networks[o].chainId);Object.assign(a,{signAmino:a.signAmino??a.sign});let i=s.networks[o].rpc_api,c=await r.SigningStargateClient.connectWithSigner(i,a);t&&(gasUsed=await c.simulate(u(s.networks[o].address_prefix,s.account.currentWallet),e));let l={amount:[{denom:s.networks[o].denom,amount:"0"}],gas:t?Math.round(1.3*gasUsed).toString():"1000000"},d=s.ref?`bro.${s.ref}`:"bro.app",_=await c.sign(u(s.networks[o].address_prefix,s.account.currentWallet),e,l,d);return{txRaw:_,client:c}},m=async({txRaw:e,client:t})=>{let o=a.TxRaw.encode(e).finish(),n=await t.broadcastTx(o,t.broadcastTimeoutMs,t.broadcastPollIntervalMs);return n},g=(e,t)=>{let o=(0,n.s)(),s=v(o.prices.find((e=>e.symbol==t)).price,t),a=1;return"USDT"!=o.currentCurrency&&(t=o.currentCurrency,"BTC"==t&&(t=h("BTC")),a=v(o.prices.find((e=>e.symbol==t)).price,t)),e*(s/a)},h=e=>{let t=(0,n.s)(),o="";return o=t.formatableTokens.find((t=>t.tokenName==e)),o?o.formatTokenName:e},f=(e,t)=>{let o=(0,n.s)(),s=0,a=o.formatableTokens.find((e=>e.tokenName==t));return s=a?e/Math.pow(10,a.exponent):e/Math.pow(10,o.prices.find((e=>e.symbol==t)).exponent),s},b=(e,t)=>{let o=(0,n.s)();return e*(v(o.prices.find((e=>e.symbol==t)).price)/v(o.prices.find((e=>e.symbol==o.networks[o.currentNetwork].token_name)).price))},v=(e,t)=>{let o=(0,n.s)(),s=0,a=o.formatableTokens.find((e=>e.tokenName==t));return s=a?e*Math.pow(10,a.exponent):e,s}},27795:function(e,t,o){"use strict";e.exports=o.p+"img/sprite.0840251b.svg"},80950:function(){},46601:function(){},89214:function(){},8623:function(){},7748:function(){},85568:function(){},75992:function(){},78110:function(){},56619:function(){},77108:function(){},52361:function(){},94616:function(){}},t={};function o(n){var s=t[n];if(void 0!==s)return s.exports;var a=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(a.exports,a,a.exports,o),a.loaded=!0,a.exports}o.m=e,function(){var e=[];o.O=function(t,n,s,a){if(!n){var r=1/0;for(u=0;u=a)&&Object.keys(o.O).every((function(e){return o.O[e](n[c])}))?n.splice(c--,1):(i=!1,a0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[n,s,a]}}(),function(){o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,{a:t}),t}}(),function(){o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}}(),function(){o.f={},o.e=function(e){return Promise.all(Object.keys(o.f).reduce((function(t,n){return o.f[n](e,t),t}),[]))}}(),function(){o.u=function(e){return"js/"+e+"."+{6:"47fe4917",151:"015a4032",184:"d0d61a96",394:"737a2fc0",483:"a6bcb25d",572:"7c959ddf",573:"d34451d8",778:"6cb1db9a",838:"76d41b3d",866:"2932d9af",869:"aab32e01",895:"dc9922ea",955:"8c855972"}[e]+".js"}}(),function(){o.miniCssF=function(e){return"css/"+e+"."+{6:"337099b6",151:"9b22bb07",394:"e54cc163",483:"e9b68a90",572:"9d40147a",573:"f6f86d69",778:"09a78acb",895:"2aa2e47e"}[e]+".css"}}(),function(){o.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="bro_app:";o.l=function(n,s,a,r){if(e[n])e[n].push(s);else{var i,c;if(void 0!==a)for(var l=document.getElementsByTagName("script"),u=0;u\n
    \n
    \n \"\"\n
    \n\n
    \n {{ $t('message.mobile_plug_title') }}\n
    \n\n
    \n {{ $t('message.mobile_plug_desc') }}\n
    \n
    \n\n\n\n","import { render } from \"./MobilePlug.vue?vue&type=template&id=c41949b4\"\nconst script = {}\n\nimport \"./MobilePlug.vue?vue&type=style&index=0&id=c41949b4&scope=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n\n","import script from \"./App.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./App.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./Notifications.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./Notifications.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./Notifications.vue?vue&type=style&index=0&id=e24fdca2&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-e24fdca2\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./IPFS.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./IPFS.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./IPFS.vue?vue&type=style&index=0&id=0c91de1f&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-0c91de1f\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./Currency.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./Currency.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./Currency.vue?vue&type=style&index=0&id=28434968&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-28434968\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./User.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./User.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./User.vue?vue&type=style&index=0&id=4c190ac0&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-4c190ac0\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./Header.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./Header.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./Header.vue?vue&type=style&index=0&id=7fc8a49b&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-7fc8a49b\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./Feedback.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./Feedback.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./Feedback.vue?vue&type=style&index=0&id=58ee27f5&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-58ee27f5\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./Error.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./Error.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./Error.vue?vue&type=style&index=0&id=18e0fbc1&lang=css\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./DemoNotice.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./DemoNotice.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./DemoNotice.vue?vue&type=style&index=0&id=1b624b55&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-1b624b55\"]])\n\nexport default __exports__","\n\n\n\n\n\n","import script from \"./TourButton.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./TourButton.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./TourButton.vue?vue&type=style&index=0&id=226ffc1c&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-226ffc1c\"]])\n\nexport default __exports__","\n\n\n","import { render } from \"./Footer.vue?vue&type=template&id=919445e8&scoped=true\"\nconst script = {}\n\nimport \"./Footer.vue?vue&type=style&index=0&id=919445e8&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-919445e8\"]])\n\nexport default __exports__","\n\n\n\n","import script from \"./Default.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./Default.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n\n\n\n","import script from \"./MainPage.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./MainPage.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { createRouter, createWebHistory } from 'vue-router'\nimport { useGlobalStore } from '@/stores'\n\nimport errorLayout from '@/layouts/Error.vue'\nimport defaultLayout from '@/layouts/Default.vue'\nimport mainPageLayout from '@/layouts/MainPage.vue'\n\n\nconst routes = [\n {\n path: '/:pathMatch(.*)',\n name: 'Error',\n component: () => import('../views/Error404.vue'),\n meta: {\n layout: errorLayout,\n accessDenied: []\n }\n },\n {\n path: '/keplr_error',\n name: 'KeplrError',\n component: () => import('../views/KeplrError.vue'),\n meta: {\n layout: errorLayout,\n accessDenied: ['with_keplr']\n }\n },\n {\n path: '/keplr_reload',\n name: 'KeplrReload',\n component: () => import('../views/KeplrReload.vue'),\n meta: {\n layout: errorLayout,\n accessDenied: ['with_keplr']\n }\n },\n\t{\n\t\tpath: '/under_construction',\n\t\tname: 'Under construction',\n\t\tcomponent: () => import('../views/UnderConstruction.vue'),\n\t\tmeta: {\n\t\t\tlayout: errorLayout,\n\t\t\taccessDenied: ['without_keplr']\n\t\t}\n\t},\n {\n\t\tpath: '/',\n\t\tname: 'MainPage',\n\t\tcomponent: () => import('../views/MainPage.vue'),\n\t\tmeta: {\n\t\t\tlayout: mainPageLayout,\n\t\t\taccessDenied: []\n\t\t}\n\t},\n {\n\t\tpath: '/welcome',\n\t\tname: 'Welcome',\n\t\tcomponent: () => import('../views/Welcome.vue'),\n\t\tmeta: {\n\t\t\tlayout: mainPageLayout,\n\t\t\taccessDenied: ['with_passport', 'with_global_passport']\n\t\t}\n\t},\n {\n\t\tpath: '/create_passport',\n\t\tname: 'CreatePassport',\n\t\tcomponent: () => import('../views/CreatePassport.vue'),\n\t\tmeta: {\n\t\t\tlayout: defaultLayout,\n\t\t\taccessDenied: ['without_keplr', 'not_connected', 'with_passport']\n\t\t}\n\t},\n\t{\n\t\tpath: '/proposals/:network',\n\t\tname: 'Proposals',\n\t\tcomponent: () => import('../views/Proposals.vue'),\n\t\tmeta: {\n\t\t\tlayout: defaultLayout,\n\t\t\taccessDenied: ['without_keplr', 'not_connected', 'without_passport']\n\t\t}\n\t},\n\t{\n\t\tpath: '/:network/proposal/:proposal_id',\n\t\tname: 'Proposal',\n\t\tcomponent: () => import('../views/Proposal.vue'),\n\t\tmeta: {\n\t\t\tlayout: defaultLayout,\n\t\t\taccessDenied: ['without_keplr', 'not_connected', 'without_passport']\n\t\t}\n\t},\n\t{\n\t\tpath: '/account/:network',\n\t\tname: 'Account',\n\t\tcomponent: () => import('../views/Account.vue'),\n\t\tmeta: {\n\t\t\tlayout: defaultLayout,\n\t\t\taccessDenied: ['without_keplr', 'not_connected', 'without_passport']\n\t\t}\n\t},\n\t{\n\t\tpath: '/account/passport',\n\t\tname: 'Passport',\n\t\tcomponent: () => import('../views/Passport.vue'),\n\t\tmeta: {\n\t\t\tlayout: defaultLayout,\n\t\t\taccessDenied: ['without_keplr', 'not_connected', 'without_passport']\n\t\t}\n\t},\n]\n\n\nconst router = createRouter({\n\thistory: createWebHistory(),\n\troutes\n})\n\n\nconst urlsExceptions = [\n\t'/',\n\t'/welcome',\n\t'/keplr_error',\n\t'/keplr_reload',\n\t'/under_construction'\n]\n\n\nrouter.beforeResolve(async (to, from, next) => {\n\tlet store = useGlobalStore()\n\n\t// Demo\n\tto.query.demo\n\t\t? store.demo = true\n\t\t: store.demo = false\n\n\t// Referer\n\tif (to.query.ref) {\n\t\tstore.referer = to.query.ref\n\t}\n\n\t// Current network from url\n\tif (to.params.network) {\n\t\tstore.currentNetwork = to.params.network\n\t}\n\n\t// Current proposal from url\n\tif (to.params.proposal_id) {\n\t\tstore.currentProposalId = to.params.proposal_id\n\t}\n\n\t// Referer\n\tif (to.query.filter) {\n\t\tstore.proposalsFilter = to.query.filter\n\t}\n\n\n\t// Get currencies price\n\tif (!store.prices) {\n\t\tawait store.getCurrenciesPrice()\n\t}\n\n\n // Init APP\n\tif (!urlsExceptions.includes(to.fullPath)) {\n\t\tif (!store.isAuth) {\n\t\t\tstore.demo\n\t\t\t\t? store.initDemo()\n\t\t\t\t: await store.initApp()\n\t\t} else{\n\t\t\tif (!store.account.demo && store.demo) {\n\t\t\t\t// Reset\n\t\t\t\tstore.reset()\n\n\t\t\t\t// Set demo\n\t\t\t\tstore.initDemo()\n\t\t\t} else if (!store.account.moonPassport && !store.isKeplrConnected){\n\t\t\t\t// Reset\n\t\t\t\tstore.reset()\n\n\t\t\t\t// Init APP\n\t\t\t\tawait store.initApp()\n\t\t\t}\n\t\t}\n\t}\n\n\n\t// Check page access\n\tto.matched.some(record => {\n\t\t// Array with prohibitions\n\t\tlet access = record.meta.accessDenied\n\n\t\tif(access.length && !store.account.demo) {\n\t\t\t// Forbidden without keplr\n\t\t\tif(access.includes('without_keplr') && !window.keplr) {\n\t\t\t\tnext({ name: 'KeplrError' })\n\n\t\t\t\treturn false\n\t\t\t}\n\n\t\t\t// Forbidden with keplr\n\t\t\tif(access.includes('with_keplr') && window.keplr) {\n\t\t\t\t!store.demo\n\t\t\t\t\t? next('/')\n\t\t\t\t\t: next('/?demo=true')\n\n\t\t\t\treturn false\n\t\t\t}\n\n\t\t\t// Forbidden with a passport\n\t\t\tif (access.includes('with_passport') && store.account.moonPassport) {\n\t\t\t\t!store.demo\n\t\t\t\t\t? next('/account/cosmoshub')\n\t\t\t\t\t: next('/account/cosmoshub?demo=true')\n\n\t\t\t\treturn false\n\t\t\t}\n\n\t\t\t// Forbidden without a passport\n\t\t\tif (access.includes('without_passport') && !store.account.moonPassportOwner) {\n\t\t\t\t!store.demo\n\t\t\t\t\t? next('/')\n\t\t\t\t\t: next('/?demo=true')\n\n\t\t\t\treturn false\n\t\t\t}\n\n\t\t\t// Forbidden with a global passport\n\t\t\tif (access.includes('with_global_passport') && store.account.moonPassportOwner && !store.account.moonPassport) {\n\t\t\t\t!store.demo\n\t\t\t\t\t? next('/account/cosmoshub')\n\t\t\t\t\t: next('/account/cosmoshub?demo=true')\n\n\t\t\t\treturn false\n\t\t\t}\n\n\t\t\t// Wallet not connected\n\t\t\tif (access.includes('not_connected') && !store.isKeplrConnected) {\n\t\t\t\t!store.demo\n\t\t\t\t\t? next('/')\n\t\t\t\t\t: next('/?demo=true')\n\n\t\t\t\treturn false\n\t\t\t}\n\t\t}\n\t})\n\n\n // App full loaded\n if(!store.isAppFullLoaded) {\n store.isAppFullLoaded = true\n }\n\n\tnext()\n})\n\n\nexport default router\n","export default {\n // English\n en: {\n message: {\n // Page title\n 'page_title': 'Bro APP',\n\n\n // Error page\n 'error_title_404': 'Page was lost in space....
    Are you sure that it exist?',\n\n\n // Keplr Error page\n 'keplr_error_title': \"Oooops, it seems you don't have
    a Keplr extension\",\n 'keplr_reload_title': 'Please reload the page',\n\n\n // Main page\n 'main_page_title': 'Advance Your Asset Management',\n 'main_page_demo_text': 'For a brief set of instructions, please refer to the',\n 'main_page_demo_link': 'Demo',\n\n\n // Create passport page\n 'passport_avatar_label': 'Upload avatar',\n 'passport_avatar_file_size': 'File up to 5 MB',\n 'passport_avatar_mimetype_size': 'Only jpg, png',\n 'passport_constitution_link': 'read constitution',\n 'passport_name_label': 'Nickname',\n 'passport_citizenship_label': 'Citizenship',\n 'passport_citizenship_text': 'Moon
    citizen',\n 'passport_name_placeholder': 'Choose name',\n 'passport_address_exp': 'Address',\n 'passport_name_exp': 'Limit 8-16 characters; only a-z, 0-9, \"-\"',\n 'passport_constitution_exp': 'Creating a passport I confirm reading the Constitution',\n 'passport_error_nickname_title': 'Nickname misspelled',\n\n\n // Proposals page\n 'proposals_empty_title': \"The governor's desk is proposal-free, no action needed!\",\n\n 'proposal_date_label_default': 'Voting ended:',\n\n 'proposal_deposite_label_collected': 'Collected funds:',\n 'proposal_deposite_label_necessary': 'Necessary funds:',\n\n 'proposal_voting_label_yes': 'Yes',\n 'proposal_voting_label_no': 'No',\n 'proposal_voting_label_nwv': 'NWV',\n 'proposal_voting_label_abstain': 'Abstain',\n\n 'proposal_vote_yes': 'Yes',\n 'proposal_vote_no': 'No',\n 'proposal_vote_nwv': 'No with veto',\n 'proposal_vote_abstain': 'Abstain',\n 'proposal_vote_did_not_vote': \"Didn't vote\",\n\n\n // Proposal page\n 'proposal_proposer_label': 'Proposer',\n 'proposal_tab1': 'Proposal data',\n 'proposal_tab2': 'Votes',\n 'proposal_desc_title': 'Description',\n 'proposal_current_account_title': 'Account:',\n 'proposal_current_vote_title': 'Your current vote:',\n 'proposal_deposit_status_title': 'Deposit status',\n 'proposal_details_title': 'Proposal Details',\n 'proposal_vote_details_title': 'Vote details',\n\n 'proposal_details_voting_label': 'Voting End Time',\n 'proposal_details_deposit_label': 'Deposit End Time',\n 'proposal_details_submit_label': 'Submit Time',\n 'proposal_details_total_label': 'Total Deposit',\n 'proposal_details_initial_label': 'Initial Deposit',\n\n 'proposal_add_vote_exp': 'You need to change your Keplr account',\n\n 'proposal_vote_info_final_status_label': 'Final Status',\n 'proposal_vote_info_current_status_label': 'Current Status',\n 'proposal_vote_info_status_passed': 'Passed',\n 'proposal_vote_info_status_rejected': 'Rejected',\n 'proposal_vote_info_status_passing': 'Passing',\n 'proposal_vote_info_status_rejecting': 'Rejecting',\n 'proposal_vote_info_turnout_label': 'Turnout',\n 'proposal_vote_info_total_vote_label': 'Total Vote',\n 'proposal_vote_info_minimum': 'Minimum of staked {amount} {denom} (40%) need to vote for this proposal to pass',\n\n 'proposal_vote_yes_btn': 'Yes',\n 'proposal_vote_no_btn': 'No',\n 'proposal_vote_nwv_btn': 'No with veto',\n 'proposal_vote_abstain_btn': 'Abstain',\n\n 'proposal_vote_result_no_vote_label': 'Not voted',\n 'proposal_vote_result_yes_label': 'yes',\n 'proposal_vote_result_no_label': 'no',\n 'proposal_vote_result_nwv_label': 'nwv',\n 'proposal_vote_result_abstain_label': 'abstain',\n 'proposal_vote_result_votes_label': 'votes',\n\n 'proposal_feature_height_label': 'Height',\n 'proposal_feature_info_label': 'Info',\n 'proposal_feature_name_label': 'Name',\n 'proposal_feature_time_label': 'Time',\n 'proposal_feature_changes_key_label': 'Key',\n 'proposal_feature_changes_subspace_label': 'Subspace',\n 'proposal_feature_changes_value_label': 'Value',\n\n 'proposal_votes_filter_all': 'All',\n 'proposal_votes_filter_yes': 'Yes',\n 'proposal_votes_filter_no': 'No',\n 'proposal_votes_filter_nwv': 'No with veto',\n 'proposal_votes_filter_abstain': 'Abstain',\n 'proposal_votes_filter_null': 'Did not vote',\n 'proposal_votes_filter_weighted': 'Weighted',\n\n 'proposal_votes_th_validator': 'Validator',\n 'proposal_votes_th_validator_vote': 'Validator Vote',\n 'proposal_votes_th_most_voted': 'Most voted on',\n 'proposal_votes_th_community_votes': 'Community Votes',\n 'proposal_votes_th_percents': 'Participation
    Rate',\n\n 'proposal_votes_community_votes_tooltip': 'The ratio of specific votes to the total votes cast',\n 'proposal_votes_percents_tooltip': 'Percentage of voters relative to the total number of delegators.',\n\n 'proposal_votes_validator_no_active': 'no active',\n 'proposal_votes_validator_sticker': 'Your Validator',\n\n 'proposal_depositors_title': 'Depositors',\n 'proposal_depositors_th_depositor': 'Depositor',\n 'proposal_depositors_th_tx_hash': 'TxHash',\n 'proposal_depositors_th_amount': 'Amount',\n 'proposal_depositors_th_time': 'Time',\n\n\n // Account\n 'account_networks_title': 'Networks',\n 'account_abilities_title': 'Abilities',\n 'account_validators_title': 'Validators',\n 'account_proposals_title': 'Governance',\n 'account_connected_addresses_title': 'My Portfolio',\n\n 'account_connected_addresses_all': 'View all',\n\n 'account_charts_tab_stake': 'Stake',\n 'account_charts_tab_liquide': 'Liquid',\n 'account_charts_tab_assets': 'Assets',\n 'account_charts_tab_networks': 'Networks',\n 'account_charts_tab_accounts': 'Accounts',\n\n 'account_chart_stake_block_title': 'Stake Management',\n 'account_chart_stake_desc': 'contain staked, liquid and unbonding tokens',\n\n 'account_chart_liquide_block_title': 'Liquid Management',\n 'account_chart_liquide_desc': 'contain liquid, rewards and IBC tokens',\n\n 'account_chart_networks_block_title': 'Network Management',\n 'account_chart_networks_desc': 'represent all networks in portfolio',\n\n 'account_chart_assets_block_title': 'Asset Management',\n 'account_chart_assets_desc': 'represent all tokens in portfolio',\n\n 'account_chart_accounts_block_title': 'Account Management',\n 'account_chart_accounts_desc': 'contain your linked accounts',\n\n 'account_charts_staked_label': 'Staked',\n 'account_charts_outside_label': 'Outside',\n 'account_charts_liquid_tokens_label': 'Liquid',\n 'account_charts_unbonding_label': 'Unbondend',\n 'account_charts_ibc_label': 'IBC Tokens',\n 'account_charts_rewards_label': 'Rewards',\n 'account_charts_on_chain': 'On',\n\n 'account_charts_total_assets': 'Total Assets',\n\n 'account_validators_col_account_name': 'Account name',\n 'account_validators_col_network': 'Network',\n 'account_validators_col_validator': 'Validator',\n 'account_validators_col_account_percent': 'Account %',\n 'account_validators_col_passport_percent': 'Passport %',\n 'account_validators_empty_text': 'You have no active validators',\n\n 'account_proposals_col_network': 'Network',\n 'account_proposals_col_name': 'Proposal name',\n 'account_proposals_col_type': 'Type',\n 'account_proposals_col_status': 'Status',\n\n 'account_proposals_status_all': 'All proposals',\n 'account_proposals_status_deposite': 'Deposit period',\n 'account_proposals_status_voting': 'Voting period',\n 'account_proposals_status_passed': 'Passed',\n 'account_proposals_status_rejected': 'Rejected',\n\n 'account_RPDE': 'Daily profit',\n 'account_APR': 'Personal APR',\n 'account_rewards': 'Rewards',\n 'account_passport_value': 'Passport Value',\n\n 'account_copy_tooltip': 'Address copied',\n 'account_duplicate_ext': 'Duplicated address',\n 'account_not_supported_ext': 'Not supported',\n\n\n // Filter\n 'filter_title': 'Filter',\n\n\n // Demo notice\n 'demo_notice_text': 'Finish Demo session',\n\n\n // Footer\n 'footer_contact': 'Contact',\n 'footer_support': 'Support',\n 'footer_powered': 'Powered by the Spacebox Index',\n\n\n // Feedback\n 'feedback_title': 'Report a bug here',\n 'feedback_desc': 'Share it with us',\n 'feedback_telegram_link': 'Telegram',\n 'feedback_github_link': 'Github',\n\n\n // Under construction page\n 'under_construction_title': 'This part of site is under construction',\n\n\n // Mobile plug\n 'mobile_plug_title': 'Oops!',\n 'mobile_plug_desc': \"Bro App not yet supported on mobile devices. Please use a desktop or laptop. We're working on it! Thank you for your patience.\",\n\n\n // Notofications\n 'notice_default_main_page': 'Welcome to the best Cosmos managing tool.',\n 'notice_default_create_passport': 'To create your passport, please ensure that you upload the information correctly. Then you will be asked to sign the transaction.',\n 'notice_default_create_passport_success': 'Congrats! You have successfully created a Passport. You can now continue the journey and explore the app in BETA 2.0.',\n 'notice_default_constitution_modal': \"By clicking 'Agree & Sign' you confirm that you have read the Constitution in full and wish to create a passport. After clicking 'Agree & Sign' you will be asked to sign the transaction.\",\n 'notice_default_account_passport': 'That’s your recently created passport. You can now change the image or download the passport.',\n 'notice_default_proposals_page': 'All proposals including proposals in Deposit period can be found on this page.',\n 'notice_default_account_page': 'Welcome to our portfolio management tool. Take control of your investments and optimize your portfolio for maximum returns.',\n 'notice_default_proposal_page': 'Detailed overview for the selected proposal.',\n\n 'notice_demo_default_account_page': 'Provides valuable information regarding your interactions inside the app.',\n\n 'notice_ipfs_active': \"The IPFS node is built in right in your browser. It helps store and resolves the content from the distributed storage. NFTs, moon passports, ENS, with contents address, can be resolved right here. It is green because the IPFS node is active and resolves the content.\",\n 'notice_ipfs_not_active': \"The IPFS node is built in right in your browser. It helps store and resolves the content from the distributed storage. NFTs, moon passports, ENS, with contents address, can be resolved right here. It is red because the IPFS node is inactive and not resolves the content.\",\n\n 'notice_currency': \"The currency for the account valuation\",\n 'notice_username': \"Chosen keplr account\",\n 'notice_avatar': \"Your Moon passport avatar\",\n\n 'notice_delete_address': 'To Delete linked account please press on “delete icon” for selected address and then confirm your actions.',\n 'notice_edit_address': 'To Edit linked account please press on “edit icon” for selected address and then confirm your actions.',\n 'notice_copy_address': 'To Copy linked account please press on “copy icon” for selected address.',\n\n 'notice_account_charts_tab_stake': 'The Stake Management tab shows how many staked, liquid, and unbonding tokens you have in your account, providing a comprehensive view of your current staking activity.',\n 'notice_account_charts_tab_liquide': 'The Liquid Management tab shows all of your liquid tokens for the selected networks, on both Outside and IBC channels, providing a detailed overview of your current holdings.',\n 'notice_account_charts_tab_assets': 'The Asset Management tab represents all networks and offers a complete view of your entire portfolio',\n 'notice_account_charts_tab4': 'The Network Management tab represents the value of all tokens in your portfolio and provides a complete overview on network level. ',\n 'notice_account_charts_tab_accounts': 'The Account Management tab provides a detailed breakdown of all your linked accounts, offering a complete overview for each.',\n\n 'notice_add_address_step1': 'Please select a new address in Keplr to be able to link it to the portfolio.',\n 'notice_add_address_step2': 'Select the right address that you want to add to the portfolio.',\n 'notice_add_address_step2_error': 'The address you have selected already linked to your portfolio, please switch to another account.',\n 'notice_add_address_step3': 'To approve selected address and confirm the change you need to sign a transaction.',\n 'notice_add_address_step4': 'To complete the process, you need to switch to your passport account in Keplr.',\n 'notice_add_address_step5': 'To finish the process and finalize adding a new account please sign a broadcast transaction.',\n 'notice_add_address_success': 'You have successfully added new wallet address to your portfolio.',\n\n\n // IPFS\n 'ipfs': 'IPFS node',\n\n\n // Constitution modal\n 'constitution_modal_title': 'Constitution',\n\n\n // Deposit modal\n 'deposit_modal_title': 'Deposit',\n 'deposit_modal_sender_label': 'Sender',\n 'deposit_modal_amount_label': 'Amount available',\n\n\n // Add address modal\n 'add_address_modal_title': 'Add new account',\n 'add_address_modal_error_desc': 'To add a new address — select a different Keplr account',\n 'add_address_modal_error_desc2': 'This wallet is already added to portfolio',\n 'add_address_modal_error_desc3': 'This wallet has its own unique passport',\n\n 'add_address_modal_step1_name': 'Choose Address',\n 'add_address_modal_step2_name': 'Approve Address',\n 'add_address_modal_step3_name': 'Switch Account',\n 'add_address_modal_step4_name': 'Accounts Linked',\n\n 'add_address_modal_step1_title': 'Select the address',\n 'add_address_modal_step2_title': 'To approve the address you need to sign the transaction.',\n 'add_address_modal_step3_title': 'Switch to passport account in Keplr',\n 'add_address_modal_step4_title': 'Almost there...',\n 'add_address_modal_step5_title': 'Bravo! Congrats!',\n\n 'add_address_added_label': 'Added',\n 'add_address_duplicated_label': 'Duplicated',\n\n\n // Validator modal\n 'validator_modal_title': 'Validator details',\n\n 'validator_modal_website_btn': 'Website',\n 'validator_modal_mintscan_btn': 'Mintscan',\n 'validator_modal_broscore_btn': 'Bro Score',\n\n 'validator_modal_active_set': 'Active',\n 'validator_modal_inactive_set': 'Inactive',\n\n 'validator_modal_operator_address_label': 'Operator Address',\n 'validator_modal_details_label': 'Details',\n\n 'validator_modal_commission_label': 'Commission',\n 'validator_modal_ownership_label': 'Self Bonded/
    Ownership',\n 'validator_modal_total_delegated_label': 'Total delegated amount',\n 'validator_modal_voted_label': 'Props voted',\n\n 'validator_modal_col_commission_notice': \"The percentage of validator's commision.\",\n 'validator_modal_col_self_bonded_ownership_notice': 'The number of tokens delegated to yourself. The ratio of the number of tokens delegated to yourself to the total number of delegations.',\n 'validator_modal_col_voted_notice': 'This criterion is about the number of votes ({voted}) for the last 5 ended proposals.',\n 'validator_modal_col_total_delegated_notice': 'Total amount of tokens delegated to the validator',\n\n\n // Notofications\n 'notification_progress_title': 'Transaction is in progress',\n 'notification_successful_title': 'Transaction successful',\n 'notification_failed_title': 'Transaction failed',\n 'notification_explorer_link': 'Explorer',\n 'notification_error_file_size_title': 'Error',\n 'notification_error_file_size_text': 'Selected image is too large. Please select new < {size}',\n 'notification_error_nickName_title': 'Nickname error',\n 'notification_error_nickName_desc': 'There is already a passport for this name, come up with a new one',\n 'notification_passport_signature': 'Constitution successfully signed',\n 'notification_passport_activation_process': 'Account activation...',\n 'notification_passport_activation_success': 'Account successfully activated',\n 'notification_passport_activation_error': 'Account activation error',\n 'notification_passport_activation_error_desc': 'Try again',\n 'notification_passport_wait_ipfs': 'Please, wait while local IPFS node is starting.',\n\n 'notification_action_create_passport': 'Create passport',\n 'notification_passport_create_process': 'Passport creation...',\n 'notification_success_create_passport_title': 'Passport created successfully',\n 'notification_error_create_passport_title': 'Passport issue error',\n\n 'notification_action_update_passport': 'Update passport',\n 'notification_action_delete_passport': 'Delete passport',\n 'notification_passport_update_process': 'Passport updating...',\n 'notification_passport_delete_process': 'Passport deleting...',\n 'notification_success_update_passport_title': 'Passport updated successfully',\n 'notification_success_delete_passport_title': 'Passport delete successfully',\n 'notification_error_update_passport_title': 'Passport issue error',\n\n 'notification_action_address_delete': 'Address delete',\n 'notification_address_deleting_process': 'Address deleting...',\n 'notification_success_address_delete_title': 'Address deleted successfully',\n\n 'notification_action_address_add': 'Address add',\n 'notification_address_adding_process': 'Processing...',\n 'notification_success_address_added_title': 'Address added successfully',\n\n 'notification_action_address_rename': 'Address rename',\n 'notification_address_renaming_process': 'Address renaming...',\n 'notification_success_address_rename_title': 'Address renamed successfully',\n\n 'notification_action_proposal_vote': 'Proposal vote',\n 'notification_proposal_vote_process': 'Proposal voiting...',\n\n 'notification_proposal_deposit_process': 'Proposal depositing...',\n 'notification_success_proposal_deposit_title': 'Proposal deposit successful',\n 'notification_action_proposal_deposit': 'Proposal deposit',\n\n 'notification_tx_error_2': \"tx parse error\",\n 'notification_tx_error_3': \"invalid sequence\",\n 'notification_tx_error_4': \"unauthorized\",\n 'notification_tx_error_5': \"insufficient funds\",\n 'notification_tx_error_6': \"unknown request\",\n 'notification_tx_error_7': \"invalid address\",\n 'notification_tx_error_8': \"invalid pubkey\",\n 'notification_tx_error_9': \"unknown address\",\n 'notification_tx_error_10': \"invalid coins\",\n 'notification_tx_error_11': \"Broadcasting transaction failed: out of gas try again and increase gas amount\",\n 'notification_tx_error_12': \"memo too large\",\n 'notification_tx_error_13': \"insufficient fee\",\n 'notification_tx_error_14': \"maximum number of signatures exceeded\",\n 'notification_tx_error_15': \"no signatures supplied\",\n 'notification_tx_error_16': \"failed to marshal JSON bytes\",\n 'notification_tx_error_17': \"failed to unmarshal JSON bytes\",\n 'notification_tx_error_18': \"invalid request\",\n 'notification_tx_error_19': \"tx already in mempool\",\n 'notification_tx_error_20': \"mempool is full\",\n 'notification_tx_error_21': \"tx too large\",\n 'notification_tx_error_22': \"key not found\",\n 'notification_tx_error_23': \"invalid account password\",\n 'notification_tx_error_24': \"tx intended signer does not match the given signer\",\n 'notification_tx_error_25': \"invalid gas adjustment\",\n 'notification_tx_error_26': \"invalid height\",\n 'notification_tx_error_27': \"invalid version\",\n 'notification_tx_error_28': \"invalid chain-id\",\n 'notification_tx_error_29': \"invalid type\",\n 'notification_tx_error_30': \"tx timeout height\",\n 'notification_tx_error_31': \"unknown extension options\",\n 'notification_tx_error_32': \"incorrect account sequence\",\n 'notification_tx_error_33': \"failed packing protobuf message to Any\",\n 'notification_tx_error_34': \"failed unpacking protobuf message from Any\",\n 'notification_tx_error_35': \"internal logic error\",\n 'notification_tx_error_36': \"conflict\",\n 'notification_tx_error_37': \"feature not supported\",\n 'notification_tx_error_38': \"not found\",\n 'notification_tx_error_39': \"Internal IO error\",\n 'notification_tx_error_40': \"error in app.toml\",\n 'notification_tx_error_41': \"invalid gas limit\",\n\n 'notification_tx_error_rejected': \"The transaction has been rejected\",\n\n\n // Tours\n 'tour_header_title_step0': 'Tooltip',\n 'tour_header_title_step1': 'Portfolio Currency',\n 'tour_header_title_step2': 'Your Digital Identity',\n\n 'tour_account_page_title_step1': 'Networks',\n 'tour_account_page_title_step2': 'Bundled Wallets',\n 'tour_account_page_title_step3': 'Assets Management',\n 'tour_account_page_title_step4': 'Portfolio Insights',\n 'tour_account_page_title_step5': 'Validators',\n 'tour_account_page_title_step6': 'Governance',\n\n 'tour_header_desc_step0': 'Provides valuable information regarding your interactions inside the app',\n 'tour_header_desc_step1': 'Allows you to conveniently change between different currencies and view portfolio evaluations within the app',\n 'tour_header_desc_step2': 'Allows you to authenticate yourself, securely interact with others, and engage in transactions with confidence',\n\n 'tour_account_page_desc_step1': 'Enables you to view info and seamlessly switch between different blockchain networks',\n 'tour_account_page_desc_step2': 'Allows you to consolidate and manage multiple wallets in one place; it may include duplicates',\n 'tour_account_page_desc_step3': 'Provides detailed view of all your digital assets on different levels',\n 'tour_account_page_desc_step4': 'Offers an overview of key performance indicators and average numbers for your portfolio',\n 'tour_account_page_desc_step5': 'Displays the number of validators you stake with on one or more networks',\n 'tour_account_page_desc_step6': 'Lets you navigate through proposals, view their descriptions, vote and see votes breakdown',\n\n\n // Buttons\n 'btn_back_home': 'Back to home',\n 'btn_reload': 'Reload',\n 'btn_connect_wallet': 'Connect Keplr wallet',\n 'btn_reject': 'Reject',\n 'btn_confirm': 'Confirm',\n 'btn_agree_sign': 'Agree & Sign',\n 'btn_keplr_install': 'Install Keplr',\n 'btn_add_address': 'Add address',\n 'btn_use_new_passport': 'Use new passport',\n 'btn_next': 'Next',\n 'btn_back': 'Back',\n 'btn_sign': 'Sign',\n 'btn_sing_broadcast': 'Sign and Broadcast',\n 'btn_done': 'Done',\n 'btn_see_more': 'See more',\n 'btn_no': 'No',\n 'btn_yes': 'Yes',\n 'btn_download_png': 'Dowloand png',\n 'btn_continue': 'Continue journey',\n 'btn_update': 'Update',\n 'btn_change_image': 'Change image',\n 'btn_settings': 'Setting',\n 'btn_create_passport': 'Create passport',\n 'btn_refresh': 'Refresh',\n 'btn_deposit': 'Deposit',\n 'btn_send': 'Send',\n }\n }\n}","import { createI18n } from 'vue-i18n'\nimport VueI18nMessages from '../locale/messages'\n\n\nconst i18n = createI18n({\n locale: 'en',\n fallbackLocale: 'en',\n messages: VueI18nMessages\n})\n\n\nexport default i18n","import { createApp } from 'vue'\nimport { createPinia } from 'pinia'\n\nimport App from './App.vue'\nimport router from './router'\nimport i18n from './locale'\nimport Notifications from '@kyvg/vue3-notification'\nimport VueCountdown from '@chenfengyuan/vue-countdown'\nimport mitt from 'mitt'\n\n\n// Create App\nconst app = createApp(App)\n\n\n// Pinia\nconst pinia = createPinia()\n\n\n// Events\nconst emitter = mitt()\n\n\n// Vue use\napp.use(pinia)\napp.use(router)\napp.use(i18n)\napp.use(Notifications)\n\n\n// Vue provide\napp.provide('i18n', i18n)\napp.provide('emitter', emitter)\n\n\n// Filters\napp.config.globalProperties.$filters = {\n // Add rounding\n toFixed(value, limit) {\n let newValue\n\n value != 0\n ? newValue = value.toFixed(limit)\n : newValue = value\n\n return newValue\n }\n}\n\n\n// VueCountdown\napp.component(VueCountdown.name, VueCountdown)\n\n\n// Mount\napp.mount('#app')\n","import { useLocalStorage } from '@vueuse/core'\n\nconst account = {\n userName: null,\n tempUserName: useLocalStorage('tempUserName'),\n avatar: null,\n signature: null,\n demo: false,\n\n moonPassport: null,\n moonPassportOwnerAddress: useLocalStorage('moonPassportOwnerAddress'),\n moonPassportOwner: null,\n\n currentWallet: useLocalStorage('currentWallet'),\n wallets: [],\n info: {\n RPDE: 0\n },\n\n total: {\n liquid: 0,\n staked: 0,\n unbonding: 0,\n rewards: 0,\n outside: 0,\n ibc: 0,\n },\n totalTokensPrice: 0,\n}\n\nexport default account","const network = {\n name: 'Cosmos Hub',\n lcd_api: 'https://lcd.cosmoshub-4.bronbro.io',\n rpc_api: 'https://rpc.cosmoshub-4.bronbro.io',\n index_api: 'https://rpc.bronbro.io',\n\n denom: 'uatom',\n token_name: 'ATOM',\n chainId: 'cosmoshub-4',\n mintscanAlias: 'cosmos',\n prefix: 'cosmos',\n address_prefix: 'cosmos',\n exponent: 6,\n proposal_need: 250\n}\n\nexport default network","const network = {\n name: 'Bostrom',\n lcd_api: 'https://lcd.bostrom.bronbro.io',\n rpc_api: 'https://rpc.bostrom.bronbro.io',\n index_api: 'https://rpc.index.bostrom.bronbro.io',\n\n denom: 'boot',\n token_name: 'BOOT',\n chainId: 'bostrom',\n prefix: 'bostrom',\n mintscanAlias: null,\n address_prefix: 'bostrom',\n exponent: 0,\n proposal_need: 420000000000\n}\n\nexport default network","const network = {\n name: 'Crescent hub',\n lcd_api: 'https://lcd.crescent-1.bronbro.io',\n rpc_api: 'https://rpc.crescent-1.bronbro.io',\n\n denom: 'ucre',\n token_name: 'CRE',\n chainId: 'crescent-1',\n mintscanAlias: 'crescent',\n prefix: 'crescent',\n address_prefix: 'cre',\n exponent: 6,\n proposal_need: 250\n}\n\nexport default network","const network = {\n name: 'G-Bridge',\n lcd_api: 'https://lcd.gravity-bridge-3.bronbro.io',\n rpc_api: 'https://rpc.gravity-bridge-3.bronbro.io',\n\n denom: 'ugraviton',\n token_name: 'GRAV',\n chainId: 'gravity-bridge-3',\n mintscanAlias: 'gravity-bridge',\n prefix: 'gravity',\n address_prefix: 'gravity',\n exponent: 6,\n proposal_need: 250\n}\n\nexport default network","const network = {\n name: 'Juno',\n lcd_api: 'https://lcd.juno-1.bronbro.io',\n rpc_api: 'https://rpc.juno-1.bronbro.io',\n\n denom: 'ujuno',\n token_name: 'JUNO',\n chainId: 'juno-1',\n mintscanAlias: 'juno',\n prefix: 'juno',\n address_prefix: 'juno',\n exponent: 6,\n proposal_need: 250\n}\n\nexport default network","const network = {\n name: 'OmniFlix Network',\n lcd_api: 'https://lcd.omniflixhub-1.bronbro.io',\n rpc_api: 'https://rpc.omniflixhub-1.bronbro.io',\n\n denom: 'uflix',\n token_name: 'FLIX',\n chainId: 'omniflixhub-1',\n mintscanAlias: 'omniflix',\n prefix: 'omniflix',\n address_prefix: 'omniflix',\n exponent: 6,\n proposal_need: 250\n}\n\nexport default network","const network = {\n name: 'Osmosis',\n lcd_api: 'https://lcd.osmosis-1.bronbro.io',\n rpc_api: 'https://rpc.osmosis-1.bronbro.io',\n\n denom: 'uosmo',\n token_name: 'OSMO',\n chainId: 'osmosis-1',\n mintscanAlias: 'osmosis',\n prefix: 'osmosis',\n address_prefix: 'osmo',\n exponent: 6,\n proposal_need: 250\n}\n\nexport default network","const network = {\n name: 'Stargaze',\n lcd_api: 'https://lcd.stargaze-1.bronbro.io',\n rpc_api: 'https://rpc.stargaze-1.bronbro.io',\n\n denom: 'ustars',\n token_name: 'STARS',\n chainId: 'stargaze-1',\n mintscanAlias: 'stargaze',\n prefix: 'stargaze',\n address_prefix: 'stars',\n exponent: 6,\n proposal_need: 250\n}\n\nexport default network","const network = {\n name: 'Stride',\n lcd_api: 'https://lcd.stride-1.bronbro.io',\n rpc_api: 'https://rpc.stride-1.bronbro.io',\n\n denom: 'ustrd',\n token_name: 'STRD',\n chainId: 'stride-1',\n mintscanAlias: 'stride',\n prefix: 'stride',\n address_prefix: 'stride',\n exponent: 6,\n proposal_need: 250\n}\n\nexport default network","import { defineStore } from 'pinia'\nimport { useLocalStorage } from '@vueuse/core'\nimport { CyberClient } from '@cybercongress/cyber-js'\nimport { Tendermint34Client } from '@cosmjs/tendermint-rpc'\nimport { generateAddress, createKeplrOfflineSinger } from '@/utils'\n\n// Account\nimport account from '@/stores/account'\n\n// Networks\nimport cosmoshub from '@/stores/networks/cosmoshub'\nimport bostrom from '@/stores/networks/bostrom'\nimport crescent from '@/stores/networks/crescent'\nimport gravity from '@/stores/networks/gravity'\nimport juno from '@/stores/networks/juno'\nimport omniflix from '@/stores/networks/omniflix'\nimport osmosis from '@/stores/networks/osmosis'\nimport stargaze from '@/stores/networks/stargaze'\nimport stride from '@/stores/networks/stride'\n\n// Demo data\nimport DemoAccount from '@/demo/Account.json'\nimport DemoKeplr from '@/demo/Keplr.json'\n\nconst networks = {\n cosmoshub,\n bostrom,\n crescent,\n gravity,\n juno,\n omniflix,\n osmosis,\n stargaze,\n stride,\n}\n\n\nexport const useGlobalStore = defineStore('global', {\n state: () => ({\n CONTRACT_ADDRESS_PASSPORT: 'bostrom1xut80d09q0tgtch8p0z4k5f88d3uvt8cvtzm5h3tu3tsy4jk9xlsfzhxel',\n CONSTITUTION_HASH: 'QmcHB9GKHAKCLQhmSj71qNJhENJJg8Gymd1PvvsCQBhG7M',\n\n isAppFullLoaded: false,\n isKeplrConnected: false,\n isAuth: false,\n\n referer: null,\n demo: false,\n tour: useLocalStorage('tour', true),\n\n currentNetwork: 'cosmoshub',\n currentProposalId: null,\n currentDeleteAddress: null,\n currentCurrency: useLocalStorage('currency', 'USDT'),\n proposalsFilter: null,\n\n tooltip: null,\n tooltipAnimate: false,\n\n IPFSNode: null,\n Keplr: {},\n\n account,\n networks,\n\n showConstitutionModal: false,\n showAddAddressModal: false,\n showDeleteAddressModal: false,\n\n prices: null,\n lastTXS: null,\n validatorInfo: {\n operator_address: null\n },\n needReload: false,\n\n formatableTokens: [\n {\n tokenName: 'BTC',\n formatTokenName: 'WBTC'\n },\n {\n tokenName: 'BOOT',\n formatTokenName: 'MBOOT',\n exponent: 6\n },\n {\n tokenName: 'HYDROGEN',\n formatTokenName: 'MHYDROGEN',\n exponent: 6\n }\n ],\n\n networkColors: {\n BOOT: '#25FF25',\n EVMOS: '#ED4E33',\n STARS: '#E94A9D',\n STRD: '#E94A9D',\n JUNO: '#F0827D',\n CRE: '#FFB04A',\n GRAV: '#0036C1',\n OSMO: '#7900E1',\n NGM: '#00646F',\n ATOM: '#2E314B',\n DSM: '#F98256',\n DYM: '#F0E0D3',\n FLIX: '#F19E22',\n AKT: '#ED3324',\n MNTL: '#F5B31D',\n AXL: '#459CEF',\n BAND: '#4022DD',\n BCNA: '#52B489',\n BTSG: '#EA335F',\n CANTO: '#74F8A2',\n HUAHUA: '#E5AB55',\n CMDX: '#FE4350',\n CORE: '#25D695',\n CRO: '#0F2C70',\n CUDOS: '#950FFF',\n FET: '#2D4BA9',\n INJ: '#363FEC',\n IRIS: '#6627BB',\n IXO: '#00D2FF',\n KAVA: '#FF232F',\n XKI: '#0000F5',\n DARC: '#4D7ABD',\n KUJI: '#E53935',\n KYVE: '#76C4B2',\n LIKE: '#B9EFE7',\n LUM: '#3374E5',\n MARS: '#AC061A',\n MED: '#3A71E2',\n NOBLE: '#9CB0FF',\n NYX: '#E57937',\n NOM: '#353340',\n PASG: '#DF5936',\n XPRT: '#D22F26',\n HASH: '#437BDA',\n QSR: '#7C2ED4',\n QCK: '#BF5822',\n REGEN: '#9CCAAF',\n ATOLO: '#56BBF8',\n SCRT: '#6594D6',\n DVPN: '#315DF6',\n CTK: '#D9AC5C',\n ROWAN: '#B1A062',\n SOMM: '#674FD1',\n FIS: '#6F5CEF',\n IOV: '#3063B7',\n TORI: '#5476F7',\n TGD: '#FFFFFF',\n UMEE: '#FDA9FF',\n XPLA: '#00B1FF'\n },\n }),\n\n\n actions: {\n // Currencies price\n async getCurrenciesPrice() {\n try {\n await fetch('https://rpc.bronbro.io/price_feed_api/tokens/')\n .then(response => response.json())\n .then(data => this.prices = data)\n } catch (error) {\n console.error(error)\n }\n },\n\n\n // Init demo\n initDemo() {\n this.Keplr = DemoKeplr\n this.account = DemoAccount\n\n this.isAppFullLoaded = true\n this.isKeplrConnected = true\n this.isAuth = true\n },\n\n\n // Init APP\n async initApp(updateOwnerMoonPassport = true, updateAvatar = true) {\n if (window.keplr) {\n // Keplr connect\n await createKeplrOfflineSinger(this.networks[this.currentNetwork].chainId)\n\n this.isKeplrConnected = true\n\n // Set jsCyber\n let tendermintClient = await Tendermint34Client.connect(this.networks.bostrom.rpc_api)\n\n this.jsCyber = new CyberClient(tendermintClient)\n\n // Get moon passport\n await this.getMoonPassport()\n\n if (updateOwnerMoonPassport && this.account.moonPassport && this.account.moonPassportOwnerAddress != this.account.moonPassport.owner) {\n // Set owner to localStorage\n this.account.moonPassportOwnerAddress = this.account.moonPassport.owner\n\n // Set current wallet\n this.account.currentWallet = this.account.moonPassportOwnerAddress\n\n // Set owner moon passport\n this.account.moonPassportOwner = this.account.moonPassport\n }\n\n // Get owner moon passport\n if (updateOwnerMoonPassport && this.account.moonPassportOwnerAddress) {\n await this.getOwnerMoonPassport()\n }\n\n // Set user info\n this.setUserInfo(updateAvatar)\n }\n },\n\n\n // Get moon passport\n async getMoonPassport() {\n try {\n // Get passport data\n this.account.moonPassport = await this.jsCyber.queryContractSmart(\n this.CONTRACT_ADDRESS_PASSPORT,\n {\n active_passport: {\n address: generateAddress('bostrom', this.Keplr.account.address)\n }\n }\n )\n } catch (error) {\n console.error(error)\n\n // Clear passport\n this.account.moonPassport = null\n }\n },\n\n\n // Get owner moon passport\n async getOwnerMoonPassport() {\n try {\n // Get passport data\n this.account.moonPassportOwner = await this.jsCyber.queryContractSmart(\n this.CONTRACT_ADDRESS_PASSPORT,\n {\n active_passport: {\n address: this.account.moonPassportOwnerAddress\n }\n }\n )\n\n // Set owner wallet\n this.account.wallets = []\n\n this.account.wallets.push({\n address: this.account.moonPassportOwner.owner,\n nickname: this.account.moonPassportOwner.extension.nickname,\n info: {\n RPDE: 0\n },\n totalTokensPrice: 0,\n networks: [\n {\n name: 'cosmoshub',\n color: '#2E314B',\n price: this.prices.find(el => el.symbol == 'ATOM').price,\n total: {\n liquid: 0,\n staked: 0,\n unbonding: 0,\n rewards: 0,\n outside: 0,\n ibc: 0,\n liquid_rewards: 0\n },\n totalRewardsPrice: 0,\n totalTokensPrice: 0\n },\n {\n name: 'bostrom',\n color: '#25FF25',\n price: this.prices.find(el => el.symbol == 'BOOT').price,\n total: {\n liquid: 0,\n staked: 0,\n unbonding: 0,\n rewards: 0,\n outside: 0,\n ibc: 0,\n liquid_rewards: 0\n },\n totalRewardsPrice: 0,\n totalTokensPrice: 0\n }\n ]\n })\n\n // Set other wallets\n if (this.account.moonPassportOwner.extension.addresses){\n this.account.moonPassportOwner.extension.addresses.forEach(address => {\n if (address.address.substring(0, 2) != '0x' && address.address.substring(0, 5) != 'terra') {\n let result = this.account.wallets.find(el => el.address == generateAddress('bostrom', address.address))\n\n if (typeof result === 'undefined') {\n this.account.wallets.push({\n address: generateAddress('bostrom', address.address),\n nickname: address.label,\n info: {\n RPDE: 0\n },\n totalTokensPrice: 0,\n networks: [\n {\n name: 'cosmoshub',\n color: '#2E314B',\n price: this.prices.find(el => el.symbol == 'ATOM').price,\n total: {\n liquid: 0,\n staked: 0,\n unbonding: 0,\n rewards: 0,\n outside: 0,\n ibc: 0,\n liquid_rewards: 0\n },\n totalRewardsPrice: 0,\n totalTokensPrice: 0\n },\n {\n name: 'bostrom',\n color: '#25FF25',\n price: this.prices.find(el => el.symbol == 'BOOT').price,\n total: {\n liquid: 0,\n staked: 0,\n unbonding: 0,\n rewards: 0,\n outside: 0,\n ibc: 0,\n liquid_rewards: 0\n },\n totalRewardsPrice: 0,\n totalTokensPrice: 0\n }\n ]\n })\n }\n }\n })\n }\n } catch (error) {\n console.error(error)\n }\n },\n\n\n // Set user info\n async setUserInfo(updateAvatar) {\n this.account.userName = this.Keplr.key.name\n this.isAuth = true\n\n if (updateAvatar) {\n // Start IPFS\n if (!this.IPFSNode) {\n this.IPFSNode = await Ipfs.create()\n }\n\n\n // Get avatar\n if (this.IPFSNode) {\n this.getAvatar()\n }\n }\n },\n\n\n // Avatar\n async getAvatar() {\n let avatarStatus = false,\n delay = 3000\n\n // Getting avatar from gateway\n setTimeout(() => {\n if (!avatarStatus && this.account.moonPassportOwner) {\n this.account.avatar = `https://gateway.ipfs.cybernode.ai/ipfs/${this.account.moonPassportOwner.extension.avatar}`\n\n avatarStatus = true\n }\n }, delay)\n\n // Getting avatar from ipfs node\n // if(this.account.moonPassportOwner) {\n // let content = []\n\n // for await (let chunk of this.IPFSNode.cat(this.account.moonPassportOwner.extension.avatar)) {\n // content.push(chunk)\n // }\n\n // if (content.length) {\n // this.account.avatar = URL.createObjectURL(new Blob(content, { type: 'image/jpeg' }))\n\n // avatarStatus = true\n // }\n // }\n },\n\n\n // Reset state\n async reset() {\n this.Keplr = {}\n this.account = account\n this.networks = networks\n\n this.isAppFullLoaded = false\n this.isKeplrConnected = false\n this.isAuth = false\n }\n }\n})\n","import { useGlobalStore } from '@/stores'\nimport { Registry } from '@cosmjs/proto-signing'\nimport { TxRaw } from 'cosmjs-types/cosmos/tx/v1beta1/tx'\nimport { AminoTypes, SigningStargateClient } from '@cosmjs/stargate'\nimport { createWasmAminoConverters } from '@cosmjs/cosmwasm-stargate'\nimport { MsgExecuteContract } from 'cosmjs-types/cosmwasm/wasm/v1/tx'\nimport { toUtf8, fromBech32, toBech32 } from '@cosmjs/encoding'\n\n\n// Generate address\nexport const generateAddress = (prefix, address) => {\n return toBech32(prefix, fromBech32(address).data)\n}\n\n\n// Create Keplr offline singer\nexport const createKeplrOfflineSinger = async chainId => {\n let store = useGlobalStore()\n\n // Get Keplr network enable\n await window.keplr.enable(chainId)\n\n // Set Offline Singer\n store.Keplr.offlineSinger = await window.getOfflineSignerAuto(chainId)\n\n // Set Keplr account\n let accounts = await store.Keplr.offlineSinger.getAccounts()\n store.Keplr.account = accounts[0]\n\n // Set Keplr key\n store.Keplr.key = await window.keplr.getKey(chainId)\n\n // Set Keplr connected status\n store.isKeplrConnected = true\n}\n\n\n\n// Prepare create passport Tx\nexport const preparePassportTx = async params => {\n let store = useGlobalStore()\n\n // Register type\n let typeRegistry = new Registry([\n ['/cosmwasm.wasm.v1.MsgExecuteContract', MsgExecuteContract]\n ])\n\n // Amino types\n let aminoTypes = new AminoTypes({\n ...createWasmAminoConverters()\n })\n\n // Create request\n await window.keplr.enable(store.networks.bostrom.chainId)\n\n let offlineSigner = await window.getOfflineSignerAuto(store.networks.bostrom.chainId)\n\n // RPC endpoint\n let rpcEndpoint = store.networks.bostrom.rpc_api\n\n // Client\n let client = await SigningStargateClient.connectWithSigner(rpcEndpoint, offlineSigner, {\n registry: typeRegistry,\n aminoTypes\n })\n\n // Fee\n let fee = {\n amount: [{\n denom: store.networks.bostrom.denom,\n amount: '0'\n }],\n gas: '1000000'\n }\n\n // MENO\n let memo = store.ref ? `bro.${store.ref}` : 'bro.app'\n\n // Funds\n let funds = []\n\n // Params\n let messages = []\n\n if(Array.isArray(params)) {\n params.forEach(el => {\n messages.push({\n typeUrl: '/cosmwasm.wasm.v1.MsgExecuteContract',\n value: MsgExecuteContract.fromPartial({\n sender: generateAddress('bostrom', store.Keplr.account.address),\n contract: store.CONTRACT_ADDRESS_PASSPORT,\n msg: toUtf8(JSON.stringify(el)),\n funds\n })\n })\n })\n } else {\n messages.push({\n typeUrl: '/cosmwasm.wasm.v1.MsgExecuteContract',\n value: MsgExecuteContract.fromPartial({\n sender: generateAddress('bostrom', store.Keplr.account.address),\n contract: store.CONTRACT_ADDRESS_PASSPORT,\n msg: toUtf8(JSON.stringify(params)),\n funds\n })\n })\n }\n\n // Sign transaction\n let txRaw = await client.sign(generateAddress('bostrom', store.Keplr.account.address), messages, fee, memo)\n\n return { txRaw, client }\n}\n\n\n\n// Prepare Tx\nexport const prepareTx = async (msg, gasSimulate = true, chain = store.currentNetwork) => {\n let store = useGlobalStore()\n\n // Create request\n let offlineSigner = await window.getOfflineSignerAuto(store.networks[chain].chainId)\n\n Object.assign(offlineSigner, {\n signAmino: offlineSigner.signAmino ?? offlineSigner.sign\n })\n\n // RPC endpoint\n let rpcEndpoint = store.networks[chain].rpc_api\n\n // Client\n let client = await SigningStargateClient.connectWithSigner(rpcEndpoint, offlineSigner)\n\n // Simulate gas\n if (gasSimulate) {\n gasUsed = await client.simulate(generateAddress(store.networks[chain].address_prefix, store.account.currentWallet), msg)\n }\n\n let fee = {\n amount: [{\n denom: store.networks[chain].denom,\n amount: '0'\n }],\n gas: gasSimulate ? Math.round(gasUsed * 1.3).toString() : '1000000'\n }\n\n // MENO\n let memo = store.ref ? `bro.${store.ref}` : 'bro.app'\n\n // Sign transaction\n let txRaw = await client.sign(generateAddress(store.networks[chain].address_prefix, store.account.currentWallet), msg, fee, memo)\n\n return { txRaw, client }\n}\n\n\n\n// Send Tx\nexport const sendTx = async ({ txRaw, client }) => {\n // Encode TxRaw\n let txBytes = TxRaw.encode(txRaw).finish()\n\n // Broadcast Tx\n let result = await client.broadcastTx(txBytes, client.broadcastTimeoutMs, client.broadcastPollIntervalMs)\n\n return result\n}\n\n\n\n// Currency conversion\nexport const currencyСonversion = (amount, currency) => {\n let store = useGlobalStore(),\n tokenPrice = formatTokenPrice(store.prices.find(el => el.symbol == currency).price, currency),\n toPrice = 1\n\n if (store.currentCurrency != 'USDT') {\n currency = store.currentCurrency\n\n if (currency == 'BTC') {\n currency = formatTokenName('BTC')\n }\n\n toPrice = formatTokenPrice(store.prices.find(el => el.symbol == currency).price, currency)\n }\n\n return amount * (tokenPrice / toPrice)\n}\n\n\n\n// Formating token name\nexport const formatTokenName = (tokenName) => {\n let store = useGlobalStore(),\n newTokenName = ''\n\n newTokenName = store.formatableTokens.find(el => el.tokenName == tokenName)\n\n return newTokenName ? newTokenName.formatTokenName : tokenName\n}\n\n\n// Formating token amount\nexport const formatTokenAmount = (amount, tokenName) => {\n let store = useGlobalStore(),\n formatAmount = 0,\n formatableToken = store.formatableTokens.find(el => el.tokenName == tokenName)\n\n formatableToken\n ? formatAmount = amount / Math.pow(10, formatableToken.exponent)\n : formatAmount = amount / Math.pow(10, store.prices.find(el => el.symbol == tokenName).exponent)\n\n return formatAmount\n}\n\n\n// Formating token amount to current denom\nexport const formatAmountToCurrentDenom = (amount, tokenName) => {\n let store = useGlobalStore()\n\n return amount * (formatTokenPrice(store.prices.find(e => e.symbol == tokenName).price) / formatTokenPrice(store.prices.find(e => e.symbol == store.networks[store.currentNetwork].token_name).price))\n}\n\n\n// Formating token price\nexport const formatTokenPrice = (price, tokenName) => {\n let store = useGlobalStore(),\n formatPrice = 0,\n formatableToken = store.formatableTokens.find(el => el.tokenName == tokenName)\n\n formatableToken\n ? formatPrice = price * Math.pow(10, formatableToken.exponent)\n : formatPrice = price\n\n return formatPrice\n}","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"js/\" + chunkId + \".\" + {\"6\":\"47fe4917\",\"151\":\"015a4032\",\"184\":\"d0d61a96\",\"394\":\"737a2fc0\",\"483\":\"a6bcb25d\",\"572\":\"7c959ddf\",\"573\":\"d34451d8\",\"778\":\"6cb1db9a\",\"838\":\"76d41b3d\",\"866\":\"2932d9af\",\"869\":\"aab32e01\",\"895\":\"dc9922ea\",\"955\":\"8c855972\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"css/\" + chunkId + \".\" + {\"6\":\"337099b6\",\"151\":\"9b22bb07\",\"394\":\"e54cc163\",\"483\":\"e9b68a90\",\"572\":\"9d40147a\",\"573\":\"f6f86d69\",\"778\":\"09a78acb\",\"895\":\"2aa2e47e\"}[chunkId] + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"bro_app:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = function(chunkId, fullhref, oldTag, resolve, reject) {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tvar onLinkComplete = function(event) {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + realHref + \")\");\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = function(href, fullhref) {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = function(chunkId) {\n\treturn new Promise(function(resolve, reject) {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t143: 0\n};\n\n__webpack_require__.f.miniCss = function(chunkId, promises) {\n\tvar cssChunks = {\"6\":1,\"151\":1,\"394\":1,\"483\":1,\"572\":1,\"573\":1,\"778\":1,\"895\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, function(e) {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t143: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkbro_app\"] = self[\"webpackChunkbro_app\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [998], function() { return __webpack_require__(18632); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["class","_createElementVNode","src","_imports_0","alt","_createElementBlock","_hoisted_1","_hoisted_2","_hoisted_3","_toDisplayString","_ctx","$t","_hoisted_4","script","__exports__","render","store","useGlobalStore","i18n","inject","route","useRoute","router","useRouter","emitter","title","useTitle","ua","detect","navigator","userAgent","layout","computed","meta","onBeforeMount","value","global","t","window","addEventListener","showAddAddressModal","location","reload","watch","currentNetwork","async","createKeplrOfflineSinger","networks","chainId","on","keplr","push","notice","tooltipAnimate","tooltip","setTimeout","setNotice","IPFSNode","emit","showDropdown","ref","target","selectCurrency","newCurrency","currentCurrency","onClickOutside","event","onMounted","header","document","querySelector","stickyEvent","scrollY","classList","add","remove","isActive","_imports_2","href","rel","_imports_1","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","routes","path","name","component","errorLayout","accessDenied","mainPageLayout","defaultLayout","createRouter","history","createWebHistory","urlsExceptions","beforeResolve","to","from","next","query","demo","referer","params","network","proposal_id","currentProposalId","filter","proposalsFilter","prices","getCurrenciesPrice","includes","fullPath","isAuth","account","reset","initDemo","moonPassport","isKeplrConnected","initApp","matched","some","record","access","length","moonPassportOwner","isAppFullLoaded","en","message","createI18n","locale","fallbackLocale","messages","VueI18nMessages","app","createApp","App","pinia","createPinia","mitt","use","Notifications","provide","config","globalProperties","$filters","toFixed","limit","newValue","VueCountdown","mount","userName","tempUserName","useLocalStorage","avatar","signature","moonPassportOwnerAddress","currentWallet","wallets","info","RPDE","total","liquid","staked","unbonding","rewards","outside","ibc","totalTokensPrice","lcd_api","rpc_api","index_api","denom","token_name","mintscanAlias","prefix","address_prefix","exponent","proposal_need","cosmoshub","bostrom","crescent","gravity","juno","omniflix","osmosis","stargaze","stride","defineStore","state","CONTRACT_ADDRESS_PASSPORT","CONSTITUTION_HASH","tour","currentDeleteAddress","Keplr","showConstitutionModal","showDeleteAddressModal","lastTXS","validatorInfo","operator_address","needReload","formatableTokens","tokenName","formatTokenName","networkColors","BOOT","EVMOS","STARS","STRD","JUNO","CRE","GRAV","OSMO","NGM","ATOM","DSM","DYM","FLIX","AKT","MNTL","AXL","BAND","BCNA","BTSG","CANTO","HUAHUA","CMDX","CORE","CRO","CUDOS","FET","INJ","IRIS","IXO","KAVA","XKI","DARC","KUJI","KYVE","LIKE","LUM","MARS","MED","NOBLE","NYX","NOM","PASG","XPRT","HASH","QSR","QCK","REGEN","ATOLO","SCRT","DVPN","CTK","ROWAN","SOMM","FIS","IOV","TORI","TGD","UMEE","XPLA","actions","fetch","then","response","json","data","this","error","console","DemoKeplr","DemoAccount","updateOwnerMoonPassport","updateAvatar","tendermintClient","Tendermint34Client","connect","jsCyber","CyberClient","getMoonPassport","owner","getOwnerMoonPassport","setUserInfo","queryContractSmart","active_passport","address","generateAddress","nickname","extension","color","price","find","el","symbol","liquid_rewards","totalRewardsPrice","addresses","forEach","substring","result","label","key","Ipfs","create","getAvatar","avatarStatus","delay","toBech32","fromBech32","enable","offlineSinger","getOfflineSignerAuto","accounts","getAccounts","getKey","preparePassportTx","typeRegistry","Registry","MsgExecuteContract","aminoTypes","AminoTypes","createWasmAminoConverters","offlineSigner","rpcEndpoint","client","SigningStargateClient","connectWithSigner","registry","fee","amount","gas","memo","funds","Array","isArray","typeUrl","fromPartial","sender","contract","msg","toUtf8","JSON","stringify","txRaw","sign","prepareTx","gasSimulate","chain","Object","assign","signAmino","gasUsed","simulate","Math","round","toString","sendTx","txBytes","TxRaw","encode","finish","broadcastTx","broadcastTimeoutMs","broadcastPollIntervalMs","currencyСonversion","currency","tokenPrice","formatTokenPrice","toPrice","newTokenName","formatTokenAmount","formatAmount","formatableToken","pow","formatAmountToCurrentDenom","e","formatPrice","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","keys","every","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","f","chunkId","Promise","all","reduce","promises","u","miniCssF","g","globalThis","Function","obj","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","url","done","needAttach","scripts","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","onScriptComplete","prev","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","bind","type","head","appendChild","Symbol","toStringTag","nmd","paths","children","p","createStylesheet","fullhref","oldTag","resolve","reject","linkTag","onLinkComplete","errorType","realHref","err","Error","code","request","insertBefore","nextSibling","findStylesheet","existingLinkTags","tag","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","miniCss","cssChunks","installedChunks","installedChunkData","promise","loadingEnded","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file